-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
there is bug when I use my own obj file #3
Comments
@pclausen @FrankMelon1 any update on this ? as I am stuck with the exact same issue. |
@FrankMelon1 @durgesh17media $ tail rp_janna_posed_004_30k.obj 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 I can't test on my tablet at the moment but i assume that simplified file will parse ok. |
Vertices parsing incorrect, issue #3
it was actually issue with vertices parsing, now corrected. File has been added to test suite. Thanks for reporting. |
thanks for your great work!!!
it is working well when I use the obj. file that you give, but when I use my obj file, there comes bugs as below:
python obj2png.py -i /home/wutao/SMPL-master/obj2png-master/src/rp_janna_posed_004_30k.obj -v
Namespace(animate=False, azim=None, elevation=None, objfiles=['/home/wutao/SMPL-master/obj2png-master/src/rp_janna_posed_004_30k.obj'], outfile=None, quality=None, scale=None, view=True)
Traceback (most recent call last):
File "obj2png.py", line 122, in
ob.Plot(outfile,elevation=elevation,azim=azim,dpi=dpi,scale=scale,animate=animate)
File "/home/wutao/SMPL-master/obj2png-master/src/ObjFile.py", line 178, in Plot
ax.plot_trisurf(self.nodes[:,0],self.nodes[:,1],self.nodes[:,2], triangles=tri)
IndexError: too many indices for array
Do you know how to solve this?
thank you so much!
rp_janna_posed_004_30k.zip
The text was updated successfully, but these errors were encountered: