Log inGet started
World

Splatgrove

Branchmain
Branchesmain
Commitff76c26a07

README.md

sdf_rig

The painter behind splat rigging (SplatSkeleton, SplatRig). A rig is a list of limbs — tapered capsules between two world points, one per bone — and its skin is the smooth union of all of them, so joints flow into one body. Every frame each splat is seeded around its own limb, projected onto the whole rig's current surface, laid along the nearest bone as a brush stroke, coloured from that limb (base to tip) and shaded as paint with the rig's own soft shadow and occlusion. Move the bones and the painted body bends with them.

SlotAccessContents
recordsread_writeThe shared sdfSplats pool (6 u32 per splat).
scenereadRigScene: time, limb count, splat count, stroke size, SplatLight.
limbsreadShape per limb (six vec4s): endpoints and radii, colours, splat range, rig range, blend.
params.firstuniformWhere this source starts in the pool.