diff --git a/public/static/fonts/Montserrat-Regular.ttf b/public/static/fonts/Montserrat-Regular.ttf new file mode 100644 index 0000000..895e220 Binary files /dev/null and b/public/static/fonts/Montserrat-Regular.ttf differ diff --git a/public/static/meshes/arrow.png b/public/static/meshes/arrow.png new file mode 100644 index 0000000..458d5ef Binary files /dev/null and b/public/static/meshes/arrow.png differ diff --git a/public/static/meshes/maze-reed.bin b/public/static/meshes/maze-reed.bin index 40dc4bd..ce73f21 100644 Binary files a/public/static/meshes/maze-reed.bin and b/public/static/meshes/maze-reed.bin differ diff --git a/public/static/meshes/maze-reed.gltf b/public/static/meshes/maze-reed.gltf index 1b41560..87638c1 100644 --- a/public/static/meshes/maze-reed.gltf +++ b/public/static/meshes/maze-reed.gltf @@ -3,6 +3,9 @@ "generator":"Khronos glTF Blender I/O v4.4.55", "version":"2.0" }, + "extensionsUsed":[ + "KHR_materials_specular" + ], "scene":0, "scenes":[ { @@ -11,7 +14,10 @@ 0, 1, 2, - 3 + 3, + 4, + 5, + 6 ] } ], @@ -19,37 +25,119 @@ { "mesh":0, "name":"floor", - "translation":[ - 2, + "rotation":[ 0, - -0.6499999761581421 + 0.08009588718414307, + 0, + 0.9967872500419617 + ], + "translation":[ + 0.03920316323637962, + 0.16448557376861572, + -0.05337028205394745 ] }, { "mesh":1, - "name":"wall" + "name":"tunnel" }, { "mesh":2, - "name":"door", - "translation":[ - 0, - 0, - -0.772255539894104 - ] + "name":"door" }, { "mesh":3, - "name":"tunnel" + "name":"old-floor" + }, + { + "mesh":4, + "name":"old-wall" + }, + { + "mesh":5, + "name":"wall" + }, + { + "mesh":6, + "name":"tunnel.001", + "translation":[ + 0, + 0, + 0.6000000238418579 + ] } ], "materials":[ { "alphaMode":"BLEND", - "name":"Material", + "doubleSided":true, + "extensions":{ + "KHR_materials_specular":{ + "specularFactor":0 + } + }, + "name":"GrassBase", + "normalTexture":{ + "index":0 + }, "pbrMetallicRoughness":{ "baseColorTexture":{ - "index":0 + "index":1 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Grass_Reeds", + "normalTexture":{ + "index":2 + }, + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":3 + }, + "metallicFactor":0, + "roughnessFactor":0.5 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"arrow", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":4 + }, + "metallicFactor":0, + "roughnessFactor":0.5 + } + }, + { + "doubleSided":true, + "name":"Material.001", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.800000011920929, + 0.800000011920929, + 0.800000011920929, + 1 + ], + "metallicFactor":0.9378530979156494, + "roughnessFactor":0.02542373538017273 + } + }, + { + "alphaMode":"BLEND", + "name":"Material", + "normalTexture":{ + "index":5, + "scale":2 + }, + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":6 }, "metallicFactor":0, "roughnessFactor":0.8999999761581421 @@ -58,7 +146,7 @@ ], "meshes":[ { - "name":"Cube.001", + "name":"Plane.003", "primitives":[ { "attributes":{ @@ -72,7 +160,7 @@ ] }, { - "name":"Curve.005", + "name":"Sphere.001", "primitives":[ { "attributes":{ @@ -81,13 +169,8 @@ "TEXCOORD_0":6 }, "indices":7, - "material":0 - } - ] - }, - { - "name":"Curve.008", - "primitives":[ + "material":1 + }, { "attributes":{ "POSITION":8, @@ -95,12 +178,12 @@ "TEXCOORD_0":10 }, "indices":11, - "material":0 + "material":2 } ] }, { - "name":"Curve.004", + "name":"Sphere.002", "primitives":[ { "attributes":{ @@ -108,8 +191,73 @@ "NORMAL":13, "TEXCOORD_0":14 }, - "indices":15, - "material":0 + "indices":11, + "material":2 + } + ] + }, + { + "name":"Cube.001", + "primitives":[ + { + "attributes":{ + "POSITION":15, + "NORMAL":16, + "TEXCOORD_0":17 + }, + "indices":18, + "material":3 + } + ] + }, + { + "name":"Curve.005", + "primitives":[ + { + "attributes":{ + "POSITION":19, + "NORMAL":20, + "TEXCOORD_0":21 + }, + "indices":22, + "material":4 + } + ] + }, + { + "name":"Plane.019", + "primitives":[ + { + "attributes":{ + "POSITION":23, + "NORMAL":24, + "TEXCOORD_0":25 + }, + "indices":26, + "material":1 + } + ] + }, + { + "name":"Plane.001", + "primitives":[ + { + "attributes":{ + "POSITION":27, + "NORMAL":28, + "TEXCOORD_0":29 + }, + "indices":30, + "material":4 + }, + { + "attributes":{ + "POSITION":31, + "NORMAL":32, + "TEXCOORD_0":33 + }, + "indices":11, + "material":3 } ] } @@ -118,9 +266,63 @@ { "sampler":0, "source":0 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":2 + }, + { + "sampler":0, + "source":3 + }, + { + "sampler":0, + "source":4 + }, + { + "sampler":0, + "source":5 + }, + { + "sampler":0, + "source":6 } ], "images":[ + { + "mimeType":"image/png", + "name":"T_Grass_Base_N", + "uri":"T_Grass_Base_N.png" + }, + { + "mimeType":"image/png", + "name":"T_Grass_Base_D", + "uri":"T_Grass_Base_D.png" + }, + { + "mimeType":"image/png", + "name":"T_Grass_Reeds_N", + "uri":"T_Grass_Reeds_N.png" + }, + { + "mimeType":"image/png", + "name":"T_Grass_Reeds_D", + "uri":"T_Grass_Reeds_D.png" + }, + { + "mimeType":"image/png", + "name":"arrow", + "uri":"arrow.png" + }, + { + "mimeType":"image/png", + "name":"reed-nm", + "uri":"reed-nm.png" + }, { "mimeType":"image/png", "name":"b1", @@ -131,236 +333,502 @@ { "bufferView":0, "componentType":5126, - "count":24, + "count":272, "max":[ - 0.6000000238418579, - 0.009999999776482582, - 0.6000000238418579 + 0.5986211895942688, + 0.34277740120887756, + 0.6759099364280701 ], "min":[ - -0.6000000238418579, - -0.030000001192092896, - -0.6000000238418579 + -0.617611289024353, + -0.07126913964748383, + -0.5153314471244812 ], "type":"VEC3" }, { "bufferView":1, "componentType":5126, - "count":24, + "count":272, "type":"VEC3" }, { "bufferView":2, "componentType":5126, - "count":24, + "count":272, "type":"VEC2" }, { "bufferView":3, "componentType":5123, - "count":36, + "count":288, "type":"SCALAR" }, { "bufferView":4, "componentType":5126, - "count":4, + "count":368, "max":[ - 0.6000000238418579, - 0.8000000715255737, - 1.196586936202948e-07 + 0.7171434760093689, + 0.8464050889015198, + 1.19857919216156 ], "min":[ - -0.6000000238418579, - -2.9802322387695312e-08, - -1.233839839187567e-07 + -0.7015569806098938, + 0.07388153672218323, + 0.0033763647079467773 ], "type":"VEC3" }, { "bufferView":5, "componentType":5126, - "count":4, + "count":368, "type":"VEC3" }, { "bufferView":6, "componentType":5126, - "count":4, + "count":368, "type":"VEC2" }, { "bufferView":7, "componentType":5123, - "count":6, + "count":990, "type":"SCALAR" }, { "bufferView":8, "componentType":5126, - "count":40, + "count":4, "max":[ - 0.6068381667137146, - 0.7768232822418213, - 0.05000004917383194 + 0.12514901161193848, + 0.09397327899932861, + 0.7251490354537964 ], "min":[ - -0.6075304746627808, - -0.03299999609589577, - -0.050000086426734924 + -0.12514901161193848, + 0.09397327899932861, + 0.47485098242759705 ], "type":"VEC3" }, { "bufferView":9, "componentType":5126, - "count":40, + "count":4, "type":"VEC3" }, { "bufferView":10, "componentType":5126, - "count":40, + "count":4, "type":"VEC2" }, { "bufferView":11, "componentType":5123, - "count":60, + "count":6, "type":"SCALAR" }, { "bufferView":12, "componentType":5126, - "count":12, + "count":4, "max":[ - 0.5994362831115723, - 0.8117803931236267, - 1.2000067234039307 + 0.12281588464975357, + 0.09397327899932861, + 0.12903428077697754 ], "min":[ - -0.6005637049674988, - 0.011780375614762306, - 6.67572021484375e-06 + -0.12748214602470398, + 0.09397327899932861, + -0.1212637722492218 ], "type":"VEC3" }, { "bufferView":13, "componentType":5126, - "count":12, + "count":4, "type":"VEC3" }, { "bufferView":14, "componentType":5126, - "count":12, + "count":4, "type":"VEC2" }, { "bufferView":15, + "componentType":5126, + "count":24, + "max":[ + 0.6000000238418579, + 0.10999999940395355, + 0.6000000238418579 + ], + "min":[ + -0.6000000238418579, + 0.07000000029802322, + -0.6000000238418579 + ], + "type":"VEC3" + }, + { + "bufferView":16, + "componentType":5126, + "count":24, + "type":"VEC3" + }, + { + "bufferView":17, + "componentType":5126, + "count":24, + "type":"VEC2" + }, + { + "bufferView":18, "componentType":5123, - "count":18, + "count":36, "type":"SCALAR" + }, + { + "bufferView":19, + "componentType":5126, + "count":4, + "max":[ + 0.6000000238418579, + 0.9000000953674316, + 1.196586936202948e-07 + ], + "min":[ + -0.6000000238418579, + 0.09999997168779373, + -1.233839839187567e-07 + ], + "type":"VEC3" + }, + { + "bufferView":20, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":21, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":22, + "componentType":5123, + "count":6, + "type":"SCALAR" + }, + { + "bufferView":23, + "componentType":5126, + "count":36, + "max":[ + 0.8499144911766052, + 0.773558497428894, + 0.29249176383018494 + ], + "min":[ + -0.7763704061508179, + 0.0007717907428741455, + 0.059992991387844086 + ], + "type":"VEC3" + }, + { + "bufferView":24, + "componentType":5126, + "count":36, + "type":"VEC3" + }, + { + "bufferView":25, + "componentType":5126, + "count":36, + "type":"VEC2" + }, + { + "bufferView":26, + "componentType":5123, + "count":54, + "type":"SCALAR" + }, + { + "bufferView":27, + "componentType":5126, + "count":8, + "max":[ + 0.6000000834465027, + 0.8000000715255737, + 0.600000262260437 + ], + "min":[ + -0.6000000834465027, + 0, + -0.6000001430511475 + ], + "type":"VEC3" + }, + { + "bufferView":28, + "componentType":5126, + "count":8, + "type":"VEC3" + }, + { + "bufferView":29, + "componentType":5126, + "count":8, + "type":"VEC2" + }, + { + "bufferView":30, + "componentType":5123, + "count":12, + "type":"SCALAR" + }, + { + "bufferView":31, + "componentType":5126, + "count":4, + "max":[ + 0.6000000834465027, + 0, + 0.600000262260437 + ], + "min":[ + -0.6000000834465027, + 0, + -0.6000001430511475 + ], + "type":"VEC3" + }, + { + "bufferView":32, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":33, + "componentType":5126, + "count":4, + "type":"VEC2" } ], "bufferViews":[ { "buffer":0, - "byteLength":288, + "byteLength":3264, "byteOffset":0, "target":34962 }, { "buffer":0, - "byteLength":288, - "byteOffset":288, + "byteLength":3264, + "byteOffset":3264, "target":34962 }, { "buffer":0, - "byteLength":192, - "byteOffset":576, + "byteLength":2176, + "byteOffset":6528, "target":34962 }, { "buffer":0, - "byteLength":72, - "byteOffset":768, + "byteLength":576, + "byteOffset":8704, + "target":34963 + }, + { + "buffer":0, + "byteLength":4416, + "byteOffset":9280, + "target":34962 + }, + { + "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":840, + "byteOffset":23036, "target":34962 }, { "buffer":0, "byteLength":48, - "byteOffset":888, + "byteOffset":23084, "target":34962 }, { "buffer":0, "byteLength":32, - "byteOffset":936, + "byteOffset":23132, "target":34962 }, { "buffer":0, "byteLength":12, - "byteOffset":968, + "byteOffset":23164, "target":34963 }, { "buffer":0, - "byteLength":480, - "byteOffset":980, + "byteLength":48, + "byteOffset":23176, "target":34962 }, { "buffer":0, - "byteLength":480, - "byteOffset":1460, + "byteLength":48, + "byteOffset":23224, "target":34962 }, { "buffer":0, - "byteLength":320, - "byteOffset":1940, + "byteLength":32, + "byteOffset":23272, "target":34962 }, { "buffer":0, - "byteLength":120, - "byteOffset":2260, + "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":144, - "byteOffset":2380, + "byteLength":48, + "byteOffset":24144, "target":34962 }, { "buffer":0, - "byteLength":144, - "byteOffset":2524, + "byteLength":48, + "byteOffset":24192, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":24240, + "target":34962 + }, + { + "buffer":0, + "byteLength":12, + "byteOffset":24272, + "target":34963 + }, + { + "buffer":0, + "byteLength":432, + "byteOffset":24284, + "target":34962 + }, + { + "buffer":0, + "byteLength":432, + "byteOffset":24716, + "target":34962 + }, + { + "buffer":0, + "byteLength":288, + "byteOffset":25148, + "target":34962 + }, + { + "buffer":0, + "byteLength":108, + "byteOffset":25436, + "target":34963 + }, + { + "buffer":0, + "byteLength":96, + "byteOffset":25544, "target":34962 }, { "buffer":0, "byteLength":96, - "byteOffset":2668, + "byteOffset":25640, "target":34962 }, { "buffer":0, - "byteLength":36, - "byteOffset":2764, + "byteLength":64, + "byteOffset":25736, + "target":34962 + }, + { + "buffer":0, + "byteLength":24, + "byteOffset":25800, "target":34963 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":25824, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":25872, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":25920, + "target":34962 } ], "samplers":[ @@ -371,7 +839,7 @@ ], "buffers":[ { - "byteLength":2800, + "byteLength":25952, "uri":"maze-reed.bin" } ] diff --git a/public/static/textures/arrow.png b/public/static/textures/arrow.png new file mode 100644 index 0000000..458d5ef Binary files /dev/null and b/public/static/textures/arrow.png differ