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

Fix rendering for GatherEnv #8

Open
ghost opened this issue Sep 14, 2018 · 3 comments
Open

Fix rendering for GatherEnv #8

ghost opened this issue Sep 14, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 14, 2018

The following error is thrown by the code when trying to render a GatherEnv:

Creating window glfw
ERROR: GLEW initalization error: Missing GL version

The issue occurs when the render method in GatherEnv is called for the second time, and more specifically, when the MjRenderContext objects are instantiated for the second time with the same MjSim objects.
If these MjRenderContext objects are instantiated once, the problem no longer appears, but the rendering does not work properly, and a black background appears instead in the viewer window.
Therefore, this issue may require a more complete update of the render method in GatherEnv.

Note:
Currently the render method in GatherEnv is bypassed for testing purposes.

@ghost
Copy link
Author

ghost commented Sep 14, 2018

Also, when solving this issue, check that the implementation works for both CPU and GPU.

@jonashen
Copy link
Member

jonashen commented Oct 9, 2018

@gonzaiva Is this issue fixed?

@ghost
Copy link
Author

ghost commented Oct 9, 2018

No.

@naeioi naeioi self-assigned this Oct 9, 2018
@ryanjulian ryanjulian transferred this issue from rlworkgroup/garage Mar 6, 2019
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

2 participants