Body shape: head scale stops at half size #502

Manually merged
github merged 1 commit from github-bot/gh-502 into gh-pr/502/base 2026-11-27 20:05:14 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-27 19:51 UTC · original
holdmysocks:people/head-scale-neg → master · +32 −10 · 2 files · 1 commits · merged 2026-11-27 20:04 UTC

At head scale −1, a character's head vanished in the viewer and in exports.

The game's body-shape rig scales BM_Head by 1 + v on both sides of the control. That gives twice the size at +1 and 1 % at −1, so the head was still drawn but too small to see. The rig's output across the range:

v −1 −0.75 −0.5 −0.25 0 0.5 1
head scale 0.01 0.26 0.51 0.75 1 1.5 2

The female and male rigs give the same values. No body-shape preset item sets head scale, on either side, so the game gives no range to follow.

gcheadscale now stops at −0.5, which is half size and as far below normal as +1 is above it (×0.5 against ×2).

  • bodyshape::HEAD_SCALE_MIN and control_min give each control's lowest value.
  • parse_spec clamps to control_min, which covers the CLI's --body-shape, the viewer's --body and presets.
  • The viewer's "head scale" slider stops at −0.5, and its hover text says why.

A test checks the clamp and the other controls' lower ends. All tests pass. In the viewer, Connie (look 1) at head scale −1 now shows her head at half size, with her hat, hair and sunglasses following it. Before this change, her head was gone.

**@⁠holdmysocks** on GitHub · 2026-11-27 19:51 UTC · [original](https://github.com/holdmysocks/SixNG/pull/502) `holdmysocks:people/head-scale-neg` → `master` · +32 −10 · 2 files · 1 commits · merged 2026-11-27 20:04 UTC At head scale −1, a character's head vanished in the viewer and in exports. The game's body-shape rig scales `BM_Head` by 1 + v on both sides of the control. That gives twice the size at +1 and 1 % at −1, so the head was still drawn but too small to see. The rig's output across the range: | v | −1 | −0.75 | −0.5 | −0.25 | 0 | 0.5 | 1 | |---|---|---|---|---|---|---|---| | head scale | 0.01 | 0.26 | 0.51 | 0.75 | 1 | 1.5 | 2 | The female and male rigs give the same values. No body-shape preset item sets head scale, on either side, so the game gives no range to follow. `gcheadscale` now stops at −0.5, which is half size and as far below normal as +1 is above it (×0.5 against ×2). - `bodyshape::HEAD_SCALE_MIN` and `control_min` give each control's lowest value. - `parse_spec` clamps to `control_min`, which covers the CLI's `--body-shape`, the viewer's `--body` and presets. - The viewer's "head scale" slider stops at −0.5, and its hover text says why. A test checks the clamp and the other controls' lower ends. All tests pass. In the viewer, Connie (look 1) at head scale −1 now shows her head at half size, with her hat, hair and sunglasses following it. Before this change, her head was gone.
The game's body-shape rig scales the head by 1 + v: twice the size at
+1, and 1 % at -1, so at the slider's low end the head shrank out of
sight. No preset sets head scale on either side. The control now stops
at -0.5 (half size, as far below normal as +1 is above it), in
parse_spec (CLI, --body, presets) and in the viewer's slider, whose
hover text says why.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 19:54:26 +00:00
github-bot changed target branch from master to gh-pr/502/base 2026-11-27 20:05:13 +00:00
github manually merged commit 2fc7db94f2 into gh-pr/502/base 2026-11-27 20:05:14 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.