mirror of
https://github.com/seigler/webgl-threejs-hello
synced 2025-07-27 01:36:14 +00:00
285 lines
4.8 KiB
JSON
285 lines
4.8 KiB
JSON
{
|
|
"accessors": [
|
|
{
|
|
"bufferView": 2,
|
|
"componentType": 5126,
|
|
"count": 687,
|
|
"max": [
|
|
0.9271240234375,
|
|
0.9271240234375,
|
|
1
|
|
],
|
|
"min": [
|
|
-0.9271240234375,
|
|
-0.9271240234375,
|
|
-1
|
|
],
|
|
"type": "VEC3"
|
|
},
|
|
{
|
|
"bufferView": 2,
|
|
"byteOffset": 8244,
|
|
"componentType": 5126,
|
|
"count": 687,
|
|
"max": [
|
|
1,
|
|
1,
|
|
1
|
|
],
|
|
"min": [
|
|
-1,
|
|
-1,
|
|
-1
|
|
],
|
|
"type": "VEC3"
|
|
},
|
|
{
|
|
"bufferView": 3,
|
|
"componentType": 5126,
|
|
"count": 687,
|
|
"max": [
|
|
0.60006600618362427,
|
|
0.99993300437927246,
|
|
0.99986398220062256,
|
|
1
|
|
],
|
|
"min": [
|
|
-0.53386002779006958,
|
|
-0.9997289776802063,
|
|
-0.99982798099517822,
|
|
1
|
|
],
|
|
"type": "VEC4"
|
|
},
|
|
{
|
|
"bufferView": 1,
|
|
"componentType": 5126,
|
|
"count": 687,
|
|
"max": [
|
|
0.9788060188293457,
|
|
1
|
|
],
|
|
"min": [
|
|
0,
|
|
0
|
|
],
|
|
"type": "VEC2"
|
|
},
|
|
{
|
|
"bufferView": 0,
|
|
"componentType": 5125,
|
|
"count": 3888,
|
|
"max": [
|
|
686
|
|
],
|
|
"min": [
|
|
0
|
|
],
|
|
"type": "SCALAR"
|
|
}
|
|
],
|
|
"asset": {
|
|
"extras": {
|
|
"author": "Tom Hodes (https://sketchfab.com/tomhodes)",
|
|
"license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)",
|
|
"source": "https://sketchfab.com/models/18915d2f17a2431fbefeb3eaf4411f16",
|
|
"title": "Blue Eyeball (Free)"
|
|
},
|
|
"generator": "Sketchfab-3.19.6",
|
|
"version": "2.0"
|
|
},
|
|
"bufferViews": [
|
|
{
|
|
"buffer": 0,
|
|
"byteLength": 15552,
|
|
"byteOffset": 0,
|
|
"name": "floatBufferViews",
|
|
"target": 34963
|
|
},
|
|
{
|
|
"buffer": 0,
|
|
"byteLength": 5496,
|
|
"byteOffset": 15552,
|
|
"byteStride": 8,
|
|
"name": "floatBufferViews",
|
|
"target": 34962
|
|
},
|
|
{
|
|
"buffer": 0,
|
|
"byteLength": 16488,
|
|
"byteOffset": 21048,
|
|
"byteStride": 12,
|
|
"name": "floatBufferViews",
|
|
"target": 34962
|
|
},
|
|
{
|
|
"buffer": 0,
|
|
"byteLength": 10992,
|
|
"byteOffset": 37536,
|
|
"byteStride": 16,
|
|
"name": "floatBufferViews",
|
|
"target": 34962
|
|
}
|
|
],
|
|
"buffers": [
|
|
{
|
|
"byteLength": 48528,
|
|
"uri": "scene.bin"
|
|
}
|
|
],
|
|
"images": [
|
|
{
|
|
"uri": "textures/blinn2_baseColor.png"
|
|
},
|
|
{
|
|
"uri": "textures/blinn2_metallicRoughness.png"
|
|
},
|
|
{
|
|
"uri": "textures/blinn2_normal.png"
|
|
}
|
|
],
|
|
"materials": [
|
|
{
|
|
"alphaMode": "BLEND",
|
|
"doubleSided": true,
|
|
"emissiveFactor": [
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"name": "blinn2",
|
|
"normalTexture": {
|
|
"index": 2,
|
|
"scale": 1,
|
|
"texCoord": 0
|
|
},
|
|
"occlusionTexture": {
|
|
"index": 1,
|
|
"strength": 1,
|
|
"texCoord": 0
|
|
},
|
|
"pbrMetallicRoughness": {
|
|
"baseColorFactor": [
|
|
1,
|
|
1,
|
|
1,
|
|
1
|
|
],
|
|
"baseColorTexture": {
|
|
"index": 0,
|
|
"texCoord": 0
|
|
},
|
|
"metallicFactor": 1,
|
|
"metallicRoughnessTexture": {
|
|
"index": 1,
|
|
"texCoord": 0
|
|
},
|
|
"roughnessFactor": 1
|
|
}
|
|
}
|
|
],
|
|
"meshes": [
|
|
{
|
|
"name": "defaultMaterial",
|
|
"primitives": [
|
|
{
|
|
"attributes": {
|
|
"NORMAL": 1,
|
|
"POSITION": 0,
|
|
"TANGENT": 2,
|
|
"TEXCOORD_0": 3
|
|
},
|
|
"indices": 4,
|
|
"material": 0,
|
|
"mode": 4
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"nodes": [
|
|
{
|
|
"children": [
|
|
1
|
|
],
|
|
"name": "RootNode (gltf orientation matrix)",
|
|
"rotation": [
|
|
-0.70710678118654746,
|
|
-0,
|
|
-0,
|
|
0.70710678118654757
|
|
]
|
|
},
|
|
{
|
|
"children": [
|
|
2
|
|
],
|
|
"name": "RootNode (model correction matrix)"
|
|
},
|
|
{
|
|
"children": [
|
|
3
|
|
],
|
|
"matrix": [
|
|
1,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
-4.3711390063094768e-08,
|
|
0.999999999999999,
|
|
0,
|
|
0,
|
|
-0.999999999999999,
|
|
-4.3711390063094768e-08,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
],
|
|
"name": "Collada visual scene group"
|
|
},
|
|
{
|
|
"children": [
|
|
4
|
|
],
|
|
"name": "low"
|
|
},
|
|
{
|
|
"mesh": 0,
|
|
"name": "defaultMaterial"
|
|
}
|
|
],
|
|
"samplers": [
|
|
{
|
|
"magFilter": 9729,
|
|
"minFilter": 9987,
|
|
"wrapS": 10497,
|
|
"wrapT": 10497
|
|
}
|
|
],
|
|
"scene": 0,
|
|
"scenes": [
|
|
{
|
|
"name": "OSG_Scene",
|
|
"nodes": [
|
|
0
|
|
]
|
|
}
|
|
],
|
|
"textures": [
|
|
{
|
|
"sampler": 0,
|
|
"source": 0
|
|
},
|
|
{
|
|
"sampler": 0,
|
|
"source": 1
|
|
},
|
|
{
|
|
"sampler": 0,
|
|
"source": 2
|
|
}
|
|
]
|
|
}
|
|
|