Export: the second vertex colour stream, which holds a vehicle's sticker zones #162
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!162
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/162/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-24 14:26 UTC · original
holdmysocks:claude/liveries-zones→master· +25 −12 · 9 files · 2 commits · merged 2026-11-24 15:37 UTCWhat
The mesh decoder read one colour stream (slot 1). Meshes also carry a second RGBA8 stream in slot 12, which was dropped. The export now keeps it and writes it to the GLB as the custom attribute
_COLOR1.Why it matters: on vehicle bodies the fourth byte of that stream is the sticker zone of the vertex, the number a livery's layout records list to say which panels a sticker goes on. This is the first step of drawing liveries (SIX-109); nothing is drawn yet.
Checked
truckbeds_box_01_hiandbenson_hiexported with the stream. The fourth byte takes few distinct values (40 on the box body, 87 on the cab).cargo build -p sixng-cli -p sixng-guipasses; the core tests compile and pass.Not decoded / not done