mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 21:09:06 +08:00
186 lines
2.7 KiB
JSON
186 lines
2.7 KiB
JSON
{
|
|
"asset": {
|
|
"version": "2.0",
|
|
"generator": "draco_decoder"
|
|
},
|
|
"scenes": [
|
|
{
|
|
"nodes": [
|
|
0
|
|
]
|
|
}
|
|
],
|
|
"scene": 0,
|
|
"nodes": [
|
|
{
|
|
"mesh": 0
|
|
}
|
|
],
|
|
"meshes": [
|
|
{
|
|
"primitives": [
|
|
{
|
|
"attributes": {
|
|
"NORMAL": 2,
|
|
"POSITION": 1,
|
|
"TEXCOORD_0": 3
|
|
},
|
|
"indices": 0,
|
|
"mode": 4,
|
|
"material": 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"materials": [
|
|
{
|
|
"pbrMetallicRoughness": {
|
|
"baseColorTexture": {
|
|
"index": 0
|
|
},
|
|
"metallicRoughnessTexture": {
|
|
"index": 1
|
|
}
|
|
},
|
|
"normalTexture": {
|
|
"index": 2
|
|
},
|
|
"occlusionTexture": {
|
|
"index": 1
|
|
},
|
|
"emissiveFactor": [
|
|
1.0,
|
|
1.0,
|
|
1.0
|
|
],
|
|
"emissiveTexture": {
|
|
"index": 3
|
|
}
|
|
}
|
|
],
|
|
"textures": [
|
|
{
|
|
"source": 0
|
|
},
|
|
{
|
|
"source": 1
|
|
},
|
|
{
|
|
"source": 2
|
|
},
|
|
{
|
|
"source": 3
|
|
}
|
|
],
|
|
"images": [
|
|
{
|
|
"uri": "256x256_all_orange.png"
|
|
},
|
|
{
|
|
"uri": "256x256_all_blue.png"
|
|
},
|
|
{
|
|
"uri": "256x256_all_red.png"
|
|
},
|
|
{
|
|
"uri": "256x256_all_green.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.920301,
|
|
0.991284
|
|
],
|
|
"min": [
|
|
0.008716,
|
|
0.00967097
|
|
],
|
|
"type": "VEC2"
|
|
}
|
|
],
|
|
"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
|
|
}
|
|
],
|
|
"buffers": [
|
|
{
|
|
"byteLength": 8064,
|
|
"uri": "buffer0.bin"
|
|
}
|
|
]
|
|
}
|