CHAI3DCHAI3D

collisionevent between cvoxelobject and cmultimesh

More
21 Nov 2016 14:02 #1

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.

More
21 Dec 2016 01:07 #2

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.

More
16 Jan 2017 08:54 #3

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.

More
16 Jan 2017 16:51 #4

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.