Python: Projectors#

Renders an authored scene that demonstrates cubic, planar, spherical normalized, and tri-planar UV projection across several primitive types. The cubic Cube demonstrates applying OmniProjectorAPI to a separate projector prim and targeting it from the geometry through coordSys:st:binding.

“Create a Python example that loads the projectors scene without modifying it, warms up the renderer, renders one frame, and saves the result as a PNG.”

Projectors example output

Prerequisites#

  • Python 3.10-3.13

  • uv

  • An NVIDIA RTX-capable GPU and a supported driver

Running#

cd examples/python/projectors
uv run main.py

A successful run writes _output/projectors.png.