-
Notifications
You must be signed in to change notification settings - Fork 0
/
mesh.json
40 lines (40 loc) · 955 Bytes
/
mesh.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
{
"width": 800,
"height": 800,
"skip_denoise_pass": true,
"camera": { "position": [6, 5, 16], "target": [0, 2, 0] },
"lights": [
{ "type": "ambient", "color": [0.01, 0.01, 0.01] },
{
"type": "point",
"transform": [{ "translate": [3, 8, 15] }],
"color": [1, 1, 0.9]
}
],
"objects": [
{
"type": "plane",
"normal": [0, 1, 0],
"material": {
"type": "phong",
"color": [0.4, 0.7, 1],
"reflectivity": 0.5
}
},
{
"type": "mesh",
"file": "models/deer.obj",
"transform": [
{ "scale": [0.005, 0.005, 0.005] },
{ "translate": [0, 0, 5] }
],
"material": { "type": "phong", "color": [0.8, 0.8, 1] }
},
{
"type": "mesh",
"file": "models/tree.obj",
"transform": [{ "scale": [18, 18, 18] }, { "translate": [1, 0, -5] }],
"material": { "type": "phong", "color": [0.5, 0.25, 0] }
}
]
}