Viewer: a necklace stays on the neck of a shaped body #427

Manually merged
github merged 1 commit from github-bot/gh-427 into gh-pr/427/base 2026-11-27 02:56:34 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-27 00:37 UTC · original
holdmysocks:claude/people-necklace → master · +55 −25 · 1 files · 1 commits · merged 2026-11-27 02:56 UTC

Viewer: a necklace stays on the neck of a character with a body shape. Before, cs_jason's chain went into his neck at the sides with his stored body shape. On the neutral body it sat on the neck.

Cause: parts under 30 cm (a watch, glasses, a ring, a necklace) follow the shaped skin as one rigid piece, moved by the skin's offset at their centre, so they keep their shape. A necklace was moved but not widened, so the thicker neck covered it.

Change (Wrap in model_view.rs):

  • Such a part still moves as one piece.
  • Each point also goes further out where the skin under it swelled more than that offset. It moves along the line from the nearest skin vertex to the point, and only outward.
  • A watch or glasses on skin that didn't swell are unchanged. A chain opens up with the neck.

Verified:

  • cargo test --release --locked -p sixng-gui passes.
  • cs_jason with his stored body shape, front and side: the chain now runs up both sides of the neck as it does on --body 0,0. Before, it vanished into the neck about 2 cm above the collar.

Not done:

  • Other characters' rigid accessories weren't checked one by one.
  • The game's own data for shaping clothes and accessories is still not decoded; this keeps the viewer's skin-following approach.
**@⁠holdmysocks** on GitHub · 2026-11-27 00:37 UTC · [original](https://github.com/holdmysocks/SixNG/pull/427) `holdmysocks:claude/people-necklace` → `master` · +55 −25 · 1 files · 1 commits · merged 2026-11-27 02:56 UTC Viewer: a necklace stays on the neck of a character with a body shape. Before, cs_jason's chain went into his neck at the sides with his stored body shape. On the neutral body it sat on the neck. **Cause:** parts under 30 cm (a watch, glasses, a ring, a necklace) follow the shaped skin as one rigid piece, moved by the skin's offset at their centre, so they keep their shape. A necklace was moved but not widened, so the thicker neck covered it. **Change** (`Wrap` in model_view.rs): - Such a part still moves as one piece. - Each point also goes further out where the skin under it swelled more than that offset. It moves along the line from the nearest skin vertex to the point, and only outward. - A watch or glasses on skin that didn't swell are unchanged. A chain opens up with the neck. **Verified:** - `cargo test --release --locked -p sixng-gui` passes. - cs_jason with his stored body shape, front and side: the chain now runs up both sides of the neck as it does on `--body 0,0`. Before, it vanished into the neck about 2 cm above the collar. **Not done:** - Other characters' rigid accessories weren't checked one by one. - The game's own data for shaping clothes and accessories is still not decoded; this keeps the viewer's skin-following approach.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:39:49 +00:00
github-bot changed target branch from master to gh-pr/427/base 2026-11-27 02:56:32 +00:00
github manually merged commit 63e482bd8d into gh-pr/427/base 2026-11-27 02:56:34 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.