Skip to content

Document the Newton OptiX renderer and expose it in task presets - #9099

Merged
kellyguo11 merged 3 commits into
isaac-sim:mainfrom
StafaH:docs/newton-optix-renderer
Nov 19, 2026
Merged

kellyguo11 merged 3 commits into
isaac-sim:mainfrom
StafaH:docs/newton-optix-renderer

Conversation

@StafaH

@StafaH StafaH commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Description

Follow-up to #9058. It documents newton_optix and makes the renderer selectable wherever tasks expose renderer presets.

Tasks that use MultiBackendRendererCfg already pick up newton_optix, because #9058 added it there. This PR covers the remaining gaps.

Docs

  • Renderer concepts page: adds a Newton OptiX dropdown covering the install extra, supported platforms, the same outputs as Newton Warp, no particles/deformables/Gaussians, and that use_cuda_graph is ignored.
  • Adds newton_optix to:
    • the renderer preset tables in backends_and_presets.rst and hydra.rst;
    • the renderer choice table in configure_rendering.rst and the how-to index;
    • the camera output matrix and the PPISP note;
    • the scene data provider table and the Vulkan known issue;
    • the API reference (NewtonOptixRendererCfg).
  • Adds the optix extra to the installation extras table.

Environment browser

  • Regenerated with tools/update_environments_rst.py. Camera tasks now list newton_optix.
    • The regeneration also refreshes rows that were stale on main: new tasks, the newton_renderer → newton_warp rename, and Isaac-Velocity-Rough-G1 now listing only rsl_rl, which matches its registration.
  • Command builder:
    • Selecting newton_optix adds --extra optix and shows a short hint that it needs an RTX GPU and a recent driver.
    • The preferred Newton renderer is now newton_warp. Before this it still pointed at the removed newton_renderer name.
    • Card chips now show Warp/OptiX.
    • Benchmark snapshots that record newton_renderer are normalized to newton_warp, so Newton benchmark bars still render.

Tasks

  • The render benchmark camera gets newton_optix=NewtonOptixRendererCfg(enable_shadows=True), matching its Warp override. The microduck warehouse demo gets the same treatment.
  • The Soft and Cloth Franka lift camera tasks now reject renderer=newton_optix at config validation.
    • Before this, the command builder offered it, and it then failed at runtime with The OptiX camera backend does not support particles or deformable surfaces.
    • The Cable task renders correctly with OptiX, so it stays allowed. I checked this by comparing its frames against Newton Warp.

The hint does not pin a minimum driver version. If OptiX 9.1 needs a specific minimum driver, it can be added there.

Type of change

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

Test plan

  • uv run python tools/update_environments_rst.py --check
  • pytest for test_render_benchmark_cfg.py, test_preset_cli.py, test_hydra.py, test_cartpole_camera_presets.py and test_shadow_hand_camera_presets.py: 137 passed.
  • is_task_run_launchable: OptiX is rejected for Soft and Cloth. It is accepted for Cable, Cartpole-Camera and KukaAllegro-Camera.
  • Clean docs build: sphinx -W --keep-going -E succeeded.
  • Headless Chrome on the built environments page:
    • the hint shows only for newton_optix, and --extra optix is added to the command;
    • no physics choice auto-selects OptiX;
    • Newton benchmark bars render;
    • no page errors.

🤖 Generated with Claude Code

Add newton_optix to the renderer docs, preset tables, API reference, and the
environment browser command builder, which now adds the optix extra and shows
an RTX requirement hint. Add the preset to the render benchmark and microduck
demo, and reject it on the deformable Franka lift camera tasks.
@StafaH
StafaH requested a review from a team November 19, 2026 06:41
@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Nov 19, 2026

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

Needs attention: Design and architecture (1), Compatibility and deprecation (1), Style consistency (2). Other reviewed categories look good.

  • PR description: The title matches the renderer update, but regenerated rows and Cloth validation are not demonstrated by the supplied diff; clarify those claims and condense the body while preserving validation and template sections.
  • Design and architecture: Move OptiX validation into FrankaSoftCameraEnvCfg so non-camera configurations do not own camera-specific probing and scene scanning.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: Breaking changes: MicroDuck's existing OptiX exposure preset changes from 3200 to None, stopping exposure authoring without a functional compatibility bridge, targeted warning, migration guidance, removal schedule, or transition coverage.
  • Implementation: Implementation looks good.
  • Style consistency: Add --inexact to the OptiX sync instruction to preserve installed extras, matching the adjacent OVRTX installation guidance.
  • Test quality: Test quality looks good.

