关于
A C and Python library for physically accurate, real-time, sensor simulation and visualization using NVIDIA Omniverse RTX
科学与工程实测星标增长
- 24小时
- +1
- 7天
- +4
- 15天
- +11
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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.
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. See Packaging and Dependencies for how the two libraries relate.
[!NOTE] ovrtx is currently pre-release software.
To get started with ovrtx follow the instructions below for the included Python and C/C++ examples.
Sources live under examples/ and are the source of truth for the code snippets referenced by the ovrtx skills — see the examples index.

Custom data providers
The provider helper guide describes optional, header-only C++
utilities for building UDIM manifests and reading stored USDZ package members.
They ship under helpers/, separately from the public C interface in include/.
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.
The C package contains ovrtx-build-info.json at its root, and the wheel contains the same file under its ovrtx/
package directory. This schema-versioned file is passive diagnostic metadata for offline inspection: it records the
package build's version, build number, Git branch/hash, and build location. Deployment does not use it as an executable
identity check. ovrtx_get_build_info() and, after creating a Renderer, ovrtx.get_build_info() report the identity
of the OVRTX loader library that exports the API. The C query is safe before ovrtx_initialize(); the Python query
intentionally stays inside the Renderer-managed native-library lifecycle. Normal packages build the loader and runtime
together. If an application deliberately selects a different runtime with binary_package_root_path, runtime startup
logs and crash metadata report that runtime's identity.
In addition to these pre-packaged dependencies, two other dependencies are noted here:
- ovrtx uses the NVIDIA ovstage library, introduced in ovrtx 0.4, to own the runtime scene.
- ovstage is optional only for standalone compatibility mode. The renderer-owned scene APIs that mode uses have been deprecated since ovrtx 0.4, and scene ownership will transition entirely to ovstage in a future release.
- To ease the migration to ovstage, you can take advantage of the agent-friendly migration skills for ovrtx 0.3 to 0.4 for C and for Python, and for ovrtx 0.4 to 0.5.
- 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-staticloader 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-levelexamples/c/CMakeLists.txtneeds 3.18. The examples use cmake to fetch the prebuilt ovrtx and ovstage packages from their GitHub.com release pages.
- The ovrtx library has a C11-compatible interface. It can be loaded dynamically or by statically linking to the
- Python:
- Python 3.10–3.14 versions are supported. On Windows, use Python 3.11 or newer (see the VC runtime note under Packaging and Dependencies).
- The examples use uv to resolve the
ovrtxwheel.
- 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.organdfiles.pythonhosted.org— the public PyPI index and CDN thatuv add ovrtx ovstage/pip install ovrtx ovstagereach to resolve project metadata and download the wheels.pypi.nvidia.com— theovrtxPyPI entry is an sdist stub that fetches the platform binary from this host at install time.ovstageis fully published to PyPI (binary wheels onfiles.pythonhosted.org) and does not reach this host.github.comand the GitHub release CDN (objects.githubusercontent.com) — used bycmakeFetchContentin 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 byexamples/python/minimal/main.py).
The ovrtx library itself also sends one anonymous plain-HTTP report to
6697362192350625.events.telemetry.data.nvidia.com per process unless you opt out; see Data Collection. It does not need to reach that host to work.
Data Collection
OVRTX collects anonymous initialization data by default to help improve OVRTX. Collection is optional and can be disabled without affecting OVRTX functionality. To opt out, set the environment variable NVIDIA_OMNIVERSE_PRODUCT_TELEMETRY_DISABLED=1 before launching your application, or call ovrtx.library_telemetry_opt_out() (Python) or ovrtx_library_telemetry_opt_out() (C) before OVRTX initializes (before ovrtx_initialize() or your first renderer is created).
More information is available at Data Collection & Use.
Getting Started in Python
ovrtx and ovstage Python wheels are distributed on PyPI. We recommend using uv to install both packages:
uv add ovrtx ovstage
pip also works:
pip install ovrtx ovstage
ovstage is optional only when maintaining standalone compatibility code, which uses the deprecated renderer-owned scene APIs. See Packaging and Dependencies.
The examples in this repository contain pyproject.toml files tested with uv. Python 3.10–3.13 are supported across the examples; projects that allow Python 3.14 declare it in their pyproject.toml.
If installation fails, first verify that your Python version matches the project's pyproject.toml 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:
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 up to 5 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):
sudo apt-get install build-essential cmake
To get started, first clone this repository:
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\static\Release\minimal.exe
On Linux:
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
./build/static/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 up to 5 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 hardware and driver versions are listed in Hardware & Driver Requirements.
Testing
Tests live under tests/docs/ in three independent suites: Python, C, and USD validation.
Stage ownership in tests: 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.
Windows: the Python and USD tests read UTF-8 files. Enable Python's UTF-8 mode before running them, for example
$env:PYTHONUTF8 = "1"in PowerShell.
Python tests (GPU required)
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)
See the C documentation test build notes for the commands, validation scope, and SDK selection instructions.
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)
These tests use the schema descriptors from an extracted OVRTX SDK. Set
OVRTX_DOCS_USD_PLUGIN_ROOT to its bin/usd_plugins directory before running
pytest; the source checkout does not contain those descriptors.
Linux:
export OVRTX_DOCS_USD_PLUGIN_ROOT="/absolute/path/to/ovrtx-sdk/bin/usd_plugins"
cd tests/docs/usd
uv run pytest -v
Windows (PowerShell):
$env:OVRTX_DOCS_USD_PLUGIN_ROOT = "C:\path\to\ovrtx-sdk\bin\usd_plugins"
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
Building the Documentation
The documentation build requires uv and Doxygen. From the docs directory, run make html on Linux or make.bat html on Windows. See docs/README.md for prerequisites, platform-specific notes, and how to preview the output locally.
Contributing
At this time this project is not open to external contributions.
Authors and acknowledgment
NVIDIA Corporation
License and security
Except for the skills directory, the software and materials are governed by the NVIDIA Software License Agreement and the Product Specific Terms for NVIDIA AI Products.
The skills directory is licensed under CC-BY-4.0 AND Apache-2.0; see skills/LICENSE for the full terms.
Third-party material included in this repository, such as the DLPack header and example data, is listed with its license terms in THIRD-PARTY-NOTICES.txt.
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 documentation issues, installation problems, and runtime issues through the NVIDIA Omniverse developer forum. https://forums.developer.nvidia.com/c/omniverse/300
Roadmap
A public roadmap will be shared as ovrtx approaches general availability. For recent additions and changes, see the release notes.
AI Coding Agents
The skills directory contains a series of Skills to help AI coding agents to understand how to use the API (and they're useful for humans too). Copy this directory to your project and point your agent at it.
Agents should use the Python minimal example as the first runtime validation unless C is specifically requested. Follow that example's README for validation steps, and use Driver requirements to check supported NVIDIA driver versions.
Copyright (c) 2026 NVIDIA Corporation.
探索相关项目
加载中…