Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

ovrtx

> 编程语言
Open source

A C and Python library for physically accurate, real-time, sensor simulation and visualization using NVIDIA Omniverse RTX

197 stars0 likes2 views
WebsiteGitHub

About

A C and Python library for physically accurate, real-time, sensor simulation and visualization using NVIDIA Omniverse RTX

NVIDIA ovrtx

ovrtx is a C and Python library for embedding Omniverse RTX sensor simulation and visualization directly into applications.

ovrtx is best suited for developers looking to build applications, tools or workflows that need real-time, physically accurate camera, lidar, radar, and other sensor simulation for Physical AI, targeting robotics learning, synthetic data generation, and industrial and design workflows.

Starting with ovrtx version 0.4, ovrtx integrates with the NVIDIA Omniverse ovstage library. ovstage supports loading of USD data to a runtime representation, manages the runtime scene data, ordinal-keyed simulation steps, and change detection. Renderer-owned scene data loading and management APIs remain available in 0.4 for compatibility, but are deprecated. Scene ownership will transition entirely to ovstage in a future release.

[!NOTE] ovrtx is currently pre-release software.

To get started with ovrtx follow the instructions below for the included Python and C/C++ examples.

  • Get started in Python
  • Get started in C

Sources live under examples/ and are the source of truth for the code snippets referenced by the ovrtx skills — see the examples index.

High-level Feature Set

  • Physically accurate simulation of cameras, lidar, radar, and other sensors.
  • Scalable simulation performance from reinforcement learning in-the-loop with tens of thousands of frames per second, through real-time, photorealistic, interactive viewport and navigation, to offline predictive rendering.
  • Support for loading USD scene description via ovstage. Compatibility with OpenUSD allows interchange with a vast ecosystem of content creation, CAD and simulation tools.
  • Easy integration with Python simulation and AI ecosystem.

Packaging and Dependencies

ovrtx is distributed as a C package (.zip file) available in the Releases page in this repo, and as Python wheels available via pypi.org. These packages include a number of pre-packaged dependencies.

In addition to these pre-packaged dependencies, two other dependencies are noted here:

  1. starting with version 0.4 of ovrtx, a dependency on the NVIDIA ovstage library is introduced.
    • While this dependency is currently optional, it will be required in the next release. To enable a smooth migration from the ovstage-like APIs included in ovrtx 0.3, the ovrtx 0.4 release continues including those APIs, marked with a deprecated tag. To ease the migration to ovstage, you can take advantage of the agent-friendly migration skills for C and for Python.
  2. on Windows, ovrtx depends on Microsoft's VC runtime redistributable libraries, with a minimum version of 14.38 (as included in Visual Studio 2022 17.8).
    • These libraries can be installed by an end user (using the linked Microsoft resources) or can be included by an application.
    • The use of this version of the MSVC runtime libraries makes our binaries compatible with the vcruntime140.dll pre-packaged in Python distributions for Windows as old as Python 3.11. Older Python versions include older vcruntime140.dll, and are therefore not guaranteed to work.

System requirements

  • C/C++:
    • The ovrtx library has a C11-compatible interface. It can be loaded dynamically or by statically linking to the ovrtx-static loader library, which requires linking to the C++ stdlib.
    • The example code requires a C++17 compiler and CMake 3.16+ (find_package(ovrtx) fails on older versions); building the whole example set through the top-level examples/c/CMakeLists.txt needs 3.18. The examples use cmake to fetch the prebuilt ovrtx and ovstage packages from their GitHub.com release pages.
  • Python:
    • Python 3.10–3.13 versions are supported
    • The examples use uv to resolve the ovrtx wheel.
  • CUDA-capable environment for GPU-resident data paths; CPU payload paths are also part of the API surface.
  • DLPack-compatible tensor data for CPU/GPU interchange.

Network hosts

Installing and running the examples reaches the following hosts. If you are behind a restrictive firewall or proxy, allow outbound HTTPS to all of them:

  • pypi.org and files.pythonhosted.org — the public PyPI index and CDN that uv add ovrtx ovstage / pip install ovrtx ovstage reach to resolve project metadata and download the wheels.
  • pypi.nvidia.com — the ovrtx PyPI entry is an sdist stub that fetches the platform binary from this host at install time. ovstage is fully published to PyPI (binary wheels on files.pythonhosted.org) and does not reach this host.
  • github.com and the GitHub release CDN (objects.githubusercontent.com) — used by cmake FetchContent in the C examples to download the ovrtx and ovstage release archives, and to clone this repository.
  • omniverse-content-production.s3.us-west-2.amazonaws.com — hosts the sample USD scenes loaded at runtime by the Python examples (for example, the robot scene used by examples/python/minimal/main.py).

Getting Started in Python

ovrtx and ovstage Python wheels are distributed on PyPI. We recommend using uv to install both packages:

