ovclash Architecture Overview#
This page of the Technical Guide explains how ovclash is layered. It covers the API surfaces, the flow of one query through them, the source tree, the Python packages and how to add a capability. The Glossary at the end defines the implementation terms; Concepts defines the consumer vocabulary.
What ovclash is#
ovclash is the standalone clash-detection product of this repository. It runs outside
Kit, NVIDIA Omniverse’s application framework, and is a
sibling of ovphysx, the repository’s library for USD physics simulation outside Kit. It loads
USD stages, runs static and
dynamic queries, returns the results, stores them and exports
them.
ovclash is pre-release software. The ovstage backend, which reads USD through the ovstage runtime, is the product. The OpenUSD backend is an unpublished parity reference; Backends compares the two.
API surfaces#
ovclash has two C ABIs (application binary interfaces) and
three Python packages. The Suite ABI is built on the canonical ABI.
ovclash and ovclash_suite each wrap one C ABI. The
compatibility package wraps ovclash_suite.
Surface |
Layer |
Use it for |
|---|---|---|
|
Canonical C ABI |
Contexts, settings, scopes, pipeline runs and raw results |
|
ovstage-only extension of the canonical ABI |
The matrix-decomposition mode per context, attaching a Stage that the caller owns (an attached stage), and owner operations |
|
Suite C ABI, built on the canonical ABI |
Runtime, result conversion, models, SQLite and JSON directory stores, export and file utilities |
|
ovstage-only extension of the Suite ABI |
Stage attachment and owner operations for Suite runtimes |
|
ctypes binding of the canonical ABI |
|
|
ctypes object API over the Suite ABI |
|
|
Compatibility imports for Kit code, backed by |
Existing Kit-era callers |
The C API reference documents both C ABIs. ovstage integration explains Stage attachment and owner operations.
Two more headers complete the public include tree:
include/ovclash/ovclash_export.hdefinesOVCLASH_API. No other header defines it.<ovclash/version.h>is generated fromcmake/version.h.inand installed beside the other headers.
The string type is not an ovclash type. ovclash_string_t is a typedef of ovx_string_t,
which <ovx/string_types.h> declares. ovclash never defines, copies or installs it. On an
include tree of the ovx headers without that header, ovclash.h includes
<ovx/types.h> instead.
Linking in the C/C++ quickstart explains where consumers
find these headers. The Suite headers use a local twin, ovclash_suite_string_t, with the same
layout.
Features#
Scene input: a USD stage opened from a local file, or an ovstage Stage that the caller already owns and attaches.
Queries: full-scene or scoped mesh-vs-mesh, point-vs-mesh, duplicate-mesh search and dynamic mesh-vs-mesh.
Execution: one pipeline step at a time, or the whole pipeline asynchronously behind a handle that the caller polls, finishes or cancels (Async pipelines).
Results: overlap counts and records, duplicate records, query statistics, overlap reports with DLPack views, depth and depenetration helpers, and prim transforms.
Persistence: queries, clash records, frames and point-cloud settings in a SQLite
.ovclashdbfile or a JSON directory store, plus reading and migrating legacy.clashDetectioncontainers.Export: JSON and HTML, generated in native code.
Samples: C++ and Python processors over both C ABIs. Also the ovRTX clash sample app, a developer viewer that renders a stage with ovRTX, runs queries through the Suite and lists their results. It is not part of the product surface and ships in neither package (ovRTX clash sample app).
ovclash has no Kit timeline or Kit current-context behavior and no product UI. Limitations lists the consumer-visible limits.
Mental model#
One query follows the same steps on every layer:
Step |
Canonical C |
Suite C |
Python |
|---|---|---|---|
1. Create a runtime |
|
|
|
2. Open a stage |
|
|
|
3. Apply settings |
|
|
|
4. Set the scope (optional) |
|
|
|
5. Build the pipeline |
|
|
|
6. Run it |
|
|
|
7. Read results |
|
|
|
8. Save results |
none |
|
|
9. Export |
none |
|
|
10. Release |
|
|
|
Release explicit handles in reverse order of creation.
The scope, the prim paths of search sets A and B, follows different rules in the two C ABIs:
Canonical C: opening a stage and applying settings both clear the scope. Set the scope last.
Suite C and Python: a scope survives a settings change, so the order of steps 3 and 4 does not matter. Opening a stage still clears it.
Suite runtime and fetch explains steps 8 and 9 inside the Suite. Persistence, export and legacy migration covers the stores.
One query in C#
This function runs one static query of /World/A against /World/B through the canonical ABI.
It returns the overlap count, or -1 on failure. It is not a complete program: put it in a C source
file of your own that links the ovclash CMake target, and call it from your main.
<ovclash/ovclash.h> already includes <stdbool.h> and <stdint.h>. The
C/C++ Quickstart shows a complete program and its build.
Canonical C in the settings reference lists the fields of
ovclash_settings_t, which <ovclash/ovclash.h> declares.
#include <ovclash/ovclash.h>
#include <stdio.h>
static int64_t count_overlaps(ovclash_string_t stage_path)
{
ovclash_context_t* context = NULL;
if (ovclash_create_context(&context).status != OVCLASH_STATUS_SUCCESS)
return -1;
const ovclash_string_t scope_a[] = { { "/World/A", 8 } };
const ovclash_string_t scope_b[] = { { "/World/B", 8 } };
ovclash_settings_t settings;
uint32_t step_count = 0;
uint32_t overlap_count = 0;
/* Open the stage and apply the settings first: both clear the scope. */
bool ok = ovclash_open_stage(context, stage_path).status == OVCLASH_STATUS_SUCCESS &&
ovclash_reset_settings(&settings).status == OVCLASH_STATUS_SUCCESS &&
ovclash_set_settings(context, &settings).status == OVCLASH_STATUS_SUCCESS &&
ovclash_set_scope_paths(context, scope_a, 1, scope_b, 1).status == OVCLASH_STATUS_SUCCESS &&
ovclash_create_pipeline(context, &step_count).status == OVCLASH_STATUS_SUCCESS;
for (uint32_t step = 0; ok && step < step_count; ++step)
ok = ovclash_run_pipeline_step(context, step).status == OVCLASH_STATUS_SUCCESS;
ok = ok && ovclash_get_overlap_count(context, &overlap_count).status == OVCLASH_STATUS_SUCCESS;
if (!ok)
{
ovclash_string_t error = ovclash_get_last_error(context); /* borrowed: use it before the next call */
fprintf(stderr, "ovclash: %.*s\n", (int)error.length, error.ptr);
}
ovclash_release_context(context);
return ok ? (int64_t)overlap_count : -1;
}
For a stage in which /World/A and /World/B intersect, the function returns 1. For a missing
file it prints ovclash: Failed to open USD stage: missing.usda and returns -1.
The canonical ABI follows these rules:
Every entry point returns an
ovclash_result_t. Compareresult.statuswithOVCLASH_STATUS_SUCCESS, which is 0. The three string gettersovclash_get_result_string,ovclash_get_last_errorandovclash_get_version_stringreturn their string directly.Values come back through out-parameters.
Strings are
ovclash_string_tspans: a pointer and a byte length.Boolean run toggles are bits in
ovclash_settings_t::flags, such asOVCLASH_SETTINGS_FLAG_FULL_SCENE.Some state is process-global: the bootstrap, the stage and path registries, and the OpenUSD cancellation, out-of-memory and error state. Threading and Ownership gives the rules.
ovclash.hdeclares its standalone entry points only whenOVCLASH_STANDALONEis defined. They are file-backed stage access, path encoding and scopes, the per-context last error, settings readback, the version queries and the DLPack report interop. TheovclashCMake target andovclash.pcdefine the macro for consumers.
The C API conventions are the full contract.
One query in Python#
ovclash_suite.ClashDetection is the main Python runtime object. The same query in Python also
changes one setting. ovclash_suite Python in the
settings reference lists every SettingId key. Save the script and run it with an interpreter
that has the ovclash wheel installed, from the directory that holds scene.usda:
from ovclash_suite import ClashDetection, SettingId
clash = ClashDetection()
try:
clash.open_stage("scene.usda")
clash.set_settings({SettingId.SETTING_TOLERANCE: 0.25})
clash.set_scope_paths(["/World/A"], ["/World/B"])
for step_index in range(clash.create_pipeline()):
clash.run_pipeline_step(step_index)
print("overlaps:", clash.get_nb_overlaps())
finally:
clash.destroy()
For the same stage it prints:
overlaps: 1
The Suite C ABI#
The Suite C ABI wraps the canonical ABI and adds the product behavior. Its rules:
Every function returns
ovclash_suite_result_t, except the three last-error gettersovclash_suite_get_last_error,ovclash_suite_data_get_last_errorandovclash_suite_get_thread_last_error.On failure, read the last error of the handle that failed. Handle-free functions record a thread-local last error instead.
String inputs are
ovclash_suite_string_tspans. A null pointer is valid only with length 0.Text outputs take a buffer and its byte size and report the required size. A null buffer with size 0 is the size query.
Returned views are borrowed. Their lifetime is stated on the function that returns them. A data getter reuses one scratch record per kind, so the next read of the same kind can invalidate an earlier view.
Source tree#
Generated, local-only outputs live under _build/. The Technical Guide’s
Generated outputs section lists that layout.
Top-level files#
Path |
Purpose |
|---|---|
|
The CMake project: targets, backend selection, install and export, samples, tests, validation targets and Visual Studio debugger setup |
|
The product version, read by CMake and Python, and the ovstage pin |
|
Template of the runtime metadata file |
|
The landing page, with the quick starts and the build and validation commands, and the engineering rules for contributors and agents. |
|
The release history |
|
Formatter configuration. |
|
Line endings, byte-exact golden files and Git LFS rules; ignored local trees |
|
The Apache-2.0 source license; the source files under other licenses or with extra attribution |
|
Build wrappers. Wrapper flags lists the options. |
|
Full validation of both backends, Sentinel and KPI launchers |
|
Package an existing install tree into |
|
The |
|
The root |
|
Setup and launchers of the ovRTX clash sample app |
Directories#
Path |
Contents |
|---|---|
|
The canonical C ABI |
|
The Suite C ABI |
|
The canonical ABI implementation and both backends (Inside |
|
The Suite implementation (Inside |
|
The shared clash-engine sources; |
|
The Python packages, |
|
|
|
The native C++ tests, such as |
|
The pure-C compatibility smoke test and the C quickstart snippet check |
|
The Python tests: runtime, Suite, bindings, packaging and documentation |
|
The Sentinel controller, checkers, native consumer and golden files |
|
Full KPI reference-fixture generation, run only by the explicit |
|
|
|
USD stages and expected-export fixtures |
|
CMake and Python script entry points: dependency fetch, build, install, tests, wheel, SDK archive packaging, documentation and package-boundary scans |
|
Source-checkout infrastructure shared by KPI, Sentinel, CI and the CMake scripts; see Shared repository tooling |
|
|
|
Packman dependency manifests |
|
CMake modules in |
|
The Sphinx sources of this documentation. |
|
Standalone performance probes for maintainers, one folder each ( |
|
The agent playbooks and their catalog |
|
|
|
|
|
The ovRTX clash sample app |
|
The ovRTX clash sample app tests, run by the |
|
An opt-in dependency check for the ovRTX clash sample app’s ovstage environment |
The Python tests also cover the viewer scripts, and tooling/ also serves them.
Inside source/#
The canonical ABI has two layers:
ovclash_capi_api.cppexports the ABI. Each exported function is a one-line call to a private operation in theomni::ovclashnamespace.ClashApiInternal.hdeclares those operations.ClashApiCommon.cppdefines the shared ones. The backend files define the rest and own the argument validation and the exception guards.
The ovstage backend is in OvstageClash*.cpp (entry points, pipeline, selection, transforms,
geometry, broad phase and collision) and OvstageSceneReader*.cpp (reads from
ovstage populations). The OpenUSD backend adapter is OpenUsdClashBackend.cpp.
Backend build composition lists what each
backend compiles. Runtime architecture explains how each backend runs a query.
The directory also holds:
the Carbonite bootstrap and tasking (
CarboniteBootstrap.cpp,Tasking.cpp), used by both backends;the OpenUSD stage registry (
StandaloneStageRegistry.cpp) and the internalNativeClashwrapper, both OpenUSD-only;RtxViewerDebugEntrypoint.cpp, the Windowsrtx_viewerlauncher that runs the ovRTX clash sample app in an embedded Python for F5 debugging;rtx/geometryprocessing/simd.h, a scalar stand-in for an RTX header that the shared engine’sPointCloud.cppincludes. Only the OpenUSD backend compilesPointCloud.cpp.
Inside source/suite/#
ovclash_suite_api.cpp exports the Suite ABI with the same forwarding pattern. The private
operations are declared in SuiteApiInternal.h and defined in the Suite*.cpp files: runtime,
fetch, models, settings, export, formatting, files, system helpers, versioning and view
conversion. The stores are in serializers/sqlite/ and serializers/directory/. The Suite
consumes the canonical ABI through <ovclash/ovclash.h>.
Python package architecture#
Package |
Source |
Built on |
Import |
|---|---|---|---|
|
|
Canonical C ABI |
|
|
|
Suite C ABI |
|
|
|
|
|
Both ctypes packages live under the ovclash package directory. In the wheel, that directory
also holds the native library: bin/ on Windows, lib/ on Linux. The OpenUSD developer wheel
adds its OpenUSD runtime in plugins/. The top-level module python/ovclash_suite.py aliases
ovclash.python.suite, so import ovclash_suite and its submodule imports resolve to the same
module objects.
Native library loading#
python/ovclash/python/suite/_bindings.py loads the native library for all three packages. The
canonical binding ovclash.python.api._bindings imports the same lib handle, so the library
loads once per process. On import, _bindings.py:
Resolves the library:
OVCLASH_SUITE_LIB, elseOVCLASH_LIB(an absolute path), else the library bundled in theovclashpackage directory. A bare-name lookup runs only withOVCLASH_ALLOW_BARE_LIBRARY_LOAD. Failure raisesOSError.For an ovstage SDK archive, selects the pinned
ovstageinstallation._ovstage_runtime.pyreads the pin from the archive’sovclash-runtime-dependencies.json. It takes the package fromOVCLASH_OVSTAGE_PACKAGE_DIRor from the running interpreter, and requires the exact version. A mismatch raisesOSErrorwith the remedy, such aspython -m pip install -r <sdk>/requirements.txt, where<sdk>is the extracted SDK archive root.Prepares the process: the plugin path variables of OpenUSD and ovstage (
PXR_PLUGINPATH_NAME,OV_PXR_PLUGINPATH_2511), the WindowsPATHand DLL directories,OVSTAGE_LIBRARY_PATH_HINT, and on Linux a global preload of the ovstage libraries.Declares the Suite prototypes on
liband reads the Suite constants from the library.Compares the library version with the package version. A mismatch raises
RuntimeError.
The loader reads these variables. A flag is enabled by any value other than empty, 0, false,
off or no:
Variable |
Values |
Required |
Default |
Effect |
|---|---|---|---|---|
|
Absolute path of the native library |
No |
Unset |
Loads that library. A relative path raises |
|
Absolute path of the native library |
For the Python packages of an SDK archive, unless |
Unset: the library that the wheel bundles |
Loads that library. A relative path raises |
|
Flag |
No |
Off |
Falls back to the bare library name on the platform search path when no override is set and the package bundles no library. For development only. |
|
Absolute path of an installed |
No |
Unset: the |
Selects the pinned ovstage for an ovstage SDK archive. A package that is not the pinned version raises |
|
Flag |
No |
Off |
Skips the plugin path variables and the plugin DLL directories of the ovclash payload. |
|
Directories separated by |
No |
Unset |
Windows only: adds DLL search directories for an override or bundled library. |
The module docstring of _bindings.py states every variable and the exact order.
Native library lookup is the consumer contract,
and the environment variable table lists
the runtime variables. The packages do not read OVCLASH_TEST_DATA_DIR or
OVCLASH_OVSTAGE_ONLY; only the test and sample tooling does. To import the packages from a
source checkout, follow
Running the module from a source checkout.
Python does not repeat the Suite enum values and schema versions as integer literals.
_bindings.native_constant() reads each one from the library through
ovclash_suite_get_named_constant, and enums such as SettingId use those values.
The Python test test_public_python_constants_are_native_abi_derived checks that the Python and
native values match.
The ovclash_suite package#
ovclash_suite is the object API over the Suite C ABI. It keeps the Kit object model:
ClashDetection, ClashQuery, ClashData and the serializers. Its public surface is
__all__ in python/ovclash/python/suite/__init__.py, which the
Python API Reference renders.
The runtime and persistence classes live in these private modules:
Module |
Holds |
|---|---|
|
|
|
The private mixin bases of |
|
Snapshots of detected data and of user edits, which the clash-state policy in |
|
|
|
|
|
|
|
|
_data.py also re-exports AbstractClashDataSerializer, _NativeFetchSerializerAdapter and
_NativeClashDataSerializer.
backend_info() exists in both ovclash and ovclash_suite. Each returns its own BackendInfo
dataclass, which names the active backend:
import ovclash_suite
print(ovclash_suite.backend_info().backend_name) # "ovstage" in a product build
Suite workflows and Persistence show the processor flow. Sample internals covers the samples.
Compatibility package#
omni.physxclashdetectioncore keeps the Kit import names and forwards them to ovclash_suite.
Kit compatibility lists what each module exports. It also
documents the reduced usd_utils module: its matrix helpers work, and its helpers that need
Python OpenUSD (pxr) raise NotImplementedError.
API references#
Native API reference#
Doxygen generates the C API reference from the headers in include/ovclash/ and
include/ovclash_suite/. The C API conventions own the
status, string and OVCLASH_STANDALONE rules, and
Threading and Ownership owns the ownership and threading
rules. This guide keeps no symbol inventory.
Internal OpenUSD C++ wrapper#
source/NativeClash.h declares omni::ovclash::NativeClash, a private C++ wrapper. It opens a
stage, runs every pipeline step, and reports the overlap count, the last error and the stage
ID. Only the OpenUSD library compiles it. It is not installed, not shipped in the wheel and not
given to Doxygen. Only the OpenUSD native tests use it. New code uses the C ABIs or the Python
Suite API.
Python API reference#
Autodoc generates the Python API Reference from the docstrings. These pages document the consumer-visible Python contracts:
the Python package guide: which objects to
destroy()and the native library lookup;Python exceptions: how native failures map to Python exceptions;
Persistence: the serializer lifecycle, unnamed stores, and the legacy return values of
ClashData, the serializers andClashQuery.load_settings_from_str()(Failures that do not raise);SQLite store and Directory storage: the two built-in stores.
attach_ovstage(), detach_ovstage() and run_ovstage_owner_operation() follow the C rules in
ovstage integration.
Adding new functionality#
Follow the ownership rule:
C++ owns the implementation.
The public C ABI exposes every product capability.
Python wraps the C ABI with ctypes and adds convenience. It is never a second implementation.
Steps for a new Suite capability#
Before you begin, build both backends from a source checkout, as Local Development describes. A public declaration change needs both backend implementations.
Declare the public C types and function in
include/ovclash_suite/, with its Doxygen contract.Implement the native behavior in
source/suite/.Validate the C arguments: invalid handles, invalid string spans, invalid UTF-8, null pointers with non-zero counts, and buffer sizes.
Declare the ctypes prototype in
python/ovclash/python/suite/_bindings.py.Wrap the function in the Python API under
python/ovclash/python/suite/.Add C and Python parity tests.
Update the documentation and samples that describe the changed behavior.
Run the focused tests of the change, as Run focused tests describes.
Run
build_ovstage.* --release --validate.Run
build_openusd.* --release --validate.
Each validation run ends with All validation checks passed! No bugs, only features.... A failed
run marks the failing step FAILED in its summary table and prints the failed command;
Validation output explains how to read it.
A public declaration change also needs a deliberate version and compatibility decision, and the
API checks that
Example: one Suite function through every layer
names. AGENTS.md (“Public surfaces, state, and lifetime”) lists the full rule set.
Example: one Suite function through every layer#
ovclash_suite_get_named_constant is a small function that shows each layer.
The public declaration, in include/ovclash_suite/ovclash_suite.h:
OVCLASH_API ovclash_suite_result_t ovclash_suite_get_named_constant(ovclash_suite_string_t name, int64_t* out_value);
The export forwarder, in source/suite/ovclash_suite_api.cpp. The marker comments name the file
that implements it; the native tests build their wrapper subsets from these markers:
// API implementation: SuiteConstants.cpp
ovclash_suite_result_t ovclash_suite_get_named_constant(ovclash_suite_string_t name, int64_t* out_value)
{
return omni::ovclash::suiteGetNamedConstant(name, out_value);
}
// End API implementation
The private operation, declared in source/suite/SuiteApiInternal.h and defined in
source/suite/SuiteConstants.cpp. suiteGuard clears the thread-local error and turns C++
exceptions into an error result. In an ovstage build it also rejects a call from inside an ovstage
owner operation:
ovclash_suite_result_t omni::ovclash::suiteGetNamedConstant(ovclash_suite_string_t name, int64_t* out_value)
{
return suiteGuard("ovclash_suite_get_named_constant", [&]() -> ovclash_suite_result_t {
if (!out_value)
{
return suiteError();
}
if (!validateSuiteString(name, "name"))
{
return suiteError();
}
const std::string key = suiteStringToStd(name);
for (const NamedConstant& constant : kNamedConstants)
{
if (key == constant.name)
{
*out_value = constant.value;
return suiteSuccess();
}
}
suiteSetLastError("Unknown ovclash suite constant: " + key);
return suiteError();
});
}
The ctypes prototype and the Python wrapper, in python/ovclash/python/suite/_bindings.py, which
defines lib, ovclash_suite_string_t and ovclash_suite_result_t. The wrapper is shortened:
the module compares the status with the native success constant once it has read it.
import ctypes
from ctypes import POINTER, c_int64, c_void_p
lib.ovclash_suite_get_named_constant.argtypes = [ovclash_suite_string_t, POINTER(c_int64)]
lib.ovclash_suite_get_named_constant.restype = ovclash_suite_result_t
def native_constant(name: str) -> int:
encoded = name.encode("utf-8")
value = c_int64()
c_name = ovclash_suite_string_t(ctypes.cast(ctypes.c_char_p(encoded), c_void_p), len(encoded))
result = lib.ovclash_suite_get_named_constant(c_name, ctypes.byref(value))
if int(result.status) != 0:
raise RuntimeError(f"Loaded ovclash suite library does not expose constant {name}")
return int(value.value)
Two tests check the C boundary:
test_native_api_forwarding.py: each export forwards to its own private operation, with the same arguments in the same order and no added work.test_binding_abi.py: every ctypes structure and prototype matches its header declaration.
Backend rules#
The OpenUSD backend stays as the permanent, unpublished parity reference. Keep its code behind the backend boundary. Never add OpenUSD-only product behavior, and never change what the OpenUSD backend computes to fix or speed up ovstage.
Keep ovstage code under
source/and behind the ovstage adapter boundary.Do not add public source or backend callback APIs. No public callback supplies geometry or acts as a scene source.
When a backend does not support a setting, reject it explicitly with a useful last-error text.
Persistence rules#
A schema change needs migration tests from older versions (Schema versions).
A migration must keep rows, timestamps, identifiers and the legacy dictionary shapes.
Legacy
.clashDetectionmigration must not modify its input.Use the native bulk paths for large frame and report buffers.
Packaging rules#
Keep the install tree and the wheel layout aligned (Packaging policy).
Do not add Kit or rendering dependencies to the runtime package.
scripts/test_no_clash_dependency.cmakefails on any reference to the Kit clash tree. Add anovclash-no-clash-allowmarker only with a stated reason.Verify a change from the packaged install tree, not only from the raw build output.
Glossary#
These are the implementation terms of this guide. Concepts explains the consumer vocabulary.
Term |
Meaning |
|---|---|
Clash |
Any result of a query: a mesh intersection or contact, a duplicate mesh pair, or a point-vs-mesh hit. |
Overlap |
One result group that a run of the engine returns |
Clash record |
The persisted Suite form of one overlap ( |
Frame |
One time sample of a clash record ( |
Query |
A persisted clash search definition ( |
Search set |
One of the two prim-path lists of a query’s scope, set A or set B: |
Suite |
The product layer: runtime, models, stores, export and the Python compatibility package |
Canonical ABI |
The canonical clash C ABI, |
ovstage |
The runtime through which ovclash reads USD: a separate Python package with its native libraries, pinned to one exact version per ovclash release. It supplies the USD runtime and the |
ovstage backend |
The product backend. It reads the scene through ovstage populations and runs clash detection natively. |
Local ovstage mode |
The opt-in build mode that builds the ovstage backend against a local ovstage source checkout instead of the pinned wheel ( |
OpenUSD backend |
The permanent, unpublished parity reference. It uses namespaced OpenUSD and the shared clash engine. Its unchanged results are the reference when you investigate ovstage parity. |
Parity reference |
The role of the OpenUSD backend: its unchanged results are the expected answer when ovstage results are compared with it. Never change what it computes to fix or speed up ovstage. See Backends |
Shared clash engine |
The clash-detection engine sources shared with the Kit extension, under |
Sidecar |
A plain SQLite |
Legacy container |
A Kit-era |
BVH |
Bounding volume hierarchy: the tree of mesh world bounds that the broad phase queries for candidate pairs |
Broad phase |
The run step that pairs meshes whose world bounds overlap. Only these candidate pairs reach the narrow phase |
Narrow phase |
The run step that tests each candidate pair with PhysX mesh-vs-mesh queries and decides whether it clashes |
Cooking |
Building the PhysX collision data of a mesh, a midphase tree, from its triangles before the narrow phase. A mesh that cannot be cooked is skipped |
PhysX |
NVIDIA’s physics SDK. The engine uses its mesh cooking and geometry queries, not its simulation |
Carbonite |
NVIDIA’s plugin and runtime framework. ovclash uses its bootstrap, globals and |
Scheduler |
The worker source of the parallel phases, which the threading settings select. |
Packman |
NVIDIA’s package fetcher. It downloads the pinned binary dependencies that the manifests under |
ovx headers |
The |
ovRTX |
NVIDIA’s RTX rendering runtime. Only the source-only ovRTX clash sample app uses it; neither package ships it |
SDK archive |
The C/C++ and Python release package: public headers, native library, Python packages, CMake and pkg-config files, samples and the consumer pages as Markdown. It does not contain ovstage |
KPI |
The performance benchmark suite under |
Sentinel |
The correctness campaign under |
Golden |
A reviewed, byte-exact expected-result file under |
Population |
One load of a USD source into an ovstage instance. A description (domains and selectors) chooses the prims and properties, and the rows are written at an ordinal. A file-backed context keeps several, each with one role; Stage populations lists them |
Selection population |
The Default-time RENDERING population that |
Numeric population |
The population that serves every finite-time transform read. It advances forward in time and reopens on a rewind (Numeric population state) |
Ordinal |
ovstage’s 64-bit ordering key for writes and reads. A population writes its rows at an ordinal and then seals it; a read names the ordinal whose values it wants |
Write floor |
The ordinal at or below which ovstage accepts no more writes. Advancing it seals the ordinals below it |
Tombstone |
ovstage’s deletion marker: a read group with |
RENDERING domain |
The ovstage population domain for meshes, lights, materials and cameras, with their published world matrices and visibility. The selection population uses it, and a population description that requests it is a RENDERING-domain description |
Default time |
USD’s default time code: the attribute values authored without time samples. ovstage names it with a time of NaN |
Earliest |
USD’s earliest time ( |
Composition |
The optional description of how the owner built an attached Stage: its root (a file or USDA text) and the USDA layers it merged, in order. With one, the engine replays the Stage into private engine populations for finite times |
Owner |
The application that owns an attached Stage and lends it to a runtime. See Attached stage and Owner operation |
Prototype |
The shared copy of an instanceable asset. ovstage reports it under a synthesized root such as |
Instance root |
A scene prim that places a prototype through an instanceable reference, such as |
Instance proxy |
A path below an instance root that stands for a prim inside the prototype, such as |
Placement |
One instance of a prototype mesh at one instance root, with its own pose. Extraction replaces each prototype mesh with one placement per instance root |
Static purge |
The dynamic-query run option |
Dynamic matrix cache |
The ovstage backend’s per-context cache of the sampled world matrices of a dynamic query. Playback keeps them in bounded windows, at most 32 frames within a fixed 1 GiB budget. It is on by default. |
Validation observer |
The engine event recorder that |
Gf |
OpenUSD’s math library ( |
Fabric |
NVIDIA Omniverse’s runtime scene-data store, which ovstage uses internally. Its registries are process-global, and some populated attribute names carry its prefix, such as |
Omni client |
The Omniverse client library that the ovstage runtime loads to resolve |
Nucleus |
NVIDIA Omniverse’s asset server, reached through |
ovui |
The Python UI toolkit that provides |
Session layer |
In USD, the strongest layer of a stage, for edits that are not saved to the source. The ovRTX clash sample app exports |
Query lease |
The ovRTX clash sample app’s exclusive hold on its scene while a query runs ( |
PVD |
PhysX Visual Debugger. PhysX |
TBB |
Threading Building Blocks (oneTBB), the C++ task-parallelism library that OpenUSD uses. The Packman OpenUSD package carries it, and only the OpenUSD backend links it |
CRT |
The Microsoft C and C++ runtime that MSVC-built binaries import: the Visual C++ runtime DLLs and the Universal CRT. |
PDB |
Program database: the Windows debug-symbol file that the MSVC linker writes beside a DLL or executable ( |
PEP 440 |
The Python packaging standard for version identifiers. Its local segment, the part after |
Omni PhysX |
The PhysX integration of Kit. Its runtime lives in this repository’s |
OV Libraries V2 |
The API guidelines for NVIDIA Omniverse libraries. ovclash follows its shared |
Repo tool |
NVIDIA’s repository tool ( |