Comments (3)
@pclausen @FrankMelon1 any update on this ? as I am stuck with the exact same issue.
from obj2png.
@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.
it was actually issue with vertices parsing, now corrected. File has been added to test suite. Thanks for reporting.
from obj2png.
Related Issues (10)
- how to install ObjFIle? HOT 1
- AttributeError: 'Axes3DSubplot' object has no attribute 'set_box_aspect' HOT 1
- Error when executing on Max OSX HOT 2
- Does your tool support .mtl files associated with .obj files ? HOT 1
- Clipping HOT 1
- Rotation and translation of object HOT 1
- Still have a bug in ObjFile.py HOT 1
- Obj file loaded with incorrect apsects and scale HOT 3
- ValueError: invalid literal for int() with base 10: '1/' HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obj2png.