Feature Library

Pose-rate tiers for crowds

Not measured yet
A still of the Pose-rate tiers for crowds demo
Still
The live demo starts when it’s in view.Drag to rank · compare pose rates

Keep crowd simulation running while posing less important bodies every third or twelfth tick.

Rank by distance with immediate promotion, demotion slack and a forced-full override; optionally slow small figures further. PosedRoot skips a second matrix walk after a published pose and transports unchanged joints rigidly between poses. A walking crowd compares live pose CPU with tiers on and off.

What it costs a frame

Not measured yet.

What it needs

Renders with
WebGPU or WebGLWebGPU where there is one, WebGL2 where there is not.
Your browser
Runs hereNo WebGPU needed
Depends on
three.js 0.187.0No other packages
With an agent
install("pose-tiers")Your coding agent reads its pitfalls and installs it through the library’s MCP server. Set it up

What it’s for

  1. Crowds whose live rig solve dominates CPU time
  2. Far or small figures that can hold their last pose while movement stays correct
  3. Keeping a selected or interacting figure at full pose rate
  4. Avoiding duplicate matrix composition after a rig publishes its world matrices

Pitfalls, in brief

  1. Only posing is rationed: simulation, motor, gait clocks and collision must still advance every simulation tick.
  2. Caps are soft: posed includes full, slack retains higher tiers beyond their nominal rank cut and forced subjects can exceed the entire budget.
  3. A held pose slides: a root keeps moving while its legs retain the last solve.
  4. Publish after placement: published means every descendant world matrix already matches the current root.
  5. Own the subtree: set rigid only when descendant local transforms stay unchanged between poses.
3 more in brief
  1. Parked does not hide anything: the owner hides the subtree or renders a baked replacement.
  2. Pose tiers do not batch draws or stop skinning uploads: they reduce CPU solving and matrix composition.
  3. Live samples are not costs.json: the demo runs two identical populations, one hidden, to compare pose dispatch plus publication over the same ticks.
8 pitfalls in full, the hook-up guide, the module source and its tests come with the part.

Where it comes from

From HaTac. Adapted from published work, named below.

Hannes Andersson: The source game’s crowd pose budgets, staggered cadence, rank hysteresis and published-pose matrix optimization.

crowdpose rateanimationlevel of detailCPU budgethysteresisfixed timestepmatrix worldskinningthree.jswebgpuwebgl

Near it in the frame