Skip to content

Commit

Permalink
Add note about segmentation images to offsamples documentation.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 622830327
Change-Id: I8e15ce65babc86086335b0f9010db5be581460fc
  • Loading branch information
yuvaltassa authored and copybara-github committed Apr 8, 2024
1 parent feccf7e commit 3660417
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/XMLreference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,9 @@ visualization should somehow be simplified.
anti-aliasing but can slow down the GPU. Set this to 0 to disable multi-sampling. Note that this attribute only
affects offscreen rendering. For regular window rendering, multi-sampling is specified in an OS-dependent way when
the OpenGL context for the window is first created, and cannot be changed from within MuJoCo.
|br| When rendering segmentation images, multi-sampling is automatically disabled so as not to average segmentation
indices. However, some rendering backends ignore the automatic disabling. If your segmentation images contain bad
indices, try manually setting this attribute to 0.

.. _visual-quality-numslices:

Expand Down

0 comments on commit 3660417

Please sign in to comment.