Warmup

From NVIDIA-Omniverse/ovrtx · View interactive version

Warmup is an AI agent skill from the GitHub repository NVIDIA-Omniverse/ovrtx. Warming up the renderer before capturing output. Use when user asks about warmup frames, image quality, texture streaming, path tracing convergence, or why renders look noisy/incomplete.

How to use this skill

Skill file

Warmup

When to Use

Use this skill when the user asks about warmup frames, image quality, texture streaming, path tracing convergence, or why renders look noisy/incomplete.

Inputs

Resolve inputs in this order: existing repository files and referenced snippets, explicit user request, then broader agent context.

Prerequisites

Instructions

  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.

Output Format

Scripts

This skill has no scripts.

Limitations

Overview

After loading a scene or changing render settings in Real-Time Path Tracing (rtpt, the default render mode), the first few rendered frames will not be production quality. There are two independent reasons for this:

  1. Texture streaming -- ovrtx streams textures on demand. The first frames use low-resolution mip levels while higher-resolution data loads in the background. This typically takes 10-30 frames depending on scene complexity.
  2. Path tracing convergence -- The real-time path tracer accumulates samples over successive frames. Early frames are noisy; quality improves as more samples are gathered.

Texture streaming is asynchronous by default. Applications can select

TextureStreamingMode.DISABLE, SYNCHRONOUS, or ASYNCHRONOUS through

RendererConfig.texture_streaming_mode (or the equivalent C config helper).

Synchronous mode controls texture-feedback processing; it does not guarantee

that every texture loading operation completes synchronously.

To get a good quality image in RT2 mode, step the renderer for a number of warmup frames before capturing output. 40 frames is a good default that handles both texture streaming and basic convergence.

PathTracing (`pt`) mode does not need warmup

When omni:rtx:rendermode = "PathTracing" is set on the RenderProduct, the reference path tracer accumulates omni:rtx:pt:samplesPerPixel samples within a single step and returns a converged frame. You don't need to run warmup frames for PT-mode output — step once (after textures are in place if you need a particular mip level) and read the result. The test_path_tracing_mode test demonstrates this.

When to warm up (RT2 mode)

Python

Source: tests/docs/python/test_base.py snippet doc-warmup

Source (example): examples/python/projectors/main.py snippet projectors-warmup

C

Source: tests/docs/c/test_base.cpp snippet doc-warmup-c

Troubleshooting

References

Gaussian splats example

Source: examples/python/gaussian-splats/main.py snippet gaussian-render-python

Source: examples/c/gaussian-splats/main.cpp snippet gaussian-c-step-renderer

The supplied procedural Gaussian scene renders its first frame without a

warmup loop. Python's --steps can select a later frame. Measure other scenes

separately before choosing a warmup count; extra frames are not required just

because a scene contains Gaussian splats.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.