This enumeration determines how the voxels as filled to create a solid object. The default should be 'FLOOD_FILL' which generally works fine for closed meshes. However, if the mesh is not watertight, then using RAYCAST_FILL may be preferable as it will determine if a voxel is part of the interior of the source mesh by raycasting around it.
Finally, there are some cases where you might actually want a convex decomposition to treat the source mesh as being hollow. If that is the case you can pass in 'SURFACE_ONLY' and then the convex decomposition will converge only onto the 'skin' of the surface mesh.
Enumerator |
---|
FLOOD_FILL | |
SURFACE_ONLY | |
RAYCAST_FILL | |
Definition at line 307 of file VHACD.h.