collisionevent between cvoxelobject and cmultimesh
Hi,
is there any possibility to create a mesh with "createDynamicMesh" out of a loaded cvoxelobject? My cvoxelobject consists of a series of images loaded with cMultiImage.
The aim is, that a loaded .obj (cmultimesh) drill should not interfuse my loaded voxelobject.
In Example ODE-Dental this works perfectly fine with two loaded .obj files. But this behavior i want to transfer to a voxel object. Can i convert my cmultiImage to a cMultiMesh?
Can anybody help me out?
Please Log in or Create an account to join the conversation.
The latest version of CHAI3D now supports the conversion of voxel models to mesh model using an implementation of the marching cube algorithm. See example 28-voxel-basic for more information.
Please Log in or Create an account to join the conversation.
First, thank you for including the polygonize function!
Is it possible to limit the poligonization of a voxel object to a small sector easily?
Please Log in or Create an account to join the conversation.
The current implementation will polygonize the full model, however you could easily modify the function to only process a section of the volume object. I suggest that you check the source code.
Please Log in or Create an account to join the conversation.