Liveries: tyre-sidewall stickers (zones 226/227) draw on the fitted tyre #518

Manually merged
github merged 1 commit from github-bot/gh-518 into gh-pr/518/base 2026-11-28 12:19:18 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-27 23:15 UTC · original
holdmysocks:tyre-stickers → master · +86 −16 · 3 files · 1 commits · merged 2026-11-28 12:16 UTC

Game liveries with tyre-sidewall stickers (zones 226/227) now draw them on the fitted tyre. Before, the Liveries panel said "none of its stickers can be placed" for these, or skipped those stickers.

Why

  • 252 game stickers, on 23 hot rods (Buccaneer and others), name zones 226 and 227. Those zones are on the tyre model (tyre_car_001, shader standard_vehicle_2lyr_tyre_inst), not on the vehicle.
  • The viewer draws the rim and tyre as separate models. The zone table left them out, so these stickers had no model to go on.
  • Found by the sweep of game stickers that land on no model (see PR 515).

Changes

  • Zone table: the fitted rim and tyre are surveyed too, each as its own model slot after the vehicle's parts (named as they load, for example tyre_car_001_hi).
  • Stickers: each wheel gets the vehicle's sticker records, with only its own slot's records kept (records_for_slot), since a wheel's vertices are all in slot 0. A wheel uploaded again (another rim or tyre) gets its stickers again.
  • Scripted steps (--livery-brand and the others) wait until the configuration's wheels are in, so a livery is placed on a table that has the tyre.
  • --livery-info writes the zone table again whenever it changes, so the file holds the last one (wheels included).
  • Export: a sticker naming the model also goes on its wheel groups (<model>@<bone>).

Tests

  • New test: a wheel takes only its own records.
  • cargo test -p sixng-gui: 63 pass. cargo test -p sixng-core vehlivery: 4 pass (one gained a wheels case).
  • Rendered the Buccaneer with brand 177a9ac9, variant 2 (a blue sidewall band on zone 227). Master draws a plain tyre. With this change the band shows on both tyres. Variant 1 of that brand is the plain option (no sticker).
**@⁠holdmysocks** on GitHub · 2026-11-27 23:15 UTC · [original](https://github.com/holdmysocks/SixNG/pull/518) `holdmysocks:tyre-stickers` → `master` · +86 −16 · 3 files · 1 commits · merged 2026-11-28 12:16 UTC Game liveries with tyre-sidewall stickers (zones 226/227) now draw them on the fitted tyre. Before, the Liveries panel said "none of its stickers can be placed" for these, or skipped those stickers. ## Why - 252 game stickers, on 23 hot rods (Buccaneer and others), name zones 226 and 227. Those zones are on the tyre model (`tyre_car_001`, shader `standard_vehicle_2lyr_tyre_inst`), not on the vehicle. - The viewer draws the rim and tyre as separate models. The zone table left them out, so these stickers had no model to go on. - Found by the sweep of game stickers that land on no model (see PR 515). ## Changes - Zone table: the fitted rim and tyre are surveyed too, each as its own model slot after the vehicle's parts (named as they load, for example `tyre_car_001_hi`). - Stickers: each wheel gets the vehicle's sticker records, with only its own slot's records kept (`records_for_slot`), since a wheel's vertices are all in slot 0. A wheel uploaded again (another rim or tyre) gets its stickers again. - Scripted steps (`--livery-brand` and the others) wait until the configuration's wheels are in, so a livery is placed on a table that has the tyre. - `--livery-info` writes the zone table again whenever it changes, so the file holds the last one (wheels included). - Export: a sticker naming the model also goes on its wheel groups (`<model>@<bone>`). ## Tests - New test: a wheel takes only its own records. - `cargo test -p sixng-gui`: 63 pass. `cargo test -p sixng-core vehlivery`: 4 pass (one gained a wheels case). - Rendered the Buccaneer with brand 177a9ac9, variant 2 (a blue sidewall band on zone 227). Master draws a plain tyre. With this change the band shows on both tyres. Variant 1 of that brand is the plain option (no sticker).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 23:16:31 +00:00
github-bot changed target branch from master to gh-pr/518/base 2026-11-28 12:19:15 +00:00
github manually merged commit 81ff6328c1 into gh-pr/518/base 2026-11-28 12:19:18 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.