xrfragment/example/assets/example2.gltf

715 lines
1.5 MiB
Plaintext
Raw Normal View History

2023-05-05 18:53:42 +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
},
"unit" : "1m",
"env" : "envmap",
"b_settings" : 0
},
"name" : "Scene",
"nodes" : [
0,
1,
2,
3,
4,
5
]
}
],
"nodes" : [
{
"mesh" : 0,
"name" : "Cube.001",
"rotation" : [
0,
-0.5008998513221741,
0,
0.8655052781105042
],
"scale" : [
1.0050468444824219,
2.5739059448242188,
1.0050468444824219
],
"translation" : [
-4.524921417236328,
0.08197593688964844,
-4.543271541595459
]
},
{
"mesh" : 1,
"name" : "Cylinder",
"rotation" : [
0,
-0.5008998513221741,
0,
0.8655052781105042
],
"scale" : [
10.3627290725708,
0.43650022149086,
10.3627290725708
],
"translation" : [
-2.285984992980957,
-2.752887725830078,
-0.6466363668441772
]
},
{
"mesh" : 2,
"name" : "Sphere",
"rotation" : [
0,
-0.5008997917175293,
0,
0.8655052781105042
],
"scale" : [
10.057634353637695,
10.057634353637695,
10.057634353637695
],
"translation" : [
-2.285984992980957,
-2.3847718238830566,
-0.6466363668441772
]
},
{
"mesh" : 3,
"name" : "envmap",
"rotation" : [
0,
1,
0,
0
],
"scale" : [
0,
0,
0
],
"translation" : [
10.019047737121582,
3.053022861480713,
-7.7168869972229
]
},
{
"extras" : {
"href" : "example1.gltf#pos=0,1,2"
},
"mesh" : 4,
"name" : "portal",
"rotation" : [
0.6838047504425049,
0.18003076314926147,
-0.18003077805042267,
0.6838047504425049
],
"scale" : [
1.1677000522613525,
1.1677000522613525,
1.1677000522613525
],
"translation" : [
1.5033904314041138,
-1.0415358543395996,
-1.1416999101638794
]
},
{
"extras" : {
"src" : "#scale=0.1,0.1,0.1"
},
"name" : "recursive",
"scale" : [
0.10000000149011612,
0.10000000149011612,
0.10000000149011612
],
"translation" : [
-2.8518800735473633,
-0.21248537302017212,
-1.0423541069030762
]
}
],
"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,
"roughnessFactor" : 0.24395501613616943
}
},
{
"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
}
},
{
"doubleSided" : true,
"name" : "environmentMap",
"pbrMetallicRoughness" : {
"baseColorTexture" : {
"index" : 2
},
"metallicFactor" : 0,
"roughnessFactor" : 0.5
}
},
{
"doubleSided" : true,
"name" : "Material.002",
"pbrMetallicRoughness" : {
"baseColorTexture" : {
"index" : 3
},
"metallicFactor" : 0,
"roughnessFactor" : 0.5
}
}
],
"meshes" : [
{
"name" : "Cube.001",
"primitives" : [
{
"attributes" : {
"POSITION" : 0,
"NORMAL" : 1,
"TANGENT" : 2,
"TEXCOORD_0" : 3
},
"indices" : 4,
"material" : 0
}
]
},
{
"name" : "Cylinder",
"primitives" : [
{
"attributes" : {
"POSITION" : 5,
"NORMAL" : 6,
"TANGENT" : 7,
"TEXCOORD_0" : 8
},
"indices" : 9
}
]
},
{
"name" : "Sphere",
"primitives" : [
{
"attributes" : {
"POSITION" : 10,
"NORMAL" : 11,
"TANGENT" : 12,
"TEXCOORD_0" : 13
},
"indices" : 14,
"material" : 1
}
]
},
{
"name" : "Plane.001",
"primitives" : [
{
"attributes" : {
"POSITION" : 15,
"NORMAL" : 16,
"TANGENT" : 17,
"TEXCOORD_0" : 18
},
"indices" : 19,
"material" : 2
}
]
},
{
"name" : "Plane",
"primitives" : [
{
"attributes" : {
"POSITION" : 20,
"NORMAL" : 21,
"TANGENT" : 22,
"TEXCOORD_0" : 23
},
"indices" : 19,
"material" : 3
}
]
}
],
"textures" : [
{
"sampler" : 0,
"source" : 0
},
{
"sampler" : 0,
"source" : 0
},
{
"sampler" : 0,
"source" : 1
},
{
"sampler" : 0,
"source" : 2
}
],
"images" : [
{
"bufferView" : 5,
"mimeType" : "image/png",
"name" : "gradient2"
},
{
"bufferView" : 21,
"mimeType" : "image/jpeg",
"name" : "sky"
},
{
"bufferView" : 26,
"mimeType" : "image/jpeg",
"name" : "city"
}
],
"accessors" : [
{
"bufferView" : 0,
"componentType" : 5126,
"count" : 80,
"max" : [
6.374702453613281,
2.015418529510498,
6.933889389038086
],
"min" : [
-1,
-1,
-4.945398330688477
],
"type" : "VEC3"
},
{
"bufferView" : 1,
"componentType" : 5126,
"count" : 80,
"type" : "VEC3"
},
{
"bufferView" : 2,
"componentType" : 5126,
"count" : 80,
"type" : "VEC4"
},
{
"bufferView" : 3,
"componentType" : 5126,
"count" : 80,
"type" : "VEC2"
},
{
"bufferView" : 4,
"componentType" : 5123,
"count" : 258,
"type" : "SCALAR"
},
{
"bufferView" : 6,
"componentType" : 5126,
"count" : 288,
"max" : [
1,
1,
1
],
"min" : [
-1,
-1,
-1
],
"type" : "VEC3"
},
{
"bufferView" : 7,
"componentType" : 5126,
"count" : 288,
"type" : "VEC3"
},
{
"bufferView" : 8,
"componentType" : 5126,
"count" : 288,
"type" : "VEC4"
},
{
"bufferView" : 9,
"componentType" : 5126,
"count" : 288,
"type" : "VEC2"
},
{
"bufferView" : 10,
"componentType" : 5123,
"count" : 372,
"type" : "SCALAR"
},
{
"bufferView" : 11,
"componentType" : 5126,
"count" : 296,
"max" : [
0.9999997019767761,
1,
0.9999993443489075
],
"min" : [
-0.9999990463256836,
0,
-1
],
"type" : "VEC3"
},
{
"bufferView" : 12,
"componentType" : 5126,
"count" : 296,
"type" : "VEC3"
},
{
"bufferView" : 13,
"componentType" : 5126,
"count" : 296,
"type" : "VEC4"
},
{
"bufferView" : 14,
"componentType" : 5126,
"count" : 296,
"type" : "VEC2"
},
{
"bufferView" : 15,
"componentType" : 5123,
"count" : 1440,
"type" : "SCALAR"
},
{
"bufferView" : 16,
"componentType" : 5126,
"count" : 4,
"max" : [
1,
0,
1
],
"min" : [
-1,
0,
-1
],
"type" : "VEC3"
},
{
"bufferView" : 17,
"componentType" : 5126,
"count" : 4,
"type" : "VEC3"
},
{
"bufferView" : 18,
"componentType" : 5126,
"count" : 4,
"type" : "VEC4"
},
{
"bufferView" : 19,
"componentType" : 5126,
"count" : 4,
"type" : "VEC2"
},
{
"bufferView" : 20,
"componentType" : 5123,
"count" : 6,
"type" : "SCALAR"
},
{
"bufferView" : 22,
"componentType" : 5126,
"count" : 4,
"max" : [
1,
0,
1
],
"min" : [
-1.4152507781982422,
-9.021359659300288e-09,
-1
],
"type" : "VEC3"
},
{
"bufferView" : 23,
"componentType" : 5126,
"count" : 4,
"type" : "VEC3"
},
{
"bufferView" : 24,
"componentType" : 5126,
"count" : 4,
"type" : "VEC4"
},
{
"bufferView" : 25,
"componentType" : 5126,
"count" : 4,
"type" : "VEC2"
}
],
"bufferViews" : [
{
"buffer" : 0,
"byteLength" : 960,
"byteOffset" : 0,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 960,
"byteOffset" : 960,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 1280,
"byteOffset" : 1920,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 640,
"byteOffset" : 3200,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 516,
"byteOffset" : 3840,
"target" : 34963
},
{
"buffer" : 0,
"byteLength" : 1978,
"byteOffset" : 4356
},
{
"buffer" : 0,
"byteLength" : 3456,
"byteOffset" : 6336,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 3456,
"byteOffset" : 9792,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 4608,
"byteOffset" : 13248,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 2304,
"byteOffset" : 17856,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 744,
"byteOffset" : 20160,
"target" : 34963
},
{
"buffer" : 0,
"byteLength" : 3552,
"byteOffset" : 20904,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 3552,
"byteOffset" : 24456,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 4736,
"byteOffset" : 28008,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 2368,
"byteOffset" : 32744,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 2880,
"byteOffset" : 35112,
"target" : 34963
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 37992,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 38040,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 64,
"byteOffset" : 38088,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 32,
"byteOffset" : 38152,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 12,
"byteOffset" : 38184,
"target" : 34963
},
{
"buffer" : 0,
"byteLength" : 948405,
"byteOffset" : 38196
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 986604,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 986652,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 64,
"byteOffset" : 986700,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 32,
"byteOffset" : 986764,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 163920,
"byteOffset" : 986796
}
],
"samplers" : [
{
"magFilter" : 9729,
"minFilter" : 9987
}
],
"buffers" : [
{
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