Hair export: head UV set in grooms --full and the viewer's groom export #342
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!342
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/342/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 02:33 UTC · original
holdmysocks:hair-head-uv→master· +81 −33 · 6 files · 2 commits · merged 2026-11-26 03:03 UTCFollow-up to #326 for #146: the other hair export paths now also name the head UV set each groom's root UVs are in, so the Blender script attaches their hair through the game's own UVs as well.
Changes
sixng grooms --full --head <model.glb>: each grown groom names its head UV set (head_uv_set), matched against that head. The head can be a modeloutfitwrote, or a head drawable exported on its own.scripts/blender_hair_curves.pytakes several hair files (one per groom).Why it has to be matched
The set can't be told from the kind of piece. On five characters, most scalp pieces are in set 3 and face pieces in set 2, but some scalp pieces (ponytails, long hair) are in set 0, and a few match no set of the head they are shown on. The README says so.
Checked
grooms --full --headon five of Jason's grooms gives the same sets and the same placement in Blender 5.3 asoutfit --hair: the head point at each strand's UV is a median 0.1 to 4.2 mm from its root.--export-hairon Jason names a set for all 11 grooms.