Skip to content

Decouples physics backends from SimulationContext via PhysicsManager - #4564

Merged
kellyguo11 merged 64 commits into
isaac-sim:developfrom
ooctipus:develop_simulation_context
Feb 12, 2026
Merged

kellyguo11 merged 64 commits into
isaac-sim:developfrom
ooctipus:develop_simulation_context

Conversation

@ooctipus

@ooctipus ooctipus commented Feb 7, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Refactors SimulationContext to use a PhysicsManager abstraction layer, enabling cleaner separation between simulation orchestration and physics backend implementation. Introduces backward-compatible deprecation for configuration fields that moved to PhysxCfg.

Type of change

  • New feature (non-breaking change which adds functionality)
  • Breaking change (existing functionality will not work without user modification)
  • Documentation update

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 updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-sim Related to Isaac Sim team isaac-lab Related to Isaac Lab team infrastructure labels Feb 7, 2026
@ooctipus
ooctipus force-pushed the develop_simulation_context branch from cc29fd8 to 7826c9a Compare February 7, 2026 02:36
@github-actions github-actions Bot added the isaac-mimic Related to Isaac Mimic team label Feb 7, 2026
@ooctipus
ooctipus marked this pull request as ready for review February 9, 2026 04:24
@greptile-apps

greptile-apps Bot commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

Too many files changed for review. (183 files found, 100 file limit)

Comment thread scripts/demos/quadcopter.py Resolved
Comment thread scripts/tutorials/00_sim/launch_app.py Resolved
Comment thread scripts/tutorials/00_sim/log_time.py Resolved
Comment thread scripts/tutorials/00_sim/spawn_prims.py Resolved
Comment thread source/isaaclab/docs/CHANGELOG.rst Resolved
Comment thread source/isaaclab/docs/CHANGELOG.rst Resolved
"""The list of visualizer configurations. Default is None."""

def __post_init__(self):
"""Initialize defaults if not set."""

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.

Suggested change
"""Initialize defaults if not set."""
"""Initialize defaults if not set."""

@ooctipus
ooctipus force-pushed the develop_simulation_context branch from ba468e6 to 07a8e1f Compare February 11, 2026 22:48
@kellyguo11
kellyguo11 merged commit 0ba9c5c into isaac-sim:develop Feb 12, 2026
7 of 16 checks passed
nblauch added a commit to nblauch/IsaacLab that referenced this pull request Apr 3, 2026
PR isaac-sim#4142 added 10 RT2 typed fields to RenderCfg (max_bounces,
split_glass, split_clearcoat, split_rough_reflection,
ambient_light_intensity, ambient_occlusion_denoiser_mode,
subpixel_mode, enable_cached_raytracing, max_samples_per_launch,
view_tile_limit) and their field_to_setting mappings. These were
accidentally removed in the PhysicsManager refactor (PR isaac-sim#4564,
commit 0ba9c5c). This restores them along with test coverage.
@nblauch nblauch mentioned this pull request Apr 3, 2026
3 of 7 tasks
nblauch added a commit to nblauch/IsaacLab that referenced this pull request Apr 3, 2026
PR isaac-sim#4142 added 10 RT2 typed fields to RenderCfg (max_bounces,
split_glass, split_clearcoat, split_rough_reflection,
ambient_light_intensity, ambient_occlusion_denoiser_mode,
subpixel_mode, enable_cached_raytracing, max_samples_per_launch,
view_tile_limit) and their field_to_setting mappings. These were
accidentally removed in the PhysicsManager refactor (PR isaac-sim#4564,
commit 0ba9c5c). This restores them along with test coverage.
nblauch added a commit to nblauch/IsaacLab that referenced this pull request Apr 3, 2026
PR isaac-sim#4142 added 10 RT2 typed fields to RenderCfg (max_bounces,
split_glass, split_clearcoat, split_rough_reflection,
ambient_light_intensity, ambient_occlusion_denoiser_mode,
subpixel_mode, enable_cached_raytracing, max_samples_per_launch,
view_tile_limit) and their field_to_setting mappings. These were
accidentally removed in the PhysicsManager refactor (PR isaac-sim#4564,
commit 0ba9c5c). This restores them along with test coverage.
kellyguo11 pushed a commit that referenced this pull request May 14, 2026
# Description  
PR [#4142](#4142) added 10
typed RT2 (`RealTimePathTracing`) fields to `RenderCfg` to expose the
carb settings that actually control rendering quality under the RT2 mode
that has been default since Isaac Sim 4.5. The PhysicsManager refactor
in PR [#4564](#4564) (commit
`0ba9c5cb`) accidentally removed all 10 of these fields during a large
`simulation_cfg.py` rewrite, while the `.kit` preset files that
reference the same carb paths were left intact.
This PR restores the removed fields and their `field_to_setting`
mappings, along with test coverage.
**Restored fields:**
| Field | Carb Path |
|-------|-----------|
| `max_bounces` | `/rtx/rtpt/maxBounces` |
| `split_glass` | `/rtx/rtpt/splitGlass` |
| `split_clearcoat` | `/rtx/rtpt/splitClearcoat` |
| `split_rough_reflection` | `/rtx/rtpt/splitRoughReflection` |
| `ambient_light_intensity` | `/rtx/sceneDb/ambientLightIntensity` |
| `ambient_occlusion_denoiser_mode` |
`/rtx/ambientOcclusion/denoiserMode` |
| `subpixel_mode` | `/rtx/raytracing/subpixel/mode` |
| `enable_cached_raytracing` | `/rtx/raytracing/cached/enabled` |
| `max_samples_per_launch` | `/rtx/pathtracing/maxSamplesPerLaunch` |
| `view_tile_limit` | `/rtx/viewTile/limit` |
Without these fields, users can only reach RT2 quality knobs through the
`carb_settings` escape-hatch dict, while the existing named fields
(`samples_per_pixel`, `enable_translucency`, `enable_reflections`,
`enable_direct_lighting`) map to RT1 Legacy carb paths that RT2 ignores
entirely.
## Type of change
- Bug fix (non-breaking change which fixes an issue)
## Checklist
- [x] 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
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: Nicholas Blauch <[email protected]>
Co-authored-by: ooctipus <[email protected]>
Co-authored-by: Antoine RICHARD <[email protected]>
Co-authored-by: isaaclab-review-bot[bot] <270793704+isaaclab-review-bot[bot]@users.noreply.github.com>
@ooctipus
ooctipus deleted the develop_simulation_context branch October 14, 2026 14:28
@ooctipus
ooctipus restored the develop_simulation_context branch October 14, 2026 15:04
@ooctipus
ooctipus deleted the develop_simulation_context branch October 14, 2026 15:12
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 isaac-mimic Related to Isaac Mimic team isaac-sim Related to Isaac Sim team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants