raytrace-rs/scenes/reflective.gltf

452 lines
6 KiB
JSON

{
"asset":{
"generator":"Khronos glTF Blender I/O v4.0.44",
"version":"2.0"
},
"extensionsUsed":[
"KHR_materials_emissive_strength"
],
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
0,
1,
2,
3,
4
]
}
],
"nodes":[
{
"camera":0,
"name":"Camera",
"rotation":[
-0.15949390828609467,
0.662581741809845,
0.1474284678697586,
0.7168068289756775
],
"translation":[
10.606247901916504,
4.060349464416504,
0.7527037858963013
]
},
{
"mesh":0,
"name":"Plane",
"scale":[
7.545622825622559,
7.545622825622559,
7.545622825622559
]
},
{
"mesh":1,
"name":"Plane.001",
"rotation":[
0,
0,
-0.7071068286895752,
0.7071068286895752
],
"translation":[
6.896522521972656,
1.2417194843292236,
-3.40067195892334
]
},
{
"mesh":2,
"name":"Plane.002",
"rotation":[
0,
0,
-0.7071068286895752,
0.7071068286895752
],
"scale":[
3.870809316635132,
1,
5.133298873901367
],
"translation":[
0,
0,
-1.2463083267211914
]
},
{
"mesh":3,
"name":"Cube",
"scale":[
0.7817667722702026,
0.7817667722702026,
0.7817667722702026
],
"translation":[
0.8038264513015747,
0.7851558327674866,
0
]
}
],
"cameras":[
{
"name":"Camera",
"perspective":{
"aspectRatio":1,
"yfov":0.6911112070083618,
"zfar":100,
"znear":0.10000000149011612
},
"type":"perspective"
}
],
"materials":[
{
"doubleSided":true,
"name":"Specular_black",
"pbrMetallicRoughness":{
"baseColorFactor":[
0,
0,
0,
1
],
"metallicFactor":0,
"roughnessFactor":0
}
},
{
"doubleSided":true,
"emissiveFactor":[
1,
1,
1
],
"extensions":{
"KHR_materials_emissive_strength":{
"emissiveStrength":60
}
},
"name":"Emissive",
"pbrMetallicRoughness":{
"baseColorFactor":[
0.800000011920929,
0.800000011920929,
0.800000011920929,
1
],
"metallicFactor":0,
"roughnessFactor":0
}
},
{
"doubleSided":true,
"name":"Specular_red",
"pbrMetallicRoughness":{
"baseColorFactor":[
0.8001416921615601,
0,
0.004359794314950705,
1
],
"metallicFactor":0,
"roughnessFactor":0
}
},
{
"doubleSided":true,
"name":"Rough_cube",
"pbrMetallicRoughness":{
"baseColorFactor":[
0.009510930627584457,
1,
0,
1
],
"metallicFactor":0
}
}
],
"meshes":[
{
"name":"Plane",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3,
"material":0
}
]
},
{
"name":"Plane.001",
"primitives":[
{
"attributes":{
"POSITION":4,
"NORMAL":5,
"TEXCOORD_0":6
},
"indices":3,
"material":1
}
]
},
{
"name":"Plane.002",
"primitives":[
{
"attributes":{
"POSITION":7,
"NORMAL":8,
"TEXCOORD_0":9
},
"indices":3,
"material":2
}
]
},
{
"name":"Cube.001",
"primitives":[
{
"attributes":{
"POSITION":10,
"NORMAL":11,
"TEXCOORD_0":12
},
"indices":13,
"material":3
}
]
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":4,
"max":[
1,
0,
1
],
"min":[
-1,
0,
-1
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":4,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":4,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":6,
"type":"SCALAR"
},
{
"bufferView":4,
"componentType":5126,
"count":4,
"max":[
1,
0,
1
],
"min":[
-1,
0,
-1
],
"type":"VEC3"
},
{
"bufferView":5,
"componentType":5126,
"count":4,
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":4,
"type":"VEC2"
},
{
"bufferView":7,
"componentType":5126,
"count":4,
"max":[
1,
0,
1
],
"min":[
-1,
0,
-1
],
"type":"VEC3"
},
{
"bufferView":8,
"componentType":5126,
"count":4,
"type":"VEC3"
},
{
"bufferView":9,
"componentType":5126,
"count":4,
"type":"VEC2"
},
{
"bufferView":10,
"componentType":5126,
"count":24,
"max":[
1,
1,
1
],
"min":[
-1,
-1,
-1
],
"type":"VEC3"
},
{
"bufferView":11,
"componentType":5126,
"count":24,
"type":"VEC3"
},
{
"bufferView":12,
"componentType":5126,
"count":24,
"type":"VEC2"
},
{
"bufferView":13,
"componentType":5123,
"count":36,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":48,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":48,
"target":34962
},
{
"buffer":0,
"byteLength":32,
"byteOffset":96,
"target":34962
},
{
"buffer":0,
"byteLength":12,
"byteOffset":128,
"target":34963
},
{
"buffer":0,
"byteLength":48,
"byteOffset":140,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":188,
"target":34962
},
{
"buffer":0,
"byteLength":32,
"byteOffset":236,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":268,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":316,
"target":34962
},
{
"buffer":0,
"byteLength":32,
"byteOffset":364,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":396,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":684,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":972,
"target":34962
},
{
"buffer":0,
"byteLength":72,
"byteOffset":1164,
"target":34963
}
],
"buffers":[
{
"byteLength":1236,
"uri":"reflective.bin"
}
]
}