Skip to content

Make the tiled ground plane the default - #7399

Merged
kellyguo11 merged 13 commits into
isaac-sim:developfrom
maxkra15:maximiliank/default-ground-floor
Sep 3, 2026
Merged

kellyguo11 merged 13 commits into
isaac-sim:developfrom
maxkra15:maximiliank/default-ground-floor

Conversation

@maxkra15

@maxkra15 maxkra15 commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Description

Host a warm-white ground plane with NVIDIA-green metric grid lines on Nucleus and make it the default for GroundPlaneCfg and plane terrains.

This change:

  • replaces the legacy default with an IsaacLab-hosted USD and textures resolved through ISAACLAB_NUCLEUS_DIR;
  • preserves the authored floor appearance unless callers explicitly provide a diffuse color tint (authored emission remains unchanged);
  • makes authored face-varying primvars:st the sole texture-mapping authority for Kit, Newton RTX, and Newton GL;
  • configures OmniPBR to consume UV set 0 (st) with projection disabled and identity texture scale;
  • recomputes the hosted asset's UVs when GroundPlaneCfg.size changes so its 5 m texture tile and 1 m grid stay metric;
  • sizes both automatically created and directly imported plane-terrain visuals to cover the environment grid, with a 100 m minimum, while retaining an infinite collision plane;
  • keeps the historical dark material default for generated terrains while preserving explicit visual_material=None as “bind no material”; and
  • documents and tests the asset contract.

The bounded visual mesh matters for standalone visualizers: the previous 2,000 km mesh exhausted useful UV precision near the origin and could sample one green texel across the entire view. Collision behavior is unchanged because the USD Plane collider is infinite.

This is the asset-level solution that superseded #7352. It does not require a Newton-specific OmniPBR compatibility patch. Renderer tone mapping and light models can still produce different final brightness.

Nucleus asset

The asset is staged at:

  • omniverse://isaac-dev.ov.nvidia.com/Isaac/IsaacLab/Environments/Grid/default_ground_plane.usda
  • omniverse://isaac-dev.ov.nvidia.com/Isaac/IsaacLab/Environments/Grid/Materials/Textures/default_ground_plane_*.png

The code uses ISAACLAB_NUCLEUS_DIR, so the same relative layout works with configured development, staging, production, and regional asset roots. Public Isaac 6.1 asset-pack promotion is handled separately from this code change.

Renderer comparison

All clips use the hosted default floor, one environment, 300 frames at 60 FPS (5 seconds), and a fixed camera per task. Each renderer panel is captured at 1280 × 720. Kit uses PhysX; Newton RTX and Newton GL use MJWarp.

To keep the warm-white floor below clipping and make the grid legible, these presentation captures use fixed neutral calibration: Kit uses each environment's neutral scene light at 40% of its normal intensity, Newton RTX uses a neutral dome at intensity 400, and Newton GL uses the established neutral ambient profile at exposure 0.40. This calibration affects the media only and is not part of the runtime ground-plane change.

ANYmal-D walking policy

ANYmal-D renderer comparison

Full-resolution ANYmal-D MP4

Cartpole policy

Cartpole renderer comparison

Full-resolution Cartpole MP4 · Both environments in one MP4

Type of change

  • New feature (non-breaking change which adds functionality)
  • Documentation update

Release backport

  • Backport this pull request to the active release branch after it merges into develop

Testing

  • uv run --frozen --no-sync isaaclab -f
  • ISAACSIM_ASSET_ROOT=omniverse://isaac-dev.ov.nvidia.com uv run --frozen --no-sync python -m pytest source/isaaclab/test/sim/test_default_ground_plane.py -q (3 passed)
  • OMNI_KIT_ACCEPT_EULA=yes ISAACSIM_ASSET_ROOT=omniverse://isaac-dev.ov.nvidia.com uv run --frozen --no-sync python -m pytest source/isaaclab/test/sim/test_spawn_from_files.py::test_spawn_ground_plane -q (1 passed)
  • OMNI_KIT_ACCEPT_EULA=yes ISAACSIM_ASSET_ROOT=omniverse://isaac-dev.ov.nvidia.com uv run --frozen --no-sync python -m pytest source/isaaclab/test/terrains/test_terrain_importer.py::test_visual_material_defaults source/isaaclab/test/terrains/test_terrain_importer.py::test_plane -q (5 passed)
  • The new material-default and direct-import assertions fail on the prior implementation and pass with this change.
  • Manual Cartpole and ANYmal-D policy playback with Kit/PhysX, Newton RTX/MJWarp, and Newton GL/MJWarp

Checklist

  • I have read and understood the contribution guidelines
  • I have run the repository formatting and pre-commit checks with uv run --frozen --no-sync isaaclab -f
  • 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
  • My name already exists in CONTRIBUTORS.md

@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Aug 27, 2026
@maxkra15
maxkra15 force-pushed the maximiliank/default-ground-floor branch from 6252f3d to d1b1cdc Compare August 28, 2026 00:24
@ooctipus

Copy link
Copy Markdown
Collaborator

Thanks—this asset-level approach looks good, and the authored metric UVs are the important part. Could we make primvars:st the single source of texture mapping for every renderer, rather than maintaining both OmniPBR projection and equivalent authored UVs?

Newton #4007 is now merged. Newton supports the standard OpenUSD path:

UsdPrimvarReader_float2("st") -> [optional UsdTransform2d] -> UsdUVTexture -> UsdPreviewSurface

That change intentionally does not read OmniPBR mapping inputs (project_uvw, world_or_object, texture_scale, and related attributes). Since this plane already bakes the 5 m repeat into face-varying primvars:st, it does not need a UsdTransform2d either.

My suggestion:

  • Keep the metric primvars:st authored and resized by Isaac Lab as the sole mapping authority.
  • Author a universal UsdPreviewSurface / UsdUVTexture output with explicit repeat wrapping for Newton.
  • If an MDL/OmniPBR output is retained for Kit appearance, have it consume UV set 0 (st) with projection disabled and identity scale, rather than owning a second projected mapping.

This should give Kit, Newton GL, and Newton RTX the same tiling while preventing the two mappings from drifting. Is there a Kit-specific reason this asset still needs object projection instead of consuming the authored st?

@ooctipus

ooctipus commented Aug 28, 2026 •

Copy link
Copy Markdown
Collaborator

One clarification on the maintenance boundary: the current dual-authoring approach—OmniPBR object projection plus equivalent authored UVs—is not ideal because the same tiling semantics have two sources of truth and can drift.

Making primvars:st the sole mapping source removes that duplication. However, if both an OmniPBR material output and a UsdPreviewSurface output remain, there are still two material descriptions to maintain even though they share one UV mapping.

The cleanest end state, if Kit provides the required visual fidelity, is therefore a single standard UsdPreviewSurface / UsdUVTexture graph consuming primvars:st across Kit, Newton GL, and Newton RTX.

The bundled plane carried the same 5 m tiling twice: an OmniPBR object
projection for Kit and an equivalent face-varying primvars:st for renderers
that consume mesh UVs. Two sources of truth for one mapping can drift, and
only the UV set was rescaled when the plane was resized.

Disable project_uvw and set an identity texture_scale so the OmniPBR shader
reads UV set 0. primvars:st is now the sole mapping authority for Kit,
Newton GL, and Newton Viewer RTX, and the rescale in spawn_ground_plane()
keeps the tile metric in all three rather than in two.

The MDL output is kept: Newton resolves the albedo and the conventional st
primvar from it today, and a universal UsdPreviewSurface output would report
no base color to Newton, which falls back to 0.5 grey and darkens the plane.
@ooctipus

Copy link
Copy Markdown
Collaborator

Pushed 261ca78 to this branch rather than leaving the thread open — revert it if you would rather take a different route.

What it does. project_uvw = 0 and texture_scale = (1, 1) on the OmniPBR shader, so it reads UV set 0 instead of projecting. primvars:st becomes the only mapping authority for Kit, Newton GL, and Newton Viewer RTX, and the rescale already in spawn_ground_plane() now keeps the tile metric in all three rather than in two. Asset README and the USD contract test updated with it; the test fails against the projected asset and passes against the new one.

