Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ coverage/
playground/public/clips/*.fbx
playground/public/clips/*.glb
playground/public/clips/.DS_Store
# Exception: the jumping-jacks showcase clip is committed so Vercel serves it
# directly (like public/models/character.glb). Prod has no /clips CDN, so an
# ignored clip 404s and silently falls back to procedural. Keep the other large
# Mixamo clips ignored — they're unused on the marketing surfaces.
!playground/public/clips/jumping-jacks.fbx
Binary file added playground/public/clips/jumping-jacks.fbx
Binary file not shown.
8 changes: 5 additions & 3 deletions playground/src/clips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
* marketing surfaces, while the procedural DSL stays the source of truth for
* every un-clipped movement.
*
* The FBX binaries live in `public/clips/` (gitignored, served from storage/CDN
* in production). A movement plays its clip only when it declares `clip "<name>"`
* AND the skinned character is active; anything missing falls back to procedural.
* The FBX binaries live in `public/clips/`. The `jumping-jacks` showcase clip is
* committed so Vercel serves it directly (production has no /clips CDN rewrite);
* the other, unused clips stay gitignored. A movement plays its clip only when it
* declares `clip "<name>"` AND the skinned character is active; anything missing
* (e.g. an un-committed clip that 404s in prod) falls back to procedural.
*/
export const SHOWCASE_CLIPS: Record<string, string> = {
walk: "/clips/walk.fbx",
Expand Down
Loading