Repository navigation
[Backport release/3.0.0] Visual materials and documentation updates - #7240
Conversation
…ch (isaac-sim#7218) # Description The Manus Gloves section of the CloudXR teleoperation how-to page assumed the `manus_hand_plugin` was already built and running, with no guidance on how to get it. It also referenced `isaacteleop` as if the plugin shipped in the pip package, which it doesn't. This PR brings the Manus workflow in line with the existing SO-101 leader-arm example: build the plugin from Isaac Teleop source, start Isaac Lab, wait for the CloudXR runtime to be ready, then launch the plugin in a second terminal. The section now has explicit Prerequisites / Run the simulation / Start the plugin / Start teleoperation subsections so it stands on its own, while linking out to the Isaac Teleop Manus plugin docs for the full data-path reference and troubleshooting. While verifying the build steps against a local Isaac Teleop checkout, I also: - Fixed an incorrect install path for the `manus_hand_tracker_printer` diagnostic CLI (it installs to `install/bin/`, not `install/plugins/manus/`). - Added an explicit `git checkout release/1.4.x` step to both the Manus and SO-101 leader-arm build instructions, so the plugin is built against the same `isaacteleop` wire format Isaac Lab actually pins (`isaacteleop~=1.4.0`). Verified by building `manus_hand_plugin`, `manus_hand_tracker_printer`, and `so101_leader_plugin` from `origin/release/1.4.x` of `NVIDIA/IsaacTeleop` and confirming the resulting install paths and CLI output match the docs. Fixes # (issue) ## Type of change - Documentation update ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [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 (do **not** edit `CHANGELOG.rst` or bump `extension.toml` — CI handles that) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there (cherry picked from commit b25ae23)
# Description > [!IMPORTANT] > Confirm the pull request base before submitting. Target `develop` for all > contributions. The `release/3.0.0-beta2` branch is a frozen stable landing > snapshot and is not used for ongoing maintenance. <!-- Thank you for your interest in sending a pull request. Please make sure to check the contribution guidelines. Link: https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html 💡 Please try to keep PRs small and focused. Large PRs are harder to review and merge. --> Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. Fixes # (issue) <!-- As a practice, it is recommended to open an issue to have discussions on the proposed pull request. This makes it easier for the community to keep track of what is being developed or added, and if a given feature is demanded by more than one party. --> ## 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 ## 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 - [ ] 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 155f31a)
…c-sim#6299) ## Summary This PR rebases visual-material randomization onto current `develop` and keeps the original declarative scene API while moving runtime writes onto renderer-native GPU paths. ### Architecture and ownership `VisualMaterialCfg` remains a first-class `AssetBaseCfg` in `InteractiveSceneCfg`: 1. The material is declared beside the robot and other assets. 2. Its source prim is spawned before assets that bind it. 3. It participates in the same clone plan as the rest of the scene. `{ENV_REGEX_NS}` creates one material clone per environment; an absolute path creates one shared material. 4. Normal asset initialization resolves the cloned material/shader paths and registers the material with `RenderContext`. 5. `RenderContext` concatenates each numeric channel into one flat device buffer and asks active renderer/visualizer consumers for their writer. 6. Reset/runtime events sample directly on the target device and use one generic Warp scatter to update selected material/environment rows. There is no owner-asset hierarchy, plan merging/reindexing, queued-material adapter, runtime relationship rewrite, or SimulationContext material service. `SimulationContext` only owns the shared `RenderContext` lifecycle. ### Runtime backend paths - **Kit / Isaac RTX:** cached Fabric shader selections and batched Warp writes. - **OVRTX:** cached native addresses for both legacy and OVStage APIs; dirty channel buffers are published directly from CUDA. Native cloning preserves relative material bindings. - **Newton:** material bindings are compiled once into flat material-to-shape rows, then color updates scatter into `model.shape_color` with one Warp launch. Runtime material writes do not author USD, walk the stage, transfer environment IDs to the CPU, convert tensors to lists, or loop over environment rows in Python. USD work is restricted to scene construction/import. OVRTX currently publishes the full dirty channel because its write API does not expose indexed row updates; the Lab-side partial reset remains a device scatter. ### Public behavior `VisualMaterialCfg`, `VisualMaterial.write_channels`, `read_channel`, `randomize_visual_material`, `randomize_visual_color`, and the Newton-only `randomize_visual_shape` event remain available. Numeric channels are: - Preview Surface: color, roughness, metallic, emissive color, opacity. - OmniPBR: color, roughness, metallic, specular, emissive color/intensity, opacity, UV scale/offset/rotation. - OmniGlass: color, frosting roughness, and IOR. Texture asset paths remain construction-time USD data. One static texture may be preloaded and its numeric UV channels randomized, but runtime texture-path selection is intentionally unsupported by this GPU-only pipeline. `prestartup` material writes are also rejected because renderer writers exist only after scene cloning/finalization. Material and shape granularity stay separate: - `randomize_visual_material` samples per declared material and environment on supported renderers. - `randomize_visual_shape` samples per selected link and environment against Newton's live shape storage. Other renderers should declare one material per independently randomized part. ### Demo `scripts/demos/visual_color_randomization.py` keeps the original heterogeneous five-style ANYmal scene: 1. Original authored appearance. 2. Textured body, legs, and feet. 3. Glass body, legs, and feet. 4. Solid body, legs, and feet. 5. Mixed textured body, solid legs, and glass feet. Each family uses scene-declared per-environment materials for body, legs, and feet. The demo defaults to 512 environments and resets random subsets so partial writes are visible. ```bash # PhysX + Kit/Fabric uv run --extra isaacsim python scripts/demos/visual_color_randomization.py # Newton physics + Newton GL uv run python scripts/demos/visual_color_randomization.py \ --physics newton_mjwarp --visualizer newton_gl ``` ## Validation - Repository formatting, Ruff, whitespace, conflict, codespell, license, RST, changelog, secret, and Git LFS gates passed. - Core material/event, scene lifecycle, USD relationship, PhysX/Fabric, Newton material/shape, OVRTX clone/material, and visualizer hook suites passed. - Broad cloner suite: 43 passed. - Local CI-equivalent core `[2/3]`: 78/78 files, 2,212 tests, 0 failures/errors, 16 skipped. - SimulationContext suite: 51 passed. - Fresh golden-image rendering passed for Kit/Fabric, Newton Warp, OVRTX legacy, and OVRTX OVStage. - `git diff --check` passed and `uv.lock` is unchanged. Synchronized RTX 5090 measurements for 4096 environments: | Path | Full reset | 512-env partial reset | |---|---:|---:| | Core flat-buffer scatter | 0.041 ms | 0.044 ms | | Newton material events | 0.351 ms | 0.368 ms | | Kit/Fabric material events | 1.008 ms | 1.047 ms | | OVRTX legacy publish | 0.216 ms | 0.233 ms | | OVRTX OVStage publish | 8.682 ms | 8.329 ms | The production implementation is 862 net lines smaller than the previous PR revision (about 43%) while preserving the declarative asset/event/demo boundaries. --------- Co-authored-by: Kelly Guo <[email protected]> (cherry picked from commit c300f62)
## Summary - remove the outdated reference architecture page and its dedicated diagrams - refresh migration, licensing, bibliography, changelog, contribution, and navigation documentation - document the repository media policy and copy the Isaac Lab 3.0 release notes into the documentation ## Context This is the documentation half of isaac-sim#7134, split into a focused PR and rebased onto the latest `develop` (`155f31a727a`). The Ray implementation and its supporting documentation are in a separate PR. ## Validation - `uv run isaaclab -f`: Ruff, formatting, RST, license, and repository hygiene hooks passed; the changelog-fragment hook failed on an invalid fragment already present on upstream `develop` - full Sphinx build attempted with warnings as errors; it produced no diagnostics and was stopped after exceeding the bounded local wait (cherry picked from commit 10c0070)
|
Too many files changed for review (185 files, 100 file limit). Bypass the limit by tagging |
There was a problem hiding this comment.
Isaac Lab Review Bot
The backport adds scene-declared visual materials, GPU channel randomization, renderer and visualizer writer hooks across Fabric, Newton, and OVRTX, kitless material authoring, and extensive documentation updates. The implementation paths are coherent, but the new renderer extension contract omits a required public export.
- Design and architecture: The renderer-owned design is coherent: RenderContext composes flat per-channel buffers at consumer finalization, backends compile stable writer addresses, and runtime updates use device-side scatter and deduplicated dispatch. Nested materials also correctly follow their owning asset’s clone rows.
- API: The new public visual_material_writer hook is typed in terms of VisualMaterialBatch, and backend implementations already consume that type, but VisualMaterialBatch is not exported from isaaclab.renderers or documented alongside the other renderer contract types. Export and document it so third-party backends do not depend on an internal module path.
- Implementation: Material initialization, clone-plan mapping, full and partial writes, writer rebuild and shutdown, and the Fabric, Newton, and OVRTX consumers were traced. The implementation is internally consistent; the remaining issue is the discoverability and stability of the public writer-contract type.
Minor fixes needed. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
|
|
||
|
|
||
| @dataclass(frozen=True) | ||
| class VisualMaterialBatch: |
There was a problem hiding this comment.
🟡 Warning · Api — VisualMaterialBatch missing from renderers package exports
VisualMaterialBatch is part of the public visual_material_writer contract and is consumed by isaaclab_newton and isaaclab_ov, but it is not added to the isaaclab.renderers lazy exports/__init__.pyi alongside BaseRenderer, RenderBufferKind, and RenderBufferSpec. Backend and third-party renderer implementations must therefore import the internal isaaclab.renderers.base_renderer module path. Export and document it like the sibling renderer types.
Summary
Cherry-picks the following merged PRs from
developontorelease/3.0.0, preserving each as an individual commit with-xprovenance:The commits are applied in their chronological
developorder. All four cherry-picks completed without conflicts.Validation
cherry picked fromfooters.git diff --check upstream/release/3.0.0..HEAD--extra ov): 12 passeduv run isaaclab -fpassed all code, formatting, whitespace, RST, YAML/TOML, license, and repository-hygiene hooks. Its changelog hook reported unrelated release/develop baseline fragments (fix-usd-replicate-def-ancestors.rstandvidurv-nested-fragment-writers.rst) followed by the known Windows CP1252 reporting error; the targeted release-base changelog check passed.Bounded integration attempts
test_visual_material_scene.pywas retried with the declaredisaacsimproject extra and did not complete within the five-minute local bound; it produced no failure diagnostics.