Skip to content

Commit 5151403

Browse files
committed
Enable synchronous OVRTX texture streaming
Set texture_streaming_mode to SYNCHRONOUS on the internal RendererConfig to improve cross-run render determinism. Requires ovrtx>=0.4.1.
1 parent aab5c78 commit 5151403

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Changed
2+
^^^^^^^
3+
4+
* Enabled synchronous texture streaming on the internal OVRTX ``RendererConfig`` in
5+
:class:`~isaaclab_ov.renderers.ovrtx_renderer.OVRTXRenderer` via
6+
``texture_streaming_mode=TextureStreamingMode.SYNCHRONOUS`` to improve cross-run
7+
render determinism. Requires ``ovrtx>=0.4.1``.

source/isaaclab_ov/isaaclab_ov/renderers/ovrtx_renderer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
Renderer,
6464
RendererConfig,
6565
Semantic,
66+
TextureStreamingMode,
6667
)
6768
except ModuleNotFoundError as exc:
6869
if exc.name != "ovrtx":
@@ -71,7 +72,7 @@
7172
"The OVRTX renderer requires the optional 'ovrtx' runtime wheel, which is not installed. "
7273
"Run your command with: uv run --extra ovrtx <command> "
7374
"(or, manually: python -m pip install --extra-index-url https://pypi.nvidia.com "
74-
"'ovrtx>=0.4.0,<0.5.0')."
75+
"'ovrtx>=0.4.1,<0.5.0')."
7576
) from exc
7677

7778
from isaaclab.cloner.clone_plan import ClonePlan
@@ -399,6 +400,7 @@ def __init__(self, cfg: OVRTXRendererCfg):
399400
log_level=self.cfg.log_level,
400401
read_gpu_transforms=_read_gpu_transforms_enabled(),
401402
keep_system_alive=True,
403+
texture_streaming_mode=TextureStreamingMode.SYNCHRONOUS,
402404
)
403405
self._renderer = Renderer(OVRTX_CONFIG)
404406
if not self._renderer:

0 commit comments

Comments
 (0)