draco/testdata/DuplicateMeshes/duplicate_meshes.gltf
2021-12-09 11:26:09 -08:00

433 lines
6.9 KiB
JSON

{
"asset": {
"version": "2.0",
"generator": "draco_decoder"
},
"scenes": [
{
"nodes": [
0
]
}
],
"scene": 0,
"nodes": [
{
"children": [1, 2, 3, 4]
},
{
"mesh": 0
},
{
"mesh": 1
},
{
"mesh": 2
},
{
"mesh": 3
}
],
"meshes": [
{
"primitives": [
{
"attributes": {
"NORMAL": 2,
"POSITION": 1,
"TANGENT": 4,
"TEXCOORD_0": 3
},
"indices": 0,
"mode": 4,
"material": 0
},
{
"attributes": {
"NORMAL": 2,
"POSITION": 1,
"TANGENT": 4,
"TEXCOORD_0": 3
},
"indices": 0,
"mode": 4,
"material": 1
}
]
},
{
"primitives": [
{
"attributes": {
"NORMAL": 2,
"POSITION": 1,
"TANGENT": 4,
"TEXCOORD_0": 3
},
"indices": 0,
"mode": 4,
"material": 1
}
]
},
{
"primitives": [
{
"attributes": {
"NORMAL": 2,
"POSITION": 1,
"TANGENT": 4,
"TEXCOORD_0": 3
},
"indices": 0,
"mode": 4,
"material": 0
},
{
"attributes": {
"NORMAL": 2,
"POSITION": 1,
"TANGENT": 4,
"TEXCOORD_0": 3
},
"indices": 0,
"mode": 4,
"material": 1
}
]
},
{
"primitives": [
{
"attributes": {
"NORMAL": 2,
"POSITION": 1,
"TANGENT": 4,
"TEXCOORD_0": 3
},
"indices": 0,
"mode": 4,
"material": 0
},
{
"attributes": {
"NORMAL": 2,
"POSITION": 1,
"TANGENT": 4,
"TEXCOORD_0": 3
},
"indices": 0,
"mode": 4,
"material": 1
}
]
}
],
"materials": [
{
"pbrMetallicRoughness": {
"baseColorTexture": {
"index": 0
},
"baseColorFactor": [
1,
1,
1,
1
],
"metallicFactor": 1,
"roughnessFactor": 1
},
"normalTexture": {
"index": 1
},
"emissiveFactor": [
0,
0,
0
],
"alphaCutoff": 0.5,
"alphaMode": "OPAQUE"
},
{
"pbrMetallicRoughness": {
"baseColorTexture": {
"index": 2
},
"baseColorFactor": [
1,
1,
1,
1
],
"metallicFactor": 0,
"roughnessFactor": 1
},
"normalTexture": {
"index": 3
},
"emissiveFactor": [
0,
0,
0
],
"alphaCutoff": 0.5,
"alphaMode": "BLEND"
}
],
"textures": [
{
"source": 0
},
{
"source": 1
},
{
"source": 0
},
{
"source": 1
}
],
"images": [
{
"uri": "Texture0_BaseColor.png"
},
{
"uri": "Texture0_Normal.png"
}
],
"accessors": [
{
"bufferView": 0,
"byteOffset": 0,
"componentType": 5121,
"count": 672,
"normalized": false,
"max": [
230
],
"min": [
0
],
"type": "SCALAR"
},
{
"bufferView": 1,
"byteOffset": 0,
"componentType": 5126,
"count": 231,
"normalized": false,
"max": [
1,
1,
1
],
"min": [
-1,
-1,
-1
],
"type": "VEC3"
},
{
"bufferView": 2,
"byteOffset": 0,
"componentType": 5126,
"count": 231,
"normalized": false,
"max": [
1,
1,
1
],
"min": [
-1,
-1,
-1
],
"type": "VEC3"
},
{
"bufferView": 3,
"byteOffset": 0,
"componentType": 5126,
"count": 231,
"normalized": false,
"max": [
0.949482,
0.991337
],
"min": [
0.00866322,
0.0169369
],
"type": "VEC2"
},
{
"bufferView": 4,
"byteOffset": 0,
"componentType": 5126,
"count": 231,
"normalized": false,
"max": [
0.997891,
0.961565,
0.962921,
1
],
"min": [
-0.926271,
-0.9153,
-0.994848,
1
],
"type": "VEC4"
},
{
"bufferView": 5,
"byteOffset": 0,
"componentType": 5121,
"count": 672,
"normalized": false,
"max": [
230
],
"min": [
0
],
"type": "SCALAR"
},
{
"bufferView": 6,
"byteOffset": 0,
"componentType": 5126,
"count": 231,
"normalized": false,
"max": [
4,
1,
1
],
"min": [
2,
-1,
-1
],
"type": "VEC3"
},
{
"bufferView": 7,
"byteOffset": 0,
"componentType": 5126,
"count": 231,
"normalized": false,
"max": [
1,
1,
1
],
"min": [
-1,
-1,
-1
],
"type": "VEC3"
},
{
"bufferView": 8,
"byteOffset": 0,
"componentType": 5126,
"count": 231,
"normalized": false,
"max": [
0.988142,
0.991337
],
"min": [
0.00866322,
0.0576978
],
"type": "VEC2"
},
{
"bufferView": 9,
"byteOffset": 0,
"componentType": 5126,
"count": 231,
"normalized": false,
"max": [
0.997891,
0.961565,
0.962921,
1
],
"min": [
-0.926271,
-0.9153,
-0.994848,
1
],
"type": "VEC4"
}
],
"bufferViews": [
{
"buffer": 0,
"byteOffset": 0,
"byteLength": 672
},
{
"buffer": 0,
"byteOffset": 672,
"byteLength": 2772
},
{
"buffer": 0,
"byteOffset": 3444,
"byteLength": 2772
},
{
"buffer": 0,
"byteOffset": 6216,
"byteLength": 1848
},
{
"buffer": 0,
"byteOffset": 8064,
"byteLength": 3696
},
{
"buffer": 0,
"byteOffset": 11760,
"byteLength": 672
},
{
"buffer": 0,
"byteOffset": 12432,
"byteLength": 2772
},
{
"buffer": 0,
"byteOffset": 15204,
"byteLength": 2772
},
{
"buffer": 0,
"byteOffset": 17976,
"byteLength": 1848
},
{
"buffer": 0,
"byteOffset": 19824,
"byteLength": 3696
}
],
"buffers": [
{
"byteLength": 23520,
"uri": "buffer0.bin"
}
]
}