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 (with an inline USDA that references a remote scene)
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
Running#
uv run main.py
The first run can take some time as shaders are compiled and cached.