Hair export: strand widths from the game's parameter ramps #482
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!482
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-482"
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 18:02 UTC · original
holdmysocks:people/mandy-export→master· +65 −10 · 3 files · 1 commits · merged 2026-11-27 18:13 UTCThe character hair export (
outfit --hair) wrote every strand at the groom's flat width: 0.3 mm with no taper. Lashes and brows came out as thick black brushes, and long hair looked wiry.Each piece now takes the strand parameter set its hair asset names, or the slot's default when it names none, the same way the viewer picks it. Each point's
_WIDTHis the strand variant's ramp width times its thickness curve. Each piece names the set it used in its extras (param_set).For one character (look 0), the widths now come out as:
In Blender renders made with
scripts/blender_hair_curves.py, the lashes and brows now look natural and the hair is finer.hairexport: addsslot_param_set,ramp_widthandpiece_with.piecekeeps its old behaviour.DEFAULT_PARAMSETSmoves from the viewer tohairexport, so the viewer and the export share it.