A CGAL Polyhedron demo plugin for surface mesh simplification with color based constraints
This project is based on these CGAL Polyhedron demo files:
In the CGAL directory run:
cd demo\Polyhedron\Plugins
git clone https://github.com/maxroehrl/Surface_mesh_simplification.git
Make sure all environment variables for the build requirements are set like shown here for Windows.
Run cmake on the Polyhedron demo and open the generated solution in Visual Studio.
Build the ALL_BUILD project to build the whole demo.
Start the Polyhedron demo and open an OFF file with color information with the "surface_mesh_io_plugin".
Right click on the mesh and under "Operations" select "Triangulated Surface Mesh Simplification" and "Color Constrained Simplification".
In the dialog select your color source and start the simplification process.