Git Product home page Git Product logo

Comments (8)

TimoBolkart avatar TimoBolkart commented on May 31, 2024

That looks indeed wrong. Can you please share the input mesh with us and let us know, how you obtained that?

from bfm_to_flame.

lucasjinreal avatar lucasjinreal commented on May 31, 2024

@TimoBolkart Hi, the first one the default obj file (although it looks like already weird). I removed the mesh lib using inside since it have a lot of dependencies and some of them are out-of-dated.

Anyway, I found the optimization takes about 10 min to get a wrong result, so I give it up, it can not fit a textured obj from bfm to flame right?

from bfm_to_flame.

TimoBolkart avatar TimoBolkart commented on May 31, 2024

What is the default obj file? It looks weird because the rendering looks from the back at it I guess, so you see the face from the inside. Can you share just that one obj file with me?

from bfm_to_flame.

lucasjinreal avatar lucasjinreal commented on May 31, 2024

https://github.com/TimoBolkart/BFM_to_FLAME/blob/main/data/134212_1.obj

from bfm_to_flame.

TimoBolkart avatar TimoBolkart commented on May 31, 2024

Unfortunately, I cannot reproduce this error. What changes do you have in the code? Are you sure that the file is loaded properly and that vertices are not permuted after loading (Trimesh for instance by default permutes the vertices when loading a mesh)

Running mesh_convert.py for this file gives me following result
134212_1__FLAME_fit

And this is the input BFM file rendered with the same view
134212_1

from bfm_to_flame.

lucasjinreal avatar lucasjinreal commented on May 31, 2024

@TimoBolkart thanks, the first weird pic is directly is via macOS preview application. It looks not quite normal.

from bfm_to_flame.

TimoBolkart avatar TimoBolkart commented on May 31, 2024

You are looking from the back onto the face, just rotate it, then it will look ok.

from bfm_to_flame.

TimoBolkart avatar TimoBolkart commented on May 31, 2024

Closed as there was no further response

from bfm_to_flame.

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.