Giter Site home page Giter Site logo

Comments (3)

durgesh17media avatar durgesh17media commented on July 22, 2024

@pclausen @FrankMelon1 any update on this ? as I am stuck with the exact same issue.

from obj2png.

pclausen avatar pclausen commented on July 22, 2024

@FrankMelon1 @durgesh17media
The problem is that my parser is too simple to accept files with the face format you have

$ tail rp_janna_posed_004_30k.obj
f 25449/26579/25449 4806/5146/4806 20683/21622/20683
f 20683/21622/20683 25445/26575/25445 25449/26579/25449
f 17288/18287/17288 1331/1333/1331 25444/26574/25444
f 25444/26574/25444 6310/6856/6310 25445/26575/25445
f 25445/26575/25445 3512/3830/3512 17288/18287/17288
f 17288/18287/17288 25444/26574/25444 25445/26575/25445
f 25444/26574/25444 1331/1333/1331 20323/21290/20323
f 20323/21290/20323 4688/5023/4688 25448/26578/25448
f 25448/26578/25448 6310/6856/6310 25444/26574/25444
f 25444/26574/25444 20323/21290/20323 25448/26578/25448

A quick hack before i fix it is to simplify the format eg with sed

$ sed -E 's!/[[:digit:]]+!!g' rp_janna_posed_004_30k.obj > rp.obj
$ tail rp.obj
f 25449 4806 20683
f 20683 25445 25449
f 17288 1331 25444
f 25444 6310 25445
f 25445 3512 17288
f 17288 25444 25445
f 25444 1331 20323
f 20323 4688 25448
f 25448 6310 25444
f 25444 20323 25448

I can't test on my tablet at the moment but i assume that simplified file will parse ok.

from obj2png.

pclausen avatar pclausen commented on July 22, 2024

it was actually issue with vertices parsing, now corrected. File has been added to test suite. Thanks for reporting.

from obj2png.

Related Issues (10)

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.