From 284024399190881395b451f3f09480c38c39591b Mon Sep 17 00:00:00 2001 From: CDaut Date: Thu, 15 Jun 2023 17:39:22 +0200 Subject: [PATCH] better raytracing diagramm --- presentation/diagrams/diagramm_occlusion.tex | 31 +++++++++++++++++++- presentation/presentation.tex | 1 + presentation/prototyper.tex | 3 +- 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/presentation/diagrams/diagramm_occlusion.tex b/presentation/diagrams/diagramm_occlusion.tex index feebd8f..345f838 100644 --- a/presentation/diagrams/diagramm_occlusion.tex +++ b/presentation/diagrams/diagramm_occlusion.tex @@ -23,11 +23,40 @@ %cam \node[ circle, - fill = kit-gray100, + fill = kit-gray70, minimum width = 1mm, outer sep = 2mm ] (camera) at (3,4) {}; \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} diff --git a/presentation/presentation.tex b/presentation/presentation.tex index 58e943e..19b73fb 100644 --- a/presentation/presentation.tex +++ b/presentation/presentation.tex @@ -10,6 +10,7 @@ \captionsetup[figure]{labelformat=empty} \usepackage{csquotes} \usepackage{tikz, ifthen, calc} +\usetikzlibrary{calc,patterns,angles,quotes} diff --git a/presentation/prototyper.tex b/presentation/prototyper.tex index c441109..77af0af 100644 --- a/presentation/prototyper.tex +++ b/presentation/prototyper.tex @@ -1,7 +1,8 @@ -\documentclass[margin = 5mm]{standalone} +\documentclass[tikz, margin = 5mm]{standalone} \usepackage{tikz} \usepackage{calc} \usepackage{ifthen} +\usetikzlibrary{calc,patterns,angles,quotes} %% ---------- %% | Farben |