Skip to content

[Visualizer] Render markers in Newton GL video capture - #7011

Closed
hujc7 wants to merge 1 commit into
isaac-sim:developfrom
hujc7:jichuanh/newton-video-capture
Closed

hujc7 wants to merge 1 commit into
isaac-sim:developfrom
hujc7:jichuanh/newton-video-capture

Conversation

@hujc7

@hujc7 hujc7 commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Description

NewtonGLVisualizer.render_rgb_array() logged only the physics state between
begin_frame and end_frame, while the interactive render path also logs the
visualization markers each frame. Recorded videos therefore dropped goal poses,
command arrows, and every other debug marker that is visible when watching the
same scene live — most noticeably on the reorientation tasks, where the goal
cube marker is the only cue for what the policy is tracking.

This logs the markers on the capture path too, gated on the existing
cfg.enable_markers so callers that deliberately disable markers still get a
clean frame.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Screenshots

Before: --video --viz newton_gl produced clips with no goal marker.
After: the goal cube appears in the recording, matching the interactive viewer.

Checklist

  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have added a changelog fragment under source/isaaclab_visualizers/changelog.d/
  • I have verified the fix by recording a clip with --video --viz newton_gl and confirming the markers render

NewtonGLVisualizer.render_rgb_array() logged only the physics state
between begin_frame and end_frame, while the interactive render path
also logs the visualization markers each frame. Recorded videos
therefore dropped goal poses, command arrows, and every other debug
marker that is visible when watching the same scene live -- most
noticeably on the reorientation tasks, where the goal cube marker is
the only cue for what the policy is tracking.

Log the markers on the capture path too, gated on the existing
cfg.enable_markers so callers that deliberately disable markers keep a
clean frame.
@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Aug 10, 2026
matthewtrepte added a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 13, 2026
Port of isaac-sim#7011: render_rgb_array() logged only the physics state but not
visualization markers, so recorded videos dropped goal poses, command
arrows, and other debug geometry visible in the interactive viewer.
Adds the markers call on the headless capture path, gated on
cfg.enable_markers to preserve clean frames for callers that opt out.
matthewtrepte added a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 13, 2026
@hujc7 hujc7 closed this Sep 10, 2026
diegoferigo-rai added a commit to diegoferigo-rai/IsaacLab that referenced this pull request Sep 22, 2026
The Newton RTX visualizer overlays visualization markers on a USD stage that
rejects the "::" and other characters the marker registry group id carries,
so both the interactive RTX viewer and a headless capture recorded through it
dropped the goal poses, command arrows, and other debug markers the GL viewer
draws every frame.

Sanitize each marker group id into a valid USD prim path before logging it
into the RTX viewer, render the markers on the RTX live-step path, and add the
same marker pass to the RTX render_rgb_array headless capture. The GL viewer
keeps rendering the raw registry ids, so its behavior is unchanged. This is the
RTX counterpart of the still-open GL-only fix in isaac-sim#7011.

Add unit tests for the group-id sanitization and for the render helper both
restoring the original registry key after a sanitized RTX render and leaving
the raw GL id untouched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant