Changelog#
All notable changes to the ovclash public surface — the canonical C ABI (<ovclash/ovclash.h>), the
Suite C ABI (<ovclash_suite/*.h>), and the ovclash / ovclash_suite /
omni.physxclashdetectioncore Python packages.
The version here is the one in VERSION and python/ovclash/python/suite/_version.py, which must move
together: the Python loader rejects a native library whose version disagrees. While the product is pre-1.0,
breaking changes may land in a minor or patch release; each one is called out below.
Released entry-point removals go through a deprecation cycle, from the first release after this note. A
released entry point that is going away is deprecated in a 0.x.N release — it keeps working, and its
declaration carries a message naming both its replacement and the release that removes it — and is
removed no earlier than 0.(x+1).0, one minor cycle later. The replacement is added alongside with
a _v2 (or higher) suffix rather than by changing the old signature in place. A release that
deprecates or removes an entry point carries a ### Deprecated section listing each one.
This policy applies only to APIs shipped in a release. Unreleased APIs may change in place without
compatibility aliases, version suffixes or a version bump.
SemVer asks for none of that below 1.0; it is a commitment on top of the pre-1.0 allowance above.
No breaking change recorded below went through the cycle, and the deprecation marker does not
exist in the headers yet: 0.1.3 moved the canonical header, changed every canonical entry point’s
return type in place and removed ovclash_set_use_USDRT() in one release, and its
ovclash_result_t change alters a transparent type’s layout rather than removing an entry point.
This file records what changed for a consumer. Internal refactors, test-only changes and performance work that does not alter behaviour are summarised, not enumerated.
[0.2.2] - Date 2026-10-22#
Changed#
The skill catalog is
skills/README.mdinstead ofSKILLS.md. The wheel and the SDK archive ship it insideskills/, next to the skills it lists, and no longer shipSKILLS.mdat the package root. The catalog now also says how an agent loads the skills: point it at the installedskills/folder, because a skill folder copied on its own loses its links to the documentation, the samples and the other skills. Update a script or an agent configuration that readsSKILLS.md.The SDK archive ships the consumer documentation in
docs/consumer/instead ofdocs/. The pages, the changelog included, keep their names:docs/settings.mdis nowdocs/consumer/settings.md, and the rendered site, where an archive has one, stays indocs/html/. The(SDK archive)links in the skills, the sample READMEs and the package READMEs point to the new paths, so they now also resolve in the source repository. Update a script or a bookmark that opens a page underdocs/. The wheel still ships no documentation pages.
Fixed#
Saved duplicate overlaps store both objects’ world matrices. The frame of a duplicate overlap held all-zero
object_0_matrixandobject_1_matrixin SQLite and JSON directory stores, so the record could not place either object. Fetch-and-save andClashDetection.process_duplicate()now store each object’s local-to-world matrix at the time the duplicate was detected, as for every other frame. A fetch fails instead of storing a matrix it could not read. A duplicate that an earlier version saved and approved compares unequal once, so with clash-state updates on, the Python default, it becomesACTIVEagain on its next fetch.The Clash Processor no longer replaces a
--clashdbfile that it cannot read. Both the Python and the C++ processor deleted an existing store file that they had no permission to read, such as a renamed legacy.clashDetectioncontainer, and wrote a new store in its place. They now stop with exit status 1 and change nothing; the message says that the file cannot be read, so the processor cannot check that it holds no legacy container. A missing file or a readable one behaves as before.The Python samples no longer stop when the console cannot print a character. The Clash Processor,
clash_api_python.pyand the legacy.clashDetectionsample exited withUnicodeEncodeErrorbefore they saved anything when a comment, query name or path held a character that the output encoding cannot write, as with redirected output on Windows. They now print such a character escaped, and the stores keep it exactly.ovclash_suite.html_escape()keeps an embedded NUL character and the text after it. It returned only the text before the first NUL. The C functionovclash_suite_html_escape()was not affected.
Documented#
omni.physxclashdetectioncorehas nodata_file_damagedmember. In Kit,ClashData,AbstractClashDataSerializerandClashDataSerializerSqlitereport through this flag that SQLite found the database file corrupt or not a database. The compatibility package does not provide it, and the Kit compatibility page now lists it as a gap. ovclash raises instead:open()raisesRuntimeErrorwith SQLite’s reason when it cannot inspect the file, and a read that reaches a damaged page raises too. Ported code can test for the member withhasattr.The wheel ships no documentation pages, and its README no longer says it does. Only the SDK archive ships the consumer pages, and the documentation site has them all. The wheel README and the documentation landing pages said otherwise. The Markdown that the wheel ships explains once what its “(SDK archive)” label means.
[0.2.1] - Date 2026-10-21#
Changed#
Strengthening the tests.
[0.2.0] - Date 2026-10-20#
Added#
Suite results can be saved incrementally and into your own storage.
<ovclash_suite/ovclash_suite_serializer.h>declares the fetch-and-save C API and the callback table of a custom serializer, with optional frame preparation. A fetch begins with an explicit choice of whether duplicates are persisted, independent of the detection mode, and then advances in bounded steps, so long frame histories and stale-result reconciliation are spread across calls.ovclash_suite_runtime_fetch_and_save_get_counts()reports how many result groups are written and how many will be. Written results can still be pending, so equal counts do not mean committed. Python Suite serializers use the same lifecycle with the saved query’s duplicate setting, andClashDetection.fetch_and_save_overlaps()takes aprogress_callbackthat receives(written, total)after each step.ovclash_suite_runtime_fetch_and_save_async()runs a whole fetch on a background worker. It returns anovclash_suite_fetch_async_t. Poll it withovclash_suite_fetch_async_get_step_data()andovclash_suite_fetch_async_get_counts(), then callovclash_suite_fetch_async_finish()andovclash_suite_fetch_async_destroy(). In Python,ClashDetection.run_async_fetch_and_save()returns anAsyncFetchAndSave, andfetch_and_save_overlaps(..., async_mode=True)yields progress while it polls.A fetch keeps the runtime and its destination reserved until the fetch is destroyed, after completion or failure; for an asynchronous fetch into a built-in store that includes reads. Conflicting mutation and lifecycle calls fail without invalidating any handle. Abandoning a fetch restores an incomplete overlap and keeps completed pending work, unless the abort fails and the whole transaction rolls back.
ovclash_suite_data_get_overlaps_by_query()opens a forward-only cursor over the overlap headers of a query. Each header carries its frame count; frames are not loaded. Advance the cursor withovclash_suite_overlap_cursor_next()and destroy it withovclash_suite_overlap_cursor_destroy()before you close the data handle. A live cursor blocks store lifecycle changes.Suite stores can be a folder of readable JSON files.
ovclash_suite_data_create_directory()andClashDataSerializerDirectory(inovclash_suiteandomni.physxclashdetectioncore) create a store whose path names a folder, with one JSON file per query, point-cloud setting, overlap and frame. Every data, cursor and fetch-and-save call accepts it, and one handle at a time can open a folder. Symbolic links, Windows junctions and volume mount points in its path or inside it are rejected, so a volume mounted only into a folder needs a drive letter to hold a store. An unnamed store is created in a new private temporary folder. The processor samples take--clashdir FOLDER, alone or with--clashdb FILE, anddocs/directory_serializer.mddescribes the format.Read the open stage’s own timeline.
ovclash_get_stage_timeline_data(),ovclash_suite_get_stage_timeline_data(),ClashRuntime.get_stage_timeline_data()andovclash_suite.ClashDetection.get_stage_timeline()return the stage’s start and end time codes,timeCodesPerSecondandframesPerSecond, withoutpxr. The new types areovclash_stage_timeline_data_t,ovclash_suite_stage_timeline_data_t,StageTimelineDataandStageTimeline.ClashDetection.set_settings()takes a keyword-onlytime_codes_per_secondthat sets the sampling rate of a dynamic run; a value that is not positive raisesValueError. Query times stay in seconds.A runtime can borrow an ovstage Stage that your application already owns, instead of opening a file. The runtime reads the Stage as its owner populated it, unsaved edits included, and detaching never destroys it. The calls are
ovclash_ovstage_attach_stage()andovclash_ovstage_detach_stage()in the new<ovclash/ovclash_ovstage.h>,ovclash_suite_attach_ovstage()andovclash_suite_detach_ovstage()in the new<ovclash_suite/ovclash_suite_ovstage.h>, andattach_ovstage()/detach_ovstage()onovclash.ClashRuntimeandovclash_suite.ClashDetection. Theovclash_ovstage_binding_tdescriptor carries the Stage, its timeline metadata and an optionalevaluate_timecallback. Run your own Stage creation, population, edits and destruction throughovclash_ovstage_run_owner_operation(),ovclash_suite_run_ovstage_owner_operation()orovclash_suite.run_ovstage_owner_operation(), so they never overlap clash work.An attached ovstage Stage can leave time evaluation to ovclash. Set the optional
compositionfield ofovclash_ovstage_binding_tto anovclash_ovstage_composition_tthat names the root you opened (a path, a URL or USDA text) and the USDA texts you merged at/, earliest first. In Python, passcomposition_root,composition_layersandcomposition_root_is_usdatoovclash.ClashRuntime.attach_ovstage()orovclash_suite.ClashDetection.attach_ovstage(). ovclash then evaluates every finite time in private ovstage populations of that composition, and never callsevaluate_timeor advances your Stage. Keep the root and every file it references unchanged on disk until you detach.Choose how ovstage decomposes mesh matrices.
ovclash_ovstage_set_matrix_decomposition()andovclash_ovstage_get_matrix_decomposition(), andClashRuntime.set_ovstage_matrix_decomposition()/get_ovstage_matrix_decomposition()in Python, select the mode of one context. The default follows USD’s own decomposition (see Changed).OVCLASH_OVSTAGE_MATRIX_DECOMPOSITION_OVCLASH(Python"ovclash") restores the math of earlier releases. Changing the mode clears the results and the pipeline, so release your reports first. The mode survives a reset and a stage replacement.ovclash.RunSettingsgainsnew_task_manager(defaultTrue) andnb_tasks(default 128), which round-trip through the native settings. With the legacy task manager selected,ClashRuntime.set_run_settings()rejects annb_tasksoutside 1 to 255 withValueErrorand changes nothing. Theclash_apisamples and theclash_suite_apiprocessors take--single-threaded,--multi-threadedand--num-tasks N. Theclash_apisamples stay single-threaded by default, and the processors multithreaded.New shipped agent skill
ovclash-clash-processor. It covers running clash queries on your own stages without writing code, withrun_custom_clashorclash_suite_api_python.py: scoping, static and time-sampled checks, stores, reports, exit statuses and Windows quoting.SKILLS.mdlists it beside the four API skills.The wheel and the SDK archive carry
ovclash-build-provenance.json, which records the source and build identity, the backend, the product version and the pinned dependency versions. The wheel metadata lists the project’s homepage, repository, documentation, issue tracker and changelog.
Changed#
ovstage runs its heavy phases in parallel, and the threading controls now govern it. Mesh preparation and cooking, poses and bounds, the broad and narrow phases, report extraction and Suite result fetching use the selected scheduler. Before, ovstage stored
ovclash_set_single_threaded(),ovclash_set_new_task_manager(),ovclash_set_nb_tasks()and the matching Suite and Python settings without using them. Single-threaded mode forces serial work. Otherwise the new task manager, the default, uses a shared worker pool, and with it turned off at mostnb_tasksthreads run. A time-sampled query also reads the next window of transforms ahead and reuses the collision result of a sample whose inputs exactly match the previous one. Overlap membership, per-pair data and theovclash_get_overlap_data()order match a serial run. You can change the controls between detection and fetching.ovclash.RunSettings.single_threadednow defaults toFalse, as a fresh native context andovclash_suitealready did, so the canonical Python API runs in parallel without opting in.python -m ovclashis multi-threaded by default and gains--single-threaded;--multi-threadedis still accepted and has no effect. Passsingle_threaded=Trueor--single-threadedfor a serial run. Results do not change.ovstage now follows USD’s own matrix decomposition by default, so a few zero-tolerance results can change. The previous math could split a mirrored (negatively scaled) transform differently from USD. At zero tolerance it then reported or missed a handful of grazing pairs, and their faces and outlines could differ. Select
OVCLASH_OVSTAGE_MATRIX_DECOMPOSITION_OVCLASHto reproduce earlier results.ovstage samples a dynamic range exactly as documented. Sampling starts at
startTimeand adds1/timeCodesPerSeconduntil the next time passesendTime. Earlier releases moved a sample that overshotendTimeby a rounding error back ontoendTime. That sample is now dropped, so such a range can have one sample fewer.ovclash_create_pipeline()captures the timing settings and rejects a range whose sample count does not fit, keeping the previous pipeline.ovstage decides which meshes move from their authored transform animation. By default,
ovclash_set_purge_permanent_static_overlaps()drops pairs of two static meshes from a time-sampled query. A mesh now counts as moving when its own transform or an ancestor’s has more than one effective time sample, even if every sample holds the same value. Such pairs were dropped before and are now reported. A mesh whose animation cannot be resolved counts as moving.Asynchronous runs on ovstage.
ovclash_finish_pipeline()returnsOVCLASH_STATUS_ERRORwhenever cancellation was requested before finish, even if the worker had completed. The worker no longer waits 25 ms before it starts, and it runs with the floating-point rounding, denormal and exception-mask settings the calling thread had at launch. When a sampled step fails, every overlap the run collected is discarded, so restart at step 0 before you use results.Asynchronous progress on ovstage moves within a step.
ovclash_get_pipeline_step_data_async()andAsyncPipeline.step_data()report a fractionalstepProgress/step_progressfrom counted work, andprogressincludes it. Before, ovstage reported whole steps only. An async step name can carry the current operation after the phase name, so match names by prefix. Synchronous step names are unchanged, and neither value is a time estimate.An approved clash stays approved when a new run detects exactly the same result. With state updates on, fetch-and-save still sets every re-detected clash to
ACTIVEand every absent one toRESOLVED. State updates are on when C passes a nonzeroresolve_stale, and by default in Python. The exception is anAPPROVEDclash whose detected header and complete ordered frames are unchanged: it staysAPPROVED. Review fields, timestamps and user penetration-depth annotations are not compared. A custom C store takes part through the optionalovclash_suite_fetch_saved_data_reader_tofovclash_suite_runtime_fetch_and_save_begin_with_reader()andovclash_suite_runtime_fetch_and_save_async_with_reader(); without one, its re-detected clashes becomeACTIVE. To keep every stored state, passresolve_stale0, or setomni.physxclashdetectioncore.config.ExtensionConfig.update_clash_states_after_detection = False.Collision outline segments have a fixed direction. Each segment of
collidingSegments, and of the Suite’s stored outlines, points along an axis whose first nonzero x, y or z component is negative. Mesh order, query order and triangle winding no longer change it. Endpoint coordinates are unchanged, but a segment can come back with its endpoints swapped compared with earlier releases. Compare outlines as unordered segments.On ovstage,
ovclash_is_out_of_memory()now reports allocation failures; it always returned 0 there before. The flag is set when a required allocation fails in a call or in the async worker. It survivesovclash_finish_pipeline()and clears on reset, on a stage-open attempt and on a new run. While it is set,ovclash_get_last_error()returns a fixed message.Opening a stage that references an unreachable
omniverse://host no longer stalls for about two minutes. On ovstage, payloads, references, sublayers and MDL assets on such a host now fail at once, and their geometry is missing from the results. To wait through a short server outage, setOVCLASH_OMNI_CLIENT_RETRY_MAX_MSto a positive number of milliseconds. ovclash applies it once per process to the shared client, so it also governs your own reads through that client, including those of a Stage you attach.ovstage is faster and leaner on large and instanced stages. Mesh discovery does less repeated work. Subcomponent filtering reuses the stage already read instead of opening the file a second time. Repeated
ovclash_get_prim_matrix()calls at advancing times after a run are much faster. The sampled-transform cache can hold up to 1 GiB (was 256 MiB), plus up to 8 MiB for reused collision results. Results are unchanged.Saving and reading Suite results is faster. Fetch-and-save extracts, encodes and writes results in native code instead of making a Python round trip per overlap, and reuses its SQLite statements. Reading every query or point-cloud setting of a large SQLite store in index order no longer costs time that grows with the square of the row count, and reading frames into Python copies less. During bulk writes the SQLite page cache is raised to at least 64 MiB (was 32 MiB) and restored afterwards, so each active writer can use up to 32 MiB more memory.
Immediate depth queries on ovstage reuse geometry the context already loaded.
ovclash_imm_compute_max_local_depth(),ovclash_imm_depenetrate_meshes(),ovclash_suite_compute_max_local_depth()andovclash_suite_compute_penetration_depth()no longer read the file again on every call once a run has loaded that geometry. Repeated queries are faster, but they no longer see edits saved to the file after it was opened. Callovclash_open_stage()again to pick those up.Opening a stage drops the scope set for the previous stage, and a reset keeps it.
ovclash_suite_open_stage()andClashRuntime.open_stage()clear the scope on success, so the next run no longer searches the old stage’s prim paths; set the scope after opening. The Suite also turns whole-stage selection back on when the run settings enableenable_full_scene.ClashRuntime.reset()keeps the scope, asovclash_reset_context()does, and a failed open keeps it too.ClashDetection.set_settings()andset_scope()no longer reopen the stage when theirstageargument is another spelling of the file already open.ovclash_suite_file_exists(), and with itomni.physxclashdetectioncore.utils.file_exists(), reports only regular files, following symbolic links, on every platform. Before, Linux reported a directory as an existing file, and an unreadable file could be reported as missing.ClashData.fetch_all_queries()andfetch_all_point_cloud_settings()raiseRuntimeErrorwhen the count or any row cannot be read; they used to return a partial dictionary.get_file_path()on a built-in serializer raises when the path cannot be read instead of returning"".When a
withblock onClashRuntimeorAsyncPipelineexits because of an exception, it requests cancellation of the active async run before waiting for it. A normal exit still waits for completion. If cleanup also fails, the exception from the block is the one raised.In C++,
ovclash_status_t,ovclash_mesh_index_t,ovclash_depenetration_axis_t,ovclash_report_buffer_tandovclash_max_local_depth_mode_tnow declareuint32_tas their underlying type. An out-of-range value stays well defined until the API rejects it, and setters reject one. Sizes and values are unchanged, and C callers see no difference; in C++ these types now promote tounsigned int, notint.Linux builds no longer fuse floating-point multiply-adds, so results on Linux AArch64 can differ from earlier releases in the last bit. Every operation is rounded separately, so Linux x86-64 and AArch64 compute ovclash’s own arithmetic the same way. On AArch64 the default ovstage matrix decomposition now also matches USD’s
GfTransformexactly.python -m ovclashand the sample programs explain themselves. Their--helpdescribes what the program does and how to call it, with examples, and--versionprints the version;python -m ovclash --versionreports the version of the loaded runtime. A normalpython -m ovclashrun prints its version and purpose on stderr, so stdout still carries only JSON. Help and validation messages are colored in an interactive console.The Suite processors take the sampling rate from the stage and expose every engine setting. Both
clash_suite_apiprocessors sample a dynamic run at the open stage’s rate instead of 24 per second;--time-codes-per-secondoverrides it. They gain--coplanar,--any-hit,--overlap-code,--triangle-limit,--ignore-invisible-prims,--ignore-redundant-overlaps,--subcomponent-filtering,--purge-permanent-static-overlaps,--purge-permanent-overlaps,--compute-max-local-depth,--max-local-depth-mode low|med|high,--discard-touching-contacts,--depth-epsilon,--contact-cutoff,--pose-epsilon,--bounds-epsilon,--area-epsilon,--tight-bounds,--quantizedand--tris-per-leaf. Options you do not set keep the engine defaults. The processors also run detection and fetch-and-save asynchronously by default:--async falseruns both on the calling thread. The library’s Python fetch API stays synchronous by default.The processor samples print more, so scripts that parse their output need updating. The
Clash Processor Arguments:section groups related arguments, has abackendrow with the backend the loaded runtime reports, and ends each line with the value’s source, such as(provided),(default)or(engine default). With an output option, saving shows percentage progress underFetching, serializing and saving results.... Every run printsClash detection time:andFetching, serialization and saving time:(orFetching, serialization and saving: not requested.) beforeTotal elapsed time. The Python processor also prints the times it resolved, such asResolved static time: <seconds> s, and its cleanup time, and with--logginga[perf]line for each phase and pipeline step.The processor samples reject ambiguous command lines. The positional
stage [json [html]]form can no longer be mixed with--stage,--jsonor--html, and positional paths must come before every option. A stray path is now an error instead of being ignored or taken as the stage or an output path, such as the second half of an unquoted comma-separated--object-alist.run_custom_clash.batandrun_custom_clash.shtreat an option value that is empty or starts with-as missing. Quote search-set lists that contain commas, semicolons or spaces.run_custom_clashsays which runtime it uses, and inside an SDK it uses that SDK. Before the processor starts, it prints a line such asBackend: ovstage -- runtime: published wheel in "<venv>". Without--install-root, the copy in an unpacked SDK runs against the SDK it ships in, creates no virtual environment and downloads nothing. The new--wheeloption forces the published-wheel route. Every failure while it sets up its virtual environment now exits with status 1 and a message, on Linux as on Windows; a failed pip self-upgrade only warns.The sample launchers run against the package that contains them and set up ovstage themselves. The Python launchers import the
ovclashof the SDK or wheel that contains them, even when another ovclash is installed, and ignore an inheritedPYTHONPATH. They start fromPYTHON, elsepython3(pythonon Windows). When that interpreter lacks the exact pinnedovstage, the launchers andsamples/build_samplesinstall it into a per-user cached virtual environment and leave the interpreter’s packages unchanged. The first setup needs pip access to the pinned wheel, and on Debian and Ubuntu alsopython3-venv. In the SDK,OVCLASH_OVSTAGE_PACKAGE_DIRstill selects an installation, which also works offline.The C++ sample launchers build outside the
samples/folder.run_clash_api_cpp,run_clash_suite_api_cpp,run_legacy_clash_detection_cppandsamples/build_samplesbuild under_build/samples/<sample>in the package root, and the Windows SDK launchers under%LOCALAPPDATA%\ovclash\samples\<hash>\<sample>, which avoids compiler path-length failures.OVCLASH_SAMPLE_BUILD_ROOTstill selects another directory. A sample build tree records which SDK configured it, so an SDK replaced at the same path is configured from scratch. The C++ sample sources are renamed:clash_api_capi.cppis nowClashApi.cpp,clash_suite_api_capi.cppis nowClashSuiteApi.cpp, andlegacy_clash_detection_capi.cppis nowLegacyClashDetection.cpp.The SDK archive carries the Python APIs and is named version first. It holds the
ovclash,ovclash_suiteandomni.physxclashdetectioncorepackages underpython/, and its Python sample launchers use them with the SDK’s own library. For your own program, add<sdk>/pythontoPYTHONPATHand setOVCLASH_LIBto the SDK’s library; that program then uses theovstageinstalled for its own interpreter, or the oneOVCLASH_OVSTAGE_PACKAGE_DIRnames, at exactly the pinned version. The archive is nowovclash-<version>-<platform>.zipon Windows andovclash-<version>-<platform>.tar.gzon Linux; it wasovclash-<platform>-<version>.ovclash-LICENSES.zipin the wheel and the SDK archive also carries the Tomorrow Open Source Technology License 1.0 and the notice for Pixar’s USD Gf math, which the default ovstage matrix decomposition adapts. Pass them on with the other third-party notices when you redistribute.The pinned ovstage runtime moved from
0.2.0.375291to0.3.0.1791986420. This build is on public PyPI, so the wheel’s dependency and the SDK’srequirements.txtresolve there. No result change was recorded for the move.
Changed — breaking#
The wheel is Python-only; C and C++ development files ship only in the SDK archive. The wheel no longer contains the public headers, the CMake and pkg-config package files, the Windows import library, the C/C++ sample sources,
build_samplesor therun_*_cpplaunchers. It keeps the native library, both Python APIs, the Python samples and their launchers, the documentation and the skills. A C or C++ build that used an installed wheel as itsfind_package(ovclash)root must switch to the SDK archive for its platform. On Linux the wheel still shipslibovclash.so.<major>, so a binary linked against an earlier wheel keeps loading after an in-place upgrade.The SDK archive no longer contains ovstage: install it with pip before you build against it. The archive’s
requirements.txtpins the exactovstageversion. From the SDK root, runpython -m pip install -r requirements.txtwith Python 3.10 or newer.find_package(ovclash)reads that installation throughOVCLASH_PYTHON_EXECUTABLE(an absolute path), or the oneOVCLASH_OVSTAGE_PACKAGE_DIRnames, and takes the ovx headers from it. On Linux, pass--define-variable=ovstage_root=<site-packages>/ovstagetopkg-config. On Windows, add<site-packages>\ovstage\binand itspluginsfolder toPATHbeside<sdk>\bin. The wheel is unchanged, because pip installs ovstage with it.The wheel no longer ships the
omni.physxclashdetectionbakebake helper or its material assets. Bake authoring and visualization are outside the library’s scope, soimport omni.physxclashdetectionbakefails against an installed wheel. Take bake from the Kit clash-detection extension, or build your own visualization from clash reports. Theomni.physxclashdetectioncorecompatibility package and the clash APIs are unchanged.The wheel’s
[viewer]extra no longer installsusd-core.ovclash[viewer]and the newovclash[viewer-ovstage]add NumPy andwarp-langfor the zero-copynumpy()andwarp()report adapters. Code that imports Python USD (pxr) itself must install the separate extra that addsusd-core==26.5; the wheel README lists it under optional extras. A clash query never needsusd-core.run_custom_clashinstalls ovclash from pip’s configured index. When it sets up its own virtual environment andOVCLASH_INDEX_URLis not set, the launcher runs a plainpip install ovclash, so pip’s own configuration picks the index:PIP_INDEX_URL, a pip configuration file, or else public PyPI. It used to default to an NVIDIA-internal index. SetOVCLASH_INDEX_URLorPIP_INDEX_URLto an index that serves bothovclashand its pinnedovstage, or pass--install-root DIRfor an SDK. An environment that already has ovclash is reused unchanged.Release overlap reports before the next pipeline step, not just before the next run. On ovstage, a sampled step can replace the buffers a report borrows.
ClashRuntime.run_pipeline_step()now closes every openOverlapReport, ascreate_pipeline()andrun_async()already did, so copy any buffer you need first, NumPy and DLPack views included. C callers must callovclash_release_overlap_report()before the nextovclash_run_pipeline_step().ovclash_suite_create_overlap_report()andovclash_suite_create_clash_info()return the new statusOVCLASH_SUITE_STATUS_UNAVAILABLE(2) when a valid record has no report. The report is then null and the views are empty. Extraction, allocation and cancellation failures stayOVCLASH_SUITE_STATUS_ERROR. Code that tests for success keeps working; code that tests forOVCLASH_SUITE_STATUS_ERRORor switches on the status must handle the new value, usually by skipping that record.ClashDetection.fetch_and_save_overlaps()saves through native code and needs a destination. PassingNoneasclash_dataraisesValueError; before, it extracted every overlap and then discarded it. To skip saving, read the results from the runtime instead. A customAbstractClashDataSerializermust implementfetch_transaction()for theFETCH_*operations, or fetching raisesNotImplementedError. The otherfetch_*hooks fall back to its record methods, which must raise on failure.
Fixed#
A mesh whose transform cannot be decomposed into a valid pose no longer drops out of a query silently. A transform with collinear or degenerate rows, a non-finite value or a magnitude outside the float range used to yield a distorted pose: the pipeline reported success with clashes missing, and an immediate mesh query could overwrite its outputs with a wrong result. On ovstage the run or query now fails,
ovclash_get_last_error()reports aMatrix decomposition ...error, Python raises, and an immediate query leaves its outputs unchanged. Correct the transform on the stage. Valid transforms give the same results as before.Heavily instanced stages need far less memory and time on ovstage. Since instance placements became part of queries, memory use and mesh-preparation time grew with the number of placements, and a full-scene query on a stage with thousands of instanceable prims could run out of memory. Both now grow with the amount of unique geometry. Results are unchanged.
A static query on ovstage no longer re-reads the whole stage for each mesh whose instance is hidden at time 0. On stages where instanced meshes are visible at the default time but hidden at time 0, every such mesh caused a fresh read of the complete stage, and a query on a large stage could take minutes. Those transforms now come from one shared read.
Queries use the stage’s own time rate. On a binary
.usdstage withoutpxr,ovclash_suite.ClashDetection.set_settings()could not read the timeline: a static query silently ran at time 0, and a dynamic range assumed 24 time codes per second, so on a stage authored at another rate the sampled poses were wrong and clashes were missed. The timeline is now read natively, and a dynamic query with both times at 0 takes the stage’s range instead of being refused. ovstage also resolves the rate as USD does: a stage that authorsframesPerSecondbut nottimeCodesPerSecondusesframesPerSecond, where it used 24. A stage whose effective rate is zero, negative or not finite now fails to open on ovstage.The
ClashInfomatrix-changed checks compare with the pose at the frame’s time.ClashInfo.check_object_a_matrix_changed()andcheck_object_b_matrix_changed(), inovclash_suiteandomni.physxclashdetectioncore, passed the frame’s stored time, which is in seconds, to a query that takes a USD time code. On a stage whose time-code rate is not 1, a frame at a nonzero time was compared with the pose at another time, so a check could report a change that did not happen or miss one that did. The time is now converted with the stage’s effective time-code rate, and the checks raiseRuntimeErrorwhen that rate cannot be read or is not positive and finite.Stages authored in units other than centimeters are prepared at their own scale. The runtime did not read a stage’s
metersPerUnitand prepared every mesh as if the stage were in centimeters. It now uses the authored value.ovstage no longer reports an old clash under new paths. Any
ovclash_open_stage()attempt, failed or reopening the same path included, and a direct rerun of the mesh-selection step retire the earlier results. After them,ovclash_get_overlap_data(),ovclash_get_duplicated_meshes_data(), depth queries and overlap reports for those results fail as stale, while the counts are kept.ovclash_get_prim_matrix()fails for a prim the stage does not contain instead of answering from the previous run’s selection. When the transform at the requestedtimecannot be read, it andovclash_suite_get_prim_matrix()fail withFailed to query prim transform: <prim path>instead of returning the last evaluated sample.Using several ovstage contexts on different threads no longer corrupts the heap. Opening, replacing or releasing stages in different contexts at the same time could rarely crash the process under load. Stage loading and release now run one at a time across the process; queries and clash runs on loaded stages still run in parallel.
A moving mesh that touches identical static copies is reported once. With redundant-overlap filtering on (
ovclash_set_ignore_redundant_overlaps(), SuiteSETTING_IGNORE_REDUNDANT_OVERLAPS) and permanent static overlaps purged, a time-sampled query reported moving mesh C against each identical static copy, as both A/C and B/C. It now keeps one contact with its sampled records, on a pair that the query’s scopes and filters admit. Turn redundant filtering off to keep one contact per copy.On ovstage, collision outlines no longer include segments from tolerance near-misses. A pair that clashes only within the tolerance still reports its faces but has no outline segments; outlines come only from touching or interpenetrating triangles. Outline segments are also computed under the calling thread’s floating-point rounding and denormal modes, unless the context selected
OVCLASH_OVSTAGE_MATRIX_DECOMPOSITION_OVCLASH.Subcomponent filtering on ovstage follows USD composition.
ovclash_set_subcomponent_filtering()now finds each mesh’s subcomponent from the composedkindvalues, including kinds authored in referenced, sublayered or binary layers or in a selected variant, and a mesh of an instanced asset resolves per placement. Before, the filter could resolve a different subcomponent and keep or drop the wrong pairs. Duplicate-mesh detection now honors the filter too, so two identical meshes in the same subcomponent are no longer reported as a duplicate pair.Paths that contain an embedded NUL character are rejected instead of cut short.
ovclash_open_stage(),ovclash_get_prim_matrix(),ovclash_sdf_path_to_int(),ovclash_set_scope_paths()and every Suite file-path argument now fail before touching anything, including store open, save-as, migration, legacy containers,ovclash_suite_copy_file()andovclash_suite_delete_file(). Before, such a path was read only up to the NUL, so a call could act on a different file or prim.ovclash_suite_file_exists()reports such a path as no file, and the Python wrappers raise.On Windows, Suite stores, legacy
.clashDetectioncontainers and the Suite file helpers handle paths with non-ASCII characters. These UTF-8 paths were decoded with the system code page, so opening, saving, migrating or extracting a store in a folder with an accented name could fail or miss the file.Out-of-range identifiers no longer reach a different record.
find_query()andremove_query_by_id()onClashDataandClashDataSerializerSqlite, and aClashQueryidentifier, silently wrapped a value outside the signed 64-bit range: removing2**64 + 42removed saved query 42 and reported success. Such values now raiseOverflowErrorand leave the store unchanged.find_all_overlaps_by_query_id()andfetch_clash_frame_info_by_clash_info_id()cap huge offsets and limits, so an offset of2**63no longer starts again from the first row. Refetching into a SQLite store with imported negative overlap keys,-1included, updates those rows and keeps their annotations.Suite model JSON no longer reports success for values JSON cannot hold.
ovclash_suite_query_serialize_json(),ovclash_suite_point_cloud_settings_serialize_json(),ovclash_suite_clash_frame_info_serialize_json()andovclash_suite_clash_info_serialize_json()fail with a non-finite-value error when any value is NaN or infinite, and leave the buffer and the size untouched. Before, they returned success with text no JSON parser accepts. Negative zero is written as-0.0, so it reads back with its sign.SQLite scalar writes reject NaN instead of silently storing NULL and reading it back as zero.
Python data cleanup destroys its owned SQLite handle deterministically.
ClashData.close()andcommit()raise when the final commit fails and keep the handle for a retry;close()used to swallow that failure. Finalization retries a failed, rolled-back commit once and reports cleanup errors. Fetch iterator cleanup errors stay visible even when iteration completes inside a caller’s exception handler. Abandoning a SQLite fetch reports a new rollback error instead of an unrelated old diagnostic.Custom serializer callbacks must report explicit successful completion for writes, transaction operations, preparation, release and diagnostics. Cleanup drains owned reports and prepared values while preserving the primary failure, and Python handles stay usable when native destruction is rejected by an active lease.
Saving a SQLite store under a new path keeps every committed row.
ovclash_suite_data_save_as(),ovclash_suite_data_save()with a path, andClashData.save()/save_as()used to copy the database file, so the copy could miss recently committed results while another connection was reading the store. They now write a SQLite backup that includes committed and pending writes. Saving to the store’s own file or a hard link to it keeps the current store, and a.clashDetectionexport leaves the current store and path unchanged.is_open()onClashDataand the built-in serializers reports an open unnamed store as open; it returnedFalsewhenever the store had no path. When a SQLite query, settings, frame or delete call fails with an internal error, the whole pending transaction is rolled back before the error is reported, so a later commit cannot publish half of that change.Migrating a Suite store checks the target before giving up the current store.
ovclash_suite_data_migrate_to_latest()andClashData.migrate_data_structures_to_latest_version()reject a target that is not a readable regular file, or a SQLite file this process cannot write, and the current store keeps its connection, pending writes and open state. Opening a SQLite store whose path names a directory fails at open on every platform, not at the first write. After a failed open of a.clashDetectionpath, a write fails instead of creating a plain SQLite database under the container name.ClashData.insert_overlap()andupdate_overlap()check every frame before writing anything: a frame that cannot be stored raisesValueErrorand leaves the store unchanged, and an overlap and its frames commit together.get_overlaps_count_by_query_id_grouped_by_state()adds up stored states that map to the sameClashStateinstead of keeping only the last count.ovclash_suite_set_run_settings()rejects a tolerance, epsilon, contact cutoff or point-size override outside the float range instead of handing the engine an infinite value.ovclash_suite_compute_penetration_depth()rejects a non-finite, zero or overflowing direction instead of returning a meaningless depth.The
AsyncPipelinereturned byClashRuntime.run_async()can be used from several threads. A call that overlappedfinish()on another thread could use the native handle whilefinish()freed it. Nowis_running(),is_cancelled()andstep_data()answer from the last known state, andcancel()andclose()wait for thatfinish()to return.cancel()cannot interrupt afinish()that is already waiting, so cancel first and then finish.Python no longer leaks a native object when creation is interrupted. When an exception such as
KeyboardInterruptarrives whileClashRuntime, SuiteClashDetection,ClashDataSerializerSqliteor an async launch creates its native object, or while an overlap report is returned, the object is released and the original exception is raised.The Clash Processor no longer deletes a legacy
.clashDetectioncontainer passed as its store. Without--append,clash_suite_api_python.pyand the C++ processor deleted the file at the--clashdbpath and only then failed to open it, so a Kit-era container named there was lost. Both processors now reject that path, by name in any letter case or by content, before they touch any output. A name match is a command-line error in the Python processor (exit status 2); every other case exits with status 1 andClash processor failed: --clashdb '<path>' ....The Windows sample launchers forward every argument exactly as typed. A launcher that passes its arguments on to another batch script, as
run_custom_clash.batdoes when it runs an SDK, dropped an argument that starts with;, could then eat!in later arguments, and could not reach a script whose path contains!. A value that cannot be passed on intact, such as one that contains a line break, now stops the launcher with an error instead of arriving cut short.On Windows,
samples/build_samples.bat --build-root DIRaccepts an existing empty directory, asbuild_samples.shalready did, and two sample launchers started at the same time with a shared build root no longer fail when both try to create it.
Documented#
Suite overlap report buffers borrow the runtime’s results on ovstage. The Suite headers said report buffers stay valid until the report is destroyed. Destroy every report before you rerun or reset the runtime or invalidate its results, and always before you destroy the runtime. A Suite data getter view (query, overlap, frame) is invalidated by the next getter of the same kind on that handle, not only by a write, so copy a view before the next read of that kind.
After
ovclash_suite_async_finish()orovclash_suite_async_cancel(), polling, finishing or cancelling that handle returnsOVCLASH_SUITE_STATUS_ERROR; the header used to call a second finish a successful no-op. Release the handle withovclash_suite_async_destroy().In Python,
ClashDetection.set_scope()takes whitespace-separated literal prim paths, not path expressions, andmerge_scopes=Trueputs both lists into search set A. KeyClashQuerysettings bySettingIdmember names such asSettingId.SETTING_TOLERANCE.name: integer or enum keys become decimal strings in JSON, and later lookups ignore them.ClashRuntime.set_run_settings()andset_scope()may be called in either order; to return to whole-stage traversal, call bothset_scope([], [])andset_run_settings(enable_full_scene=True).API comments, Python docstrings and the C and Python guides spell out fetch and cursor lifetime, rejected owner operations, cleanup-error ownership and partial reconciliation. They distinguish final progress from iterator exhaustion, caller synchronization from lifetime guards, and work-count limits from time or memory guarantees.
Shipped guides, header comments and docstrings were checked against the code and corrected. The Python guide’s
ovclash_suiteexample committed a store without saving any result; it now fetches and saves a query’s overlaps. A clash-info view fromovclash_suite_create_clash_info()is never persisted:identifieris -1,presentis 1,stateis new and both times are the record’s sample time.ovclash_suite_set_run_settings()rejects a negativetime_codes_per_secondor any out-of-range field, names it and keeps the previous settings. Suite times convert to USD time codes with the stage’s effective rate: authored time codes per second, else frames per second, else 24. Every public Python class and function has a docstring and complete type annotations; no declaration or signature changed.The shipped skills match the 0.2.0 API, and their examples run as written. All of them require
>=0.2.0and say when to use them. The Suite C fetch example hard-coded the duplicate setting and the tolerance, the Suite Python store example did not checkis_open(), and the basics quick start could not run as written; all three are fixed. The skills also state thatovclash_set_full_scene()clears the scope. The C/C++ quickstart states that a missingOV_PXR_PLUGINPATH_2511aborts the process insideovclash_open_stage(), with no status or last-error text.The wheel and the SDK archive ship the full consumer guide set.
docs/holds the tutorials, guides and developer guide that used to appear only on the rendered site, and new pages on the SQLite store, settings, concepts, compatibility, ovstage integration, the samples and security reporting.docs/OvClashOverview.mdis nowdocs/overview.md, anddocs/OvClashCQuickstart.mdis nowdocs/c_quickstart.md, which ships only in the SDK with the C API conventions page. The Clash Processor guide ships assamples/clash_suite_api/clash_processor.md. The sample READMEs gained runnable examples and say that their C/C++ instructions need the SDK archive. The README, the wheel README and the C quickstart say where releases come from:python -m pip install ovclashfrom public PyPI or a configured mirror, and the SDK archives at https://github.com/NVIDIA-Omniverse/ovclash/releases.
[0.1.7] - Date 2026-09-08#
Added#
One command runs a clash query against the published wheel:
run_custom_clash.bat/run_custom_clash.sh. They ship insamples/clash_suite_api/, one per platform, beside the Python clash processorclash_suite_api_python.py, the only processor they drive; nothing is compiled. Everything that is not one of the script’s own three options goes to the processor verbatim, so--stage,--object-a,--object-b,--mode, times, tolerance and output paths are exactly what you type, and--helpprints the processor’s option list.From a pip install, run the script as it is: on first use,
--helpincluded, it creates a.venv-ovclashvirtual environment beside itself, so its directory must be writable, and installsovclashwith its pinnedovstagewheel from the internal package index (OVCLASH_INDEX_URLandOVCLASH_VERSIONoverride which). From an unpacked SDK, or any existing install tree, pass--install-root DIRor setOVCLASH_INSTALL_ROOT: no venv is created and nothing is downloaded, and--config Release|Debugnames that tree’s build configuration.--backenddefaults toovstage, the only backend a published wheel or SDK contains; its other value is for developers with a source checkout.PYTHON,OVCLASH_BACKENDandOVCLASH_PROCESSORoverride the remaining defaults.
Changed#
The clash processor samples write nothing unless asked to. Without
--json,--htmlor--clashdb,clash_suite_api_python.pyand the C++ processor derived a.ovclashdbnext to the stage and persisted every overlap into it. They now run the query, printFound N overlaps and M duplicate pairs (nothing written).and leave the stage directory untouched. A script that read the implicit sidecar has to ask for it now: the old default was the stage path with its extension replaced by.ovclashdb, so pass that path to--clashdbto get exactly the same file. With any output option, what is persisted and exported is unchanged.The processor samples take
--mode static|dynamicinstead of--dynamic/--no-dynamic. Static stays the default. Both processors now reject--dynamicas an unknown option, so a saved command line has to spell it--mode dynamic. The shippedrun_clash_suite_api_python.{bat,sh},run_clash_suite_api_cpp.{bat,sh}andrun_custom_clash.{bat,sh}launchers andsamples/clash_suite_api/README.mdalready do. The canonicalclash_apisample is not affected and keeps--dynamic.Both processor samples narrate a run the same way, and their output lines changed. Anything that matched the old
Opening stage,Closing stage,Running clash detection engine...,[perf] totalor unconditional[i/n] <step>lines needs updating: the per-step lines and the per-phase[perf]markers now appear only with--logging, and the step lines gained a percentage column. Every run opens with aClash Processor Arguments:section, one aligned line per argument as applied, then aClash Engine Settings:section with the settings derived from them. Stage loading printsLoading stage '<path>'...andStage loaded in <seconds>s.. The engine run printsRunning Clash Detection Engine... [step/total] NN% <step>, rewritten in place on a terminal and reduced to its final state when redirected, and closes with[n/n] 100% done (n steps in <seconds>s).; with--loggingthe header stands alone and the steps are listed beneath it as[step/total] NN% <step>. A completed run ends withTotal elapsed time: <seconds>s.The Python processor sample reports a runtime error from the query, such as the unreadable stage timeline described under Fixed below, as
Clash processor failed: <message>with exit code 1 instead of a traceback. When the failed query was--mode dynamicwith neither--start-timenor--end-time, it adds a hint that a binary.usdstage needs both times.
Fixed#
A dynamic query that brings its own time range now runs on a binary
.usdstage withoutpxr.ovclash_suite.ClashDetection.set_settings()refused every dynamic overlap query on a crate-encoded stage whenpxrcould not be imported (a duplicates-only search was never affected), because it could not read the stage timeline – even whenSETTING_DYNAMIC_START_TIMEandSETTING_DYNAMIC_END_TIMEsupplied the range and the timeline was never needed. Such a query now runs over the caller’s range at the default 24 time codes per second, as the C++ processor sample already did. A dynamic query that leaves both times at zero still depends on the timeline and is still refused; the message now names the remedies: installpxr, use a text.usdastage, or pass an explicit range.The temporary directory a legacy
.clashDetectioncontainer is extracted into is now private to the user who opened it. Opening or migrating such a container throughovclash_suite_data_open,ovclash_suite_data_migrate_to_latest,ovclash_suite.ClashData.open()orClashData.migrate_data_structures_to_latest_version()copies the embedded SQLite payload into a fresh directory under the temporary root, and that directory took the process umask, so under the usual default every other local user on a shared Linux machine could read the extracted clash database for as long as the store stayed open. The directory is now locked to its owner before the payload is written into it, so nobody else can read or replace the payload. Windows is unchanged.find_package(ovclash)no longer decorates a target it did not create, and repeating the call no longer grows the target’s include directories and link options. A project that already defines its ownovclash::ovclashtarget now gets a CMake warning that the package left it untouched and applied no include directories or link options, andfind_packagestill succeeds; before, the package silently appended the ovx include directory and, on Linux, its-Wl,-rpath-linkoptions to that target. Rename the target if you meant to consume the installed ovclash. A superbuild that callsfind_package(ovclash)more than once no longer receives the same entries once per call; the interface stays as the first call set it. The wheel and the SDK carry the same config, and earlier releases shipped the same defect.The shipped Python sample launchers run from an installed wheel, on Linux and Windows.
run_clash_api_python,run_clash_suite_api_pythonandrun_legacy_clash_detection_pythonpointOVCLASH_LIBat the library the wheel bundles, and an explicit library path skipped the setup of the siblingovstagewheel that a plainimport ovclashperforms, so they failed at load: Linux reported a missing ovstage library, Windows reported ovclash’s own DLL “or one of its dependencies” as not found. WhenOVCLASH_LIBorOVCLASH_SUITE_LIBnames the wheel’s own library and the ovstage wheel is installed beside it, that runtime is now configured the way the plain import configures it, for the launchers and for any caller that sets the variable. An override naming any other library is unchanged; that tree is expected to carry its own dependencies.The shipped C++ sample launchers find the ovx headers of the ovstage wheel installed beside ovclash.
samples/build_samples.shandbuild_samples.bat, which therun_*_cpplaunchers delegate to, never probed the directory pip installs theovstagepackage into, next to theovclashpackage. In an installed wheelrun_clash_api_cpp,run_clash_suite_api_cppandrun_legacy_clash_detection_cpptherefore stopped atfind_package(ovclash)with an unresolved ovx include directory unlessOVCLASH_OVX_INCLUDE_DIRwas set by hand, even though the header was on disk. The installed sibling is now probed too, and an explicitOVCLASH_OVX_INCLUDE_DIRstill wins.The Linux legacy sample launchers no longer default to an install tree that no package contains.
run_legacy_clash_detection_python.shandrun_legacy_clash_detection_cpp.shlooked forlibovclash.sounder a source checkout’s install directory, which neither the wheel nor the SDK archive has, so both documented no-argument commands exited 1 with “libovclash.so was not found” before running anything. They now use the package root that contains them when it holdslib/libovclash.so, as their.batsiblings and theclash_api/clash_suite_apilaunchers already did.--install-root DIRandOVCLASH_INSTALL_ROOTstill override the choice.The C++ processor sample no longer loses its progress and result lines when built in the Debug configuration on Windows. The pipeline progress, the overlap count, the export and save confirmations and the timing summary were lost while the runtime’s own messages still appeared; the whole run now prints in every configuration.
Documented#
No behaviour changed here; the shipped documentation was audited line by line against the code and corrected where it had drifted.
The canonical pipeline time unit is seconds. The C API reference page, the performance guide and the
python -m ovclashreference all said the opposite ofovclash_settings_t(time code = value x the stage’s authored time-codes-per-second rate). Direct prim-matrix queries take USD time codes; the reference now states that exception.ovclash_release_context()waits, it does not cancel. The C-API skill, the developer guide and the threading guide said it “may synchronously cancel, drain and join” an active async pipeline; both backends wait for completion.ovclash_reset_context()is rejected while a handle is live, andovclash_is_pipeline_running()reports not-running on both backends as soon as cancellation is requested.Header doc comments. Single-threaded mode is off by default on both backends;
ovclash_create_overlap_meshesrecords a “not supported” diagnostic on both backends; both backends clear the full-scene flag on a non-emptyovclash_set_scope_paths(); hard triangle pairs are zero-distance pairs; the cooked-mesh comparison is an ovstage signal and only a failed cook records last-error text;ovclash_suite_create_pipelineneeds no open stage; duplicate-mesh matrices are always zero;ovclash_suite_data_get_last_error(NULL)falls back to the thread-local error;ovclash_suite_get_named_constantaccepts the alias spellings, not the canonical enumerator names. The Doxygen groups now contain every declaration.Shipped skills state the release they describe (
>=0.1.6), name everyovclash_suite_*family, and coverget_query_stats().Packaging claims across the README, SDK readme, Technical Guide and developer guide: the SDK archive carries the consumer docs,
SKILLS.md,skills/, a readme and (when rendered)docs/html/; the wheel carries no rendered site; a packaged sample copy carries only its own platform’s launchers and reads its backend fromsamples/ovclash_backend.txt; the legacy sample runs on whichever runtime it finds.
[0.1.6] - Date 2026-09-04#
Added#
python -m ovclash --logwrites the backend’s progress and exclusion lines to stderr, leaving the JSON summary on stdout intact. Without it, a run that dropped geometry was indistinguishable from a clean one.
Changed#
The pinned ovstage runtime moved from
0.2.0.372377to0.2.0.375291. The library to link against is now the loaderovstage-dynamic.lib/libovstage-dynamic.so, which opens the colocatedovstage.dll/libovstage.soruntime on first use. The wheel and SDK ship both; a consumer that links ovstage itself, or copies a runtime tree out of the install layout, has to take the loader too.The bundled ovstage runtime no longer registers ovstage’s USD schemas.
0.2.0.375291drops theovstage_usd_schemasregistry, so ovclash no longer installs it.ovclash_get_last_error()can now be non-empty after a run that reported success, because the dropped-mesh report below is recorded there. A caller that read “non-empty last error” as “the run failed” changes behaviour on scenes with degenerate geometry; check the status codes ornbCookedMeshesinstead. In exchange the text is scoped to its run: on ovstage a run now clears it on entry, which previously onlyovclash_open_stage,ovclash_get_prim_matrixandovclash_set_scope_pathsever did.ovclash_run_pipeline_stepnow names a rejected step index. An out-of-range index, and one used beforeovclash_create_pipeline, left the previous call’s text standing, soClashRuntime.run_pipeline_stepblamed the failure on an unrelated earlier error. A rejection for pending cancellation still records nothing on either backend.The
[viewer]extra no longer installs Pillow, and its requirements are bounded. Nothing in the shipped Python imports Pillow.numpyandwarp-langnow carry version bounds (numpy>=1.24,<3,warp-lang>=1.16,<2;usd-corestays pinned), sopip install ovclash[viewer]resolves the same way months apart instead of landing on whatever major is current. A workflow that relied on the extra to provide Pillow must install it itself.
Fixed#
import ovclashpublished the ovstage wheel’s namespaced USD plugin registry through the classicPXR_PLUGINPATH_NAMEtoo, so a pipusd-corein the same process raisedTf.ErrorExceptionon its first registry use and the[viewer]workflows failed. It now goes toOV_PXR_PLUGINPATH_2511only, matching the bundled path.A Linux C consumer of the wheel no longer needs
LD_LIBRARY_PATHto start.libovclash.sonames an ovstage library as a direct dependency (thelibovstage-dynamic.soloader against the pinned runtime), but the wheel’s pinned ovstage lives in a sibling distribution outside every directory the library’s RUNPATH named, so a binary built through the documentedfind_packagepath linked cleanly and then died at load with “cannot open shared object file” – and nothing shipped said to setLD_LIBRARY_PATH. The library now carries a RUNPATH entry that resolves to the siblingovstagepackage. The SDK layout and Windows were never affected.Serializing settings with a non-finite value now fails instead of returning unparseable JSON.
ovclash_suite_run_settings_to_query_settings_jsonemitted a barenan/infand still reported success; it now refuses the struct and names the field, asovclash_suite_set_run_settingsalready did. Only a direct C caller could reach it – the Python layer rejects non-finite settings before the call.Assigning
ClashQuery.clash_detect_settingsa mapping JSON cannot encode raisesTypeErrorinstead of silently storing empty settings. Every write path fell back to""on a serialization failure, the native validator accepts an empty settings blob, and the query then ran – and was persisted – on defaults the caller never asked for, producing a clean-looking clash report. A numpy scalar,Decimal, set orpxr.Gfvalue in the mapping is a caller bug and is now named at the assignment, which leaves the previous value in place. Reading a store whose settings text is unreadable stays tolerant, but now logs a warning instead of quietly treating the settings as empty.A mesh PhysX cannot cook is no longer dropped silently. It is still skipped rather than failing the run, but the run reported success with that mesh’s overlaps absent – indistinguishable from a clean scene, the only trace a log line behind the off-by-default
OVCLASH_SETTINGS_FLAG_LOG. Cooking now records how many meshes were dropped and names the first throughovclash_get_last_error()regardless of that flag, andovclash_stats_t::nbCookedMeshesbelownbMeshesminusnbSharedMeshesis documented as the countable signal. ovstage only; the second half of thetrisPerLeaffix in 0.1.5.ovclash_suite_get_last_error()is not reached – Suite callers comparenb_cooked_mesheswithnb_meshes.Ordinary metadata on an ancestor prim no longer makes an unrelated mesh silently stop clashing on the ovstage backend. The root-layer text scrapers track prim paths by counting braces, and a prim-metadata parenthetical such as
customData = { ... }contains braces too, so every descendant of such a prim was recorded one level too shallow – and could overwrite an unrelated prim’s entry, replacing a valid mesh’s topology with a degenerate one. That mesh still counted innbMeshes, cooked to nothing and reported no error, so its clashes simply vanished.customDataandassetInfoon group prims are ubiquitous in exported assets, so this needed no exotic input. Braces inside prim-metadata parentheses are now invisible to the brace accounting.The query-settings JSON now keeps full precision.
ovclash_suite_run_settings_to_query_settings_jsonserialized at the iostream default of six significant digits, so a setting did not survive the round trip: adynamic_end_timeof 239/24 came back as9.95833, and the resulting sample count dropped the final sample of the run. All ten double fields were affected. Parsed values that already fit in six digits are unchanged, but the emitted text is now 17 significant digits, like the rest of the serialized model – the defaultpose_epsilonandarea_epsilonread9.9999999999999995e-07, not1e-06. Settings text stored in a.ovclashdbor spliced into an exported query definition changes with it.A plain
get_overlap_report(i)now returns the geometry it promises. The default flags value wasOverlapReportFlag.DEFAULT, which is 0 and selects no content buffer on this entry point, so the report came back live but with empty faces, outline and points for an overlap that genuinely had them – reading as “this clash touches no geometry”. The default now requestsFACES0,FACES1,OUTLINEandPOINTS0, matching the Suite’sget_overlap_report2, and an explicit flags value still narrows the work. Asking only forDEFAULTorFACES– the legacy selectors this entry point ignores – raisesValueErrorinstead of returning that empty-but-valid-looking report.ovclash.AsyncPipelinestays pollable aftercancel()and afterfinish(). Both release the native cookie, andpoll(),is_running()andstep_data()still called through it, so the documented polling loop raised once the run reached either terminal state.is_running()now answersFalse, andstep_data()answers from the last step observed – settled to finished at full progress when the run completed, kept as observed when it was cancelled. A pipeline that was never polled has no step to report and still raises. The canonical package previously kept the opposite contract fromovclash_suite, whose pipelines became pollable after termination in 0.1.5; the two now agree.Python index arguments above
UINT32_MAXwere silently truncated to 32 bits by ctypes instead of rejected, soget_overlap_record(2**32)returned overlap group 0 and2**32 + kreturned groupk– a valid-looking record for a group the caller never asked for. Everyc_uint32index on the canonical and Suite Python APIs now raisesOverflowError; the native bounds check still owns in-range values past the count.
Documented#
The shipped documentation was audited against the code and corrected where it had drifted. The README claimed the package intentionally omits the Carbonite tasking plugin; that stopped being true at the ovstage 0.2 upgrade – the plugin ships – and the packaged
dependency_audit.txtstamped the same stale claim into every build. The C-API agent skill still described the pre-0.1.5 permissivefind_packagebehaviour instead of the hard failure and itsOVCLASH_ALLOW_MISSING_OVXescape hatch. Three sample READMEs pointed their--stageexamples at the test-fixture directory the packages no longer ship. The Suite C-API skill, the Overview and the Technical Guide were brought back in line with the code as well.
[0.1.5] - Date 2026-09-02#
Changed — breaking#
trisPerLeafabove 15 is now rejected. PhysX validates the value against[2,15], so 16 or more failed every mesh cook – and because a failed cook does not fail a pipeline step, the run reported every step successful with zero overlaps on overlapping geometry. The setters andovclash_suite.RunSettingsnow accept only1..15on both backends. Values below 2 are unchanged: PhysX rejects them too and the existing retry cooks them at 15.find_package(ovclash CONFIG REQUIRED)fails when the ovx include directory cannot be resolved, naming the header and the remedy, instead of reporting success and letting the build fail later on a missing-header#error. SetOVCLASH_ALLOW_MISSING_OVX=ONto keep the old permissive behaviour when the header arrives through compiler flags CMake cannot see.
Changed#
Each package ships only its own platform’s sample tooling, and one sample stage. Both the wheel and the SDK archive carried the other platform’s launchers, and
samples/data/was a copy of the whole 31-file test-fixture directory when the launchers open exactly one stage. The sample READMEs still document both platforms, since the samples themselves are cross-platform.The pinned ovstage runtime moved from
0.1.1.354763to0.2.0.372377. An environment that also pins ovstage directly has to move with it. The plugin set changed underneath –omni.usdgone,carb.taskingnew – which the wheel and SDK hide, but a consumer assembling its own runtime tree by copying from the install layout should re-check what it copies. 0.2 also fixes an ovstage defect that returned instance-root paths absent from the stage.
Fixed#
The Linux wheel no longer ships three copies of the native library. A wheel is a zip and pip cannot restore symlinks, so the
libovclash.sosymlink chain packed three identical 4.4 MB members – 91% of the compressed wheel. It now stages the two names with consumers, the plainlibovclash.soand the SONAME, and the CMake export is retargeted at the SONAME sofind_packageagainst an installed wheel keeps working. 6.05 MB down to roughly 4.22 MB. The SDK archive is unchanged.Shell sample launchers ship executable. They arrived in the 0.1.4 wheels without the execute bit, so the documented
run_*.shinvocation failed withPermission denied. The tracked mode is correct now and both the wheel build and the SDK install set it regardless, so the shipped mode no longer depends on the builder’s umask.USD scene-graph instancing is expanded, so instanced geometry takes part in clash detection. An
instanceable = truereference was invisible to a query: the backend reports one mesh per prototype in prototype space, so every real placement was absent and the prototype copy was collided at coordinates in no stage. Each prototype mesh is now replaced by one mesh per placement. Three defects went with it – nested placements collapsed onto their ancestor’s origin, any non-empty scope dropped all instanced geometry, and an invisible instance root still placed geometry. InstancedUsdGeomPointsno longer abort a run, though they still contribute no geometry.A mesh excluded during
Computing initial mesh data...is now named in the log. A Mesh whose triangulation is rejected is dropped from every later phase whilenbMesheskeeps counting it, so the run returned zero overlaps, exit code 0 and an empty error – indistinguishable from a clean scene. With logging enabled the run now names each excluded prim and why. The exclusion itself and the default output are unchanged.ClashRuntime.set_scope([], [])now clears the scope, as the C entry point has always documented; the Python wrapper skipped the native call when both lists were empty, so an earlier run’s scope stayed applied. Clearing is not the same as whole-stage traversal: an empty scope selects nothing untilset_run_settings(enable_full_scene=True)turns the flag back on, and the header now states that three-state rule.ovclash.AsyncPipeline.is_cancelled()keeps reporting a cancellation aftercancel(). Cancelling has to finish the pipeline, which frees the cookie and clears the native flag, sois_cancelled()answeredFalsefor the rest of the object’s life – making a cancelled run indistinguishable from a clash-free scene. The flag is now latched while the cookie is live. The C ABI was correct and is unchanged.Polling an async pipeline after cancelling or finishing it reports “not running” instead of raising. Both calls release the native cookie, but the polling methods still called into it, so the next poll raised – cancellation was unobservable through the call that exists to observe it. A terminated cookie now answers from the state the facade already tracks. Note the canonical
ovclashpackage keeps the opposite contract: there the handle must not be used afterfinish().save_as()to a.clashDetectiontarget no longer retargets the open store. The legacy container is an export and the native layer deliberately leaves the store on the current.ovclashdb, but Python cached the export path anyway, so a latersave()rewrote the container whileget_file_path()reported the original file.The exported
ovclash::ovclashtarget’s-Wl,-rpath-linknow names directories that can resolve something. It previously named only the package’spluginsdirectory, which holds no shared objects in the SDK and does not exist in the wheel, so the option could never resolve anything; that entry is removed. It now names the library directory, plus – for the wheel, wherelibovstage.socomes from the separate ovstage distribution – that distribution’slibandbin. SetOVCLASH_OVSTAGE_LIBRARY_DIRto name it explicitly. Only existing directories are emitted.A runtime that hands back an instance without a vtable reports a named error instead of faulting. The vendor wrappers dereference the vtable unguarded, so a runtime returning success with an unpopulated vtable faulted on the first
open_stage()of a process, and the compatibility check meant to catch it read through one of those wrappers first. The vtable is now validated where instances are created. A diagnosability change: a process that was going to fail either way now says why.The shipped C++ sample launchers honour
OVCLASH_SAMPLE_BUILD_ROOT. The builders always compiled into that root but the launchers hard-coded their lookup, so redirecting it built the sample and then reported the executable missing – breaking the case the override exists for, since a wheel’ssamples/tree is usually not writable.python -m ovclashleaves stdout to the JSON summary it promises. Bundled plugins narrated stage loading straight to file descriptor 1, landing ahead of the summary so the stream would not parse. They are native and never consult Python’ssys.stdout, so redirecting that could not have helped; descriptor 1 is now pointed at stderr for the run and the summary written to a reserved duplicate of the real stdout.A Windows import failure now names the missing Visual C++ runtime. Windows packages deliberately do not bundle the MSVC runtime, but the failure surfaced as the raw loader text, which names a file that is present and suggests passing a full path that was already absolute. The runtime is probed rather than assumed, so a machine that cannot load the runtime DLLs is told exactly that, and one whose runtime is fine is told the missing dependency is something else. A genuinely missing file, and every failure on Linux, pass through untouched.
A stage path containing non-ASCII characters now opens on Windows. Paths crossing the C ABI are UTF-8, but the narrow
std::filesystemandstd::ifstreamconstructors decode with the ANSI code page, so a Cyrillic, CJK or accented path became a name that is not on disk and the existence check took the same branch as a genuinely missing file. Linux was unaffected, and unicode prim paths never were. The same defect silently emptied six text-USD fallbacks used for classification.A rejected migration target no longer discards an extracted legacy store.
migrate_data_structures_to_latest_version()migrates in place and never creates a missing file, so a not-yet-existing path is refused – but it was refused destructively: the cleanup that deletes the temporary store a legacy container is extracted into ran before the path was checked, so every later read came back empty. The path is now validated first, and both failure paths stopped discarding the reason, now reachable through a newlast_error().
Documented#
The
@returnand@note Errors:clauses of every validating setter name the rejected-value case. The ten validating setters have always refused a bad value, stored nothing and recorded the reason, but only the@briefprose said so – and those two clauses are what IDE hovers and generated documentation show on their own, so a caller could conclude the value could not be refused. No behaviour changed.The Suite settings-JSON documentation no longer claims non-object JSON is rejected. The validator has always accepted any syntactically valid JSON value, or the empty string, and that is unchanged; only the prose was wrong.
The Suite settings field catalogue no longer promises validation the backends do not perform. It grouped
nb_tasks,tris_per_leaf,overlap_codeandtriangle_limitas counts with enforced maxima; onlytris_per_leafbehaves that way.overlap_codeis an unvalidated selector,triangle_limittreats 0 as unlimited, andnb_tasksis clamped to 256 rather than refused while reading back whatever was passed in.max_local_depth_modeis documented as the mode selector it is, not a boolean. It picks one of three algorithms and is validated against[0,2]. Two things the old wording hid:compute_max_local_depthis the on/off gate, so with it clear every mode reports the “not computed” sentinel; and the scale is offset by one fromovclash_max_local_depth_mode_t, so a canonical enumerator passed here shifts the algorithm by a tier andHIGHis rejected outright.The shipped agent skill states the real settings keys and API surface. Every settings example in
ovclash-suite-pythonfailed as written –SettingIdmembers carry aSETTING_prefix, and an unrecognised key is discarded in silence whileset_settings()still returnsTrue. Its API claims were also wrong:set_scope()takes literal prim paths rather than expressions resolved through apxrstage, and several return shapes and type values were misdescribed.skills/is packaged into the wheel, so these reach consumers the way the headers do, and they are written to be executed by an agent rather than read.SKILLS.mdis corrected with them.The shipped
usd-coreguidance no longer contradicts the wheel’s own metadata.SKILLS.mdtold consumers not to installusd-coreat all while the same wheel declares it under the[viewer]extra, which the ovRTX sample needs. The warning now names the extra as the sanctioned exception and records thatusd-corecomes from public PyPI, so the extra needs--extra-index-url. Whether a secondpxrcan shadow the runtime ovclash loads is a separate question, not settled here.
Known issues#
A newline anywhere in the command line crashes the first
open_stage()on Linux. An argument containing a newline – most easily a multi-linepython -cbody – kills the process with SIGSEGV, with no traceback. Windows is unaffected. The cause is upstream in Carbonite, which reads/proc/self/cmdlinewithstd::getlineand so truncates a NUL-separated blob. Workaround: keep newlines out of the argument vector; running the same source from a script file works.
[0.1.4] - Date 2026-08-11#
Changed#
Both Python APIs moved under the
ovclashpackage, asovclash.python.api(canonical C ABI) andovclash.python.suite, so one package directory anchors the Python sources, the native payload and the C SDK.from ovclash import ClashRuntimeandimport ovclash_suitekeep working:ovclash/__init__.pyre-exports the public names and aliases the old submodule spellings insys.modules, and a top-levelovclash_suitemodule aliases the relocated package rather than re-exporting from it, sofrom ovclash_suite._bindings import libstill resolves to the same module object.
Added#
The wheel now ships documentation and agent skills:
docs/(overview, C/C++ quickstart, changelog),SKILLS.md, and one skill per API surface – canonical and suite, each in Python and C.
Fixed#
The wheel’s zip entry timestamps are pinned via
SOURCE_DATE_EPOCH, keyed to the commit that last touchedVERSION. Previously every build stamped entries from file mtimes, so a fresh CI clone produced different bytes for identical source and a republish could never match an already published version. The native payload is not yet reproducible (the link carries a wall-clock timestamp, and signed builds cannot be), so this makes a job retry idempotent, not a pipeline re-run.
[0.1.3] - Date 2026-08-10#
Changed — breaking (C ABI)#
The canonical header moved to
include/ovclash/ovclash.h. Include it as<ovclash/ovclash.h>;<ovclash.h>no longer exists and there is no compatibility shim. Nothing else about the header changed — same entry points, same types, same ABI.It now sits beside
ovclash/ovclash_export.handovclash/version.hunder one library-named directory, matching<ovclash_suite/*.h>, matchingovphysx(<ovphysx/ovphysx.h>), and matching the installed-tree layout the OV Libraries guidelines prescribe. The old split — a bareinclude/ovclash.hnext to aninclude/ovclash/directory — was a standing source of confusion. Shipping the primary header at the include root also risked colliding with any other SDK on the same include path.No deprecation cycle: the library has no external C consumers yet, so a shim would have preserved the confusion for nobody’s benefit.
ovclash_result_tis now a struct,typedef struct ovclash_result_t { ovclash_status_t status; }, matchingovclash_suite_result_t. It was a baretypedef ovclash_status_t ovclash_result_t. Test it asresult.status == OVCLASH_STATUS_SUCCESS; in Python useovclash._bindings.ok(). The struct owns no memory and is safe to copy by value.This exists so the return type can gain fields without changing 81 signatures again, and so a result cannot be silently used as an integer or a bool — which matters here because
OVCLASH_STATUS_SUCCESSis0.Every canonical entry point now returns
ovclash_result_t. Previously the ABI mixed 40voidreturns, 4bool, auint32_tcount and anovclash_async_t*. Values that used to be returned directly now travel in out-parameters:before
after
uint32_t ovclash_create_pipeline(ctx)ovclash_result_t ovclash_create_pipeline(ctx, uint32_t* out_step_count)ovclash_async_t* ovclash_run_pipeline_async(ctx)ovclash_result_t ovclash_run_pipeline_async(ctx, ovclash_async_t** out_async)bool ovclash_is_pipeline_running(async)ovclash_result_t ovclash_is_pipeline_running(async, bool* out_running)ovclash_get_result_string,ovclash_get_last_errorandovclash_get_version_stringstill returnovclash_string_tdirectly: the first two are the error-reporting channel, so routing them through it would be circular, and the third takes no context and cannot fail.There are no compatibility aliases. Note that
OVCLASH_STATUS_SUCCESSis0, so a result must never be tested for truthiness — that is what the struct above exists to prevent. Compareresult.statusagainstOVCLASH_STATUS_SUCCESS; in Python useovclash._bindings.ok().ovclash_set_use_USDRT()is removed. The lowercaseovclash_set_use_usdrt()was previously a forwarding alias and is now the only spelling. The flag remains inert on both backends — it is stored, serialized and reported, and selects nothing.
Added#
ovclash.ClashRuntime.destroy()releases the native context and is now the primary spelling, so the two Python layers name the operation the wayovclash_suite’s main object already does.close()remains as an alias, because the context-manager protocol and existing callers use it. Both are idempotent.ovclash_suite.ClashDatapublishes the legacy-container spellings as class constants:CLASH_DATA_LAYER_FILE_EXT(.clashDetection),CLASH_DATA_FILE_EXT(.clashdata), and the two customData keys written on such a container’s USD layer,CLASH_DATA_LAYER_CUSTOM_CLASH_DB_PATH(clashDbPath) andCLASH_DATA_LAYER_CUSTOM_MODIFIED(clashDbModified).omni.physxclashdetectioncore.utils.get_available_system_memory(), which upstream answers from Kit’somni.gpu_foundation_factory. There is no Kit here, so it asks the OS, and it keeps upstream’s “0 means unknown” return contract.omni.physxclashdetectioncore.config.ExtensionConfig.extension_path, which upstream declares asOptional[str] = Noneand Kit sets at extension startup. There is no extension here, so it keeps Kit’s own default ofNoneand code that reads it — or checks it forNone— behaves the same against this package.
Fixed#
The wheel ships the public headers.
ovclash/include/was staged into the package but was missing from the wheel’s package-data list, sopip install ovclashdelivered theovclash/lib/cmake/ovclashpackage config pointing at an include directory that was not there.The Windows sample wrappers accept options again.
run_clash_api_cpp.bat --release— the spelling the sample READMEs document — aborted with'...\clash_api\--release' is not recognized as an internal or external commandbefore either backend ran, and the same held for--debug,--config,--output-dirand--stageunder the default--backend both. cmd.exe’sshiftshifts%0along with%1..%9, so the%~f0used to re-launch the wrapper once per backend named the last consumed option, resolved against the caller’s current directory. The fourrun_clash_*_{cpp,python}.batwrappers now capture%~f0before parsing, asbuild_wheel.batalready did. The same slip made<wrapper> --release --helpprintUsage: --release; that is fixed in those four plustest_all.bat,build_samples.batand bothrun_legacy_clash_detection_*.bat. Results are unchanged — only argument handling was wrong, and the Linux.shwrappers were never affected, since POSIXshiftleaves$0alone.A persisted transform matrix containing a subnormal value (for example
4.9406564584124654e-324) could not be read back on Linux, which made the wholeclash_frame_inforow unreadable. The reader treatedstrtod’sERANGEas a parse failure, but whetherERANGEis raised for a result that merely underflows to a subnormal is implementation-defined and glibc and the UCRT disagree. Overflow is still rejected.
Documented#
No behaviour changed here; these entries state contracts that were previously left implicit.
The overlap-group index is an identifier, not a rank.
ovclash_get_overlap_datanow says that which group sits at which index is not part of the contract. Two runs over the same stage with the same settings report the same set of groups with the same data, but not necessarily in the same order, and the two backends do not agree on order with each other. Match groups byname0/name1orclashHash, and sort in the consumer if a deterministic sequence matters.
[0.1.2] - Date 2026-08-06#
Added#
Bulk frame fetch on the Suite C ABI:
ovclash_suite_data_get_frames_by_overlap,ovclash_suite_frame_cursor_next,ovclash_suite_frame_cursor_destroyand the opaqueovclash_suite_frame_cursor_thandle. Reading every frame of an overlap throughovclash_suite_data_get_frame_by_overlap_atcosts one prepared statement and a skipped-row walk per frame, which is quadratic in the frame count; a cursor issues one statement and steps it, so the same read is linear.
[0.1.1] - Date 2026-07-01#
First release with the public surface in its current shape: the canonical C ABI installed as
<ovclash.h>(moved to<ovclash/ovclash.h>in 0.1.3), the Suite C ABI underinclude/ovclash_suite/, theovclashandovclash_suitePython packages, theomni.physxclashdetectioncorecompatibility namespace, paired C and Python samples, and an installable SDK and wheel.