Polyscope implementation of BPM: Blended Piecewise Möbius Maps by Rorberg, Vaxman & Ben-Chen. The code takes in a mesh with disk topology, flattens it with BFF, and shows the parameterization with either blended Möbius interpolation, or piecewise-linear interpolation.
BPM interpolation | Piecewise-linear interpolation |
This repository uses git submodules to manage dependencies. To clone everything, run
git clone --recursive git@github.com:MarkGillespie/BlendedPiecewiseMoebiusMaps.git
or run git submodule update --init --recursive
after cloning.
To build the code, you can run
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j7
Then run the code with
bin/run ../data/camel-head.obj
Run the tests with
bin/test