Repository navigation
Setup IsaacRTX Minimal mode - #7377
Conversation
There was a problem hiding this comment.
Isaac Lab Review Bot
The change correctly scopes RTX Minimal settings to each requesting render product, but this also changes every sibling AOV attached to that product. Mixed requests such as rgb plus simple_shading_full_mdl therefore no longer preserve the prior path-traced RGB behavior and need an explicit warning or documentation.
- Design and architecture: Per-render-product authoring avoids process-wide last-camera-wins interactions and is consistent with the adjacent background-color implementation. However, Minimal mode applies to the entire render product, not only the simple-shading AOV, so all data types requested by the same camera share the changed rendering mode.
- API: The existing
simple_shading_*names and shading-level mapping remain stable. The behavioral contract for combining simple shading with color outputs is now materially different and should be made explicit in documentation or diagnosed when such combinations are configured. - Implementation: The helper validates the render-product prim and authors both required attributes in one
Sdf.ChangeBlock. The contract test verifies per-product attributes and absence of global setting writes, but the changed path attaches all annotators to that same product and does not address mixed simple-shading and color requests.
Minor fixes needed. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
| simple_shading_mode = self._resolve_simple_shading_mode(spec) | ||
| if simple_shading_mode is not None: | ||
| get_settings_manager().set_int(SIMPLE_SHADING_MODE_SETTING, simple_shading_mode) | ||
| self._apply_minimal_render_mode(stage, rp.path, simple_shading_mode) |
There was a problem hiding this comment.
🟡 Warning · Design Architecture — Minimal mode also changes sibling AOVs
The render mode is authored on the whole render product, and every annotator for the camera attaches to that same rp.path (lines 426-428). A camera configured with e.g. data_types=["rgb", "simple_shading_full_mdl"] previously kept path-traced rgb; it now yields Minimal-shaded color with no diagnostic. Warn when simple shading is combined with other color data types, or state this product-wide effect in the new docs note.
There was a problem hiding this comment.
this may be valid let me take a look. recently the PR #7204 does a similar validation i can take a stab at this
Greptile SummaryThis PR configures RTX Minimal shading per render product while preserving the configured renderer for regular color outputs.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Reviews (2): Last reviewed commit: "Preserve mixed color output with simple ..." | Re-trigger Greptile |
| simple_shading_mode = self._resolve_simple_shading_mode(spec) | ||
| if simple_shading_mode is not None: | ||
| get_settings_manager().set_int(SIMPLE_SHADING_MODE_SETTING, simple_shading_mode) | ||
| self._apply_minimal_render_mode(stage, rp.path, simple_shading_mode) |
There was a problem hiding this comment.
When a camera requests rgb or rgba together with a simple_shading_* output, this switches their shared render product to Minimal mode, causing the normal color output to use Minimal shading instead of the configured path-tracing pipeline. Reject this combination as OVRTX does, or place the outputs on separate render products.
Knowledge Base Used:
Prevent product-wide Minimal mode from silently changing RGB output, and align validation with OVRTX while preserving duplicate requests.
Keep transient product settings stronger than annotator synchronization while preserving the existing first-mode fallback for multiple simple-shading requests.
Keep color-bearing render products on their configured mode while applying only the per-product shading level, avoiding a breaking validation change.
|
@greptile review |
There was a problem hiding this comment.
I think we should remove those and rely on per render product settings.
Avoid process-wide color-render mutations for simple shading while preserving the existing headless depth-only optimization and documenting mixed-color behavior.
|
run-ci |
Description
NVBug: 6674420
Newton MJWarp configured for Isaac RTX Minimal Mode with Simple Shading Full MDL is substantially slower than Newton MJWarp with OVRTX. The Isaac RTX path is not enabling Minimal Mode as expected, preventing the intended performance gains. Investigate and fix the Isaac RTX configuration path so Minimal Mode is correctly enabled.
Fixes # (issue)
Type 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