Visualization#

Visualizers let you inspect, debug, and record a running simulation. Isaac Lab offers five options, from lightweight viewers to the Isaac Sim viewport. You can also view camera-sensor output in the streaming camera panel.

Try Franka cube stacking for a compact simulation running directly in the browser. Orbit its camera, watch the scripted grasp, or control the end effector in Manual mode.

5 visualizers running Isaac-Velocity-Flat-AnymalD with a circular velocity command
Green arrow: commanded velocity. Blue arrow: current velocity.

Newton (OpenGL)
Viser
Newton (RTX)
Kit
Rerun

Note: the Newton (RTX) clip was recorded without visualization markers, so it shows no velocity arrows.

Quick Start#

Pass --viz to any train command to launch a visualizer. --visualizer is an equivalent alias.

# Newton: lightweight OpenGL viewport, switchable to RTX rendering
uv run isaaclab train --rl_library rsl_rl --task Isaac-Cartpole --viz newton

# Viser: browser-based viewer
uv run isaaclab train --rl_library rsl_rl --task Isaac-Cartpole --viz viser

# Kit viewport
uv run isaaclab train --rl_library rsl_rl --task Isaac-Cartpole --viz kit

# Multiple visualizers simultaneously (comma-separated, no spaces)
uv run isaaclab train --rl_library rsl_rl --task Isaac-Cartpole --viz viser,newton

Note

Most tasks default to a PhysX backend, which requires Isaac Sim. If it isn’t installed yet, add --extra isaacsim to the uv run commands above; see Optional extras for details.

Note

train and play run without a visualizer unless --viz is passed, while packaged demos and examples open their own default visualizer. --viz none turns it off.

For combining visualizers, running headless, and other common use cases, see Usage below.

Visualizer presets#

Task commands accept visualizer=newton, visualizer=kit, or visualizer=viser,newton. --viz and --visualizer are aliases for the same selection. visualizer=none disables viewers. Selection happens during configuration composition, before choosing process runtimes or creating the scene.

Registered tasks already supply the built-in backend choices. Declare only common settings for ordinary use; --viz selects the backend during task composition:

sim_cfg = SimulationCfg(
    visualizer_cfgs=VisualizerCfg(eye=(8.0, 8.0, 3.0), max_visible_envs=16),
)

Task scripts can customize alternatives with isaaclab_tasks.utils.presets.MultiBackendVisualizerCfg. Keep view, window, and scene settings on VisualizerCfg. Its backend selects the implementation; MultiBackendVisualizerCfg() supplies the built-in choices without repeating those common settings. Compose standalone declarations during initial configuration, then call the core launcher directly:

from isaaclab.app import launch_simulation
from isaaclab.sim import SimulationCfg
from isaaclab.visualizers import VisualizerCfg, WindowCfg

from isaaclab_tasks.utils import resolve_presets
from isaaclab_tasks.utils.presets import MultiBackendVisualizerCfg

sim_cfg = SimulationCfg(
    visualizer_cfgs=VisualizerCfg(
        eye=(8.0, 8.0, 3.0),
        max_visible_envs=16,
        window=WindowCfg(size=(1280, 720)),
        backend=MultiBackendVisualizerCfg(),
    ),
)

sim_cfg = resolve_presets(sim_cfg, overrides={"visualizer_cfgs.backend": args_cli.visualizer or "default"})
with launch_simulation(sim_cfg, args_cli):
    # Construct the simulation and scene here.
    ...

One VisualizerCfg supplies the common settings for every selected backend. Selecting viser,newton creates both viewers; no outer list or repeated common settings is needed. Backend-specific options are available when needed, but ordinary configuration uses the unchanged MultiBackendVisualizerCfg() declaration.

Use a list of VisualizerCfg declarations for different views or window sizes. Backend selection applies to each declaration independently. For example, a task with these two views opens four windows with --viz=newton,viser: one Newton and one Viser window per view.

visualizer_cfgs = [
    VisualizerCfg(
        eye=(4.0, -4.0, 3.0), window=WindowCfg(size=(640, 480)),
    ),
    VisualizerCfg(
        eye=(8.0, 0.0, 2.0), window=WindowCfg(size=(800, 600)),
    ),
]

Keep MultiBackendVisualizerCfg when declaring available alternatives. A list of concrete backend configs declares active viewers, so replacing the preset with a list changes the default behavior.

Task entry points perform this selection through resolve_task_config:

uv run isaaclab train --rl_library rsl_rl --task Isaac-Cartpole visualizer=viser,newton

--viz viser,newton is equivalent. Task composition selects the backends inside VisualizerCfg.backend before launch; launch creates each viewer with the shared settings. Viewer implementations are imported only when constructed.

For --video without a selected capture-capable viewer, launch selects a headless Newton producer. visualizer=none disables windows; recording still runs its producer on demand. Use --video sensor:<name> to record a scene camera without a visualizer producer.

Visualizer Overview#

Visualizer

Description

Newton

Lightweight, strong feature support, OpenGL or RTX rendering; Recommended

Viser

Web-based, supports recording and replay; Recommended

Rerun

Deprecated in Isaac Lab 3.2 and removed in 3.3; use Viser instead

Kit (deprecated)

High-quality RTX rendering, rich Isaac Sim tooling; longer start-up time

The Newton visualizer is a lightweight OpenGL window with minimal startup overhead. Its Renderer selector switches the view to RTX (see below). newton_gl is an accepted alias of newton.

Isaac-Reorient-Cube-Allegro in Newton Visualizer
Each Allegro hand reorients its cube to match the target shown by the marker above it

Visualizer-specific features:

  • Pause Rendering, Pause Simulation, and Reset Episode ImGui controls

  • Rigid-body dragging via right-click, see right (Newton solvers only)

  • Adjustable render update frequency

Simulation particles are visible by default. Set NewtonGLBackendCfg(show_particles=False) to hide them, for example when displaying only a reconstructed fluid surface or a cloth mesh.

newton-dominoes example
Right-click dragging the first domino triggers the cascade across an NVIDIA-logo domino layout

Try Domino cascade for a compact 24-slab version running locally in the browser, with friction and a repeatable toppling pulse.

RTX rendering

The Renderer selector in the Rendering Options section switches the main view to the OVRTX path tracer for photorealistic rendering without a Kit process. It is available when the scene has the OVRTX viewer camera, which is off by default because it adds startup time and some frame time. Launch with --viz newton_rtx (or set NewtonGLBackendCfg(rtx_camera=True)) to add it (ovrtx installed, physics not Kit-based PhysX); without it the selector is greyed out and says how to enable it. Set NewtonGLBackendCfg(initial_renderer="rtx") to start in RTX. RTX rendering is slightly slower than OpenGL.

Isaac-Velocity-Rough-H1 in the Newton Visualizer with RTX rendering
Each H1 humanoid climbs a staircase sub-terrain

Picking, visualization markers, camera selection, pause controls, Visible Envs, and recording work in the RTX view of a windowed Newton visualizer, and picking draws the drag arrow there. Joint, contact, spring, center-of-mass, and inertia overlays are drawn in the RTX view too; the collision, visual, edge, and wireframe overlays apply to the OpenGL view only.

Warning

OVRTX is a kitless renderer and cannot be used in the same process as Kit (presets=isaacsim_physx). presets=ovphysx is itself kitless and works fine with RTX rendering. Use presets=newton_mjwarp or presets=ovphysx with --viz newton, or switch to --viz viser, --viz rerun, or --viz kit with a Kit-compatible physics backend.

