diff --git a/public/assets/models/calisthenics_park_model/license.txt b/public/assets/models/calisthenics_park_model/license.txt new file mode 100644 index 0000000000000000000000000000000000000000..aa77d8d3f98b2464061f7aac0e6c00fd079196cb --- /dev/null +++ b/public/assets/models/calisthenics_park_model/license.txt @@ -0,0 +1,11 @@ +Model Information: +* title: simple low poly calisthenics +* source: https://sketchfab.com/3d-models/simple-low-poly-calisthenics-b54f57efa0b84ca38e17195b6dbbab12 +* author: lupas (https://sketchfab.com/ivan.anton.albarracin) + +Model License: +* license type: CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/) +* requirements: Author must be credited. Commercial use is allowed. + +If you use this 3D model in your project be sure to copy paste this credit wherever you share it: +This work is based on "simple low poly calisthenics" (https://sketchfab.com/3d-models/simple-low-poly-calisthenics-b54f57efa0b84ca38e17195b6dbbab12) by lupas (https://sketchfab.com/ivan.anton.albarracin) licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/) \ No newline at end of file diff --git a/public/assets/models/calisthenics_park_model/scene.bin b/public/assets/models/calisthenics_park_model/scene.bin new file mode 100644 index 0000000000000000000000000000000000000000..74b6155c7f722e15baf5f03235da35763a33a3cf Binary files /dev/null and b/public/assets/models/calisthenics_park_model/scene.bin differ diff --git a/public/assets/models/calisthenics_park_model/scene.gltf b/public/assets/models/calisthenics_park_model/scene.gltf new file mode 100644 index 0000000000000000000000000000000000000000..36794cd569a9e71ed5a1000770a7e85d548e9ac7 --- /dev/null +++ b/public/assets/models/calisthenics_park_model/scene.gltf @@ -0,0 +1,639 @@ +{ + "accessors": [ + { + "bufferView": 2, + "componentType": 5126, + "count": 1056, + "max": [ + 0.7074176073074341, + 0.33534669876098633, + 0.3975487947463989 + ], + "min": [ + -0.7074183225631714, + -0.6614292860031128, + -0.3975487947463989 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 12672, + "componentType": 5126, + "count": 1056, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "componentType": 5126, + "count": 1056, + "max": [ + 0.15142834186553955, + 0.7267770767211914 + ], + "min": [ + 0.10517246276140213, + 0.7208895087242126 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "componentType": 5125, + "count": 3420, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 25344, + "componentType": 5126, + "count": 900, + "max": [ + 2.5009071826934814, + 0.5272553563117981, + 0.07400225847959518 + ], + "min": [ + -2.503542184829712, + -2.080171585083008, + -0.07381006330251694 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 36144, + "componentType": 5126, + "count": 900, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 8448, + "componentType": 5126, + "count": 900, + "max": [ + 0.14757460355758667, + 0.9669296145439148 + ], + "min": [ + 0.0779150202870369, + 0.7169493436813354 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 13680, + "componentType": 5125, + "count": 3396, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 46944, + "componentType": 5126, + "count": 352, + "max": [ + 0.5011120438575745, + 0.26099342107772827, + 1.617704153060913 + ], + "min": [ + -0.5011373162269592, + -1.2899619340896606, + -1.6195857524871826 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 51168, + "componentType": 5126, + "count": 352, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 15648, + "componentType": 5126, + "count": 352, + "max": [ + 0.39427241683006287, + 0.9671670198440552 + ], + "min": [ + 0.0903053879737854, + 0.09140443801879883 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 27264, + "componentType": 5125, + "count": 1128, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 55392, + "componentType": 5126, + "count": 768, + "max": [ + 0.8707929849624634, + 0.25405287742614746, + 1.6192985773086548 + ], + "min": [ + -0.8683738708496094, + -2.316556215286255, + -1.6214278936386108 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 64608, + "componentType": 5126, + "count": 768, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 18464, + "componentType": 5126, + "count": 768, + "max": [ + 0.406387060880661, + 0.9665828943252563 + ], + "min": [ + 0.0991160199046135, + 0.08993256092071533 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 31776, + "componentType": 5125, + "count": 2388, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 73824, + "componentType": 5126, + "count": 1056, + "max": [ + 0.7074176073074341, + 0.33534669876098633, + 0.9175883531570435 + ], + "min": [ + -0.7074183225631714, + -0.6614292860031128, + -0.9175883531570435 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 86496, + "componentType": 5126, + "count": 1056, + "max": [ + 1.0, + 1.0, + 1.0 + ], + "min": [ + -1.0, + -1.0, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 24608, + "componentType": 5126, + "count": 1056, + "max": [ + 0.15142834186553955, + 0.7267770767211914 + ], + "min": [ + 0.10517246276140213, + 0.7208895087242126 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 41328, + "componentType": 5125, + "count": 3420, + "type": "SCALAR" + } + ], + "asset": { + "extras": { + "author": "lupas (https://sketchfab.com/ivan.anton.albarracin)", + "license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)", + "source": "https://sketchfab.com/3d-models/simple-low-poly-calisthenics-b54f57efa0b84ca38e17195b6dbbab12", + "title": "simple low poly calisthenics" + }, + "generator": "Sketchfab-15.22.0", + "version": "2.0" + }, + "bufferViews": [ + { + "buffer": 0, + "byteLength": 55008, + "name": "floatBufferViews", + "target": 34963 + }, + { + "buffer": 0, + "byteLength": 33056, + "byteOffset": 55008, + "byteStride": 8, + "name": "floatBufferViews", + "target": 34962 + }, + { + "buffer": 0, + "byteLength": 99168, + "byteOffset": 88064, + "byteStride": 12, + "name": "floatBufferViews", + "target": 34962 + } + ], + "buffers": [ + { + "byteLength": 187232, + "uri": "scene.bin" + } + ], + "images": [ + { + "uri": "textures/Palette256_baseColor.png" + } + ], + "materials": [ + { + "doubleSided": true, + "name": "Palette256", + "pbrMetallicRoughness": { + "baseColorTexture": { + "index": 0 + }, + "metallicFactor": 0.0, + "roughnessFactor": 0.8505826488289334 + } + } + ], + "meshes": [ + { + "name": "calistenia_2_Palette256_0", + "primitives": [ + { + "attributes": { + "NORMAL": 1, + "POSITION": 0, + "TEXCOORD_0": 2 + }, + "indices": 3, + "material": 0, + "mode": 4 + } + ] + }, + { + "name": "calistenia_3_Palette256_0", + "primitives": [ + { + "attributes": { + "NORMAL": 5, + "POSITION": 4, + "TEXCOORD_0": 6 + }, + "indices": 7, + "material": 0, + "mode": 4 + } + ] + }, + { + "name": "calistenia_4_Palette256_0", + "primitives": [ + { + "attributes": { + "NORMAL": 9, + "POSITION": 8, + "TEXCOORD_0": 10 + }, + "indices": 11, + "material": 0, + "mode": 4 + } + ] + }, + { + "name": "calistenia_5_Palette256_0", + "primitives": [ + { + "attributes": { + "NORMAL": 13, + "POSITION": 12, + "TEXCOORD_0": 14 + }, + "indices": 15, + "material": 0, + "mode": 4 + } + ] + }, + { + "name": "calistenia_1_Palette256_0", + "primitives": [ + { + "attributes": { + "NORMAL": 17, + "POSITION": 16, + "TEXCOORD_0": 18 + }, + "indices": 19, + "material": 0, + "mode": 4 + } + ] + } + ], + "nodes": [ + { + "children": [ + 1 + ], + "matrix": [ + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 2.220446049250313e-16, + -1.0, + 0.0, + 0.0, + 1.0, + 2.220446049250313e-16, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "name": "Sketchfab_model" + }, + { + "children": [ + 2 + ], + "matrix": [ + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + -1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + ], + "name": "calisthenics.fbx" + }, + { + "children": [ + 3, + 5, + 7, + 9, + 11 + ], + "name": "RootNode" + }, + { + "children": [ + 4 + ], + "matrix": [ + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + -0.32413265109062195, + 0.6639097332954407, + 34.75187301635742, + 1.0 + ], + "name": "calistenia_2" + }, + { + "mesh": 0, + "name": "calistenia_2_Palette256_0" + }, + { + "children": [ + 6 + ], + "matrix": [ + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + -0.005346940364688635, + 2.0798275470733643, + 36.15578842163086, + 1.0 + ], + "name": "calistenia_3" + }, + { + "mesh": 1, + "name": "calistenia_3_Palette256_0" + }, + { + "children": [ + 8 + ], + "matrix": [ + 7.549789959870878e-08, + 0.0, + -0.9999999999999971, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.9999999999999971, + 0.0, + 7.549789959870878e-08, + 0.0, + -0.35681676864624023, + 1.2915990352630615, + 38.03456497192383, + 1.0 + ], + "name": "calistenia_4" + }, + { + "mesh": 2, + "name": "calistenia_4_Palette256_0" + }, + { + "children": [ + 10 + ], + "matrix": [ + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.003558814525604248, + 2.316993474960327, + 40.95814895629883, + 1.0 + ], + "name": "calistenia_5" + }, + { + "mesh": 3, + "name": "calistenia_5_Palette256_0" + }, + { + "children": [ + 12 + ], + "matrix": [ + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 0.0, + -0.19714996218681335, + 0.6639097332954407, + 32.501827239990234, + 1.0 + ], + "name": "calistenia_1" + }, + { + "mesh": 4, + "name": "calistenia_1_Palette256_0" + } + ], + "samplers": [ + { + "magFilter": 9729, + "minFilter": 9987, + "wrapS": 10497, + "wrapT": 10497 + } + ], + "scene": 0, + "scenes": [ + { + "name": "Sketchfab_Scene", + "nodes": [ + 0 + ] + } + ], + "textures": [ + { + "sampler": 0, + "source": 0 + } + ] +} diff --git a/public/assets/models/calisthenics_park_model/textures/Palette256_baseColor.png b/public/assets/models/calisthenics_park_model/textures/Palette256_baseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..11cda71397467989b9d607e742caa847153e953b Binary files /dev/null and b/public/assets/models/calisthenics_park_model/textures/Palette256_baseColor.png differ diff --git a/public/index.html b/public/index.html index 8686486d233b0c58c409741d760454008ba0030d..c12c1480fdcf28ce5889c877831a7a4a1a461627 100644 --- a/public/index.html +++ b/public/index.html @@ -410,6 +410,14 @@ minScale: 0.05, maxScale: 0.3 } + calisthenics_park: { + name: "Calisthenics Park", + image: "previewImages/calisthenics_park.png", + file: "https://transfer.hft-stuttgart.de/gitlab/geovistoogsi/ar/-/raw/master/public/assets/models/calisthenics_park_model/scene.gltf", + scale: { x: 0.15, y: 0.15, z: 0.15 }, + minScale: 0.05, + maxScale: 0.3 + } }; const menus = ['menu-bar', 'add-menu', 'edit-menu', 'options-menu', 'map-window']; diff --git a/public/previewImages/calisthenics_park.png b/public/previewImages/calisthenics_park.png new file mode 100644 index 0000000000000000000000000000000000000000..6c8c8b0bdc95aedf960983e0467bc589bfc31a3c Binary files /dev/null and b/public/previewImages/calisthenics_park.png differ