/BlendedPiecewiseMoebiusMaps

Polyscope implementation of "BPM: Blended Piecewise Moebius Maps" by Rorberg, Vaxman & Ben-Chen

Primary LanguageC++MIT LicenseMIT

BPM: Blended Piecewise Möbius Maps

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 interpolated camel head Piecewise-linear camel head
BPM interpolation Piecewise-linear interpolation

Cloning

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.

Building

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