Repository navigation
Fix Render prefix and frame output - #7954
Conversation
|
There was a problem hiding this comment.
Isaac Lab Review Bot
The per-camera RenderCamera_N scope is consistently used as the source of render-product identity and OVRTX 0.5 frame keys, while OVRTX 0.4 retains source-name lookups. The changed producer and consumer paths are aligned and covered by multi-camera/version tests.
- Design and architecture:
OVRTXCameraRenderDatanow owns scope and product identity, and the USD builders derive product configuration fromspecplus that render data. The renderer’s use of the internal minimal-mode mapping keeps authoring and output selection synchronized within the package; exposing another accessor is not necessary for this internal coupling. - API: The USD builder signatures and return type, render-var helpers, constructor, documentation capture hook, and removed compatibility symbols were checked. In-repository consumers are migrated, and the breaking changelog documents the new calling conventions and frame-key behavior. Out-of-tree users of these renderer helpers still face the explicitly documented compatibility transition.
- Implementation: Frame lookup now derives OVRTX 0.5 keys from each camera’s authored scope and prim-name mapping while preserving OVRTX 0.4 source keys. Rendering, segmentation metadata, legacy and ovstage registration, and combined debug-stage generation follow the new identity path. Tests cover authored paths across two cameras and both supported key formats, plus USD layer metadata preservation.
No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.
Automated review; human maintainers own approval decisions.
|
run-ci |
# Description * Update left overs related to `/Render` scope prefix that hasn't been addressed in the previous PR isaac-sim#7860 * Address breaking change in the integration between 0.4 and 0.5. Previously we looked up outputs using Labels, now we need to use full path to get access to RenderVarOutput. * Refactor core functions and tests related to the logic above. ## Type of change <!-- As you go through the list, delete the ones that are not applicable. --> - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) - Breaking change (existing functionality will not work without user modification) - Documentation update ## Release backport - [ ] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Screenshots Please attach before and after screenshots of the change if applicable. <!-- Example: | Before | After | | ------ | ----- | | _gif/png before_ | _gif/png after_ | To upload images to a PR -- simply drag and drop an image while in edit mode and it should upload the image directly. You can then paste that source into the above before/after sections. --> ## Checklist Docker and GPU tests run on demand. Push the commits you want tested, then comment `run-ci` on the pull request. - [ ] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump `extension.toml` — CI handles that) - [ ] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task --> (cherry picked from commit 446f841)
…ing (#7954, #7950) (#7964) # Description Backport both #7954 and #7950 to `release/3.0.0` in this PR. - #7954 (`446f8411cb15092bd4f166e16bcd6860b34826cd`) fixed OVRTX 0.5 camera RenderVar paths and frame output lookups. The release branch was missing this prerequisite, and its own CI was already failing the legacy kitless rendering checks with missing RenderVar paths and empty camera outputs. - #7950 (`12a9fe20938a4536b9042cffd2e09e3ea9634c8b`) fixed homogeneous OVRTX clone plans by removing non-source environment roots from the exported stage when the clone targets those roots. Plans targeting prims beneath environment roots still keep the roots and their transforms. Both original changelog fragments and regression tests are included. No dependencies were added. ## Type of change - Bug fix ## Validation - `uv run --frozen --extra test --extra ovrtx python -m pytest source/isaaclab_ov/test/test_ovrtx_clone_plan.py source/isaaclab_ov/test/test_ovrtx_usd.py source/isaaclab_ov/test/test_ovrtx_compat.py source/isaaclab_ov/test/test_ovrtx_renderer_contract.py -q` — 111 passed. - `uv run --frozen --extra test --extra ov python -m pytest source/isaaclab_ov/test/test_ovrtx_renderer_rigid_object_rendering.py -q` — 2 passed. - `ISAACLAB_CHANGELOG_BASE_REF=release/3.0.0 uv run --frozen isaaclab -f` — passed, with the local release tracking ref aligned to the current upstream release head. ## Checklist - [x] I have read and understood the contribution guidelines. - [x] I have run the pre-commit checks. - [x] I have added tests for the fixes. - [x] I have added changelog fragments under `source/isaaclab_ov/changelog.d/`. - [x] Both original authors are listed in `CONTRIBUTORS.md`. --------- Co-authored-by: Richard Schmitt <[email protected]> Co-authored-by: Piotr Barejko <[email protected]>
…ng docs (#7957) Backports the three changes from the September 20–23 `develop` audit that are missing from `release/3.0.0`, alongside the existing cloning-guide backport: - #7722 (`4cf439dfeb`): reject a second `SimulationContext` construction instead of silently discarding its configuration. Includes the original fixture cleanup and regression coverage. - #7893 (`22fcd71bc4`): validate DelayBuffer lag values before mutating its live configuration. - #7947 (`6e9ef17f59`): make `v3.0.0-EA` the default documentation version in deployment and local multi-version builds. - #7129 (`354168560f`): clarify that `replicate_physics=False` skips the active physics context while other declared replication contexts still run. **Compatibility:** repeated `SimulationContext(...)` calls now raise. Retrieve the live context with `SimulationContext.instance()`, or call `clear_instance()` before constructing a replacement. The original major changelog fragment includes this migration. The runtime and test files match current `develop`. The docs-default backport adapts the release branch's existing redirect template, validates the target page, and preserves explicit overrides. The cloning-guide backport preserves the current release APIs; its obsolete sections were already removed. ## Release audit Checked all **35 PRs** merged into `develop` from **2026-09-20 16:43:18 UTC** through `cff81e8473` (September 23), against release head `5d3e0b695e`. **32 are already covered; the remaining three are included here.** Git history, patch equivalence, GitHub's merged PR list, and remaining file differences were checked. Branch-specific version/changelog compilation and existing release-only changes are preserved. <details> <summary>Already covered PRs</summary> 26 have an equivalent patch in release: #7919, #7922, #7923, #7924, #7925, #6758, #7928, #7902, #7927, #7891, #7931, #7691, #7861, #7929, #7916, #7939, #4609, #7942, #7940, #7948, #7937, #7955, #7960, #7961, #7970, #7958. Six were squash-merged or adapted: #7530 and #7899 in #7926; #7637 in #7933; #7860 in #7936; #7954 and #7950 in #7964. Their implementation differences were checked against the current release tree. </details> ## Validation - **276 tests passed**: SimulationContext (51, including CPU/CUDA), headless context construction (15), nine schema/fragment suites (165), four manager suites (38), and DelayBuffer (7). - Both backported regressions reproduce with the original release implementations. - Docs redirect recipe: local/deployment EA defaults, explicit override, and missing-target rejection passed with a stubbed Sphinx builder. - All 22 changed files match the intended backport scope; `uv run isaaclab -f` and `git diff --check` passed. - Fresh Sphinx validation (`-b dummy -W --keep-going`): passed without warnings, excluding static assets as the HTML builder does. Full HTML documentation CI is running. Local runtime validation used PyTorch 2.12.0, CUDA 13.0, Isaac Sim 6.0.1.0, and an RTX 5090. Existing runtime/deprecation warnings occurred; the CI jobs validate the pinned environments. The previous [docs CI failure](https://github.com/isaac-sim/IsaacLab/actions/runs/35795116307/job/106972539281) was an external connection reset fetching the Omniverse intersphinx inventory, producing one warning under `-W`. That URL returned HTTP 200 when rechecked. This update starts a fresh docs build. --------- Co-authored-by: hujc <[email protected]> Co-authored-by: Zihan Xu <[email protected]>
…fix (#8220) Fixes two problems with the Newton RTX visualizer (`--visualizer newton_rtx`). This includes Diego Ferigo's commit from #7529, merged with current develop, so it supersedes that PR. **Markers.** The RTX viewer skipped visualization markers because their registry ids (`prim_path::id`) aren't valid USD prim paths. On the RTX path they are now rendered under a sanitized id, both live and in headless capture. The GL viewer is unchanged. **Black viewer.** With `ovrtx` 0.5, render outputs are keyed `/Render/Vars/LdrColor`, but Newton's `ViewerRTX` looks up `LdrColor`. The lookup failed silently, so the window was never drawn to and headless capture raised. `NewtonViewerRTX` now aliases the color output as `LdrColor` when `ovrtx` is 0.5 or newer, the same version split the OVRTX camera renderer has used since #7954. Both this and the id sanitizing are workarounds and carry a TODO. Nothing tested Newton RTX frames before, so I added `test_visualizer_integration_newton_rtx.py`. On the cartpole it checks that frames aren't flat, move while playing, freeze while the simulation is paused, and change when a marker is made visible. It's a separate kit-less module because OVRTX can't share a process with Kit. ## Testing - The adapter, viewer-release and new integration tests pass. Without the `LdrColor` fix the integration test and a unit test fail; without id sanitizing the marker check fails. - Ruff and the changelog check are clean. - On a live `newton_rtx` window with no patches, Kuka Allegro (4 envs, `newton_mjwarp`) renders the scene and the table markers. ## Notes - The `LdrColor` fix relies on Newton's private `_render_products` and on the key Newton authors (`/Render/Vars/LdrColor`), so it should go once Newton accepts both keys. There's no upstream issue yet. - `render_rgb_array()` on the async RTX viewer returns the previous submission, one frame behind. The test flushes once to compensate. - RTX has no Pause Rendering control, so that phase of the shared motion test runs for the GL viewer only. ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` --------- Co-authored-by: Diego Ferigo <[email protected]> Co-authored-by: Octi Zhang <[email protected]>
…fix (#8220) Fixes two problems with the Newton RTX visualizer (`--visualizer newton_rtx`). This includes Diego Ferigo's commit from #7529, merged with current develop, so it supersedes that PR. **Markers.** The RTX viewer skipped visualization markers because their registry ids (`prim_path::id`) aren't valid USD prim paths. On the RTX path they are now rendered under a sanitized id, both live and in headless capture. The GL viewer is unchanged. **Black viewer.** With `ovrtx` 0.5, render outputs are keyed `/Render/Vars/LdrColor`, but Newton's `ViewerRTX` looks up `LdrColor`. The lookup failed silently, so the window was never drawn to and headless capture raised. `NewtonViewerRTX` now aliases the color output as `LdrColor` when `ovrtx` is 0.5 or newer, the same version split the OVRTX camera renderer has used since #7954. Both this and the id sanitizing are workarounds and carry a TODO. Nothing tested Newton RTX frames before, so I added `test_visualizer_integration_newton_rtx.py`. On the cartpole it checks that frames aren't flat, move while playing, freeze while the simulation is paused, and change when a marker is made visible. It's a separate kit-less module because OVRTX can't share a process with Kit. ## Testing - The adapter, viewer-release and new integration tests pass. Without the `LdrColor` fix the integration test and a unit test fail; without id sanitizing the marker check fails. - Ruff and the changelog check are clean. - On a live `newton_rtx` window with no patches, Kuka Allegro (4 envs, `newton_mjwarp`) renders the scene and the table markers. ## Notes - The `LdrColor` fix relies on Newton's private `_render_products` and on the key Newton authors (`/Render/Vars/LdrColor`), so it should go once Newton accepts both keys. There's no upstream issue yet. - `render_rgb_array()` on the async RTX viewer returns the previous submission, one frame behind. The test flushes once to compensate. - RTX has no Pause Rendering control, so that phase of the shared motion test runs for the GL viewer only. ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` --------- Co-authored-by: Diego Ferigo <[email protected]> Co-authored-by: Octi Zhang <[email protected]> (cherry picked from commit 29e500d)
Description
/Renderscope prefix that hasn't been addressed in the previous PR Fix per-sensor render products in OVRTX #7860Type of change
Release backport
developScreenshots
Please attach before and after screenshots of the change if applicable.
Checklist
Docker and GPU tests run on demand. Push the commits you want tested, then
comment
run-cion the pull request.pre-commitchecks with./isaaclab.sh --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bumpextension.toml— CI handles that)CONTRIBUTORS.mdor my name already exists there