Code Monkey home page Code Monkey logo

Comments (2)

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

@petrasvestartas Thanks for the feedback! The code to translate the input mesh can be found here:

void MeshIO::normalize(std::vector<Mesh>& model)
In the next version, I'll add this translation back to the model so that input geometry is not modified. The scale shouldn't matter - internally BFF scales the model down to unit radius but then rescales it when the mesh is written to file.

from boundary-first-flattening.

petrasvestartas avatar petrasvestartas commented on July 17, 2024 1

Dear @rohan-sawhney ,

Since I am using your command-line method I noticed that this can be improved.

Currently I am using .NET C# language with a custom written obj parser. Meaning I am exporting .obj files from my application via code, running command-line in one thread, and then extracting vertices, faces and texture values to get the end result. I do not know if it possible to speed up this process, without export files, but saving files and opening them takes 50 ms for small meshes and 500 ms for the face mask (the default input of your software).

Would it be possible to avoid this file save/open operation when the command line would output 3 collections:
vertices, faces and textures?

Ideally I will use C++ code, but for .NET users who does not have any experience in low level coding it would be a great help.

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.