source:newmodules:voxelization
Voxelization
This namespace allows for voxelization of meshes. The current implementation is simple:
- For each triangle
- For each voxel intersecting with the triangle's bounding box
* Create 13 principal axes for the voxel-triangle intersection
* Use 'separating axes theorem': Check if there is a separation between the projection of both objects on each axis * If there is no separation, a voxel is set
Voxels are defined as follows: Voxel with coordinate (x,y,z) goes from (x,y,z) to (x+1,y+1,z+1)
source/newmodules/voxelization.txt · Last modified: 2024/08/26 13:27 by 127.0.0.1