Code Monkey home page Code Monkey logo

Comments (5)

walbourn avatar walbourn commented on May 18, 2024

If you are getting additional vertices it's coming from the Clean needed to break bow-ties. If the model contains non-convex surfaces, it can get stuck in an infinite loop.

from uvatlas.

Armen-J avatar Armen-J commented on May 18, 2024

But another thing is that in the new .obj file even the coordinates of previous vertices are changed! And there is no way to figure out the mapping!
Let's say in the original file there are 1000 vertices and in the file created by uvatlastool there are 1050, is there any way to map between the original 1000 and their corresponding vertices in the new file?

from uvatlas.

walbourn avatar walbourn commented on May 18, 2024

The remapping information is available via the API. Sounds like I might need to add a new uvatlastool option to write out that remapping as a text file as well.

from uvatlas.

Armen-J avatar Armen-J commented on May 18, 2024

That would be great!
Could you direct me to the file and function that provides the remapping?

from uvatlas.

walbourn avatar walbourn commented on May 18, 2024

Added in this commit 4a16541 a new -m option that writes out a text file of the form:

newIndex,oldIndex

That tells you for each index in the output mesh, what vertex in the original mesh did it come from.

from uvatlas.

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.