Significant concerns. Posted 4 inline findings.

Automated review; human maintainers own approval decisions.

Comment thread docs/source/concepts/renderers.rst Outdated
.. dropdown:: Newton OptiX renderer

- **Runtime and physics:** The Newton renderer ray traced in hardware with OptiX on RTX GPUs.
Install it with ``uv sync --extra optix`` (Linux x86-64 and Windows x64) and select it with

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Style Consistency — Preserve installed extras in OptiX instructions

Unlike the adjacent OVRTX instructions, this sync command omits --inexact and can remove other installed extras. Use uv sync --inexact --extra optix.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 526e6b4: both OptiX install commands in renderers.rst (the new dropdown and the existing card text from #9058) now use uv sync --inexact --extra optix.

Comment thread docs/source/concepts/renderers.rst Outdated
- **Output coverage:** Same outputs and settings as Newton Warp. It does not render particles,
deformable surfaces, or Gaussian splats, and it ignores ``use_cuda_graph``.
- **Configuration:** :class:`~isaaclab_newton.renderers.NewtonOptixRendererCfg`
- **Best for:** Newton Warp workloads on RTX GPUs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Style Consistency — Remove the repeated use-case bullet

“Newton Warp workloads on RTX GPUs” repeats the runtime and output bullets without explaining when to choose OptiX. Remove it or state a distinct, verified use case.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 526e6b4: the bullet now names a distinct use case. It reads: rigid-body camera tasks on RTX GPUs, where OptiX replaces Warp's software BVH traversal with hardware ray tracing.

visualizer_cfgs=VisualizerCfg(cameras=[SceneCameraCfg(prim_path="{ENV_REGEX_NS}/Camera")]),
)
camera_exposure_iso = preset(default=3200.0, isaacsim_rtx=None, newton_warp=None)
camera_exposure_iso = preset(default=3200.0, isaacsim_rtx=None, newton_warp=None, newton_optix=None)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Compatibility — Preserve the existing OptiX preset default

OptiX was already selectable here; this changes its exposure preset from 3200 to None and stops authoring exposure attributes. Keep the old default functional through a warned, documented migration before removing it.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving this as is. camera_exposure_iso only authors OmniRtxCameraExposureAPI_1 attributes, which are OVRTX-specific (see the comment at microduck_warehouse.py:155). The Newton renderers don't read them. That is why newton_warp was already None, and newton_optix now matches it. Before this change, renderer=newton_optix authored attributes that the renderer ignored, so the rendered output is the same. There is no behavior to migrate.

# visualizer settings
self.sim.visualizer_cfgs = VisualizerCfg(eye=(0.75, 0.25, 0.65), lookat=(0.0, 0.75, 0.4))

def validate_config(self):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Design Architecture — Move validation to the camera config

FrankaSoftEnvCfg also serves non-camera scenes, forcing this hook to probe for an optional camera and scan scene fields. Move it to FrankaSoftCameraEnvCfg and inspect its declared camera and deformable asset directly.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 526e6b4. The check now lives on FrankaSoftCameraEnvCfg and FrankaClothCameraEnvCfg, and it reads self.scene.base_camera directly, without probing or scanning the scene. It is not on a shared base because FrankaCableCameraEnvCfg also derives from FrankaSoftEnvCfg, and the cable task renders correctly with OptiX. is_task_run_launchable still rejects OptiX for Soft and Cloth and accepts it for Cable.

@greptile-apps

greptile-apps Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

Documents Newton OptiX and makes it available in renderer presets and the environment browser.

  • Camera task choices now include Newton OptiX where its outputs are supported.
  • The render benchmark and microduck warehouse cameras can use Newton OptiX.
  • Franka camera tasks reject Newton OptiX when their scenes contain deformable objects.

No actionable issues found.

Reviews (1) · Last reviewed commit: "Allow OptiX on the cable lift task and d..." · Reviewed by Greptile

@StafaH

StafaH commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Nov 19, 2026
@kellyguo11
kellyguo11 merged commit f74e923 into isaac-sim:main Nov 19, 2026
90 of 91 checks passed
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 isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants