-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscene.inc
69 lines (65 loc) · 981 Bytes
/
scene.inc
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
#include "colors.inc"
global_settings { max_trace_level 256 }
#declare Magnet = sphere {
<0, 0, 0> .97
texture {pigment {
gradient x
color_map {
[ 0.5 Blue ]
[ 0.5 White ]
}
scale 2
translate -1 * x
} }
texture {pigment {
gradient y
color_map {
[ 0.48 Clear ]
[ 0.48 Black ]
[ 0.52 Black ]
[ 0.52 Clear ]
}
scale 2
translate -1 * y
} }
texture {pigment {
gradient z
color_map {
[ 0.48 Clear ]
[ 0.48 Green ]
[ 0.52 Green ]
[ 0.52 Clear ]
}
scale 2
translate -1 * z
} }
finish {
phong 0.9
phong_size 200
// metallic
// reflection {
// .2
// metallic .5
// }
ambient .3
}
interior{ior 1.5}
}
#declare Plane =
plane {
<1, 0, 0>, 0
pigment {
checker color Red, color Black
}
finish {
reflection {
.5
}
}
no_shadow
}
camera {
location <.007, .03, -.03>
look_at <0.005, 0.005, 0.005>
}
light_source { <2, 4, -3> color White}