-
Notifications
You must be signed in to change notification settings - Fork 0
/
simple.scene
54 lines (45 loc) · 1.28 KB
/
simple.scene
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
vertices
front1 -30 30 -50
front2 30 30 -50
front3 30 -30 -50
front4 -30 -30 -50
back1 -30 30 10
back2 30 30 10
back3 30 -30 10
back4 -30 -30 10
e -3 -3 -10
colors
red 1.0 0.2 0.2
green 0.2 1.0 0.2
blue 0.2 0.2 1.0
white 1.0 1.0 1.0
purple 1.0 0.0 1.0
light_grey 0.8 0.8 0.8
dark_grey 0.1 0.1 0.1
black 0.0 0.0 0.0
materials
# ka kd ks kr shininess
mred dark_grey dark_grey red red 100
mwhite dark_grey dark_grey white white 100
mgreen dark_grey dark_grey green green 100
mblue dark_grey dark_grey blue blue 100
soft_light_grey black light_grey light_grey black 20
shapes
poly mwhite front1 front2 front3 front4 # front
poly mblue front3 back3 back4 front4 # bottom
poly soft_light_grey front1 front2 back2 back1 # top
poly mgreen front1 front4 back4 back1 # left
poly mred front2 front3 back3 back2 # right
sphere mred e 3.5
vertices
light1 -3 7 0
light2 3 7 0
light3 -3 -7 0
light light1 purple
light light2 red
light light3 green
vertices
camPosition 0 0 0
camLookAt 0 0 -1
camUp 0 1 0
camera camPosition camlookAt camUp