Skip to content

Commit 07fe312

Browse files
Merge pull request #42 from posecode-dev/feat/ship-jumping-jacks-clip
fix(showcase): commit jumping-jacks clip so the Mixamo hero works in production
2 parents 2bd43e0 + cb68ac2 commit 07fe312

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@ coverage/
1111
playground/public/clips/*.fbx
1212
playground/public/clips/*.glb
1313
playground/public/clips/.DS_Store
14+
# Exception: the jumping-jacks showcase clip is committed so Vercel serves it
15+
# directly (like public/models/character.glb). Prod has no /clips CDN, so an
16+
# ignored clip 404s and silently falls back to procedural. Keep the other large
17+
# Mixamo clips ignored — they're unused on the marketing surfaces.
18+
!playground/public/clips/jumping-jacks.fbx
374 KB
Binary file not shown.

playground/src/clips.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
* marketing surfaces, while the procedural DSL stays the source of truth for
66
* every un-clipped movement.
77
*
8-
* The FBX binaries live in `public/clips/` (gitignored, served from storage/CDN
9-
* in production). A movement plays its clip only when it declares `clip "<name>"`
10-
* AND the skinned character is active; anything missing falls back to procedural.
8+
* The FBX binaries live in `public/clips/`. The `jumping-jacks` showcase clip is
9+
* committed so Vercel serves it directly (production has no /clips CDN rewrite);
10+
* the other, unused clips stay gitignored. A movement plays its clip only when it
11+
* declares `clip "<name>"` AND the skinned character is active; anything missing
12+
* (e.g. an un-committed clip that 404s in prod) falls back to procedural.
1113
*/
1214
export const SHOWCASE_CLIPS: Record<string, string> = {
1315
walk: "/clips/walk.fbx",

0 commit comments

Comments
 (0)