the13fools / remesh-script

A quick libigl script for remeshing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remeshing

Most remeshing tools are pretty horrible in terms of outputting delaunay triangulations. libigl does a pretty good job if you first upsample and then downsample.

Publishing!

See the tutorial first

Then build, run and understand the libigl tutorial.

Compile

Compile this project using the standard cmake routine:

mkdir build
cd build
cmake ..
make

This should find and build the dependencies and create a example_bin binary.

Run

From within the build directory just issue:

./example_bin

A glfw app should launch displaying a 3D cube.

Dependencies

The only dependencies are stl, eigen, libigl and the dependencies of the igl::opengl::glfw::Viewer.

We recommend you to install libigl using git via:

git clone https://github.com/libigl/libigl.git
cd libigl/
git checkout 6ebc585611d27d8e2038bbbf9cb4910c51713848
git submodule update --init --recursive
cd ..

If you have installed libigl at /path/to/libigl/ then a good place to clone this library is /path/to/libigl-example-project/.

About

A quick libigl script for remeshing

License:Mozilla Public License 2.0


Languages

Language:CMake 69.0%Language:C++ 31.0%