NewtonGLBackendCfg source
@configclass
class NewtonGLBackendCfg(VisualizerBackendCfg):
    """Newton visualizer options: OpenGL rendering and model display, and the optional OVRTX view."""

    class_type: type[NewtonGLVisualizer] | str = "{DIR}.newton_visualizer:NewtonGLVisualizer"
    visualizer_type: str = "newton"
    cloning_contexts: ClassVar[tuple[type | str, ...]] = ("isaaclab_newton.cloner:NewtonReplicateContext",)

    world_spacing: tuple[float, float, float] = (0.0, 0.0, 0.0)
    """Visual spacing between simulation worlds along each axis [m].

    Non-zero axes arrange visible worlds in a compact grid without changing their simulated poses.
    """

    show_joints: bool = False
    """Show joint visualization."""

    show_contacts: bool = False
    """Show contact visualization."""

    show_collision: bool = False
    """Show collision visualization."""

    show_springs: bool = False
    """Show spring visualization."""

    show_inertia_boxes: bool = False
    """Show inertia box visualization."""

    show_com: bool = False
    """Show center of mass visualization."""

    show_particles: bool = True
    """Show simulation particles. Set to False to hide them, for example in a surface-only view."""

    show_lidar_hits: bool = False
    """Show lidar hit visualization. Set to True to copy and draw hits; a dense scan is expensive to upload."""

    particle_color: tuple[float, float, float] | None = None
    """Optional particle color RGB [0, 1]. Uses Newton viewer defaults when ``None``."""

    enable_picking: bool = True
    """Enable right-click dragging with Newton rigid-body solvers.

    Supported coupled solvers may expose dragging through a rigid-body entry.
    Disabled automatically for headless viewers, standalone MPM, and non-Newton
    physics. MPM particles are not pickable.
    """

    enable_shadows: bool = True
    """Enable shadow rendering."""

    enable_sky: bool = True
    """Enable procedural sky rendering when ``background_color`` is ``None``."""

    enable_wireframe: bool = False
    """Enable wireframe rendering."""

    sky_upper_color: tuple[float, float, float] = (0.2, 0.4, 0.6)
    """Sky upper color RGB [0, 1]."""

    sky_lower_color: tuple[float, float, float] = (0.5, 0.6, 0.7)
    """Sky lower color RGB [0, 1]."""

    light_color: tuple[float, float, float] = (1.0, 1.0, 1.0)
    """Light color RGB [0, 1]."""

    rtx_camera: bool | None = None
    """Declare an OVRTX viewer camera so the HUD can switch the main view between Newton GL and OVRTX.

    The camera is added to the scene at launch because scene sensors cannot be added later, and it adds startup
    time and some frame time even while OpenGL is shown, so it is off by default. It renders only while the OVRTX
    view is selected. Enabling it needs the ``ovrtx`` package and a physics backend other than Kit-based PhysX.
    ``None`` leaves it off unless ``initial_renderer="rtx"`` asks for it (``--viz newton_rtx`` does); ``True`` adds it;
    ``False`` forbids it.
    """

    rtx_camera_path: str | None = None
    """Prim path of the OVRTX viewer camera that launch declared for this window; launch sets it, not users.

    None means the window shows the first scene camera whose prim path starts with ``/World/viewer_camera_``.
    """

    initial_renderer: Literal["opengl", "rtx"] = "opengl"
    """Renderer the window opens with: the Newton OpenGL view or the OVRTX viewer camera.

    ``"rtx"`` requires the OVRTX camera (see :attr:`rtx_camera`) and a kitless runtime, and starts in the RTX view
    that the HUD's Renderer selector otherwise switches to.
    """

    rtx_renderer_cfg: OVRTXRendererCfg = OVRTXRendererCfg()
    """Renderer of the OVRTX viewer camera."""

    rtx_render_settings: dict[str, Any] = dict()
    """Additional RTX render settings of the OVRTX viewer camera."""
VisualizerCfg source (shared settings)
@configclass
class VisualizerCfg:
    """View, window, and scene settings independent of the selected visualizer backend."""

    backend: VisualizerBackendCfg | list[VisualizerBackendCfg] = []
    """Selected implementation(s); an empty list keeps the settings without opening a viewer.

    Each declaration expands independently: two views with two selected backends create four viewers.
    """

    view: ImageViewCfg | None = None
    """Shared image view, or None to use the visualizer's camera selection."""

    window: WindowCfg = WindowCfg()
    """Native window settings used by Newton and Kit; network visualizers manage their own presentation."""

    headless: bool = False
    """Render on demand without opening a native viewer window."""

    # Primary interactive camera settings
    cameras: list[PerspectiveCameraCfg | SceneCameraCfg] | None = None
    """Camera sources available to the visualizer.

    PerspectiveCameraCfg configures the interactive view and may appear at most once; SceneCameraCfg refers
    to an existing scene sensor. Newton GL and RTX display the first source and offer a dropdown for switching sources.
    Kit, Rerun, and Viser display the first scene source in their camera panel.
    None uses eye/lookat/focal_length and the streaming settings below.
    Every explicit scene source must provide all requested streaming_gt_types channels.
    """

    eye: tuple[float, float, float] = (4.0, -4.0, 3.0)
    """Interactive visualizer camera eye position in world coordinates."""

    lookat: tuple[float, float, float] = (0.0, 0.0, 0.0)
    """Interactive visualizer camera look-at target in world coordinates."""

    focal_length: float = 12.0
    """Camera focal length in millimeters for visualizer camera views."""

    background_color: tuple[float, float, float] | None = None
    """Viewer perspective-camera background as normalized RGB values in ``[0, 1]``.

    None preserves the scene HDR background in Kit and Newton RTX, or Newton GL's procedural sky.
    An explicit color changes only the visible background, not scene lighting or reflections.
    Scene-camera images retain their sensor's :attr:`~isaaclab.sensors.CameraCfg.background_color`.
    """

    # ── Streaming view ────────────────────────────────────────────────────────
    # Reads pixels from a scene-declared camera sensor, tiles them
    # across envs and GT types, and shows the result as an image panel in interactive
    # visualizers (Newton GL, Kit) or pushes it per-step to sink-based ones (Rerun, Viser).

    streaming_view: bool = False
    """Enable the streaming camera image view (opt-in, disabled by default)."""

    streaming_sensor_prim_path: str | None = None
    """Prim path of a scene-declared :class:`~isaaclab.sensors.Camera` to display.

    Use the camera's configured prim path, including ``{ENV_REGEX_NS}`` when applicable.
    None selects the first compatible camera in the scene. Without one the panel stays empty.
    The scene owns camera construction, updates, and lifetime; visualizers only read its output.
    """

    # Shared settings
    streaming_envs: int | list[int] = 32
    """Environments to display, limited to 100 tiles.

    * ``int`` — sample this many envs once at initialization (from all visible envs).
    * ``list[int]`` — display exactly these env indices.
    """

    streaming_gt_types: tuple[str, ...] = ("rgb",)
    """GT data types displayed left-to-right per environment row.

    Valid values: ``"rgb"``, ``"depth"``, ``"segmentation"``, ``"normals"``.
    Validated at initialization when :attr:`streaming_view` is ``True``.
    """

    streaming_depth_min: float = 0.1
    """Near-clip for the turbo depth colormap [m].  Used when ``"depth"`` is in
    :attr:`streaming_gt_types`."""

    streaming_depth_max: float = 10.0
    """Far-clip for the turbo depth colormap [m].  Used when ``"depth"`` is in
    :attr:`streaming_gt_types`."""

    # Partial visualization settings
    max_visible_envs: int | None = None
    """Upper bound on how many envs are shown.

    * If visible_env_indices is not None, then this field will apply also
      to the explicit env indices set to the visible_env_indices.
    """

    visible_env_indices: list[int] | None = None
    """env indices to visualize in order (out-of-range indices are dropped)."""

    randomly_sample_visible_envs: bool = True
    """If ``max_visible_envs`` is provided, when enabled, selected visible envs are randomly sampled.
       If disabled, the first ``max_visible_envs`` envs are selected.

    * Note: ``visible_env_indices`` overrides this field.
    """

    # Visualization Markers
    enable_markers: bool = True
    """Enable visualization markers (debug drawing)."""

    # Live Plots
    enable_live_plots: bool = True
    """Stream per-step scalar data (manager terms, episode reward, episode length) into the visualizer.

    Plot windows start hidden or collapsed by default and can be toggled open at runtime.
    Set to ``False`` to disable live plots entirely and avoid any collection overhead.
    """

    live_plots_update_interval: int = 5
    """Collect and push live plot data every ``N`` simulation steps (default: every 5 steps)."""

    def validate_config(self) -> None:
        """Reject ambiguous sources and unsupported native-window configurations."""
        if self.view is not None:
            backends = self.backend if isinstance(self.backend, list) else [self.backend]
            for backend in backends:
                if backend.visualizer_type != "newton":
                    raise ValueError("VisualizerCfg.view requires the Newton visualizer.")
            if self.cameras is not None or self.streaming_sensor_prim_path is not None:
                raise ValueError("Choose view or legacy cameras/streaming_sensor_prim_path, not both.")

    def __post_init__(self) -> None:
        if self.background_color is not None:
            if len(self.background_color) != 3 or any(not 0.0 <= value <= 1.0 for value in self.background_color):
                raise ValueError("background_color must contain three normalized RGB values in [0, 1].")
            self.background_color = tuple(float(value) for value in self.background_color)

        if self.cameras is not None:
            if not self.cameras:
                raise ValueError("cameras must contain at least one display source.")
            if sum(isinstance(camera, PerspectiveCameraCfg) for camera in self.cameras) > 1:
                raise ValueError(
                    "cameras may contain at most one PerspectiveCameraCfg, the viewer's interactive camera."
                )
            self.streaming_view = any(isinstance(camera, SceneCameraCfg) for camera in self.cameras)
            if isinstance(camera := self.cameras[0], PerspectiveCameraCfg):
                self.eye, self.lookat, self.focal_length = camera.eye, camera.lookat, camera.focal_length

