Python: Tiled Rendering#
Renders a 3×3 grid of scene instances through a single RenderProduct with multiple cameras. Demonstrates tiled multi-camera rendering, USD reference composition with per-instance transforms, and runtime material color writes via write_attribute.
Each grid cell references the same base scene but gets a unique logo color generated from evenly spaced HSV hues. A single 1024×1024 RenderProduct targets all nine cameras, and RTX tiles them into a grid in the output image.
“Create a Python example that composes multiple referenced scene instances into a grid, assigns per-instance visual variation at runtime, renders all cameras through one tiled output, warms up for image quality, and saves or displays the final tiled image.”
Prerequisites#
Python 3.10–3.13
Running#
cd examples/python/tiled-rendering
uv run main.py
Options#
Flag |
Description |
|---|---|
|
Save rendered image to |
The first time you run the example, the driver compiles and caches shaders. Subsequent runs are much faster.