Viewer body shape: clothes are not left inside a swelling skin #331
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!331
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/331/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 01:29 UTC · original
holdmysocks:garment-rigs-308→master· +19 −5 · 1 files · 2 commits · merged 2026-11-26 01:37 UTCPart of #308 (body sliders). Follows #318.
What changes
With a body shape set, the viewer moves clothes with the skin under them: each garment point moves by the distance-weighted mean of the offsets of the six nearest skin points. Where the skin swells unevenly, that mean can move a garment point less far outward than the skin right beside it, and the skin shows through. This happened on Abel's belly and sides at full weight.
Now the offset along a garment point's normal is at least the largest outward offset of those six skin points. Small rigid accessories (watches, glasses) still move by the offset at their centre, as before.
Before / after (viewer, RTX 4080)
mo1), default outfit, weight/muscle 0/0, 1/1, -1/0, 1/0. At 1/1, before: skin shows through the T-shirt in four or five spots on the belly, side and upper arm. After: one or two small spots remain at the hem fold, and the arm and chest are covered. At 1/0, the spots drop from three to one. Neutral and -1/0 are unchanged.Findings (not in this PR)
Garment rigs.
<Style>_<Category>_Garment_<Shapes|PoseDeformation|BaseDeformation>_<Male|Female>, for exampleLooseShortSleeve_TShirts_Garment_Shapes_Male. There are 658 of them, and they drive the garments' ownGM_U01_*helper bones.ChestFront_Upper_GarmentSurface_Maleand others), which are the next lead.The 14 rig inputs that no control drives. They appear only in the rigs' input lists, the same kind of entry as the weight and muscle controls, in up to 123 rigs each. No rig writes them, so the game sets them from outside the rigs. Their names and their source are still unknown.
@holdmysocks on GitHub · 2026-11-26 01:45 UTC · original
This was merged before the hold on garment-rig work reached this session. The garment rig work continues in SIX-141.