diff --git a/model-viewer/background.png b/model-viewer/background.png deleted file mode 100644 index c85fbcd1a0a7ceeafef55186bdc2d6c6d03a6e34..0000000000000000000000000000000000000000 Binary files a/model-viewer/background.png and /dev/null differ diff --git a/model-viewer/index.html b/model-viewer/index.html index a36edad6c450354e84bda6d021900201ef9859f7..e2191209a50d9bc42f46554e063cd7e1d53b5632 100644 --- a/model-viewer/index.html +++ b/model-viewer/index.html @@ -90,7 +90,7 @@ <body> <template id="template-one"> <model-viewer - src="./statut1/jambe_gauche.gltf" + src="./statut1/Sculpture1_decimate.gltf" id="model-one" ar shadow-intensity="1" @@ -118,7 +118,7 @@ </template> <template id="template-two"> <model-viewer - src="./statut2/Downgrade_sculpture2.gltf" + src="./statut2/Sculpture2_decimate.gltf" id="model-two" ar shadow-intensity="1" diff --git a/model-viewer/statut1/Sculpture1_decimate.bin b/model-viewer/statut1/Sculpture1_decimate.bin new file mode 100644 index 0000000000000000000000000000000000000000..fd77a705fae9156b90440787306f28c515f7676f Binary files /dev/null and b/model-viewer/statut1/Sculpture1_decimate.bin differ diff --git a/model-viewer/statut1/Sculpture1_decimate.gltf b/model-viewer/statut1/Sculpture1_decimate.gltf new file mode 100644 index 0000000000000000000000000000000000000000..bbb00ca5b907b23c46c7aeee84f8ccbd2c0a2e8c --- /dev/null +++ b/model-viewer/statut1/Sculpture1_decimate.gltf @@ -0,0 +1,202 @@ +{ + "asset":{ + "generator":"Khronos glTF Blender I/O v3.6.27", + "version":"2.0" + }, + "scene":0, + "scenes":[ + { + "name":"Scene", + "nodes":[ + 0, + 1 + ] + } + ], + "nodes":[ + { + "mesh":0, + "name":"Jungling_Vom_Magdalensberg", + "rotation":[ + 0.5, + -0.5, + 0.5, + 0.5000000596046448 + ], + "scale":[ + 0.001107877353206277, + 0.001107877353206277, + 0.001107877353206277 + ] + }, + { + "mesh":1, + "name":"Torse_mesh", + "rotation":[ + 0.7071068286895752, + 0, + 0, + 0.7071068286895752 + ], + "scale":[ + 0.0010392917320132256, + 0.0010392917320132256, + 0.0010392917320132256 + ] + } + ], + "meshes":[ + { + "name":"Jungling_Vom_Magdalensberg", + "primitives":[ + { + "attributes":{ + "COLOR_0":0, + "POSITION":1, + "NORMAL":2 + }, + "indices":3 + } + ] + }, + { + "name":"Torse_mesh.002", + "primitives":[ + { + "attributes":{ + "COLOR_0":4, + "POSITION":5, + "NORMAL":6 + }, + "indices":7 + } + ] + } + ], + "accessors":[ + { + "bufferView":0, + "componentType":5126, + "count":9675, + "type":"VEC4" + }, + { + "bufferView":1, + "componentType":5126, + "count":9675, + "max":[ + 251.6977996826172, + -14.3077392578125, + 1.3032934665679932 + ], + "min":[ + -157.17002868652344, + -313.55950927734375, + -775.2251586914062 + ], + "type":"VEC3" + }, + { + "bufferView":2, + "componentType":5126, + "count":9675, + "type":"VEC3" + }, + { + "bufferView":3, + "componentType":5123, + "count":57096, + "type":"SCALAR" + }, + { + "bufferView":4, + "componentType":5126, + "count":16551, + "type":"VEC4" + }, + { + "bufferView":5, + "componentType":5126, + "count":16551, + "max":[ + -81.65076446533203, + 121.55081176757812, + -791.23388671875 + ], + "min":[ + -419.4750671386719, + -125.2350845336914, + -1470.4976806640625 + ], + "type":"VEC3" + }, + { + "bufferView":6, + "componentType":5126, + "count":16551, + "type":"VEC3" + }, + { + "bufferView":7, + "componentType":5123, + "count":100815, + "type":"SCALAR" + } + ], + "bufferViews":[ + { + "buffer":0, + "byteLength":154800, + "byteOffset":0, + "target":34962 + }, + { + "buffer":0, + "byteLength":116100, + "byteOffset":154800, + "target":34962 + }, + { + "buffer":0, + "byteLength":116100, + "byteOffset":270900, + "target":34962 + }, + { + "buffer":0, + "byteLength":114192, + "byteOffset":387000, + "target":34963 + }, + { + "buffer":0, + "byteLength":264816, + "byteOffset":501192, + "target":34962 + }, + { + "buffer":0, + "byteLength":198612, + "byteOffset":766008, + "target":34962 + }, + { + "buffer":0, + "byteLength":198612, + "byteOffset":964620, + "target":34962 + }, + { + "buffer":0, + "byteLength":201630, + "byteOffset":1163232, + "target":34963 + } + ], + "buffers":[ + { + "byteLength":1364864, + "uri":"Sculpture1_decimate.bin" + } + ] +} diff --git a/model-viewer/statut2/Sculpture2_decimate.bin b/model-viewer/statut2/Sculpture2_decimate.bin new file mode 100644 index 0000000000000000000000000000000000000000..df7a06832d0da9f90223a4c3a90051708a6ec059 Binary files /dev/null and b/model-viewer/statut2/Sculpture2_decimate.bin differ diff --git a/model-viewer/statut2/Sculpture2_decimate.gltf b/model-viewer/statut2/Sculpture2_decimate.gltf new file mode 100644 index 0000000000000000000000000000000000000000..44e6babf389f13c7949d9b6c68d1050711b6a5fc --- /dev/null +++ b/model-viewer/statut2/Sculpture2_decimate.gltf @@ -0,0 +1,267 @@ +{ + "asset":{ + "generator":"Khronos glTF Blender I/O v3.6.27", + "version":"2.0" + }, + "scene":0, + "scenes":[ + { + "name":"Scene", + "nodes":[ + 0, + 1, + 2 + ] + } + ], + "nodes":[ + { + "mesh":0, + "name":"body_model_with_landmarks", + "rotation":[ + 0.7071068286895752, + 0, + 0, + 0.7071068286895752 + ], + "scale":[ + 0.010265141725540161, + 0.010265141725540161, + 0.010265141725540161 + ] + }, + { + "mesh":1, + "name":"Ventre cool_tex", + "rotation":[ + -0.7071065902709961, + 0, + 0, + 0.7071069478988647 + ], + "scale":[ + -0.0009374108049087226, + -0.0009374108049087226, + -0.0009374108049087226 + ] + }, + { + "mesh":2, + "name":"Bras cool_tex", + "rotation":[ + -0.49999988079071045, + -0.5000001192092896, + -0.49999988079071045, + 0.5000001192092896 + ], + "scale":[ + -0.0008092784555628896, + -0.0008092784555628896, + -0.0008092784555628896 + ] + } + ], + "materials":[ + { + "doubleSided":true, + "name":"Default OBJ", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0.800000011920929, + 0.800000011920929, + 0.800000011920929, + 1 + ], + "metallicFactor":0, + "roughnessFactor":0.5 + } + } + ], + "meshes":[ + { + "name":"body_model_with_landmarks", + "primitives":[ + { + "attributes":{ + "POSITION":0, + "NORMAL":1 + }, + "indices":2, + "material":0 + } + ] + }, + { + "name":"Ventre cool_tex", + "primitives":[ + { + "attributes":{ + "POSITION":3, + "NORMAL":4 + }, + "indices":5 + } + ] + }, + { + "name":"Bras cool_tex", + "primitives":[ + { + "attributes":{ + "POSITION":6, + "NORMAL":7 + }, + "indices":8 + } + ] + } + ], + "accessors":[ + { + "bufferView":0, + "componentType":5126, + "count":28779, + "max":[ + 20.597841262817383, + 9.185746192932129, + -12.412147521972656 + ], + "min":[ + 1.192683219909668, + -13.97519302368164, + -87.45427703857422 + ], + "type":"VEC3" + }, + { + "bufferView":1, + "componentType":5126, + "count":28779, + "type":"VEC3" + }, + { + "bufferView":2, + "componentType":5123, + "count":28803, + "type":"SCALAR" + }, + { + "bufferView":3, + "componentType":5126, + "count":50653, + "max":[ + 166.6585235595703, + 103.7428970336914, + -1071.2015380859375 + ], + "min":[ + -146.91461181640625, + -108.12612915039062, + -1306.0753173828125 + ], + "type":"VEC3" + }, + { + "bufferView":4, + "componentType":5126, + "count":50653, + "type":"VEC3" + }, + { + "bufferView":5, + "componentType":5123, + "count":345261, + "type":"SCALAR" + }, + { + "bufferView":6, + "componentType":5126, + "count":40181, + "max":[ + 204.6406707763672, + 490.2151794433594, + -1805.755126953125 + ], + "min":[ + -16.26344871520996, + 173.3177490234375, + -2102.13037109375 + ], + "type":"VEC3" + }, + { + "bufferView":7, + "componentType":5126, + "count":40181, + "type":"VEC3" + }, + { + "bufferView":8, + "componentType":5123, + "count":255615, + "type":"SCALAR" + } + ], + "bufferViews":[ + { + "buffer":0, + "byteLength":345348, + "byteOffset":0, + "target":34962 + }, + { + "buffer":0, + "byteLength":345348, + "byteOffset":345348, + "target":34962 + }, + { + "buffer":0, + "byteLength":57606, + "byteOffset":690696, + "target":34963 + }, + { + "buffer":0, + "byteLength":607836, + "byteOffset":748304, + "target":34962 + }, + { + "buffer":0, + "byteLength":607836, + "byteOffset":1356140, + "target":34962 + }, + { + "buffer":0, + "byteLength":690522, + "byteOffset":1963976, + "target":34963 + }, + { + "buffer":0, + "byteLength":482172, + "byteOffset":2654500, + "target":34962 + }, + { + "buffer":0, + "byteLength":482172, + "byteOffset":3136672, + "target":34962 + }, + { + "buffer":0, + "byteLength":511230, + "byteOffset":3618844, + "target":34963 + } + ], + "buffers":[ + { + "byteLength":4130076, + "uri":"Sculpture2_decimate.bin" + } + ] +}