HsiaTsing / ProgressiveMeshes

This is an implementation of the progressive meshes based on the mesh simplification algorithm proposed by Garland and Heckbert.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ProgressiveMeshes

This is an implementation of the progressive meshes based on the mesh simplification algorithm proposed by Garland and Heckbert. The original code is available on Yusuke Yasui's website. I did nothing but compiled it on Windows with Visual Studio 2010.

You should make sure OpenGL and GLUT are both installed correctly on you computer, before you use this code.

Usage:
MeshSimplification *.off

left-click-drag: rotate
right-click-drag: translate
both left- and right-click-drag: scale
key 't': show/hide triangle edges
key 'c': perform edge collapse
key 's': perform vertex split
key 'z': reduce the number of faces by 5%
key 'x': the opposite of above operation.(i.e. increase the number of faces by 5%/(100-5))

About

This is an implementation of the progressive meshes based on the mesh simplification algorithm proposed by Garland and Heckbert.

License:GNU General Public License v2.0


Languages

Language:C++ 89.4%Language:C 10.6%