began black and white edition
This commit is contained in:
parent
e5b12d9bad
commit
22207962d8
4 changed files with 20 additions and 20 deletions
|
|
@ -21,7 +21,7 @@
|
|||
% occlusion tri
|
||||
\draw[
|
||||
fill,
|
||||
red
|
||||
darkgray
|
||||
] (3,2) -- (4.5,0.2) -- (6,3);
|
||||
|
||||
% samples
|
||||
|
|
@ -33,5 +33,5 @@
|
|||
5/0.5,
|
||||
5/2.5
|
||||
}
|
||||
\node[fill = yellow] at (\x,\y) {};
|
||||
\node[fill = black] at (\x,\y) {};
|
||||
\end{tikzpicture}
|
||||
|
|
@ -1,24 +1,24 @@
|
|||
\begin{tikzpicture}[scale = 0.9, every node/.style={scale=0.9}]
|
||||
|
||||
\def\raynum{60}
|
||||
\def\raynum{18}
|
||||
|
||||
\foreach \x in {0,...,\raynum} {
|
||||
\ifthenelse{\x < 10 \OR \x>50}
|
||||
\ifthenelse{\x < 3 \OR \x>15}
|
||||
{
|
||||
\draw[color = darkgray] (\x /\raynum * 6 ,0) -- (3,4);
|
||||
\draw[color = black] (\x /\raynum * 6 ,0) -- (3,4);
|
||||
}{
|
||||
\draw[color = red] (\x /\raynum * 6 ,0) -- (3,4);
|
||||
\draw[color = lightgray] (\x /\raynum * 6 ,0) -- (3,4);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
\fill[
|
||||
white
|
||||
] (1.49,1) -- (4.51,1) -- (5.01,0) -- (0.99,0) -- cycle;
|
||||
] (1.48,1) -- (4.52,1) -- (5.02,0) -- (0.98,0) -- cycle;
|
||||
|
||||
|
||||
\draw [color=darkgray] (0,0) -- node[below]{wall} (6,0) ; % wall
|
||||
\draw [color=red](1.5,1) -- node[below]{blocker} (4.5,1); %blocker
|
||||
\draw [color=black] (0,0) -- node[below]{wall} (6,0) ; % wall
|
||||
\draw [color=black](1.5,1) -- node[below]{blocker} (4.5,1); %blocker
|
||||
|
||||
%cam
|
||||
\node[
|
||||
|
|
@ -37,11 +37,11 @@
|
|||
|
||||
|
||||
\fill[
|
||||
red
|
||||
gray
|
||||
] (5,3) -- (6.7,3) -- (6.7,3.3) -- (5,3.3) -- cycle;
|
||||
|
||||
\draw[darkgray] (8,2) coordinate (darkgray_ray_isec) -- (5,5) coordinate (orig);
|
||||
\draw[red] (6.4,3.3) coordinate (red_ray_isec) -- (5,5);
|
||||
\draw[black] (8,2) coordinate (darkgray_ray_isec) -- (5,5) coordinate (orig);
|
||||
\draw[gray] (6.4,3.3) coordinate (red_ray_isec) -- (5,5);
|
||||
|
||||
%line
|
||||
\draw (mag.north east) -- (7,2);
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
% occlusion tri
|
||||
\draw[
|
||||
fill,
|
||||
red
|
||||
darkgray
|
||||
] (3,2) -- (4.5,0.2) -- (6,3);
|
||||
|
||||
% samples
|
||||
|
|
@ -33,10 +33,10 @@
|
|||
3.5/2.5,
|
||||
5.5/0.5
|
||||
}
|
||||
\node[fill = yellow] at (\x,\y) {};
|
||||
\node[fill = black] at (\x,\y) {};
|
||||
|
||||
\node[
|
||||
fill = yellow,
|
||||
fill opacity = 0.4,
|
||||
fill = black,
|
||||
fill opacity = 0.5,
|
||||
] at (4.5,1.5) {};
|
||||
\end{tikzpicture}
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
\draw[->] (-0.2,-0.5) -- (2.2,-0.5) node[right] {$\omega$};
|
||||
\draw[->] (0,-0.7) -- (0,2.2) node[above] {$V(x,\omega)$};
|
||||
|
||||
\draw (0,0) -- (1,0) plot coordinates {(0,0) (1,0)}[color=red];
|
||||
\draw (1,1) -- (2,1) plot coordinates {(1,1) (2,1)}[color=red];
|
||||
\draw (0,0) -- (1,0) plot coordinates {(0,0) (1,0)}[color=black];
|
||||
\draw (1,1) -- (2,1) plot coordinates {(1,1) (2,1)}[color=black];
|
||||
\draw (0,0) node[left] {$0$};
|
||||
\draw (0,1) node[left] {$1$};
|
||||
\draw (1,-0.7) node[below] {$\omega_0$};
|
||||
|
|
@ -21,11 +21,11 @@
|
|||
\draw[->] (-0.2,-0.5) -- (2.2,-0.5) node[right] {$\omega$};
|
||||
\draw[->] (0,-0.7) -- (0,2.2) node[above] {$\frac{\partial}{\partial\omega}V(x,\omega)$};
|
||||
|
||||
\draw (0,0) -- (2,0) plot coordinates {(0,0) (2,0)}[color=red];
|
||||
\draw (0,0) -- (2,0) plot coordinates {(0,0) (2,0)}[color=black];
|
||||
\draw (0,0) node[left] {$0$};
|
||||
\draw (0,1) node[left] {$1$};
|
||||
\draw (0,2) node[left] {$\infty$};
|
||||
\draw (1,2) node[color=red] {$\bullet$};
|
||||
\draw (1,2) node[color=black] {$\bullet$};
|
||||
\draw (1,-0.7) node[below] {$\omega_0$};
|
||||
\end{tikzpicture}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue