Skip to content

Commit cb68ac2

Browse files
committed
fix(showcase): commit jumping-jacks clip so the Mixamo hero works in production
The Mixamo hero/playground clip never actually played in production: the .fbx files are gitignored and there is no /clips CDN rewrite in vercel.json, so /clips/jumping-jacks.fbx 404s and silently falls back to procedural. (Verified: prod /clips/jumping-jacks.fbx -> 404, while the committed /models/character.glb -> 200.) Fix mirrors how character.glb is already handled — commit the single clip the marketing surfaces use so Vercel serves it directly: - .gitignore: negate the ignore for jumping-jacks.fbx only; the other five large, unused Mixamo clips stay ignored - playground/public/clips/jumping-jacks.fbx: committed (375 KB, smaller than the already-committed 702 KB character.glb) - playground/src/clips.ts: correct the stale 'served from CDN' comment No CDN/infra required. typecheck, build, and tests all pass; the clip is emitted into playground/dist/clips/ by the build.
1 parent 2bd43e0 commit cb68ac2

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)