Repository navigation
[Backport] PR #7609 to release/3.0.0 - #7727
kellyguo11 merged 2 commits into
Conversation
# Description This PR improves Isaac Lab's default ground and gives its three interactive visualizers a consistent solid background without changing any existing shared asset. ## Ground plane - Points `GroundPlaneCfg` at a new, versioned Isaac-dev Nucleus asset. - Uses a seamless 2 m texture tile with 1 m off-white/dark-grey checks and NVIDIA-green landmarks every 2 m. - Keeps the checks metric when `GroundPlaneCfg.size` changes by scaling the authored UVs. - Authors a PBR roughness map (dark checks: 0.05; off-white and green: 1.0). - Hides Kit's overlapping editor grid and camera-axis guide by default. The asset stays deliberately simple: one four-vertex visual quad, one invisible collision plane, one OmniPBR material, and relative albedo/roughness texture references. It has no visual overlay geometry, renderer-specific material shim, bundled package data, embedded light, or change to an existing Nucleus asset. ## Solid backgrounds - Adds `VisualizerCfg.background_color` as one shared normalized RGB setting. - Uses `(0.30, 0.55, 0.82)` (solid sky blue) by default in Kit, Newton GL, and Newton RTX. - Allows `None` to preserve the selected backend's native background. - Keeps the visible background independent of scene lighting and reflections. - Applies the color per render product in Kit, before OVRTX stage export in Newton RTX, and through the Newton GL sky colors. This revision deliberately does not include third-party HDR files, Nucleus sky presets, dome controls, camera/exposure changes, or task-specific lighting changes. The shared nullable background field is a small extension point for a separately reviewed HDR sky option later. ## Asset publication The ground plane is available at this isolated versioned Isaac-dev path: `omniverse://isaac-dev.ov.nvidia.com/Isaac/IsaacLab/Environments/Grid/default_ground_plane_checker_v1/default_ground_plane.usda` Public production mirror: `https://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/6.1/Isaac/IsaacLab/Environments/Grid/default_ground_plane_checker_v1/default_ground_plane.usda` The public USD and both relative texture dependencies return HTTP 200 and resolve through Isaac Lab's standard 6.1 public asset root. The Isaac-dev source and public mirror were both verified after publication. No existing Nucleus asset was overwritten. ## Newton / OVRTX behavior Kit reads the OmniPBR albedo and roughness maps directly, so the dark checks have the intended reflective finish. Released Newton builds currently preserve the albedo texture but reduce roughness to one scalar while importing USD. Consequently, they cannot reproduce different roughness values per checker tile. This PR deliberately does not add an Isaac Lab geometry or material workaround. [newton-physics/newton#4170](newton-physics/newton#4170) implements the focused upstream fix: it preserves roughness textures and their OmniPBR influence through Newton's mesh model and USD/RTX viewers. It partially resolves [newton-physics/newton#3646](newton-physics/newton#3646). The new Isaac Lab asset already authors `reflectionroughness_texture`, so OVRTX picks up the glossy checks automatically when tested against that Newton branch. ## Type of change - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Validation Asset-backed tests ran through the standard public S3 asset root with no `ISAACSIM_ASSET_ROOT` override: - `uv run python -m pytest source/isaaclab/test/sim/test_default_ground_plane.py -q` - 3 passed - `uv run python -m pytest source/isaaclab/test/sim/test_spawn_from_files.py -k test_spawn_ground_plane -q` - 1 passed, 7 deselected - `uv run python -m pytest source/isaaclab/test/terrains/test_terrain_importer.py -k test_plane -q` - 4 passed, 39 deselected - `uv run python -m pytest source/isaaclab/test/app/test_experience_files.py -q` - 6 passed - Focused visualizer/config suite - 122 passed - `uv run isaaclab -f` - passed, including changelog and Git LFS checks - `uv run --isolated --extra dev -- make -C docs current-docs` - passed with warnings treated as errors - Newton import inspection - one visual mesh plus one collision plane; no overlay geometry - Public S3 read-back - the ground USD and both relative textures returned HTTP 200 ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks - [x] I have updated relevant documentation, docstrings, and changelog fragments - [x] My changes generate no new warnings - [x] I have added tests that prove the fix is effective - [x] I have added a changelog fragment for every touched source package - [x] My name already exists in `CONTRIBUTORS.md` --------- Co-authored-by: Kelly Guo <[email protected]>
|
There was a problem hiding this comment.
Isaac Lab Review Bot
The backport consistently adds shared background-color handling across Kit and Newton visualizers and updates the default ground-plane appearance and UV contract. One documentation gap remains: Newton GL’s existing sky-color fields are now inactive under the new non-None background default, but their public docstrings do not state that requirement.
- Design and architecture: The shared
VisualizerCfg.background_colorabstraction is translated appropriately by each backend, and the default ground-plane asset, tile size, spawner scaling, tests, and golden images are updated coherently. - API: The additive
background_colorfield is validated, supportsNoneas an opt-out, and is propagated throughdefault_visualizer_cfg. However,sky_upper_colorandsky_lower_colornow take effect only whenbackground_color=None; their docstrings should explicitly document that condition, as the updatedenable_skydocstring does. - Implementation: The changed producer and consumer paths consistently apply the configured background in Kit, Newton GL, and Newton RTX, with focused tests covering validation, propagation, and backend behavior. No separate material implementation defect is established.
Minor fixes needed. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
|
|
||
| enable_sky: bool = True | ||
| """Enable sky rendering.""" | ||
| """Enable procedural sky rendering when ``background_color`` is ``None``.""" |
There was a problem hiding this comment.
🔵 Suggestion · Api — Sky color fields inert under new default
Because background_color now defaults to a non-None color, _apply_viewer_post_init forces draw_sky = False and overwrites both sky colors, so configs setting sky_upper_color/sky_lower_color are ignored unless background_color=None. enable_sky was updated for this, but the two color fields still document unconditional effect. Extend the same qualifier to their docstrings.
Backports #7609 to
release/3.0.0.The merged change (
60397e1f47) cherry-picked cleanly onto the latest release base. The release branch already contained the original emptyisaaclab_tasksgolden-image fragment name from an earlier ground-plane change, so this branch adds a uniquely named empty.skipfragment for the backport. No release-specific source conflict resolution was required.60397e1f47c664e7c2a1059e4a7e42b361477fd6ac5f0e9908a83d09b77a7026f86b87165f2ba8ccae8a82bde2edbfa9cf06c37340ee41af8eb6b19bc25d15cad6466d5e68ab0e6676f21d9cadb22436Type of change
Validation
uv run --isolated --extra test -- make -C docs current-docs: passed without warningsuv run isaaclab -f: passed, including changelog and Git LFS checksChecklist
CONTRIBUTORS.md