diff --git a/.prettierignore b/.prettierignore index 66afe59..c3e54d8 100644 --- a/.prettierignore +++ b/.prettierignore @@ -7,6 +7,6 @@ node_modules *.JPG *.png *.webp -*.gltf +*.glb *.blend *.blend1 diff --git a/app/composables/useAssets.ts.in b/app/composables/useAssets.ts.in index e5f62a7..6f67348 100644 --- a/app/composables/useAssets.ts.in +++ b/app/composables/useAssets.ts.in @@ -1,5 +1,6 @@ import * as THREE from "three"; import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader.js"; +import { DRACOLoader } from "three/examples/jsm/loaders/DRACOLoader.js"; type Rect = [number, number, number, number]; @@ -50,7 +51,12 @@ const createModel = (path: string) => { const model = new THREE.Group(); modelCache.set(path, model); - new GLTFLoader().load( + const dracoLoader = new DRACOLoader(); + dracoLoader.setDecoderPath("/draco/"); + + const loader = new GLTFLoader(); + loader.setDRACOLoader(dracoLoader); + loader.load( path, (gltf) => { for (const child of [...gltf.scene.children]) { diff --git a/modules/asset-generator.ts b/modules/asset-generator.ts index 5ee2b3f..bcd6d69 100644 --- a/modules/asset-generator.ts +++ b/modules/asset-generator.ts @@ -29,7 +29,7 @@ type ImageData = { }; const IMAGE_EXTENSIONS = [".png", ".webp"]; -const MODEL_EXTENSIONS = [".gltf"]; +const MODEL_EXTENSIONS = [".glb"]; const MAX_WIDTH = 2048; const toCamelCase = (str: string) => { diff --git a/nuxt.config.ts b/nuxt.config.ts index 01d377a..8c6d046 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -36,4 +36,12 @@ export default defineNuxtConfig({ quality: 80, format: ["webp"], }, + nitro: { + publicAssets: [ + { + baseURL: "/draco", + dir: "./node_modules/three/examples/jsm/libs/draco/gltf", + }, + ], + }, }); diff --git a/public/nds/models/nitendo-ds/base.002_baseColor.png b/public/nds/models/nitendo-ds/base.002_baseColor.png deleted file mode 100644 index 15a9ada..0000000 Binary files a/public/nds/models/nitendo-ds/base.002_baseColor.png and /dev/null differ diff --git a/public/nds/models/nitendo-ds/base.002_metallicRoughness.png b/public/nds/models/nitendo-ds/base.002_metallicRoughness.png deleted file mode 100644 index 8f04f9f..0000000 Binary files a/public/nds/models/nitendo-ds/base.002_metallicRoughness.png and /dev/null differ diff --git a/public/nds/models/nitendo-ds/base.002_normal.png b/public/nds/models/nitendo-ds/base.002_normal.png deleted file mode 100644 index acf7c40..0000000 Binary files a/public/nds/models/nitendo-ds/base.002_normal.png and /dev/null differ diff --git a/public/nds/models/nitendo-ds/button_general.001_baseColor.png b/public/nds/models/nitendo-ds/button_general.001_baseColor.png deleted file mode 100644 index e638c5a..0000000 Binary files a/public/nds/models/nitendo-ds/button_general.001_baseColor.png and /dev/null differ diff --git a/public/nds/models/nitendo-ds/model.bin b/public/nds/models/nitendo-ds/model.bin deleted file mode 100644 index b4414af..0000000 Binary files a/public/nds/models/nitendo-ds/model.bin and /dev/null differ diff --git a/public/nds/models/nitendo-ds/model.blend b/public/nds/models/nitendo-ds/model.blend deleted file mode 100644 index a710f64..0000000 Binary files a/public/nds/models/nitendo-ds/model.blend and /dev/null differ diff --git a/public/nds/models/nitendo-ds/model.blend1 b/public/nds/models/nitendo-ds/model.blend1 deleted file mode 100644 index a0c39fe..0000000 Binary files a/public/nds/models/nitendo-ds/model.blend1 and /dev/null differ diff --git a/public/nds/models/nitendo-ds/model.glb b/public/nds/models/nitendo-ds/model.glb new file mode 100644 index 0000000..fed421d Binary files /dev/null and b/public/nds/models/nitendo-ds/model.glb differ diff --git a/public/nds/models/nitendo-ds/model.gltf b/public/nds/models/nitendo-ds/model.gltf deleted file mode 100644 index 0a97baf..0000000 --- a/public/nds/models/nitendo-ds/model.gltf +++ /dev/null @@ -1,1975 +0,0 @@ -{ - "asset":{ - "generator":"Khronos glTF Blender I/O v5.0.21", - "version":"2.0" - }, - "extensionsUsed":[ - "KHR_materials_transmission", - "KHR_materials_emissive_strength" - ], - "scene":0, - "scenes":[ - { - "name":"Scene", - "nodes":[ - 30, - 31, - 32 - ] - } - ], - "nodes":[ - { - "mesh":0, - "name":"button_a" - }, - { - "children":[ - 0 - ], - "name":"A.001_12", - "translation":[ - 0.05834483355283737, - -0.0033270781859755516, - 0.025810634717345238 - ] - }, - { - "mesh":1, - "name":"button_b" - }, - { - "children":[ - 2 - ], - "name":"B.001_11", - "translation":[ - 0.05071074143052101, - -0.0033270774874836206, - 0.03346468508243561 - ] - }, - { - "mesh":2, - "name":"base" - }, - { - "children":[ - 4 - ], - "name":"BASE.001_10", - "translation":[ - 6.6414886532584205e-06, - -0.010716892778873444, - 0.033634208142757416 - ] - }, - { - "mesh":3, - "name":"ds_card" - }, - { - "children":[ - 6 - ], - "name":"DSCARD.001_9", - "translation":[ - -0.00012543333286885172, - -0.013035766780376434, - 0.00474785640835762 - ] - }, - { - "mesh":4, - "name":"gba_card" - }, - { - "children":[ - 8 - ], - "name":"GBACARD.001_8", - "translation":[ - 0, - -0.012254326604306698, - 0.056136567145586014 - ] - }, - { - "mesh":5, - "name":"buttons_lr" - }, - { - "children":[ - 10 - ], - "name":"LR.001_6", - "rotation":[ - 0, - -0.008111190050840378, - 0, - 0.999967098236084 - ], - "translation":[ - 0, - -0.012239721603691578, - 0.00035046340781264007 - ] - }, - { - "mesh":6, - "name":"button_pad" - }, - { - "children":[ - 12 - ], - "name":"PAD.001_7", - "translation":[ - -0.050947532057762146, - -0.004068218171596527, - 0.02888382226228714 - ] - }, - { - "mesh":7, - "name":"button_select" - }, - { - "children":[ - 14 - ], - "name":"SELECT.001_5", - "translation":[ - 0.04126448929309845, - -0.003641064278781414, - 0.058039043098688126 - ] - }, - { - "mesh":8, - "name":"Object_13" - }, - { - "mesh":9, - "name":"Object_14" - }, - { - "mesh":10, - "name":"Object_15" - }, - { - "children":[ - 16, - 17, - 18 - ], - "name":"SIDES.001_4", - "translation":[ - 0, - 0.000169381033629179, - 0.0002211146056652069 - ] - }, - { - "mesh":11, - "name":"button_start" - }, - { - "children":[ - 20 - ], - "name":"START.001_3", - "translation":[ - 0.04126448929309845, - -0.0036410638131201267, - 0.050385165959596634 - ] - }, - { - "mesh":12, - "name":"lid" - }, - { - "children":[ - 22 - ], - "name":"TOP.001_2", - "rotation":[ - -0.8660253882408142, - 0, - 0, - 0.5 - ] - }, - { - "mesh":13, - "name":"button_x" - }, - { - "children":[ - 24 - ], - "name":"X.001_1", - "translation":[ - 0.05071074143052101, - -0.0033270777203142643, - 0.018176544457674026 - ] - }, - { - "mesh":14, - "name":"button_y" - }, - { - "children":[ - 26 - ], - "name":"Y.001_0", - "translation":[ - 0.04307664930820465, - -0.0033270781859755516, - 0.025810634717345238 - ] - }, - { - "children":[ - 1, - 3, - 5, - 7, - 9, - 11, - 13, - 15, - 19, - 21, - 23, - 25, - 27 - ], - "name":"GLTF_SceneRootNode", - "rotation":[ - 0.70710688829422, - 0, - 0, - 0.7071066498756409 - ] - }, - { - "children":[ - 28 - ], - "name":"root" - }, - { - "children":[ - 29 - ], - "name":"Sketchfab_model", - "rotation":[ - -0.70710688829422, - 0, - 0, - 0.7071066498756409 - ] - }, - { - "mesh":15, - "name":"bottom_screen" - }, - { - "mesh":16, - "name":"top_screen" - } - ], - "materials":[ - { - "doubleSided":true, - "name":"button_general.002", - "pbrMetallicRoughness":{ - "baseColorTexture":{ - "index":0 - }, - "metallicFactor":0, - "roughnessFactor":0.75 - } - }, - { - "doubleSided":true, - "name":"base.002_0.001", - "normalTexture":{ - "index":1, - "texCoord":2 - }, - "pbrMetallicRoughness":{ - "baseColorTexture":{ - "index":2 - }, - "metallicFactor":0.24545499682426453, - "metallicRoughnessTexture":{ - "index":3, - "texCoord":1 - } - } - }, - { - "doubleSided":true, - "name":"base.001", - "normalTexture":{ - "index":4 - }, - "pbrMetallicRoughness":{ - "baseColorTexture":{ - "index":5 - }, - "metallicFactor":0.24545499682426453, - "metallicRoughnessTexture":{ - "index":6 - } - } - }, - { - "doubleSided":true, - "name":"top.001", - "normalTexture":{ - "index":7, - "texCoord":2 - }, - "pbrMetallicRoughness":{ - "baseColorTexture":{ - "index":8 - }, - "metallicFactor":0.24545499682426453, - "metallicRoughnessTexture":{ - "index":9, - "texCoord":1 - } - } - }, - { - "alphaMode":"BLEND", - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":0.9900000095367432 - } - }, - "name":"neon.002", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.800000011920929, - 0.800000011920929, - 0.800000011920929, - 0.25 - ], - "metallicFactor":0, - "roughnessFactor":0.10000000149011612 - } - }, - { - "doubleSided":true, - "emissiveFactor":[ - 0.051268599927425385, - 1, - 0 - ], - "extensions":{ - "KHR_materials_emissive_strength":{ - "emissiveStrength":10 - } - }, - "name":"neon_droite.002", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.05126990005373955, - 1, - 0, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "doubleSided":true, - "emissiveFactor":[ - 0.5, - 0.5, - 0.5 - ], - "emissiveTexture":{ - "index":10 - }, - "name":"screen_down.001", - "normalTexture":{ - "index":11, - "scale":0.800000011920929 - }, - "pbrMetallicRoughness":{ - "baseColorTexture":{ - "index":12 - }, - "metallicFactor":0, - "metallicRoughnessTexture":{ - "index":13 - } - } - }, - { - "doubleSided":true, - "emissiveFactor":[ - 0.5, - 0.5, - 0.5 - ], - "emissiveTexture":{ - "index":14 - }, - "name":"screen_up.001", - "normalTexture":{ - "index":15 - }, - "pbrMetallicRoughness":{ - "baseColorTexture":{ - "index":16 - }, - "metallicFactor":0, - "metallicRoughnessTexture":{ - "index":17 - } - } - } - ], - "meshes":[ - { - "name":"Object_16.001", - "primitives":[ - { - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - }, - "indices":3, - "material":0 - } - ] - }, - { - "name":"Object_15.001", - "primitives":[ - { - "attributes":{ - "POSITION":4, - "NORMAL":5, - "TEXCOORD_0":6 - }, - "indices":3, - "material":0 - } - ] - }, - { - "name":"Object_13.001", - "primitives":[ - { - "attributes":{ - "POSITION":7, - "NORMAL":8, - "TEXCOORD_0":9, - "TEXCOORD_1":10, - "TEXCOORD_2":11, - "TEXCOORD_3":12, - "TEXCOORD_4":13 - }, - "indices":14, - "material":1 - } - ] - }, - { - "name":"Object_12.001", - "primitives":[ - { - "attributes":{ - "POSITION":15, - "NORMAL":16, - "TEXCOORD_0":17 - }, - "indices":18, - "material":0 - } - ] - }, - { - "name":"Object_11.001", - "primitives":[ - { - "attributes":{ - "POSITION":19, - "NORMAL":20, - "TEXCOORD_0":21, - "TEXCOORD_1":22, - "TEXCOORD_2":23, - "TEXCOORD_3":24 - }, - "indices":25, - "material":2 - } - ] - }, - { - "name":"Object_9.001", - "primitives":[ - { - "attributes":{ - "POSITION":26, - "NORMAL":27, - "TEXCOORD_0":28 - }, - "indices":29, - "material":0 - } - ] - }, - { - "name":"Object_10.001", - "primitives":[ - { - "attributes":{ - "POSITION":30, - "NORMAL":31, - "TEXCOORD_0":32 - }, - "indices":33, - "material":0 - } - ] - }, - { - "name":"Object_8.001", - "primitives":[ - { - "attributes":{ - "POSITION":34, - "NORMAL":35, - "TEXCOORD_0":36 - }, - "indices":3, - "material":0 - } - ] - }, - { - "name":"Object_5.001", - "primitives":[ - { - "attributes":{ - "POSITION":37, - "NORMAL":38, - "TEXCOORD_0":39, - "TEXCOORD_1":40, - "TEXCOORD_2":41, - "TEXCOORD_3":42, - "TEXCOORD_4":43 - }, - "indices":44, - "material":3 - } - ] - }, - { - "name":"Object_6.001", - "primitives":[ - { - "attributes":{ - "POSITION":45, - "NORMAL":46, - "TEXCOORD_0":47, - "TEXCOORD_1":48 - }, - "indices":49, - "material":4 - } - ] - }, - { - "name":"Object_7.001", - "primitives":[ - { - "attributes":{ - "POSITION":50, - "NORMAL":51, - "TEXCOORD_0":52, - "TEXCOORD_1":53 - }, - "indices":54, - "material":5 - } - ] - }, - { - "name":"Object_4.001", - "primitives":[ - { - "attributes":{ - "POSITION":55, - "NORMAL":56, - "TEXCOORD_0":57 - }, - "indices":3, - "material":0 - } - ] - }, - { - "name":"Object_2.001", - "primitives":[ - { - "attributes":{ - "POSITION":58, - "NORMAL":59, - "TEXCOORD_0":60, - "TEXCOORD_1":61, - "TEXCOORD_2":62, - "TEXCOORD_3":63, - "TEXCOORD_4":64 - }, - "indices":65, - "material":3 - } - ] - }, - { - "name":"Object_1.001", - "primitives":[ - { - "attributes":{ - "POSITION":66, - "NORMAL":67, - "TEXCOORD_0":68 - }, - "indices":3, - "material":0 - } - ] - }, - { - "name":"Object_0.001", - "primitives":[ - { - "attributes":{ - "POSITION":69, - "NORMAL":70, - "TEXCOORD_0":71 - }, - "indices":3, - "material":0 - } - ] - }, - { - "name":"Plane", - "primitives":[ - { - "attributes":{ - "POSITION":72, - "NORMAL":73, - "TEXCOORD_0":74 - }, - "indices":75, - "material":6 - } - ] - }, - { - "name":"Plane.001", - "primitives":[ - { - "attributes":{ - "POSITION":76, - "NORMAL":77, - "TEXCOORD_0":78 - }, - "indices":75, - "material":7 - } - ] - } - ], - "textures":[ - { - "sampler":0, - "source":0 - }, - { - "sampler":0, - "source":1 - }, - { - "sampler":0, - "source":2 - }, - { - "sampler":0, - "source":3 - }, - { - "sampler":0, - "source":1 - }, - { - "sampler":0, - "source":2 - }, - { - "sampler":0, - "source":3 - }, - { - "sampler":0, - "source":4 - }, - { - "sampler":0, - "source":5 - }, - { - "sampler":0, - "source":6 - }, - { - "sampler":0, - "source":7 - }, - { - "sampler":0, - "source":8 - }, - { - "sampler":0, - "source":7 - }, - { - "sampler":0, - "source":9 - }, - { - "sampler":0, - "source":10 - }, - { - "sampler":0, - "source":11 - }, - { - "sampler":0, - "source":10 - }, - { - "sampler":0, - "source":12 - } - ], - "images":[ - { - "mimeType":"image/png", - "name":"button_general.001_baseColor", - "uri":"button_general.001_baseColor.png" - }, - { - "mimeType":"image/png", - "name":"base.002_normal", - "uri":"base.002_normal.png" - }, - { - "mimeType":"image/png", - "name":"base.002_baseColor", - "uri":"base.002_baseColor.png" - }, - { - "mimeType":"image/png", - "name":"base.002_metallicRoughness", - "uri":"base.002_metallicRoughness.png" - }, - { - "mimeType":"image/png", - "name":"top.002_normal", - "uri":"top.002_normal.png" - }, - { - "mimeType":"image/png", - "name":"top.002_baseColor", - "uri":"top.002_baseColor.png" - }, - { - "mimeType":"image/png", - "name":"top.002_metallicRoughness", - "uri":"top.002_metallicRoughness.png" - }, - { - "mimeType":"image/png", - "name":"screen_down.002_baseColor", - "uri":"screen_down.002_baseColor.png" - }, - { - "mimeType":"image/png", - "name":"screen_down.002_normal", - "uri":"screen_down.002_normal.png" - }, - { - "mimeType":"image/png", - "name":"screen_down.002_metallicRoughness", - "uri":"screen_down.002_metallicRoughness.png" - }, - { - "mimeType":"image/png", - "name":"screen_up.002_baseColor", - "uri":"screen_up.002_baseColor.png" - }, - { - "mimeType":"image/png", - "name":"screen_up.002_normal", - "uri":"screen_up.002_normal.png" - }, - { - "mimeType":"image/png", - "name":"screen_up.002_metallicRoughness", - "uri":"screen_up.002_metallicRoughness.png" - } - ], - "accessors":[ - { - "bufferView":0, - "componentType":5126, - "count":256, - "max":[ - 0.003685247153043747, - 0.0012006270699203014, - 0.003685247153043747 - ], - "min":[ - -0.003685247153043747, - -0.0011087656021118164, - -0.0036852452903985977 - ], - "type":"VEC3" - }, - { - "bufferView":1, - "componentType":5126, - "count":256, - "type":"VEC3" - }, - { - "bufferView":2, - "componentType":5126, - "count":256, - "type":"VEC2" - }, - { - "bufferView":3, - "componentType":5123, - "count":1332, - "type":"SCALAR" - }, - { - "bufferView":4, - "componentType":5126, - "count":256, - "max":[ - 0.003685247153043747, - 0.0012006263714283705, - 0.003685247153043747 - ], - "min":[ - -0.003685247153043747, - -0.0011087663006037474, - -0.003685247153043747 - ], - "type":"VEC3" - }, - { - "bufferView":5, - "componentType":5126, - "count":256, - "type":"VEC3" - }, - { - "bufferView":6, - "componentType":5126, - "count":256, - "type":"VEC2" - }, - { - "bufferView":7, - "componentType":5126, - "count":15230, - "max":[ - 0.06649336218833923, - 0.010352063924074173, - 0.03592536225914955 - ], - "min":[ - -0.06649336218833923, - -0.007067822851240635, - -0.03821156546473503 - ], - "type":"VEC3" - }, - { - "bufferView":8, - "componentType":5126, - "count":15230, - "type":"VEC3" - }, - { - "bufferView":9, - "componentType":5126, - "count":15230, - "type":"VEC2" - }, - { - "bufferView":10, - "componentType":5126, - "count":15230, - "type":"VEC2" - }, - { - "bufferView":11, - "componentType":5126, - "count":15230, - "type":"VEC2" - }, - { - "bufferView":12, - "componentType":5126, - "count":15230, - "type":"VEC2" - }, - { - "bufferView":13, - "componentType":5126, - "count":15230, - "type":"VEC2" - }, - { - "bufferView":14, - "componentType":5123, - "count":69432, - "type":"SCALAR" - }, - { - "bufferView":15, - "componentType":5126, - "count":188, - "max":[ - 0.016136465594172478, - 0.0024298876523971558, - 0.01076492853462696 - ], - "min":[ - -0.01613646186888218, - -0.0024298876523971558, - -0.01076492853462696 - ], - "type":"VEC3" - }, - { - "bufferView":16, - "componentType":5126, - "count":188, - "type":"VEC3" - }, - { - "bufferView":17, - "componentType":5126, - "count":188, - "type":"VEC2" - }, - { - "bufferView":18, - "componentType":5123, - "count":900, - "type":"SCALAR" - }, - { - "bufferView":19, - "componentType":5126, - "count":1265, - "max":[ - 0.03261723741889, - 0.004648247733712196, - 0.013763006776571274 - ], - "min":[ - -0.03261723741889, - -0.004648548550903797, - -0.014365006238222122 - ], - "type":"VEC3" - }, - { - "bufferView":20, - "componentType":5126, - "count":1265, - "type":"VEC3" - }, - { - "bufferView":21, - "componentType":5126, - "count":1265, - "type":"VEC2" - }, - { - "bufferView":22, - "componentType":5126, - "count":1265, - "type":"VEC2" - }, - { - "bufferView":23, - "componentType":5126, - "count":1265, - "type":"VEC2" - }, - { - "bufferView":24, - "componentType":5126, - "count":1265, - "type":"VEC2" - }, - { - "bufferView":25, - "componentType":5123, - "count":6240, - "type":"SCALAR" - }, - { - "bufferView":26, - "componentType":5126, - "count":1001, - "max":[ - 0.06650000810623169, - 0.0052455998957157135, - 0.004708603024482727 - ], - "min":[ - -0.0664999932050705, - -0.005578718148171902, - -0.004967300221323967 - ], - "type":"VEC3" - }, - { - "bufferView":27, - "componentType":5126, - "count":1001, - "type":"VEC3" - }, - { - "bufferView":28, - "componentType":5126, - "count":1001, - "type":"VEC2" - }, - { - "bufferView":29, - "componentType":5123, - "count":4080, - "type":"SCALAR" - }, - { - "bufferView":30, - "componentType":5126, - "count":736, - "max":[ - 0.00912686437368393, - 0.0020940317772328854, - 0.009059183299541473 - ], - "min":[ - -0.009122472256422043, - -0.001908174715936184, - -0.009056758135557175 - ], - "type":"VEC3" - }, - { - "bufferView":31, - "componentType":5126, - "count":736, - "type":"VEC3" - }, - { - "bufferView":32, - "componentType":5126, - "count":736, - "type":"VEC2" - }, - { - "bufferView":33, - "componentType":5123, - "count":4404, - "type":"SCALAR" - }, - { - "bufferView":34, - "componentType":5126, - "count":256, - "max":[ - 0.0018481574952602386, - 0.0009389985352754593, - 0.0018481574952602386 - ], - "min":[ - -0.0018481574952602386, - -0.0008896077051758766, - -0.0018481574952602386 - ], - "type":"VEC3" - }, - { - "bufferView":35, - "componentType":5126, - "count":256, - "type":"VEC3" - }, - { - "bufferView":36, - "componentType":5126, - "count":256, - "type":"VEC2" - }, - { - "bufferView":37, - "componentType":5126, - "count":1892, - "max":[ - 0.06650000065565109, - 0.004648088943213224, - 0.004837951622903347 - ], - "min":[ - -0.06650000065565109, - -0.0038614626973867416, - -0.004837951622903347 - ], - "type":"VEC3" - }, - { - "bufferView":38, - "componentType":5126, - "count":1892, - "type":"VEC3" - }, - { - "bufferView":39, - "componentType":5126, - "count":1892, - "type":"VEC2" - }, - { - "bufferView":40, - "componentType":5126, - "count":1892, - "type":"VEC2" - }, - { - "bufferView":41, - "componentType":5126, - "count":1892, - "type":"VEC2" - }, - { - "bufferView":42, - "componentType":5126, - "count":1892, - "type":"VEC2" - }, - { - "bufferView":43, - "componentType":5126, - "count":1892, - "type":"VEC2" - }, - { - "bufferView":44, - "componentType":5123, - "count":9276, - "type":"SCALAR" - }, - { - "bufferView":45, - "componentType":5126, - "count":56, - "max":[ - 0.057932112365961075, - 0.004563519731163979, - 0.002610582858324051 - ], - "min":[ - 0.056727804243564606, - 0.0040124934166669846, - -0.002610582858324051 - ], - "type":"VEC3" - }, - { - "bufferView":46, - "componentType":5126, - "count":56, - "type":"VEC3" - }, - { - "bufferView":47, - "componentType":5126, - "count":56, - "type":"VEC2" - }, - { - "bufferView":48, - "componentType":5126, - "count":56, - "type":"VEC2" - }, - { - "bufferView":49, - "componentType":5123, - "count":114, - "type":"SCALAR" - }, - { - "bufferView":50, - "componentType":5126, - "count":55, - "max":[ - 0.06044044345617294, - 0.004563519731163979, - 0.002610582858324051 - ], - "min":[ - 0.05924428254365921, - 0.00401249248534441, - -0.002610582858324051 - ], - "type":"VEC3" - }, - { - "bufferView":51, - "componentType":5126, - "count":55, - "type":"VEC3" - }, - { - "bufferView":52, - "componentType":5126, - "count":55, - "type":"VEC2" - }, - { - "bufferView":53, - "componentType":5126, - "count":55, - "type":"VEC2" - }, - { - "bufferView":54, - "componentType":5123, - "count":114, - "type":"SCALAR" - }, - { - "bufferView":55, - "componentType":5126, - "count":256, - "max":[ - 0.0018481574952602386, - 0.000938998069614172, - 0.0018481574952602386 - ], - "min":[ - -0.0018481574952602386, - -0.0008896081708371639, - -0.0018481574952602386 - ], - "type":"VEC3" - }, - { - "bufferView":56, - "componentType":5126, - "count":256, - "type":"VEC3" - }, - { - "bufferView":57, - "componentType":5126, - "count":256, - "type":"VEC2" - }, - { - "bufferView":58, - "componentType":5126, - "count":11381, - "max":[ - 0.06650000065565109, - 0.004247849807143211, - 0.0693383440375328 - ], - "min":[ - -0.06650000065565109, - -0.003952499479055405, - -0.004786074161529541 - ], - "type":"VEC3" - }, - { - "bufferView":59, - "componentType":5126, - "count":11381, - "type":"VEC3" - }, - { - "bufferView":60, - "componentType":5126, - "count":11381, - "type":"VEC2" - }, - { - "bufferView":61, - "componentType":5126, - "count":11381, - "type":"VEC2" - }, - { - "bufferView":62, - "componentType":5126, - "count":11381, - "type":"VEC2" - }, - { - "bufferView":63, - "componentType":5126, - "count":11381, - "type":"VEC2" - }, - { - "bufferView":64, - "componentType":5126, - "count":11381, - "type":"VEC2" - }, - { - "bufferView":65, - "componentType":5123, - "count":44529, - "type":"SCALAR" - }, - { - "bufferView":66, - "componentType":5126, - "count":256, - "max":[ - 0.003685247153043747, - 0.0012006266042590141, - 0.003685247153043747 - ], - "min":[ - -0.003685247153043747, - -0.0011087660677731037, - -0.0036852462217211723 - ], - "type":"VEC3" - }, - { - "bufferView":67, - "componentType":5126, - "count":256, - "type":"VEC3" - }, - { - "bufferView":68, - "componentType":5126, - "count":256, - "type":"VEC2" - }, - { - "bufferView":69, - "componentType":5126, - "count":256, - "max":[ - 0.003685247153043747, - 0.0012006270699203014, - 0.003685247153043747 - ], - "min":[ - -0.003685247153043747, - -0.0011087656021118164, - -0.0036852452903985977 - ], - "type":"VEC3" - }, - { - "bufferView":70, - "componentType":5126, - "count":256, - "type":"VEC3" - }, - { - "bufferView":71, - "componentType":5126, - "count":256, - "type":"VEC2" - }, - { - "bufferView":72, - "componentType":5126, - "count":4, - "max":[ - 0.0306729506701231, - -0.0011774655431509018, - 0.05746804550290108 - ], - "min":[ - -0.030777527019381523, - -0.0011774655431509018, - 0.011391546577215195 - ], - "type":"VEC3" - }, - { - "bufferView":73, - "componentType":5126, - "count":4, - "type":"VEC3" - }, - { - "bufferView":74, - "componentType":5126, - "count":4, - "type":"VEC2" - }, - { - "bufferView":75, - "componentType":5123, - "count":6, - "type":"SCALAR" - }, - { - "bufferView":76, - "componentType":5126, - "count":4, - "max":[ - 0.03025633469223976, - 0.05074005573987961, - -0.006819058675318956 - ], - "min":[ - -0.030150743201375008, - 0.01264470536261797, - -0.028855137526988983 - ], - "type":"VEC3" - }, - { - "bufferView":77, - "componentType":5126, - "count":4, - "type":"VEC3" - }, - { - "bufferView":78, - "componentType":5126, - "count":4, - "type":"VEC2" - } - ], - "bufferViews":[ - { - "buffer":0, - "byteLength":3072, - "byteOffset":0, - "target":34962 - }, - { - "buffer":0, - "byteLength":3072, - "byteOffset":3072, - "target":34962 - }, - { - "buffer":0, - "byteLength":2048, - "byteOffset":6144, - "target":34962 - }, - { - "buffer":0, - "byteLength":2664, - "byteOffset":8192, - "target":34963 - }, - { - "buffer":0, - "byteLength":3072, - "byteOffset":10856, - "target":34962 - }, - { - "buffer":0, - "byteLength":3072, - "byteOffset":13928, - "target":34962 - }, - { - "buffer":0, - "byteLength":2048, - "byteOffset":17000, - "target":34962 - }, - { - "buffer":0, - "byteLength":182760, - "byteOffset":19048, - "target":34962 - }, - { - "buffer":0, - "byteLength":182760, - "byteOffset":201808, - "target":34962 - }, - { - "buffer":0, - "byteLength":121840, - "byteOffset":384568, - "target":34962 - }, - { - "buffer":0, - "byteLength":121840, - "byteOffset":506408, - "target":34962 - }, - { - "buffer":0, - "byteLength":121840, - "byteOffset":628248, - "target":34962 - }, - { - "buffer":0, - "byteLength":121840, - "byteOffset":750088, - "target":34962 - }, - { - "buffer":0, - "byteLength":121840, - "byteOffset":871928, - "target":34962 - }, - { - "buffer":0, - "byteLength":138864, - "byteOffset":993768, - "target":34963 - }, - { - "buffer":0, - "byteLength":2256, - "byteOffset":1132632, - "target":34962 - }, - { - "buffer":0, - "byteLength":2256, - "byteOffset":1134888, - "target":34962 - }, - { - "buffer":0, - "byteLength":1504, - "byteOffset":1137144, - "target":34962 - }, - { - "buffer":0, - "byteLength":1800, - "byteOffset":1138648, - "target":34963 - }, - { - "buffer":0, - "byteLength":15180, - "byteOffset":1140448, - "target":34962 - }, - { - "buffer":0, - "byteLength":15180, - "byteOffset":1155628, - "target":34962 - }, - { - "buffer":0, - "byteLength":10120, - "byteOffset":1170808, - "target":34962 - }, - { - "buffer":0, - "byteLength":10120, - "byteOffset":1180928, - "target":34962 - }, - { - "buffer":0, - "byteLength":10120, - "byteOffset":1191048, - "target":34962 - }, - { - "buffer":0, - "byteLength":10120, - "byteOffset":1201168, - "target":34962 - }, - { - "buffer":0, - "byteLength":12480, - "byteOffset":1211288, - "target":34963 - }, - { - "buffer":0, - "byteLength":12012, - "byteOffset":1223768, - "target":34962 - }, - { - "buffer":0, - "byteLength":12012, - "byteOffset":1235780, - "target":34962 - }, - { - "buffer":0, - "byteLength":8008, - "byteOffset":1247792, - "target":34962 - }, - { - "buffer":0, - "byteLength":8160, - "byteOffset":1255800, - "target":34963 - }, - { - "buffer":0, - "byteLength":8832, - "byteOffset":1263960, - "target":34962 - }, - { - "buffer":0, - "byteLength":8832, - "byteOffset":1272792, - "target":34962 - }, - { - "buffer":0, - "byteLength":5888, - "byteOffset":1281624, - "target":34962 - }, - { - "buffer":0, - "byteLength":8808, - "byteOffset":1287512, - "target":34963 - }, - { - "buffer":0, - "byteLength":3072, - "byteOffset":1296320, - "target":34962 - }, - { - "buffer":0, - "byteLength":3072, - "byteOffset":1299392, - "target":34962 - }, - { - "buffer":0, - "byteLength":2048, - "byteOffset":1302464, - "target":34962 - }, - { - "buffer":0, - "byteLength":22704, - "byteOffset":1304512, - "target":34962 - }, - { - "buffer":0, - "byteLength":22704, - "byteOffset":1327216, - "target":34962 - }, - { - "buffer":0, - "byteLength":15136, - "byteOffset":1349920, - "target":34962 - }, - { - "buffer":0, - "byteLength":15136, - "byteOffset":1365056, - "target":34962 - }, - { - "buffer":0, - "byteLength":15136, - "byteOffset":1380192, - "target":34962 - }, - { - "buffer":0, - "byteLength":15136, - "byteOffset":1395328, - "target":34962 - }, - { - "buffer":0, - "byteLength":15136, - "byteOffset":1410464, - "target":34962 - }, - { - "buffer":0, - "byteLength":18552, - "byteOffset":1425600, - "target":34963 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":1444152, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":1444824, - "target":34962 - }, - { - "buffer":0, - "byteLength":448, - "byteOffset":1445496, - "target":34962 - }, - { - "buffer":0, - "byteLength":448, - "byteOffset":1445944, - "target":34962 - }, - { - "buffer":0, - "byteLength":228, - "byteOffset":1446392, - "target":34963 - }, - { - "buffer":0, - "byteLength":660, - "byteOffset":1446620, - "target":34962 - }, - { - "buffer":0, - "byteLength":660, - "byteOffset":1447280, - "target":34962 - }, - { - "buffer":0, - "byteLength":440, - "byteOffset":1447940, - "target":34962 - }, - { - "buffer":0, - "byteLength":440, - "byteOffset":1448380, - "target":34962 - }, - { - "buffer":0, - "byteLength":228, - "byteOffset":1448820, - "target":34963 - }, - { - "buffer":0, - "byteLength":3072, - "byteOffset":1449048, - "target":34962 - }, - { - "buffer":0, - "byteLength":3072, - "byteOffset":1452120, - "target":34962 - }, - { - "buffer":0, - "byteLength":2048, - "byteOffset":1455192, - "target":34962 - }, - { - "buffer":0, - "byteLength":136572, - "byteOffset":1457240, - "target":34962 - }, - { - "buffer":0, - "byteLength":136572, - "byteOffset":1593812, - "target":34962 - }, - { - "buffer":0, - "byteLength":91048, - "byteOffset":1730384, - "target":34962 - }, - { - "buffer":0, - "byteLength":91048, - "byteOffset":1821432, - "target":34962 - }, - { - "buffer":0, - "byteLength":91048, - "byteOffset":1912480, - "target":34962 - }, - { - "buffer":0, - "byteLength":91048, - "byteOffset":2003528, - "target":34962 - }, - { - "buffer":0, - "byteLength":91048, - "byteOffset":2094576, - "target":34962 - }, - { - "buffer":0, - "byteLength":89058, - "byteOffset":2185624, - "target":34963 - }, - { - "buffer":0, - "byteLength":3072, - "byteOffset":2274684, - "target":34962 - }, - { - "buffer":0, - "byteLength":3072, - "byteOffset":2277756, - "target":34962 - }, - { - "buffer":0, - "byteLength":2048, - "byteOffset":2280828, - "target":34962 - }, - { - "buffer":0, - "byteLength":3072, - "byteOffset":2282876, - "target":34962 - }, - { - "buffer":0, - "byteLength":3072, - "byteOffset":2285948, - "target":34962 - }, - { - "buffer":0, - "byteLength":2048, - "byteOffset":2289020, - "target":34962 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":2291068, - "target":34962 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":2291116, - "target":34962 - }, - { - "buffer":0, - "byteLength":32, - "byteOffset":2291164, - "target":34962 - }, - { - "buffer":0, - "byteLength":12, - "byteOffset":2291196, - "target":34963 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":2291208, - "target":34962 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":2291256, - "target":34962 - }, - { - "buffer":0, - "byteLength":32, - "byteOffset":2291304, - "target":34962 - } - ], - "samplers":[ - { - "magFilter":9729, - "minFilter":9987 - } - ], - "buffers":[ - { - "byteLength":2291336, - "uri":"model.bin" - } - ] -} diff --git a/public/nds/models/nitendo-ds/screen_down.002_baseColor.png b/public/nds/models/nitendo-ds/screen_down.002_baseColor.png deleted file mode 100644 index bf99b0b..0000000 Binary files a/public/nds/models/nitendo-ds/screen_down.002_baseColor.png and /dev/null differ diff --git a/public/nds/models/nitendo-ds/screen_down.002_metallicRoughness.png b/public/nds/models/nitendo-ds/screen_down.002_metallicRoughness.png deleted file mode 100644 index 3aab83c..0000000 Binary files a/public/nds/models/nitendo-ds/screen_down.002_metallicRoughness.png and /dev/null differ diff --git a/public/nds/models/nitendo-ds/screen_down.002_normal.png b/public/nds/models/nitendo-ds/screen_down.002_normal.png deleted file mode 100644 index afff3ee..0000000 Binary files a/public/nds/models/nitendo-ds/screen_down.002_normal.png and /dev/null differ diff --git a/public/nds/models/nitendo-ds/screen_up.002_baseColor.png b/public/nds/models/nitendo-ds/screen_up.002_baseColor.png deleted file mode 100644 index bf99b0b..0000000 Binary files a/public/nds/models/nitendo-ds/screen_up.002_baseColor.png and /dev/null differ diff --git a/public/nds/models/nitendo-ds/screen_up.002_metallicRoughness.png b/public/nds/models/nitendo-ds/screen_up.002_metallicRoughness.png deleted file mode 100644 index c112f9c..0000000 Binary files a/public/nds/models/nitendo-ds/screen_up.002_metallicRoughness.png and /dev/null differ diff --git a/public/nds/models/nitendo-ds/screen_up.002_normal.png b/public/nds/models/nitendo-ds/screen_up.002_normal.png deleted file mode 100644 index a256089..0000000 Binary files a/public/nds/models/nitendo-ds/screen_up.002_normal.png and /dev/null differ diff --git a/public/nds/models/nitendo-ds/top.002_baseColor.png b/public/nds/models/nitendo-ds/top.002_baseColor.png deleted file mode 100644 index 3bce53e..0000000 Binary files a/public/nds/models/nitendo-ds/top.002_baseColor.png and /dev/null differ diff --git a/public/nds/models/nitendo-ds/top.002_metallicRoughness.png b/public/nds/models/nitendo-ds/top.002_metallicRoughness.png deleted file mode 100644 index 9955471..0000000 Binary files a/public/nds/models/nitendo-ds/top.002_metallicRoughness.png and /dev/null differ diff --git a/public/nds/models/nitendo-ds/top.002_normal.png b/public/nds/models/nitendo-ds/top.002_normal.png deleted file mode 100644 index d3610bf..0000000 Binary files a/public/nds/models/nitendo-ds/top.002_normal.png and /dev/null differ