Skip to content

Allen-Shao/Mesh-Simplification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mesh-simplification

An alternative to qslim algorithm using vtk

Input and Output Remarks

The current version implements a custom reader and writer of smf file format.
Other format such as OFF can be easily implemented.

Dependency

OpenGL

  • Ubuntu
$ sudo apt-get install freeglut3-dev
  • CentOS
$ sudo yum install freeglut-devel

The Visualization Toolkit(VTK)

Build

  • if you have all dependencies already installed:
$ mkdir build
$ cd build
$ cmake ../src
$ make
  • if you have not installed any dependencies:
$ ./compile_<Your OS>.sh

After finished, go into build/ folder.

Run

This is a dummy running command temporarily for pipeline testing.

$ ./simplification -n <target no. of polygons> -o <output filename> <input filename>

Wiki

If you want to learn more, I also created a simple wiki page to briefly introduce vtk and the algorithms. Check out here.

About

This is a simple mesh density normalization tool using vtk

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published