Viewer: under-layers stay behind the clothes over them on a reshaped body #407
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!407
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-407"
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 20:06 UTC · original
holdmysocks:claude/people-shape-poke→master· +103 −0 · 1 files · 2 commits · merged 2026-11-26 21:33 UTCViewer: on a reshaped body (the weight and muscle sliders), clothes worn under other clothes stay behind them. Before, the t-shirt under cs_tal_bu's open shirt came through at the chest pockets and the button strip, and cs_andrea's tank top came through her bomber jacket.
Cause: with a body shape, each garment follows the skin on its own: each vertex moves with its nearest skin points and is pushed out along its own normal where the skin swells. Two layers a centimetre apart get slightly different offsets, so the inner one can come out in front.
Change (
keep_layer_orderin model_view.rs):Verified:
cargo test --release --locked -p sixng-guipasses.--body 0,0) render pixel-identical to the viewer before this change, and the pass moves no vertices there.Not done: