What I want is to re-triangulate a mesh by using the voxel model i have created.
From a google search I found that Marching Cubes should be a suitable algorithm. I have read many tutorials but the iso-surface part confuses me.
I follow this tutorial http://paulbourke.net/geometry/polygonise/ but cannot understand what exactly is the iso-surface in my case and how to extract it.
Is it my initial object surface?
EDIT1:
So far I have done this with the re-triangulation:
It seems that i find the right itnersection points between the isosurface and the voxels, because seems to have a right voxel model:
But why they are missing so many triangles at the re-triangulation?
EDIT2:
Debugging my code, I noticed the following: The Marching Cube table I use has pointers to the vertices where the iso-surface cuts my voxels. These triplets construct the new triangles. But I noticed that many times the Table says to construct the triangle with the vertices (for example) intersection_point(0)-intersection_point(3)-intersection_point(5) but my intersection points are at different positions.
-> The position of the intersection points depends on the edge where they lie.