-
Notifications
You must be signed in to change notification settings - Fork 0
/
scene.json
65 lines (65 loc) · 1.83 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"scene": {
"lights": [
{
"type": "sunlight",
"direction": [0.0, 0.0, 1.0],
"color": [0.3, 0.3, 0.3]
},
{
"type": "central",
"position": [30.0, 0.0, 85.0],
"color": [500.0, 200.0, 20.0]
},
{
"type": "central",
"position": [0.0, 0.0, 40.0],
"color": [500.0, 200.0, 20.0]
}
],
"robjects": [
// {
// "shape":{
// "type": "sphere",
// "center": [0.0, 0.0, 85.0],
// "radius": 15.0
// },
// "surface": {
// "type": "scatter",
// "color": [2.0, 250.0, 10.0]
// }
// },
// {
// "shape":{
// "type": "sphere",
// "center": [-20.0, -20.0, 150.0],
// "radius": 70.0
// },
// "surface": {
// "type": "scatter",
// "color": [250.0, 10.0, 10.0]
// }
// },
{
"shape":{
"type": "plane",
"parameters": [0.0, 0.00001, 1.0, -300.0]
},
"surface": {
"type": "scatter",
"color": [238.0, 66.0, 244.0]
}
}
]
},
"camera": {
"position": {
"a": [-100.0, 100.0, 0.0],
"b": [100.0, 100.0, 0.0],
"c": [-100.0, -100.0, 0.0],
"d": [100.0, -100.0, 0.0]
},
"focus" : [0.0, 0.0, 50.0],
"resolution": [400, 400]
}
}