Coder Social home page Coder Social logo

jerryjiehanwang / lscm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from math-castro/lscm

0.0 1.0 0.0 6.68 MB

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

Home Page: https://doi.org/10.1145/566654.566590

License: MIT License

CMake 3.39% C++ 96.61%

lscm's Introduction

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

lscm's People

Contributors

math-castro avatar robertoffmoura avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.