You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

129 lines
2.2 KiB

{
"asset": {
"version": "2.0"
},
"meshes": [
{
"name": "Indexed mesh",
"primitives": [
{
"attributes": {
"POSITION": 1,
"TEXCOORD_0": 2,
"COLOR": 3,
"_OBJECT_ID": 4,
"TEXCOORD_1": 2,
"JOINTS_0": 5,
"WEIGHTS_0": 6,
"_CUSTOM_PACKED_ATTRIBUTE": 7,
"_CUSTOM_MATRIX_ATTRIBUTE": 8
},
"indices": 0
}
]
},
{
"name": "Non-indexed mesh",
"primitives": [
{
"attributes": {
"POSITION": 1
}
}
]
},
{
"name": "A broken mesh",
"primitives": [
{
"mode": 666
}
]
}
],
"accessors": [
{
"bufferView": 0,
"byteOffset": 2,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 1,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
"byteOffset": 12,
"componentType": 5126,
"count": 3,
"type": "VEC2"
},
{
"bufferView": 1,
"byteOffset": 20,
"componentType": 5121,
"normalized": true,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
"byteOffset": 24,
"componentType": 5125,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 1,
"byteOffset": 20,
"componentType": 5121,
"count": 3,
"type": "VEC4"
},
{
"bufferView": 1,
"byteOffset": 0,
"componentType": 5126,
"count": 3,
"type": "VEC4"
},
{
"bufferView": 1,
"byteOffset": 20,
"componentType": 5121,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
"byteOffset": 0,
"componentType": 5126,
"count": 3,
"type": "MAT2"
}
],
"bufferViews": [
{
"buffer": 0,
"byteOffset": 0,
"byteLength": 8
},
{
"buffer": 0,
"byteOffset": 8,
"byteLength": 84,
"byteStride": 28
}
],
"buffers": [
{
"byteLength": 92,
"uri": "mesh.bin"
}
]
}