-
Notifications
You must be signed in to change notification settings - Fork 0
/
scene.json
51 lines (51 loc) · 1.24 KB
/
scene.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
{
"camera": [0.0, 1.3, 1.6, 2.5, 1200, 900, 0.8],
"objects": [
{
"type": "plane",
"color": "seashell",
"shader": "diffuse",
"data": [0.0, 0.0, 30.0, 0.0, -0.4, -1.0]
},
{
"type": "plane",
"color": "seashell",
"shader": "diffuse",
"data": [0.0, -5.0, 15.0, 0.0, 1.0, 0.0]
},
{
"type": "sphere",
"color": "gold",
"shader": "diffuse",
"data": [-3.0, 1.0, 15.0, 2.5]
},
{
"type": "sphere",
"color": "tomato",
"shader": "diffuse",
"data": [1.0, 0.0, 10.0, 2.0]
},
{
"type": "sphere",
"color": "green",
"shader": "diffuse",
"data": [6.0, 4.0, 15.0, 5.0]
},
{
"type": "sphere",
"color": "pink",
"shader": "diffuse",
"data": [-9.0, 5.0, 17.0, 5.0]
}
],
"lights" : [
{
"type": "point",
"data": [0.8, 0.0, 20.0, 0.0]
}
// {
// "type": "directional",
// "data": [0.4, -1.0, -1.0, 1.0]
// }
]
}