Viser streams the Newton Warp renderer to a local web server, at http://localhost:8080 by default, with optional public share URLs via share=True and .viser recording files for replay.

Isaac-Lift-KukaAllegro in Viser Visualizer
Each Kuka arm and Allegro hand lifts its cube off the table
Table color shows success: red until the cube reaches its target pose, green once it does.

Visualizer-specific features:

  • Public share URL for remote access, set share=True

  • Pause Rendering, Pause Simulation, and Reset Episode sidebar controls

Important

A URL is printed before training begins. Set open_browser=True to open it automatically. For remote access, set display_address to the machine hostname or IP and ensure the configured port is reachable from the browser.

╭────── viser (listening *:8080) ───────╮
│   URL  │  http://localhost:8080        │
╰───────────────────────────────────────╯

Browser and recording options belong to the Viser backend. Select this alternative with --viz viser:

from isaaclab_visualizers.viser import ViserBackendCfg
from isaaclab.visualizers import VisualizerCfg
from isaaclab_tasks.utils.presets import MultiBackendVisualizerCfg

visualizer_cfgs = VisualizerCfg(
    max_visible_envs=16,
    backend=MultiBackendVisualizerCfg(
        viser=ViserBackendCfg(
            port=8080, bind_address="0.0.0.0", display_address="localhost",
            open_browser=True, share=False, record_to_viser="rollout.viser",
        ),
    ),
)
ViserBackendCfg source
@configclass
class ViserBackendCfg(VisualizerBackendCfg):
    """Configuration for Viser visualizer (web-based visualization)."""

    class_type: type[ViserVisualizer] | str = "{DIR}.viser_visualizer:ViserVisualizer"
    """Visualizer implementation class."""

    visualizer_type: str = "viser"
    """Type identifier for Viser visualizer."""

    cloning_contexts: ClassVar[tuple[type | str, ...]] = ("isaaclab_newton.cloner:NewtonReplicateContext",)

    port: int = 8080
    """Port of the local viser web server."""

    bind_address: str = "0.0.0.0"
    """Host/interface for the Viser server to bind.

    Use ``"0.0.0.0"`` to listen on all interfaces for remote access.
    """

    display_address: str = "localhost"
    """Host name or IP address shown in the printed browser URL.

    For remote access, set this to the hostname/IP reachable from your browser.
    """

    open_browser: bool = False
    """Whether to attempt opening the viser web viewer URL in a browser.

    The viewer URL is logged during initialization when :attr:`verbose` is ``True``. Set this to ``True`` to
    auto-launch it.
    """

    verbose: bool = True
    """Whether to print viewer server startup information."""

    share: bool = False
    """Whether to request a public share URL from viser."""

    record_to_viser: str | None = None
    """Path to save a .viser recording file. None = no recording."""

    show_particles: bool = True
    """Whether to render particle systems (MPM, VBD) in the Viser viewer.

    Defaults to ``True`` so particle simulations (granular, cloth, soft-body) are
    visible on startup.  Can also be toggled at runtime via the Visualization Markers
    panel in the Viser sidebar.
    """

    show_lidar_hits: bool = False
    """Copy lidar hits to the viewer and draw them.

    Off by default. A dense scan is expensive to move to the host and upload every visualizer step.
    Viser exposes a runtime checkbox.
    """
VisualizerCfg source (shared settings)
@configclass
class VisualizerCfg:
    """View, window, and scene settings independent of the selected visualizer backend."""

    backend: VisualizerBackendCfg | list[VisualizerBackendCfg] = []
    """Selected implementation(s); an empty list keeps the settings without opening a viewer.

    Each declaration expands independently: two views with two selected backends create four viewers.
    """

    view: ImageViewCfg | None = None
    """Shared image view, or None to use the visualizer's camera selection."""

    window: WindowCfg = WindowCfg()
    """Native window settings used by Newton and Kit; network visualizers manage their own presentation."""

    headless: bool = False
    """Render on demand without opening a native viewer window."""

    # Primary interactive camera settings
    cameras: list[PerspectiveCameraCfg | SceneCameraCfg] | None = None
    """Camera sources available to the visualizer.

    PerspectiveCameraCfg configures the interactive view and may appear at most once; SceneCameraCfg refers
    to an existing scene sensor. Newton GL and RTX display the first source and offer a dropdown for switching sources.
    Kit, Rerun, and Viser display the first scene source in their camera panel.
    None uses eye/lookat/focal_length and the streaming settings below.
    Every explicit scene source must provide all requested streaming_gt_types channels.
    """

    eye: tuple[float, float, float] = (4.0, -4.0, 3.0)
    """Interactive visualizer camera eye position in world coordinates."""

    lookat: tuple[float, float, float] = (0.0, 0.0, 0.0)
    """Interactive visualizer camera look-at target in world coordinates."""

    focal_length: float = 12.0
    """Camera focal length in millimeters for visualizer camera views."""

    background_color: tuple[float, float, float] | None = None
    """Viewer perspective-camera background as normalized RGB values in ``[0, 1]``.

    None preserves the scene HDR background in Kit and Newton RTX, or Newton GL's procedural sky.
    An explicit color changes only the visible background, not scene lighting or reflections.
    Scene-camera images retain their sensor's :attr:`~isaaclab.sensors.CameraCfg.background_color`.
    """

    # ── Streaming view ────────────────────────────────────────────────────────
    # Reads pixels from a scene-declared camera sensor, tiles them
    # across envs and GT types, and shows the result as an image panel in interactive
    # visualizers (Newton GL, Kit) or pushes it per-step to sink-based ones (Rerun, Viser).

    streaming_view: bool = False
    """Enable the streaming camera image view (opt-in, disabled by default)."""

    streaming_sensor_prim_path: str | None = None
    """Prim path of a scene-declared :class:`~isaaclab.sensors.Camera` to display.

    Use the camera's configured prim path, including ``{ENV_REGEX_NS}`` when applicable.
    None selects the first compatible camera in the scene. Without one the panel stays empty.
    The scene owns camera construction, updates, and lifetime; visualizers only read its output.
    """

    # Shared settings
    streaming_envs: int | list[int] = 32
    """Environments to display, limited to 100 tiles.

    * ``int`` — sample this many envs once at initialization (from all visible envs).
    * ``list[int]`` — display exactly these env indices.
    """

    streaming_gt_types: tuple[str, ...] = ("rgb",)
    """GT data types displayed left-to-right per environment row.

    Valid values: ``"rgb"``, ``"depth"``, ``"segmentation"``, ``"normals"``.
    Validated at initialization when :attr:`streaming_view` is ``True``.
    """

    streaming_depth_min: float = 0.1
    """Near-clip for the turbo depth colormap [m].  Used when ``"depth"`` is in
    :attr:`streaming_gt_types`."""

    streaming_depth_max: float = 10.0
    """Far-clip for the turbo depth colormap [m].  Used when ``"depth"`` is in
    :attr:`streaming_gt_types`."""

    # Partial visualization settings
    max_visible_envs: int | None = None
    """Upper bound on how many envs are shown.

    * If visible_env_indices is not None, then this field will apply also
      to the explicit env indices set to the visible_env_indices.
    """

    visible_env_indices: list[int] | None = None
    """env indices to visualize in order (out-of-range indices are dropped)."""

    randomly_sample_visible_envs: bool = True
    """If ``max_visible_envs`` is provided, when enabled, selected visible envs are randomly sampled.
       If disabled, the first ``max_visible_envs`` envs are selected.

    * Note: ``visible_env_indices`` overrides this field.
    """

    # Visualization Markers
    enable_markers: bool = True
    """Enable visualization markers (debug drawing)."""

    # Live Plots
    enable_live_plots: bool = True
    """Stream per-step scalar data (manager terms, episode reward, episode length) into the visualizer.

    Plot windows start hidden or collapsed by default and can be toggled open at runtime.
    Set to ``False`` to disable live plots entirely and avoid any collection overhead.
    """

    live_plots_update_interval: int = 5
    """Collect and push live plot data every ``N`` simulation steps (default: every 5 steps)."""

    def validate_config(self) -> None:
        """Reject ambiguous sources and unsupported native-window configurations."""
        if self.view is not None:
            backends = self.backend if isinstance(self.backend, list) else [self.backend]
            for backend in backends:
                if backend.visualizer_type != "newton":
                    raise ValueError("VisualizerCfg.view requires the Newton visualizer.")
            if self.cameras is not None or self.streaming_sensor_prim_path is not None:
                raise ValueError("Choose view or legacy cameras/streaming_sensor_prim_path, not both.")

    def __post_init__(self) -> None:
        if self.background_color is not None:
            if len(self.background_color) != 3 or any(not 0.0 <= value <= 1.0 for value in self.background_color):
                raise ValueError("background_color must contain three normalized RGB values in [0, 1].")
            self.background_color = tuple(float(value) for value in self.background_color)

        if self.cameras is not None:
            if not self.cameras:
                raise ValueError("cameras must contain at least one display source.")
            if sum(isinstance(camera, PerspectiveCameraCfg) for camera in self.cameras) > 1:
                raise ValueError(
                    "cameras may contain at most one PerspectiveCameraCfg, the viewer's interactive camera."
                )
            self.streaming_view = any(isinstance(camera, SceneCameraCfg) for camera in self.cameras)
            if isinstance(camera := self.cameras[0], PerspectiveCameraCfg):
                self.eye, self.lookat, self.focal_length = camera.eye, camera.lookat, camera.focal_length

Deprecated since version 3.2.0: The Rerun visualizer is deprecated and will be removed in Isaac Lab 3.3. Use the Viser visualizer (--viz viser) instead. Creating the visualizer at launch emits a FutureWarning.

Like Viser, Rerun streams simulation state to a local web server, for remote monitoring, timeline playback, and recording to .rrd files.

Isaac-Reorient-Cube-Shadow-Direct in Rerun Visualizer
Each Shadow Hand reorients its cube to match the target pose

Visualizer-specific features:

  • Timeline scrubbing and playback of .rrd recordings

  • Pause Rendering and Reset Episode controls via the ImGui sidebar

Note

The native Play/Pause timeline controls in the Rerun visualizer UI do not work while visualizing a live simulation or training run. They are hidden by default, but Rerun’s dock panel UI can still be used to reveal them; when revealed, clicking them has no effect. Use Isaac Lab’s own Pause Rendering / Reset Episode controls instead. The timeline controls are only meaningful when replaying a saved .rrd recording.

Important

A highlighted URL is printed to the terminal before training begins. Ctrl-click it to open the viewer, or set open_browser=True to open it automatically.

╭─────────────────────────── rerun (listening *:9090) ───────────────────────────╮
│   URL  │  http://127.0.0.1:9090/?url=rerun%2Bhttp://127.0.0.1:9876/proxy       │
╰────────────────────────────────────────────────────────────────────────────────╯

Keep history or record a replay through the Rerun backend; select it with --viz rerun:

from isaaclab_visualizers.rerun import RerunBackendCfg
from isaaclab.visualizers import VisualizerCfg
from isaaclab_tasks.utils.presets import MultiBackendVisualizerCfg

visualizer_cfgs = VisualizerCfg(
    backend=MultiBackendVisualizerCfg(
        rerun=RerunBackendCfg(
            open_browser=True, keep_historical_data=True, record_to_rrd="rollout.rrd",
        ),
    ),
)
RerunBackendCfg source
@configclass
class RerunBackendCfg(VisualizerBackendCfg):
    """Configuration for Rerun visualizer (web-based visualization).

    .. deprecated:: 3.2.0
        The Rerun visualizer will be removed in Isaac Lab 3.3. Use
        :class:`~isaaclab_visualizers.viser.ViserBackendCfg` instead.
    """

    class_type: type[RerunVisualizer] | str = "{DIR}.rerun_visualizer:RerunVisualizer"
    """Visualizer implementation class."""

    visualizer_type: str = "rerun"
    """Type identifier for Rerun visualizer."""

    cloning_contexts: ClassVar[tuple[type | str, ...]] = ("isaaclab_newton.cloner:NewtonReplicateContext",)

    app_id: str = "isaaclab-simulation"
    """Application identifier shown in viewer title."""

    web_port: int = 9090
    """Port of the local rerun web viewer whose URL is logged during initialization."""

    grpc_port: int = 9876
    """Port of the rerun gRPC server (used when serving web viewer externally)."""

    bind_address: str | None = "0.0.0.0"
    """Host used for endpoint formatting and reuse checks.

    Notes:
    - If an existing rerun server is reachable on ``grpc_port``, it is reused.
    - New server startup is managed by ``newton.viewer.ViewerRerun`` via the rerun Python SDK.
    - Local browser links normalize common loopback/wildcard hosts to ``127.0.0.1``.
    """

    open_browser: bool = False
    """Whether to attempt opening the rerun web viewer URL in a browser.

    The viewer URL is always logged during initialization. Set this to ``True`` to auto-launch it.
    """

    keep_historical_data: bool = False
    """Keep transform history for time scrubbing (False = constant memory for training)."""

    keep_scalar_history: bool = False
    """Accumulate scalars as a time-series in the Rerun timeline (True = live plot history, False = constant memory).

    When :attr:`~isaaclab.visualizers.VisualizerCfg.enable_live_plots` is ``True`` (the default),
    this is automatically forced to ``True`` so that scalar values accumulate as a time series in
    the Rerun viewer.  To keep constant memory, also set :attr:`~isaaclab.visualizers.VisualizerCfg.enable_live_plots`
    to ``False``, which disables live plot curves.
    """

    show_particles: bool = True
    """Whether to show model particles.

    Disable this option to reduce streaming overhead for large particle clouds.
    """

    record_to_rrd: str | None = None
    """Path to save .rrd recording file. None = no recording."""
VisualizerCfg source (shared settings)
@configclass
class VisualizerCfg:
    """View, window, and scene settings independent of the selected visualizer backend."""

    backend: VisualizerBackendCfg | list[VisualizerBackendCfg] = []
    """Selected implementation(s); an empty list keeps the settings without opening a viewer.

    Each declaration expands independently: two views with two selected backends create four viewers.
    """

    view: ImageViewCfg | None = None
    """Shared image view, or None to use the visualizer's camera selection."""

    window: WindowCfg = WindowCfg()
    """Native window settings used by Newton and Kit; network visualizers manage their own presentation."""

    headless: bool = False
    """Render on demand without opening a native viewer window."""

    # Primary interactive camera settings
    cameras: list[PerspectiveCameraCfg | SceneCameraCfg] | None = None
    """Camera sources available to the visualizer.

    PerspectiveCameraCfg configures the interactive view and may appear at most once; SceneCameraCfg refers
    to an existing scene sensor. Newton GL and RTX display the first source and offer a dropdown for switching sources.
    Kit, Rerun, and Viser display the first scene source in their camera panel.
    None uses eye/lookat/focal_length and the streaming settings below.
    Every explicit scene source must provide all requested streaming_gt_types channels.
    """

    eye: tuple[float, float, float] = (4.0, -4.0, 3.0)
    """Interactive visualizer camera eye position in world coordinates."""

    lookat: tuple[float, float, float] = (0.0, 0.0, 0.0)
    """Interactive visualizer camera look-at target in world coordinates."""

    focal_length: float = 12.0
    """Camera focal length in millimeters for visualizer camera views."""

    background_color: tuple[float, float, float] | None = None
    """Viewer perspective-camera background as normalized RGB values in ``[0, 1]``.

    None preserves the scene HDR background in Kit and Newton RTX, or Newton GL's procedural sky.
    An explicit color changes only the visible background, not scene lighting or reflections.
    Scene-camera images retain their sensor's :attr:`~isaaclab.sensors.CameraCfg.background_color`.
    """

    # ── Streaming view ────────────────────────────────────────────────────────
    # Reads pixels from a scene-declared camera sensor, tiles them
    # across envs and GT types, and shows the result as an image panel in interactive
    # visualizers (Newton GL, Kit) or pushes it per-step to sink-based ones (Rerun, Viser).

    streaming_view: bool = False
    """Enable the streaming camera image view (opt-in, disabled by default)."""

    streaming_sensor_prim_path: str | None = None
    """Prim path of a scene-declared :class:`~isaaclab.sensors.Camera` to display.

    Use the camera's configured prim path, including ``{ENV_REGEX_NS}`` when applicable.
    None selects the first compatible camera in the scene. Without one the panel stays empty.
    The scene owns camera construction, updates, and lifetime; visualizers only read its output.
    """

    # Shared settings
    streaming_envs: int | list[int] = 32
    """Environments to display, limited to 100 tiles.

    * ``int`` — sample this many envs once at initialization (from all visible envs).
    * ``list[int]`` — display exactly these env indices.
    """

    streaming_gt_types: tuple[str, ...] = ("rgb",)
    """GT data types displayed left-to-right per environment row.

    Valid values: ``"rgb"``, ``"depth"``, ``"segmentation"``, ``"normals"``.
    Validated at initialization when :attr:`streaming_view` is ``True``.
    """

    streaming_depth_min: float = 0.1
    """Near-clip for the turbo depth colormap [m].  Used when ``"depth"`` is in
    :attr:`streaming_gt_types`."""

    streaming_depth_max: float = 10.0
    """Far-clip for the turbo depth colormap [m].  Used when ``"depth"`` is in
    :attr:`streaming_gt_types`."""

    # Partial visualization settings
    max_visible_envs: int | None = None
    """Upper bound on how many envs are shown.

    * If visible_env_indices is not None, then this field will apply also
      to the explicit env indices set to the visible_env_indices.
    """

    visible_env_indices: list[int] | None = None
    """env indices to visualize in order (out-of-range indices are dropped)."""

    randomly_sample_visible_envs: bool = True
    """If ``max_visible_envs`` is provided, when enabled, selected visible envs are randomly sampled.
       If disabled, the first ``max_visible_envs`` envs are selected.

    * Note: ``visible_env_indices`` overrides this field.
    """

    # Visualization Markers
    enable_markers: bool = True
    """Enable visualization markers (debug drawing)."""

    # Live Plots
    enable_live_plots: bool = True
    """Stream per-step scalar data (manager terms, episode reward, episode length) into the visualizer.

    Plot windows start hidden or collapsed by default and can be toggled open at runtime.
    Set to ``False`` to disable live plots entirely and avoid any collection overhead.
    """

    live_plots_update_interval: int = 5
    """Collect and push live plot data every ``N`` simulation steps (default: every 5 steps)."""

    def validate_config(self) -> None:
        """Reject ambiguous sources and unsupported native-window configurations."""
        if self.view is not None:
            backends = self.backend if isinstance(self.backend, list) else [self.backend]
            for backend in backends:
                if backend.visualizer_type != "newton":
                    raise ValueError("VisualizerCfg.view requires the Newton visualizer.")
            if self.cameras is not None or self.streaming_sensor_prim_path is not None:
                raise ValueError("Choose view or legacy cameras/streaming_sensor_prim_path, not both.")

    def __post_init__(self) -> None:
        if self.background_color is not None:
            if len(self.background_color) != 3 or any(not 0.0 <= value <= 1.0 for value in self.background_color):
                raise ValueError("background_color must contain three normalized RGB values in [0, 1].")
            self.background_color = tuple(float(value) for value in self.background_color)

        if self.cameras is not None:
            if not self.cameras:
                raise ValueError("cameras must contain at least one display source.")
            if sum(isinstance(camera, PerspectiveCameraCfg) for camera in self.cameras) > 1:
                raise ValueError(
                    "cameras may contain at most one PerspectiveCameraCfg, the viewer's interactive camera."
                )
            self.streaming_view = any(isinstance(camera, SceneCameraCfg) for camera in self.cameras)
            if isinstance(camera := self.cameras[0], PerspectiveCameraCfg):
                self.eye, self.lookat, self.focal_length = camera.eye, camera.lookat, camera.focal_length

Deprecated since version 3.1: The Kit visualizer is deprecated and will be removed in 3.2. Use Newton GL (--viz newton_gl) for the interactive window, tracking cameras and RTX rendering, and the OVRTX renderer for Kit-free RTX rendering of sensor cameras. Livestreaming and XR still start Kit and do not warn.

The Kit visualizer embeds Isaac Lab inside a Kit process, providing access to the full Isaac Sim USD stage, RTX renderer, and GUI tooling. It has the highest startup and runtime overhead of the five visualizers.

Isaac-Reach-Franka in Kit Visualizer
Each Franka arm reaches its end-effector toward a randomized target pose

Visualizer-specific features:

  • Direct access to the Isaac Sim USD stage for inspecting and editing prims at runtime

  • Full Isaac Sim GUI tooling (Property, Layers, and Stage panels)

Note

Kit’s ImGui-based UI writes an imgui.ini file, recording window layout (panel positions, docking, collapsed state), to the process working directory. If that is the repository root, it shows up as an untracked file. imgui.ini is already listed in .gitignore; delete it or launch from outside the repository if you would rather it not appear at all.

