application-flow
High-level overview of a typical ovrtx application lifecycle. Use when user asks how to structure an ovrtx program, what the main…
Running a simulation step to produce rendered frames. Use when user asks to render a frame, step the renderer, simulate a sensor, or get an image from ovrtx.
Claude Code
$ npx -y skills add nvidia-omniverse/ovrtx --skill stepping-and-rendering --agent claude-code
Codex
$ npx skills add nvidia-omniverse/ovrtx --skill stepping-and-rendering -a codex -y
Cursor
$ npx skills add nvidia-omniverse/ovrtx --skill stepping-and-rendering -a cursor -y
Gemini CLI
$ npx skills add nvidia-omniverse/ovrtx --skill stepping-and-rendering -a gemini-cli -y
GitHub Copilot
$ npx skills add nvidia-omniverse/ovrtx --skill stepping-and-rendering -a github-copilot -y
OpenCode
$ npx skills add nvidia-omniverse/ovrtx --skill stepping-and-rendering -a opencode -y
Windsurf
$ npx skills add nvidia-omniverse/ovrtx --skill stepping-and-rendering -a windsurf -y
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: CC-BY-4.0 AND Apache-2.0 name: stepping-and-rendering description: > Running a simulation step to produce rendered frames. Use when user asks to render a frame, step the renderer, simulate a sensor, or get an image from ovrtx. license: CC-BY-4.0 AND Apache-2.0 author: NVIDIA ovrtx tags: - ovrtx - rendering - stepping tools: - Read - Grep
Use this skill when the user asks to render a frame, step the renderer, simulate a sensor, or get an image from ovrtx.
Resolve inputs in this order: existing repository files and referenced snippets, explicit user request, then broader agent context.
1. Identify the requested language and lifecycle stage before choosing an example. 2. Read the referenced snippet that matches the requested stage and language. 3. Preserve the normal ovrtx order: create or initialize the renderer, load or compose USD, step or wait for work, read outputs when needed, then release C resources explicitly. 4. Apply the async, status-query, error-handling, and warmup skills when the workflow crosses those concerns. 5. When changing code, run the narrow example or docs test that owns the snippet whenever practical.
This skill has no scripts.
After loading USD content, you render frames by calling `step()`. Each step advances the simulation by `delta_time` and produces output for the specified render products (cameras/sensors). The result contains a hierarchy of products, frames, and render variables that can be mapped to access pixel data.
ovrtx tracks **two independent clocks** — a frequent point of confusion:
| Clock | Unit | Advanced by | Drives | |-------|------|-------------|--------| | **Simulation time** | seconds | `step(products, delta_time)` (accumulates); `reset(time)` | sensor timing — motion blur, lidar/radar scan, `TimeOffsetNs` | | **USD time** | **timecodes** (converted from seconds via `timeCodesPerSecond`) | `update_from_usd_time(seconds)` (see `loading-usd`) | time-sampled attributes — animated transforms, visibility, ... |
`step()` does **not** advance USD animation, and `update_from_usd_time()` does **not** advance the simulation/sensor clock. To render an animated frame at time *t*: call `update_from_usd_time(t)` first, then `step(...)`. `reset(time)` resets the simulation clock, not USD time, and is distinct from `reset_stage()`. It also discards all accumulated rendering history: every render product's, plus the renderer's path-tracer radiance cache, Flow simulation and the frame number its sampling sequences are keyed on, so warm up again before capturing (see `warmup`). Remember `update_from_usd_time` takes **seconds**, not timecodes — see `loading-usd` for the `timeCodesPerSecond` conversion.
`reset(time=T)` re-bases the clock so the next `step(dt)` simulates `[T, T + dt]`; it does not emit a frame at `T`.
Python exposes both:
| Field | Where | Meaning after `reset(T)` + `step(dt)` | |-------|-------|----------------------------------------| | `RenderProductSetOutputs.simulation_start_time` | step result | `T` — the step clock base | | `RenderProductSetOutputs.simulation_end_time` | step result | `T + dt` | | `FrameOutput.start_time` / `end_time` | per frame | capture or split interval; an accumulated capture can start before `T` |
A default viewport camera captures instantaneously at the *end* of the step window, so its `FrameOutput.start_time` is `T + dt`, not `T`. That is expected, not a clock bug — assert `products.simulation_start_time` when checking the clock base.
> **Source:** `examples/python/minimal/main.py` snippet `step` > > **Source (local-scene example):** `examples/python/projectors/main.py` snippet `projectors-render`
> **Source:** `examples/python/minimal/main.py` snippet `read-render-output`
> **Source:** `tests/docs/python/test_camera_sensors.py` snippet `doc-step-and-map-camera-outputs`
> **Source:** `examples/python/multi-rate-sensors/main.py` snippets `doc-multi-rate-step`, `doc-multi-rate-partial-outputs`, and `doc-multi-rate-read-outputs` > > **Source (C):** `tests/docs/c/test_sensor_configuration.cpp` snippets `doc-multi-rate-step-c` and `doc-multi-rate-partial-outputs-c`
Keep all active sensor RenderProducts in every step, including steps with no completed output. Omitting a product discards its accumulated rendering history. Apply `OmniSensorAPI` to scheduled cameras and author `omni:sensor:frameRate` as rational Hz. Set a camera's `omni:sensor:Core:partialOutputs` through ovstage: no camera USD schema declares this attribute, so an extra USD opinion alone is not populated. `LdrColor` has no public completion flag and can repeat the last completed image during an intermediate rolling-shutter split.
The runnable example and `tests/docs/python
ovrtx is a C and Python library for embedding Omniverse RTX sensor simulation and visualization directly into applications.
High-level overview of a typical ovrtx application lifecycle. Use when user asks how to structure an ovrtx program, what the main…
Asynchronous operation patterns including polling, timeouts, and non-blocking workflows. Use when user asks about async…
Replacing persistent ovrtx attribute bindings with reusable ovstage queries for repeated writes or maps. Use when user asks about…
Binding materials to prims at runtime. Use when user asks to assign a material, change a material, set material binding, or swap…
Available camera render outputs for Real-Time Path Tracing (RT2) mode. Use when user asks what AOVs/render vars are available,…
Cloning USD subtrees to create copies at new paths. Use when user asks to clone, duplicate, copy a prim, or create instances of…
Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…
Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…