Product walkthrough · Atomic Rig
How Atomic Rig is put together
A browser tool that assembles a rigged character out of parts. Bring in or generate a part, it attaches to a standard Mixamo skeleton by body region, and it exports to a named engine target with that engine's budget checked before the file is written. Rendering and export both run client-side.
The idea
Stacking building blocks
- One repeated unit: a bit instance.
- A collection is instances rooted at a bone. An avatar is instances rooted at the skeleton.
- Only the bit row points at geometry. Everything above it is references.
The one idea under all of it
A character is a document, not a mesh. Everything expensive (storage, cloning, sharing, remixing, the agent layer, the marketplace) gets cheap the moment the character is a list of references instead of baked geometry.
The surface
UI principles
- The whole screen is the viewport.
- One panel, floating, five tabs. No sixth.
- Everything placed is a labelled bit on a bone. Nothing is loose geometry.
- Checks and budgets live in the product, not in someone's head.
Navbar
Menu, quick load, profile, dashboard, tier badge. Tier comes from the session claim, not a lookup.
File / edit / view menu
New, save, share, download, sell. Undo and redo sit here too, backed by historyManager.
Transform mode
Move, rotate, scale. Acts on the selected bit instance, never on the skeleton.
Viewport
Full-bleed Three.js canvas, dynamically imported with SSR off. Green capsules are the bone attachment points.
Animation bar
Clip and speed. Proof the rig is real: the parts deform with the skeleton rather than riding along.
The panel
Glass, floating, right side. One panel for the whole app, because the thing people want to look at is the character.
Five tabs
library editor outliner upgrade assistant: one union type in the panel component.
Region filters
All, head, torso, arms, hands, legs. These are the same labels->region values the retrieval layer buckets on.
Import custom asset
Entry point to the checked import pipeline. Starter set, my uploads, marketplace and collections all land in the same list.
End to end
The system
- The editor is the hub. It holds the skeleton, the avatar, the bits and the collections in memory and is the only place they are assembled.
- Everything else is a spoke that either feeds the hub (import, generation, the assistant, identity, materials) or drains it (export, distribution).
- The agent layer drives the same REST surface the UI drives. There is no agent-only path, so there is one authorization boundary.
Boundary one
Authorization lives in the database
- Clerk's sub is the key every row policy compares against
- Same policy shape on all three main tables: owner, or public
- A bug in a route cannot hand you someone else's avatar
Boundary two
Model output is filtered, not trusted
- Bit ids must be in the retrieved catalog or already placed
- Materials must be real presets, bones must be real Mixamo bones
- What got dropped is reported, so nothing fails silently
Boundary three
Budgets belong to the export
- The library stays full quality
- Limits are declared per target and checked before writing
- Adding a platform is a registry entry, not an exporter rewrite
In
An upload is not an import
Why the checks exist
- The failure mode is silent: it looks right in the editor and arrives broken in the engine
- Off-centre pivots were the top cause of bits auto-placing in the wrong spot
- Flat or missing normals shade correctly here and wrongly downstream
Why uniformity matters
- The hard part was never the export call
- It was making arbitrary inbound parts uniform enough that one target transform applies to all of them
- That is the whole reason import is a pipeline and region labels are mandatory
In
Generation and intent
- Two ways in besides upload: make a part from an image, or describe what you want.
- Both end in the same place: an ordinary bit row, through the same checks.
Two models, two jobs
- A typed decision model answers closed questions and returns a distribution with a calibrated confidence, not a sentence
- Claude is the escalation path: reading an ambiguous request, and repair steps the first model could not resolve
- Neither writes a number. Models pick ids and named levels; calibration owns the thresholds
Deliberately not a model
- The slot list. Resolved in code from the brief and the body plan, so the same request yields the same slots
- The nine checks. Run after every step, with failures on your own bits reported but never blocking
- The fallback. A slot that cannot be filled takes a primitive rather than another attempt
How it is kept honest
- Decisions record to fixtures and replay offline, so a build is reproducible with no network
- An eval harness scores a run: cost, gate pass rate, steps per region, escalation rate
- A missing recording is counted as a miss, never quietly answered live
Operations
System services
What it is for
One page to answer the first question of any outage: is it me or is it them. Nine dependencies, checked live and read-only, with a missing key reported as unconfigured rather than broken, so a half-set-up environment never looks like a failure.
Out
Three formats, five targets
Runtime
GLB
- Smallest, skinned, loads anywhere
- What the engine actually wants
Artist
FBX
- Material textures extracted and written out
- What a DCC opens without an argument
Pipeline
USD / USDZ
- Joint paths built from the bone tree, skin weights normalised
- Survives being handed to a system you do not control
What a target actually is
- A formatter pipeline that restructures the scene
- A validator that says yes or no
- Exporter options for that platform
- Explicit limits: triangles, bones, skinned meshes, materials
Roblox R15 rebuilds the generic character into the part names R15 expects. Adding a platform means adding one of these, not touching the exporter.
Out
The quality gate
What it catches
- Triangle drift introduced by the formatter
- Materials collapsing or being dropped
- Textures lost, resized, or never referenced in the written file
- Anything the target's options change without saying so
Why it is a panel and not a habit
- The worst bug class here is the editor looks right and the file is wrong
- Checking that by eye does not scale past a couple of targets
- Same instinct as the validation report: make the silent failure say something
Shipping
Testing and distribution
- Cheap gates first. Milliseconds, then minutes, then a deploy, so a failure should cost the least it can.
- One suite, three places. The same specs run locally and against the preview; there is no second suite to keep honest.
- Every branch gets a real URL, so a change can be seen and tested before it is real.
Why the evals replay
- Model calls are slow, priced and non-deterministic: three bad properties for a gate
- Recorded once, replayed forever: a build is reproducible with the network off
- A missing recording is counted as a miss, never silently answered live
- Going live is an explicit, separate command
What the sandbox is for
- Catches what a local build cannot: real auth, real CDN, real cold starts
- It shares live services, so the specs that would bill are excluded by name
- The bypass is a cookie scoped to that origin, because a header would ride along to third parties and break their CORS
Distribution is the other half
- Shipping the app is a promote; shipping a character is five export targets, a marketplace and a share link
- Both get the same treatment: a named target, checked limits, and a gate before anything leaves
- Adding a platform is a registry entry, so distribution widens without the pipeline changing
Work with me
I build 3D products end to end: real-time rendering, asset pipelines, avatar systems and the tooling around them, with twenty years of production 3D underneath.