Skip to content

Multi AOV rendering for OVRTX cherry-pick - #7286

Merged
pbarejko merged 2 commits into
isaac-sim:release/3.0.0from
pbarejko:fix/ovrtx-multi-aov-cp
Aug 22, 2026
Merged

pbarejko merged 2 commits into
isaac-sim:release/3.0.0from
pbarejko:fix/ovrtx-multi-aov-cp

Conversation

@pbarejko

Copy link
Copy Markdown
Collaborator

Description

Cherry-pick of https://github.com/pbarejko/IsaacLab/pull/new/fix/ovrtx-multi-aov-cp

Type of change

  • 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

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks 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

@pbarejko
pbarejko requested a review from a team August 21, 2026 19:36
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Aug 21, 2026
@pbarejko pbarejko changed the title Fix/ovrtx multi aov cp Multi AOV rendering for OVRTX cherry-pick Aug 21, 2026
@pbarejko pbarejko self-assigned this Aug 21, 2026
@greptile-apps

greptile-apps Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR expands OVRTX render products to author all compatible requested AOVs instead of selecting only one, and routes image-plane and camera-distance outputs from their respective depth sources.

  • Adds data-type-to-render-var mapping, shared-source deduplication, and validation for incompatible simple-shading combinations.
  • Updates frame extraction to process both depth render vars into the corresponding output buffers.
  • Adds focused tests and a changelog entry covering multi-AOV authoring, depth semantics, unsupported types, and simple-shading conflicts.

Confidence Score: 5/5

The PR appears safe to merge, with no concrete blocking or independently actionable non-blocking defects identified.

The new authoring and extraction paths consistently use matching render-var source names, deliberately deduplicate shared sources, preserve aliased color outputs, and route the two depth metrics to their corresponding buffers.

Important Files Changed

Filename Overview
source/isaaclab_ov/isaaclab_ov/renderers/ovrtx_usd.py Replaces single-AOV precedence with validated, deduplicated multi-AOV configuration and preserves required segmentation mapping vars.
source/isaaclab_ov/isaaclab_ov/renderers/ovrtx_renderer.py Routes image-plane and Euclidean depth sources independently and extracts every available requested depth output.
source/isaaclab_ov/test/test_ovrtx_usd.py Adds coverage for multi-AOV ordering, shared-source deduplication, distinct depth sources, unsupported types, and simple-shading conflicts.
source/isaaclab_ov/changelog.d/ovrtx-enumerate-render-vars.minor.rst Documents the multi-AOV and depth fixes along with the intentional validation-related compatibility break.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart LR
    A[Camera data types] --> B[Validate combinations]
    B --> C[Map each supported type to a render var]
    C --> D[Deduplicate shared sources]
    D --> E[Author orderedVars on render product]
    E --> F[OVRTX frame render_vars]
    F --> G[Extract each source into matching output buffers]
    G --> H[Camera outputs]
Loading

Reviews (1): Last reviewed commit: "Cleanup comments and add code review" | Re-trigger Greptile

@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

The multi-AOV refactor correctly authors distinct render vars and routes depth outputs by source, but it also changes the existing singular render-var helper from fixed-priority selection to request-order selection without documenting that compatibility change.

  • Design and architecture: The table-driven render-var authoring and depth source-to-buffer mapping are internally consistent, including de-duplication of shared sources and separate image-plane and camera-distance extraction.
  • API: Finding 0 is valid: get_render_var_config(["motion_vectors", "rgb"]) previously selected LdrColor but now selects TargetMotionSD. Preserve the prior precedence or explicitly document this behavior change and its migration implications.
  • Implementation: The implementation covers multi-AOV authoring, segmentation metadata vars, distinct depth sources, and incompatible simple-shading combinations with focused tests. The new test also confirms the order-dependent singular-helper behavior that needs compatibility treatment.

Minor fixes needed. Posted 1 actionable finding inline.

Automated review; human maintainers own approval decisions.

Returns:
The render-var config, defaulting to ``LdrColor`` when no entry is supported.
"""
return get_render_var_configs(data_types)[0]

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.

🔵 Suggestion · Api — Singular helper selection becomes order dependent

get_render_var_config is an existing non-private helper whose result now depends on the order of data_types instead of the previous fixed priority: ["motion_vectors", "rgb"] returned LdrColor before and returns TargetMotionSD now. Callers that pass only the single-var arguments to build_render_scope_usd will silently author a different primary AOV. Either preserve the prior precedence here or note this behavior change in the changelog fragment.

@pbarejko
pbarejko force-pushed the fix/ovrtx-multi-aov-cp branch from 3c6aee2 to d952f86 Compare August 21, 2026 19:58
@pbarejko
pbarejko enabled auto-merge (squash) August 21, 2026 22:29
@pbarejko
pbarejko disabled auto-merge August 21, 2026 22:45
@pbarejko
pbarejko merged commit 9cfd452 into isaac-sim:release/3.0.0 Aug 22, 2026
76 of 78 checks passed
ooctipus pushed a commit that referenced this pull request Aug 22, 2026
## Summary

Cherry-picks the following merged PRs from `develop` onto
`release/3.0.0`, preserving each as an individual commit with `-x`
provenance:

- #7244 — Remove the unnecessary AppLauncher from task preset tests
- #7241 — Report cumulative retry wall time in the test orchestrator
- #7114 — Group compatible rendering correctness AOVs

The commits are applied in their chronological `develop` order. All
three cherry-picks completed without conflicts. The release branch
already contains the OVRTX multi-AOV prerequisite from #7286.

## Type of change

- Bug fix (non-breaking CI and test-runtime improvements)

## Validation

- Verified all three backported commits have patch IDs identical to
their source squash commits and retain their `cherry picked from`
footers.
- `git diff --check upstream/release/3.0.0..HEAD`
- Release-base changelog validation passed.
- Test orchestrator result handling: **11 passed**
- Shadow Hand camera presets: **42 passed**
- Rendering parametrization helpers: **16 passed**
- Kitless rendering suites: **166 tests collected successfully**
- `uv run isaaclab -f` passed all formatting, lint, whitespace, RST,
changelog, Git LFS, and repository-hygiene hooks.

GPU rendering execution was not repeated locally; CI remains
authoritative for the renderer integration paths already validated in
#7114.

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks
- [x] No documentation changes are required
- [x] My changes generate no new warnings
- [x] Existing and backported tests cover the changed behavior
- [x] Each touched source package has a changelog fragment
- [x] My name already exists in `CONTRIBUTORS.md`

---------

Co-authored-by: Piotr Barejko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants