Implementation of the research paper Least squares conformal maps for automatic texture atlas generation
Install libigl on the project folder, one directory above or in the other paths listed in cmake/FindLIBIGL.cmake
Install Eigen v3.3
mkdir build
cd build
cmake ..
make
In build/
folder:
./lscm
./lscm <path to .obj mesh> <mode>
- Fish:
../data/blub_triangulated.obj
- Bunny:
../data/LSCM_bunny.obj
- Pumpkin:
../data/pumpkin_tall_10k.obj
- Cow:
../data/spot_triangulated.obj
- Teddy:
../data/teddy.obj
- 0 : show initial features
- 1 : show feature curves
- 2 : show charts
- 3 : show iso-(u,v) curves
- 4 : show packing
./lscm ../data/blub_triangulated.obj 0
./lscm ../data/LSCM_bunny.obj 1
./lscm ../data/pumpkin_tall_10k.obj 2
./lscm ../data/spot_triangulated.obj 3
./lscm ../data/teddy.obj 4