Import a 3D Model and automatically assign and export animations
TypeScript
GLB and GLTF can be uploaded. Just use one human example for model
Scott Petrovic7323ce755f3f
diff --git a/src/index.html b/src/index.htmlindex 772c472..5901d55 100644--- a/src/index.html+++ b/src/index.html@@ -38,12 +38,12 @@<div id="load-model-tools">- <p class="step-instructions">Only GLTF files can be loaded. Models with multiple objects won't be rigged correct.</p>+ <p class="step-instructions">Supports GLTF or GLB files. Models with multiple objects currently aren't supported.</p><label for="model-upload" class="button" ><span class="button-icon-group"><span class="material-symbols-outlined" >upload</span>- <span>Upload GLTF</span>+ <span>Upload GLTF/GLB</span></span></label><input id="model-upload" type="file" name="file-upload" accept=".glb, .gltf" />@@ -53,9 +53,8 @@<div style="display: flex; flex-direction: column; gap: 1rem; background-color: #0f2f3d; padding: 1rem;"><p style="margin: 0">Upload sample model:</p><select id="model-selection">- <option value="models/human-simple.glb">Human Cartoon</option>+ <option value="models/human-mannequin.glb">Human Mannequin</option><option value="models/fox.glb">Fox</option>- <option value="models/mesh-x-bot.glb">X Bot</option></select><button id="load-model-button">Load</button></div>diff --git a/static/models/character.glb b/static/models/character.glbdeleted file mode 100644index ad9f1c5..0000000Binary files a/static/models/character.glb and /dev/null differdiff --git a/static/models/character.png b/static/models/character.pngdeleted file mode 100644index d58986e..0000000Binary files a/static/models/character.png and /dev/null differdiff --git a/static/models/human-mannequin.glb b/static/models/human-mannequin.glbnew file mode 100644index 0000000..cae9cc5Binary files /dev/null and b/static/models/human-mannequin.glb differdiff --git a/static/models/human-simple.glb b/static/models/human-simple.glbdeleted file mode 100644index e44b560..0000000Binary files a/static/models/human-simple.glb and /dev/null differdiff --git a/static/models/mesh-x-bot.glb b/static/models/mesh-x-bot.glbdeleted file mode 100644index 2adc38b..0000000Binary files a/static/models/mesh-x-bot.glb and /dev/null differdiff --git a/static/models/multi-mesh-man.glb b/static/models/reference-multi-mesh-man.glbsimilarity index 100%rename from static/models/multi-mesh-man.glbrename to static/models/reference-multi-mesh-man.glbdiff --git a/static/models/sample-multi-mesh-skin.glb b/static/models/reference-multi-mesh-skin-example.glbsimilarity index 100%rename from static/models/sample-multi-mesh-skin.glbrename to static/models/reference-multi-mesh-skin-example.glb