aboutsummaryrefslogtreecommitdiffstats
path: root/vorlesungen/slides/4/galois/images
diff options
context:
space:
mode:
Diffstat (limited to 'vorlesungen/slides/4/galois/images')
-rw-r--r--vorlesungen/slides/4/galois/images/Makefile12
-rw-r--r--vorlesungen/slides/4/galois/images/common.inc89
-rw-r--r--vorlesungen/slides/4/galois/images/wuerfel.pngbin0 -> 259243 bytes
-rw-r--r--vorlesungen/slides/4/galois/images/wuerfel.pov9
-rw-r--r--vorlesungen/slides/4/galois/images/wuerfel2.pngbin0 -> 366915 bytes
-rw-r--r--vorlesungen/slides/4/galois/images/wuerfel2.pov9
6 files changed, 119 insertions, 0 deletions
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, <A, 0, 0>, AT }
+ cylinder { O, <0, A, 0>, AT }
+ cylinder { O, <0, 0, A>, AT }
+ cylinder { <A, 0, 0>, <A, A, 0>, AT }
+ cylinder { <A, 0, 0>, <A, 0, A>, AT }
+ cylinder { <0, A, 0>, <A, A, 0>, AT }
+ cylinder { <0, A, 0>, <0, A, A>, AT }
+ cylinder { <0, 0, A>, <A, 0, A>, AT }
+ cylinder { <0, 0, A>, <0, A, A>, AT }
+ cylinder { <A, A, 0>, <A, A, A>, AT }
+ cylinder { <A, 0, A>, <A, A, A>, AT }
+ cylinder { <0, A, A>, <A, A, A>, AT }
+ sphere { <0, 0, 0>, AT }
+ sphere { <A, 0, 0>, AT }
+ sphere { <0, A, 0>, AT }
+ sphere { <0, 0, A>, AT }
+ sphere { <A, A, 0>, AT }
+ sphere { <A, 0, A>, AT }
+ sphere { <0, A, A>, AT }
+ sphere { <A, A, A>, 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
--- /dev/null
+++ b/vorlesungen/slides/4/galois/images/wuerfel.png
Binary files 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
--- /dev/null
+++ b/vorlesungen/slides/4/galois/images/wuerfel2.png
Binary files 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()