From 058f98a63658dc1a2579826ba167fd61bed1e21f Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 4 Mar 2022 10:47:15 -0600 Subject: add assimp submodule --- .../BoxTextured.bin | Bin 0 -> 840 bytes .../BoxTextured.gltf | 269 +++++++++++++++++++++ .../CesiumLogoFlat.png | Bin 0 -> 22051 bytes 3 files changed, 269 insertions(+) create mode 100644 src/mesh/assimp-master/test/models/glTF/BoxTextured-glTF-MaterialsCommon/BoxTextured.bin create mode 100644 src/mesh/assimp-master/test/models/glTF/BoxTextured-glTF-MaterialsCommon/BoxTextured.gltf create mode 100644 src/mesh/assimp-master/test/models/glTF/BoxTextured-glTF-MaterialsCommon/CesiumLogoFlat.png (limited to 'src/mesh/assimp-master/test/models/glTF/BoxTextured-glTF-MaterialsCommon') diff --git a/src/mesh/assimp-master/test/models/glTF/BoxTextured-glTF-MaterialsCommon/BoxTextured.bin b/src/mesh/assimp-master/test/models/glTF/BoxTextured-glTF-MaterialsCommon/BoxTextured.bin new file mode 100644 index 0000000..79f5db4 Binary files /dev/null and b/src/mesh/assimp-master/test/models/glTF/BoxTextured-glTF-MaterialsCommon/BoxTextured.bin differ diff --git a/src/mesh/assimp-master/test/models/glTF/BoxTextured-glTF-MaterialsCommon/BoxTextured.gltf b/src/mesh/assimp-master/test/models/glTF/BoxTextured-glTF-MaterialsCommon/BoxTextured.gltf new file mode 100644 index 0000000..b3f483e --- /dev/null +++ b/src/mesh/assimp-master/test/models/glTF/BoxTextured-glTF-MaterialsCommon/BoxTextured.gltf @@ -0,0 +1,269 @@ +{ + "accessors": { + "accessor_21": { + "bufferView": "bufferView_29", + "byteOffset": 0, + "byteStride": 0, + "componentType": 5123, + "count": 36, + "type": "SCALAR" + }, + "accessor_23": { + "bufferView": "bufferView_30", + "byteOffset": 0, + "byteStride": 12, + "componentType": 5126, + "count": 24, + "max": [ + 0.5, + 0.5, + 0.5 + ], + "min": [ + -0.5, + -0.5, + -0.5 + ], + "type": "VEC3" + }, + "accessor_25": { + "bufferView": "bufferView_30", + "byteOffset": 288, + "byteStride": 12, + "componentType": 5126, + "count": 24, + "max": [ + 1, + 1, + 1 + ], + "min": [ + -1, + -1, + -1 + ], + "type": "VEC3" + }, + "accessor_27": { + "bufferView": "bufferView_30", + "byteOffset": 576, + "byteStride": 8, + "componentType": 5126, + "count": 24, + "max": [ + 6, + 1 + ], + "min": [ + 0, + 0 + ], + "type": "VEC2" + } + }, + "animations": {}, + "asset": { + "generator": "collada2gltf@027f74366341d569dea42e9a68b7104cc3892054", + "premultipliedAlpha": true, + "profile": { + "api": "WebGL", + "version": "1.0.2" + }, + "version": "1.0" + }, + "bufferViews": { + "bufferView_29": { + "buffer": "BoxTextured", + "byteLength": 72, + "byteOffset": 0, + "target": 34963 + }, + "bufferView_30": { + "buffer": "BoxTextured", + "byteLength": 768, + "byteOffset": 72, + "target": 34962 + } + }, + "buffers": { + "BoxTextured": { + "byteLength": 840, + "type": "arraybuffer", + "uri": "BoxTextured.bin" + } + }, + "extensionsUsed": [ + "KHR_materials_common" + ], + "images": { + "Image0001": { + "name": "Image0001", + "uri": "CesiumLogoFlat.png" + } + }, + "materials": { + "Effect-Texture": { + "extensions": { + "KHR_materials_common": { + "doubleSided": false, + "jointCount": 0, + "technique": "PHONG", + "transparent": false, + "values": { + "diffuse": "texture_Image0001", + "shininess": 256, + "specular": [ + 0.2, + 0.2, + 0.2, + 1 + ] + } + } + }, + "name": "Texture" + } + }, + "meshes": { + "Geometry-mesh002": { + "name": "Mesh", + "primitives": [ + { + "attributes": { + "NORMAL": "accessor_25", + "POSITION": "accessor_23", + "TEXCOORD_0": "accessor_27" + }, + "indices": "accessor_21", + "material": "Effect-Texture", + "mode": 4 + } + ] + } + }, + "nodes": { + "Geometry-mesh002Node": { + "children": [], + "matrix": [ + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1 + ], + "meshes": [ + "Geometry-mesh002" + ], + "name": "Mesh" + }, + "groupLocator030Node": { + "children": [ + "txtrLocator026Node" + ], + "matrix": [ + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1 + ], + "name": "Texture_Group" + }, + "node_3": { + "children": [ + "Geometry-mesh002Node", + "groupLocator030Node" + ], + "matrix": [ + 1, + 0, + 0, + 0, + 0, + 0, + -1, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 1 + ], + "name": "Y_UP_Transform" + }, + "txtrLocator026Node": { + "children": [], + "matrix": [ + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1 + ], + "name": "Cesium_Logo_Flat__Image___Texture_" + } + }, + "samplers": { + "sampler_0": { + "magFilter": 9729, + "minFilter": 9987, + "wrapS": 10497, + "wrapT": 10497 + } + }, + "scene": "defaultScene", + "scenes": { + "defaultScene": { + "nodes": [ + "node_3" + ] + } + }, + "skins": {}, + "textures": { + "texture_Image0001": { + "format": 6408, + "internalFormat": 6408, + "sampler": "sampler_0", + "source": "Image0001", + "target": 3553, + "type": 5121 + } + } +} \ No newline at end of file diff --git a/src/mesh/assimp-master/test/models/glTF/BoxTextured-glTF-MaterialsCommon/CesiumLogoFlat.png b/src/mesh/assimp-master/test/models/glTF/BoxTextured-glTF-MaterialsCommon/CesiumLogoFlat.png new file mode 100644 index 0000000..88bada3 Binary files /dev/null and b/src/mesh/assimp-master/test/models/glTF/BoxTextured-glTF-MaterialsCommon/CesiumLogoFlat.png differ -- cgit v1.2.1