Repository navigation
This release fills the gaps in the hand-written APIs of openusd-schemas. Most schema families now reach feature parity with their C++ counterparts. Opening and traversing a heavy scene is 2× to 15× faster than in 0.8 and takes less memory. @doubleailes contributed many of the composition changes behind those figures.
Also in this release: stages share layers through one sdf::LayerRegistry, color spaces resolve as C++ UsdColorSpaceAPI resolves them, and the .usda writer matches OpenUSD's text output in more cases.
Performance
Each run opens the stage and traverses every composed prim, reading its type name. Wall is whole-process time and memory is peak heap.
| Scene | Scenario | Prims | Wall 0.8 | Wall 0.9 | Speedup | Heap 0.8 | Heap 0.9 | Change |
|---|---|---|---|---|---|---|---|---|
| ALab 2.3 | open + traverse | 12,195 | 32.1 s | 2.8 s | 11.3× | 6,077 MiB | 4,772 MiB | −21% |
| ALab 2.3 | open + traverse, mmap | 12,195 | 30.7 s | 2.0 s | 15.3× | 1,562 MiB | 257 MiB | −84% |
| ALab 2.3 | + decode all arrays | 12,195 | 36.4 s | 4.5 s | 8.2× | 6,929 MiB | 5,624 MiB | −19% |
| Caldera | open + traverse | 53,639 | 3.0 s | 0.85 s | 3.5× | 636 MiB | 430 MiB | −32% |
| Caldera | open + traverse, mmap | 53,639 | 2.8 s | 0.75 s | 3.8× | 371 MiB | 165 MiB | −56% |
| Caldera | + decode all arrays | 53,639 | 6.8 s | 2.7 s | 2.5× | 647 MiB | 441 MiB | −32% |
| Caldera | + decode all arrays, mmap | 53,639 | 6.6 s | 2.6 s | 2.5× | 382 MiB | 176 MiB | −54% |
| Moana Island | open + traverse | 135,034 | 12.1 s | 5.7 s | 2.1× | 3,400 MiB | 2,749 MiB | −19% |
| Moana Island | open + traverse, mmap | 135,034 | 11.8 s | 5.5 s | 2.1× | 2,753 MiB | 2,101 MiB | −24% |
| Moana Island | instance proxies | 416,549 | 28.9 s | 12.4 s | 2.3× | 7,432 MiB | 5,869 MiB | −21% |
| Moana Island | instance proxies, mmap | 416,549 | 29.9 s | 12.6 s | 2.4× | 4,507 MiB | 2,943 MiB | −35% |
Measured with the open_bench example of each version: release builds with the mmap feature, warm page cache, Windows 11, 16 cores, 94 GB RAM, median of 3 runs. Both versions traverse the same prims and decode the same arrays in every scenario.
Compliance
New AOUSD Core Spec coverage in this release:
9.7Packaged resources11.3.2Ordered property children11.5Stage queries14.1Supported color spaces14.2Core metadata extensions (colorSpace)14.3ColorSpaceDefinitionAPI14.4ColorSpaceAPI
Changes
Schemas (openusd-schemas)
UsdGeom:
- Compute purpose info and proxy prims on
Imageable(1c6b4d0) - Author and query xform ops on
Xformable(77018b6) - Author transforms through
XformCommonAPI(24190a9) - Validate mesh topology and compute tet mesh surfaces (bda87bc)
- Compute curve and point data sizes (e1e59f4)
- Create and validate geom subsets (f57c5e2)
- Mask and prune
PointInstancerinstances (d42ab19) - Carry points and instances by velocity (4bdba35)
- Compute points and instance transforms from arrays (fe33dc0)
- Read and author the stage up axis as
geom::UpAxis(e41f955) - Compute extents from shape parameters (19ac7a0)
- Cut repeated work in subset and held reads (f44cd0f)
- Compute a boundable prim's extent by type (febb26a)
- Read and author a model's extents hint (d591a97)
- Place point instances at the default time (7c6ea9a)
- Cache the bounds of prims per time (5c523c6)
- Bound an imageable prim in one call (f017088)
- Compute instancer extents and extents hints (774233f)
- Check instance times before reading the instancer (c38d5d6)
- Resolve draw modes and constraint targets (de188b5)
- Refuse a matrix xform a stronger order shadows (8dd7e03)
- Read and author a camera prim as a
gf::Camera(66f434f) - Expose geom primvar, xform-op and up-axis helpers (78e8b7d)
- Create geom subsets in one stage edit (5131112)
UsdShade:
- Resolve bindings to the relationship that wins (15280d7)
- Port the shading connection edits and doc fields (c8f6492)
- Port
CoordSysAPIbindings and their resolution (5e056c8) - Port
UsdShadeUdimUtilsand expand UDIM tiles (55de6e1) - Port base materials and the arc list editors (6a4f6c1)
- Port the material-bind subsets (470b585)
- Resolve
bound_materialto aMaterialprim (c3af19e) - Look up connectable behaviors through a registry (20311ef)
- Check shading connections against behaviors (cfa4f94)
- Move the
NodeDefqueries ontoNodeDefAPI(75cfb1d) - Connect shading attributes as C++ does (0a4bb1b)
- Author material variants and master variants (51454ff)
- Anchor preview-surface texture paths (408e624)
- Configure connectable behaviors from plug metadata (2d5d64e)
- Stringify sdr metadata values as C++ does (9d67588)
- Resolve bindings on applied
MaterialBindingAPIonly (a288cb5) - Expose
Material::base_candidates(455bbc5) - Build a connection source from a path (dc5c3a2)
- Add
CoordSysAPI::binding_base_name(d3219a0)
UsdLux:
- Compute a light's blackbody color (9ad779f)
- Reach a light's link collections (35fe0e1)
- Name a light's shader per render context (0b8e7c3)
- Turn a dome light to the stage's up axis (9375048)
- Compute and cache a prim's light list (0cc1cda)
- Connect lights and light filters as shading nodes (e6ee313)
UsdSkel:
- Resolve skel bindings the way
UsdSkelCachedoes (887b336) - Compute skel skinning transforms in skeleton space (feaecc0)
- Fill sparse skel animations from the rest pose (d719181)
- Extrapolate skel blend-shape weights like C++ (5480470)
- Skin skel normals through the inverse-transpose (a3c242e)
- Port the UsdSkel utilities and
AnimQueryfailures (9dd9c73) - Pose skeletons through a time-varying
SkeletonQuery(48a3646) - Skin prims through a time-varying
SkinningQuery(7fece09) - Port
UsdSkelInbetweenShapeandBlendShapeQuery(d2c8284) - Port dual-quaternion skinning (d7d061d)
- Port
UsdSkelCacheasskel::Cache(9066760) - Share one pose's skinning factors across prims (d20dfed)
- Compute
SkeletonandSkelRootextents (97e22b7) - Add UsdSkel authoring helpers (35a04cc)
- Bake skinned geometry into layers (80b0096)
- Bake extents and extents hints after skinning (5f30119)
- Save the layers a skinning bake writes (a91a77e)
- Name the blend-shape weight attribute on
AnimQuery(adeb0f5) - Expose a skinning query's binding properties (a479e8f)
- Construct skinning queries and bindings directly (f043782)
- Take the legacy-binding mode per call (fc20af7)
- Skin interleaved joint influences (b75a520)
UsdPhysics:
- Port
UsdPhysicsMassUnitsasphysics::mass_units(3acb5d2) - Port
UsdPhysicsMassProperties(8839133) - Port
RigidBodyAPI::ComputeMassProperties(72e52ad) - Port
UsdPhysicsLoadStageFromPrimRange(bb9058e) - Expose the physics joint-limit sentinel (d0b5fcf)
UsdRender:
- Require a camera for each render product (b91f185)
- Gather a render prim's settings as C++ does (e9f8a08)
- Read a render pass's collection and stage settings (210f721)
- Follow connected outputs in render settings (8fc5433)
UsdVol:
- Bind volume fields as C++
UsdVolVolumedoes (12cc98f)
UsdMedia:
- Read and write an asset's default thumbnails (8c4bb43)
- Find an asset's default previews by layer path (e148d00)
UsdUI:
- Read and write UI hints through
ui::Hints(3d0389e) - Read and write prim display-group hints (22f2140)
- Read and apply attribute value labels (f36bf29)
Fixes:
- Find no prim at a path that names none (923d32c)
Schema codegen (openusd-build)
Features:
- Emit
owns_propertyfor prefixed multi-apply views (02673aa) - Rename the plug-info builder and error (f114a2e)
Stage (usd)
Features:
- Author stage metadata through the stage (7ad2794)
- List a prim's children and descendants by status (c929463)
- Walk a prim's descendants lazily (3143567)
- Tie a composed status to its prim's stage (a8b0cdd)
- Report the opinion that shadows an edit target (065dfe0)
- Ask whether an opinion is shadowed at a time (9d86a81)
- Let a property builder join a stage edit (f86365e)
- Add
PrimRange::prune_childrenandfiltered_subtree(7ab085d) - Define undefined ancestors in
Stage::define_prim(6d1e745) - Walk a prim's ancestors with
Prim::ancestors(49a6f58) - Block targets and connections by name (6026313)
- Share object metadata through
usd::Object(78ab343) - Split a property's name into its namespaces (df569f5)
- Edit object metadata by dictionary key path (4b3309b)
- Open a stage on a layer already read (c274550)
- Author variant selections and variant specs (08067ea)
- Read and author a prim's variant sets (ceb626a)
- Define prims inside a stage edit (16b64b2)
- Compose stage metadata from the session layer (6a8a74f)
- Add interval and bracketing reads to
AttributeQuery(fa17c43) - Tally what composing and settling cost (bafd942)
- Read
fallbackPrimTypesfrom the session layer too (feb3624)
Color spaces:
- Compute the color space name that applies to a prim or an attribute (10e4b23) by @doubleailes
- Port
GfColorSpaceand resolve color spaces (5ead921)
Shared layers:
- Share layers through a registry's handles (d10fa4c)
- Read and edit a stage's layers through handles (5b052da)
- Record stage commits through layer subscriptions (1b6b3c4)
- Share layers between stages on one registry (bf2e4e9)
- Drop undo steps a shared layer's edit makes stale (7e533cc)
- Free a payload's layers when it unloads (f598a8e)
- Free a muted layer and read it again on unmute (899db2c)
- Hold value-clip layers in the stage's graph (c29a164)
- Reload layers from their assets (96f560b)
- Build layers over shared data (fc70910)
- Free no layer under a composition borrow (37f62b0)
- Reconcile the edits a layer load commits (3d87ccf)
- Reclaim layers only at a composition boundary (836cffc)
- Reclaim layers as every edit ends (a022f64)
- Keep what undo steps and clip sets still read (3ba2478)
- Lend one layer at a time from a layer store (78622a8)
- Read layers through live handles (93e2c4e)
- Take only the layers a namespace edit writes (fcc3134)
- Hand out the layer a spec site names (1957db7)
Change processing and notices:
- Record the prims each invalidation drops (5b86332)
- Add the work set's settlement pass (fddad1c)
- Poison a stage a composition panic interrupts (b51acea)
- Settle the prims an invalidation drops (7780aa9)
- Report recomposed prims apart from subtree resyncs (35e04e6)
- Report what composition's layer loads drop (28de217)
- Report the prims a failed-load retry repairs (c2f22ef)
- Refresh clip sets a restale re-points (2055d64)
- Retry failed loads only where composition asks (76f8ab7)
- Deliver what composition finds, in notice order (a0afee5)
- Keep user code from re-entering a part-built stage (59e73e4)
- Recompose only what a load-rules change reaches (b5662ca)
- Refuse sink changes a flush cannot deliver before (d3e5af4)
- Resync a prim whose children or properties a layer reorders (5169dfc) by @doubleailes
- Report reorders the way C++
UsdStagedoes (347fb0e) - Resync a prim whose type, kind or clips change, as
UsdStagenotifies (0fea94a) by @doubleailes - Rebuild a prim only for edits the stage reads (6c845e6)
Undo and replay:
- feat(usd): group
UndoStageedits into undo steps (8a9dae7) by @bresilla - Keep
UndoStagegroups whole on reset, undo and unwind (d61d2f1) - Record edits a sink makes while an undo replays (516278f)
- Replay and undo a child-list reorder (9405d26)
Namespace editing and child order:
- Keep child order when undoing a removal (fa8e6fb) by @joseph-wardle
- Place created specs among their siblings (0442386)
- Keep a renamed object's place among its siblings (6b5caf2) by @joseph-wardle
- Propagate read errors from a rename's slot (ac453b7)
Property order:
- Sort a prim's property listings by path element ordering (828939b) by @doubleailes
- Move
propertyOrdernames to the front (a4e6bb3) - Sort property listings as C++ does (60b0b83)
- Sort a prim definition only when one composes in (831b14e)
Schema registry:
- Order a schema's ancestors as
TfTypedoes (e481efa) - Strip usdGenSchema plug-info keys in the registry (cb6ea38)
- Read empty apply-info lists from
extraPlugInfo(a7812f8) - Answer
SchemaRegistry::is_afrom bases computed at build (525d208) by @doubleailes - Resolve auto-apply from schema lineages (6a44ead)
Collections:
- Compute a collection rule map's membership as one path expression (9e0ccf6) by @doubleailes
- Pass over undecided rules in collection membership (4c00883)
- Order and filter a rule map's expression entries (f3bacbb)
Value clips and time samples:
- Probe a clip set without reading a value (4467984)
- Answer
might_be_time_varyingwithout opening clips (b20ba72) by @doubleailes - Resolve a clipped query's source without opening its clips (66b0ee6) by @doubleailes
- Read only scheduled clips and validate the schedule (affb5cb)
- List the time before a clip jump as a sample (189722e)
- Read a declared attribute from value clips (2a7bef8)
- Hold the earlier sample before a blocked one (6725868) by @joseph-wardle
- Hold a sample pair less than 1e-6 apart (f9801a0)
Flatten:
- Name the flatten mode asset anchoring needs (8b1c1ce)
- Anchor asset paths when flattening a stage (7fd618f)
- Prune inactive prims when flattening a stage (76edc4f) by @joseph-wardle
- Prune inactive subtrees in the flatten walk (af1dae3)
- Keep instancing when flattening a stage (cb8f28e)
- Bake value clip samples when flattening (0415333)
- Bake the blocks a value clip set authors (37fc93e)
Composition engine (pcp)
Performance:
- Pre-cache inherit targets once per build (3cb3f91) by @doubleailes
- Wire only the layers a load adds (f4450aa) by @doubleailes
- Key dependency sites by layer stack (24ecc2e) by @doubleailes
- Answer instanceability once per index (5defa49) by @doubleailes
- Record instanceability when an index is built (c3b803e)
- Find layer dependents through their stacks (d4e2445) by @doubleailes
- Read a stack's users from the stack-keyed sets (776d0c0)
- Share composition graph data with child prims (318767f)
- Remove the inherit-target pre-cache pass (00451e4)
- Drop the unused variant selections from the context (7a56375)
- Scan only property names two sites author (09383e8)
- Fold child names over the layers with a spec (62c4553)
- Rank only the nodes that author a selection (2963afe)
- Read
instanceablebefore partitioning nodes (c54f614) - Scan the arena for the nodes at a site (246ca87)
- Skip the conflict scan for a one-site prim (f08d42c)
- Read attributes from the prim's spec stack (875e525) by @doubleailes
- Skip the spec rescan for a node without specs (fa1fbd7) by @doubleailes
- Cull spec-less subtrees from stage prim indices (a73f672) by @doubleailes
- Derive a prim's enclosing instance from its parent (8790b85)
- Answer
Allat once for an empty load-rules table (52060ba) - Keep a prim's population answers in one record (3d5001e)
- Build a property's query path once per node (c8baa96)
- Skip spec-less layers and unauthored arc tasks (5b7f61b)
- Map variant-set paths down the node tree once (c517932)
- Drop a subtree's dependencies in one pass per site (64bae26)
- Drop a change round's prim indices in one batch (e0daefa)
- Check only reachable rules when minimizing (3c2bc29)
- Filter each site once per removal round (fff58b3)
- Find a path's prototype root with one lookup (d760bd2) by @doubleailes
- Gate prototype lookups in the registry (fd16dcc)
- Add traversal and status phases to
open_bench(3f5c07d) - Add an edit benchmark over growing scenes (40662eb)
Fixes:
- Revalidate relocates when a join meets loaded ones (4b4fd75)
- Rescan inert seeded nodes for specs (99e2f5a)
- Fix gaps in culled-node erasure (6f9aed2)
- Answer erased-site standing inside prototypes (532e6e6)
- Read variant selections as C++ does (d301a54)
- Load sublayers authored on anonymous layers (73a6511) by @doubleailes
- Resolve anonymous-layer paths without an anchor (889878f)
- Number prototypes from
__Prototype_1, as C++ does (3cd4f59) by @doubleailes - Keep a prototype when the instance it was composed from goes (6b8611b) by @doubleailes
- Settle a retired prototype's work where it returns (49ac937)
- Match mutes on an anonymous root to the layers they load (7d9353a)
Scene description (sdf)
Features:
- Hold each
ListOpitem once (9e03c48) - Read list-op metadata as its declared type (efd7123)
- Port the
SdfListEditorProxyvocabulary (68a867a) - Anchor inherits and specializes paths at the prim (57ba26b)
- Write the inherits and doc fields by keyword (497a853)
- feat(sdf): add
Layer::compute_absolute_path(bfa1b57) by @bresilla - Anchor asset paths through
Layer::absolute_path(14bd2d4) - Anchor authored asset paths in one function (f046f04)
- Type core metadata fields and convert writes (8aca6fa)
- Append a child name without parsing it as a path (f450e48) by @doubleailes
- Refuse malformed appends and share the child join (5af9af0)
- Append single prim names with
append_child(504a483) - Refuse expressions nested more than 128 calls deep (d719e3e)
Performance:
- Hash a path once, when it is made (c5cbb65) by @doubleailes
- Hash
Path-keyed maps withrustc-hash(3659932) - Hash a path's text with
rustc-hash(085dac9) by @doubleailes - Key path maps with the path hasher (deb690a)
- Slice a path's root prim from the path itself (1998ed8)
- Cache a path's prim element count (3366b9c) by @doubleailes
Values and foundations (vt, tf, gf)
Features:
- Move value types from
sdfinto avtmodule (a7c8a38) - Walk values through one generic transform (29f90d1)
- Transform values as C++
VtValueTryTransformdoes (7266b73) - Add
vt::Value::Path, a value holding one path (440e5f6) by @doubleailes - Keep a single path a plain value (101145d)
- Add
tf::HashState, C++TfHash's state over byte strings (a4c84e3) by @doubleailes - Factor and decompose
gfmatrices and rotations (478f9fe) - Give
TimeCode::safe_stepits safety factor of two (669797b) - Add
gf::Range3dandgf::BBox3d(b802611) - Rename
gf::Matrix4dtogf::Mat4d(81673c3) - Name
Mat4dpoint transforms afterGfMatrix4d's (cdb36bd) - Shorten geom, skel and gf API names (6182daa)
- Shorten API names across the crates (e0db52b)
- Convert between a range and extent corners (c1abf56)
- Add a camera value and projection math to
gf(aba7fad) - Add a frustum to
gf, with planes and rays (bfcc306) - Hold a frustum's planes across many tests (9c93518)
- Add
Mat4d::remove_scale_shear(0541bf9)
Text format (usda)
Features:
- Buffer and stream the usda writer (d1abf92)
- Write numbers through
tfand keep frames typed (ad35862) - Write usda scalars through
stream_out(494f441) - Refuse usda prims and dictionaries nested more than 256 deep (80c6c36) by @joseph-wardle
- Bound usda nesting with one shared budget (4b2469f)
Fixes:
- Order a prim's properties by first appearance in usda (e3c871f) by @benngarcia
- Keep every list op statement of a relationship in usda (71d39f7) by @benngarcia
- Read
hiddenandnoLoadHintas bools in usda (79881f0) by @benngarcia - Anchor relative paths in usda at the nearest prim (e075b72) by @benngarcia
- Set each usda list op statement's items by its type (2622aa9)
- Write numbers, bools and matrices in usda as OpenUSD does (881b5a7) by @benngarcia
- Declare an attribute in usda only where OpenUSD's text writer does (c840774) by @benngarcia
- Lay out prims, layers and strings in usda as OpenUSD does (4b71d96) by @benngarcia
- Write path, reference and payload lists one per line in usda (0d1458f) by @benngarcia
- Write metadata, dictionaries, variants and the layer header in usda as OpenUSD does (61127c7) by @benngarcia
- Read and write
permissionandsymmetryFunctionin usda as OpenUSD does (29bcbe9) by @benngarcia - Match OpenUSD's text writer in more usda cases (02bfc6c)
- Write usda splines and layer fields as C++ does (88d8a03)
Binary format (usdc)
Features:
- Write the oldest crate version a layer needs (24a6848) by @denizmaral
- Write a path expression as a heap string index (afdedd3)
- Raise the crate version per element written (257e66f)
Fixes:
- Sign-extend inline int64 values read from usdc (b684471)
- Read empty string and asset arrays from usdc (aeb8b55) by @yohawing
- Read every value array header like C++ (63cdd68)
- Write a token for the root of an empty usdc layer (9f4986a) by @joseph-wardle
- Write usdc tokens as C++
CrateFiledoes (f7b273e)
Packages (usdz)
Features:
- Anchor inside packages in
sdf, not the resolver (01571cb) - Keep a climb above a package's root (4651774)
- Take a package's root layer from its first entry (332fab6)
- Hold package listings beside the layers read from them (c7f779f)
- Fall back for search paths inside packages (c433313)
- Read packages anew when their layers reload (cc9e8b0)
- Reload the layers of a changed package together (c8588a4)
- Recompose what a changed package anchors (2077b79)
- Name a package's listing
PackageFiles(900ea31) - Read every layer of a rewritten package again (aecb6a1)
Fixes:
- Open USDZ archives at their first byte (53de56b)
Utilities (usd_utils)
Features:
- feat(usd_utils): package a layer not on the stage (5643342) by @bresilla
- Package and walk a layer the stage does not hold (38d7113)
- Split dependency discovery into locate and admit (f899419)
- Probe each UDIM set once during discovery (7b30ddb)
- Identify a UDIM set by its first tile (9b5a15f)
Fixes:
- Put the UDIM pattern back at any package depth (42c560d)
- fix(usd_utils): strip brackets from moved entries (cde477f) by @bresilla
- Read a moved entry's name inside its packaged path (a304ba2)
- Tell plain data from a crate value's type in the asset path walk (c5f0f46) by @doubleailes
- Read field kinds from types in the asset path walk (b18ea63)
Workspace
- Add a placeholder for
openusd-imaging(26c81d8)
Dependencies: