Backlog/lib/zgltf/test-samples/khr_lights_punctual/Lights.gltf

159 lines
3.9 KiB
JSON

{
"asset" : {
"generator" : "Khronos glTF Blender I/O v1.1.46",
"version" : "2.0"
},
"extensionsUsed" : [
"KHR_lights_punctual"
],
"extensionsRequired" : [
"KHR_lights_punctual"
],
"extensions" : {
"KHR_lights_punctual" : {
"lights" : [
{
"color" : [
1,
1,
1
],
"intensity" : 1000,
"type" : "point",
"name" : "Light"
},
{
"color" : [
1,
1,
1
],
"intensity" : 1000,
"type" : "spot",
"spot": {
"innerConeAngle": 0,
"outerConeAngle": 1
},
"name" : "Light.001"
},
{
"color" : [
1,
1,
1
],
"intensity" : 1000,
"type" : "directional",
"name" : "Light.002"
}
]
}
},
"scene" : 0,
"scenes" : [
{
"name" : "Scene",
"nodes" : [
1,
3,
5
]
}
],
"nodes" : [
{
"extensions" : {
"KHR_lights_punctual" : {
"light" : 0
}
},
"name" : "Light_Orientation",
"rotation" : [
-0.7071067690849304,
0,
0,
0.7071067690849304
]
},
{
"children" : [
0
],
"name" : "Light",
"rotation" : [
0.16907575726509094,
0.7558803558349609,
-0.27217137813568115,
0.570947527885437
],
"translation" : [
4.076245307922363,
5.903861999511719,
-1.0054539442062378
]
},
{
"extensions" : {
"KHR_lights_punctual" : {
"light" : 1
}
},
"name" : "Light.001_Orientation",
"rotation" : [
-0.7071067690849304,
0,
0,
0.7071067690849304
]
},
{
"children" : [
2
],
"name" : "Light.001",
"rotation" : [
0.16907575726509094,
0.7558803558349609,
-0.27217137813568115,
0.570947527885437
],
"translation" : [
-3.9570322036743164,
1.8591556549072266,
-4.55197811126709
]
},
{
"extensions" : {
"KHR_lights_punctual" : {
"light" : 2
}
},
"name" : "Light.002_Orientation",
"rotation" : [
-0.7071067690849304,
0,
0,
0.7071067690849304
]
},
{
"children" : [
4
],
"name" : "Light.002",
"rotation" : [
0.16907575726509094,
0.7558803558349609,
-0.27217137813568115,
0.570947527885437
],
"translation" : [
0.6759738922119141,
1.6738548278808594,
3.1679487228393555
]
}
]
}