fix shapes / adding setup file
This commit is contained in:
601
python/cornell_box_output.json
Normal file
601
python/cornell_box_output.json
Normal file
@@ -0,0 +1,601 @@
|
||||
{
|
||||
"shapes": {
|
||||
"ceiling": {
|
||||
"texcoords": [],
|
||||
"positions": [
|
||||
556.0,
|
||||
548.7999877929688,
|
||||
0.0,
|
||||
556.0,
|
||||
548.7999877929688,
|
||||
559.2000122070312,
|
||||
0.0,
|
||||
548.7999877929688,
|
||||
559.2000122070312,
|
||||
0.0,
|
||||
548.7999877929688,
|
||||
0.0
|
||||
],
|
||||
"indicies": [
|
||||
0.0,
|
||||
1.0,
|
||||
2.0,
|
||||
0.0,
|
||||
2.0,
|
||||
3.0
|
||||
],
|
||||
"material_ids": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"normals": []
|
||||
},
|
||||
"floor": {
|
||||
"texcoords": [],
|
||||
"positions": [
|
||||
552.7999877929688,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
559.2000122070312,
|
||||
549.5999755859375,
|
||||
0.0,
|
||||
559.2000122070312,
|
||||
290.0,
|
||||
0.0,
|
||||
114.0,
|
||||
240.0,
|
||||
0.0,
|
||||
272.0,
|
||||
82.0,
|
||||
0.0,
|
||||
225.0,
|
||||
130.0,
|
||||
0.0,
|
||||
65.0,
|
||||
472.0,
|
||||
0.0,
|
||||
406.0,
|
||||
314.0,
|
||||
0.0,
|
||||
456.0,
|
||||
265.0,
|
||||
0.0,
|
||||
296.0,
|
||||
423.0,
|
||||
0.0,
|
||||
247.0
|
||||
],
|
||||
"indicies": [
|
||||
0.0,
|
||||
1.0,
|
||||
2.0,
|
||||
0.0,
|
||||
2.0,
|
||||
3.0,
|
||||
4.0,
|
||||
5.0,
|
||||
6.0,
|
||||
4.0,
|
||||
6.0,
|
||||
7.0,
|
||||
8.0,
|
||||
9.0,
|
||||
10.0,
|
||||
8.0,
|
||||
10.0,
|
||||
11.0
|
||||
],
|
||||
"material_ids": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"normals": []
|
||||
},
|
||||
"light": {
|
||||
"texcoords": [],
|
||||
"positions": [
|
||||
343.0,
|
||||
548.0,
|
||||
227.0,
|
||||
343.0,
|
||||
548.0,
|
||||
332.0,
|
||||
213.0,
|
||||
548.0,
|
||||
332.0,
|
||||
213.0,
|
||||
548.0,
|
||||
227.0
|
||||
],
|
||||
"indicies": [
|
||||
0.0,
|
||||
1.0,
|
||||
2.0,
|
||||
0.0,
|
||||
2.0,
|
||||
3.0
|
||||
],
|
||||
"material_ids": [
|
||||
4.0,
|
||||
4.0
|
||||
],
|
||||
"normals": []
|
||||
},
|
||||
"green_wall": {
|
||||
"texcoords": [],
|
||||
"positions": [
|
||||
0.0,
|
||||
0.0,
|
||||
559.2000122070312,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
548.7999877929688,
|
||||
0.0,
|
||||
0.0,
|
||||
548.7999877929688,
|
||||
559.2000122070312
|
||||
],
|
||||
"indicies": [
|
||||
0.0,
|
||||
1.0,
|
||||
2.0,
|
||||
0.0,
|
||||
2.0,
|
||||
3.0
|
||||
],
|
||||
"material_ids": [
|
||||
2.0,
|
||||
2.0
|
||||
],
|
||||
"normals": []
|
||||
},
|
||||
"back_wall": {
|
||||
"texcoords": [],
|
||||
"positions": [
|
||||
549.5999755859375,
|
||||
0.0,
|
||||
559.2000122070312,
|
||||
0.0,
|
||||
0.0,
|
||||
559.2000122070312,
|
||||
0.0,
|
||||
548.7999877929688,
|
||||
559.2000122070312,
|
||||
556.0,
|
||||
548.7999877929688,
|
||||
559.2000122070312
|
||||
],
|
||||
"indicies": [
|
||||
0.0,
|
||||
1.0,
|
||||
2.0,
|
||||
0.0,
|
||||
2.0,
|
||||
3.0
|
||||
],
|
||||
"material_ids": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"normals": []
|
||||
},
|
||||
"short_block": {
|
||||
"texcoords": [],
|
||||
"positions": [
|
||||
130.0,
|
||||
165.0,
|
||||
65.0,
|
||||
82.0,
|
||||
165.0,
|
||||
225.0,
|
||||
240.0,
|
||||
165.0,
|
||||
272.0,
|
||||
290.0,
|
||||
165.0,
|
||||
114.0,
|
||||
290.0,
|
||||
0.0,
|
||||
114.0,
|
||||
290.0,
|
||||
165.0,
|
||||
114.0,
|
||||
240.0,
|
||||
165.0,
|
||||
272.0,
|
||||
240.0,
|
||||
0.0,
|
||||
272.0,
|
||||
130.0,
|
||||
0.0,
|
||||
65.0,
|
||||
130.0,
|
||||
165.0,
|
||||
65.0,
|
||||
290.0,
|
||||
165.0,
|
||||
114.0,
|
||||
290.0,
|
||||
0.0,
|
||||
114.0,
|
||||
82.0,
|
||||
0.0,
|
||||
225.0,
|
||||
82.0,
|
||||
165.0,
|
||||
225.0,
|
||||
130.0,
|
||||
165.0,
|
||||
65.0,
|
||||
130.0,
|
||||
0.0,
|
||||
65.0,
|
||||
240.0,
|
||||
0.0,
|
||||
272.0,
|
||||
240.0,
|
||||
165.0,
|
||||
272.0,
|
||||
82.0,
|
||||
165.0,
|
||||
225.0,
|
||||
82.0,
|
||||
0.0,
|
||||
225.0
|
||||
],
|
||||
"indicies": [
|
||||
0.0,
|
||||
1.0,
|
||||
2.0,
|
||||
0.0,
|
||||
2.0,
|
||||
3.0,
|
||||
4.0,
|
||||
5.0,
|
||||
6.0,
|
||||
4.0,
|
||||
6.0,
|
||||
7.0,
|
||||
8.0,
|
||||
9.0,
|
||||
10.0,
|
||||
8.0,
|
||||
10.0,
|
||||
11.0,
|
||||
12.0,
|
||||
13.0,
|
||||
14.0,
|
||||
12.0,
|
||||
14.0,
|
||||
15.0,
|
||||
16.0,
|
||||
17.0,
|
||||
18.0,
|
||||
16.0,
|
||||
18.0,
|
||||
19.0
|
||||
],
|
||||
"material_ids": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"normals": []
|
||||
},
|
||||
"tall_block": {
|
||||
"texcoords": [],
|
||||
"positions": [
|
||||
423.0,
|
||||
0.0,
|
||||
247.0,
|
||||
423.0,
|
||||
330.0,
|
||||
247.0,
|
||||
472.0,
|
||||
330.0,
|
||||
406.0,
|
||||
472.0,
|
||||
0.0,
|
||||
406.0,
|
||||
472.0,
|
||||
0.0,
|
||||
406.0,
|
||||
472.0,
|
||||
330.0,
|
||||
406.0,
|
||||
314.0,
|
||||
330.0,
|
||||
456.0,
|
||||
314.0,
|
||||
0.0,
|
||||
456.0,
|
||||
314.0,
|
||||
0.0,
|
||||
456.0,
|
||||
314.0,
|
||||
330.0,
|
||||
456.0,
|
||||
265.0,
|
||||
330.0,
|
||||
296.0,
|
||||
265.0,
|
||||
0.0,
|
||||
296.0,
|
||||
265.0,
|
||||
0.0,
|
||||
296.0,
|
||||
265.0,
|
||||
330.0,
|
||||
296.0,
|
||||
423.0,
|
||||
330.0,
|
||||
247.0,
|
||||
423.0,
|
||||
0.0,
|
||||
247.0
|
||||
],
|
||||
"indicies": [
|
||||
0.0,
|
||||
1.0,
|
||||
2.0,
|
||||
0.0,
|
||||
2.0,
|
||||
3.0,
|
||||
4.0,
|
||||
5.0,
|
||||
6.0,
|
||||
4.0,
|
||||
6.0,
|
||||
7.0,
|
||||
8.0,
|
||||
9.0,
|
||||
10.0,
|
||||
8.0,
|
||||
10.0,
|
||||
11.0,
|
||||
12.0,
|
||||
13.0,
|
||||
14.0,
|
||||
12.0,
|
||||
14.0,
|
||||
15.0
|
||||
],
|
||||
"material_ids": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"normals": []
|
||||
},
|
||||
"red_wall": {
|
||||
"texcoords": [],
|
||||
"positions": [
|
||||
552.7999877929688,
|
||||
0.0,
|
||||
0.0,
|
||||
549.5999755859375,
|
||||
0.0,
|
||||
559.2000122070312,
|
||||
556.0,
|
||||
548.7999877929688,
|
||||
559.2000122070312,
|
||||
556.0,
|
||||
548.7999877929688,
|
||||
0.0
|
||||
],
|
||||
"indicies": [
|
||||
0.0,
|
||||
1.0,
|
||||
2.0,
|
||||
0.0,
|
||||
2.0,
|
||||
3.0
|
||||
],
|
||||
"material_ids": [
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"normals": []
|
||||
}
|
||||
},
|
||||
"materials": {
|
||||
"blue": {
|
||||
"transmittance": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"illum": 0,
|
||||
"emission": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"diffuse_texname": "",
|
||||
"ambient_texname": "",
|
||||
"normal_texname": "",
|
||||
"shininess": 1.0,
|
||||
"ior": 1.0,
|
||||
"specular": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"specular_texname": "",
|
||||
"diffuse": [
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"ambient": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"dissolve": 1.0
|
||||
},
|
||||
"light": {
|
||||
"transmittance": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"illum": 0,
|
||||
"emission": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"diffuse_texname": "",
|
||||
"ambient_texname": "",
|
||||
"normal_texname": "",
|
||||
"shininess": 1.0,
|
||||
"ior": 1.0,
|
||||
"specular": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"specular_texname": "",
|
||||
"diffuse": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"ambient": [
|
||||
20.0,
|
||||
20.0,
|
||||
20.0
|
||||
],
|
||||
"dissolve": 1.0
|
||||
},
|
||||
"white": {
|
||||
"transmittance": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"illum": 0,
|
||||
"emission": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"diffuse_texname": "",
|
||||
"ambient_texname": "",
|
||||
"normal_texname": "",
|
||||
"shininess": 1.0,
|
||||
"ior": 1.0,
|
||||
"specular": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"specular_texname": "",
|
||||
"diffuse": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"ambient": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"dissolve": 1.0
|
||||
},
|
||||
"green": {
|
||||
"transmittance": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"illum": 0,
|
||||
"emission": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"diffuse_texname": "",
|
||||
"ambient_texname": "",
|
||||
"normal_texname": "",
|
||||
"shininess": 1.0,
|
||||
"ior": 1.0,
|
||||
"specular": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"specular_texname": "",
|
||||
"diffuse": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"ambient": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"dissolve": 1.0
|
||||
},
|
||||
"red": {
|
||||
"transmittance": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"illum": 0,
|
||||
"emission": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"diffuse_texname": "",
|
||||
"ambient_texname": "",
|
||||
"normal_texname": "",
|
||||
"shininess": 1.0,
|
||||
"ior": 1.0,
|
||||
"specular": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"specular_texname": "",
|
||||
"diffuse": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"ambient": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"dissolve": 1.0
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user