-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscene.json
35 lines (35 loc) · 1003 Bytes
/
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
{
"scene": [
{
"type": "sphere",
"pos": { "x": 0, "y": -10, "z": 10 },
"radius": 3,
"material": {
"type": "diffuse",
"color": { "r": 0, "g": 1, "b": 0, "a": 1 },
"emission": 0
}
},
{
"type": "plane",
"normal": { "x": 0, "y": 1, "z": 0 },
"point": { "x": 0, "y": -15, "z": 0 },
"material": {
"type": "diffuse",
"color": { "r": 0.1, "g": 0.3, "b": 0.9, "a": 1 },
"emission": 0
}
},
{
"type": "triangle",
"a": { "x": 3, "y": 1, "z": 5 },
"b": { "x": -3, "y": 1, "z": 5 },
"c": { "x": 0, "y": 3, "z": 7 },
"material": {
"type": "diffuse",
"color": { "r": 1.0, "g": 0.0, "b": 0.0, "a": 1 },
"emission": 0
}
}
]
}