Skip to content

Commit

Permalink
Fix osmesa typo in MuJoCo rendering backends documentation (#1212)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kallinteris-Andreas authored Oct 16, 2024
1 parent b5ab287 commit a141fc9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/environments/mujoco.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ env = gymnasium.make("Ant-v5", render_mode="rgb_array", width=1280, height=720)
### Rendering Backend
The MuJoCo simulator renders images with OpenGL and can use 3 different back ends "glfw" (default), "egl", "omesa", which can be selected by setting an [environment variable](https://en.wikipedia.org/wiki/Environment_variable).

| Backend | Environment Variable | Description |
|---------|----------------------------|-----------------------------------|
| `glfw` | `MUJOCO_GL=glfw` (default) | Renders with window System on GPU |
| `egl` | `MUJOCO_GL=egl` | Renders headless on GPU |
| `omesa` | `MUJOCO_GL=omesa` | Renders headless on CPU |
| Backend | Environment Variable | Description |
|----------|----------------------------|-----------------------------------|
| `GLFW` | `MUJOCO_GL=glfw` (default) | Renders with Window System on GPU |
| `EGL` | `MUJOCO_GL=egl` | Renders headless on GPU |
| `OSMESA` | `MUJOCO_GL=osmesa` | Renders headless on CPU |

More information of the [MuJoCo/OpenGL documentation](https://mujoco.readthedocs.io/en/stable/programming/index.html#using-opengl).
<!--
Expand Down

0 comments on commit a141fc9

Please sign in to comment.