Outfit export: clothes under clothes as their _cull_00 twins, skin and clothes cut by the hide masks #358
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!358
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/358/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 05:27 UTC · original
holdmysocks:claude/people-export-cull→master· +105 −17 · 9 files · 7 commits · merged 2026-11-26 06:00 UTCStacked on #354 (it includes #354's commits; merge #354 first).
sixng outfit --look Nnow hides what's worn under something, the same way the viewer does since #354. Until now the export hid nothing at all, so a t-shirt under an open shirt showed through in large patches, and so did the skin.Change:
pedlook::cull_twins: the rule for which garments to draw as their_cull_00twin. These are the garments another part of the outfit hides regions of. The viewer now calls it too.pedlook::hidden_masks: the hide masks over one part of an outfit.ExportOptions::part_hidden:export_outfitdrops triangles whose vertices all lie in hidden regions, read from the part's_REGIONstream. The report giveshidden_trianglesper part.cs_tal_buit removed a whole shoe. #354 had the same bug in the viewer; it's fixed there too (93196ab).cull_twins_and_masks_follow_the_hide_masks.Verified:
cargo test --release --lockedpasses.cs_tal_buand Kent Paul and rendered the GLBs.cs_tal_bugoes from large black t-shirt patches to clean. Kent Paul's t-shirt shows at the open collar. Both shoes are there.cs_tal_bu: 2,854 of the t-shirt, 642 of the jeans (the waistband under the t-shirt, as the t-shirt's mask says), plus the skin under the clothes.Not done:
hides_sub) isn't applied.--parts(no--look) have no outfit data, so nothing is hidden there.