Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

add shark video previews and final animations. New rig with one bone.

Scott Petrovic7628eddc04e4
diff --git a/src/lib/RigConfig.ts b/src/lib/RigConfig.ts
index 0002312..2921e07 100644
--- a/src/lib/RigConfig.ts
+++ b/src/lib/RigConfig.ts
@@ -236,7 +236,7 @@ export class RigConfig {
rig_file: 'rigs/rig-shark.glb',
rig_display_name: 'Fish',
animation_files: ['../animations/shark-animations.glb'],
- animation_preview_folder: 'fish',
+ animation_preview_folder: 'shark',
has_hand_options: false,
has_head_weight_correction: false,
has_arm_extension: false,
diff --git a/static/animations/shark-animations.glb b/static/animations/shark-animations.glb
index 78191db..7f55fd4 100644
Binary files a/static/animations/shark-animations.glb and b/static/animations/shark-animations.glb differ
diff --git a/static/animpreviews/shark/dark_Bite.webm b/static/animpreviews/shark/dark_Bite.webm
new file mode 100644
index 0000000..6ca4548
Binary files /dev/null and b/static/animpreviews/shark/dark_Bite.webm differ
diff --git a/static/animpreviews/shark/dark_Dead Floating.webm b/static/animpreviews/shark/dark_Dead Floating.webm
new file mode 100644
index 0000000..04b2821
Binary files /dev/null and b/static/animpreviews/shark/dark_Dead Floating.webm differ
diff --git a/static/animpreviews/shark/dark_Hit.webm b/static/animpreviews/shark/dark_Hit.webm
new file mode 100644
index 0000000..317adbe
Binary files /dev/null and b/static/animpreviews/shark/dark_Hit.webm differ
diff --git a/static/animpreviews/shark/dark_Idle.webm b/static/animpreviews/shark/dark_Idle.webm
new file mode 100644
index 0000000..e6dbee1
Binary files /dev/null and b/static/animpreviews/shark/dark_Idle.webm differ
diff --git a/static/animpreviews/shark/dark_Rest Pose.webm b/static/animpreviews/shark/dark_Rest Pose.webm
new file mode 100644
index 0000000..994ce61
Binary files /dev/null and b/static/animpreviews/shark/dark_Rest Pose.webm differ
diff --git a/static/animpreviews/shark/dark_Swim Horizontal.webm b/static/animpreviews/shark/dark_Swim Horizontal.webm
new file mode 100644
index 0000000..9b28096
Binary files /dev/null and b/static/animpreviews/shark/dark_Swim Horizontal.webm differ
diff --git a/static/animpreviews/shark/dark_Swim Vertical.webm b/static/animpreviews/shark/dark_Swim Vertical.webm
new file mode 100644
index 0000000..c7f9772
Binary files /dev/null and b/static/animpreviews/shark/dark_Swim Vertical.webm differ
diff --git a/static/animpreviews/shark/light_Bite.webm b/static/animpreviews/shark/light_Bite.webm
new file mode 100644
index 0000000..f7afa89
Binary files /dev/null and b/static/animpreviews/shark/light_Bite.webm differ
diff --git a/static/animpreviews/shark/light_Dead Floating.webm b/static/animpreviews/shark/light_Dead Floating.webm
new file mode 100644
index 0000000..1976e28
Binary files /dev/null and b/static/animpreviews/shark/light_Dead Floating.webm differ
diff --git a/static/animpreviews/shark/light_Hit.webm b/static/animpreviews/shark/light_Hit.webm
new file mode 100644
index 0000000..7b8c5fe
Binary files /dev/null and b/static/animpreviews/shark/light_Hit.webm differ
diff --git a/static/animpreviews/shark/light_Idle.webm b/static/animpreviews/shark/light_Idle.webm
new file mode 100644
index 0000000..4a6b47b
Binary files /dev/null and b/static/animpreviews/shark/light_Idle.webm differ
diff --git a/static/animpreviews/shark/light_Rest Pose.webm b/static/animpreviews/shark/light_Rest Pose.webm
new file mode 100644
index 0000000..02045f1
Binary files /dev/null and b/static/animpreviews/shark/light_Rest Pose.webm differ
diff --git a/static/animpreviews/shark/light_Swim Horizontal.webm b/static/animpreviews/shark/light_Swim Horizontal.webm
new file mode 100644
index 0000000..6fb4085
Binary files /dev/null and b/static/animpreviews/shark/light_Swim Horizontal.webm differ
diff --git a/static/animpreviews/shark/light_Swim Vertical.webm b/static/animpreviews/shark/light_Swim Vertical.webm
new file mode 100644
index 0000000..649755d
Binary files /dev/null and b/static/animpreviews/shark/light_Swim Vertical.webm differ
diff --git a/static/rigs/rig-shark.glb b/static/rigs/rig-shark.glb
index 029a178..7fb5429 100644
Binary files a/static/rigs/rig-shark.glb and b/static/rigs/rig-shark.glb differ