Support format 99 float3 meshlet positions #13
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!13
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/13/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?
@techfoundrynz on GitHub · 2026-11-21 13:09 UTC · original
techfoundrynz:fix/meshlet-float3-positions→main· +295 −59 · 2 files · 2 commits · closed without mergingMeshlets using position format 99 store raw float3 positions. The packed-position-only decoder skips these resources, leaving geometry missing from model previews.
Add a bounded vertex-stream decoder supporting format 99 alongside existing packed format 66. Attribute offsets retain their semantic slots, raw float3 streams do not require a quantization header, and malformed position streams are rejected before modifying the mesh builder. Existing packed axis transforms and UV decoding remain supported.
Validation:
cargo test --offline --locked -- --nocapturepassed (33 passed, 3 ignored). Tests cover packed positions, raw float3 positions, UVs, truncated and nonfinite data, and atomic rejection. WithPERCYSTAR_LEVELS_RPFpointing to a local archive, three cable/water resources also decoded with expected triangle counts and positions within their declared bounds. No game assets are included.The Cargo.lock package version is synchronized with the existing 1.3.6 manifest; dependencies are unchanged.
@rpatty-dev on GitHub · 2026-11-21 13:19 UTC · original
Great work @techfoundrynz! Integrated into main for v1.3.8 with full credit in README & release notes (format 99 float3 meshlets + signed format-40 / float format-66 UVs + atomic validation), plus optimized slice copies in append_meshlet_geom.
Pull request closed