diagram for handout
This commit is contained in:
parent
161272bcd3
commit
56db2749e9
2 changed files with 23 additions and 11 deletions
|
|
@ -5,9 +5,9 @@
|
||||||
\foreach \x in {0,...,\raynum} {
|
\foreach \x in {0,...,\raynum} {
|
||||||
\ifthenelse{\x < 10 \OR \x>50}
|
\ifthenelse{\x < 10 \OR \x>50}
|
||||||
{
|
{
|
||||||
\draw[color = blue] (\x /\raynum * 6 ,0) -- (3,4);
|
\draw[color = darkgray] (\x /\raynum * 6 ,0) -- (3,4);
|
||||||
}{
|
}{
|
||||||
\draw[color = green] (\x /\raynum * 6 ,0) -- (3,4);
|
\draw[color = cyan] (\x /\raynum * 6 ,0) -- (3,4);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -17,8 +17,8 @@
|
||||||
] (1.49,1) -- (4.51,1) -- (5.01,0) -- (0.99,0) -- cycle;
|
] (1.49,1) -- (4.51,1) -- (5.01,0) -- (0.99,0) -- cycle;
|
||||||
|
|
||||||
|
|
||||||
\draw [color=blue] (0,0) -- node[below]{wall} (6,0) ; % wall
|
\draw [color=darkgray] (0,0) -- node[below]{wall} (6,0) ; % wall
|
||||||
\draw [color=green](1.5,1) -- node[below]{blocker} (4.5,1); %blocker
|
\draw [color=cyan](1.5,1) -- node[below]{blocker} (4.5,1); %blocker
|
||||||
|
|
||||||
%cam
|
%cam
|
||||||
\node[
|
\node[
|
||||||
|
|
@ -37,26 +37,26 @@
|
||||||
|
|
||||||
|
|
||||||
\fill[
|
\fill[
|
||||||
green
|
cyan
|
||||||
] (7,2) -- (9,2) -- (9,1.7) -- (7,1.7) -- cycle;
|
] (5,3) -- (6.7,3) -- (6.7,3.3) -- (5,3.3) -- cycle;
|
||||||
|
|
||||||
\draw[blue] (10,1) coordinate (blue_ray_isec) -- (7,4) coordinate (orig);
|
\draw[darkgray] (8,2) coordinate (darkgray_ray_isec) -- (5,5) coordinate (orig);
|
||||||
\draw[green] (8.7,2) coordinate (green_ray_isec) -- (7,4);
|
\draw[cyan] (6.4,3.3) coordinate (cyan_ray_isec) -- (5,5);
|
||||||
|
|
||||||
%line
|
%line
|
||||||
\draw (mag.north east) -- (7,2);
|
\draw (mag.north east) -- (7,2);
|
||||||
|
|
||||||
%magnifier box
|
%magnifier box
|
||||||
\draw (5,4) -- (10,4) -- (10,1) -- (5,1) -- cycle;
|
\draw (5,5) -- (8,5) -- (8,2) -- (5,2) -- cycle;
|
||||||
|
|
||||||
\pic [
|
\pic [
|
||||||
draw,
|
draw,
|
||||||
->,
|
->,
|
||||||
"$d\omega$",
|
"$d\omega$",
|
||||||
angle radius=20mm,
|
angle radius=20mm,
|
||||||
angle eccentricity=1.1,
|
angle eccentricity=1,
|
||||||
pic text options={shift={(3mm,3mm)}}
|
pic text options={shift={(3mm,3mm)}}
|
||||||
]
|
]
|
||||||
{angle = green_ray_isec--orig--blue_ray_isec};
|
{angle = cyan_ray_isec--orig--darkgray_ray_isec};
|
||||||
|
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
|
|
|
||||||
12
handout/prototyper.tex
Normal file
12
handout/prototyper.tex
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
\documentclass[margin = 5mm]{standalone}
|
||||||
|
|
||||||
|
\usepackage{tikz}
|
||||||
|
\usetikzlibrary{calc,patterns,angles,quotes,shapes,arrows, positioning,overlay-beamer-styles}
|
||||||
|
\usepackage{ifthen}
|
||||||
|
|
||||||
|
|
||||||
|
\usepackage{xcolor}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
\input{diagrams/diagramm_occlusion.tex}
|
||||||
|
\end{document}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue