-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprogram-5-scene-3.json
129 lines (129 loc) · 3.15 KB
/
program-5-scene-3.json
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"camera_look_at": [0, 0, 0],
"camera_look_from": [0, 0, 1],
"camera_look_up": [0, 1, 0],
"field_of_view": 90,
"light_direction": [0.0, 0.0, 1.0],
"light_color": [1.0, 1.0, 1.0],
"ambient_light_color": [1.0, 1.0, 1.0],
"background_color": [0.0, 0.0, 0.0],
"objects": [
{
"name": "red",
"type": "sphere",
"position": [0.5, 0.0, 0.0],
"radius": 0.25,
"ambient_coefficient": 0.1,
"diffuse_coefficient": 0.7,
"specular_coefficient": 0.2,
"diffuse_color": [1.0, 0.0, 0.0],
"specular_color": [1.0, 1.0, 1.0],
"gloss_coefficient": 16.0,
"reflectivity": 0.0
},
{
"name": "pink",
"type": "sphere",
"position": [0.35, 0.35, 0.0],
"radius": 0.25,
"ambient_coefficient": 0.1,
"diffuse_coefficient": 0.7,
"specular_coefficient": 0.2,
"diffuse_color": [1.0, 0.0, 0.6],
"specular_color": [1.0, 1.0, 1.0],
"gloss_coefficient": 16.0,
"reflectivity": 0.0
},
{
"name": "purple",
"type": "sphere",
"position": [0.0, 0.5, 0.0],
"radius": 0.25,
"ambient_coefficient": 0.1,
"diffuse_coefficient": 0.7,
"specular_coefficient": 0.2,
"diffuse_color": [0.5, 0.0, 1.0],
"specular_color": [1.0, 1.0, 1.0],
"gloss_coefficient": 16.0,
"reflectivity": 0.0
},
{
"name": "blue",
"type": "sphere",
"position": [-0.35, 0.35, 0.0],
"radius": 0.25,
"ambient_coefficient": 0.1,
"diffuse_coefficient": 0.7,
"specular_coefficient": 0.2,
"diffuse_color": [0.0, 0.0, 1.0],
"specular_color": [1.0, 1.0, 1.0],
"gloss_coefficient": 16.0,
"reflectivity": 0.0
},
{
"name": "aquamarine",
"type": "sphere",
"position": [-0.5, 0.0, 0.0],
"radius": 0.25,
"ambient_coefficient": 0.1,
"diffuse_coefficient": 0.7,
"specular_coefficient": 0.2,
"diffuse_color": [0.0, 1.0, 1.0],
"specular_color": [1.0, 1.0, 1.0],
"gloss_coefficient": 16.0,
"reflectivity": 0.0
},
{
"name": "green",
"type": "sphere",
"position": [-0.35, -0.35, 0.0],
"radius": 0.25,
"ambient_coefficient": 0.1,
"diffuse_coefficient": 0.7,
"specular_coefficient": 0.2,
"diffuse_color": [0.0, 1.0, 0.33],
"specular_color": [1.0, 1.0, 1.0],
"gloss_coefficient": 16.0,
"reflectivity": 0.0
},
{
"name": "lime",
"type": "sphere",
"position": [0.0, -0.5, 0.0],
"radius": 0.25,
"ambient_coefficient": 0.1,
"diffuse_coefficient": 0.7,
"specular_coefficient": 0.2,
"diffuse_color": [0.5, 1.0, 0.0],
"specular_color": [1.0, 1.0, 1.0],
"gloss_coefficient": 16.0,
"reflectivity": 0.0
},
{
"name": "yellow-orange",
"type": "sphere",
"position": [0.35, -0.35, 0.0],
"radius": 0.25,
"ambient_coefficient": 0.1,
"diffuse_coefficient": 0.7,
"specular_coefficient": 0.2,
"diffuse_color": [1.0, 0.75, 0.0],
"specular_color": [1.0, 1.0, 1.0],
"gloss_coefficient": 16.0,
"reflectivity": 0.0
},
{
"name": "middle sphere",
"type": "sphere",
"position": [0.0, 0.0, -0.1],
"radius": 0.4,
"ambient_coefficient": 0.1,
"diffuse_coefficient": 0.7,
"specular_coefficient": 0.2,
"diffuse_color": [1.0, 1.0, 1.0],
"specular_color": [1.0, 1.0, 1.0],
"gloss_coefficient": 16.0,
"reflectivity": 0.0
}
]
}