Skip to content

Commit b4996c2

Browse files
committed
update docs
1 parent 48a4343 commit b4996c2

4 files changed

Lines changed: 46 additions & 64 deletions

File tree

docs/source/how-to/configure_rendering.rst

Lines changed: 44 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -14,51 +14,48 @@ Isaac Lab's RTX renderer offers 3 preset rendering modes: performance, balanced,
1414
You can select a mode via a command line argument or from within a script, and customize settings as needed.
1515
Adjust and fine-tune rendering to achieve the ideal balance for your workflow.
1616

17-
Selecting a Rendering Quality Profile
18-
-------------------------------------
17+
Selecting a Rendering Mode Profile
18+
----------------------------------
1919

20-
Rendering quality can be selected in 2 ways.
20+
Rendering mode can be selected in two ways:
2121

22-
1. setting ``rendering_quality`` in a visualizer config, which selects an entry from
23-
:attr:`~sim.SimulationCfg.rendering_quality_cfgs`
22+
1. Set ``rendering_quality`` in a visualizer config, which selects an entry from
23+
:attr:`~sim.SimulationCfg.rendering_quality_cfgs`.
2424

2525
.. code-block:: python
2626
27-
import isaaclab.sim as sim_utils
28-
from isaaclab.visualizers import KitVisualizerCfg
27+
import isaaclab.sim as sim_utils
28+
from isaaclab_physx.visualizers import KitVisualizerCfg
2929
30-
sim_cfg = sim_utils.SimulationCfg(
31-
visualizer_cfgs=[
32-
KitVisualizerCfg(
33-
rendering_quality="performance",
34-
),
35-
],
36-
)
30+
sim_cfg = sim_utils.SimulationCfg(
31+
visualizer_cfgs=[
32+
KitVisualizerCfg(
33+
rendering_quality="performance",
34+
),
35+
],
36+
)
3737
38-
2. using the ``--rendering_quality`` CLI argument, which takes precedence over
39-
``visualizer_cfg.rendering_quality``
38+
2. Use the ``--rendering_mode`` CLI argument, which takes precedence over
39+
``visualizer_cfg.rendering_quality``.
4040

4141
.. code-block:: bash
4242
43-
./isaaclab.sh -p scripts/tutorials/00_sim/set_rendering_mode.py --rendering_quality {performance/balanced/high}
44-
43+
./isaaclab.sh -p scripts/tutorials/00_sim/set_rendering_mode.py --rendering_mode {performance/balanced/quality}
4544
4645
Notes:
4746

4847
* If ``rendering_quality=None`` for a visualizer, Isaac Lab does not apply rendering overrides
4948
for that visualizer, and backend/native defaults (for Kit, USD-authored settings) are used.
50-
* ``--rendering_mode`` is deprecated. If used, it maps to ``--rendering_quality``
51-
(legacy ``quality`` maps to ``high``).
52-
49+
* ``--rendering_mode`` is the supported CLI entry point.
5350

5451
Example renders from the ``set_rendering_mode.py`` script.
55-
To help assess rendering, the example scene includes some reflections, translucency, direct and ambient lighting, and several material types.
52+
To help assess rendering, the example scene includes reflections, translucency, direct and ambient lighting, and several material types.
5653

57-
- High Mode
54+
- Quality Mode
5855

5956
.. image:: ../_static/how-to/howto_rendering_example_quality.jpg
6057
:width: 100%
61-
:alt: High Rendering Mode Example
58+
:alt: Quality Rendering Mode Example
6259

6360
- Balanced Mode
6461

@@ -72,25 +69,26 @@ To help assess rendering, the example scene includes some reflections, transluce
7269
:width: 100%
7370
:alt: Performance Rendering Mode Example
7471

75-
Overwriting Specific Rendering Quality Settings
76-
-----------------------------------------------
72+
Overwriting Specific Rendering Settings
73+
---------------------------------------
7774

78-
Preset rendering settings can be overwritten via :class:`~sim.RenderingQualityCfg`.
75+
Preset rendering settings can be overwritten via :class:`~sim.RenderingModeCfg`.
7976

80-
There are 2 ways to provide settings that overwrite presets.
77+
There are two ways to provide settings that overwrite presets:
8178

82-
1. :class:`~sim.RenderingQualityCfg` supports overwriting specific settings via explicit
79+
1. :class:`~sim.RenderingModeCfg` supports overwriting specific settings via explicit
8380
``kit_*`` fields that map to underlying RTX settings.
84-
For example:
8581

8682
.. code-block:: python
8783
88-
quality_cfg = sim_utils.RenderingQualityCfg(
89-
rendering_mode_preset="performance",
90-
# explicit field overrides
91-
kit_enable_translucency=True, # defaults to False in performance mode
92-
kit_enable_reflections=True, # defaults to False in performance mode
93-
kit_dlss_mode=3, # defaults to 0 in performance mode
84+
import isaaclab.sim as sim_utils
85+
86+
mode_cfg = sim_utils.RenderingModeCfg(
87+
rendering_mode_preset="performance",
88+
# explicit field overrides
89+
kit_enable_translucency=True, # defaults to False in performance mode
90+
kit_enable_reflections=True, # defaults to False in performance mode
91+
kit_dlss_mode=3, # defaults to 0 in performance mode
9492
)
9593
9694
List of Kit settings.
@@ -104,40 +102,26 @@ There are 2 ways to provide settings that overwrite presets.
104102
+------------------------------------+-------------------------------------------------------------------------+
105103
| kit_enable_reflections | Bool. Enables reflections at the cost of some performance. |
106104
+------------------------------------+-------------------------------------------------------------------------+
107-
| kit_enable_global_illumination | Bool. Enables Diffused Global Illumination at the cost of some |
105+
| kit_enable_global_illumination | Bool. Enables Diffuse Global Illumination at the cost of some |
108106
| | performance. |
109107
+------------------------------------+-------------------------------------------------------------------------+
110108
| kit_antialiasing_mode | Literal["Off", "FXAA", "DLSS", "TAA", "DLAA"]. |
111-
| | |
112-
| | DLSS: Boosts performance by using AI to output higher resolution frames |
113-
| | from a lower resolution input. DLSS samples multiple lower resolution |
114-
| | images and uses motion data and feedback from prior frames to reconstruct|
115-
| | native quality images. |
116-
| | DLAA: Provides higher image quality with an AI-based anti-aliasing |
117-
| | technique. DLAA uses the same Super Resolution technology developed for |
118-
| | DLSS, reconstructing a native resolution image to maximize image quality.|
109+
| | DLSS boosts performance by reconstructing higher-resolution frames. |
110+
| | DLAA prioritizes image quality using the same SR technology as DLSS. |
119111
+------------------------------------+-------------------------------------------------------------------------+
120-
| kit_enable_dlssg | Bool. Enables the use of DLSS-G. DLSS Frame Generation boosts |
121-
| | performance by using AI to generate more frames. This feature |
122-
| | requires an Ada Lovelace architecture GPU and can hurt performance |
123-
| | due to additional thread-related activities. |
112+
| kit_enable_dlssg | Bool. Enables DLSS-G frame generation (Ada Lovelace GPU required). |
124113
+------------------------------------+-------------------------------------------------------------------------+
125-
| kit_enable_dl_denoiser | Bool. Enables the use of a DL denoiser, which improves render quality |
126-
| | at the cost of performance. |
114+
| kit_enable_dl_denoiser | Bool. Enables DL denoiser (quality up, performance down). |
127115
+------------------------------------+-------------------------------------------------------------------------+
128-
| kit_dlss_mode | Literal[0, 1, 2, 3]. For DLSS anti-aliasing, selects the |
129-
| | performance/quality tradeoff mode: 0 (Performance), 1 (Balanced), |
130-
| | 2 (Quality), 3 (Auto). |
116+
| kit_dlss_mode | Literal[0, 1, 2, 3] = Performance, Balanced, Quality, Auto. |
131117
+------------------------------------+-------------------------------------------------------------------------+
132-
| kit_enable_direct_lighting | Bool. Enable direct light contributions from lights. |
118+
| kit_enable_direct_lighting | Bool. Enables direct light contributions from lights. |
133119
+------------------------------------+-------------------------------------------------------------------------+
134-
| kit_samples_per_pixel | Int. Defines direct lighting samples per pixel. Higher values increase |
135-
| | quality at the cost of performance. |
120+
| kit_samples_per_pixel | Int. Direct lighting samples-per-pixel (higher = better, slower). |
136121
+------------------------------------+-------------------------------------------------------------------------+
137-
| kit_enable_shadows | Bool. Enables shadows at the cost of performance. When disabled, lights |
138-
| | will not cast shadows. |
122+
| kit_enable_shadows | Bool. Enables shadows at performance cost. |
139123
+------------------------------------+-------------------------------------------------------------------------+
140-
| kit_enable_ambient_occlusion | Bool. Enables ambient occlusion at the cost of some performance. |
124+
| kit_enable_ambient_occlusion | Bool. Enables ambient occlusion at performance cost. |
141125
+------------------------------------+-------------------------------------------------------------------------+
142126

143127

@@ -162,7 +146,6 @@ There are 2 ways to provide settings that overwrite presets.
162146
}
163147
)
164148
165-
166149
Current Limitations
167150
-------------------
168151

source/isaaclab/isaaclab/sim/simulation_cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
from isaaclab.physics import PhysicsCfg
1717
from isaaclab.renderers import RendererCfg
1818
from isaaclab.rendering_mode.rendering_mode_cfg import RenderingModeCfg
19-
from isaaclab.visualizers import VisualizerCfg
2019
from isaaclab.sim.spawners.materials.physics_materials_cfg import RigidBodyMaterialCfg
2120
from isaaclab.utils import configclass
21+
from isaaclab.visualizers import VisualizerCfg
2222

2323

2424
@configclass

source/isaaclab/test/envs/test_env_rendering_logic.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
ManagerBasedRLEnv,
2828
ManagerBasedRLEnvCfg,
2929
)
30-
from isaaclab_physx.visualizers.kit_visualizer import KitVisualizer
31-
from isaaclab_physx.visualizers.kit_visualizer_cfg import KitVisualizerCfg
3230
from isaaclab.scene import InteractiveSceneCfg
3331
from isaaclab.sim import SimulationCfg, SimulationContext
3432
from isaaclab.utils import configclass

source/isaaclab/test/sim/test_simulation_render_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"""Rest everything follows."""
1616

1717
import pytest
18+
from isaaclab_physx.visualizers import KitVisualizerCfg
1819

1920
from isaaclab.app.settings_manager import get_settings_manager
2021
from isaaclab.sim.simulation_cfg import RenderCfg, SimulationCfg

0 commit comments

Comments
 (0)