What You Will Build & Master
- Engineer 2D concepts, 4-view 40° A-pose turnarounds, pre-rig UV-safe decimation (2M to 35K tris), and headless Blender 5.2+ weight/finger/facial blink scripts.
- Apply the Universal Hero and Weapon Axis Contract (M_tail sockets, BladeBase/BladeTip markers, chroma-keyed rune emissives) and adaptive Web Audio foley.
- Architect single-AnimationMixer ownership across 234 CC0 1.0 clips with stride-warped 1D blend trees, gait phase sync, and the 5 Golden Continuity Laws.
- Implement bind-measured analytical solveHinge IK, anti-skate Foot-Lock, 13-obstacle parkour, strike-window sword ribbons, 80 ms hitstop, Verlet cloth & PS5 DualSense haptics.
Table of Contents (22 Chapters)Ch. 1 Free
RigMetrics, TorsoArmRepulsion, solveHinge, and headless Blender 5.2+ repair scripts) document the exact production architecture powering the interactive CharacterForge Motion browser sandbox. Chapters 1–13 cover the end-to-end 2D-to-3D character, rigging, weapon, facial blink & audio pipeline; Chapters 14–22 cover the live runtime locomotion, IK, parkour, combat, cloth & DualSense engine.1. End-to-End Pipeline Architecture, Philosophy & Production Budgets
Building a production-grade animated 3D game character from a single 2D idea fails in one predictable place: treating art generation, 3D modeling, rigging, and runtime animation as disconnected silos. A belt pouch drawn 3 cm too wide in 2D changes arm-swing collision physics in Walk cycles; a missing back-view potion causes 3D hallucination; feeding a raw 1.9M-triangle sculpt into an auto-rigger collapses a 5-finger hand into a 3-finger mitten; and a 0.1 mm branch switch in a runtime solver produces a visible shoulder twitch every half-second.
This handbook treats the entire pipeline as one continuous spatial contract:
1.1 Production Asset & Performance Budgets
Every asset entering the real-time engine MUST satisfy these hard budgets before commit:
| Asset / Layer | Hard Target Budget | Measured: Cobalt-Jade Goblin | Measured: Sky-Courier | Why It Matters |
|---|---|---|---|---|
| Hero Mesh Polycount | 25,000 – 45,000 tris |
~35,000 tris (23,488 verts) |
~35,000 tris |
Below 20k loses silhouette curves; above 60k degrades skinning speed & mobile/WebGL draw budgets; above 150k breaks auto-riggers. |
| Hero GLB File Size | <= 4.0 MB (ideal 2.0–3.2 MB) |
2.75 MB |
~3.0 MB |
Fast cold boot on web without waiting for multi-second downloads. |
| Hero Albedo / PBR Textures | 2048 × 2048 max (92–94% quality) |
2048 × 2048 packed |
2048 × 2048 packed |
Carries 90% of perceived crispness (gold trim, leather grain, skin shading) even on a 35k mesh. |
| Hero Skeleton Bones | 22 core canonical + 30 finger joints (15 L + 15 R) + optional spring chains |
79 total bones (22 core mapped, 15/15 right-hand fingers) |
61+ bones (incl. cape/hair spring chains) |
Full anatomical retargeting + 5-finger weapon grip + zero dropped limbs. |
| Max Skin Influences / Vertex | Strictly <= 4 (normalized sum = 1.0) |
4 (0 unweighted verts) |
4 (0 unweighted verts) |
Standard GPU WebGL JOINTS_0 / WEIGHTS_0 single-vec4 skinning; avoids silent influence dropping on export. |
| Weapon Mesh Polycount | 10,000 – 20,000 tris |
18,000 tris (1.59 MB) |
~15,000 tris |
Crisp jagged/beveled silhouette up close in handGrip macro views while staying tiny in memory. |
| Weapon Emissive Texture | 1024 × 1024 sRGB packed |
1024 × 1024 (682,392 glowing texels) |
Emissive core | Self-lit focal contrast (runes, crystal cores) independent of scene shadow angle. |
| Shared CC0 Motion Bank | 20 preloaded core clips + 226 on-demand library clips |
Shared 100% (0 Goblin-specific clips!) |
Shared 100% |
Zero per-character animation authoring cost. |
| Adaptive Music & Foley SFX Bank | <= 1.5 MB total (2 looping BGM + 14–18 dry MP3 SFX) |
904.7 KB (0.88 MB) across 18 MP3s |
Shared 100% |
Instant decode over web, seamless Explore ↔ Combat crossfade, zero-latency steel & boot foley. |
| Frame Time & Test Suite | 60 fps (< 16.6 ms/frame), full unit suite < 3 s |
70+ fps headless, 41 / 41 tests in ~2.0 s |
70+ fps headless, 41 / 41 tests |
Enables rapid visual & kinematic iteration. |
1.2 Real-World Time Benchmark (Goblin Case Study)
First-time character integration (while discovering and permanently fixing 4 latent engine bugs) vs. repeatable cost for Character #3 onward:
| Pipeline Phase | Goblin First Build (Measured) | Repeatable Cost (Character #N) |
|---|---|---|
| 2D Concept exploration + locked 4-view 2×2 turnaround | 25 min (incl. 1 turnaround fix for back potion) |
10–15 min |
Image-to-3D + pre-rig 35k decimation + auto-rig + Blender normalize |
49 min (incl. hitting & solving 1.93M-tri rig drop) |
15–20 min |
| Custom 3D Weapon forge + normalize + emissive map (parallel) | 28 min (parallel) |
15–20 min (parallel) |
| Post-rig weight polish + 5-finger symmetry mirror + manifest wiring | 52 min (included debugging engine repulsion/draw bugs) |
5–8 min (via pipeline/04–06 CLI) |
Automated 40/40 test suite + Playwright macro visual QA |
19 min (included fixing CC0 slash tail & T-pose flash) |
5 min |
| Total Wall-Clock | 2h 26m (1h 15m to first 90% playable build) | ~35–50 minutes |
Inside Chapters 2–22 (Included Free With Email Unlock)
Click any chapter to unlockUnlock Chapters 2–22 + All Future Engineering Guides
Read all remaining chapters right here in your browser, free with your email. Submitting also subscribes you to Ashutosh’s free AI Compass daily AI news emails (1-click unsubscribe anytime).