bash
uv add ovrtx ovstage

pip also works:

bash
pip install ovrtx ovstage

ovstage is optional when maintaining standalone compatibility code. The renderer-owned scene APIs used by that mode are deprecated in ovrtx 0.4.

All the examples in this repository contain pyproject.toml files that are tested with uv. Python 3.10-3.13 are supported.

If installation fails, first verify that you are using Python 3.10-3.13 and that your environment can reach PyPI. If you need a specific release artifact, GitHub Releases also contain Python wheels that can be installed explicitly.

To get started with the repository examples, first clone this repository and run the minimal example with uv:

bash
git clone https://github.com/NVIDIA-Omniverse/ovrtx.git
cd ovrtx/examples/python/minimal
uv run main.py --png

See the Python minimal example documentation for more information on environment setup and prerequisites.

The minimal example shows how to create the renderer, load an OpenUSD scene and render a single image, copying the results back to the CPU for display.

The first step from a newly built application will block for 1-2 minutes while shaders are compiled and cached.

Getting Started in C/C++

The C/C++ examples require CMake 3.16 or newer and a development environment. On Windows this is provided by Visual Studio 2022 17.8 or newer, which is the oldest release shipping the VC runtime 14.38 that ovrtx requires (see the dependency note above).

On Linux (Ubuntu):

bash
sudo apt-get install build-essential cmake

To get started, first clone this repository:

bash
git clone https://github.com/NVIDIA-Omniverse/ovrtx.git
cd ovrtx/examples/c/minimal

Then configure, build, and run the minimal example for your platform.

On Windows:

cmake -B build
cmake --build build --config Release
.\build\Release\minimal.exe

On Linux:

bash
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
./build/minimal

See the C minimal example documentation for more information on environment setup and prerequisites.

The minimal example shows how to create the renderer, load an OpenUSD scene and render a single image, copying the results back to the CPU for writing out as a PNG.

The resulting image will be written to ./out.png and can be inspected with any image viewer.

The first step from a newly built application will block for 1-2 minutes while shaders are compiled and cached.

Examples

Further examples using both the C and Python APIs are available in the examples directory. See the individual examples for building and usage instructions.

Releases

The Releases page of this repository contains binary builds for the official releases of the ovrtx C library and also includes corresponding Python wheels. PyPI is the recommended consumption path for Python users.

These binaries are provided for the supported platforms:

  • Windows x86_64
  • Linux x86_64
  • Linux aarch64

The libraries require a compatible NVIDIA RTX-capable GPU with a compatible NVIDIA driver on the system to be able to initialize correctly. Supported driver versions are listed in Driver requirements.

Testing

Tests live under tests/docs/ in three independent suites: Python, C, and USD validation.

ovrtx 0.4 compatibility: Stage-owning Python documentation tests request an attached ovstage fixture, with focused compatibility coverage for deprecated renderer wrappers. C documentation tests remain on deprecated standalone renderer stage APIs. USD validation tests do not exercise either stage-ownership model.

Python tests (GPU required)

bash
cd tests/docs/python

# Run the full suite
uv run pytest -v

# Run a single test
uv run pytest test_base.py::test_base -v
uv run pytest test_base.py::test_bind_material -v

C tests (GPU required)

bash
cd tests/docs/c
cmake -B build
cmake --build build --config Release

# Run the full suite
cd build && ctest --output-on-failure

# Run a single test
ctest -R BaseTest.RenderLdrColor --output-on-failure

# Or use the gtest binary directly
./ovrtx_docs_tests --gtest_filter=BaseTest.BindMaterial

USD validation tests (no GPU required)

bash
cd tests/docs/usd
uv run pytest -v

Rendered images are written to _output/ under the respective suite directory.

Documentation

Documentation is published at https://nvidia-omniverse.github.io/ovrtx

  • Python getting started
  • C getting started
  • Examples

Full build instructions, prerequisites, and platform-specific notes are in docs/README.md.

Building the Documentation

Prerequisites: uv and Doxygen (see docs/README.md for Windows installation and project-local download options).

Linux:

bash
cd docs
make html

Windows:

bat
cd docs
make.bat html

Then serve the output locally:

bash
uv run python -m http.server 8000 -d _build/html

Then open http://localhost:8000/ in a browser.


Contributing

At this time this project is not open to external contributions.

Authors and acknowledgment

NVIDIA Corporation

License and security

The software and materials are governed by the NVIDIA Software License Agreement and the Product Specific Terms for NVIDIA AI Products.

This project will download and install additional third-party open source software projects. Review the license terms of these open source projects before use.

To report a security issue, see SECURITY.md. Do not report security vulnerabilities through GitHub/GitLab.

Support

Report documentati

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythonccppcudagpu-acceleration

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言