-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscene_ambient_sphere.json
More file actions
103 lines (103 loc) · 1.83 KB
/
scene_ambient_sphere.json
File metadata and controls
103 lines (103 loc) · 1.83 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"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": 25.0,
"posZ": 85.0,
"dirX": 0.0,
"dirY": -0.19612,
"dirZ": -1,
"upX": 0.0,
"upY": 0.98058,
"upZ": -0.19611,
"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": [
{
"type": "PointLight",
"posX": -9.0,
"posY": 18.0,
"posZ": 40.0,
"color": {
"r": 1,
"g": 0,
"b": 0
},
"intensity": 1.0
},
{
"type": "PointLight",
"posX": 9.0,
"posY": 18.0,
"posZ": 40.0,
"color": {
"r": 0,
"g": 0,
"b": 1
},
"intensity": 1.0
}
],
"spheres": [
{
"shader_type": "Lambert",
"radius": 18,
"posX": 0.0,
"posY": 18.05,
"posZ": 15.0,
"color": {
"r": 90,
"g": 200,
"b": 90
}
}
],
"meshes": [
{
"filename": "objects/ground.obj",
"shader_type": "Lambert"
}
]
}