Hair export: settle the guides against the body, as the viewer does #494
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!494
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-494"
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-27 19:04 UTC · original
holdmysocks:people/hair-export-settle→master· +179 −39 · 6 files · 1 commits · merged 2026-11-27 19:14 UTCThe character hair export (
outfit --hair) grew its strands straight from the stored guides. The viewer settles the guides first: gravity, rest lengths, the pull back to the stored shape, and out of the body's colliders. As a result, exported long hair stood off the head and had frizzy, stray ends.The export now builds the same colliders as the viewer, from the model it has just written. These are the round pieces and boxes of the rig's body bound and of each worn garment's bound, placed on the model's bind pose. Without a body bound, it falls back to the model's non-hair vertices. It then:
coat_with).--hair-no-settlekeeps the stored guides.hairexportgainsbody_bound(moved from the viewer'sbody_tapers, which now calls it),glb_jointsandcharacter_colliders. It also gainsOptions::settleand acollidersargument onpiece_with. Each piece's summary now says whether it settled and whether it had colliders.with_crown), as in the viewer.sixng-corenow depends onglam(0.29, already used by the viewer).groom.rs) keeps its old behaviour.I checked this on one character (look 0). The export found 76 round pieces and 4 boxes, from the body bound and 4 garment bounds. Three of her four scalp pieces settled. Her fourth scalp piece, her brows and her lashes store no simulation data and stay as stored, as in the viewer. In the Blender render the hair now hangs onto the shoulders and sits close to the head, and no strands come through the face. All tests pass.