-
-
Notifications
You must be signed in to change notification settings - Fork 866
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
[Proposal] Support custom width, height, and scene geometries in the MuJoCo renderer #730
Comments
|
|
|
|
Never mind my previous comments regarding the gymnasium API not supporting multiple camera, that was wrong sorry (
That being said the MuJoCo renderer does not currently support that feature, that should be patched in
|
|
here is an example use-case: example.zip I ran this on MacOS 14.0 via anaconda python version 3.11. This uses the code from my pull request #731, installed using the provided |
Proposal
I want to add the option to choose the width and height of the offscreen renderer outputs individually and not rely on the visual settings in the XML. I also want to be able to control the
maxgeom
limit set in the base renderer class.Motivation
The window viewer implementation for mujoco rendering in
gymnasium
is the best one out there. But using this viewer and another viewer for offscreen rendering yields glfw errors. The offscreen viewer class implementation has two flaws that prevent me from using it in my project:maxgeom
setting is at a low 1000 and my scenes are very cluttered.Pitch
mujoco.Renderer
class.maxgeom
setting when creating the scene object in the base viewer class.Alternatives
No response
Additional context
I have a pull request lined up with the required implementation that I will upload shortly
Checklist
The text was updated successfully, but these errors were encountered: