From 94b835e0589bc91f47014234bfdc42aa8edde048 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Mon, 27 Jan 2025 02:11:03 +0500 Subject: feat: map (wip) --- assets/maps/map_beta/box.png | Bin 0 -> 18879 bytes assets/maps/map_beta/map_beta.bin | Bin 0 -> 240652 bytes assets/maps/map_beta/map_beta.gltf | 3339 ++++++++++++++++++++ assets/maps/map_beta/pad.png | Bin 0 -> 25378 bytes .../kz/ilotterytea/frogartha/assets/Assets.java | 4 + .../ilotterytea/frogartha/screens/GameScreen.java | 15 +- 6 files changed, 3346 insertions(+), 12 deletions(-) create mode 100644 assets/maps/map_beta/box.png create mode 100644 assets/maps/map_beta/map_beta.bin create mode 100644 assets/maps/map_beta/map_beta.gltf create mode 100644 assets/maps/map_beta/pad.png diff --git a/assets/maps/map_beta/box.png b/assets/maps/map_beta/box.png new file mode 100644 index 0000000..a8434f3 Binary files /dev/null and b/assets/maps/map_beta/box.png differ diff --git a/assets/maps/map_beta/map_beta.bin b/assets/maps/map_beta/map_beta.bin new file mode 100644 index 0000000..382091d Binary files /dev/null and b/assets/maps/map_beta/map_beta.bin differ diff --git a/assets/maps/map_beta/map_beta.gltf b/assets/maps/map_beta/map_beta.gltf new file mode 100644 index 0000000..e3d4832 --- /dev/null +++ b/assets/maps/map_beta/map_beta.gltf @@ -0,0 +1,3339 @@ +{ + "asset":{ + "generator":"Khronos glTF Blender I/O v4.3.47", + "version":"2.0" + }, + "scene":0, + "scenes":[ + { + "name":"Scene", + "nodes":[ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33 + ] + } + ], + "nodes":[ + { + "mesh":0, + "name":"soil", + "scale":[ + 50.56291580200195, + 8.959122657775879, + 50.56291580200195 + ], + "translation":[ + 14.120209693908691, + -9.562684059143066, + 0.41045767068862915 + ] + }, + { + "mesh":1, + "name":"water", + "scale":[ + 55.932594299316406, + 9.263638496398926, + 55.932594299316406 + ], + "translation":[ + 14.120209693908691, + -10.106417655944824, + 0.41045767068862915 + ] + }, + { + "mesh":2, + "name":"mountain", + "scale":[ + 24.886096954345703, + 38.6859130859375, + 24.11043930053711 + ], + "translation":[ + -72.7612533569336, + 21.949861526489258, + 0.41045767068862915 + ] + }, + { + "mesh":3, + "name":"Cylinder", + "rotation":[ + 0.5, + 0.5, + -0.5, + 0.5 + ], + "scale":[ + 13.145349502563477, + 13.145349502563477, + 13.145349502563477 + ], + "translation":[ + -45.795413970947266, + 30.432281494140625, + 0.41045767068862915 + ] + }, + { + "mesh":4, + "name":"Cylinder.003", + "rotation":[ + 0.5, + 0.5, + -0.5, + 0.5 + ], + "scale":[ + 14.479829788208008, + 1.4073528051376343, + 14.479829788208008 + ], + "translation":[ + -31.28621482849121, + 30.432281494140625, + 0.41045767068862915 + ] + }, + { + "mesh":5, + "name":"Cube", + "scale":[ + 9.933869361877441, + 1.1806128025054932, + 7.548985481262207 + ], + "translation":[ + -39.927005767822266, + 21.32762908935547, + 0 + ] + }, + { + "mesh":6, + "name":"trees", + "scale":[ + 70.64205169677734, + 93.02290344238281, + 70.64205169677734 + ], + "translation":[ + 14.120209693908691, + 95.34770965576172, + 0.41045767068862915 + ] + }, + { + "mesh":7, + "name":"Pad", + "rotation":[ + 0, + -0.487023264169693, + 0, + 0.8733890056610107 + ], + "scale":[ + 19.81290626525879, + 19.81290626525879, + 19.81290626525879 + ], + "translation":[ + -10.948238372802734, + 0, + 0 + ] + }, + { + "mesh":8, + "name":"Pad.001", + "rotation":[ + 0, + -0.9183773398399353, + 0, + 0.39570578932762146 + ], + "scale":[ + 16.534992218017578, + 16.53499412536621, + 16.534992218017578 + ], + "translation":[ + 33.71416473388672, + 0, + -33.7219352722168 + ] + }, + { + "mesh":9, + "name":"Pad.002", + "rotation":[ + 0, + -0.784894585609436, + 0, + 0.6196293234825134 + ], + "scale":[ + 9.522802352905273, + 9.522802352905273, + 9.522802352905273 + ], + "translation":[ + -10.396259307861328, + 0, + -33.7219352722168 + ] + }, + { + "mesh":10, + "name":"Pad.003", + "rotation":[ + 0, + -0.9904597997665405, + 0, + 0.13780218362808228 + ], + "scale":[ + 5.332728385925293, + 5.332728385925293, + 5.332728385925293 + ], + "translation":[ + 13.651872634887695, + 0, + -16.995193481445312 + ] + }, + { + "mesh":11, + "name":"Pad.004", + "rotation":[ + 0, + 0.9140546917915344, + 0, + 0.4055909216403961 + ], + "scale":[ + 7.933749198913574, + 7.9337477684021, + 7.933749198913574 + ], + "translation":[ + 54.07441711425781, + 0, + -16.995193481445312 + ] + }, + { + "mesh":12, + "name":"Pad.005", + "rotation":[ + 0, + 0.35161998867988586, + 0, + 0.9361429214477539 + ], + "scale":[ + 11.450183868408203, + 11.450181007385254, + 11.450183868408203 + ], + "translation":[ + 31.36386489868164, + 0, + 32.97092819213867 + ] + }, + { + "mesh":13, + "name":"Pad.006", + "rotation":[ + 0, + 0.5743476748466492, + 0, + 0.8186115026473999 + ], + "scale":[ + 17.435657501220703, + 17.435653686523438, + 17.435657501220703 + ], + "translation":[ + 52.488609313964844, + 0, + 10.381507873535156 + ] + }, + { + "mesh":14, + "name":"Pad.007", + "rotation":[ + 0, + -0.07126682996749878, + 0, + 0.9974573850631714 + ], + "scale":[ + 6.319857597351074, + 6.3198561668396, + 6.319857597351074 + ], + "translation":[ + 7.236804962158203, + 0, + 44.20938491821289 + ] + }, + { + "mesh":15, + "name":"Pad.008", + "rotation":[ + 0, + 0.32672548294067383, + 0, + 0.9451193809509277 + ], + "scale":[ + 2.9877607822418213, + 2.987759828567505, + 2.9877607822418213 + ], + "translation":[ + 19.748855590820312, + 0, + 44.20938491821289 + ] + }, + { + "mesh":16, + "name":"Pad.009", + "rotation":[ + 0, + -0.28349927067756653, + 0, + 0.9589725732803345 + ], + "scale":[ + 2.987760543823242, + 2.987759828567505, + 2.987760543823242 + ], + "translation":[ + 6.822654724121094, + 0, + -34.05513381958008 + ] + }, + { + "mesh":17, + "name":"Pad.010", + "rotation":[ + 0, + 0.03132965788245201, + 0, + 0.9995090961456299 + ], + "scale":[ + 2.9877607822418213, + 2.987759828567505, + 2.9877607822418213 + ], + "translation":[ + 50.43181610107422, + 0, + 32.9116096496582 + ] + }, + { + "mesh":18, + "name":"Rock", + "scale":[ + 0.43244263529777527, + 0.43244263529777527, + 0.43244263529777527 + ], + "translation":[ + -1.9975132942199707, + 4.571369647979736, + -57.13225555419922 + ] + }, + { + "mesh":19, + "name":"Rock.002", + "rotation":[ + 0, + -0.22515210509300232, + 0, + 0.9743236303329468 + ], + "scale":[ + 1.2095249891281128, + 0.7275269627571106, + 0.7567328810691833 + ], + "translation":[ + 36.371150970458984, + 4.482646942138672, + -58.0533447265625 + ] + }, + { + "mesh":20, + "name":"Rock.003", + "rotation":[ + 0, + -0.5878591537475586, + 0, + 0.8089632987976074 + ], + "scale":[ + 2.322857141494751, + 0.6970992684364319, + 1.0997341871261597 + ], + "translation":[ + 72.90956115722656, + 3.9528536796569824, + -28.60906982421875 + ] + }, + { + "mesh":21, + "name":"Rock.004", + "rotation":[ + 0, + -0.36373165249824524, + 0, + 0.9315037727355957 + ], + "scale":[ + 2.0781192779541016, + 0.920149564743042, + 1.0676723718643188 + ], + "translation":[ + 56.63800048828125, + 4.442992687225342, + -48.065345764160156 + ] + }, + { + "mesh":22, + "name":"Rock.005", + "rotation":[ + 0, + -0.7244143486022949, + 0, + 0.6893648505210876 + ], + "scale":[ + 2.3590922355651855, + 0.6970992684364319, + 1.222347617149353 + ], + "translation":[ + 77.59907531738281, + 5.8152337074279785, + 2.5688953399658203 + ] + }, + { + "mesh":23, + "name":"Rock.006", + "rotation":[ + 0, + -0.8936761021614075, + 0, + 0.4487125873565674 + ], + "scale":[ + 2.3590922355651855, + 0.6970992684364319, + 1.222347617149353 + ], + "translation":[ + 66.03303527832031, + 5.8152337074279785, + 32.74494171142578 + ] + }, + { + "mesh":24, + "name":"Rock.007", + "rotation":[ + 0, + -0.9547602534294128, + 0, + 0.297376811504364 + ], + "scale":[ + 2.3590922355651855, + 0.6970992684364319, + 1.222347617149353 + ], + "translation":[ + 44.400474548339844, + 1.45503568649292, + 52.074405670166016 + ] + }, + { + "mesh":25, + "name":"Rock.008", + "rotation":[ + 0, + 0.998717725276947, + 0, + 0.05062540993094444 + ], + "scale":[ + 2.3590922355651855, + 0.9420796036720276, + 1.222347617149353 + ], + "translation":[ + 13.84042739868164, + 5.679043769836426, + 61.97348403930664 + ] + }, + { + "mesh":26, + "name":"Rock.009", + "rotation":[ + 0, + 0.9550458192825317, + 0, + 0.29645833373069763 + ], + "scale":[ + 2.3590922355651855, + 0.6970992684364319, + 1.222347617149353 + ], + "translation":[ + -17.380611419677734, + 5.679043769836426, + 53.92295837402344 + ] + }, + { + "mesh":27, + "name":"Rock.010", + "rotation":[ + 0, + 0.8764434456825256, + 0, + 0.48150500655174255 + ], + "scale":[ + 1.8667570352554321, + 1.009503960609436, + 1.10927414894104 + ], + "translation":[ + -40.880306243896484, + 5.957118988037109, + 35.6835823059082 + ] + }, + { + "mesh":28, + "name":"Rock.001", + "rotation":[ + 0, + -0.0309420395642519, + 0, + 0.9995211958885193 + ], + "scale":[ + 2.0781192779541016, + 0.920149564743042, + 1.0676723718643188 + ], + "translation":[ + 13.186336517333984, + 4.442992687225342, + -65.12590789794922 + ] + }, + { + "mesh":29, + "name":"Rock.011", + "rotation":[ + 0, + 0.25299903750419617, + 0, + 0.9674666523933411 + ], + "scale":[ + 2.198997974395752, + 0.7828611731529236, + 0.9556347727775574 + ], + "translation":[ + -16.10009765625, + 4.442992687225342, + -55.970985412597656 + ] + }, + { + "mesh":30, + "name":"Rock.012", + "rotation":[ + 0, + 0.42122018337249756, + 0, + 0.9069584012031555 + ], + "scale":[ + 2.1435012817382812, + 0.7127090692520142, + 0.9551662802696228 + ], + "translation":[ + -39.267791748046875, + 3.278663158416748, + -35.245872497558594 + ] + }, + { + "mesh":31, + "name":"Pad.011", + "rotation":[ + 0, + 0.9805630445480347, + 0, + 0.19620470702648163 + ], + "scale":[ + 11.450183868408203, + 11.450181007385254, + 11.450183868408203 + ], + "translation":[ + 22.2801570892334, + 0, + 1.0209102630615234 + ] + }, + { + "mesh":32, + "name":"Pad.012", + "rotation":[ + 0, + -0.8565117120742798, + 0, + 0.5161276459693909 + ], + "scale":[ + 7.519057273864746, + 7.51905632019043, + 7.519057273864746 + ], + "translation":[ + 5.046669006347656, + 0, + 26.154495239257812 + ] + }, + { + "mesh":33, + "name":"Pad.013", + "rotation":[ + 0, + -0.36839842796325684, + 0, + 0.9296680092811584 + ], + "scale":[ + 7.519057273864746, + 7.51905632019043, + 7.519057273864746 + ], + "translation":[ + -15.78811264038086, + 0, + 32.38115692138672 + ] + } + ], + "materials":[ + { + "doubleSided":true, + "name":"Soil", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.10698886215686798, + 0.037041641771793365, + 0.005555994343012571, + 1 + ], + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Water", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.15404145419597626, + 0.18769210577011108, + 0.8001648187637329, + 1 + ], + "metallicFactor":0.4960629940032959, + "roughnessFactor":0 + } + }, + { + "doubleSided":true, + "name":"Mountain", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.16391071677207947, + 0.17925186455249786, + 0.2139868587255478, + 1 + ], + "metallicFactor":0, + "roughnessFactor":0.5 + } + }, + { + "doubleSided":true, + "name":"Tube", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.11095526814460754, + 0.0474485345184803, + 0.050939805805683136, + 1 + ], + "metallicFactor":0, + "roughnessFactor":0.5 + } + }, + { + "doubleSided":true, + "name":"TubeHead", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.15039344131946564, + 0.10907191038131714, + 0.11562339216470718, + 1 + ], + "metallicFactor":0, + "roughnessFactor":0.7755905389785767 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Trees", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":0 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":1 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad.001", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":2 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad.002", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":3 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad.003", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":4 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad.004", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":5 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad.005", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":6 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad.006", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":7 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad.007", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":8 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad.008", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":9 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad.009", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":10 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad.010", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":11 + }, + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Rock", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.33504074811935425, + 0.33504074811935425, + 0.33504074811935425, + 1 + ], + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Rock.002", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.33504074811935425, + 0.33504074811935425, + 0.33504074811935425, + 1 + ], + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Rock.003", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.33504074811935425, + 0.33504074811935425, + 0.33504074811935425, + 1 + ], + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Rock.004", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.33504074811935425, + 0.33504074811935425, + 0.33504074811935425, + 1 + ], + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Rock.005", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.33504074811935425, + 0.33504074811935425, + 0.33504074811935425, + 1 + ], + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Rock.006", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.33504074811935425, + 0.33504074811935425, + 0.33504074811935425, + 1 + ], + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Rock.007", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.33504074811935425, + 0.33504074811935425, + 0.33504074811935425, + 1 + ], + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Rock.008", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.33504074811935425, + 0.33504074811935425, + 0.33504074811935425, + 1 + ], + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Rock.009", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.33504074811935425, + 0.33504074811935425, + 0.33504074811935425, + 1 + ], + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Rock.010", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.33504074811935425, + 0.33504074811935425, + 0.33504074811935425, + 1 + ], + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Rock.011", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.33504074811935425, + 0.33504074811935425, + 0.33504074811935425, + 1 + ], + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Rock.012", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.33504074811935425, + 0.33504074811935425, + 0.33504074811935425, + 1 + ], + "metallicFactor":0 + } + }, + { + "doubleSided":true, + "name":"Rock.013", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.33504074811935425, + 0.33504074811935425, + 0.33504074811935425, + 1 + ], + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad.011", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":12 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad.012", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":13 + }, + "metallicFactor":0 + } + }, + { + "alphaMode":"BLEND", + "doubleSided":true, + "name":"Pad.013", + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":14 + }, + "metallicFactor":0 + } + } + ], + "meshes":[ + { + "name":"Cylinder.001", + "primitives":[ + { + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + }, + "indices":3, + "material":0 + } + ] + }, + { + "name":"Cylinder.004", + "primitives":[ + { + "attributes":{ + "POSITION":4, + "NORMAL":5, + "TEXCOORD_0":6 + }, + "indices":7, + "material":1 + } + ] + }, + { + "name":"Cube.001", + "primitives":[ + { + "attributes":{ + "POSITION":8, + "NORMAL":9, + "TEXCOORD_0":10 + }, + "indices":11, + "material":2 + } + ] + }, + { + "name":"Cylinder.005", + "primitives":[ + { + "attributes":{ + "POSITION":12, + "NORMAL":13, + "TEXCOORD_0":14 + }, + "indices":15, + "material":3 + } + ] + }, + { + "name":"Cylinder.008", + "primitives":[ + { + "attributes":{ + "POSITION":16, + "NORMAL":17, + "TEXCOORD_0":18 + }, + "indices":19, + "material":4 + } + ] + }, + { + "name":"Cube.002", + "primitives":[ + { + "attributes":{ + "POSITION":20, + "NORMAL":21, + "TEXCOORD_0":22 + }, + "indices":23, + "material":1 + } + ] + }, + { + "name":"Cylinder", + "primitives":[ + { + "attributes":{ + "POSITION":24, + "NORMAL":25, + "TEXCOORD_0":26 + }, + "indices":27, + "material":5 + } + ] + }, + { + "name":"Plane", + "primitives":[ + { + "attributes":{ + "POSITION":28, + "NORMAL":29, + "TEXCOORD_0":30 + }, + "indices":31, + "material":6 + } + ] + }, + { + "name":"Plane.001", + "primitives":[ + { + "attributes":{ + "POSITION":32, + "NORMAL":33, + "TEXCOORD_0":34 + }, + "indices":31, + "material":7 + } + ] + }, + { + "name":"Plane.002", + "primitives":[ + { + "attributes":{ + "POSITION":35, + "NORMAL":36, + "TEXCOORD_0":37 + }, + "indices":31, + "material":8 + } + ] + }, + { + "name":"Plane.003", + "primitives":[ + { + "attributes":{ + "POSITION":38, + "NORMAL":39, + "TEXCOORD_0":40 + }, + "indices":31, + "material":9 + } + ] + }, + { + "name":"Plane.004", + "primitives":[ + { + "attributes":{ + "POSITION":41, + "NORMAL":42, + "TEXCOORD_0":43 + }, + "indices":31, + "material":10 + } + ] + }, + { + "name":"Plane.005", + "primitives":[ + { + "attributes":{ + "POSITION":44, + "NORMAL":45, + "TEXCOORD_0":46 + }, + "indices":31, + "material":11 + } + ] + }, + { + "name":"Plane.006", + "primitives":[ + { + "attributes":{ + "POSITION":47, + "NORMAL":48, + "TEXCOORD_0":49 + }, + "indices":31, + "material":12 + } + ] + }, + { + "name":"Plane.007", + "primitives":[ + { + "attributes":{ + "POSITION":50, + "NORMAL":51, + "TEXCOORD_0":52 + }, + "indices":31, + "material":13 + } + ] + }, + { + "name":"Plane.008", + "primitives":[ + { + "attributes":{ + "POSITION":53, + "NORMAL":54, + "TEXCOORD_0":55 + }, + "indices":31, + "material":14 + } + ] + }, + { + "name":"Plane.009", + "primitives":[ + { + "attributes":{ + "POSITION":56, + "NORMAL":57, + "TEXCOORD_0":58 + }, + "indices":31, + "material":15 + } + ] + }, + { + "name":"Plane.010", + "primitives":[ + { + "attributes":{ + "POSITION":59, + "NORMAL":60, + "TEXCOORD_0":61 + }, + "indices":31, + "material":16 + } + ] + }, + { + "name":"Cube.004", + "primitives":[ + { + "attributes":{ + "POSITION":62, + "NORMAL":63, + "TEXCOORD_0":64 + }, + "indices":65, + "material":17 + } + ] + }, + { + "name":"Cube.006", + "primitives":[ + { + "attributes":{ + "POSITION":66, + "NORMAL":67, + "TEXCOORD_0":68 + }, + "indices":65, + "material":18 + } + ] + }, + { + "name":"Cube.007", + "primitives":[ + { + "attributes":{ + "POSITION":69, + "NORMAL":70, + "TEXCOORD_0":71 + }, + "indices":65, + "material":19 + } + ] + }, + { + "name":"Cube.008", + "primitives":[ + { + "attributes":{ + "POSITION":72, + "NORMAL":73, + "TEXCOORD_0":74 + }, + "indices":65, + "material":20 + } + ] + }, + { + "name":"Cube.009", + "primitives":[ + { + "attributes":{ + "POSITION":75, + "NORMAL":76, + "TEXCOORD_0":77 + }, + "indices":65, + "material":21 + } + ] + }, + { + "name":"Cube.010", + "primitives":[ + { + "attributes":{ + "POSITION":78, + "NORMAL":79, + "TEXCOORD_0":80 + }, + "indices":65, + "material":22 + } + ] + }, + { + "name":"Cube.011", + "primitives":[ + { + "attributes":{ + "POSITION":81, + "NORMAL":82, + "TEXCOORD_0":83 + }, + "indices":65, + "material":23 + } + ] + }, + { + "name":"Cube.012", + "primitives":[ + { + "attributes":{ + "POSITION":84, + "NORMAL":85, + "TEXCOORD_0":86 + }, + "indices":65, + "material":24 + } + ] + }, + { + "name":"Cube.013", + "primitives":[ + { + "attributes":{ + "POSITION":87, + "NORMAL":88, + "TEXCOORD_0":89 + }, + "indices":65, + "material":25 + } + ] + }, + { + "name":"Cube.014", + "primitives":[ + { + "attributes":{ + "POSITION":90, + "NORMAL":91, + "TEXCOORD_0":92 + }, + "indices":65, + "material":26 + } + ] + }, + { + "name":"Cube.015", + "primitives":[ + { + "attributes":{ + "POSITION":93, + "NORMAL":94, + "TEXCOORD_0":95 + }, + "indices":65, + "material":27 + } + ] + }, + { + "name":"Cube.016", + "primitives":[ + { + "attributes":{ + "POSITION":96, + "NORMAL":97, + "TEXCOORD_0":98 + }, + "indices":65, + "material":28 + } + ] + }, + { + "name":"Cube.017", + "primitives":[ + { + "attributes":{ + "POSITION":99, + "NORMAL":100, + "TEXCOORD_0":101 + }, + "indices":65, + "material":29 + } + ] + }, + { + "name":"Plane.011", + "primitives":[ + { + "attributes":{ + "POSITION":102, + "NORMAL":103, + "TEXCOORD_0":104 + }, + "indices":31, + "material":30 + } + ] + }, + { + "name":"Plane.012", + "primitives":[ + { + "attributes":{ + "POSITION":105, + "NORMAL":106, + "TEXCOORD_0":107 + }, + "indices":31, + "material":31 + } + ] + }, + { + "name":"Plane.013", + "primitives":[ + { + "attributes":{ + "POSITION":108, + "NORMAL":109, + "TEXCOORD_0":110 + }, + "indices":31, + "material":32 + } + ] + } + ], + "textures":[ + { + "sampler":0, + "source":0 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":1 + } + ], + "images":[ + { + "mimeType":"image/png", + "name":"box", + "uri":"box.png" + }, + { + "mimeType":"image/png", + "name":"pad", + "uri":"pad.png" + } + ], + "accessors":[ + { + "bufferView":0, + "componentType":5126, + "count":640, + "max":[ + 1.327765703201294, + 1.327765941619873, + 1.327765703201294 + ], + "min":[ + -1.327765703201294, + -1.327765703201294, + -1.327765703201294 + ], + "type":"VEC3" + }, + { + "bufferView":1, + "componentType":5126, + "count":640, + "type":"VEC3" + }, + { + "bufferView":2, + "componentType":5126, + "count":640, + "type":"VEC2" + }, + { + "bufferView":3, + "componentType":5123, + "count":1344, + "type":"SCALAR" + }, + { + "bufferView":4, + "componentType":5126, + "count":192, + "max":[ + 1, + 1, + 1 + ], + "min":[ + -1, + -1, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":5, + "componentType":5126, + "count":192, + "type":"VEC3" + }, + { + "bufferView":6, + "componentType":5126, + "count":192, + "type":"VEC2" + }, + { + "bufferView":7, + "componentType":5123, + "count":372, + "type":"SCALAR" + }, + { + "bufferView":8, + "componentType":5126, + "count":24, + "max":[ + 1, + 1, + 1 + ], + "min":[ + -1, + -1, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":9, + "componentType":5126, + "count":24, + "type":"VEC3" + }, + { + "bufferView":10, + "componentType":5126, + "count":24, + "type":"VEC2" + }, + { + "bufferView":11, + "componentType":5123, + "count":36, + "type":"SCALAR" + }, + { + "bufferView":12, + "componentType":5126, + "count":384, + "max":[ + 1, + 1.0000001192092896, + 1 + ], + "min":[ + -1, + -1, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":13, + "componentType":5126, + "count":384, + "type":"VEC3" + }, + { + "bufferView":14, + "componentType":5126, + "count":384, + "type":"VEC2" + }, + { + "bufferView":15, + "componentType":5123, + "count":756, + "type":"SCALAR" + }, + { + "bufferView":16, + "componentType":5126, + "count":384, + "max":[ + 1, + 1.0000004768371582, + 1 + ], + "min":[ + -1, + -1, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":17, + "componentType":5126, + "count":384, + "type":"VEC3" + }, + { + "bufferView":18, + "componentType":5126, + "count":384, + "type":"VEC2" + }, + { + "bufferView":19, + "componentType":5123, + "count":768, + "type":"SCALAR" + }, + { + "bufferView":20, + "componentType":5126, + "count":56, + "max":[ + 1.5426427125930786, + 1, + 1.1200731992721558 + ], + "min":[ + -1, + -34.3791618347168, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":21, + "componentType":5126, + "count":56, + "type":"VEC3" + }, + { + "bufferView":22, + "componentType":5126, + "count":56, + "type":"VEC2" + }, + { + "bufferView":23, + "componentType":5123, + "count":84, + "type":"SCALAR" + }, + { + "bufferView":24, + "componentType":5126, + "count":512, + "max":[ + 1, + 1.000000238418579, + 1 + ], + "min":[ + -1, + -1, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":25, + "componentType":5126, + "count":512, + "type":"VEC3" + }, + { + "bufferView":26, + "componentType":5126, + "count":512, + "type":"VEC2" + }, + { + "bufferView":27, + "componentType":5123, + "count":960, + "type":"SCALAR" + }, + { + "bufferView":28, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":29, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":30, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":31, + "componentType":5123, + "count":6, + "type":"SCALAR" + }, + { + "bufferView":32, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":33, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":34, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":35, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":36, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":37, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":38, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":39, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":40, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":41, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":42, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":43, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":44, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":45, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":46, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":47, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":48, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":49, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":50, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":51, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":52, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":53, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":54, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":55, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":56, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":57, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":58, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":59, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":60, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":61, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":62, + "componentType":5126, + "count":382, + "max":[ + 7.082879543304443, + 7.372182846069336, + 8.422534942626953 + ], + "min":[ + -7.120436191558838, + -7.389974594116211, + -7.518895149230957 + ], + "type":"VEC3" + }, + { + "bufferView":63, + "componentType":5126, + "count":382, + "type":"VEC3" + }, + { + "bufferView":64, + "componentType":5126, + "count":382, + "type":"VEC2" + }, + { + "bufferView":65, + "componentType":5123, + "count":576, + "type":"SCALAR" + }, + { + "bufferView":66, + "componentType":5126, + "count":382, + "max":[ + 7.082879543304443, + 7.372182846069336, + 8.422534942626953 + ], + "min":[ + -7.120436191558838, + -7.389974594116211, + -7.518895149230957 + ], + "type":"VEC3" + }, + { + "bufferView":67, + "componentType":5126, + "count":382, + "type":"VEC3" + }, + { + "bufferView":68, + "componentType":5126, + "count":382, + "type":"VEC2" + }, + { + "bufferView":69, + "componentType":5126, + "count":382, + "max":[ + 7.082879543304443, + 7.372182846069336, + 8.422534942626953 + ], + "min":[ + -7.120436191558838, + -7.389974594116211, + -7.518895149230957 + ], + "type":"VEC3" + }, + { + "bufferView":70, + "componentType":5126, + "count":382, + "type":"VEC3" + }, + { + "bufferView":71, + "componentType":5126, + "count":382, + "type":"VEC2" + }, + { + "bufferView":72, + "componentType":5126, + "count":382, + "max":[ + 7.082879543304443, + 7.372182846069336, + 8.422534942626953 + ], + "min":[ + -7.120436191558838, + -7.389974594116211, + -7.518895149230957 + ], + "type":"VEC3" + }, + { + "bufferView":73, + "componentType":5126, + "count":382, + "type":"VEC3" + }, + { + "bufferView":74, + "componentType":5126, + "count":382, + "type":"VEC2" + }, + { + "bufferView":75, + "componentType":5126, + "count":382, + "max":[ + 7.082879543304443, + 7.372182846069336, + 8.422534942626953 + ], + "min":[ + -7.120436191558838, + -7.389974594116211, + -7.518895149230957 + ], + "type":"VEC3" + }, + { + "bufferView":76, + "componentType":5126, + "count":382, + "type":"VEC3" + }, + { + "bufferView":77, + "componentType":5126, + "count":382, + "type":"VEC2" + }, + { + "bufferView":78, + "componentType":5126, + "count":382, + "max":[ + 7.082879543304443, + 7.372182846069336, + 8.422534942626953 + ], + "min":[ + -7.120436191558838, + -7.389974594116211, + -7.518895149230957 + ], + "type":"VEC3" + }, + { + "bufferView":79, + "componentType":5126, + "count":382, + "type":"VEC3" + }, + { + "bufferView":80, + "componentType":5126, + "count":382, + "type":"VEC2" + }, + { + "bufferView":81, + "componentType":5126, + "count":382, + "max":[ + 7.082879543304443, + 7.372182846069336, + 8.422534942626953 + ], + "min":[ + -7.120436191558838, + -7.389974594116211, + -7.518895149230957 + ], + "type":"VEC3" + }, + { + "bufferView":82, + "componentType":5126, + "count":382, + "type":"VEC3" + }, + { + "bufferView":83, + "componentType":5126, + "count":382, + "type":"VEC2" + }, + { + "bufferView":84, + "componentType":5126, + "count":382, + "max":[ + 7.082879543304443, + 7.372182846069336, + 8.422534942626953 + ], + "min":[ + -7.120436191558838, + -7.389974594116211, + -7.518895149230957 + ], + "type":"VEC3" + }, + { + "bufferView":85, + "componentType":5126, + "count":382, + "type":"VEC3" + }, + { + "bufferView":86, + "componentType":5126, + "count":382, + "type":"VEC2" + }, + { + "bufferView":87, + "componentType":5126, + "count":382, + "max":[ + 7.082879543304443, + 7.372182846069336, + 8.422534942626953 + ], + "min":[ + -7.120436191558838, + -7.389974594116211, + -7.518895149230957 + ], + "type":"VEC3" + }, + { + "bufferView":88, + "componentType":5126, + "count":382, + "type":"VEC3" + }, + { + "bufferView":89, + "componentType":5126, + "count":382, + "type":"VEC2" + }, + { + "bufferView":90, + "componentType":5126, + "count":382, + "max":[ + 7.082879543304443, + 7.372182846069336, + 8.422534942626953 + ], + "min":[ + -7.120436191558838, + -7.389974594116211, + -7.518895149230957 + ], + "type":"VEC3" + }, + { + "bufferView":91, + "componentType":5126, + "count":382, + "type":"VEC3" + }, + { + "bufferView":92, + "componentType":5126, + "count":382, + "type":"VEC2" + }, + { + "bufferView":93, + "componentType":5126, + "count":382, + "max":[ + 7.082879543304443, + 7.372182846069336, + 8.422534942626953 + ], + "min":[ + -7.120436191558838, + -7.389974594116211, + -7.518895149230957 + ], + "type":"VEC3" + }, + { + "bufferView":94, + "componentType":5126, + "count":382, + "type":"VEC3" + }, + { + "bufferView":95, + "componentType":5126, + "count":382, + "type":"VEC2" + }, + { + "bufferView":96, + "componentType":5126, + "count":382, + "max":[ + 7.082879543304443, + 7.372182846069336, + 8.422534942626953 + ], + "min":[ + -7.120436191558838, + -7.389974594116211, + -7.518895149230957 + ], + "type":"VEC3" + }, + { + "bufferView":97, + "componentType":5126, + "count":382, + "type":"VEC3" + }, + { + "bufferView":98, + "componentType":5126, + "count":382, + "type":"VEC2" + }, + { + "bufferView":99, + "componentType":5126, + "count":382, + "max":[ + 7.082879543304443, + 7.372182846069336, + 8.422534942626953 + ], + "min":[ + -7.120436191558838, + -7.389974594116211, + -7.518895149230957 + ], + "type":"VEC3" + }, + { + "bufferView":100, + "componentType":5126, + "count":382, + "type":"VEC3" + }, + { + "bufferView":101, + "componentType":5126, + "count":382, + "type":"VEC2" + }, + { + "bufferView":102, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":103, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":104, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":105, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":106, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":107, + "componentType":5126, + "count":4, + "type":"VEC2" + }, + { + "bufferView":108, + "componentType":5126, + "count":4, + "max":[ + 1, + 0, + 1 + ], + "min":[ + -1, + 0, + -1 + ], + "type":"VEC3" + }, + { + "bufferView":109, + "componentType":5126, + "count":4, + "type":"VEC3" + }, + { + "bufferView":110, + "componentType":5126, + "count":4, + "type":"VEC2" + } + ], + "bufferViews":[ + { + "buffer":0, + "byteLength":7680, + "byteOffset":0, + "target":34962 + }, + { + "buffer":0, + "byteLength":7680, + "byteOffset":7680, + "target":34962 + }, + { + "buffer":0, + "byteLength":5120, + "byteOffset":15360, + "target":34962 + }, + { + "buffer":0, + "byteLength":2688, + "byteOffset":20480, + "target":34963 + }, + { + "buffer":0, + "byteLength":2304, + "byteOffset":23168, + "target":34962 + }, + { + "buffer":0, + "byteLength":2304, + "byteOffset":25472, + "target":34962 + }, + { + "buffer":0, + "byteLength":1536, + "byteOffset":27776, + "target":34962 + }, + { + "buffer":0, + "byteLength":744, + "byteOffset":29312, + "target":34963 + }, + { + "buffer":0, + "byteLength":288, + "byteOffset":30056, + "target":34962 + }, + { + "buffer":0, + "byteLength":288, + "byteOffset":30344, + "target":34962 + }, + { + "buffer":0, + "byteLength":192, + "byteOffset":30632, + "target":34962 + }, + { + "buffer":0, + "byteLength":72, + "byteOffset":30824, + "target":34963 + }, + { + "buffer":0, + "byteLength":4608, + "byteOffset":30896, + "target":34962 + }, + { + "buffer":0, + "byteLength":4608, + "byteOffset":35504, + "target":34962 + }, + { + "buffer":0, + "byteLength":3072, + "byteOffset":40112, + "target":34962 + }, + { + "buffer":0, + "byteLength":1512, + "byteOffset":43184, + "target":34963 + }, + { + "buffer":0, + "byteLength":4608, + "byteOffset":44696, + "target":34962 + }, + { + "buffer":0, + "byteLength":4608, + "byteOffset":49304, + "target":34962 + }, + { + "buffer":0, + "byteLength":3072, + "byteOffset":53912, + "target":34962 + }, + { + "buffer":0, + "byteLength":1536, + "byteOffset":56984, + "target":34963 + }, + { + "buffer":0, + "byteLength":672, + "byteOffset":58520, + "target":34962 + }, + { + "buffer":0, + "byteLength":672, + "byteOffset":59192, + "target":34962 + }, + { + "buffer":0, + "byteLength":448, + "byteOffset":59864, + "target":34962 + }, + { + "buffer":0, + "byteLength":168, + "byteOffset":60312, + "target":34963 + }, + { + "buffer":0, + "byteLength":6144, + "byteOffset":60480, + "target":34962 + }, + { + "buffer":0, + "byteLength":6144, + "byteOffset":66624, + "target":34962 + }, + { + "buffer":0, + "byteLength":4096, + "byteOffset":72768, + "target":34962 + }, + { + "buffer":0, + "byteLength":1920, + "byteOffset":76864, + "target":34963 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":78784, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":78832, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":78880, + "target":34962 + }, + { + "buffer":0, + "byteLength":12, + "byteOffset":78912, + "target":34963 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":78924, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":78972, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":79020, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79052, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79100, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":79148, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79180, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79228, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":79276, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79308, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79356, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":79404, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79436, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79484, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":79532, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79564, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79612, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":79660, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79692, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79740, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":79788, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79820, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79868, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":79916, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79948, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":79996, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":80044, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":80076, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":80124, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":80172, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":80204, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":84788, + "target":34962 + }, + { + "buffer":0, + "byteLength":3056, + "byteOffset":89372, + "target":34962 + }, + { + "buffer":0, + "byteLength":1152, + "byteOffset":92428, + "target":34963 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":93580, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":98164, + "target":34962 + }, + { + "buffer":0, + "byteLength":3056, + "byteOffset":102748, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":105804, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":110388, + "target":34962 + }, + { + "buffer":0, + "byteLength":3056, + "byteOffset":114972, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":118028, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":122612, + "target":34962 + }, + { + "buffer":0, + "byteLength":3056, + "byteOffset":127196, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":130252, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":134836, + "target":34962 + }, + { + "buffer":0, + "byteLength":3056, + "byteOffset":139420, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":142476, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":147060, + "target":34962 + }, + { + "buffer":0, + "byteLength":3056, + "byteOffset":151644, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":154700, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":159284, + "target":34962 + }, + { + "buffer":0, + "byteLength":3056, + "byteOffset":163868, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":166924, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":171508, + "target":34962 + }, + { + "buffer":0, + "byteLength":3056, + "byteOffset":176092, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":179148, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":183732, + "target":34962 + }, + { + "buffer":0, + "byteLength":3056, + "byteOffset":188316, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":191372, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":195956, + "target":34962 + }, + { + "buffer":0, + "byteLength":3056, + "byteOffset":200540, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":203596, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":208180, + "target":34962 + }, + { + "buffer":0, + "byteLength":3056, + "byteOffset":212764, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":215820, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":220404, + "target":34962 + }, + { + "buffer":0, + "byteLength":3056, + "byteOffset":224988, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":228044, + "target":34962 + }, + { + "buffer":0, + "byteLength":4584, + "byteOffset":232628, + "target":34962 + }, + { + "buffer":0, + "byteLength":3056, + "byteOffset":237212, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":240268, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":240316, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":240364, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":240396, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":240444, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":240492, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":240524, + "target":34962 + }, + { + "buffer":0, + "byteLength":48, + "byteOffset":240572, + "target":34962 + }, + { + "buffer":0, + "byteLength":32, + "byteOffset":240620, + "target":34962 + } + ], + "samplers":[ + { + "magFilter":9729, + "minFilter":9987 + } + ], + "buffers":[ + { + "byteLength":240652, + "uri":"map_beta.bin" + } + ] +} diff --git a/assets/maps/map_beta/pad.png b/assets/maps/map_beta/pad.png new file mode 100644 index 0000000..c39d615 Binary files /dev/null and b/assets/maps/map_beta/pad.png differ diff --git a/core/src/main/java/kz/ilotterytea/frogartha/assets/Assets.java b/core/src/main/java/kz/ilotterytea/frogartha/assets/Assets.java index 0ad53f2..0284a8c 100644 --- a/core/src/main/java/kz/ilotterytea/frogartha/assets/Assets.java +++ b/core/src/main/java/kz/ilotterytea/frogartha/assets/Assets.java @@ -10,4 +10,8 @@ public class Assets { public static final String SPRITE_LOGO = "sprites/gui/logo.png"; public static final String SPRITE_ILOTTERYTEA = "sprites/gui/ilotterytea.png"; } + + public static class Maps { + public static final String MAP_BETA = "maps/map_beta/map_beta.gltf"; + } } diff --git a/core/src/main/java/kz/ilotterytea/frogartha/screens/GameScreen.java b/core/src/main/java/kz/ilotterytea/frogartha/screens/GameScreen.java index 73e8f49..801f8dd 100644 --- a/core/src/main/java/kz/ilotterytea/frogartha/screens/GameScreen.java +++ b/core/src/main/java/kz/ilotterytea/frogartha/screens/GameScreen.java @@ -4,13 +4,8 @@ import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.*; -import com.badlogic.gdx.graphics.g3d.Material; -import com.badlogic.gdx.graphics.g3d.Model; -import com.badlogic.gdx.graphics.g3d.ModelInstance; -import com.badlogic.gdx.graphics.g3d.attributes.ColorAttribute; import com.badlogic.gdx.graphics.g3d.decals.CameraGroupStrategy; import com.badlogic.gdx.graphics.g3d.decals.DecalBatch; -import com.badlogic.gdx.graphics.g3d.utils.ModelBuilder; import com.badlogic.gdx.math.Vector3; import com.badlogic.gdx.scenes.scene2d.Stage; import com.badlogic.gdx.scenes.scene2d.ui.Skin; @@ -28,6 +23,7 @@ import net.mgsx.gltf.scene3d.attributes.PBRTextureAttribute; import net.mgsx.gltf.scene3d.lights.DirectionalShadowLight; import net.mgsx.gltf.scene3d.lights.PointLightEx; import net.mgsx.gltf.scene3d.scene.Scene; +import net.mgsx.gltf.scene3d.scene.SceneAsset; import net.mgsx.gltf.scene3d.scene.SceneManager; import net.mgsx.gltf.scene3d.scene.SceneSkybox; import net.mgsx.gltf.scene3d.utils.IBLBuilder; @@ -135,13 +131,8 @@ public class GameScreen implements Screen { private void create3D() { sceneManager = new SceneManager(); - // Building a dummy scene - ModelBuilder modelBuilder = new ModelBuilder(); - Model plane = modelBuilder.createBox(20f, 1f, 20f, new Material(ColorAttribute.createDiffuse(Color.LIME)), - VertexAttributes.Usage.Position | VertexAttributes.Usage.Normal); - Scene planeScene = new Scene(new ModelInstance(plane)); - planeScene.modelInstance.transform.translate(0f, -1f, 0f); - sceneManager.addScene(planeScene); + SceneAsset asset = game.getAssetManager().get(Assets.Maps.MAP_BETA); + sceneManager.addScene(new Scene(asset.scene)); camera = new PerspectiveCamera(60f, Gdx.graphics.getWidth(), Gdx.graphics.getHeight()); camera.near = 1f; -- cgit v1.2.3