diff --git a/public/static/meshes/quiz/moss-d.ktx2 b/public/static/meshes/quiz/moss-d.ktx2 new file mode 100644 index 0000000..7971f27 Binary files /dev/null and b/public/static/meshes/quiz/moss-d.ktx2 differ diff --git a/public/static/meshes/quiz/moss-n.ktx2 b/public/static/meshes/quiz/moss-n.ktx2 new file mode 100644 index 0000000..fc4e3f9 Binary files /dev/null and b/public/static/meshes/quiz/moss-n.ktx2 differ diff --git a/public/static/meshes/quiz/paving-n.ktx2 b/public/static/meshes/quiz/paving-n.ktx2 index d3e55a2..aa67f69 100644 Binary files a/public/static/meshes/quiz/paving-n.ktx2 and b/public/static/meshes/quiz/paving-n.ktx2 differ diff --git a/public/static/meshes/quiz/quiz-s2.bin b/public/static/meshes/quiz/quiz-s2.bin index 2665340..d89edf0 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 fee9286..b9d60b8 100644 --- a/public/static/meshes/quiz/quiz-s2.gltf +++ b/public/static/meshes/quiz/quiz-s2.gltf @@ -4,16 +4,36 @@ "version":"2.0" }, "extensionsUsed":[ - "KHR_draco_mesh_compression", - "EXT_texture_webp" + "KHR_texture_basisu" ], "extensionsRequired":[ - "KHR_draco_mesh_compression", - "EXT_texture_webp" + "KHR_texture_basisu" ], "scene":0, "scenes":[ { + "extras":{ + "KTX2ExportProperties":{ + "enabled":1, + "basecolor":{ + "basisu":{ + "etc1s":{} + }, + "astc":{} + }, + "normal":{ + "basisu":{ + "uastc":{} + }, + "astc":{}, + "downsample_factor":2 + }, + "orm":{}, + "other":{}, + "generate_mipmaps":1, + "create_fallback":0 + } + }, "name":"Scene", "nodes":[ 0, @@ -26,14 +46,23 @@ ], "nodes":[ { + "extras":{ + "io.maxDistance":45 + }, "mesh":0, "name":"floor" }, { + "extras":{ + "io.maxDistance":45 + }, "mesh":1, "name":"tunnel" }, { + "extras":{ + "io.maxDistance":45 + }, "mesh":2, "name":"door" }, @@ -42,6 +71,9 @@ "name":"surface" }, { + "extras":{ + "io.maxDistance":45 + }, "mesh":4, "name":"wall" } @@ -98,19 +130,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 } ] }, @@ -123,19 +144,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":{ @@ -143,19 +153,8 @@ "NORMAL":9, "TEXCOORD_0":10 }, - "extensions":{ - "KHR_draco_mesh_compression":{ - "bufferView":2, - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - } - } - }, "indices":3, - "material":2, - "mode":4 + "material":2 }, { "attributes":{ @@ -163,19 +162,8 @@ "NORMAL":12, "TEXCOORD_0":13 }, - "extensions":{ - "KHR_draco_mesh_compression":{ - "bufferView":3, - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - } - } - }, "indices":14, - "material":0, - "mode":4 + "material":0 } ] }, @@ -188,19 +176,8 @@ "NORMAL":16, "TEXCOORD_0":17 }, - "extensions":{ - "KHR_draco_mesh_compression":{ - "bufferView":4, - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - } - } - }, "indices":3, - "material":2, - "mode":4 + "material":2 } ] }, @@ -213,19 +190,8 @@ "NORMAL":19, "TEXCOORD_0":20 }, - "extensions":{ - "KHR_draco_mesh_compression":{ - "bufferView":5, - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - } - } - }, "indices":3, - "material":1, - "mode":4 + "material":1 } ] }, @@ -238,19 +204,8 @@ "NORMAL":22, "TEXCOORD_0":23 }, - "extensions":{ - "KHR_draco_mesh_compression":{ - "bufferView":6, - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - } - } - }, "indices":24, - "material":1, - "mode":4 + "material":1 } ] } @@ -258,7 +213,7 @@ "textures":[ { "extensions":{ - "EXT_texture_webp":{ + "KHR_texture_basisu":{ "source":0 } }, @@ -266,7 +221,7 @@ }, { "extensions":{ - "EXT_texture_webp":{ + "KHR_texture_basisu":{ "source":1 } }, @@ -274,7 +229,7 @@ }, { "extensions":{ - "EXT_texture_webp":{ + "KHR_texture_basisu":{ "source":2 } }, @@ -282,7 +237,7 @@ }, { "extensions":{ - "EXT_texture_webp":{ + "KHR_texture_basisu":{ "source":3 } }, @@ -290,7 +245,7 @@ }, { "extensions":{ - "EXT_texture_webp":{ + "KHR_texture_basisu":{ "source":4 } }, @@ -299,33 +254,34 @@ ], "images":[ { - "mimeType":"image/webp", + "mimeType":"image/ktx2", "name":"paving-n", - "uri":"paving-n.webp" + "uri":"paving-n.ktx2" }, { - "mimeType":"image/webp", + "mimeType":"image/ktx2", "name":"paving-d", - "uri":"paving-d.webp" + "uri":"paving-d.ktx2" }, { - "mimeType":"image/webp", + "mimeType":"image/ktx2", "name":"moss-n", - "uri":"moss-n.webp" + "uri":"moss-n.ktx2" }, { - "mimeType":"image/webp", + "mimeType":"image/ktx2", "name":"moss-d", - "uri":"moss-d.webp" + "uri":"moss-d.ktx2" }, { - "mimeType":"image/webp", + "mimeType":"image/ktx2", "name":"arrow", - "uri":"arrow.webp" + "uri":"arrow.ktx2" } ], "accessors":[ { + "bufferView":0, "componentType":5126, "count":4, "max":[ @@ -341,21 +297,25 @@ "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":[ @@ -371,21 +331,25 @@ "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":[ @@ -401,16 +365,19 @@ "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":[ @@ -426,21 +393,25 @@ "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":[ @@ -456,16 +427,19 @@ "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":[ @@ -481,16 +455,19 @@ "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":[ @@ -506,16 +483,19 @@ "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" @@ -524,38 +504,153 @@ "bufferViews":[ { "buffer":0, - "byteLength":172, - "byteOffset":0 + "byteLength":48, + "byteOffset":0, + "target":34962 }, { "buffer":0, - "byteLength":338, - "byteOffset":172 + "byteLength":48, + "byteOffset":48, + "target":34962 }, { "buffer":0, - "byteLength":166, - "byteOffset":512 + "byteLength":32, + "byteOffset":96, + "target":34962 }, { "buffer":0, - "byteLength":180, - "byteOffset":680 + "byteLength":12, + "byteOffset":128, + "target":34963 }, { "buffer":0, - "byteLength":166, - "byteOffset":860 + "byteLength":288, + "byteOffset":140, + "target":34962 }, { "buffer":0, - "byteLength":166, - "byteOffset":1028 + "byteLength":288, + "byteOffset":428, + "target":34962 }, { "buffer":0, - "byteLength":265, - "byteOffset":1196 + "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 } ], "samplers":[ @@ -566,7 +661,7 @@ ], "buffers":[ { - "byteLength":1464, + "byteLength":2180, "uri":"quiz-s2.bin" } ]