-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[Isaac Sim 6.0] Update render settings for RT2 #4142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/isaacsim-6-0
Are you sure you want to change the base?
[Isaac Sim 6.0] Update render settings for RT2 #4142
Conversation
Greptile OverviewGreptile SummaryUpdates Isaac Lab rendering system from RT1 (Ray Tracing 1.0) to RT2 (Ray Tracing 2.0) for Isaac Sim 6.0 compatibility. The PR migrates rendering configuration files, adds new RT2-specific settings to the configuration schema, and updates version detection logic. Key Changes:
Issues Found:
Confidence Score: 2/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant AppLauncher
participant SimulationContext
participant RenderCfg
participant CarbSettings
participant KitFiles
User->>AppLauncher: Initialize with rendering args
AppLauncher->>AppLauncher: is_isaac_sim_version_5()
alt Isaac Sim version < 6
AppLauncher->>KitFiles: Load from apps/isaacsim_5/
else Isaac Sim version >= 6
AppLauncher->>KitFiles: Load from apps/
end
User->>RenderCfg: Configure rendering (mode, RT2 settings)
Note over RenderCfg: New RT2 fields: max_bounces,<br/>split_glass, split_clearcoat, etc.
User->>SimulationContext: Initialize with RenderCfg
SimulationContext->>SimulationContext: Check Isaac Sim version
alt version < 6
SimulationContext->>KitFiles: Load rendering_modes from isaacsim_5/
else version >= 6
SimulationContext->>KitFiles: Load rendering_modes from apps/
end
SimulationContext->>KitFiles: Parse rendering mode kit file
KitFiles-->>SimulationContext: Return RT2 settings (rtx.rtpt.*)
SimulationContext->>SimulationContext: Map RenderCfg fields to carb settings
Note over SimulationContext: Maps max_bounces -> /rtx/rtpt/maxBounces<br/>split_glass -> /rtx/rtpt/splitGlass, etc.
SimulationContext->>CarbSettings: Apply rendering settings
CarbSettings-->>SimulationContext: Settings applied
SimulationContext-->>User: Simulation ready with RT2 rendering
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
19 files reviewed, 1 comment
| if isaac_sim_version < 5: | ||
| isaaclab_app_exp_path = os.path.join(isaaclab_app_exp_path, "isaacsim_4_5") | ||
| isaaclab_app_exp_path = os.path.join(isaaclab_app_exp_path, "isaacsim_5") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: Logic error: condition checks isaac_sim_version < 5 but then uses isaacsim_5 folder. This is inconsistent with simulation_context.py:749 which correctly checks < 6. For Isaac Sim 5.x versions, this will incorrectly use the isaacsim_5 folder when it should use the base apps folder.
| if isaac_sim_version < 5: | |
| isaaclab_app_exp_path = os.path.join(isaaclab_app_exp_path, "isaacsim_4_5") | |
| isaaclab_app_exp_path = os.path.join(isaaclab_app_exp_path, "isaacsim_5") | |
| if isaac_sim_version < 6: | |
| isaaclab_app_exp_path = os.path.join(isaaclab_app_exp_path, "isaacsim_5") |
Description
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)
Type of change
Screenshots
Please attach before and after screenshots of the change if applicable.
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there