GithubHelp home page GithubHelp logo

Comments (7)

patrikhuber avatar patrikhuber commented on August 25, 2024

I'm really not sure what you're doing and trying to do, sorry!

from 4dface.

Adra8373 avatar Adra8373 commented on August 25, 2024

I am trying to map the attached picture to the head model, using create_mipmapped_texture function.
male111

from 4dface.

patrikhuber avatar patrikhuber commented on August 25, 2024

It looks like your uv coordinates might be wrong. You should verify that it works in MeshLab or Blender first.

Also the texturing support in eos is quite basic so there might be some issues if your uv coordinates contain the same vertex mapped to multiple triangles on the uv-map.

from 4dface.

Adra8373 avatar Adra8373 commented on August 25, 2024

Thanks for replying. I tested that in 3DMax and It works good. But the uv coordinates are 6188 and the vertices are 5850, they are not equal. That is could be the problem, am I right?

from 4dface.

patrikhuber avatar patrikhuber commented on August 25, 2024

Ok, good.

the uv coordinates are 6188 and the vertices are 5850 [...] That is could be the problem, am I right?

Yes, exactly. eos currently only supports simple texturing where both numbers are the same.
You can try to generate a texture map without seams (i.e. just a flattening of the mesh), if that's possible with your mesh topology.
Otherwise you don't need the rendering (texturing) in eos for anything, you can render using OpenGL (or export an obj and use 3ds Max).

from 4dface.

Adra8373 avatar Adra8373 commented on August 25, 2024

Many thanks for replying and for help.

from 4dface.

patrikhuber avatar patrikhuber commented on August 25, 2024

@CodingGou Sorry, I am deleting your comment here, as it is completely unrelated to this issue. The documentation and GitHub readme are there to tell you how you can start using the eos library.

from 4dface.

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.