Skip to content

Prototype a unified Newton visualizer with RTX rendering, Policy Ghosts, recording and replay, and a Tracking Camera - #8786

Closed
matthewtrepte wants to merge 75 commits into
isaac-sim:mainfrom
matthewtrepte:mtrepte/newton-gl-policy-ghosting
Closed

matthewtrepte wants to merge 75 commits into
isaac-sim:mainfrom
matthewtrepte:mtrepte/newton-gl-policy-ghosting

Conversation

@matthewtrepte

@matthewtrepte matthewtrepte commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Description

New Newton Visualizer prototype. A reworked Newton window that renders with OpenGL or RTX, compares policy checkpoints, records and replays animations, and shows any output of a scene camera. The visualizer is now named newton (newton_gl stays as an alias) and replaces the separate newton_rtx visualizer. Kit, Viser, and Rerun are unchanged apart from ignoring the new task views.

  • One window, two renderers. NewtonGLBackendCfg.initial_renderer ("opengl" default, or "rtx") picks the renderer the window opens in, and the HUD's Renderer selector switches it at runtime. NewtonRTXVisualizer, NewtonRTXBackendCfg, and the newton_rtx preset are removed; --viz newton_rtx raises an error that points at newton. The RTX view supports picking, markers, Visible Envs, and joint, contact, spring, center-of-mass, and inertia-box overlays, drawn as thin meshes.
  • Policy Ghosts. Compare checkpoints of one task in a single window as tinted ghost environments, with checkpoint discovery and per-slot opacity and tint. Enabled with --policy_ghosts.
  • Recording and animation playback. Record video, a .viser animation, or a policy checkpoint. Open an animation from the Recording section: it plays as a tinted ghost over the simulation, with a bottom transport bar (play/pause, timeline, loop, speed) and a "Hide live simulation" option. A recorded Policy Ghosts session lists its slots with a show/hide checkbox each.
  • Camera sensors. Camera Source lists every scene camera by its outputs, such as Camera (depth sensor), and a Channel selector shows RGB, depth, normals, segmentation, or all of them, with a depth range for the color scale.
  • Tracking Camera. A task-declared camera that follows an asset or frames an environment.
  • HUD layout. An always-visible header (task, run, physics, environment count, step, rates) plus Playback, Camera View, Scene, Recording, Live Plots, Policy Ghosts, Articulation Inspector, and Control Bindings sections.
  • Fix. UsdFileCfg no longer skips its visual_material without Kit, which left OVRTX markers red.

The Tracking Camera brings over part of #8620 (follower, PerspectiveCameraCfg fields, task declarations) but not the Kit and Viser follow support or docs, so expect overlapping hunks when that lands.

Type of change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (the newton_rtx visualizer is removed; see the migration guide)

Validation

  • Focused unit tests pass for the visualizer, launcher, video recorder, preset, recording, animation, and image-view paths.
  • Run live on Newton MJWarp: Anymal rough with Policy Ghosts (recorded and reopened as an animation), Kuka Allegro in RTX with joint and contact overlays, and Cartpole camera depth, segmentation, and albedo views through the Camera Source path.
  • Not run: the coffee and GB300 demos after the RTX change, Kit, Viser, and Rerun windows, the docs build, and every UI control in a window (the transport bar and Slots rows were checked in code and tests, not on screen).
  • The RTX integration tests for the removed visualizer are deleted; RTX-mode integration coverage is not yet replaced.

Known limits

  • Policy Ghosts, animations, and the collision, visual, edges, and wireframe overlays are OpenGL only.
  • The free viewer camera shows RGB only; other channels are for scene sensor cameras.
  • RTX overlay lines are fixed-width meshes, and their cost with large contact buffers is not measured.
  • visualizer=newton_gl through the preset path still warns that the preset is deprecated.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria to any test changes
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package (do not edit CHANGELOG.rst or bump package versions — CI handles that)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

…policy-ghosting

# Conflicts:
#	source/isaaclab_rl/isaaclab_rl/entrypoints/backends/play_rsl_rl.py
…icy-ghosting

# Conflicts:
#	source/isaaclab/isaaclab/visualizers/__init__.pyi
#	source/isaaclab_visualizers/isaaclab_visualizers/newton/newton_visualizer.py
#	source/isaaclab_visualizers/isaaclab_visualizers/viser/viser_visualizer.py
… Markers section, and label the camera combo Camera Source
@matthewtrepte matthewtrepte changed the title Add Policy Ghosts, recording and replay, an RTX toggle, and a Tracking Camera to the Newton GL visualizer Prototype Policy Ghosts, recording and replay, an RTX toggle, and a Tracking Camera in the Newton GL visualizer Oct 27, 2026
…ton visualizer

Name the visualizer newton, keeping newton_gl as an alias, and reject newton_rtx with a message that points at newton. Remove NewtonRTXVisualizer and its configs. NewtonGLBackendCfg.initial_renderer chooses whether the window opens in OpenGL or RTX, and meshes reach the OVRTX renderer so MPM surfaces still draw in RTX. The coffee and GB300 demos start in RTX through this field.
matthewtrepte added a commit to matthewtrepte/IsaacLab that referenced this pull request Oct 27, 2026
…m#8786

Resolve the merge with the visualizer config split: task views are
declared in VisualizerCfg.cameras and the Kit origin_* options stay
removed from KitBackendCfg. Task declarations use
SimulationCfg.visualizer_cfgs, the deprecated viewer bridge builds task
views on the new config, and Newton RTX leaves task views out.

Bring the follower and Newton GL behavior from isaac-sim#8786: set_track_path,
asset_names and body_names on CameraFollower, editable Tracking Camera
fields with a reset to the task default, and the Tracking Camera and
Perspective view names.
…e Newton initial renderer

Rename the newton_gl selector strings to newton, start the coffee, NIST, quickstart and surface-reconstruction scripts in RTX through initial_renderer, and remove the tests of the deleted Newton RTX visualizer. Add tests for the newton_rtx error and the newton_gl alias. Update the docs, the demo browser and the changelog fragments.
@matthewtrepte matthewtrepte changed the title Prototype Policy Ghosts, recording and replay, an RTX toggle, and a Tracking Camera in the Newton GL visualizer Prototype a unified Newton visualizer with RTX rendering, Policy Ghosts, recording and replay, and a Tracking Camera Oct 27, 2026
…ibility, and rename Keyboard & Mouse to Control Bindings
@matthewtrepte

Copy link
Copy Markdown
Collaborator Author

Continued in #8862, which uses the renamed branch mtrepte/newton-viz-prototype and also merges the mtrepte/newton-gl-tracked-view branch of #8620.

@matthewtrepte
matthewtrepte deleted the mtrepte/newton-gl-policy-ghosting branch October 28, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant