-
Notifications
You must be signed in to change notification settings - Fork 805
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
Rendering with OpenGL fails with "ARB_framebuffer_object required" #1778
Comments
I did, but it's not using OpenXR. Moreover, the glfw window hints that cause the trouble are not set in this project. I made some tests and found out some interesting results: |
Interesting, I am not sure why this would happen, although I also have somewhat similar problems with using the wrong context when initializing opengl for openxr. I do not have a solution at the moment. |
It's been a pain, but I eventually succeeded in rendering MuJoCo to a VR headset using the python OpenXR wrapper pyopenxr. The OpenGL version/profile bug I reported above prevents the use of an OpenGL debugger such as RenderDoc, which requires at least OpenGL 3.2 and the Core Profile... |
Thanks for sharing the code! I will look into what can be done about the MuJoCo OpenGL |
Hi,
I'm a student in research and I'm trying to use MuJoCo for simulating soft body touch and rendering haptic feedback, all of this in Virtual Reality.
I'm looking for some help with the render pipeline using OpenGL.
To integrate the virtual headsets in MuJoCo, I am trying to use the pyopenxr library. It uses glfw under the hood.
What is actively driving me nuts is this error when instantiating the MjrContext:
Here is the related code:
What is really weird is that I tried this piece of code to check if the context indeed misses the
GL_ARB_framebuffer_object
extension:... and no, the context has the extension. I do not understand why MuJoCo complains.
What is even weirder is that if I remove the two glfw window hints about the context version, the error disappears and everything works fine. The problem is I need those hints for OpenXR. What should I do?
The text was updated successfully, but these errors were encountered: