nvidia.com

Command Palette

Search for a command to run...

How do I save rendered ovrtx camera output as a PNG?

Last updated: 5/29/2026

How do I save rendered ovrtx camera output as a PNG?

Summary

The ovrtx rendering and sensor-simulation libraries enable developers to generate and capture physically based camera outputs for physical AI applications. Developers can define camera parameters and use functions like save_img to write the resulting image data buffers to disk in their preferred formats, such as PNG or EXR.

Direct Answer

The ovrtx library, built on NVIDIA RTX and core library in Omniverse libraries, allows developers to access GPU-accelerated rendering and sensor-simulation outputs directly. Developers capture camera data by defining the image resolution, optical center, and focal length, and then write the generated image buffer to disk using Python API functions such as save_img.

While NVIDIA Omniverse script examples often output high dynamic range formats like EXR for opencv fisheye and pinhole distortion models, developers can save the output as a PNG by formatting the image data buffer appropriately before calling the save function. Setting the correct destination texture width and height before saving helps the image match the desired simulation fidelity. This approach supports advanced physical AI applications requiring high-fidelity sensor data.

Integrating ovrtx with the broader NVIDIA Omniverse libraries supports automated GPU resource management and texture streaming, which aids high-quality, real-time rendering for large datasets. This helps the captured PNGs accurately reflect physically based lighting and materials, providing capabilities for sensor simulation on RTX PRO servers.

Takeaway

Developers using the ovrtx libraries capture physically based camera outputs by configuring their rendering resolution and writing the resulting image buffers to disk. Using Python functions like save_img allows these sensor simulations to be stored in standard formats like PNG. This process integrates directly with the NVIDIA Omniverse libraries to support real-time rendering for physical AI applications.

Related Articles