Viewer: distance test as a backstop under the hide masks; second mask list findings #363

Manually merged
github merged 8 commits from gh-pr/363/head into gh-pr/363/base 2026-11-26 20:30:37 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 06:30 UTC · original
holdmysocks:claude/people-sub-masks → master · +120 −28 · 9 files · 8 commits · merged 2026-11-26 06:41 UTC

Two changes to how the viewer hides clothes worn under other clothes, after a look at the second mask list (hides_sub).

1. Distance test as a backstop (on by default). Since #354, a garment drawn as its _cull_00 twin was cut only by the hide masks and skipped the distance test. On some outfits the masks leave part of the under-layer poking through. Pretzel's open shirt, for example, names only 5 regions of the tank top under it, and white tank-top patches show on his chest and collar. Now every under-layer goes through the distance test after the masks.

  • Pretzel: the patches shrink to one small one.
  • cs_tal_bu: unchanged and clean.
  • Kent Paul: the t-shirt still shows at the open collar.

2. Second mask list, findings (not applied). 3b7601de gives per layer keys 1 to 3.

  • On cs_tal_bu's t-shirt over the upper-body skin, the sets are nearly nested (key 1 ⊂ key 2 ⊂ key 3). They are mostly regions the main mask does not hide.
  • Where they sit, from region centroids on hand_mr1_000_nude_cull: the lower belly and waist band front and back (regions 40-47, 64-67, 74-77, 108-111) and the belly sides (53/54, 58/59). Key 3 adds the upper arms (173, 213).
  • Tested the body-shape guess (key 1 with muscle, key 2 with weight). On a heavy Pretzel, key 2 removes only a few of the tank-top patches, so the guess isn't confirmed. The list is plumbed into PartFx::hides_sub and applied only with the research switch SIXNG_SUB=1,2.

Not done:

  • When the game applies each key is still unknown.
  • With the body sliders up, an under-layer still pokes through its outer garment in places (Pretzel, cs_tal_bu). That's a separate gap in how clothes follow a reshaped body.

Verified: cargo test --release --locked passes. Rendered Pretzel (neutral and heavy), cs_tal_bu and Kent Paul on the RTX 4080.

**@⁠holdmysocks** on GitHub · 2026-11-26 06:30 UTC · [original](https://github.com/holdmysocks/SixNG/pull/363) `holdmysocks:claude/people-sub-masks` → `master` · +120 −28 · 9 files · 8 commits · merged 2026-11-26 06:41 UTC Two changes to how the viewer hides clothes worn under other clothes, after a look at the second mask list (`hides_sub`). **1. Distance test as a backstop (on by default).** Since #354, a garment drawn as its `_cull_00` twin was cut only by the hide masks and skipped the distance test. On some outfits the masks leave part of the under-layer poking through. Pretzel's open shirt, for example, names only 5 regions of the tank top under it, and white tank-top patches show on his chest and collar. Now every under-layer goes through the distance test after the masks. - Pretzel: the patches shrink to one small one. - `cs_tal_bu`: unchanged and clean. - Kent Paul: the t-shirt still shows at the open collar. **2. Second mask list, findings (not applied).** `3b7601de` gives per layer keys 1 to 3. - On `cs_tal_bu`'s t-shirt over the upper-body skin, the sets are nearly nested (key 1 ⊂ key 2 ⊂ key 3). They are mostly regions the main mask does not hide. - Where they sit, from region centroids on `hand_mr1_000_nude_cull`: the lower belly and waist band front and back (regions 40-47, 64-67, 74-77, 108-111) and the belly sides (53/54, 58/59). Key 3 adds the upper arms (173, 213). - Tested the body-shape guess (key 1 with muscle, key 2 with weight). On a heavy Pretzel, key 2 removes only a few of the tank-top patches, so the guess isn't confirmed. The list is plumbed into `PartFx::hides_sub` and applied only with the research switch `SIXNG_SUB=1,2`. **Not done:** - When the game applies each key is still unknown. - With the body sliders up, an under-layer still pokes through its outer garment in places (Pretzel, `cs_tal_bu`). That's a separate gap in how clothes follow a reshaped body. **Verified:** `cargo test --release --locked` passes. Rendered Pretzel (neutral and heavy), `cs_tal_bu` and Kent Paul on the RTX 4080.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:30:36 +00:00
github manually merged commit 2999adf297 into gh-pr/363/base 2026-11-26 20:30:37 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.