-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathheader-front-view.inc
More file actions
80 lines (75 loc) · 2.14 KB
/
header-front-view.inc
File metadata and controls
80 lines (75 loc) · 2.14 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
camera {
location < 0.5, -1.5, 0.5 >
look_at < 0.5, 0.5, 0.5 >
rotate <0, 0, 0>
}
background {
color rgb < 1.0, 1.0, 1.0 >
}
light_source {
< 2.0, 1.0, 0.38372093023255816 >
color rgb < 1.0, 1.0, 1.0 >
}
light_source {
< 2.0, -1.0, 0.38372093023255816 >
color rgb < 1.0, 1.0, 1.0 >
}
light_source {
< 2.0, 1.0, -0.38372093023255816 >
color rgb < 1.0, 1.0, 1.0 >
}
light_source {
< -1.0, -1.0, -0.5 >
color rgb < 1.0, 1.0, 1.0 >
}
cylinder { <0,0,0>, <0,1,0>, 0.002
pigment{color Black}}
cylinder { <0,0,0>, <0,0,1>, 0.002
pigment{color Black}}
cylinder { <0,0,0>, <1,0,0>, 0.002
pigment{color Black}}
cylinder { <1,0,0>, <1,0,1>, 0.002
pigment{color Black}}
cylinder { <1,0,0>, <1,1,0>, 0.002
pigment{color Black}}
cylinder { <1,0,1>, <1,1,1>, 0.002
pigment{color Black}}
cylinder { <1,0,1>, <0,0,1>, 0.002
pigment{color Black}}
cylinder { <0,0,1>, <0,1,1>, 0.002
pigment{color Black}}
cylinder { <0,1,1>, <0,1,0>, 0.002
pigment{color Black}}
cylinder { <0,1,0>, <1,1,0>, 0.002
pigment{color Black}}
cylinder { <1,1,1>, <1,1,0>, 0.002
pigment{color Black}}
cylinder { <0,1,1>, <1,1,1>, 0.002
pigment{color Black}}
//box { <0,0.49,0>, <1,0.51,1>
// pigment {color rgbt < .4, .4, 1, .8>}
//}
union {
//#declare crossPlane= <0.5,0.,0.>;
#declare crossPlane= <0,0,0>;
#declare visibleFinish = finish { reflection 0.0 phong 0 };
#declare invisibleFinish = finish { phong 0 };
#declare NEC = color rgbt < 0.0 , 0.0 , 1.0>;
#declare NECFinish = visibleFinish;
#declare APOP = color rgb < 1.0 , 1.0 , 0.0 >;
#declare APOPFinish = visibleFinish;
#declare LIVE = color rgb < 0.0 , 0.8 , 0.0 >;
#declare LIVEFinish = visibleFinish;
#declare MISC = color rgb < 1.0 , 0.0 , 0.0 >;
#declare MISCFinish = visibleFinish;
#declare ENDO = color rgb < 1.0 , 0.0 , 0.0 >;
#declare ENDOFinish = visibleFinish;
#macro FinishMacro(loc, fin, col)
#if(loc.x>=crossPlane.x & loc.y>=crossPlane.y & loc.z>=crossPlane.z)
pigment { col }
finish{ fin }
#else
pigment { rgbt<1,1,1,1> }
finish { invisibleFinish }
#end
#end