Vulpinii / mesh_simplification

Visualization of mesh simplification using the partitioning (grid structure) or adaptive (octree structure) method.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mesh Simplification

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.

Features

  • 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

Building

On Linux

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

On Windows

[instructions coming soon]

Gallery

YouTube Video

Mesh Simplification

Preview

Animated gif

About

Visualization of mesh simplification using the partitioning (grid structure) or adaptive (octree structure) method.

License:GNU General Public License v3.0


Languages

Language:C++ 92.0%Language:GLSL 5.5%Language:CMake 2.3%Language:Shell 0.1%