From 93caed626bb89d955d7f42768e951fe154299d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 8 Apr 2021 14:03:18 +0200 Subject: new slides --- vorlesungen/slides/4/galois/images/Makefile | 12 ++++ vorlesungen/slides/4/galois/images/common.inc | 89 ++++++++++++++++++++++++ vorlesungen/slides/4/galois/images/wuerfel.png | Bin 0 -> 259243 bytes vorlesungen/slides/4/galois/images/wuerfel.pov | 9 +++ vorlesungen/slides/4/galois/images/wuerfel2.png | Bin 0 -> 366915 bytes vorlesungen/slides/4/galois/images/wuerfel2.pov | 9 +++ 6 files changed, 119 insertions(+) create mode 100644 vorlesungen/slides/4/galois/images/Makefile create mode 100644 vorlesungen/slides/4/galois/images/common.inc create mode 100644 vorlesungen/slides/4/galois/images/wuerfel.png create mode 100644 vorlesungen/slides/4/galois/images/wuerfel.pov create mode 100644 vorlesungen/slides/4/galois/images/wuerfel2.png create mode 100644 vorlesungen/slides/4/galois/images/wuerfel2.pov (limited to 'vorlesungen/slides/4/galois/images') diff --git a/vorlesungen/slides/4/galois/images/Makefile b/vorlesungen/slides/4/galois/images/Makefile new file mode 100644 index 0000000..444944e --- /dev/null +++ b/vorlesungen/slides/4/galois/images/Makefile @@ -0,0 +1,12 @@ +# +# Makefile +# +# (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule +# +all: wuerfel2.png wuerfel.png + +wuerfel.png: wuerfel.pov common.inc + povray +A0.1 -W1080 -H1080 -Owuerfel.png wuerfel.pov + +wuerfel2.png: wuerfel2.pov common.inc + povray +A0.1 -W1080 -H1080 -Owuerfel2.png wuerfel2.pov diff --git a/vorlesungen/slides/4/galois/images/common.inc b/vorlesungen/slides/4/galois/images/common.inc new file mode 100644 index 0000000..6cfcabe --- /dev/null +++ b/vorlesungen/slides/4/galois/images/common.inc @@ -0,0 +1,89 @@ +// +// common.inc +// +// (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule +// +#version 3.7; +#include "colors.inc" +#include "textures.inc" +#include "stones.inc" + +global_settings { + assumed_gamma 1 +} + +#declare imagescale = 0.133; +#declare O = <0, 0, 0>; +#declare E = <1, 1, 1>; +#declare a = pow(2, 1/3); +#declare at = 0.02; + +camera { + location <3, 2, 12> + look_at E * (a / 2) * 0.93 + right x * imagescale + up y * imagescale +} + +light_source { + <11, 20, 16> color White + area_light <1,0,0> <0,0,1>, 10, 10 + adaptive 1 + jitter +} + +sky_sphere { + pigment { + color rgb<1,1,1> + } +} + +#macro wuerfelgitter(A, AT) + cylinder { O, , AT } + cylinder { O, <0, A, 0>, AT } + cylinder { O, <0, 0, A>, AT } + cylinder { , , AT } + cylinder { , , AT } + cylinder { <0, A, 0>, , AT } + cylinder { <0, A, 0>, <0, A, A>, AT } + cylinder { <0, 0, A>, , AT } + cylinder { <0, 0, A>, <0, A, A>, AT } + cylinder { , , AT } + cylinder { , , AT } + cylinder { <0, A, A>, , AT } + sphere { <0, 0, 0>, AT } + sphere { , AT } + sphere { <0, A, 0>, AT } + sphere { <0, 0, A>, AT } + sphere { , AT } + sphere { , AT } + sphere { <0, A, A>, AT } + sphere { , AT } +#end + +#macro wuerfel() + union { + box { O, E } + wuerfelgitter(1, 0.5*at) + texture { + T_Grnt24 + } + finish { + specular 0.9 + metallic + } + } +#end + +#macro wuerfel2() + union { + wuerfelgitter(a, at) + pigment { + color rgb<0.8,0.4,0.4> + } + finish { + specular 0.9 + metallic + } + } +#end diff --git a/vorlesungen/slides/4/galois/images/wuerfel.png b/vorlesungen/slides/4/galois/images/wuerfel.png new file mode 100644 index 0000000..ff6fc14 Binary files /dev/null and b/vorlesungen/slides/4/galois/images/wuerfel.png differ diff --git a/vorlesungen/slides/4/galois/images/wuerfel.pov b/vorlesungen/slides/4/galois/images/wuerfel.pov new file mode 100644 index 0000000..a5db465 --- /dev/null +++ b/vorlesungen/slides/4/galois/images/wuerfel.pov @@ -0,0 +1,9 @@ +// +// wuerfel.pov +// +// (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule +// +#include "common.inc" + +wuerfel() + diff --git a/vorlesungen/slides/4/galois/images/wuerfel2.png b/vorlesungen/slides/4/galois/images/wuerfel2.png new file mode 100644 index 0000000..68919cc Binary files /dev/null and b/vorlesungen/slides/4/galois/images/wuerfel2.png differ diff --git a/vorlesungen/slides/4/galois/images/wuerfel2.pov b/vorlesungen/slides/4/galois/images/wuerfel2.pov new file mode 100644 index 0000000..ac32b2f --- /dev/null +++ b/vorlesungen/slides/4/galois/images/wuerfel2.pov @@ -0,0 +1,9 @@ +// +// wuerfel.pov +// +// (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule +// +#include "common.inc" + +wuerfel() +wuerfel2() -- cgit v1.2.1