Week 1 Report (Jun 2 - 8)
This week, I continued work on spatially reordering mesh vertices to improve sculpting performance. I opened a draft PR to gather early feedback.
Refactoring:
- Started moving toward a persistent spatial sort stored in
MeshRuntime
, as suggested by Hans. - Rewrote parts of BVH build logic to use precomputed group offsets.
Next Steps:
- Resolve crash on node allocation.
- Handle shared vertex issues.
- Refactor code for clarity using
OffsetIndices
,IndexRange
, and named structs. - Ensure all internal attributes are correctly updated post-reorder.
The reordering shows promise, and feedback from Hans is helping refine both the design and implementation.