Meshlets with 32-bit counts; vehicle interiors off the body paint; fur toggle #29
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!29
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/29/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-23 03:35 UTC · original
holdmysocks:claude/viewer-fixes→master· +119 −13 · 5 files · 1 commits · merged 2026-11-23 03:40 UTCShredded motorcycle (
levels.rpf@117e11d010)The meshlet index buffer header holds u32 triangle and remap counts; they were read as u16. The bike's body (70,057 triangles, 69,901 remap entries, 65,534 vertices) was cut to 4,521 triangles and drawn as spikes. The descriptors' 16-bit remap start wraps on such a mesh and is now unwrapped along the meshlet order. All 70,057 triangles decode, none dropped.
Vehicle interiors took the body colour
standard_vehicle_2lyrcovers the whole car, so seats, dashboards, lamp housings and mechanical parts were painted. A material is now body paint only when neither layer binds a detail texture (lyr0diffusetex,lyr1diffusetex) and its meshes hang on body bones. Materials with a detail texture, or whose bones are mostly interior, lamp or mechanical ones (seat, steering, doorcard, light, siren, engine …), get a neutral stand-in (classification.stand_in: "trim").This is an inference, stated in
classification.paint_rule. What the data shows: vertex colour alpha is a part id (0–255) into the material palette (slot19df25d7), and the stored palette is a placeholder the game replaces per vehicle. Colouring by it gives per-panel debug colours (tried and backed out). The real per-part colours are not decoded, so interiors are grey, not their true colours.Cached vehicle exports from before are exported again in the viewer.
Fur toggle
A "fur guide strands" / "hair guide strands" checkbox on the side panel hides the grooms without dropping the choice (
--no-furin automation).Checked
cargo test -p sixng-core: 97 pass (new: meshlets with 32-bit counts, the trim stand-in).baller2_hi(grey interior, painted body).Not done