This program allows to visualize two methods of mesh simplification:
- Simplification by Partitioning (OCS) using a regular grid;
- Adaptive simplification to regions with the Octree.
These two methods are very fast and perform flow calculations but be careful, they generate topological errors! The results obtained are therefore not the best. Improvement possible using the Half-Edge.
Written in C++ and using OpenGL API.
- Load different 3D models
- Visualize the number of mesh' vertices
- Visualize the valence of each vertex
- Visualize the simplification of meshes
- Choose the adaptive (octree) or partitioning (grid) structure
- Render in wireframe
- Return to the original mesh
Prerequisite: CMake
To build this program, download the source code using git clone https://github.com/Vulpinii/mesh_simplification
or directly the zip archive.
Then run the launch.sh
shell script.
You can do it manually by following these commands:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j
./program
[instructions coming soon]