diff --git a/public/static/meshes/T_Grass_Base_D.webp b/public/static/meshes/T_Grass_Base_D.webp new file mode 100644 index 0000000..5bb0978 Binary files /dev/null and b/public/static/meshes/T_Grass_Base_D.webp differ diff --git a/public/static/meshes/T_Grass_Base_N.jpg b/public/static/meshes/T_Grass_Base_N.jpg new file mode 100644 index 0000000..3bf9584 Binary files /dev/null and b/public/static/meshes/T_Grass_Base_N.jpg differ diff --git a/public/static/meshes/T_Grass_Reeds_D.webp b/public/static/meshes/T_Grass_Reeds_D.webp new file mode 100644 index 0000000..5f2a79d Binary files /dev/null and b/public/static/meshes/T_Grass_Reeds_D.webp differ diff --git a/public/static/meshes/T_Grass_Reeds_N.jpg b/public/static/meshes/T_Grass_Reeds_N.jpg new file mode 100644 index 0000000..5c2f649 Binary files /dev/null and b/public/static/meshes/T_Grass_Reeds_N.jpg differ diff --git a/public/static/meshes/b1.png b/public/static/meshes/b1.png deleted file mode 100644 index 4f91411..0000000 Binary files a/public/static/meshes/b1.png and /dev/null differ diff --git a/public/static/meshes/quiz.bin b/public/static/meshes/quiz.bin index 3b7a171..185979f 100644 Binary files a/public/static/meshes/quiz.bin and b/public/static/meshes/quiz.bin differ diff --git a/public/static/meshes/quiz.gltf b/public/static/meshes/quiz.gltf index ab9847d..632c5fb 100644 --- a/public/static/meshes/quiz.gltf +++ b/public/static/meshes/quiz.gltf @@ -4,11 +4,11 @@ "version":"2.0" }, "extensionsUsed":[ - "KHR_draco_mesh_compression", - "KHR_materials_specular" + "KHR_materials_specular", + "EXT_texture_webp" ], "extensionsRequired":[ - "KHR_draco_mesh_compression" + "EXT_texture_webp" ], "scene":0, "scenes":[ @@ -115,17 +115,6 @@ "metallicFactor":0.9378530979156494, "roughnessFactor":0.02542373538017273 } - }, - { - "alphaMode":"BLEND", - "name":"Material", - "pbrMetallicRoughness":{ - "baseColorTexture":{ - "index":5 - }, - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } } ], "meshes":[ @@ -138,19 +127,8 @@ "NORMAL":1, "TEXCOORD_0":2 }, - "extensions":{ - "KHR_draco_mesh_compression":{ - "bufferView":0, - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - } - } - }, "indices":3, - "material":0, - "mode":4 + "material":0 } ] }, @@ -163,19 +141,8 @@ "NORMAL":5, "TEXCOORD_0":6 }, - "extensions":{ - "KHR_draco_mesh_compression":{ - "bufferView":1, - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - } - } - }, "indices":7, - "material":1, - "mode":4 + "material":1 }, { "attributes":{ @@ -183,19 +150,8 @@ "NORMAL":9, "TEXCOORD_0":10 }, - "extensions":{ - "KHR_draco_mesh_compression":{ - "bufferView":2, - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - } - } - }, "indices":11, - "material":2, - "mode":4 + "material":2 } ] }, @@ -208,19 +164,8 @@ "NORMAL":13, "TEXCOORD_0":14 }, - "extensions":{ - "KHR_draco_mesh_compression":{ - "bufferView":3, - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - } - } - }, "indices":11, - "material":2, - "mode":4 + "material":2 } ] }, @@ -233,19 +178,8 @@ "NORMAL":16, "TEXCOORD_0":17 }, - "extensions":{ - "KHR_draco_mesh_compression":{ - "bufferView":4, - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - } - } - }, "indices":18, - "material":3, - "mode":4 + "material":3 } ] }, @@ -258,19 +192,8 @@ "NORMAL":20, "TEXCOORD_0":21 }, - "extensions":{ - "KHR_draco_mesh_compression":{ - "bufferView":5, - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - } - } - }, "indices":22, - "material":1, - "mode":4 + "material":1 } ] }, @@ -283,39 +206,8 @@ "NORMAL":24, "TEXCOORD_0":25 }, - "extensions":{ - "KHR_draco_mesh_compression":{ - "bufferView":6, - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - } - } - }, "indices":26, - "material":4, - "mode":4 - }, - { - "attributes":{ - "POSITION":27, - "NORMAL":28, - "TEXCOORD_0":29 - }, - "extensions":{ - "KHR_draco_mesh_compression":{ - "bufferView":7, - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - } - } - }, - "indices":11, - "material":3, - "mode":4 + "material":1 } ] } @@ -326,24 +218,28 @@ "source":0 }, { - "sampler":0, - "source":1 + "extensions":{ + "EXT_texture_webp":{ + "source":1 + } + }, + "sampler":0 }, { "sampler":0, "source":2 }, { - "sampler":0, - "source":3 + "extensions":{ + "EXT_texture_webp":{ + "source":3 + } + }, + "sampler":0 }, { "sampler":0, "source":4 - }, - { - "sampler":0, - "source":5 } ], "images":[ @@ -353,9 +249,9 @@ "uri":"T_Grass_Base_N.jpg" }, { - "mimeType":"image/png", - "name":"T_Grass_Base_D-T_Grass_Base_D.png", - "uri":"T_Grass_Base_D-T_Grass_Base_D_png.png" + "mimeType":"image/webp", + "name":"T_Grass_Base_D", + "uri":"T_Grass_Base_D.webp" }, { "mimeType":"image/jpeg", @@ -363,23 +259,19 @@ "uri":"T_Grass_Reeds_N.jpg" }, { - "mimeType":"image/png", - "name":"T_Grass_Reeds_D-T_Grass_Reeds_D.png", - "uri":"T_Grass_Reeds_D-T_Grass_Reeds_D_png.png" + "mimeType":"image/webp", + "name":"T_Grass_Reeds_D", + "uri":"T_Grass_Reeds_D.webp" }, { "mimeType":"image/png", "name":"arrow", "uri":"arrow.png" - }, - { - "mimeType":"image/png", - "name":"Image", - "uri":"Image.png" } ], "accessors":[ { + "bufferView":0, "componentType":5126, "count":272, "max":[ @@ -395,21 +287,25 @@ "type":"VEC3" }, { + "bufferView":1, "componentType":5126, "count":272, "type":"VEC3" }, { + "bufferView":2, "componentType":5126, "count":272, "type":"VEC2" }, { + "bufferView":3, "componentType":5123, "count":288, "type":"SCALAR" }, { + "bufferView":4, "componentType":5126, "count":368, "max":[ @@ -425,21 +321,25 @@ "type":"VEC3" }, { + "bufferView":5, "componentType":5126, "count":368, "type":"VEC3" }, { + "bufferView":6, "componentType":5126, "count":368, "type":"VEC2" }, { + "bufferView":7, "componentType":5123, "count":990, "type":"SCALAR" }, { + "bufferView":8, "componentType":5126, "count":4, "max":[ @@ -455,21 +355,25 @@ "type":"VEC3" }, { + "bufferView":9, "componentType":5126, "count":4, "type":"VEC3" }, { + "bufferView":10, "componentType":5126, "count":4, "type":"VEC2" }, { + "bufferView":11, "componentType":5123, "count":6, "type":"SCALAR" }, { + "bufferView":12, "componentType":5126, "count":4, "max":[ @@ -485,16 +389,19 @@ "type":"VEC3" }, { + "bufferView":13, "componentType":5126, "count":4, "type":"VEC3" }, { + "bufferView":14, "componentType":5126, "count":4, "type":"VEC2" }, { + "bufferView":15, "componentType":5126, "count":24, "max":[ @@ -510,21 +417,25 @@ "type":"VEC3" }, { + "bufferView":16, "componentType":5126, "count":24, "type":"VEC3" }, { + "bufferView":17, "componentType":5126, "count":24, "type":"VEC2" }, { + "bufferView":18, "componentType":5123, "count":36, "type":"SCALAR" }, { + "bufferView":19, "componentType":5126, "count":36, "max":[ @@ -540,23 +451,27 @@ "type":"VEC3" }, { + "bufferView":20, "componentType":5126, "count":36, "type":"VEC3" }, { + "bufferView":21, "componentType":5126, "count":36, "type":"VEC2" }, { + "bufferView":22, "componentType":5123, "count":54, "type":"SCALAR" }, { + "bufferView":23, "componentType":5126, - "count":8, + "count":12, "max":[ 0.6000000834465027, 0.8000000715255737, @@ -570,86 +485,186 @@ "type":"VEC3" }, { + "bufferView":24, "componentType":5126, - "count":8, - "type":"VEC3" - }, - { - "componentType":5126, - "count":8, - "type":"VEC2" - }, - { - "componentType":5123, "count":12, - "type":"SCALAR" - }, - { - "componentType":5126, - "count":4, - "max":[ - 0.6000000834465027, - 0, - 0.600000262260437 - ], - "min":[ - -0.6000000834465027, - 0, - -0.6000001430511475 - ], "type":"VEC3" }, { + "bufferView":25, "componentType":5126, - "count":4, - "type":"VEC3" - }, - { - "componentType":5126, - "count":4, + "count":12, "type":"VEC2" + }, + { + "bufferView":26, + "componentType":5123, + "count":18, + "type":"SCALAR" } ], "bufferViews":[ { "buffer":0, - "byteLength":2376, - "byteOffset":0 + "byteLength":3264, + "byteOffset":0, + "target":34962 }, { "buffer":0, - "byteLength":3883, - "byteOffset":2376 + "byteLength":3264, + "byteOffset":3264, + "target":34962 }, { "buffer":0, - "byteLength":166, - "byteOffset":6260 + "byteLength":2176, + "byteOffset":6528, + "target":34962 }, { "buffer":0, - "byteLength":166, - "byteOffset":6428 + "byteLength":576, + "byteOffset":8704, + "target":34963 }, { "buffer":0, - "byteLength":278, - "byteOffset":6596 + "byteLength":4416, + "byteOffset":9280, + "target":34962 }, { "buffer":0, - "byteLength":561, - "byteOffset":6876 + "byteLength":4416, + "byteOffset":13696, + "target":34962 }, { "buffer":0, - "byteLength":213, - "byteOffset":7440 + "byteLength":2944, + "byteOffset":18112, + "target":34962 }, { "buffer":0, - "byteLength":171, - "byteOffset":7656 + "byteLength":1980, + "byteOffset":21056, + "target":34963 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":23036, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":23084, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":23132, + "target":34962 + }, + { + "buffer":0, + "byteLength":12, + "byteOffset":23164, + "target":34963 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":23176, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":23224, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":23272, + "target":34962 + }, + { + "buffer":0, + "byteLength":288, + "byteOffset":23304, + "target":34962 + }, + { + "buffer":0, + "byteLength":288, + "byteOffset":23592, + "target":34962 + }, + { + "buffer":0, + "byteLength":192, + "byteOffset":23880, + "target":34962 + }, + { + "buffer":0, + "byteLength":72, + "byteOffset":24072, + "target":34963 + }, + { + "buffer":0, + "byteLength":432, + "byteOffset":24144, + "target":34962 + }, + { + "buffer":0, + "byteLength":432, + "byteOffset":24576, + "target":34962 + }, + { + "buffer":0, + "byteLength":288, + "byteOffset":25008, + "target":34962 + }, + { + "buffer":0, + "byteLength":108, + "byteOffset":25296, + "target":34963 + }, + { + "buffer":0, + "byteLength":144, + "byteOffset":25404, + "target":34962 + }, + { + "buffer":0, + "byteLength":144, + "byteOffset":25548, + "target":34962 + }, + { + "buffer":0, + "byteLength":96, + "byteOffset":25692, + "target":34962 + }, + { + "buffer":0, + "byteLength":36, + "byteOffset":25788, + "target":34963 } ], "samplers":[ @@ -660,7 +675,7 @@ ], "buffers":[ { - "byteLength":7828, + "byteLength":25824, "uri":"quiz.bin" } ]