lawonder / MeshSimplification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MeshSimplification

Mesh Simplification algorithm by using vertex clustering

Requirements

Python 2.7

OpenGL for program with UI

How to use

####With UI The "load" program (using OpenGL for rendering the model) of this version is complied on OS X 10.9.

Please run the program on OS X operating system.

Since the program is not automatically focused on OS X, you need to click the python icon, even though the program is running. Then you can choose the model you want to simplify and type in a float number (less than 1.0) and press “Simplify” button.

####No UI Usage: python main.py filename unit

"filename" is any files in "original_mesh" folder

"unit" (less than 1.0) is the length of the bounding box of the model

for example: python main.py cow.off 0.02

Reference

[Multi-Resolution 3D Approximations for Rendering Complex Scenes] [Multi-Resolution 3D Approximations for Rendering Complex Scenes]: http://www.cs.uu.nl/docs/vakken/ddm/slides/papers/rossignac.pdf

[Model Simplification Using Vertex-Clustering ] [Model Simplification Using Vertex-Clustering ]: http://www.comp.nus.edu.sg/~tants/Paper/simplify.pdf

About


Languages

Language:Python 100.0%