xrfragment/example/assets/example1.gltf

524 lines
1.2 MiB
Plaintext
Raw Normal View History

2023-04-20 18:49:18 +02:00
{
"asset" : {
"generator" : "Khronos glTF Blender I/O v3.3.32",
"version" : "2.0"
},
"extensionsUsed" : [
"KHR_materials_specular",
"KHR_materials_ior"
],
"scene" : 0,
"scenes" : [
{
"extras" : {
"sid_settings" : {
"compositor_reset" : 1
},
2023-04-20 19:06:09 +02:00
"unit" : "1m",
2023-04-20 22:30:04 +02:00
"env" : "envmap",
"b_settings" : 0
2023-04-20 18:49:18 +02:00
},
"name" : "Scene",
"nodes" : [
0,
1,
2,
2023-04-20 22:30:04 +02:00
3
2023-04-20 18:49:18 +02:00
]
}
],
"nodes" : [
{
"mesh" : 0,
2023-04-20 22:30:04 +02:00
"name" : "Cube",
"rotation" : [
0,
-0.5008997917175293,
0,
0.8655052781105042
],
2023-04-20 18:49:18 +02:00
"scale" : [
2023-04-20 22:30:04 +02:00
1.0050468444824219,
2.5739059448242188,
1.0050468444824219
],
"translation" : [
-4.524921417236328,
0.08197593688964844,
-4.543271541595459
2023-04-20 18:49:18 +02:00
]
},
{
"mesh" : 1,
2023-04-20 22:30:04 +02:00
"name" : "Cylinder",
2023-04-20 18:49:18 +02:00
"rotation" : [
0,
2023-04-20 22:30:04 +02:00
-0.5008997917175293,
2023-04-20 18:49:18 +02:00
0,
2023-04-20 22:30:04 +02:00
0.8655052781105042
2023-04-20 18:49:18 +02:00
],
"scale" : [
2023-04-20 22:30:04 +02:00
10.3627290725708,
0.43650022149086,
10.3627290725708
2023-04-20 18:49:18 +02:00
],
"translation" : [
2023-04-20 22:30:04 +02:00
-2.285984992980957,
-2.752887725830078,
-0.6466363668441772
2023-04-20 18:49:18 +02:00
]
},
{
"mesh" : 2,
2023-04-20 22:30:04 +02:00
"name" : "Sphere",
"rotation" : [
0,
-0.5008997917175293,
0,
0.8655052781105042
],
2023-04-20 18:49:18 +02:00
"scale" : [
2023-04-20 22:30:04 +02:00
10.057634353637695,
10.057634353637695,
10.057634353637695
2023-04-20 18:49:18 +02:00
],
"translation" : [
2023-04-20 22:30:04 +02:00
-2.285984992980957,
-2.3847718238830566,
-0.6466363668441772
2023-04-20 18:49:18 +02:00
]
},
{
"mesh" : 3,
2023-04-20 22:30:04 +02:00
"name" : "envmap",
"rotation" : [
0,
1,
2023-04-20 18:49:18 +02:00
0,
0
2023-04-20 22:30:04 +02:00
],
2023-04-20 18:49:18 +02:00
"scale" : [
2023-04-20 22:30:04 +02:00
0,
0,
0
],
"translation" : [
10.019047737121582,
3.053022861480713,
-7.7168869972229
2023-04-20 18:49:18 +02:00
]
}
],
"materials" : [
{
"doubleSided" : true,
"emissiveFactor" : [
1,
1,
1
],
"emissiveTexture" : {
"index" : 0
},
"extensions" : {
"KHR_materials_specular" : {
"specularColorFactor" : [
0.7760806404086199,
0.7760806404086199,
0.7760806404086199
]
},
"KHR_materials_ior" : {
"ior" : 1.4500000476837158
}
},
"name" : "Material.001",
"pbrMetallicRoughness" : {
"baseColorTexture" : {
"index" : 1
},
"metallicFactor" : 0.907216489315033,
2023-04-20 22:30:04 +02:00
"roughnessFactor" : 0.24395501613616943
2023-04-20 18:49:18 +02:00
}
},
{
"alphaMode" : "BLEND",
"extensions" : {
"KHR_materials_specular" : {
"specularColorFactor" : [
1.6990655378546355,
1.6990655378546355,
1.6990655378546355
]
},
"KHR_materials_ior" : {
"ior" : 1.4500000476837158
}
},
"name" : "glass",
"pbrMetallicRoughness" : {
"baseColorFactor" : [
1,
1,
1,
0.4845360517501831
],
"metallicFactor" : 0.8453608155250549,
"roughnessFactor" : 0.19072163105010986
}
2023-04-20 22:30:04 +02:00
},
{
"doubleSided" : true,
"name" : "environmentMap",
"pbrMetallicRoughness" : {
"baseColorTexture" : {
"index" : 2
},
"metallicFactor" : 0,
"roughnessFactor" : 0.5
}
2023-04-20 18:49:18 +02:00
}
],
"meshes" : [
{
2023-04-20 22:30:04 +02:00
"name" : "Cube.001",
2023-04-20 18:49:18 +02:00
"primitives" : [
{
"attributes" : {
"POSITION" : 0,
"NORMAL" : 1,
"TEXCOORD_0" : 2
},
"indices" : 3,
"material" : 0
}
]
},
{
2023-04-20 22:30:04 +02:00
"name" : "Cylinder",
2023-04-20 18:49:18 +02:00
"primitives" : [
{
"attributes" : {
"POSITION" : 4,
"NORMAL" : 5,
"TEXCOORD_0" : 6
},
2023-04-20 22:30:04 +02:00
"indices" : 7
2023-04-20 18:49:18 +02:00
}
]
},
{
2023-04-20 22:30:04 +02:00
"name" : "Sphere",
2023-04-20 18:49:18 +02:00
"primitives" : [
{
"attributes" : {
"POSITION" : 8,
"NORMAL" : 9,
"TEXCOORD_0" : 10
},
"indices" : 11,
2023-04-20 22:30:04 +02:00
"material" : 1
2023-04-20 18:49:18 +02:00
}
]
},
{
2023-04-20 22:30:04 +02:00
"name" : "Plane.001",
2023-04-20 18:49:18 +02:00
"primitives" : [
{
"attributes" : {
"POSITION" : 12,
"NORMAL" : 13,
"TEXCOORD_0" : 14
},
2023-04-20 22:30:04 +02:00
"indices" : 15,
"material" : 2
2023-04-20 18:49:18 +02:00
}
]
}
],
"textures" : [
{
"sampler" : 0,
"source" : 0
},
{
"sampler" : 0,
"source" : 0
2023-04-20 22:30:04 +02:00
},
{
"sampler" : 0,
"source" : 1
2023-04-20 18:49:18 +02:00
}
],
"images" : [
{
2023-04-20 22:30:04 +02:00
"bufferView" : 4,
2023-04-20 18:49:18 +02:00
"mimeType" : "image/png",
"name" : "gradient2"
2023-04-20 22:30:04 +02:00
},
{
"bufferView" : 17,
"mimeType" : "image/jpeg",
"name" : "sky"
2023-04-20 18:49:18 +02:00
}
],
"accessors" : [
{
"bufferView" : 0,
"componentType" : 5126,
2023-04-20 22:30:04 +02:00
"count" : 49,
2023-04-20 18:49:18 +02:00
"max" : [
2023-04-20 22:30:04 +02:00
6.374702453613281,
2.015418529510498,
6.933889389038086
2023-04-20 18:49:18 +02:00
],
"min" : [
-1,
-1,
2023-04-20 22:30:04 +02:00
-4.945398330688477
2023-04-20 18:49:18 +02:00
],
"type" : "VEC3"
},
{
"bufferView" : 1,
"componentType" : 5126,
2023-04-20 22:30:04 +02:00
"count" : 49,
2023-04-20 18:49:18 +02:00
"type" : "VEC3"
},
{
"bufferView" : 2,
"componentType" : 5126,
2023-04-20 22:30:04 +02:00
"count" : 49,
2023-04-20 18:49:18 +02:00
"type" : "VEC2"
},
{
"bufferView" : 3,
"componentType" : 5123,
2023-04-20 22:30:04 +02:00
"count" : 258,
2023-04-20 18:49:18 +02:00
"type" : "SCALAR"
},
{
2023-04-20 22:30:04 +02:00
"bufferView" : 5,
2023-04-20 18:49:18 +02:00
"componentType" : 5126,
"count" : 192,
"max" : [
1,
1,
1
],
"min" : [
-1,
-1,
-1
],
"type" : "VEC3"
},
{
2023-04-20 22:30:04 +02:00
"bufferView" : 6,
2023-04-20 18:49:18 +02:00
"componentType" : 5126,
"count" : 192,
"type" : "VEC3"
},
{
2023-04-20 22:30:04 +02:00
"bufferView" : 7,
2023-04-20 18:49:18 +02:00
"componentType" : 5126,
"count" : 192,
"type" : "VEC2"
},
{
2023-04-20 22:30:04 +02:00
"bufferView" : 8,
2023-04-20 18:49:18 +02:00
"componentType" : 5123,
"count" : 372,
"type" : "SCALAR"
},
{
"bufferView" : 9,
"componentType" : 5126,
"count" : 296,
"max" : [
0.9999997019767761,
1,
0.9999993443489075
],
"min" : [
-0.9999990463256836,
0,
-1
],
"type" : "VEC3"
},
{
2023-04-20 22:30:04 +02:00
"bufferView" : 10,
2023-04-20 18:49:18 +02:00
"componentType" : 5126,
"count" : 296,
"type" : "VEC3"
},
{
2023-04-20 22:30:04 +02:00
"bufferView" : 11,
2023-04-20 18:49:18 +02:00
"componentType" : 5126,
"count" : 296,
"type" : "VEC2"
},
{
2023-04-20 22:30:04 +02:00
"bufferView" : 12,
2023-04-20 18:49:18 +02:00
"componentType" : 5123,
"count" : 1440,
"type" : "SCALAR"
},
{
2023-04-20 22:30:04 +02:00
"bufferView" : 13,
2023-04-20 18:49:18 +02:00
"componentType" : 5126,
2023-04-20 22:30:04 +02:00
"count" : 4,
2023-04-20 18:49:18 +02:00
"max" : [
1,
2023-04-20 22:30:04 +02:00
0,
2023-04-20 18:49:18 +02:00
1
],
"min" : [
-1,
2023-04-20 22:30:04 +02:00
0,
2023-04-20 18:49:18 +02:00
-1
],
"type" : "VEC3"
},
{
2023-04-20 22:30:04 +02:00
"bufferView" : 14,
2023-04-20 18:49:18 +02:00
"componentType" : 5126,
2023-04-20 22:30:04 +02:00
"count" : 4,
2023-04-20 18:49:18 +02:00
"type" : "VEC3"
},
{
2023-04-20 22:30:04 +02:00
"bufferView" : 15,
2023-04-20 18:49:18 +02:00
"componentType" : 5126,
2023-04-20 22:30:04 +02:00
"count" : 4,
2023-04-20 18:49:18 +02:00
"type" : "VEC2"
},
{
2023-04-20 22:30:04 +02:00
"bufferView" : 16,
2023-04-20 18:49:18 +02:00
"componentType" : 5123,
2023-04-20 22:30:04 +02:00
"count" : 6,
2023-04-20 18:49:18 +02:00
"type" : "SCALAR"
}
],
"bufferViews" : [
{
"buffer" : 0,
2023-04-20 22:30:04 +02:00
"byteLength" : 588,
2023-04-20 18:49:18 +02:00
"byteOffset" : 0,
"target" : 34962
},
{
"buffer" : 0,
2023-04-20 22:30:04 +02:00
"byteLength" : 588,
"byteOffset" : 588,
2023-04-20 18:49:18 +02:00
"target" : 34962
},
{
"buffer" : 0,
2023-04-20 22:30:04 +02:00
"byteLength" : 392,
"byteOffset" : 1176,
2023-04-20 18:49:18 +02:00
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 516,
2023-04-20 22:30:04 +02:00
"byteOffset" : 1568,
2023-04-20 18:49:18 +02:00
"target" : 34963
},
{
"buffer" : 0,
"byteLength" : 1978,
2023-04-20 22:30:04 +02:00
"byteOffset" : 2084
2023-04-20 18:49:18 +02:00
},
{
"buffer" : 0,
"byteLength" : 2304,
2023-04-20 22:30:04 +02:00
"byteOffset" : 4064,
2023-04-20 18:49:18 +02:00
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 2304,
2023-04-20 22:30:04 +02:00
"byteOffset" : 6368,
2023-04-20 18:49:18 +02:00
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 1536,
2023-04-20 22:30:04 +02:00
"byteOffset" : 8672,
2023-04-20 18:49:18 +02:00
"target" : 34962
},
2023-04-20 22:30:04 +02:00
{
"buffer" : 0,
"byteLength" : 744,
"byteOffset" : 10208,
"target" : 34963
},
2023-04-20 18:49:18 +02:00
{
"buffer" : 0,
"byteLength" : 3552,
2023-04-20 22:30:04 +02:00
"byteOffset" : 10952,
2023-04-20 18:49:18 +02:00
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 3552,
2023-04-20 22:30:04 +02:00
"byteOffset" : 14504,
2023-04-20 18:49:18 +02:00
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 2368,
2023-04-20 22:30:04 +02:00
"byteOffset" : 18056,
2023-04-20 18:49:18 +02:00
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 2880,
2023-04-20 22:30:04 +02:00
"byteOffset" : 20424,
2023-04-20 18:49:18 +02:00
"target" : 34963
},
{
"buffer" : 0,
2023-04-20 22:30:04 +02:00
"byteLength" : 48,
"byteOffset" : 23304,
2023-04-20 18:49:18 +02:00
"target" : 34962
},
{
"buffer" : 0,
2023-04-20 22:30:04 +02:00
"byteLength" : 48,
"byteOffset" : 23352,
2023-04-20 18:49:18 +02:00
"target" : 34962
},
{
"buffer" : 0,
2023-04-20 22:30:04 +02:00
"byteLength" : 32,
"byteOffset" : 23400,
2023-04-20 18:49:18 +02:00
"target" : 34962
},
{
"buffer" : 0,
2023-04-20 22:30:04 +02:00
"byteLength" : 12,
"byteOffset" : 23432,
2023-04-20 18:49:18 +02:00
"target" : 34963
2023-04-20 22:30:04 +02:00
},
{
"buffer" : 0,
"byteLength" : 948405,
"byteOffset" : 23444
2023-04-20 18:49:18 +02:00
}
],
"samplers" : [
{
"magFilter" : 9729,
"minFilter" : 9987
}
],
"buffers" : [
{
2023-04-20 22:30:04 +02:00
"byteLength" : 971852,
"uri" : "data:application/octet-stream;base64,AACAvwAAgL8AAIA/AACAv578AEAAAIA/AACAvwAAgL8AAIC/AACAv578AEAAAIC/AACAPwAAgL8AAIA/AACAP578AEAAAIA/AACAPwAAgL8AAIC/AACAP578AEAAAIC/qjsiQC+2Y79F+sm/qjsiQO7O2T5F+sm/qjsiQC+2Y7+0QJ7AqjsiQO7O2T60QJ7A+N+8QC+2Y79F+sm/+N+8QO7O2T5F+sm/+N+8QC+2Y7+0QJ7A+N+8QO7O2T60QJ7AajF9QIhAbr9vMQZAAbKNQIhAbr/WKglAwjacQIhAbr/D+RFAI5ipQIhAbr+SRyBAg1K1QIhAbr+JhzNAfvK+QIhAbr9H/EpAZRnGQIhAbr8Kv2VA3YDKQIhAbr9GZIFAkP3LQIhAbr+SfZBA3YDKQIhAbr/elp9AZRnGQIhAbr+fG65AfvK+QIhAbr8AfbtAg1K1QIhAbr9gN8dAI5ipQIhAbr9b19BAwjacQIhAbr9C/tdAAbKNQIhAbr+5ZdxAajF9QIhAbr9s4t1A0/5eQIhAbr+5ZdxAUPVBQIhAbr9C/tdAjjInQIhAbr9b19BA0L0PQIhAbr9gN8dAsfv4P4hAbr8AfbtAE2DcP4hAbr+fG65AN8LKP4hAbr/elp9Aa8/EP4hAbr+SfZBAN8LKP4hAbr9GZIFAE2DcP4hAbr8Kv2VAsfv4P4hAbr9H/EpA0L0PQIhAbr+JhzNAjjInQIhAbr+SRyBAUPVBQIhAbr/D+RFA0/5eQIhAbr/WKglAajF9QFhGdT+SfZBAO80TvzvNE787zRM/O80TvzvNEz87zRM/O80TvzvNE787zRO/O80TvzvNEz87zRO/O80TPzvNE787zRM/O80TPzvNEz87zRM/O80TPzvNE787zRO/O80TPzvNEz87zRO/O80TvzvNE787zRM/O80TvzvNEz87zRM/O80TvzvNE787zRO/O80TvzvNEz87zRO/O80TPzvNE787zRM/O80TPzvNEz87zRM/O80TPzvNE787zRO/O80TPzvNE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aPfZT8D4AAAEAAwAAAAMAAgACAAMABwACAAcABgAGAAcABQAGAAUABAAEAAUAAQAEAAEAAAACAAYABAACAAQAAAAHAAMAAQAHAAEABQAIAAkACwAIAAsACgAKAAsADwAKAA8ADgAOAA8ADQAOAA0ADAAMAA0ACQAMAAkACAAKAA4ADAAKAAwACAAPAAsACQAPAAkADQAQADAAEQARADAAEgASADAAEwATADAAFAAUADAAFQAVADAAFgAWADAAFwAXADAAGAAYADAAGQAZADAAGgAaADAAGwAbADAAHAAcADAAHQAdADAAHgAeADAAHwAfADAAIAAgADAAIQAhADAAIgAiADAAIwAjADAAJAAkADAAJQAlADAAJgAmADAAJwAnADAAKAAoADAAKQApADAAKgAqADAAKwArADAALAAsADAALQAtADAALgAvABAAEQARABIAEwATABQAFQAVABYAFwAXABgAGQAZABoAGwAbABwAHQAdAB4AHwAfACAAIQAhACIAIwAjACQAJQAlACYAJwAnACgAKQApACoAKwArACwALQAtAC4ALwAvABEAEwATABUAFwAXABkAGwAbAB0AHwAfACEAIwAjACUAJwAnACkAKwArAC0ALwAvABMAFwAXABsAHwAfACMAJwAnACsALwAvABcAHwAfACcALwAuADAALwAvADAAEACJUE5HDQoaCgAAAA1JSERSAAAAQAAAAEAIAgAAACUL5okAAAAJcEhZcwAACxMAAAsTAQCanBgAAAdsSURBVGgFzZpbc9w2DIUBkpLW3nUuf7YP/c3pJW28WvGGfqA8TSbTpo8lLa93ZWcCEAc4B6D0J/n5o3x8kXdJFpFQpD5k/yy/f5JPv8qnL/LHIY8mrUr9U/74RX75XX7bZeeOzLHSR/nwIu+f5Z3q0lVF1GR/ku0m4ZB+dMP0LmZicxj8vRXpWd4veuvxFuRSNXbF0tti103CU7Mt5GKl2GeCwz+d0I0Uw7WHm4VblacalqqhW69yVeFXfauPh5QoRa0SAhw4r+/34f/7nHp4ruGlxVsOOLB2iRja5eg9pd7WlGO7h/6qspiBrumwlLJeW3gp4V2OW9XUFaiYWWqqXavKfZE/o72avGL7hMmQjvScE0F4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