-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscene_ambient.json
More file actions
86 lines (86 loc) · 1.59 KB
/
scene_ambient.json
File metadata and controls
86 lines (86 loc) · 1.59 KB
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
{
"renderSettings": {
"xres": 512,
"yres": 512,
"worker_count": 8,
"bounce_count": 10,
"ambient_ray_count": 100,
"ambient_coefficient": 0.7,
"ambient_occlusion": true,
"sampling_type": 2,
"accelerator_type": 0
},
"accelerator_types": ["ListAccelerator", "BVHAccelerator"],
"sampling_types": ["cosine_weighted", "grid", "grid_cosine_importance"],
"camera": {
"posX": 0.0,
"posY": 15.0,
"posZ": 85.0,
"dirX": 0.0,
"dirY": -0.1,
"dirZ": -1.0,
"upX": 0.0,
"upY": 0.9,
"upZ": 0.0,
"focalLength": 1.6,
"fov": 60
},
"materials": [
{
"name": "glass",
"reflection": 0.0,
"refraction": 0.9,
"refractive_index": 1.52
},
{
"name": "mirror",
"reflection": 0.7,
"refraction": 0.0
},
{
"name": "partial_mirror",
"reflection": 0.7,
"refraction": 0.0
},
{
"name": "half_mirror",
"reflection": 0.5,
"refraction": 0.0
},
{
"name": "quarter_mirror",
"reflection": 0.2,
"refraction": 0.0
}
],
"generators": [],
"lights": [],
"spheres": [
{
"shader_type": "Lambert",
"radius": 4,
"posX": 0.0,
"posY": 5.0,
"posZ": 25.0,
"color": {
"r": 255,
"g": 0,
"b": 0
}
}
],
"meshes": [
{
"filename": "objects/shortBox.obj",
"shader_type": "Lambert"
},
{
"filename": "objects/tallBox.obj",
"shader_type": "Lambert"
},
{
"filename": "objects/ground.obj",
"shader_type": "Lambert"
}
]
}