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

[BUG] OpenGLRenderer example: example_render_opengl.py #312

Closed
mmmovania opened this issue Sep 10, 2024 · 1 comment
Closed

[BUG] OpenGLRenderer example: example_render_opengl.py #312

mmmovania opened this issue Sep 10, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mmmovania
Copy link

Bug Description

When setting the argument --num_tiles to 1 as default, the code gives a divison by zero error at
line 117 aspect_ratio = example.renderer.tile_height / example.renderer.tile_width
Image

An easy fix is to simply change line 34 in class Example from this
if num_tiles > 1:
to this
if num_tiles >= 1:

and then it works fine.

System Information

No response

@mmmovania mmmovania added the bug Something isn't working label Sep 10, 2024
@shi-eric shi-eric self-assigned this Sep 16, 2024
shi-eric added a commit that referenced this issue Sep 16, 2024
Support num_tiles = 1 in example_render_opengl

Closes GH-312

See merge request omniverse/warp!727
@shi-eric
Copy link
Contributor

Thanks for reporting the issue, it should now be fixed in the main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants