You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spatialorder: Rename spatialSortPoints to spatialClusterPoints
This underscores the fact that we don't sort individual points within
each cluster (currently) and that the output is aligned to cluster
boundaries.
Also fix overallocated order[] buffer after a previous refactoring.
* Reorders points for spatial locality, and generates a new index buffer.
720
-
* Ensures the output can be split into block_size chunks where each chunk has good positional locality.
718
+
* Experimental: Spatial clusterizer
719
+
* Reorders points into clusters optimized for spatial locality, and generates a new index buffer.
720
+
* Ensures the output can be split into cluster_size chunks where each chunk has good positional locality. Only the last chunk will be smaller than cluster_size.
721
721
*
722
722
* destination must contain enough space for the resulting index buffer (vertex_count elements)
723
723
* vertex_positions should have float3 position in the first 12 bytes of each vertex
0 commit comments