Skip to content

Instantly share code, notes, and snippets.

@TimvanScherpenzeel
Created April 23, 2018 17:58
Show Gist options
  • Save TimvanScherpenzeel/69e12b50ae8474a8884cff880236b29b to your computer and use it in GitHub Desktop.
Save TimvanScherpenzeel/69e12b50ae8474a8884cff880236b29b to your computer and use it in GitHub Desktop.
damaged-helmet-draco.json
{
"accessors": [
{
"componentType": 5123,
"count": 46356,
"max": [
14555
],
"min": [
0
],
"type": "SCALAR"
},
{
"componentType": 5126,
"count": 14556,
"max": [
1,
1,
1
],
"min": [
-1,
-1,
-1
],
"type": "VEC3"
},
{
"componentType": 5126,
"count": 14556,
"max": [
0.9424954056739807,
0.8128451108932495,
0.900973916053772
],
"min": [
-0.9474585652351379,
-1.18715500831604,
-0.9009949564933777
],
"type": "VEC3"
},
{
"componentType": 5126,
"count": 14556,
"max": [
0.9999759793281555,
1.998665988445282
],
"min": [
0.002448640065267682,
1.0005531199858524
],
"type": "VEC2"
}
],
"asset": {
"generator": "Khronos Blender glTF 2.0 exporter",
"version": "2.0"
},
"bufferViews": [
{
"buffer": 0,
"byteOffset": 0,
"byteLength": 63441
},
{
"buffer": 0,
"byteOffset": 63444,
"byteLength": 935629
},
{
"buffer": 0,
"byteOffset": 999076,
"byteLength": 1300661
},
{
"buffer": 0,
"byteOffset": 2299740,
"byteLength": 97499
},
{
"buffer": 0,
"byteOffset": 2397240,
"byteLength": 361678
},
{
"buffer": 0,
"byteOffset": 2758920,
"byteLength": 517757
}
],
"buffers": [
{
"byteLength": 3276680
}
],
"images": [
{
"mimeType": "image/jpeg",
"bufferView": 1
},
{
"mimeType": "image/jpeg",
"bufferView": 2
},
{
"mimeType": "image/jpeg",
"bufferView": 3
},
{
"mimeType": "image/jpeg",
"bufferView": 4
},
{
"mimeType": "image/jpeg",
"bufferView": 5
}
],
"materials": [
{
"emissiveFactor": [
1,
1,
1
],
"emissiveTexture": {
"index": 2,
"texCoord": 0
},
"name": "Material_MR",
"normalTexture": {
"index": 4,
"texCoord": 0
},
"occlusionTexture": {
"index": 3,
"texCoord": 0
},
"pbrMetallicRoughness": {
"baseColorTexture": {
"index": 0
},
"metallicRoughnessTexture": {
"index": 1
},
"baseColorFactor": [
1,
1,
1,
1
],
"metallicFactor": 1,
"roughnessFactor": 1
},
"alphaMode": "OPAQUE",
"doubleSided": false
}
],
"meshes": [
{
"name": "mesh_helmet_LP_13930damagedHelmet",
"primitives": [
{
"attributes": {
"NORMAL": 1,
"POSITION": 2,
"TEXCOORD_0": 3
},
"indices": 0,
"material": 0,
"mode": 4,
"extensions": {
"KHR_draco_mesh_compression": {
"bufferView": 0,
"attributes": {
"NORMAL": 0,
"POSITION": 1,
"TEXCOORD_0": 2
}
}
}
}
]
}
],
"nodes": [
{
"mesh": 0,
"name": "node_damagedHelmet_-6514",
"rotation": [
0.7071068286895752,
0,
0,
0.7071068286895752
],
"translation": [
0,
0,
0
],
"scale": [
1,
1,
1
]
}
],
"samplers": [
{
"wrapS": 10497,
"wrapT": 10497
}
],
"scene": 0,
"scenes": [
{
"name": "Scene",
"nodes": [
0
]
}
],
"textures": [
{
"sampler": 0,
"source": 0
},
{
"sampler": 0,
"source": 1
},
{
"sampler": 0,
"source": 2
},
{
"sampler": 0,
"source": 3
},
{
"sampler": 0,
"source": 4
}
],
"extensionsRequired": [
"KHR_draco_mesh_compression"
],
"extensionsUsed": [
"KHR_draco_mesh_compression"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment