-
Notifications
You must be signed in to change notification settings - Fork 4
/
multiple_lights.scn
44 lines (34 loc) · 1017 Bytes
/
multiple_lights.scn
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
/ camera: pointing towards -Z, 35mmx25mm "film", 35mm focal length
/ making 320x240 pixels
c 24.2 29.3 53.6 0.0 0.0 -1.0 35.0 35.0 25.0 640 480
/ alternate camera:
/c 170. 222. 83. -.5 -.7 -.5 35.0 35.0 25.0 640 480
// grey diffuse material
m 0.5 0.5 0.5 0.0 0.0 0.0 0.0 0.0 0.0 0.0
/ ground plane:
p 0.0 1.0 0.0 0.0
/ one point light:
l p -80. 120. -46.6 8000.0 8000.0 8000.0
l p 24.2 29.3 53.6 10.0 10.0 10.0
/ red material, w/ specular highlight
m 0.7 0.0 0.0 0.5 0.5 0.5 1000. 0.0 0.0 0.0
/ 8 spheres: red
s -20.0 13.67 -62.56 10.
s -20.0 70.0 -62.56 10.
s 10.0 -10.0 -62.56 10.
s 10.0 40.0 -62.56 10.
s 40.0 13.67 -62.56 10.
s 40.0 70.0 -62.56 10.
s 70.0 -10.0 -62.56 10.
s 70.0 40.0 -62.56 10.
/ new material: reflective silver!
m 0.7 0.7 0.7 0.7 0.7 0.7 100. 0.7 0.7 0.7
/ 8 spheres: reflective silver:
s -20.0 -10.0 -62.56 10.
s -20.0 40.0 -62.56 10.
s 10.0 13.67 -62.56 10.
s 10.0 70.0 -62.56 10.
s 40.0 -10.0 -62.56 10.
s 40.0 40.0 -62.56 10.
s 70.0 13.67 -62.56 10.
s 70.0 70.0 -62.56 10.