aboutsummaryrefslogtreecommitdiffstats
path: root/vorlesungen/slides/7/images/commutator.pov
blob: 9ae11b9b7f25fda14368ddc33d24230fc9124cac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//
// commutator.pov
//
// (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
//
#include "common.inc"

sphere { O, 0.99
	pigment {
		color rgbt<1,1,1,0.5>
	}
	finish {
		specular 0.9
		metallic
	}
}

#declare filename = concat("f/", str(clock, -4, 0), ".inc");

#include filename

#declare n1 = vcross(<0,1,0>, finalXY);
#declare n2 = vcross(<0,1,0>, finalYX);

intersection {
	sphere { O, 1 }
	plane { -n1, 0 }
	plane { n2, 0 }
	pigment {
		color rgb<0,0.4,0.1>
	}
	finish {
		specular 0.9
		metallic
	}
}

union {
        XYkurve()
        pigment {
                color Red
        }
	finish {
		specular 0.9
		metallic
	}
}

union {
        YXkurve()
        pigment {
                color Blue
        }
	finish {
		specular 0.9
		metallic
	}
}