model3d: LOD switching and per-texture material layers #19
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/rpatty-dev--PercyStar!19
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/19/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?
@asm512 on GitHub · 2026-11-21 20:16 UTC · original
asm512:model-lod-texture-layers→main· +1021 −237 · 3 files · 1 commits · merged 2026-11-22 02:23 UTCAdds LOD switching and per-texture material layers to the 3D model viewer.
LOD
_midfiles) fill more than one.x_hi.#ft,x_mid.#ft,x.#ft). The viewer header gets Hi / Mid / Low buttons that jump between them, plus LOD0–LOD3 buttons for in-file levels. Camera is kept across switches.Textures
Notes
diffuseTex,tintPaletteTex,emissiveTex,dirtDiffuseTex,dirtNoiseTex,DustTexture); the rest are labelled by kind and hash.cheetah2renders are pixel-identical to before with the default set. The Brickell SLOD test render differs in 217 of 480,000 pixels and I haven't found why.PERCYSTAR_LEVELS_RPFset and are skipped otherwise.Cargo.lockis synced to the 1.4.1 manifest.@rpatty-dev on GitHub · 2026-11-22 02:23 UTC · original
Merged onto main (resolved the test conflict in main.rs and fixed the unused_mut warning in model3d.rs in commit
6687bcd; 52/52 tests + release build passing). Thanks for the LOD switcher and texture layers!