Body shape: full rig program; clothing helper bones follow the garment surface rig (#308) #356
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!356
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/356/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-26 04:56 UTC · original
holdmysocks:garment-surface-308→master· +477 −161 · 2 files · 2 commits · merged 2026-11-26 05:48 UTCPart of #308 (body sliders). This PR changes the body-shape rig reader and the export. The viewer is unchanged.
Rig program.
bodyshape.rsnow runs the game's whole rig program instead of four block types:Block 81 is a curve, not the clamp it was read as. The body-shape rig still gives the same pose: on a T-shirt export at full weight and muscle, all 562 body joints match the old build exactly.
Clothing helper bones. Clothes with their own helper bones (
GM_*) are now posed by the game's garment surface rig (GarmentSurfaceMale/GarmentSurfaceFemale). It reads the shaped body bones and writes the helper bones' local translation and rotation. Before, the helper bones followed their parent rigidly.The viewer is not switched yet. Clothes in the viewer still follow the skin. With only the surface rig, skin shows through Raul's shirt and Lucia's top at full weight. In the game each garment also runs per-style shape rigs (
*_Garment_Shapes_*, which read the same weight and muscle controls). These add another 8–15 cm, differ a lot between styles, and nothing found so far links a garment to its style rigs. That is the next step.Neutral exports are unchanged: the rigs run only with a body shape. Tested with
cargo test -p sixng-core bodyshapeand by comparing old and new exports joint by joint.