Code Monkey home page Code Monkey logo

Comments (6)

rohan-sawhney avatar rohan-sawhney commented on July 17, 2024

There are a couple of functions that compute UV coordinates - here's one of them:

void flatten(DenseMatrix& boundaryData, bool givenScaleFactors);

It might be a little difficult to understand what's happening by just looking at the source code,
this website contains a link to the paper and talks that explain how BFF works: https://geometrycollective.github.io/boundary-first-flattening/

from boundary-first-flattening.

lukkio88 avatar lukkio88 commented on July 17, 2024

I read your paper (beautiful work by the way, thumbs up!). I just want to get an insight about some implementation details, if you could also point out the actual dependencies necessary to make your algorithm work. For example I assume everything GUI related isn't necessary, do you make use of the glm library for some of the math involved or do you solely rely on the LABLAS library?

from boundary-first-flattening.

rohan-sawhney avatar rohan-sawhney commented on July 17, 2024

Thanks! The two main dependencies are a mesh data structure and a linear algebra package. For this codebase, I rolled out my own mesh class and wrapped SuiteSparse & BLAS for linear algebra. It shouldn't be too difficult to replace these dependencies for your own (e.g. open mesh, eigen etc) without major changes to Bff.cpp. I plan to separate the algorithm and GUI into their own separate libraries and build a command line tool for the next version.

from boundary-first-flattening.

lukkio88 avatar lukkio88 commented on July 17, 2024

It's ok I already had a look at some of your source code. I prefer if it is self-contained, it's easier to build probably. But just to summarize the main sources are in the folders linear-algebra, mesh and project, is this all I need to build a wrapper that eventually runs your algorithm?

from boundary-first-flattening.

rohan-sawhney avatar rohan-sawhney commented on July 17, 2024

Yes, thats correct

from boundary-first-flattening.

lukkio88 avatar lukkio88 commented on July 17, 2024

Hi again, out of curiosity what is the class Spline.h for? in your viewer folder, is it just for visualization purpose? Or is it used throughout the algorithm?

from boundary-first-flattening.

Related Issues (20)

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.