Viewer: body skin from the texture the outfit item names #303

Manually merged
github merged 4 commits from gh-pr/303/head into gh-pr/303/base 2026-11-26 20:25:55 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-25 18:45 UTC · original
holdmysocks:claude/people-body-skin → master · +24 −16 · 3 files · 4 commits · merged 2026-11-25 19:16 UTC

Uses the painted body skin texture that an outfit's body item names, where it is in the install, instead of the face's skin tone.

Stacked on PR 302. Until 302 lands, this diff also shows its change.

What changed

  • Body items' textures reach the export. Body items (body upper, body lower) name colour and normal textures like a head's face item does. The viewer now passes them to the export the same way: the first colour texture found in a store replaces the missing one. Before, it passed these only for heads.
  • The neck tone is a fallback. Only body materials still without a colour texture take the skin tone from the face at the neck. The panel note says why.
  • sixng outfit --look passes the body items' textures to the export too, as it already did for heads.
  • README: the body skin section says when the texture is used.

Scale

In the 292 named characters' default looks, 8 upper-body and 8 lower-body items name a stored skin texture. They include player Jason and Lucia's legs; the others are cousin, Kat's kid and a few more. Every other body item names textures the install does not have, so those bodies keep the neck tone.

Verified

  • cargo test --release --locked passes.
  • I rendered 3 characters in the viewer:
    • Player Jason's arms and legs show the painted skin, with detail and leg hair, matching his face.
    • Lucia's legs use her stored texture.
    • Cal, who has no stored body texture, is unchanged.
  • sixng outfit player_story000_01 --look 0 writes both of Jason's body skin textures with the GLB.

Not verified

  • Characters other than these 3.
**@⁠holdmysocks** on GitHub · 2026-11-25 18:45 UTC · [original](https://github.com/holdmysocks/SixNG/pull/303) `holdmysocks:claude/people-body-skin` → `master` · +24 −16 · 3 files · 4 commits · merged 2026-11-25 19:16 UTC Uses the painted body skin texture that an outfit's body item names, where it is in the install, instead of the face's skin tone. Stacked on PR 302. Until 302 lands, this diff also shows its change. ## What changed - **Body items' textures reach the export.** Body items (`body upper`, `body lower`) name colour and normal textures like a head's face item does. The viewer now passes them to the export the same way: the first colour texture found in a store replaces the missing one. Before, it passed these only for heads. - **The neck tone is a fallback.** Only body materials still without a colour texture take the skin tone from the face at the neck. The panel note says why. - **`sixng outfit --look`** passes the body items' textures to the export too, as it already did for heads. - **README:** the body skin section says when the texture is used. ## Scale In the 292 named characters' default looks, 8 upper-body and 8 lower-body items name a stored skin texture. They include player Jason and Lucia's legs; the others are cousin, Kat's kid and a few more. Every other body item names textures the install does not have, so those bodies keep the neck tone. ## Verified - `cargo test --release --locked` passes. - I rendered 3 characters in the viewer: - Player Jason's arms and legs show the painted skin, with detail and leg hair, matching his face. - Lucia's legs use her stored texture. - Cal, who has no stored body texture, is unchanged. - `sixng outfit player_story000_01 --look 0` writes both of Jason's body skin textures with the GLB. ## Not verified - Characters other than these 3.
Body skin has no texture of its own and takes the face's skin tone; the
grey vertex tint darkened it to near-black (player Jason's arms and
legs).
A body item (body upper / body lower) can name a painted skin texture of
its own; for about ten characters it is in the install (player Jason,
Lucia's legs). The viewer passes those like a head's face textures, so
the body uses them, and takes the face's skin tone only where none is
stored.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:25:53 +00:00
github manually merged commit 579e94e14c into gh-pr/303/base 2026-11-26 20:25:55 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.