Skip to content
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

can't load ycb objects... #37

Open
jeffsonyu opened this issue Jun 23, 2022 · 0 comments
Open

can't load ycb objects... #37

jeffsonyu opened this issue Jun 23, 2022 · 0 comments

Comments

@jeffsonyu
Copy link

Hello! I'm currently using your demo code to scan and load the object of ycbhttp://ycb-benchmarks.s3-website-us-east-1.amazonaws.com/. Unfortunately it came up with one mistake in the get_surface_point_cloud line in the demo, and the mistake is as follows.

File "C:\Users\87251\anaconda3\envs\sdf\lib\site-packages\pyrender\camera.py", line 187, in get_projection_matrix:
aspect_ratio = float(width) / float(height)
ZeroDivisionError: float division by zero

What is this problem? I check the obj file is ok, which contains normal vertices and faces as chair.obj as you provided. Perhaps the only different is that mines contains material information provided with .mtl files. Could you help me with this? Really appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant