Scrawk/Marching-Cubes

Added Color.

xsmarty opened this issue · 2 comments

Hi there,
thanks for the great work, it was very useful.

Please find enclosed an enhanced version working with colour.
Vertex color info is propagated to edges during marching.

MarchingCubes.zip

screenshot 2018-01-23 16 19 24

Many thanks,
Xavier.

What data are you using as input? This doesn't look like the noise he used originally

I am building the isosurface from a colored octomap.

If you want to use the original example, or get an idea of how it works :
MarchingColorCubeExample.zip

The result :
screenshot 2018-01-24 11 13 28