What it does not do, and why I am walking back the second half of my earlier suggestion: adding a universal UsdPreviewSurface output alongside the MDL one would regress Newton. _extract_preview_surface_properties only records a base color when diffuseColor holds a value; with the texture connected it returns color=None, _get_input_value_and_attr then follows the connection to outputs:rgb and gets nothing, and ViewerBase._update_shapes falls back to wp.vec3(0.5, 0.5, 0.5) for a visual-only shape. The GL shader does albedo = ObjectColor; albedo *= tex_color, so the plane would render at half brightness. The MDL path avoids this because diffuse_color_constant = (1, 1, 1) is a plain value, and Newton still resolves the conventional st primvar from it.

So one mapping, still one material description. Worth filing upstream that a UsdPreviewSurface with a textured diffuseColor should default to white; once that lands, dropping OmniPBR for a single standard graph becomes the clean end state I described, subject to the emissive-mask modulation which UsdPreviewSurface cannot express without math nodes.

"""Test loading prim for the ground plane from grid world USD."""
# Spawn ground plane
cfg = sim_utils.GroundPlaneCfg(color=(0.1, 0.1, 0.1), size=(10.0, 10.0))
cfg = sim_utils.GroundPlaneCfg(color=(0.1, 0.1, 0.1), size=(10.0, 20.0))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

hm why is the ground plane rectangular?

@kellyguo11 kellyguo11 moved this to In progress in Isaac Lab Aug 31, 2026
@maxkra15

maxkra15 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor 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 Sep 1, 2026
matthewtrepte added a commit to matthewtrepte/IsaacLab that referenced this pull request Sep 1, 2026
…osted media

Restructures docs/source/overview/core-concepts/visualization.rst,
docs/source/how-to/record_video.rst, docs/source/how-to/visualizer_tiled_camera.rst,
docs/source/how-to/draw_markers.rst, and docs/source/overview/core-concepts/
scene_data_providers.rst into docs/source/concepts/visualization.rst,
docs/source/features/record_video.rst, docs/source/features/visualizer_tiled_camera.rst,
docs/source/features/draw_markers.rst, and docs/source/concepts/scene_data_providers.rst.
visualization.rst covers all 5 visualizers (Kit, Newton GL, Newton RTX, Rerun, Viser) with
a hero grid, per-visualizer sections, and a shared-features overview; the Features pages are
each visualizer capability's dedicated guide.

Media
- All demo clips are mp4 (h.264) instead of GIFs, hosted on
  https://download.isaacsim.omniverse.nvidia.com/isaaclab/images/ rather than bundled in the
  repo; only the marker screenshots (markers_anymal_d.jpg, markers_franka.jpg) stay local.
- Consolidated doc-media generation from 11 ad hoc scripts down to 4
  (tools/docs/media/visualizers/capture_common.py, capture_hero.py, capture_showcase.py,
  capture_streaming.py), each independently re-runnable to regenerate its clips.

Bug fixes
- Fixed NewtonGLVisualizer.render_rgb_array omitting visualization markers from recorded
  video.
- Fixed NewtonRTXVisualizer unconditionally reporting the streaming/tiled camera view as
  unsupported; streaming_view=True now creates the owned streaming camera sensor for headless
  capture.
- Implemented RerunVisualizer.set_camera_view / ViserVisualizer.set_camera_view (previously
  no-op stubs).
- Fixed run_video_recording.py's Example 3 Kit streaming view crashing on a stale camera prim
  path, and two literalinclude line ranges in draw_markers.rst that had drifted from the
  current markers.py.

Docs cleanup
- Removed the Optimize Stage Creation (fabric cloning / stage-in-memory) page, out of scope
  for this PR.
- Every technical claim in scene_data_providers.rst was re-verified against
  scene_data_provider.py, scene_data_backend.py, newton_manager.py, and physx_manager.py.
- Removed all em dashes from the touched prose.

Reverted from this branch
- The cherry-picked ground-plane texture asset (PR isaac-sim#7399) and Newton UV-collision
  prototype-cache fix (PR isaac-sim#7352), both out of scope for this PR.
- Viser ambient-light (light_intensity) and Rerun/Viser HUD-toggle (show_hud) options, added
  alongside the legitimate visualizer fixes above but out of scope for this PR.
@maxkra15

maxkra15 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

run-ci

@isaaclab-bot isaaclab-bot Bot added the ci:run-docker Trigger the on-demand Docker and GPU CI workflow label Sep 2, 2026
@greptile-apps

greptile-apps Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR replaces the remote default ground plane with a packaged warm-white, metric-grid USD asset and updates spawning, terrain sizing, packaging, tests, and renderer goldens accordingly.

  • Preserves the authored plane material unless an explicit tint is configured.
  • Rewrites bundled UV coordinates to maintain metric grid spacing when the plane is resized.
  • Bounds automatically created plane-terrain visuals to their environment grid while retaining infinite collision.
  • Adds package data and LFS-enabled installation-test checkouts for the bundled asset.

Confidence Score: 4/5

The PR appears safe to merge, with a non-blocking remaining inconsistency for direct import_ground_plane users who retain the oversized visual and its UV-precision problem.

Automatic plane-terrain construction and official wheel packaging follow the intended bounded, hydrated asset path, but the public import helper's default still generates extreme UV magnitudes.

Files Needing Attention: source/isaaclab/isaaclab/terrains/terrain_importer.py, source/isaaclab/isaaclab/sim/spawners/from_files/from_files.py

Important Files Changed

Filename Overview
source/isaaclab/isaaclab/sim/spawners/from_files/from_files.py Adds bundled-asset-specific UV rewriting; the logic is consistent for normal positive sizes but inherits the terrain importer's oversized public-method default.
source/isaaclab/isaaclab/sim/spawners/from_files/from_files_cfg.py Changes GroundPlaneCfg to the package-local asset and preserves authored color by default.
source/isaaclab/isaaclab/terrains/terrain_importer.py Correctly sizes automatically constructed plane terrains, but direct import_ground_plane calls still default to a 2,000 km visual.
source/isaaclab/isaaclab/terrains/terrain_importer_cfg.py Moves the visual-material default into generated-terrain handling while allowing plane terrains to retain authored appearance.
source/isaaclab/pyproject.toml Includes the complete bundled ground-plane directory in package artifacts.
.github/workflows/install-ci.yml Hydrates Git LFS content in both installation-test jobs.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  C[GroundPlaneCfg or TerrainImporterCfg] --> S[spawn_ground_plane]
  S --> U[Bundled ground-plane USD]
  S --> V[Scale visual mesh]
  S --> M[Rewrite metric UVs]
  U --> P[Infinite collision plane]
  V --> R[Bounded rendered surface]
  M --> R
Loading

Reviews (1): Last reviewed commit: "Calibrate the PPISP test ground tint" | Re-trigger Greptile

Comment on lines +246 to +247
half_u = cfg.size[0] / (2.0 * from_files_cfg._DEFAULT_GROUND_PLANE_TILE_SIZE)
half_v = cfg.size[1] / (2.0 * from_files_cfg._DEFAULT_GROUND_PLANE_TILE_SIZE)

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.

P2 Oversized default defeats UV precision

Calling TerrainImporter.import_ground_plane(name) without a size still forwards its 2,000 km default into this UV calculation, producing coordinates of ±200,000. That retains the texture-precision problem the bounded visual mesh is intended to solve, so direct users can see a nearly uniform green sample instead of the metric grid.

Knowledge Base Used: Scene and asset composition

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 596ed580b. import_ground_plane() now derives the same bounded 100 m-minimum visual size from the configured environment grid when size is omitted. The regression test verifies both the 130 m scale and ±26 UVs for a direct import, and fails against the prior 2,000 km default.

@AntoineRichard AntoineRichard left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't think IsaacLab should ship a texture. Could this be added to Nucleus instead?

@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 bundled ground-plane asset, metric UV rewrite, bounded terrain visualization, packaging, and tests are coherent. Before merge, the generator-terrain None material semantics, the public visual_material default migration, and the incomplete ground-plane color override should be addressed.

  • Design and architecture: The spawn-time UV rewrite gated to the bundled USD preserves metric texture mapping while retaining an infinite collision plane. However, import_mesh now converts visual_material=None into a dark material based on terrain_type, removing the prior ability to request no generated-terrain visual material and making identical method arguments behave differently according to importer configuration.
  • API: Changing TerrainImporterCfg.visual_material from a concrete PreviewSurfaceCfg default to None can break callers that inspect or mutate the inherited material and requires explicit changelog migration guidance. In addition, GroundPlaneCfg.color only changes diffuse_tint; the authored green emission remains active, so the documented appearance override is incomplete.
  • Implementation: The ceil-square plane sizing, 100 m visual minimum, four-corner UV rewrite, package-data inclusion, LFS checkout, and focused asset tests are internally consistent. The material fallback and color-override paths need correction so explicit None and explicit tint values retain clear, complete behavior.

Minor fixes needed. Posted 3 actionable findings inline.

Automated review; human maintainers own approval decisions.

# Preserve the historical dark material for generated terrains while allowing plane terrains
# to keep the ground plane's authored appearance by default.
visual_material = self.cfg.visual_material
if visual_material is None and self.cfg.terrain_type == "generator":

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 — Explicit visual_material=None ignored for generator terrains

visual_material is typed ... | None, and an explicit None previously meant "bind no visual material". import_mesh now replaces None with a black PreviewSurfaceCfg whenever terrain_type == "generator", so that configuration can no longer be expressed and import_mesh behaves differently for identical arguments depending on terrain type. Apply the dark fallback at the generator call site or in cfg post-init so None keeps its meaning.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 596ed580b. The terrain-type-specific omitted default is resolved in config post-init, while an explicit visual_material=None remains None; import_mesh() no longer substitutes a material. The focused test covers all three cases.


visual_material: sim_utils.VisualMaterialCfg | None = sim_utils.PreviewSurfaceCfg(diffuse_color=(0.0, 0.0, 0.0))
"""The visual material of the terrain. Defaults to a dark gray color material.
visual_material: sim_utils.VisualMaterialCfg | None = 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 · Api — Undocumented change of public config default

TerrainImporterCfg().visual_material changes from a concrete PreviewSurfaceCfg instance to None, so existing configs that read or mutate the inherited default (e.g. cfg.visual_material.diffuse_color) now fail. The added changelog fragment covers only the ground plane and gives no migration guidance for this changed default. Either keep a concrete default or document the change and migration path in the fragment.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 596ed580b and fe550a6f1. TerrainImporterCfg() still resolves to the historical dark PreviewSurfaceCfg, plane configs resolve to None, and explicit None remains expressible for generated terrains. The changelog documents the explicit-None behavior and the test exercises the public default directly.


color: tuple[float, float, float] | None = (0.0, 0.0, 0.0)
"""The color of the ground plane. Defaults to (0.0, 0.0, 0.0).
color: tuple[float, float, float] | None = 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.

🔵 Suggestion · Api — Color override leaves authored green emission

The bundled asset authors enable_emission with NVIDIA-green emissive_color/mask, while spawn_ground_plane applies cfg.color only to diffuse_tint. A caller passing color=(0.0, 0.0, 0.0) still gets glowing green grid lines, contradicting the changelog claim that color overrides the authored appearance. Either also neutralize emission when a color is supplied, or state the emission limitation in the docstring and fragment.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Clarified in 596ed580b. This preserves the existing GroundPlaneCfg.color contract: it applies diffuse_tint, while the authored emission remains unchanged (the previous Nucleus ground material also retained its emission). The docstring, changelog, and PR description now state that limitation explicitly.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Put on Nucleus

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

If not in nucleus we need a different folder this can't stay here, it's weird.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done in f00f8ffbd. I removed the repository copies and their LFS/package plumbing. The USD is now at omniverse://isaac-dev.ov.nvidia.com/Isaac/IsaacLab/Environments/Grid/default_ground_plane.usda, with its dependencies under Materials/Textures. GroundPlaneCfg resolves the same layout through ISAACLAB_NUCLEUS_DIR, so it remains asset-root portable. The asset-contract and spawn tests pass against the development Nucleus; public Isaac 6.1 asset-pack promotion is still pending.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Make a real texture on Nucleus

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done in f00f8ffbd: this is now Environments/Grid/Materials/Textures/default_ground_plane_emissive_color.png on the IsaacLab development Nucleus, and the packaged copy has been removed.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Make a real texture on Nucleus

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done in f00f8ffbd: this is now Environments/Grid/Materials/Textures/default_ground_plane_emissive_mask.png on the IsaacLab development Nucleus, and the packaged copy has been removed.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Make a real texture on Nucleus

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Removed in f00f8ffbd together with the packaged asset directory. The asset contract remains documented by the focused test, changelog fragment, and updated PR description.

Comment on lines +243 to +256
if cfg.usd_path == from_files_cfg._DEFAULT_GROUND_PLANE_USD:
from pxr import Gf, UsdGeom # noqa: PLC0415

half_u = cfg.size[0] / (2.0 * from_files_cfg._DEFAULT_GROUND_PLANE_TILE_SIZE)
half_v = cfg.size[1] / (2.0 * from_files_cfg._DEFAULT_GROUND_PLANE_TILE_SIZE)
mesh = UsdGeom.Mesh(stage.GetPrimAtPath(f"{prim_path}/Environment/Geometry"))
UsdGeom.PrimvarsAPI(mesh).GetPrimvar("st").Set(
[
Gf.Vec2f(-half_u, -half_v),
Gf.Vec2f(half_u, -half_v),
Gf.Vec2f(half_u, half_v),
Gf.Vec2f(-half_u, half_v),
]
)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why a custom UV? Can't this be baked in the texture?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The default 100 m UVs are already authored in the USD. The Python code only rewrites the quad’s four standard primvars:st values when GroundPlaneCfg.size changes; scaling only the mesh would stretch the 1 m grid. A full-plane texture bake would work for only one fixed size. I’ll keep the standard st adjustment and move the USD and texture dependencies to the existing Nucleus Grid asset layout as requested.

@maxkra15

maxkra15 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor 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 Sep 2, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor

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 Sep 2, 2026
@kellyguo11
kellyguo11 merged commit 3eda4a9 into isaac-sim:develop Sep 3, 2026
47 of 48 checks passed
@github-project-automation github-project-automation Bot moved this from In progress to Done in Isaac Lab Sep 3, 2026
@isaaclab-bot

isaaclab-bot Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as 6f7e80f.

isaaclab-bot Bot pushed a commit that referenced this pull request Sep 3, 2026
# Description

Host a warm-white ground plane with NVIDIA-green metric grid lines on
Nucleus and make it the default for `GroundPlaneCfg` and plane terrains.

This change:

- replaces the legacy default with an IsaacLab-hosted USD and textures
resolved through `ISAACLAB_NUCLEUS_DIR`;
- preserves the authored floor appearance unless callers explicitly
provide a diffuse color tint (authored emission remains unchanged);
- makes authored face-varying `primvars:st` the sole texture-mapping
authority for Kit, Newton RTX, and Newton GL;
- configures OmniPBR to consume UV set 0 (`st`) with projection disabled
and identity texture scale;
- recomputes the hosted asset's UVs when `GroundPlaneCfg.size` changes
so its 5 m texture tile and 1 m grid stay metric;
- sizes both automatically created and directly imported plane-terrain
visuals to cover the environment grid, with a 100 m minimum, while
retaining an infinite collision plane;
- keeps the historical dark material default for generated terrains
while preserving explicit `visual_material=None` as “bind no material”;
and
- documents and tests the asset contract.

The bounded visual mesh matters for standalone visualizers: the previous
2,000 km mesh exhausted useful UV precision near the origin and could
sample one green texel across the entire view. Collision behavior is
unchanged because the USD `Plane` collider is infinite.

This is the asset-level solution that superseded #7352. It does not
require a Newton-specific OmniPBR compatibility patch. Renderer tone
mapping and light models can still produce different final brightness.

## Nucleus asset

The asset is staged at:

-
`omniverse://isaac-dev.ov.nvidia.com/Isaac/IsaacLab/Environments/Grid/default_ground_plane.usda`
-
`omniverse://isaac-dev.ov.nvidia.com/Isaac/IsaacLab/Environments/Grid/Materials/Textures/default_ground_plane_*.png`

The code uses `ISAACLAB_NUCLEUS_DIR`, so the same relative layout works
with configured development, staging, production, and regional asset
roots. Public Isaac 6.1 asset-pack promotion is handled separately from
this code change.

## Renderer comparison

All clips use the hosted default floor, one environment, 300 frames at
60 FPS (5 seconds), and a fixed camera per task. Each renderer panel is
captured at 1280 × 720. Kit uses PhysX; Newton RTX and Newton GL use
MJWarp.

To keep the warm-white floor below clipping and make the grid legible,
these presentation captures use fixed neutral calibration: Kit uses each
environment's neutral scene light at 40% of its normal intensity, Newton
RTX uses a neutral dome at intensity 400, and Newton GL uses the
established neutral ambient profile at exposure 0.40. This calibration
affects the media only and is not part of the runtime ground-plane
change.

### ANYmal-D walking policy

![ANYmal-D renderer
comparison](https://github.com/maxkra15/IsaacLab/blob/media/default-ground-floor/pr-media/default-ground-floor/anymal_d_renderer_comparison.gif?raw=1)

[Full-resolution ANYmal-D
MP4](https://github.com/maxkra15/IsaacLab/blob/media/default-ground-floor/pr-media/default-ground-floor/anymal_d_renderer_comparison.mp4?raw=1)

### Cartpole policy

![Cartpole renderer
comparison](https://github.com/maxkra15/IsaacLab/blob/media/default-ground-floor/pr-media/default-ground-floor/cartpole_renderer_comparison.gif?raw=1)

[Full-resolution Cartpole
MP4](https://github.com/maxkra15/IsaacLab/blob/media/default-ground-floor/pr-media/default-ground-floor/cartpole_renderer_comparison.mp4?raw=1)
· [Both environments in one
MP4](https://github.com/maxkra15/IsaacLab/blob/media/default-ground-floor/pr-media/default-ground-floor/default_ground_plane_renderer_comparison.mp4?raw=1)

## Type of change

- New feature (non-breaking change which adds functionality)
- Documentation update

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`

## Testing

- `uv run --frozen --no-sync isaaclab -f`
- `ISAACSIM_ASSET_ROOT=omniverse://isaac-dev.ov.nvidia.com uv run
--frozen --no-sync python -m pytest
source/isaaclab/test/sim/test_default_ground_plane.py -q` (3 passed)
- `OMNI_KIT_ACCEPT_EULA=yes
ISAACSIM_ASSET_ROOT=omniverse://isaac-dev.ov.nvidia.com uv run --frozen
--no-sync python -m pytest
source/isaaclab/test/sim/test_spawn_from_files.py::test_spawn_ground_plane
-q` (1 passed)
- `OMNI_KIT_ACCEPT_EULA=yes
ISAACSIM_ASSET_ROOT=omniverse://isaac-dev.ov.nvidia.com uv run --frozen
--no-sync python -m pytest
source/isaaclab/test/terrains/test_terrain_importer.py::test_visual_material_defaults
source/isaaclab/test/terrains/test_terrain_importer.py::test_plane -q`
(5 passed)
- The new material-default and direct-import assertions fail on the
prior implementation and pass with this change.
- Manual Cartpole and ANYmal-D policy playback with Kit/PhysX, Newton
RTX/MJWarp, and Newton GL/MJWarp

## Checklist

- [ ] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the repository formatting and pre-commit checks with
`uv run --frozen --no-sync isaaclab -f`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package
- [x] My name already exists in `CONTRIBUTORS.md`

---------

Co-authored-by: Octi Zhang <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>

(cherry picked from commit 3eda4a9)
@ooctipus
ooctipus deleted the maximiliank/default-ground-floor branch September 3, 2026 01:16
@nvsekkin nvsekkin mentioned this pull request Sep 3, 2026
1 of 8 tasks
hujc7 added a commit to hujc7/IsaacLab that referenced this pull request Sep 4, 2026
Both this branch (new asset) and develop (isaac-sim#7399, tiled ground plane default)
had regenerated these seven images, so neither version matched the merged
tree. These are the frames the isaaclab_visualizers job rendered for the
merged head (run 33738341690); hand and cube geometry are unchanged from the
previous goldens, only the ground rendering differs.
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 infrastructure isaac-lab Related to Isaac Lab team

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants