diff options
author | omnisci3nce <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-03 22:42:24 +1100 |
---|---|---|
committer | omnisci3nce <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-03 22:42:24 +1100 |
commit | 0c770ecad71bb540d36402311e01a2b6b94242fd (patch) | |
tree | 13a44e693a4faf67be065d6b334b149a59aa0262 /assets/models/gltf/sorceress/scene.gltf | |
parent | de14e6eef443c9935fda5fccc798e379e710bf31 (diff) |
load gltf vertices and indices. need to move to git LFS!
Diffstat (limited to 'assets/models/gltf/sorceress/scene.gltf')
-rw-r--r-- | assets/models/gltf/sorceress/scene.gltf | 626 |
1 files changed, 626 insertions, 0 deletions
diff --git a/assets/models/gltf/sorceress/scene.gltf b/assets/models/gltf/sorceress/scene.gltf new file mode 100644 index 0000000..c7c24cc --- /dev/null +++ b/assets/models/gltf/sorceress/scene.gltf @@ -0,0 +1,626 @@ +{ + "accessors": [ + { + "bufferView": 2, + "componentType": 5126, + "count": 508, + "max": [ + 8.453938484191895, + 8.408390045166016, + 19.334362030029297 + ], + "min": [ + -7.112795829772949, + -4.640022277832031, + -3.6353529075938695e-09 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 6096, + "componentType": 5126, + "count": 508, + "max": [ + 0.9106326103210449, + 0.9899648427963257, + 1.0 + ], + "min": [ + -0.8879329562187195, + -0.9930920600891113, + -0.9821274280548096 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "componentType": 5126, + "count": 508, + "max": [ + 0.9999431371688843, + 0.9857109189033508 + ], + "min": [ + 5.6843167840270326e-05, + 5.6843167840270326e-05 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "componentType": 5125, + "count": 762, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 12192, + "componentType": 5126, + "count": 188, + "max": [ + 1.017688274383545, + -0.2595154047012329, + 7.189008712768555 + ], + "min": [ + -0.8998700380325317, + -1.6244486570358276, + 3.354581832885742 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 14448, + "componentType": 5126, + "count": 188, + "max": [ + 0.9871060848236084, + 0.9971198439598083, + 0.900951087474823 + ], + "min": [ + -0.9870553612709045, + -0.9971125721931458, + -0.9013770222663879 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 4064, + "componentType": 5126, + "count": 188, + "max": [ + 0.9914162158966064, + 0.9958614110946655 + ], + "min": [ + 0.6529772281646729, + 0.6074568033218384 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 3048, + "componentType": 5125, + "count": 792, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 16704, + "componentType": 5126, + "count": 640, + "max": [ + 2.8800148963928223, + 3.849181890487671, + 7.462413787841797 + ], + "min": [ + -3.6208157539367676, + -2.4365389347076416, + -6.588268280029297 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 24384, + "componentType": 5126, + "count": 640, + "max": [ + 0.9992073774337769, + 0.9965093731880188, + 0.9998717308044434 + ], + "min": [ + -0.9992542266845703, + -0.9965460896492004, + -0.9998210668563843 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 5568, + "componentType": 5126, + "count": 640, + "max": [ + 0.9892933368682861, + 0.997984766960144 + ], + "min": [ + 0.07197019457817078, + 0.008742344565689564 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 6216, + "componentType": 5125, + "count": 2928, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 32064, + "componentType": 5126, + "count": 2138, + "max": [ + 6.974656105041504, + 5.418207168579102, + 7.0879974365234375 + ], + "min": [ + -2.9446909427642822, + -3.883166790008545, + -9.76158332824707 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 57720, + "componentType": 5126, + "count": 2138, + "max": [ + 0.9990397095680237, + 0.9993692636489868, + 0.9956154227256775 + ], + "min": [ + -0.999956488609314, + -0.9999523162841797, + -0.9998186826705933 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 10688, + "componentType": 5126, + "count": 2138, + "max": [ + 0.9944303035736084, + 0.9941301345825195 + ], + "min": [ + 0.005687416531145573, + 0.005577386356890202 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 17928, + "componentType": 5125, + "count": 9774, + "type": "SCALAR" + } + ], + "asset": { + "extras": { + "author": "rudolfs (https://sketchfab.com/rudolfs)", + "license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)", + "source": "https://sketchfab.com/3d-models/sorceress-b4fcc5cda7124489beada46851676d15", + "title": "Sorceress" + }, + "generator": "Sketchfab-12.67.0", + "version": "2.0" + }, + "bufferViews": [ + { + "buffer": 0, + "byteLength": 57024, + "name": "floatBufferViews", + "target": 34963 + }, + { + "buffer": 0, + "byteLength": 27792, + "byteOffset": 57024, + "byteStride": 8, + "name": "floatBufferViews", + "target": 34962 + }, + { + "buffer": 0, + "byteLength": 83376, + "byteOffset": 84816, + "byteStride": 12, + "name": "floatBufferViews", + "target": 34962 + } + ], + "buffers": [ + { + "byteLength": 168192, + "uri": "scene.bin" + } + ], + "images": [ + { + "uri": "textures/Material_baseColor.png" + }, + { + "uri": "textures/Material_emissive.png" + }, + { + "uri": "textures/Material.002_baseColor.png" + }, + { + "uri": "textures/Material.002_emissive.png" + } + ], + "materials": [ + { + "alphaMode": "BLEND", + "doubleSided": true, + "emissiveFactor": [ + 1.0, + 1.0, + 1.0 + ], + "emissiveTexture": { + "index": 1 + }, + "name": "Material", + "pbrMetallicRoughness": { + "baseColorTexture": { + "index": 0 + }, + "metallicFactor": 0.0, + "roughnessFactor": 0.6 + } + }, + { + "alphaMode": "BLEND", + "emissiveFactor": [ + 0.7, + 0.7, + 0.7 + ], + "emissiveTexture": { + "index": 3 + }, + "name": "Material.002", + "pbrMetallicRoughness": { + "baseColorTexture": { + "index": 2 + }, + "metallicFactor": 0.0, + "roughnessFactor": 0.6 + } + }, + { + "alphaMode": "BLEND", + "emissiveFactor": [ + 0.7, + 0.7, + 0.7 + ], + "emissiveTexture": { + "index": 3 + }, + "name": "Material.001", + "pbrMetallicRoughness": { + "baseColorTexture": { + "index": 2 + }, + "metallicFactor": 0.0, + "roughnessFactor": 0.6 + } + }, + { + "alphaMode": "BLEND", + "emissiveFactor": [ + 0.7, + 0.7, + 0.7 + ], + "emissiveTexture": { + "index": 3 + }, + "name": "Material.004", + "pbrMetallicRoughness": { + "baseColorTexture": { + "index": 2 + }, + "metallicFactor": 0.0, + "roughnessFactor": 0.6 + } + } + ], + "meshes": [ + { + "name": "Plane_Material_0", + "primitives": [ + { + "attributes": { + "NORMAL": 1, + "POSITION": 0, + "TEXCOORD_0": 2 + }, + "indices": 3, + "material": 0, + "mode": 4 + } + ] + }, + { + "name": "Body.002_Material.002_0", + "primitives": [ + { + "attributes": { + "NORMAL": 5, + "POSITION": 4, + "TEXCOORD_0": 6 + }, + "indices": 7, + "material": 1, + "mode": 4 + } + ] + }, + { + "name": "Body.001_Material.001_0", + "primitives": [ + { + "attributes": { + "NORMAL": 9, + "POSITION": 8, + "TEXCOORD_0": 10 + }, + "indices": 11, + "material": 2, + "mode": 4 + } + ] + }, + { + "name": "Body_Material.004_0", + "primitives": [ + { + "attributes": { + "NORMAL": 13, + "POSITION": 12, + "TEXCOORD_0": 14 + }, + "indices": 15, + "material": 3, + "mode": 4 + } + ] + } + ], + "nodes": [ + { + "children": [ + 1 + ], + "matrix": [ + 0.0020366350654512644, + 0.0, + 0.0, + 0.0, + 0.0, + 4.522238284845913e-19, + -0.0020366350654512644, + 0.0, + 0.0, + 0.0020366350654512644, + 4.522238284845913e-19, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "name": "Sketchfab_model" + }, + { + "children": [ + 2 + ], + "matrix": [ + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "name": "d14968cbf872402b99d26315cb14a260.fbx" + }, + { + "children": [ + 3, + 5, + 7, + 9 + ], + "name": "RootNode" + }, + { + "children": [ + 4 + ], + "matrix": [ + 100.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.629206793918314e-05, + -99.99999999999868, + 0.0, + 0.0, + 99.99999999999868, + -1.629206793918314e-05, + 0.0, + 0.0, + -954.5888671875, + 0.0, + 1.0 + ], + "name": "Plane" + }, + { + "mesh": 0, + "name": "Plane_Material_0" + }, + { + "children": [ + 6 + ], + "matrix": [ + 100.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.629206793918314e-05, + -99.99999999999868, + 0.0, + 0.0, + 99.99999999999868, + -1.629206793918314e-05, + 0.0, + 0.0, + 16.487407684326172, + 0.0, + 1.0 + ], + "name": "Body.002" + }, + { + "mesh": 1, + "name": "Body.002_Material.002_0" + }, + { + "children": [ + 8 + ], + "matrix": [ + 100.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.629206793918314e-05, + -99.99999999999868, + 0.0, + 0.0, + 99.99999999999868, + -1.629206793918314e-05, + 0.0, + 0.0, + 16.487407684326172, + 0.0, + 1.0 + ], + "name": "Body.001" + }, + { + "mesh": 2, + "name": "Body.001_Material.001_0" + }, + { + "children": [ + 10 + ], + "matrix": [ + 100.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.629206793918314e-05, + -99.99999999999868, + 0.0, + 0.0, + 99.99999999999868, + -1.629206793918314e-05, + 0.0, + 0.0, + 16.487407684326172, + 0.0, + 1.0 + ], + "name": "Body" + }, + { + "mesh": 3, + "name": "Body_Material.004_0" + } + ], + "samplers": [ + { + "magFilter": 9729, + "minFilter": 9987, + "wrapS": 10497, + "wrapT": 10497 + } + ], + "scene": 0, + "scenes": [ + { + "name": "Sketchfab_Scene", + "nodes": [ + 0 + ] + } + ], + "textures": [ + { + "sampler": 0, + "source": 0 + }, + { + "sampler": 0, + "source": 1 + }, + { + "sampler": 0, + "source": 2 + }, + { + "sampler": 0, + "source": 3 + } + ] +} |