Structs§
- GpuVoxelize
Params - GPU voxelization uniform parameters (for compute shader path).
- Triangle
- A triangle with vertex positions, normal, color, and emission.
- Voxelize
Config - Configuration for voxelization.
- Voxelize
Stats - Statistics from voxelization.
Constants§
- VOXELIZE_
COMP_ SRC - Embedded compute shader source for GPU voxelization.
Functions§
- compute_
voxelize_ stats - conservative_
voxelize - Conservative voxelization: dilated rasterization producing all voxels a triangle might touch.
- merge_
grids - Merge two voxel grids of the same resolution. Non-empty voxels from b overwrite a.
- triangle_
box_ intersection - SAT-based triangle-box intersection test.
- voxelize_
point_ cloud - Voxelize a point cloud.
- voxelize_
spheres - Voxelize spheres into a grid.
- voxelize_
triangles - Voxelize a set of triangles into a dense grid.