Skip to content

Use the simulation rendering dt for OVRTX render steps - #8973

Open
blessedefe4real wants to merge 1 commit into
isaac-sim:mainfrom
blessedefe4real:fix/ovrtx-render-delta-time
Open

blessedefe4real wants to merge 1 commit into
isaac-sim:mainfrom
blessedefe4real:fix/ovrtx-render-delta-time

Conversation

@blessedefe4real

Copy link
Copy Markdown

Description

OVRTXRenderer submitted every render step with a hardcoded delta_time of 1/60 s. OVRTX uses this delta for temporal effects such as motion blur and motion vectors, so any scene not rendering at 60 Hz produced temporal output that did not match the simulated time between frames.

This passes SimulationContext.get_rendering_dt() to the synchronous step, the asynchronous step_async, and the OVStage step(..., ordinal=...) paths, and removes the _RENDER_DELTA_TIME constant.

Fixes #6545

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Validation

  • test_ovrtx_renderer_contract.py and test_ovrtx_visual_material_sync.py: 62 passed, 12 skipped with the fix.
  • The contract tests now use a fake rendering dt of 0.025 s and assert it reaches both the sync and async submissions; 8 of them fail on main.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria to any test changes
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

OVRTXRenderer submitted every step with a hardcoded delta_time of 1/60 s.
OVRTX uses this delta for temporal effects such as motion blur and motion
vectors, so any scene not rendering at 60 Hz produced temporal output
that did not match the simulated time between frames.

Use SimulationContext.get_rendering_dt() for the synchronous, asynchronous
and OVStage submission paths.

Fixes isaac-sim#6545
@blessedefe4real
blessedefe4real requested a review from a team November 8, 2026 01:33
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Nov 8, 2026
@greptile-apps

greptile-apps Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

OVRTXRenderer now passes the simulation’s rendering interval to each regular render submission instead of using a fixed 1/60-second interval.

  • OVRTX render submissions use the simulation’s rendering interval.

No actionable issues were found. Tests were not run during this review.

Reviews (2) · Last reviewed commit: "Pass the simulation rendering dt to OVRT..." · Reviewed by Greptile

@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

Needs attention: Style consistency (1). Other reviewed categories look good.

  • PR description: The title, scope, and validation match the diff; replace “every render step” with “capture submissions” because the transform-initialization step intentionally remains at zero delta.
  • Design and architecture: Architecture looks good.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: No breaking changes identified.
  • Implementation: Implementation looks good.
  • Style consistency: Move _RENDERING_DT above helper functions with _SPAWN to preserve the required imports-constants-functions file order.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 1 inline finding.

Automated review; human maintainers own approval decisions.

return renderer


_RENDERING_DT = 0.025

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 · Style Consistency — Constant declared after helper functions

File order is imports, constants, then functions, and _SPAWN already sits above the helpers. Move _RENDERING_DT into that constant block so shared test setup stays in one place.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report] OVRTX renderer hardcodes delta_time=1/60 instead of using the real sim dt

1 participant