An alternative to qslim algorithm using vtk
The current version implements a custom reader and writer of smf file format.
Other format such as OFF can be easily implemented.
- Ubuntu
$ sudo apt-get install freeglut3-dev
- CentOS
$ sudo yum install freeglut-devel
- 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.
This is a dummy running command temporarily for pipeline testing.
$ ./simplification -n <target no. of polygons> -o <output filename> <input filename>
If you want to learn more, I also created a simple wiki page to briefly introduce vtk and the algorithms. Check out here.