Skip to content

Implementation of the research paper Least Squares Conformal Maps for Automatic Texture Atlas Generation

License

Notifications You must be signed in to change notification settings

ZhangHaibo0810/lscm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Least Squares Conformal Maps for Automatic Texture Atlas Generation

Implementation of the research paper Least squares conformal maps for automatic texture atlas generation

Requirements

Install libigl on the project folder, one directory above or in the other paths listed in cmake/FindLIBIGL.cmake

Install Eigen v3.3

Compiling

mkdir build
cd build
cmake ..
make

Running

In build/ folder:

Default (Bunny Iso-(u,v) curves):

./lscm

Custom mesh and mode:

./lscm <path to .obj mesh> <mode>

.obj meshes:

  • 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

modes:

  • 0 : show initial features
  • 1 : show feature curves
  • 2 : show charts
  • 3 : show iso-(u,v) curves
  • 4 : show packing

examples:

./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

About

Implementation of the research paper Least Squares Conformal Maps for Automatic Texture Atlas Generation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.6%
  • CMake 3.4%