cornell_empty_rg.gltf

webgpu-based path tracer

public/cornell_empty_rg.gltf

6.57 KB
{
	"asset":{
		"generator":"Khronos glTF Blender I/O v4.3.47",
		"version":"2.0"
	},
	"extensionsUsed":[
		"KHR_materials_specular",
		"KHR_materials_ior"
	],
	"scene":0,
	"scenes":[
		{
			"name":"Scene",
			"nodes":[
				0
			]
		}
	],
	"nodes":[
		{
			"mesh":0,
			"name":"CornellBox-Empty-RG",
			"rotation":[
				0.7071068286895752,
				0,
				0,
				0.7071068286895752
			]
		}
	],
	"materials":[
		{
			"doubleSided":true,
			"extensions":{
				"KHR_materials_specular":{
					"specularFactor":0
				},
				"KHR_materials_ior":{
					"ior":1
				}
			},
			"name":"floor.002",
			"pbrMetallicRoughness":{
				"baseColorFactor":[
					0.7250000238418579,
					0.7099999785423279,
					0.6800000071525574,
					1
				],
				"metallicFactor":0,
				"roughnessFactor":0.8999999761581421
			}
		},
		{
			"doubleSided":true,
			"extensions":{
				"KHR_materials_specular":{
					"specularFactor":0
				},
				"KHR_materials_ior":{
					"ior":1
				}
			},
			"name":"ceiling.002",
			"pbrMetallicRoughness":{
				"baseColorFactor":[
					0.7250000238418579,
					0.7099999785423279,
					0.6800000071525574,
					1
				],
				"metallicFactor":0,
				"roughnessFactor":0.8999999761581421
			}
		},
		{
			"doubleSided":true,
			"extensions":{
				"KHR_materials_specular":{
					"specularFactor":0
				},
				"KHR_materials_ior":{
					"ior":1
				}
			},
			"name":"backWall.002",
			"pbrMetallicRoughness":{
				"baseColorFactor":[
					0.7250000238418579,
					0.7099999785423279,
					0.6800000071525574,
					1
				],
				"metallicFactor":0,
				"roughnessFactor":0.8999999761581421
			}
		},
		{
			"doubleSided":true,
			"extensions":{
				"KHR_materials_specular":{
					"specularFactor":0
				}
			},
			"name":"rightWall.002",
			"pbrMetallicRoughness":{
				"baseColorFactor":[
					0.14000000059604645,
					0.44999998807907104,
					0.09099999815225601,
					1
				],
				"metallicFactor":0,
				"roughnessFactor":0.8999999761581421
			}
		},
		{
			"doubleSided":true,
			"extensions":{
				"KHR_materials_specular":{
					"specularFactor":0
				}
			},
			"name":"leftWall.002",
			"pbrMetallicRoughness":{
				"baseColorFactor":[
					0.6299999952316284,
					0.06499999761581421,
					0.05000000074505806,
					1
				],
				"metallicFactor":0,
				"roughnessFactor":0.8999999761581421
			}
		},
		{
			"doubleSided":true,
			"emissiveFactor":[
				1,
				1,
				1
			],
			"extensions":{
				"KHR_materials_specular":{
					"specularFactor":0
				},
				"KHR_materials_ior":{
					"ior":1
				}
			},
			"name":"light.002",
			"pbrMetallicRoughness":{
				"baseColorFactor":[
					0.7799999713897705,
					0.7799999713897705,
					0.7799999713897705,
					1
				],
				"metallicFactor":0,
				"roughnessFactor":0.8999999761581421
			}
		}
	],
	"meshes":[
		{
			"name":"CornellBox-Empty-RG.002",
			"primitives":[
				{
					"attributes":{
						"POSITION":0,
						"NORMAL":1
					},
					"indices":2,
					"material":0
				},
				{
					"attributes":{
						"POSITION":3,
						"NORMAL":4
					},
					"indices":2,
					"material":1
				},
				{
					"attributes":{
						"POSITION":5,
						"NORMAL":6
					},
					"indices":2,
					"material":2
				},
				{
					"attributes":{
						"POSITION":7,
						"NORMAL":8
					},
					"indices":2,
					"material":3
				},
				{
					"attributes":{
						"POSITION":9,
						"NORMAL":10
					},
					"indices":2,
					"material":4
				},
				{
					"attributes":{
						"POSITION":11,
						"NORMAL":12
					},
					"indices":2,
					"material":5
				}
			]
		}
	],
	"accessors":[
		{
			"bufferView":0,
			"componentType":5126,
			"count":4,
			"max":[
				1,
				0.9900000095367432,
				0
			],
			"min":[
				-1.0099999904632568,
				-1.0399999618530273,
				0
			],
			"type":"VEC3"
		},
		{
			"bufferView":1,
			"componentType":5126,
			"count":4,
			"type":"VEC3"
		},
		{
			"bufferView":2,
			"componentType":5123,
			"count":6,
			"type":"SCALAR"
		},
		{
			"bufferView":3,
			"componentType":5126,
			"count":4,
			"max":[
				1,
				0.9900000095367432,
				-1.9900000095367432
			],
			"min":[
				-1.0199999809265137,
				-1.0399999618530273,
				-1.9900000095367432
			],
			"type":"VEC3"
		},
		{
			"bufferView":4,
			"componentType":5126,
			"count":4,
			"type":"VEC3"
		},
		{
			"bufferView":5,
			"componentType":5126,
			"count":4,
			"max":[
				1,
				-1.0399999618530273,
				0
			],
			"min":[
				-1.0199999809265137,
				-1.0399999618530273,
				-1.9900000095367432
			],
			"type":"VEC3"
		},
		{
			"bufferView":6,
			"componentType":5126,
			"count":4,
			"type":"VEC3"
		},
		{
			"bufferView":7,
			"componentType":5126,
			"count":4,
			"max":[
				1,
				0.9900000095367432,
				0
			],
			"min":[
				1,
				-1.0399999618530273,
				-1.9900000095367432
			],
			"type":"VEC3"
		},
		{
			"bufferView":8,
			"componentType":5126,
			"count":4,
			"type":"VEC3"
		},
		{
			"bufferView":9,
			"componentType":5126,
			"count":4,
			"max":[
				-0.9900000095367432,
				0.9900000095367432,
				0
			],
			"min":[
				-1.0199999809265137,
				-1.0399999618530273,
				-1.9900000095367432
			],
			"type":"VEC3"
		},
		{
			"bufferView":10,
			"componentType":5126,
			"count":4,
			"type":"VEC3"
		},
		{
			"bufferView":11,
			"componentType":5126,
			"count":4,
			"max":[
				0.23000000417232513,
				0.1599999964237213,
				-1.9800000190734863
			],
			"min":[
				-0.23999999463558197,
				-0.2199999988079071,
				-1.9800000190734863
			],
			"type":"VEC3"
		},
		{
			"bufferView":12,
			"componentType":5126,
			"count":4,
			"type":"VEC3"
		}
	],
	"bufferViews":[
		{
			"buffer":0,
			"byteLength":48,
			"byteOffset":0,
			"target":34962
		},
		{
			"buffer":0,
			"byteLength":48,
			"byteOffset":48,
			"target":34962
		},
		{
			"buffer":0,
			"byteLength":12,
			"byteOffset":96,
			"target":34963
		},
		{
			"buffer":0,
			"byteLength":48,
			"byteOffset":108,
			"target":34962
		},
		{
			"buffer":0,
			"byteLength":48,
			"byteOffset":156,
			"target":34962
		},
		{
			"buffer":0,
			"byteLength":48,
			"byteOffset":204,
			"target":34962
		},
		{
			"buffer":0,
			"byteLength":48,
			"byteOffset":252,
			"target":34962
		},
		{
			"buffer":0,
			"byteLength":48,
			"byteOffset":300,
			"target":34962
		},
		{
			"buffer":0,
			"byteLength":48,
			"byteOffset":348,
			"target":34962
		},
		{
			"buffer":0,
			"byteLength":48,
			"byteOffset":396,
			"target":34962
		},
		{
			"buffer":0,
			"byteLength":48,
			"byteOffset":444,
			"target":34962
		},
		{
			"buffer":0,
			"byteLength":48,
			"byteOffset":492,
			"target":34962
		},
		{
			"buffer":0,
			"byteLength":48,
			"byteOffset":540,
			"target":34962
		}
	],
	"buffers":[
		{
			"byteLength":588,
			"uri":"cornell_empty_rg.bin"
		}
	]
}