Python: Minimal Example#
This is the minimal Python example from the ovrtx README. It demonstrates the basic workflow:
Create a Renderer
Load a USD layer from a remote S3 scene URL
Step the renderer to produce a frame
Map the rendered output and display it
“Create the smallest useful Python example that loads an existing USD scene, renders one camera frame, maps the color output to CPU memory, and either displays it or saves it as an image through a command-line flag.”
Prerequisites#
Python 3.10-3.13
NVIDIA RTX-capable GPU
Supported NVIDIA driver
Internet access to download the remote S3 scene asset
Unsandboxed runtime execution
Running#
uv run main.py --png
A successful run writes _output/render.png. The first step from a newly built application will block for 1-2 minutes while shaders are compiled and cached.