KitBackendCfg source
@configclass
class KitBackendCfg(VisualizerBackendCfg):
    """Configuration for Kit visualizer using Isaac Sim viewport.

    .. deprecated:: 3.1
        The Kit visualizer is deprecated and will be removed in 3.2. Use
        :class:`~isaaclab_visualizers.newton.NewtonGLBackendCfg` instead.

    .. note::
        The streaming panel displays a scene-declared camera. Isaac RTX cameras require
        ``--enable_cameras``. Set ``dock_position="RIGHT"`` to display the panel beside the viewport.
    """

    class_type: type[KitVisualizer] | str = "{DIR}.kit_visualizer:KitVisualizer"
    """Visualizer implementation class."""

    visualizer_type: str = "kit"
    """Type identifier for Kit visualizer."""

    launcher_type: ClassVar[str] = "isaaclab_isaacsim.app:KitLauncher"

    viewport_name: str | None = None
    """Name for a new viewport window when :attr:`create_viewport` is ``True``.

    If ``None``, a default name (``"Visualizer Viewport"``) is used.
    """

    create_viewport: bool = False
    """If ``True``, create a new viewport window; if ``False``, use the active viewport window."""

    dock_position: str = "SAME"
    """Dock position for the streaming image panel and any new viewport window.

    Options: ``'LEFT'``, ``'RIGHT'``, ``'BOTTOM'``, ``'SAME'``.

    .. note::
        ``'SAME'`` (the default) places the streaming panel as a hidden tab in the
        same dock group as the main Viewport — you must click the panel's tab to see it.
        Use ``'RIGHT'`` to keep both the Viewport and the streaming panel visible
        side-by-side.
    """

    origin_type: str = "world"
    """Frame in which :attr:`~isaaclab.visualizers.VisualizerCfg.eye` and
    :attr:`~isaaclab.visualizers.VisualizerCfg.lookat` are interpreted.

    Options:

    * ``"world"``: global origin.
    * ``"env"``: origin of the environment at :attr:`origin_env_index`.
    * ``"asset"``: a scene asset (or body) specified by :attr:`origin_track_path`.
    """

    origin_env_index: int = 0
    """Index of the environment used as the viewport camera origin.

    Only meaningful when :attr:`origin_type` is ``"env"`` or ``"asset"``.
    """

    origin_track_path: str | None = None
    """Asset tracking path for the viewport camera origin.

    Format: ``"<asset_name>"`` to track the asset root, or ``"<asset_name>/<body_name>"``
    to track a specific body on the asset.  Required when :attr:`origin_type` is ``"asset"``.

    Examples::

        origin_track_path = "robot"             # track robot root
        origin_track_path = "robot/panda_hand"  # track panda_hand body on robot
    """
VisualizerCfg source (shared settings)
@configclass
class VisualizerCfg:
    """View, window, and scene settings independent of the selected visualizer backend."""

    backend: VisualizerBackendCfg | list[VisualizerBackendCfg] = []
    """Selected implementation(s); an empty list keeps the settings without opening a viewer.

    Each declaration expands independently: two views with two selected backends create four viewers.
    """

    view: ImageViewCfg | None = None
    """Shared image view, or None to use the visualizer's camera selection."""

    window: WindowCfg = WindowCfg()
    """Native window settings used by Newton and Kit; network visualizers manage their own presentation."""

    headless: bool = False
    """Render on demand without opening a native viewer window."""

    # Primary interactive camera settings
    cameras: list[PerspectiveCameraCfg | SceneCameraCfg] | None = None
    """Camera sources available to the visualizer.

    PerspectiveCameraCfg configures the interactive view and may appear at most once; SceneCameraCfg refers
    to an existing scene sensor. Newton GL and RTX display the first source and offer a dropdown for switching sources.
    Kit, Rerun, and Viser display the first scene source in their camera panel.
    None uses eye/lookat/focal_length and the streaming settings below.
    Every explicit scene source must provide all requested streaming_gt_types channels.
    """

    eye: tuple[float, float, float] = (4.0, -4.0, 3.0)
    """Interactive visualizer camera eye position in world coordinates."""

    lookat: tuple[float, float, float] = (0.0, 0.0, 0.0)
    """Interactive visualizer camera look-at target in world coordinates."""

    focal_length: float = 12.0
    """Camera focal length in millimeters for visualizer camera views."""

    background_color: tuple[float, float, float] | None = None
    """Viewer perspective-camera background as normalized RGB values in ``[0, 1]``.

    None preserves the scene HDR background in Kit and Newton RTX, or Newton GL's procedural sky.
    An explicit color changes only the visible background, not scene lighting or reflections.
    Scene-camera images retain their sensor's :attr:`~isaaclab.sensors.CameraCfg.background_color`.
    """

    # ── Streaming view ────────────────────────────────────────────────────────
    # Reads pixels from a scene-declared camera sensor, tiles them
    # across envs and GT types, and shows the result as an image panel in interactive
    # visualizers (Newton GL, Kit) or pushes it per-step to sink-based ones (Rerun, Viser).

    streaming_view: bool = False
    """Enable the streaming camera image view (opt-in, disabled by default)."""

    streaming_sensor_prim_path: str | None = None
    """Prim path of a scene-declared :class:`~isaaclab.sensors.Camera` to display.

    Use the camera's configured prim path, including ``{ENV_REGEX_NS}`` when applicable.
    None selects the first compatible camera in the scene. Without one the panel stays empty.
    The scene owns camera construction, updates, and lifetime; visualizers only read its output.
    """

    # Shared settings
    streaming_envs: int | list[int] = 32
    """Environments to display, limited to 100 tiles.

    * ``int`` — sample this many envs once at initialization (from all visible envs).
    * ``list[int]`` — display exactly these env indices.
    """

    streaming_gt_types: tuple[str, ...] = ("rgb",)
    """GT data types displayed left-to-right per environment row.

    Valid values: ``"rgb"``, ``"depth"``, ``"segmentation"``, ``"normals"``.
    Validated at initialization when :attr:`streaming_view` is ``True``.
    """

    streaming_depth_min: float = 0.1
    """Near-clip for the turbo depth colormap [m].  Used when ``"depth"`` is in
    :attr:`streaming_gt_types`."""

    streaming_depth_max: float = 10.0
    """Far-clip for the turbo depth colormap [m].  Used when ``"depth"`` is in
    :attr:`streaming_gt_types`."""

    # Partial visualization settings
    max_visible_envs: int | None = None
    """Upper bound on how many envs are shown.

    * If visible_env_indices is not None, then this field will apply also
      to the explicit env indices set to the visible_env_indices.
    """

    visible_env_indices: list[int] | None = None
    """env indices to visualize in order (out-of-range indices are dropped)."""

    randomly_sample_visible_envs: bool = True
    """If ``max_visible_envs`` is provided, when enabled, selected visible envs are randomly sampled.
       If disabled, the first ``max_visible_envs`` envs are selected.

    * Note: ``visible_env_indices`` overrides this field.
    """

    # Visualization Markers
    enable_markers: bool = True
    """Enable visualization markers (debug drawing)."""

    # Live Plots
    enable_live_plots: bool = True
    """Stream per-step scalar data (manager terms, episode reward, episode length) into the visualizer.

    Plot windows start hidden or collapsed by default and can be toggled open at runtime.
    Set to ``False`` to disable live plots entirely and avoid any collection overhead.
    """

    live_plots_update_interval: int = 5
    """Collect and push live plot data every ``N`` simulation steps (default: every 5 steps)."""

    def validate_config(self) -> None:
        """Reject ambiguous sources and unsupported native-window configurations."""
        if self.view is not None:
            backends = self.backend if isinstance(self.backend, list) else [self.backend]
            for backend in backends:
                if backend.visualizer_type != "newton":
                    raise ValueError("VisualizerCfg.view requires the Newton visualizer.")
            if self.cameras is not None or self.streaming_sensor_prim_path is not None:
                raise ValueError("Choose view or legacy cameras/streaming_sensor_prim_path, not both.")

    def __post_init__(self) -> None:
        if self.background_color is not None:
            if len(self.background_color) != 3 or any(not 0.0 <= value <= 1.0 for value in self.background_color):
                raise ValueError("background_color must contain three normalized RGB values in [0, 1].")
            self.background_color = tuple(float(value) for value in self.background_color)

        if self.cameras is not None:
            if not self.cameras:
                raise ValueError("cameras must contain at least one display source.")
            if sum(isinstance(camera, PerspectiveCameraCfg) for camera in self.cameras) > 1:
                raise ValueError(
                    "cameras may contain at most one PerspectiveCameraCfg, the viewer's interactive camera."
                )
            self.streaming_view = any(isinstance(camera, SceneCameraCfg) for camera in self.cameras)
            if isinstance(camera := self.cameras[0], PerspectiveCameraCfg):
                self.eye, self.lookat, self.focal_length = camera.eye, camera.lookat, camera.focal_length

