better raytracing diagramm

This commit is contained in:
CDaut 2023-06-15 17:39:22 +02:00
parent fb82ca5b02
commit 2840243991
3 changed files with 33 additions and 2 deletions

View file

@ -23,11 +23,40 @@
%cam %cam
\node[ \node[
circle, circle,
fill = kit-gray100, fill = kit-gray70,
minimum width = 1mm, minimum width = 1mm,
outer sep = 2mm outer sep = 2mm
] (camera) at (3,4) {}; ] (camera) at (3,4) {};
\node at (camera.north) {camera}; \node at (camera.north) {camera};
%magnifier
\node[
circle,
draw
] (mag) at (4.5, 1){};
\fill[
kit-green100
] (7,2) -- (9,2) -- (9,1.7) -- (7,1.7) -- cycle;
\draw[kit-blue100] (10,1) coordinate (blue_ray_isec) -- (7,4) coordinate (orig);
\draw[kit-green100] (8.7,2) coordinate (green_ray_isec) -- (7,4);
%line
\draw (mag.north east) -- (7,2);
%magnifier box
\draw (7,4) -- (10,4) -- (10,1) -- (7,1) -- cycle;
\pic [
draw,
->,
"$d\omega$",
angle radius=20mm,
angle eccentricity=1.1,
pic text options={shift={(3mm,3mm)}}
]
{angle = green_ray_isec--orig--blue_ray_isec};
\end{tikzpicture} \end{tikzpicture}

View file

@ -10,6 +10,7 @@
\captionsetup[figure]{labelformat=empty} \captionsetup[figure]{labelformat=empty}
\usepackage{csquotes} \usepackage{csquotes}
\usepackage{tikz, ifthen, calc} \usepackage{tikz, ifthen, calc}
\usetikzlibrary{calc,patterns,angles,quotes}

View file

@ -1,7 +1,8 @@
\documentclass[margin = 5mm]{standalone} \documentclass[tikz, margin = 5mm]{standalone}
\usepackage{tikz} \usepackage{tikz}
\usepackage{calc} \usepackage{calc}
\usepackage{ifthen} \usepackage{ifthen}
\usetikzlibrary{calc,patterns,angles,quotes}
%% ---------- %% ----------
%% | Farben | %% | Farben |