diff --git a/public/static/meshes/quiz/T_Grass_Base_N.jpg b/public/static/meshes/quiz/T_Grass_Base_N.jpg deleted file mode 100644 index 3bf9584..0000000 Binary files a/public/static/meshes/quiz/T_Grass_Base_N.jpg and /dev/null differ diff --git a/public/static/meshes/quiz/T_Grass_Base_N.webp b/public/static/meshes/quiz/T_Grass_Base_N.webp new file mode 100644 index 0000000..c6ff337 Binary files /dev/null and b/public/static/meshes/quiz/T_Grass_Base_N.webp differ diff --git a/public/static/meshes/quiz/T_Grass_Reeds_N.jpg b/public/static/meshes/quiz/T_Grass_Reeds_N.jpg deleted file mode 100644 index 5c2f649..0000000 Binary files a/public/static/meshes/quiz/T_Grass_Reeds_N.jpg and /dev/null differ diff --git a/public/static/meshes/quiz/T_Grass_Reeds_N.webp b/public/static/meshes/quiz/T_Grass_Reeds_N.webp new file mode 100644 index 0000000..c31c03b Binary files /dev/null and b/public/static/meshes/quiz/T_Grass_Reeds_N.webp differ diff --git a/public/static/meshes/quiz/arrow.png b/public/static/meshes/quiz/arrow.png deleted file mode 100644 index 458d5ef..0000000 Binary files a/public/static/meshes/quiz/arrow.png and /dev/null differ diff --git a/public/static/meshes/quiz/arrow.webp b/public/static/meshes/quiz/arrow.webp new file mode 100644 index 0000000..1c1db8d Binary files /dev/null and b/public/static/meshes/quiz/arrow.webp differ diff --git a/public/static/meshes/quiz/bricks-d.webp b/public/static/meshes/quiz/bricks-d.webp new file mode 100644 index 0000000..6dcd139 Binary files /dev/null and b/public/static/meshes/quiz/bricks-d.webp differ diff --git a/public/static/meshes/quiz/bricks-n.webp b/public/static/meshes/quiz/bricks-n.webp new file mode 100644 index 0000000..aaa6e7e Binary files /dev/null and b/public/static/meshes/quiz/bricks-n.webp differ diff --git a/public/static/meshes/quiz/grass-d.jpg b/public/static/meshes/quiz/grass-d.jpg deleted file mode 100644 index ff69ce1..0000000 Binary files a/public/static/meshes/quiz/grass-d.jpg and /dev/null differ diff --git a/public/static/meshes/quiz/grass-d.webp b/public/static/meshes/quiz/grass-d.webp new file mode 100644 index 0000000..50c757b Binary files /dev/null and b/public/static/meshes/quiz/grass-d.webp differ diff --git a/public/static/meshes/quiz/grass-n.jpg b/public/static/meshes/quiz/grass-n.jpg deleted file mode 100644 index e134178..0000000 Binary files a/public/static/meshes/quiz/grass-n.jpg and /dev/null differ diff --git a/public/static/meshes/quiz/grass-n.webp b/public/static/meshes/quiz/grass-n.webp new file mode 100644 index 0000000..816c19f Binary files /dev/null and b/public/static/meshes/quiz/grass-n.webp differ diff --git a/public/static/meshes/quiz/moss-d.webp b/public/static/meshes/quiz/moss-d.webp new file mode 100644 index 0000000..66f58a0 Binary files /dev/null and b/public/static/meshes/quiz/moss-d.webp differ diff --git a/public/static/meshes/quiz/moss-n.webp b/public/static/meshes/quiz/moss-n.webp new file mode 100644 index 0000000..8f21703 Binary files /dev/null and b/public/static/meshes/quiz/moss-n.webp differ diff --git a/public/static/meshes/quiz/paving-d.jpg b/public/static/meshes/quiz/paving-d.jpg deleted file mode 100644 index 806dae3..0000000 Binary files a/public/static/meshes/quiz/paving-d.jpg and /dev/null differ diff --git a/public/static/meshes/quiz/paving-d.webp b/public/static/meshes/quiz/paving-d.webp new file mode 100644 index 0000000..b385e56 Binary files /dev/null and b/public/static/meshes/quiz/paving-d.webp differ diff --git a/public/static/meshes/quiz/paving-n.jpg b/public/static/meshes/quiz/paving-n.jpg deleted file mode 100644 index abce80d..0000000 Binary files a/public/static/meshes/quiz/paving-n.jpg and /dev/null differ diff --git a/public/static/meshes/quiz/paving-n.webp b/public/static/meshes/quiz/paving-n.webp new file mode 100644 index 0000000..b1672d8 Binary files /dev/null and b/public/static/meshes/quiz/paving-n.webp differ diff --git a/public/static/meshes/quiz/quiz-fortress.bin b/public/static/meshes/quiz/quiz-fortress.bin new file mode 100644 index 0000000..606049c Binary files /dev/null and b/public/static/meshes/quiz/quiz-fortress.bin differ diff --git a/public/static/meshes/quiz/quiz-fortress.gltf b/public/static/meshes/quiz/quiz-fortress.gltf new file mode 100644 index 0000000..a0cf704 --- /dev/null +++ b/public/static/meshes/quiz/quiz-fortress.gltf @@ -0,0 +1,613 @@ +{ + "asset":{ + "generator":"Khronos glTF Blender I/O v4.4.55", + "version":"2.0" + }, + "extensionsUsed":[ + "KHR_draco_mesh_compression", + "EXT_texture_webp" + ], + "extensionsRequired":[ + "KHR_draco_mesh_compression", + "EXT_texture_webp" + ], + "scene":0, + "scenes":[ + { + "name":"Scene", + "nodes":[ + 0, + 1, + 2, + 3, + 4 + ] + } + ], + "nodes":[ + { + "mesh":0, + "name":"floor" + }, + { + "mesh":1, + "name":"tunnel" + }, + { + "mesh":2, + "name":"door" + }, + { + "mesh":3, + "name":"surface" + }, + { + "mesh":4, + "name":"wall" + } + ], + "materials":[ + { + "doubleSided":true, + "name":"floor", + "normalTexture":{ + "index":0 + }, + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":1 + }, + "metallicFactor":0, + "roughnessFactor":0.5 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"arrow", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":2 + }, + "metallicFactor":0, + "roughnessFactor":0.5 + } + }, + { + "doubleSided":true, + "name":"stone", + "normalTexture":{ + "index":3 + }, + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":4 + }, + "metallicFactor":0, + "roughnessFactor":0.5 + } + }, + { + "doubleSided":true, + "name":"grass", + "normalTexture":{ + "index":5 + }, + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":6 + }, + "metallicFactor":0, + "roughnessFactor":0.5 + } + } + ], + "meshes":[ + { + "name":"Plane.003", + "primitives":[ + { + "attributes":{ + "POSITION":0, + "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 + } + ] + }, + { + "name":"Sphere.001", + "primitives":[ + { + "attributes":{ + "POSITION":4, + "NORMAL":5, + "TEXCOORD_0":6 + }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":1, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, + "indices":3, + "material":1, + "mode":4 + }, + { + "attributes":{ + "POSITION":7, + "NORMAL":8, + "TEXCOORD_0":9 + }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":2, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, + "indices":10, + "material":0, + "mode":4 + }, + { + "attributes":{ + "POSITION":11, + "NORMAL":12, + "TEXCOORD_0":13 + }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":3, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, + "indices":14, + "material":2, + "mode":4 + } + ] + }, + { + "name":"Sphere.002", + "primitives":[ + { + "attributes":{ + "POSITION":15, + "NORMAL":16, + "TEXCOORD_0":17 + }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":4, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, + "indices":3, + "material":1, + "mode":4 + } + ] + }, + { + "name":"Plane.002", + "primitives":[ + { + "attributes":{ + "POSITION":18, + "NORMAL":19, + "TEXCOORD_0":20 + }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":5, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, + "indices":3, + "material":3, + "mode":4 + } + ] + }, + { + "name":"Plane.019", + "primitives":[ + { + "attributes":{ + "POSITION":21, + "NORMAL":22, + "TEXCOORD_0":23 + }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":6, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, + "indices":24, + "material":2, + "mode":4 + } + ] + } + ], + "textures":[ + { + "extensions":{ + "EXT_texture_webp":{ + "source":0 + } + }, + "sampler":0 + }, + { + "extensions":{ + "EXT_texture_webp":{ + "source":1 + } + }, + "sampler":0 + }, + { + "extensions":{ + "EXT_texture_webp":{ + "source":2 + } + }, + "sampler":0 + }, + { + "extensions":{ + "EXT_texture_webp":{ + "source":3 + } + }, + "sampler":0 + }, + { + "extensions":{ + "EXT_texture_webp":{ + "source":4 + } + }, + "sampler":0 + }, + { + "extensions":{ + "EXT_texture_webp":{ + "source":5 + } + }, + "sampler":0 + }, + { + "extensions":{ + "EXT_texture_webp":{ + "source":6 + } + }, + "sampler":0 + } + ], + "images":[ + { + "mimeType":"image/webp", + "name":"paving-n", + "uri":"paving-n.webp" + }, + { + "mimeType":"image/webp", + "name":"paving-d", + "uri":"paving-d.webp" + }, + { + "mimeType":"image/webp", + "name":"arrow", + "uri":"arrow.webp" + }, + { + "mimeType":"image/webp", + "name":"bricks-n", + "uri":"bricks-n.webp" + }, + { + "mimeType":"image/webp", + "name":"bricks-d", + "uri":"bricks-d.webp" + }, + { + "mimeType":"image/webp", + "name":"grass-n", + "uri":"grass-n.webp" + }, + { + "mimeType":"image/webp", + "name":"grass-d", + "uri":"grass-d.webp" + } + ], + "accessors":[ + { + "componentType":5126, + "count":4, + "max":[ + 0.6000000238418579, + 0, + 0.6000000238418579 + ], + "min":[ + -0.6000000238418579, + 0, + -0.6000000238418579 + ], + "type":"VEC3" + }, + { + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "componentType":5123, + "count":6, + "type":"SCALAR" + }, + { + "componentType":5126, + "count":4, + "max":[ + 0.12514901161193848, + 0.014072217047214508, + 0.7251490354537964 + ], + "min":[ + -0.12514901161193848, + 0.014072217047214508, + 0.47485098242759705 + ], + "type":"VEC3" + }, + { + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "componentType":5126, + "count":5, + "max":[ + 0.6000000238418579, + 0, + 1.2000000476837158 + ], + "min":[ + -0.6000000238418579, + 0, + -0.0010911524295806885 + ], + "type":"VEC3" + }, + { + "componentType":5126, + "count":5, + "type":"VEC3" + }, + { + "componentType":5126, + "count":5, + "type":"VEC2" + }, + { + "componentType":5123, + "count":9, + "type":"SCALAR" + }, + { + "componentType":5126, + "count":124, + "max":[ + 0.8999999761581421, + 0.6101000308990479, + 1.2000000476837158 + ], + "min":[ + -0.9016364812850952, + -3, + -0.001091092824935913 + ], + "type":"VEC3" + }, + { + "componentType":5126, + "count":124, + "type":"VEC3" + }, + { + "componentType":5126, + "count":124, + "type":"VEC2" + }, + { + "componentType":5123, + "count":204, + "type":"SCALAR" + }, + { + "componentType":5126, + "count":4, + "max":[ + 0.12281588464975357, + 0.02271566540002823, + 0.12903428077697754 + ], + "min":[ + -0.12748214602470398, + 0.02271566540002823, + -0.1212637722492218 + ], + "type":"VEC3" + }, + { + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "componentType":5126, + "count":4, + "max":[ + 0.6000000238418579, + -3, + 0.6000000238418579 + ], + "min":[ + -0.6000000238418579, + -3, + -0.6000000238418579 + ], + "type":"VEC3" + }, + { + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "componentType":5126, + "count":12, + "max":[ + 0.9099999070167542, + 0.3099999725818634, + 0.31000006198883057 + ], + "min":[ + -0.9099999070167542, + -3, + -1.043081283569336e-07 + ], + "type":"VEC3" + }, + { + "componentType":5126, + "count":12, + "type":"VEC3" + }, + { + "componentType":5126, + "count":12, + "type":"VEC2" + }, + { + "componentType":5123, + "count":18, + "type":"SCALAR" + } + ], + "bufferViews":[ + { + "buffer":0, + "byteLength":166, + "byteOffset":0 + }, + { + "buffer":0, + "byteLength":166, + "byteOffset":168 + }, + { + "buffer":0, + "byteLength":188, + "byteOffset":336 + }, + { + "buffer":0, + "byteLength":948, + "byteOffset":524 + }, + { + "buffer":0, + "byteLength":166, + "byteOffset":1472 + }, + { + "buffer":0, + "byteLength":166, + "byteOffset":1640 + }, + { + "buffer":0, + "byteLength":265, + "byteOffset":1808 + } + ], + "samplers":[ + { + "magFilter":9729, + "minFilter":9987 + } + ], + "buffers":[ + { + "byteLength":2076, + "uri":"quiz-fortress.bin" + } + ] +} diff --git a/public/static/meshes/quiz/quiz-s2.bin b/public/static/meshes/quiz/quiz-s2.bin index 1f94984..e28b503 100644 Binary files a/public/static/meshes/quiz/quiz-s2.bin and b/public/static/meshes/quiz/quiz-s2.bin differ diff --git a/public/static/meshes/quiz/quiz-s2.gltf b/public/static/meshes/quiz/quiz-s2.gltf index 806b4f2..5e637b7 100644 --- a/public/static/meshes/quiz/quiz-s2.gltf +++ b/public/static/meshes/quiz/quiz-s2.gltf @@ -3,6 +3,14 @@ "generator":"Khronos glTF Blender I/O v4.4.55", "version":"2.0" }, + "extensionsUsed":[ + "KHR_draco_mesh_compression", + "EXT_texture_webp" + ], + "extensionsRequired":[ + "KHR_draco_mesh_compression", + "EXT_texture_webp" + ], "scene":0, "scenes":[ { @@ -54,8 +62,7 @@ } }, { - "doubleSided":true, - "name":"grass", + "name":"moss", "normalTexture":{ "index":2 }, @@ -90,8 +97,19 @@ "NORMAL":1, "TEXCOORD_0":2 }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":0, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, "indices":3, - "material":0 + "material":0, + "mode":4 } ] }, @@ -104,8 +122,19 @@ "NORMAL":5, "TEXCOORD_0":6 }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":1, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, "indices":7, - "material":1 + "material":1, + "mode":4 }, { "attributes":{ @@ -113,8 +142,19 @@ "NORMAL":9, "TEXCOORD_0":10 }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":2, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, "indices":3, - "material":2 + "material":2, + "mode":4 }, { "attributes":{ @@ -122,8 +162,19 @@ "NORMAL":12, "TEXCOORD_0":13 }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":3, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, "indices":14, - "material":0 + "material":0, + "mode":4 } ] }, @@ -136,8 +187,19 @@ "NORMAL":16, "TEXCOORD_0":17 }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":4, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, "indices":3, - "material":2 + "material":2, + "mode":4 } ] }, @@ -150,8 +212,19 @@ "NORMAL":19, "TEXCOORD_0":20 }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":5, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, "indices":3, - "material":1 + "material":1, + "mode":4 } ] }, @@ -164,64 +237,94 @@ "NORMAL":22, "TEXCOORD_0":23 }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":6, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, "indices":24, - "material":1 + "material":1, + "mode":4 } ] } ], "textures":[ { - "sampler":0, - "source":0 + "extensions":{ + "EXT_texture_webp":{ + "source":0 + } + }, + "sampler":0 }, { - "sampler":0, - "source":1 + "extensions":{ + "EXT_texture_webp":{ + "source":1 + } + }, + "sampler":0 }, { - "sampler":0, - "source":2 + "extensions":{ + "EXT_texture_webp":{ + "source":2 + } + }, + "sampler":0 }, { - "sampler":0, - "source":3 + "extensions":{ + "EXT_texture_webp":{ + "source":3 + } + }, + "sampler":0 }, { - "sampler":0, - "source":4 + "extensions":{ + "EXT_texture_webp":{ + "source":4 + } + }, + "sampler":0 } ], "images":[ { - "mimeType":"image/jpeg", + "mimeType":"image/webp", "name":"paving-n", - "uri":"paving-n.jpg" + "uri":"paving-n.webp" }, { - "mimeType":"image/jpeg", + "mimeType":"image/webp", "name":"paving-d", - "uri":"paving-d.jpg" + "uri":"paving-d.webp" }, { - "mimeType":"image/jpeg", - "name":"grass-n", - "uri":"grass-n.jpg" + "mimeType":"image/webp", + "name":"moss-n", + "uri":"moss-n.webp" }, { - "mimeType":"image/jpeg", - "name":"grass-d", - "uri":"grass-d.jpg" + "mimeType":"image/webp", + "name":"moss-d", + "uri":"moss-d.webp" }, { - "mimeType":"image/png", + "mimeType":"image/webp", "name":"arrow", - "uri":"arrow.png" + "uri":"arrow.webp" } ], "accessors":[ { - "bufferView":0, "componentType":5126, "count":4, "max":[ @@ -237,59 +340,51 @@ "type":"VEC3" }, { - "bufferView":1, "componentType":5126, "count":4, "type":"VEC3" }, { - "bufferView":2, "componentType":5126, "count":4, "type":"VEC2" }, { - "bufferView":3, "componentType":5123, "count":6, "type":"SCALAR" }, { - "bufferView":4, "componentType":5126, "count":24, "max":[ 0.8999999761581421, - 0.45000001788139343, + 0.45010000467300415, 1.2000000476837158 ], "min":[ -0.9000000953674316, 0, - 5.960464477539063e-08 + 0 ], "type":"VEC3" }, { - "bufferView":5, "componentType":5126, "count":24, "type":"VEC3" }, { - "bufferView":6, "componentType":5126, "count":24, "type":"VEC2" }, { - "bufferView":7, "componentType":5123, "count":36, "type":"SCALAR" }, { - "bufferView":8, "componentType":5126, "count":4, "max":[ @@ -305,19 +400,16 @@ "type":"VEC3" }, { - "bufferView":9, "componentType":5126, "count":4, "type":"VEC3" }, { - "bufferView":10, "componentType":5126, "count":4, "type":"VEC2" }, { - "bufferView":11, "componentType":5126, "count":5, "max":[ @@ -333,25 +425,21 @@ "type":"VEC3" }, { - "bufferView":12, "componentType":5126, "count":5, "type":"VEC3" }, { - "bufferView":13, "componentType":5126, "count":5, "type":"VEC2" }, { - "bufferView":14, "componentType":5123, "count":9, "type":"SCALAR" }, { - "bufferView":15, "componentType":5126, "count":4, "max":[ @@ -367,19 +455,16 @@ "type":"VEC3" }, { - "bufferView":16, "componentType":5126, "count":4, "type":"VEC3" }, { - "bufferView":17, "componentType":5126, "count":4, "type":"VEC2" }, { - "bufferView":18, "componentType":5126, "count":4, "max":[ @@ -395,19 +480,16 @@ "type":"VEC3" }, { - "bufferView":19, "componentType":5126, "count":4, "type":"VEC3" }, { - "bufferView":20, "componentType":5126, "count":4, "type":"VEC2" }, { - "bufferView":21, "componentType":5126, "count":18, "max":[ @@ -423,19 +505,16 @@ "type":"VEC3" }, { - "bufferView":22, "componentType":5126, "count":18, "type":"VEC3" }, { - "bufferView":23, "componentType":5126, "count":18, "type":"VEC2" }, { - "bufferView":24, "componentType":5123, "count":30, "type":"SCALAR" @@ -444,153 +523,38 @@ "bufferViews":[ { "buffer":0, - "byteLength":48, - "byteOffset":0, - "target":34962 + "byteLength":166, + "byteOffset":0 }, { "buffer":0, - "byteLength":48, - "byteOffset":48, - "target":34962 + "byteLength":338, + "byteOffset":168 }, { "buffer":0, - "byteLength":32, - "byteOffset":96, - "target":34962 + "byteLength":166, + "byteOffset":508 }, { "buffer":0, - "byteLength":12, - "byteOffset":128, - "target":34963 + "byteLength":180, + "byteOffset":676 }, { "buffer":0, - "byteLength":288, - "byteOffset":140, - "target":34962 + "byteLength":166, + "byteOffset":856 }, { "buffer":0, - "byteLength":288, - "byteOffset":428, - "target":34962 + "byteLength":166, + "byteOffset":1024 }, { "buffer":0, - "byteLength":192, - "byteOffset":716, - "target":34962 - }, - { - "buffer":0, - "byteLength":72, - "byteOffset":908, - "target":34963 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":980, - "target":34962 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":1028, - "target":34962 - }, - { - "buffer":0, - "byteLength":32, - "byteOffset":1076, - "target":34962 - }, - { - "buffer":0, - "byteLength":60, - "byteOffset":1108, - "target":34962 - }, - { - "buffer":0, - "byteLength":60, - "byteOffset":1168, - "target":34962 - }, - { - "buffer":0, - "byteLength":40, - "byteOffset":1228, - "target":34962 - }, - { - "buffer":0, - "byteLength":18, - "byteOffset":1268, - "target":34963 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":1288, - "target":34962 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":1336, - "target":34962 - }, - { - "buffer":0, - "byteLength":32, - "byteOffset":1384, - "target":34962 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":1416, - "target":34962 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":1464, - "target":34962 - }, - { - "buffer":0, - "byteLength":32, - "byteOffset":1512, - "target":34962 - }, - { - "buffer":0, - "byteLength":216, - "byteOffset":1544, - "target":34962 - }, - { - "buffer":0, - "byteLength":216, - "byteOffset":1760, - "target":34962 - }, - { - "buffer":0, - "byteLength":144, - "byteOffset":1976, - "target":34962 - }, - { - "buffer":0, - "byteLength":60, - "byteOffset":2120, - "target":34963 + "byteLength":267, + "byteOffset":1192 } ], "samplers":[ @@ -601,7 +565,7 @@ ], "buffers":[ { - "byteLength":2180, + "byteLength":1460, "uri":"quiz-s2.bin" } ] diff --git a/public/static/meshes/quiz/quiz.bin b/public/static/meshes/quiz/quiz.bin index b650170..c4795ec 100644 Binary files a/public/static/meshes/quiz/quiz.bin and b/public/static/meshes/quiz/quiz.bin differ diff --git a/public/static/meshes/quiz/quiz.gltf b/public/static/meshes/quiz/quiz.gltf index cedb1d7..d559cbf 100644 --- a/public/static/meshes/quiz/quiz.gltf +++ b/public/static/meshes/quiz/quiz.gltf @@ -4,10 +4,12 @@ "version":"2.0" }, "extensionsUsed":[ + "KHR_draco_mesh_compression", "KHR_materials_specular", "EXT_texture_webp" ], "extensionsRequired":[ + "KHR_draco_mesh_compression", "EXT_texture_webp" ], "scene":0, @@ -121,8 +123,19 @@ "NORMAL":1, "TEXCOORD_0":2 }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":0, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, "indices":3, - "material":0 + "material":0, + "mode":4 } ] }, @@ -135,8 +148,19 @@ "NORMAL":5, "TEXCOORD_0":6 }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":1, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, "indices":7, - "material":1 + "material":1, + "mode":4 }, { "attributes":{ @@ -144,8 +168,19 @@ "NORMAL":9, "TEXCOORD_0":10 }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":2, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, "indices":11, - "material":2 + "material":2, + "mode":4 } ] }, @@ -158,8 +193,19 @@ "NORMAL":13, "TEXCOORD_0":14 }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":3, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, "indices":11, - "material":2 + "material":2, + "mode":4 } ] }, @@ -172,8 +218,19 @@ "NORMAL":16, "TEXCOORD_0":17 }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":4, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, "indices":18, - "material":3 + "material":3, + "mode":4 } ] }, @@ -186,16 +243,31 @@ "NORMAL":20, "TEXCOORD_0":21 }, + "extensions":{ + "KHR_draco_mesh_compression":{ + "bufferView":5, + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + } + } + }, "indices":22, - "material":1 + "material":1, + "mode":4 } ] } ], "textures":[ { - "sampler":0, - "source":0 + "extensions":{ + "EXT_texture_webp":{ + "source":0 + } + }, + "sampler":0 }, { "extensions":{ @@ -206,8 +278,12 @@ "sampler":0 }, { - "sampler":0, - "source":2 + "extensions":{ + "EXT_texture_webp":{ + "source":2 + } + }, + "sampler":0 }, { "extensions":{ @@ -218,19 +294,27 @@ "sampler":0 }, { - "sampler":0, - "source":4 + "extensions":{ + "EXT_texture_webp":{ + "source":4 + } + }, + "sampler":0 }, { - "sampler":0, - "source":5 + "extensions":{ + "EXT_texture_webp":{ + "source":5 + } + }, + "sampler":0 } ], "images":[ { - "mimeType":"image/jpeg", + "mimeType":"image/webp", "name":"T_Grass_Base_N", - "uri":"T_Grass_Base_N.jpg" + "uri":"T_Grass_Base_N.webp" }, { "mimeType":"image/webp", @@ -238,9 +322,9 @@ "uri":"T_Grass_Base_D.webp" }, { - "mimeType":"image/jpeg", + "mimeType":"image/webp", "name":"T_Grass_Reeds_N", - "uri":"T_Grass_Reeds_N.jpg" + "uri":"T_Grass_Reeds_N.webp" }, { "mimeType":"image/webp", @@ -248,19 +332,18 @@ "uri":"T_Grass_Reeds_D.webp" }, { - "mimeType":"image/png", + "mimeType":"image/webp", "name":"arrow", - "uri":"arrow.png" + "uri":"arrow.webp" }, { - "mimeType":"image/jpeg", + "mimeType":"image/webp", "name":"waternormals", - "uri":"waternormals.jpg" + "uri":"waternormals.webp" } ], "accessors":[ { - "bufferView":0, "componentType":5126, "count":272, "max":[ @@ -276,25 +359,21 @@ "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":[ @@ -310,25 +389,21 @@ "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":[ @@ -344,25 +419,21 @@ "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":[ @@ -378,19 +449,16 @@ "type":"VEC3" }, { - "bufferView":13, "componentType":5126, "count":4, "type":"VEC3" }, { - "bufferView":14, "componentType":5126, "count":4, "type":"VEC2" }, { - "bufferView":15, "componentType":5126, "count":4, "max":[ @@ -406,25 +474,21 @@ "type":"VEC3" }, { - "bufferView":16, "componentType":5126, "count":4, "type":"VEC3" }, { - "bufferView":17, "componentType":5126, "count":4, "type":"VEC2" }, { - "bufferView":18, "componentType":5123, "count":6, "type":"SCALAR" }, { - "bufferView":19, "componentType":5126, "count":36, "max":[ @@ -440,19 +504,16 @@ "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" @@ -461,141 +522,33 @@ "bufferViews":[ { "buffer":0, - "byteLength":3264, - "byteOffset":0, - "target":34962 + "byteLength":2376, + "byteOffset":0 }, { "buffer":0, - "byteLength":3264, - "byteOffset":3264, - "target":34962 + "byteLength":3883, + "byteOffset":2376 }, { "buffer":0, - "byteLength":2176, - "byteOffset":6528, - "target":34962 + "byteLength":166, + "byteOffset":6260 }, { "buffer":0, - "byteLength":576, - "byteOffset":8704, - "target":34963 + "byteLength":166, + "byteOffset":6428 }, { "buffer":0, - "byteLength":4416, - "byteOffset":9280, - "target":34962 + "byteLength":167, + "byteOffset":6596 }, { "buffer":0, - "byteLength":4416, - "byteOffset":13696, - "target":34962 - }, - { - "buffer":0, - "byteLength":2944, - "byteOffset":18112, - "target":34962 - }, - { - "buffer":0, - "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":48, - "byteOffset":23304, - "target":34962 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":23352, - "target":34962 - }, - { - "buffer":0, - "byteLength":32, - "byteOffset":23400, - "target":34962 - }, - { - "buffer":0, - "byteLength":12, - "byteOffset":23432, - "target":34963 - }, - { - "buffer":0, - "byteLength":432, - "byteOffset":23444, - "target":34962 - }, - { - "buffer":0, - "byteLength":432, - "byteOffset":23876, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":24308, - "target":34962 - }, - { - "buffer":0, - "byteLength":108, - "byteOffset":24596, - "target":34963 + "byteLength":561, + "byteOffset":6764 } ], "samplers":[ @@ -606,7 +559,7 @@ ], "buffers":[ { - "byteLength":24704, + "byteLength":7328, "uri":"quiz.bin" } ] diff --git a/public/static/meshes/quiz/waternormals.jpg b/public/static/meshes/quiz/waternormals.jpg deleted file mode 100644 index 40226fb..0000000 Binary files a/public/static/meshes/quiz/waternormals.jpg and /dev/null differ diff --git a/public/static/meshes/quiz/waternormals.webp b/public/static/meshes/quiz/waternormals.webp new file mode 100644 index 0000000..4d4ffca Binary files /dev/null and b/public/static/meshes/quiz/waternormals.webp differ