content/hifi-public/sam/models/kharon_ii/scene.gltf
2022-02-13 21:50:01 +01:00

837 lines
15 KiB (Stored with Git LFS)
JSON

{
"accessors": [
{
"bufferView": 2,
"componentType": 5126,
"count": 6337,
"max": [
9.3789501190185547,
2.7665901184082031,
5.3563899993896484
],
"min": [
-13.089920043945312,
-2.948699951171875,
-1.3298599720001221
],
"type": "VEC3"
},
{
"bufferView": 2,
"byteOffset": 76044,
"componentType": 5126,
"count": 6337,
"max": [
1,
1,
1
],
"min": [
-1,
-1,
-1
],
"type": "VEC3"
},
{
"bufferView": 3,
"componentType": 5126,
"count": 6337,
"max": [
1,
1,
0.99986261129379272,
1
],
"min": [
-1,
-1,
-0.999705970287323,
-1
],
"type": "VEC4"
},
{
"bufferView": 1,
"componentType": 5126,
"count": 6337,
"max": [
0.99686002731323242,
0.99949002265930176
],
"min": [
0.0014400000218302011,
0.00019999999494757503
],
"type": "VEC2"
},
{
"bufferView": 0,
"componentType": 5125,
"count": 30840,
"max": [
6336
],
"min": [
0
],
"type": "SCALAR"
},
{
"bufferView": 2,
"byteOffset": 152088,
"componentType": 5126,
"count": 126,
"max": [
4.6750202178955078,
1.1083500385284424,
4.5585899353027344
],
"min": [
0.89667999744415283,
-1.1083500385284424,
3.3727700710296631
],
"type": "VEC3"
},
{
"bufferView": 2,
"byteOffset": 153600,
"componentType": 5126,
"count": 126,
"max": [
0.052191365510225296,
0.99973297119140625,
0.9437214732170105
],
"min": [
-0.94752401113510132,
-0.99973297119140625,
-0.06796099990606308
],
"type": "VEC3"
},
{
"bufferView": 3,
"byteOffset": 101392,
"componentType": 5126,
"count": 126,
"max": [
0.45811471343040466,
1,
0.99999046325683594,
1
],
"min": [
-0.45950955152511597,
-0.049477607011795044,
-0.99998271465301514,
1
],
"type": "VEC4"
},
{
"bufferView": 1,
"byteOffset": 50696,
"componentType": 5126,
"count": 126,
"max": [
0.97245997190475464,
0.98363000154495239
],
"min": [
0.83810001611709595,
0.81946998834609985
],
"type": "VEC2"
},
{
"bufferView": 0,
"byteOffset": 123360,
"componentType": 5125,
"count": 588,
"max": [
125
],
"min": [
0
],
"type": "SCALAR"
},
{
"bufferView": 2,
"byteOffset": 155112,
"componentType": 5126,
"count": 88,
"max": [
14.84922981262207,
13.639659881591797,
-2.6075398921966553
],
"min": [
-13.094409942626953,
-14.303979873657227,
-3.3124699592590332
],
"type": "VEC3"
},
{
"bufferView": 2,
"byteOffset": 156168,
"componentType": 5126,
"count": 88,
"max": [
0.87627595663070679,
0.77492022514343262,
1
],
"min": [
-0.85425597429275513,
-0.85318303108215332,
0.37322172522544861
],
"type": "VEC3"
},
{
"bufferView": 3,
"byteOffset": 103408,
"componentType": 5126,
"count": 88,
"max": [
1,
0.21321435272693634,
0.90334373712539673,
1
],
"min": [
0.4289175271987915,
-0.13240253925323486,
-0.89511168003082275,
1
],
"type": "VEC4"
},
{
"bufferView": 1,
"byteOffset": 51704,
"componentType": 5126,
"count": 88,
"max": [
1,
1
],
"min": [
0,
0
],
"type": "VEC2"
},
{
"bufferView": 0,
"byteOffset": 125712,
"componentType": 5125,
"count": 387,
"max": [
87
],
"min": [
0
],
"type": "SCALAR"
},
{
"bufferView": 2,
"byteOffset": 157224,
"componentType": 5126,
"count": 1152,
"max": [
29.637380599975586,
3.8558700084686279,
4.5590500831604004
],
"min": [
2.8246200084686279,
-4.0592098236083984,
-2.184380054473877
],
"type": "VEC3"
},
{
"bufferView": 2,
"byteOffset": 171048,
"componentType": 5126,
"count": 1152,
"max": [
0.8629184365272522,
0.9954373836517334,
0.97600632905960083
],
"min": [
-0.72572034597396851,
-0.95539236068725586,
-0.98171389102935791
],
"type": "VEC3"
},
{
"bufferView": 0,
"byteOffset": 127260,
"componentType": 5125,
"count": 1152,
"max": [
1151
],
"min": [
0
],
"type": "SCALAR"
},
{
"bufferView": 2,
"byteOffset": 184872,
"componentType": 5126,
"count": 367,
"max": [
5.027440071105957,
1.1083500385284424,
4.5585899353027344
],
"min": [
0.89667999744415283,
-1.1083500385284424,
2.7503700256347656
],
"type": "VEC3"
},
{
"bufferView": 2,
"byteOffset": 189276,
"componentType": 5126,
"count": 367,
"max": [
0.99995237588882446,
0.99877673387527466,
0.99960476160049438
],
"min": [
-0.99999958276748657,
-0.99877673387527466,
-0.96815329790115356
],
"type": "VEC3"
},
{
"bufferView": 3,
"byteOffset": 104816,
"componentType": 5126,
"count": 367,
"max": [
0.99959015846252441,
0.94345360994338989,
0.99902796745300293,
1
],
"min": [
-0.99832391738891602,
-0.99991321563720703,
-0.99994403123855591,
-1
],
"type": "VEC4"
},
{
"bufferView": 0,
"byteOffset": 131868,
"componentType": 5125,
"count": 1530,
"max": [
366
],
"min": [
0
],
"type": "SCALAR"
}
],
"asset": {
"extras": {
"author": "luyssport (https://sketchfab.com/luyssport)",
"license": "CC-BY-NC-SA-4.0 (http://creativecommons.org/licenses/by-nc-sa/4.0/)",
"source": "https://sketchfab.com/models/4c5cae9015d5499bb1433c0810ffe815",
"title": "Kharon II"
},
"generator": "Sketchfab-3.29.3",
"version": "2.0"
},
"bufferViews": [
{
"buffer": 0,
"byteLength": 137988,
"byteOffset": 0,
"name": "floatBufferViews",
"target": 34963
},
{
"buffer": 0,
"byteLength": 52408,
"byteOffset": 137988,
"byteStride": 8,
"name": "floatBufferViews",
"target": 34962
},
{
"buffer": 0,
"byteLength": 193680,
"byteOffset": 190396,
"byteStride": 12,
"name": "floatBufferViews",
"target": 34962
},
{
"buffer": 0,
"byteLength": 110688,
"byteOffset": 384076,
"byteStride": 16,
"name": "floatBufferViews",
"target": 34962
}
],
"buffers": [
{
"byteLength": 494764,
"uri": "scene.bin"
}
],
"images": [
{
"uri": "textures/ground_baseColor.png"
},
{
"uri": "textures/boat_normal.jpeg"
},
{
"uri": "textures/boat_baseColor.jpeg"
},
{
"uri": "textures/boat_metallicRoughness.png"
},
{
"uri": "textures/glass_baseColor.png"
},
{
"uri": "textures/glass_metallicRoughness.png"
},
{
"uri": "textures/glass_normal.jpeg"
}
],
"materials": [
{
"doubleSided": true,
"name": "cockpit",
"pbrMetallicRoughness": {
"baseColorFactor": [
0,
0,
0,
1
],
"metallicFactor": 0,
"roughnessFactor": 1
}
},
{
"doubleSided": true,
"emissiveFactor": [
0.1410743112,
0.1098385112,
0.073454349700000005
],
"name": "particles",
"pbrMetallicRoughness": {
"baseColorFactor": [
0,
0,
0,
1
],
"metallicFactor": 0,
"roughnessFactor": 1
}
},
{
"alphaMode": "BLEND",
"doubleSided": false,
"emissiveFactor": [
0.020014883391,
0.014181177311999998,
0.0051545724480000004
],
"name": "ground",
"pbrMetallicRoughness": {
"baseColorFactor": [
1,
1,
1,
1
],
"baseColorTexture": {
"index": 0,
"texCoord": 0
},
"metallicFactor": 0,
"roughnessFactor": 1
}
},
{
"doubleSided": false,
"name": "boat",
"normalTexture": {
"index": 1,
"scale": 1,
"texCoord": 0
},
"occlusionTexture": {
"index": 3,
"strength": 1,
"texCoord": 0
},
"pbrMetallicRoughness": {
"baseColorFactor": [
1,
1,
1,
1
],
"baseColorTexture": {
"index": 2,
"texCoord": 0
},
"metallicFactor": 1,
"metallicRoughnessTexture": {
"index": 3,
"texCoord": 0
},
"roughnessFactor": 1
}
},
{
"alphaMode": "BLEND",
"doubleSided": true,
"name": "glass",
"normalTexture": {
"index": 6,
"scale": 1,
"texCoord": 0
},
"occlusionTexture": {
"index": 5,
"strength": 1,
"texCoord": 0
},
"pbrMetallicRoughness": {
"baseColorFactor": [
1,
1,
1,
1
],
"baseColorTexture": {
"index": 4,
"texCoord": 0
},
"metallicFactor": 1,
"metallicRoughnessTexture": {
"index": 5,
"texCoord": 0
},
"roughnessFactor": 1
}
}
],
"meshes": [
{
"name": "boat",
"primitives": [
{
"attributes": {
"NORMAL": 1,
"POSITION": 0,
"TANGENT": 2,
"TEXCOORD_0": 3
},
"indices": 4,
"material": 3,
"mode": 4
}
]
},
{
"name": "boat",
"primitives": [
{
"attributes": {
"NORMAL": 6,
"POSITION": 5,
"TANGENT": 7,
"TEXCOORD_0": 8
},
"indices": 9,
"material": 4,
"mode": 4
}
]
},
{
"name": "ground",
"primitives": [
{
"attributes": {
"NORMAL": 11,
"POSITION": 10,
"TANGENT": 12,
"TEXCOORD_0": 13
},
"indices": 14,
"material": 2,
"mode": 4
}
]
},
{
"name": "particles",
"primitives": [
{
"attributes": {
"NORMAL": 16,
"POSITION": 15
},
"indices": 17,
"material": 1,
"mode": 4
}
]
},
{
"name": "cockpit",
"primitives": [
{
"attributes": {
"NORMAL": 19,
"POSITION": 18,
"TANGENT": 20
},
"indices": 21,
"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,
5,
7,
10,
12,
14,
16
],
"name": "Root"
},
{
"children": [
4
],
"matrix": [
-0.64567000000000019,
0.70428000000000002,
-0.29513,
0,
-0.46106000000000003,
-0.66764000000000023,
-0.58454000000000006,
0,
-0.60872000000000015,
-0.24135000000000001,
0.75579000000000018,
0,
-11.227449999999999,
-6.2169400000000001,
16.402659999999997,
1
],
"name": "sun"
},
{
"name": "sun"
},
{
"children": [
6
],
"matrix": [
-0.38858000000000009,
0.92125999999999997,
-0.016780000000000003,
0,
0.69181000000000015,
0.30373,
0.65510000000000013,
0,
0.6086100000000001,
0.24295000000000003,
-0.75536000000000003,
0,
12.39329,
3.6321099999999999,
-13.758949999999999,
1
],
"name": "hemi"
},
{
"name": "hemi"
},
{
"children": [
8,
9
],
"name": "boat"
},
{
"mesh": 0,
"name": "boat"
},
{
"mesh": 1,
"name": "boat"
},
{
"children": [
11
],
"name": "ground"
},
{
"mesh": 2,
"name": "ground"
},
{
"children": [
13
],
"name": "particles"
},
{
"mesh": 3,
"name": "particles"
},
{
"children": [
15
],
"matrix": [
-0.64567000000000019,
0.70428000000000002,
-0.29513,
0,
-0.46106000000000003,
-0.66764000000000023,
-0.58454000000000006,
0,
-0.60872000000000015,
-0.24135000000000001,
0.75579000000000018,
0,
14.042059999999999,
11.02603,
4.58561,
1
],
"name": "sun.002"
},
{
"name": "sun.002"
},
{
"children": [
17
],
"name": "cockpit"
},
{
"mesh": 4,
"name": "cockpit"
}
],
"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
},
{
"sampler": 0,
"source": 3
},
{
"sampler": 0,
"source": 4
},
{
"sampler": 0,
"source": 5
},
{
"sampler": 0,
"source": 6
}
]
}