Shared Features#

Streaming Camera View#

The streaming camera view is a live monitoring and debugging tool. It combines ground-truth camera frames from multiple environments (RGB, depth, segmentation, or surface normals) into a single panel. Cameras are declared in the scene before cloning; visualizers only read their output. Multiple visualizers can display the same sensor with different tile selections.

Interactive view of the Galbot cube stacking environment

Streaming view showing tiled Galbot wrist-camera feeds

Attach a camera to a robot body to follow its motion, or select an existing view such as the Galbot task’s wrist-mounted and ego cameras. The view is supported in the Kit, Newton, Rerun, and Viser visualizers. Kit opens it as a separate Streaming View viewport, which can sit side by side with the default viewport for dual monitoring. Newton provides a Camera Source selector in the sidebar for switching between perspective and scene-camera views. Selecting a scene sensor in Camera Source shows its channel: the Channel selector lists the sensor’s outputs (RGB, depth, normals, or segmentation), and depth, normals, and segmentation are converted to colors for display. When the sensor is declared once per environment, Tiled Envs sets how many of its feeds are tiled into the window.

See Streaming a camera view in a visualizer for the VisualizerCfg options, display sources, troubleshooting, migration from generated cameras, and step-by-step examples.

Visualization Markers#

Visualization markers draw debug geometry over the scene via VisualizationMarkers.

Velocity arrow marker on an AnymalD robot

Large green/blue arrow markers showing target and base velocity for an AnymalD robot

Joint arrow markers on a Franka arm and contact sensor markers on a cube

Arrow markers on the Franka arm's joints, with contact sensor markers on the cube

See Creating visualization markers for creating and configuring custom markers.

There are 2 types of visualization markers:

Built-in marker types:

  • Sensor markers: contact hit/no-contact spheres, ray-caster hit points, deformable-object kinematic targets, visuo-tactile contact points

  • Frame markers: coordinate frame with a connecting line

  • Colored arrows (red, blue, green) for direction and velocity indicators

  • Goal shapes: cuboid, sphere, and multi-state position-goal markers

  • Center of mass markers

In the Newton visualizer’s HUD, built-in marker types that aren’t currently active are shown greyed out.

Custom Markers:

  • Defined by individual tasks and MDP terms that instantiate their own VisualizationMarkersCfg

  • Example: the AnymalD velocity command draws its green/blue velocity arrows this way

  • Example: the Isaac-Reorient-Cube-Allegro task defines its own goal marker (a DexCube asset) to show the target cube orientation

Note

Visualization markers are supported on Kit, Newton (OpenGL and RTX), Rerun, and Viser.

Live Plots#

Live plots stream per-step scalar data into the visualizer.

Newton visualizer, with 3 plots opened

Viser visualizer, with 1 plot opened

Live Plot windows start hidden or collapsed, except for Rerun, where the Live Plots can be collapsed by selecting the “eye” icon. Supported on Kit, Newton, Rerun, and Viser.

What’s plotted: per-episode total reward and episode length, plus any active manager term for manager-based environments (e.g. joint_pos).

Video Recording#

Video Recording supports capturing feed from any visualizer view, both interactive and streaming views, and renderer-based sensor data capture.

Kit visualizer tiled streaming

Recorded clip with ground-truth sensor views

Pass --video [SOURCE] on the command line for a quick recording, or define multiple VideoRecorderCfg entries to record multiple sources at once. --viz still decides which visualizers open a window; a visualizer that only records runs headless:

Command line

Records from

--video (same as --video viz)

the first capture-capable visualizer --viz selected, in its window; if none is selected, or only streaming ones such as viser or rerun, a headless newton

--video viz:newton --viz viser

viser runs; an extra headless newton is added only for recording

--video sensor:wrist_camera[:rgb|depth|...]

that scene sensor; no visualizer is added

A Hydra override after --video is never taken as its source: --video presets=newton_mjwarp records from viz and applies the preset.

The Kit and Newton visualizers can be recorded from; the web-based visualizers Viser and Rerun cannot.

See Recording video for the full guide and tutorial.

Keyboard Input#

A visualizer with a local window reports the keys typed into it through key_event_source, for example to drive a robot from the keyboard. Each key press and release arrives as a W3C KeyboardEvent.code string such as "KeyW":

  • KitVisualizer reports physical key positions, independent of the keyboard layout. Keys typed into Kit’s own UI, such as a text field, are reported too.

  • NewtonGLVisualizer reports layout-mapped keys: a code names the key that types the same character on a US layout. Presses typed into the window’s UI are withheld. Presses and releases pair up reliably on a US layout; on other layouts, changing Shift while holding a digit or punctuation key can leave it held until the window loses focus.

The Viser and Rerun visualizers, and any visualizer running headless, have no keyboard source and return None. A headless Viser server still takes input from connected browsers, but not through key_event_source.

Each Newton window has its own source. Kit visualizers share the Kit application window, so each of them reports the same keys; a consumer that listens to every visualizer must accept a key from more than one source.

The visualizer connects native keyboard and focus events when its window initializes and disconnects them before the window closes. A subscription only adds or removes a listener; it does not initialize window resources. The source owns no held-key state or camera policy.

Close the subscription when you are done with it. A consumer that uses the camera’s motion keys also turns off keyboard camera movement with set_camera_keys_enabled(); a Newton window then stops moving its camera with WASD/QE and the arrow keys, and Kit’s viewport, whose camera keys only act while the right mouse button is held, is unaffected:

visualizer = sim.visualizers[0]
source = visualizer.key_event_source
if source is not None:
    held = set()

    def on_key(code: str, pressed: bool) -> None:
        (held.add if pressed else held.discard)(code)

    visualizer.set_camera_keys_enabled(False)
    try:
        with source.add_key_listener(on_key, held.clear):
            ...  # use held while stepping the simulation
    finally:
        visualizer.set_camera_keys_enabled(True)

Subscribe, unsubscribe and close on the thread that steps the visualizer; callbacks run there too, in event order. Events arrive as the window reports them: key repeat can arrive as further presses, and a release can arrive without its press, so a listener tracks the keys it holds. on_focus_lost runs when the window stops delivering keys, because it lost focus, its UI took the keyboard, or the visualizer closed; treat every held key as released.

Usage#

Common Recipes#

Headless training with video recording

Run without a window and record clips from a headless Newton visualizer, or name another capture source, e.g. --video viz:kit:

uv run isaaclab train --rl_library rsl_rl --task Isaac-Cartpole --video

See Recording video for clip length, interval, and multi-source options.

Combining an interactive view with a headless recording source

Watch training live in Kit while recording from a separate headless Newton angle by running with --viz kit --video viz:newton and giving each visualizer its own camera. See Recording from an independent camera angle for the configuration.

Following a moving robot (Kit)

Lock the Kit camera to a moving asset instead of updating eye/lookat yourself every step, running with --viz kit:

from isaaclab_visualizers.kit import KitBackendCfg

from isaaclab.visualizers import VisualizerCfg

from isaaclab_tasks.utils.presets import MultiBackendVisualizerCfg

sim_cfg.visualizer_cfgs = VisualizerCfg(
    eye=(4.0, 4.0, 2.0),
    backend=MultiBackendVisualizerCfg(kit=KitBackendCfg(origin_type="asset", origin_track_path="robot")),
)

Sharing a live view with a remote teammate

Viser can request a public share URL for the running session, useful for remote pairing without screen-sharing, running with --viz viser:

from isaaclab_visualizers.viser import ViserBackendCfg

from isaaclab.visualizers import VisualizerCfg

from isaaclab_tasks.utils.presets import MultiBackendVisualizerCfg

