diff options
author | Andreas Müller <andreas.mueller@ost.ch> | 2022-05-21 12:45:42 +0200 |
---|---|---|
committer | Andreas Müller <andreas.mueller@ost.ch> | 2022-05-21 12:45:42 +0200 |
commit | eceae67b3a13bc28acc446288429a90be2efa99d (patch) | |
tree | edb40b97e510b7e5eee51a2b7e9016b3e0ce1304 /buch/papers/kugel/images/curvature.pov | |
parent | add new script for risch part (diff) | |
download | SeminarSpezielleFunktionen-eceae67b3a13bc28acc446288429a90be2efa99d.tar.gz SeminarSpezielleFunktionen-eceae67b3a13bc28acc446288429a90be2efa99d.zip |
curvature graph
Diffstat (limited to 'buch/papers/kugel/images/curvature.pov')
-rw-r--r-- | buch/papers/kugel/images/curvature.pov | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/buch/papers/kugel/images/curvature.pov b/buch/papers/kugel/images/curvature.pov new file mode 100644 index 0000000..3535488 --- /dev/null +++ b/buch/papers/kugel/images/curvature.pov @@ -0,0 +1,72 @@ +// +// curvature.pov +// +// (c) 2022 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule +// + +#version 3.7; +#include "colors.inc" + +global_settings { + assumed_gamma 1 +} + +#declare imagescale = 0.1; + +camera { + location <40, 10, -20> + look_at <0, 0, 0> + right 16/9 * x * imagescale + up y * imagescale +} + +light_source { + <10, 10, -40> color White + area_light <1,0,0> <0,0,1>, 10, 10 + adaptive 1 + jitter +} + +sky_sphere { + pigment { + color rgb<1,1,1> + } +} + +// +// draw an arrow from <from> to <to> with thickness <arrowthickness> with +// color <c> +// +#macro arrow(from, to, arrowthickness, c) +#declare arrowdirection = vnormalize(to - from); +#declare arrowlength = vlength(to - from); +union { + sphere { + from, 1.1 * arrowthickness + } + cylinder { + from, + from + (arrowlength - 5 * arrowthickness) * arrowdirection, + arrowthickness + } + cone { + from + (arrowlength - 5 * arrowthickness) * arrowdirection, + 2 * arrowthickness, + to, + 0 + } + pigment { + color c + } + finish { + specular 0.9 + metallic + } +} +#end + +arrow(<-3.1,0,0>, <3.1,0,0>, 0.01, White) +arrow(<0,-1,0>, <0,1,0>, 0.01, White) +arrow(<0,0,-2.1>, <0,0,2.1>, 0.01, White) + +#include "curvature.inc" |