Import a 3D Model and automatically assign and export animations
TypeScript
starting to update dragon animations a bit. do fix for fox rig and script
Scott Petrovic1e05bb31bb91
diff --git a/static/animations/dragon-animations.glb b/static/animations/dragon-animations.glbindex 5c7630b..4034d8e 100644Binary files a/static/animations/dragon-animations.glb and b/static/animations/dragon-animations.glb differdiff --git a/static/animations/quad-creature-animations.glb b/static/animations/quad-creature-animations.glbindex 120bd7a..035dba0 100644Binary files a/static/animations/quad-creature-animations.glb and b/static/animations/quad-creature-animations.glb differdiff --git a/static/blender/rigs/combine-and-export.py b/static/blender/rigs/combine-and-export.pyindex 7bf6fc0..80b888d 100644--- a/static/blender/rigs/combine-and-export.py+++ b/static/blender/rigs/combine-and-export.py@@ -20,7 +20,7 @@ import osbase_dir = r"C:\git\ModelMotionizer\static\blender\rigs"# Define the rig type/folder-rig_type = "dragon"+rig_type = "fox"# DO NOT NEED TO CHANGE BELOW THIS LINE@@ -55,4 +55,5 @@ bpy.ops.export_scene.gltf(export_yup=True, # Blender uses Z-up, three.js uses Y-upexport_def_bones=True, # only export deformation bonesuse_visible=True, # hides bone shape collection objects+ export_frame_range=True, # limit to playback range set in timeline (helps with looping))\ No newline at end of filediff --git a/static/blender/rigs/dragon/animation-dragon-idle-v2.blend b/static/blender/rigs/dragon/animation-dragon-idle-v2.blendindex fe83c22..e2987a1 100644Binary files a/static/blender/rigs/dragon/animation-dragon-idle-v2.blend and b/static/blender/rigs/dragon/animation-dragon-idle-v2.blend differdiff --git a/static/blender/rigs/dragon/animation-dragon-walk-v2.blend b/static/blender/rigs/dragon/animation-dragon-walk-v2.blendindex 0af91fd..3f71684 100644Binary files a/static/blender/rigs/dragon/animation-dragon-walk-v2.blend and b/static/blender/rigs/dragon/animation-dragon-walk-v2.blend differdiff --git a/static/blender/rigs/dragon/rig-dragon-v2.blend b/static/blender/rigs/dragon/rig-dragon-v2.blendindex e00fdb6..f67f8d6 100644Binary files a/static/blender/rigs/dragon/rig-dragon-v2.blend and b/static/blender/rigs/dragon/rig-dragon-v2.blend differdiff --git a/static/blender/rigs/fox/animation-fox-run-v2 .blend b/static/blender/rigs/fox/animation-fox-run-v2 .blendindex 26525cc..37a9463 100644Binary files a/static/blender/rigs/fox/animation-fox-run-v2 .blend and b/static/blender/rigs/fox/animation-fox-run-v2 .blend differdiff --git a/static/blender/rigs/fox/animation-fox-walk-v2.blend b/static/blender/rigs/fox/animation-fox-walk-v2.blendindex 3a7c1fc..9e43ac8 100644Binary files a/static/blender/rigs/fox/animation-fox-walk-v2.blend and b/static/blender/rigs/fox/animation-fox-walk-v2.blend differdiff --git a/static/blender/rigs/fox/rig-fox-v2.blend b/static/blender/rigs/fox/rig-fox-v2.blendindex 7d6747a..e61fe98 100644Binary files a/static/blender/rigs/fox/rig-fox-v2.blend and b/static/blender/rigs/fox/rig-fox-v2.blend differdiff --git a/static/rigs/rig-dragon.glb b/static/rigs/rig-dragon.glbindex c816db6..29918d1 100644Binary files a/static/rigs/rig-dragon.glb and b/static/rigs/rig-dragon.glb differ