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.
105 lines
1.7 KiB
105 lines
1.7 KiB
|
3 years ago
|
{
|
||
|
|
"asset": {
|
||
|
|
"version": "2.0"
|
||
|
|
},
|
||
|
|
"meshes": [
|
||
|
|
{
|
||
|
|
"name": "packed positions",
|
||
|
|
"primitives": [
|
||
|
|
{
|
||
|
|
"attributes": {
|
||
|
|
"POSITION": 1
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "packed normals",
|
||
|
|
"primitives": [
|
||
|
|
{
|
||
|
|
"attributes": {
|
||
|
|
"POSITION": 0,
|
||
|
|
"NORMAL": 2
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "packed tangents",
|
||
|
|
"primitives": [
|
||
|
|
{
|
||
|
|
"attributes": {
|
||
|
|
"POSITION": 0,
|
||
|
|
"TANGENT": 3
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "packed texcoords",
|
||
|
|
"primitives": [
|
||
|
|
{
|
||
|
|
"attributes": {
|
||
|
|
"POSITION": 0,
|
||
|
|
"TEXCOORD_0": 4
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"accessors": [
|
||
|
|
{
|
||
|
|
"bufferView": 0,
|
||
|
|
"componentType": 5126,
|
||
|
|
"count": 3,
|
||
|
|
"type": "VEC3"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"bufferView": 0,
|
||
|
|
"byteOffset": 12,
|
||
|
|
"componentType": 5123,
|
||
|
|
"count": 3,
|
||
|
|
"type": "VEC3"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"bufferView": 0,
|
||
|
|
"byteOffset": 18,
|
||
|
|
"componentType": 5122,
|
||
|
|
"normalized": true,
|
||
|
|
"count": 3,
|
||
|
|
"type": "VEC3"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"bufferView": 0,
|
||
|
|
"byteOffset": 18,
|
||
|
|
"componentType": 5122,
|
||
|
|
"normalized": true,
|
||
|
|
"count": 3,
|
||
|
|
"type": "VEC4"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"bufferView": 0,
|
||
|
|
"byteOffset": 18,
|
||
|
|
"componentType": 5123,
|
||
|
|
"normalized": true,
|
||
|
|
"count": 3,
|
||
|
|
"type": "VEC2"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"bufferViews": [
|
||
|
|
{
|
||
|
|
"buffer": 0,
|
||
|
|
"byteOffset": 0,
|
||
|
|
"byteLength": 78,
|
||
|
|
"byteStride": 26
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"buffers": [
|
||
|
|
{
|
||
|
|
"byteLength": 78,
|
||
|
|
"uri": "mesh-packed.bin"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
|