sim_cfg.visualizer_cfgs = VisualizerCfg(
    backend=MultiBackendVisualizerCfg(viser=ViserBackendCfg(share=True, open_browser=True)),
)

The share URL is logged on startup. Rerun has no equivalent config field, but exposes its own share button in the native UI.

Choosing how many environments are drawn

Every Newton viewer has a Visible Envs slider in its left panel that sets how many environments are drawn. It changes only what is rendered, not the simulation. In the RTX view the OVRTX renderer is shared with scene cameras, so the hidden environments also drop out of their images while the RTX view is shown; the HUD notes this next to the slider.

Resolution Rules#

--viz (comma-separated, e.g. --viz kit,newton) selects which visualizers run, and SimulationCfg.visualizer_cfgs configures them. Each selected type uses its configured settings, or else that type’s default config. Concrete visualizer configs run as given when no CLI selection is supplied. SimulationCfg.visualizer_cfgs defaults to VisualizerCfg(backend=[]); settings alone do not open a viewer.

Isaac Sim opens a window when CLI or config selects kit, and never with HEADLESS=1 or livestreaming. A visualizer a --video source adds for recording always runs headless.

Use one VisualizerCfg(backend=MultiBackendVisualizerCfg()) for shared settings, selecting one or several backends through visualizer=.... A list of VisualizerCfg declarations is only needed for independently configured views, such as a different camera angle for recording (see Recording from an independent camera angle).

Common modes#

CLI args

visualizer_cfgs

Effective behavior

no --viz

VisualizerCfg() (the default)

No visualizer launches; no window, no capture source.

--viz kit,newton

VisualizerCfg(max_visible_envs=16)

Launch Kit and Newton, both showing at most 16 environments.

--video without --viz

VisualizerCfg()

Launch Newton without a window, only as the --video recording source.

no --viz

VisualizerCfg(backend=MultiBackendVisualizerCfg())

No visualizer launches; backend alternatives remain inactive until selected.

visualizer=viser,newton

VisualizerCfg(max_visible_envs=16, backend=MultiBackendVisualizerCfg())

Launch Viser and Newton, both showing at most 16 environments.

For migration context, see Migrating To 3.0.

Partial Visualization#

Visualizers can be configured to visualize just a subset of environments. This is called partial visualization.

There are 3 fields exposed in the VisualizerCfg for selecting environments for partial visualization:

  • max_visible_envs caps how many envs are shown.

  • visible_env_indices explicitly selects the envs to visualize, in the order given. It takes precedence over randomly_sample_visible_envs and is also capped by max_visible_envs.

  • randomly_sample_visible_envs (default True): when visible_env_indices is unset and max_visible_envs is set, enables randomly sampling the selected envs. If disabled, the first max_visible_envs envs are selected.

Also, there is a CLI arg --max_visible_envs that overrides VisualizerCfg.max_visible_envs for the run.

Note

By default, selected envs keep their simulated positions, so a random sample or the first envs of a large grid can lie outside the camera view. Choose indices near the camera target, or move eye and lookat.

Scene Background#

Kit and the Newton visualizer in RTX mode use the scene’s authored lights and HDR background by default. Configure the environment once on the scene, without repeating its HDR path or intensity in the visualizer:

env_cfg.scene.sky_light.spawn.texture_file = "/path/to/evening.hdr"
env_cfg.scene.sky_light.spawn.intensity = 1000.0

VisualizerCfg.background_color defaults to None. An explicit normalized RGB color changes only the visible background; the scene lights continue to illuminate objects and contribute reflections. The Newton OpenGL view uses its procedural sky when no color override is supplied:

from isaaclab.visualizers import VisualizerCfg

from isaaclab_tasks.utils.presets import MultiBackendVisualizerCfg

env_cfg.sim.visualizer_cfgs = VisualizerCfg(
    background_color=(0.1, 0.2, 0.3), backend=MultiBackendVisualizerCfg(),
)

Performance#

Visualizer

Tips

Newton

Lowest overhead in OpenGL; lower window.fps to limit wall-clock render frequency.

Viser

Newton Warp renderer; use max_visible_envs to limit the number of rendered environments (see Partial Visualization).

Rerun

Web viewer may slow down with many environments; use --num_envs to reduce load.

Kit

Highest overhead of the five visualizers; reduce window.size or use --max_visible_envs (see Partial Visualization).

Limitations#

Backend feature support:

Feature

Newton

Viser

Rerun

Kit

Visualization markers

✓

✓

✓

✓

Live plots

✓

✓

✓

✓

Streaming camera panel

✓

✓

✓

✓

Video recording, --video

✓

✗

✗

✓

Pause rendering

✓

✓

✓

✓

Headless mode

✓

✓

✓

✓

Keyboard input, key_event_source

✓

✓

✗

✓

In Newton’s RTX view, the collision, visual, edge, and wireframe overlays are not available; joint, contact, spring, center-of-mass, and inertia overlays are.

Lighting differences across visualizers

Each backend lights the scene differently, so the same environment can look noticeably different across visualizers. Kit renders the scene’s actual authored USD lights. The Newton OpenGL view uses a fixed sky-gradient and single directional light color (sky_upper_color, sky_lower_color, light_color), independent of scene USD lights. The Newton RTX view renders the authored scene through Isaac Lab’s OVRTX renderer, shared with cameras using the same OVRTXRendererCfg. The Newton window displays the rendered GPU image and handles window controls; Newton’s ViewerRTX is not constructed. Scene transforms, deformable geometry, and material updates follow the camera renderer’s normal synchronization. Perspective resolution stays fixed when the window is resized; the window scales the image for presentation. Configure lights and environment placement in the scene. Viewer-only rtx_environment rigs and world_spacing are no longer supported: declare scene lights for studio lighting, remove scene lights for an unlit scene, and set InteractiveSceneCfg.env_spacing for world placement. Particle color overrides and rigid-body picking remain GL-only. Viser uses a single ambient light with no directional key light, so scenes tend to look darker and flatter than the other backends. Rerun uses fixed built-in viewer shading with no scene-driven lighting.

Kit: incompatible with ovphysx / ovrtx presets

--viz kit cannot be used with presets=ovphysx or presets=ovrtx in the same process. Use --viz newton or --viz viser with those presets, or omit --viz for headless execution.

Newton RTX rendering: incompatible with Kit

Starting Newton in RTX (initial_renderer="rtx") raises a RuntimeError at startup if the active physics backend is isaacsim_physx (i.e. presets=isaacsim_physx), since OVRTX is a kitless renderer and cannot share a process with Kit. presets=ovphysx is itself kitless and remains supported. Use presets=newton_mjwarp,ovrtx or presets=ovphysx,ovrtx with --viz newton, or switch to --viz viser or --viz kit with a Kit-compatible physics backend.

Rerun: large environment performance

The Rerun web viewer may slow down or crash with many environments. Reduce load with --num_envs:

uv run isaaclab train --rl_library rsl_rl --task Isaac-Cartpole --viz rerun --num_envs 512

Rerun: blank page until the first payload loads

Rerun may show a blank browser tab for up to about 10 seconds while it connects and receives scene data. Wait for the first frame; no action is needed.

Newton: CUDA/OpenGL interoperability warnings

In some configurations, the Newton visualizer emits warnings about CUDA/OpenGL interoperability:

Warning: Could not get MSAA config, falling back to non-AA.
Warp CUDA error 999: unknown error (in function wp_cuda_graphics_register_gl_buffer)
Warp UserWarning: Could not register GL buffer …

The visualizer still functions correctly but falls back to CPU copy operations, which reduces performance.

Newton: OpenGL context failures

If pyglet reports that glCreateShader is not exported or that OpenGL 2.0 is required, the process is running without a GPU-backed display context (for example, in a service session or a remote desktop without GPU acceleration). Run from a GPU-backed interactive display session, or omit --viz newton for headless execution.

Where to go next#