Characters: body skins laid out for the mesh drawn (Lucia's pale torso, SIX-243) #431

Closed
github-bot wants to merge 1 commit from gh-pr/431/head into gh-pr/431/base
Owner

@⁠holdmysocks on GitHub · 2026-11-27 01:16 UTC · original
holdmysocks:claude/lucia-torso-layer → master · +90 −1 · 2 files · 1 commits · closed without merging

Fixes the flat, pale upper body with a round neckline that Lucia's default outfit showed in the viewer after #384.

Cause

  • The layer is the upper-body skin mesh itself, not an insert. Leaving out either insert, or both, changes nothing. Leaving out the body mesh removes it, and reverting #384 on master restores her skin.
  • Before #384, Lucia's nipple item resolved by its textures to the upper-body mesh. That mesh then took the nipple item's skin, which is the same image as the torso map the mesh binds.
  • Since #384 the nipple item resolves to the insert, and her real body item gets the slot. That item's own mesh is not in the install, and it names a square texture sheet laid out for that mesh. The torso mesh drawn instead uses a 1:2 layout, so its chest reads flat texels from the sheet.

Change

  • export: when an outfit item gives a mesh its skin, the mesh now takes the first stored colour texture whose shape matches its own stored colour and normal maps. If none matches, it falls back to the first stored texture, as before. Heads bind no stored maps, so they are unchanged.
  • pedlook: the body part of the same layer also gets each insert's skins, as further choices after its own. The inserts' items name the body's own skin in the whole-body mesh's layout.

Checks

  • Unit tests for both helpers, including the case where the insert is listed before the body. All 334 sixng-core tests pass.
  • outfit cs_lucia --look 0: the upper body now gets the torso map again, the one it had before #384.
  • Viewer renders, before and after, on the RTX 4080:
    • Lucia, default outfit: the pale layer is gone and her chest and belly are textured again, in close-up and full body.
    • Jason's nude outfit, the bare character #384 fixed: pixel-identical, with the insert still drawn.
    • Mandy: pixel-identical.

Not checked

  • Other characters whose body item is found by its textures were not surveyed. Where a body item's skin does not fit the mesh and no insert offers one that does, the old choice stays.
  • export.rs and pedlook.rs are stored with CRLF on master. The new lines keep that ending and were not converted.
**@⁠holdmysocks** on GitHub · 2026-11-27 01:16 UTC · [original](https://github.com/holdmysocks/SixNG/pull/431) `holdmysocks:claude/lucia-torso-layer` → `master` · +90 −1 · 2 files · 1 commits · closed without merging Fixes the flat, pale upper body with a round neckline that Lucia's default outfit showed in the viewer after #384. ## Cause - The layer is the upper-body skin mesh itself, not an insert. Leaving out either insert, or both, changes nothing. Leaving out the body mesh removes it, and reverting #384 on master restores her skin. - Before #384, Lucia's nipple item resolved by its textures to the upper-body mesh. That mesh then took the nipple item's skin, which is the same image as the torso map the mesh binds. - Since #384 the nipple item resolves to the insert, and her real body item gets the slot. That item's own mesh is not in the install, and it names a square texture sheet laid out for that mesh. The torso mesh drawn instead uses a 1:2 layout, so its chest reads flat texels from the sheet. ## Change - `export`: when an outfit item gives a mesh its skin, the mesh now takes the first stored colour texture whose shape matches its own stored colour and normal maps. If none matches, it falls back to the first stored texture, as before. Heads bind no stored maps, so they are unchanged. - `pedlook`: the body part of the same layer also gets each insert's skins, as further choices after its own. The inserts' items name the body's own skin in the whole-body mesh's layout. ## Checks - Unit tests for both helpers, including the case where the insert is listed before the body. All 334 sixng-core tests pass. - `outfit cs_lucia --look 0`: the upper body now gets the torso map again, the one it had before #384. - Viewer renders, before and after, on the RTX 4080: - Lucia, default outfit: the pale layer is gone and her chest and belly are textured again, in close-up and full body. - Jason's nude outfit, the bare character #384 fixed: pixel-identical, with the insert still drawn. - Mandy: pixel-identical. ## Not checked - Other characters whose body item is found by its textures were not surveyed. Where a body item's skin does not fit the mesh and no insert offers one that does, the old choice stays. - `export.rs` and `pedlook.rs` are stored with CRLF on master. The new lines keep that ending and were not converted.
Since the nipple and genital inserts (#384), Lucia's default outfit showed
a flat, pale upper body with a round neckline under her top's straps.

Before #384 the nipple item resolved by its textures to the upper-body
mesh itself, so that mesh took the nipple item's skin: the torso map
the mesh is laid out for. Now the nipple item resolves to the insert and
the real body item gets the slot. That item names a square texture sheet
for a body mesh that is not in the install. On the 1:2 torso mesh drawn
instead, the chest reads flat texels from it.

- export: an outfit item's skin for a mesh is the first stored colour
  texture with the shape of the colour and normal maps the mesh binds
  itself, else the first stored one as before.
- pedlook: an insert's skins are added after its body part's own as
  further choices (same layer). The inserts' items name the body's own
  skin in the whole-body mesh's layout.

Clothed outfits look as before #384, and bare outfits keep the inserts.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:27:38 +00:00
github-bot closed this pull request 2026-11-27 01:27:38 +00:00
Author
Owner

@⁠holdmysocks on GitHub · 2026-11-27 01:18 UTC · original

Closing as a duplicate of #419, which fixes the same pale upper body at its source. The item that was drawn on Lucia's whole upper body names the first-person arms mesh, which is why its texture is a square sheet with the fingers down one side.

**@⁠holdmysocks** on GitHub · 2026-11-27 01:18 UTC · [original](https://github.com/holdmysocks/SixNG/pull/431#issuecomment-7207177829) Closing as a duplicate of #419, which fixes the same pale upper body at its source. The item that was drawn on Lucia's whole upper body names the first-person arms mesh, which is why its texture is a square sheet with the fingers down one side.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.