Skip to content

Latest commit

 

History

History
182 lines (157 loc) · 20.7 KB

COMPLIANCE.md

File metadata and controls

182 lines (157 loc) · 20.7 KB

Spec Compliance

Coverage of the AOUSD Core Specification v1.0.1, section by section. Features of the C++ reference implementation (OpenUSD) that the specification does not cover are tracked in the openusd README, and the standard schema families (UsdGeom, UsdShade, and the rest) in the openusd-schemas README.

Legend: ✅ Supported | 🚧 Planned | 🤔 Considering

Status is scoped to the feature text in each row. If the implementation covers only part of the referenced spec section, the notes call out what remains before that broader spec behavior can be considered fully covered.

Foundational Data Types (Spec 6)

Feature Spec Status Version Notes
Scalar types (bool, int, float, double, half, string, token, asset, timecode, int64, uint, uint64, uchar) 6.2 ✅ 0.1.1 vt::Value enum
Dimensioned types (vectors, matrices, quaternions) 6.3 ✅ 0.1.2 float2..4, double2..4, matrix2d..4d, quath/f/d, int2..4, half2..4
Algebraic types (opaque) 6.4 ✅ 0.2.0 An opaque attribute carries no value and is stored as its typeName alone
Semantic aliases (color, normal, point, vector, texCoord, frame) 6.5 ✅ 0.7.0 sdf::Role, sdf::ValueTypeName::role / agrees_with (§6.5.1), usd::Attribute::role
Arrays 6.6.1 ✅ 0.7.0 Every scalar and dimensioned array form of the §16.3.10.1 type table, round-tripping through both formats
Dictionaries 6.6.2 ✅ 0.1.2 Including nested dictionaries
Dictionary combining 6.6.2.1 ✅ 0.4.0 Recursive merge of stronger/weaker dictionaries during value resolution
List operations (explicit, composable) 6.6.3 ✅ 0.2.0 int, int64, uint, uint64, token, string, path, reference, payload
List op combining 6.6.3.6 ✅ 0.2.0 ListOp::combined_with
List op reducing 6.6.3.8 ✅ 0.2.0 ListOp::reduced
List op chaining 6.6.3.9 ✅ 0.2.0 Applied during composition arc evaluation

Document Data Model (Spec 7)

Feature Spec Status Version Notes
Layer structure (specs, paths, fields) 7.2 ✅ 0.1.1 AbstractData trait
Spec forms (layer, prim, attribute, relationship, variant set, variant) 7.3 ✅ 0.1.1 SpecType enum
Core metadata fields (layer spec) 7.6.1 ✅ 0.1.2 subLayers, subLayerOffsets, defaultPrim, documentation, etc.
Core metadata fields (prim spec) 7.6.2 ✅ 0.1.2 specifier, primChildren, propertyChildren, references, payload, inherits, specializes, variantSets, variantSelection, etc.
Core metadata fields (attribute spec) 7.6.3 ✅ 0.1.2 typeName, default, timeSamples, connectionPaths, variability, custom
Core metadata fields (relationship spec) 7.6.4 ✅ 0.1.2 targetPaths, variability, custom
Core metadata fields (variant set/variant spec) 7.6.5-7 ✅ 0.2.0 sdf::PrimSpec::add_variant_set / add_variant / set_variant_selection
Spline specialized type 7.4.2.4 ✅ main ts::Spline, the value of an attribute's spline field, read and written in usda and usdc: knots, tangents and their algorithms, extrapolation and loops
Remaining — sampling, breakdown and loop baking
Retiming specialized type (layer offsets) 7.6.1.2.2 ✅ 0.1.2 0.1.2 — parsed from subLayerOffsets
0.4.0 — composed through arcs
0.5.0 — applied during value resolution (§12.3.2.1)

Paths (Spec 8)

Feature Spec Status Version Notes
Absolute/relative paths 8.1 ✅ 0.1.1 sdf::Path
Prim paths 8.1 ✅ 0.1.1
Property paths 8.1 ✅ 0.1.1
Variant selection paths 8.1 ✅ 0.2.0 {set=selection} syntax
Path grammar (PEG) 8.5 ✅ 0.1.4 Parsed from USDA and USDC
Element ordering 8.2 ✅ 0.5.0 sdf::element_cmp
Relative path resolution 8.1 ✅ 0.2.0 Anchoring via make_absolute
Legacy path compatibility 8.7 ✅ 0.7.0 sdf::Path parses target, mapper and expression tails and hyphenated variant set names

Resource Interface (Spec 9)

Feature Spec Status Version Notes
Resource identifiers (URI) 9.2 ✅ 0.1.1 Asset paths via sdf::AssetPath (asset / asset[])
Relative resource identifiers (anchored) 9.4.1 ✅ 0.2.0 sdf::Layer::absolute_path
Remaining — file format arguments (:SDF_FORMAT_ARGS:) are anchored as part of the path
Non-anchored identifiers (search paths) 9.4.2 ✅ 0.2.0 DefaultResolver with search paths
Resolving identifiers to locations 9.5 ✅ main Resolver trait; a path opening with a URI scheme goes to the resolver declaring it (usd::StageBuilder::uri_resolver); a layer saves and exports through its resolver (ar::Resolver::open_asset_for_write)
Resolving extensions 9.6 ✅ main .usd / .usda / .usdc / .usdz dispatch; formats added at run time through sdf::LayerRegistry::add_format, a package format with its reader (sdf::FileFormat::package_resolver)
Packaged resources 9.7 ✅ 0.9.0 asset.usdz[sublayer.usd] syntax and nested packages; ar::PackageFiles
file URI scheme (RFC 8089) 9.8 ✅ main ar::DefaultResolver identifies and resolves a file: URI as the file it names: a local file, a drive path or a Windows share; beside another primary resolver, ar::FileResolver keeps the scheme
usd-anon scheme (in-memory resources) 9.8.1 ✅ 0.4.0 sdf::Layer::new_anonymous / is_anonymous; identifiers spelled anon:<n>:<tag> as in C++

Composition (Spec 10)

Feature Spec Status Version Notes
Sublayers 10.3.1 ✅ 0.1.2 Layer stack construction
Sublayer offset composition 10.3.1.1 ✅ 0.4.0 Offsets compose through nested sublayers; scale <= 0 falls back to identity
References (internal + external) 10.3.2.1 ✅ 0.1.2 Including defaultPrim fallback; authored through usd::ListEdit
Reference namespace mapping 10.3.2.1.1 ✅ 0.3.0 MapFunction with source/target pairs
Reference offset composition 10.3.2.1.2 ✅ 0.4.0 Reference offsets compose with the target layer stack's; scale <= 0 falls back to identity
Payloads 10.3.2.2 ✅ 0.1.2 Composed like references, gated by load rules; authored through usd::ListEdit
Payload loading control 10.3.2.2 ✅ 0.7.0 0.6.0 — pcp::LoadRules, usd::LoadPolicy, Stage::load / unload / set_load_rules, StageBuilder::load
0.7.0 — per-prim usd::Prim::load / unload
Payload offset composition 10.3.2.2.2 ✅ 0.4.0 Composed like reference offsets; an unloaded payload contributes none
Inherits 10.3.2.3 ✅ 0.2.0 Including implied inherit propagation; authored through usd::ListEdit
Inherit namespace mapping (with identity) 10.3.2.3.1 ✅ 0.3.0 from_pair_identity adds (/, /) catch-all
Specializes 10.3.2.4 ✅ 0.2.0 Authored through usd::ListEdit
Specializes global weakness 10.4.1 ✅ 0.3.0 Specializes nodes propagate to the root, where strength ordering places them last
Variants 10.3.2.5 ✅ 0.2.0 Including deferred evaluation after R/P; usd::VariantSets and usd::VariantSet
Variant selection computation 10.3.2.5.1 ✅ 0.2.0 Strongest opinion wins; a set with no selection and no fallback stays unselected, as in C++
Variant fallback map 10.3.2.5.1 ✅ 0.3.0 VariantFallbackMap via StageBuilder
Relocates 10.3.2.6 ✅ 0.3.0 layerRelocates, source path resolution, child remapping
Relocates validation rules 10.3.2.6 ✅ 0.5.0 pcp::InvalidRelocateReason, pcp::RelocateConflictReason
Relocates namespace mapping 10.3.2.6.1 ✅ 0.3.0 Composed with reference arc mappings
Arc permissions (permission = private) 10.3.3 ✅ 0.6.0 sdf::Permission is data-only; composition does not enforce it, as in C++'s Usd-mode caches
LIVERPS strength ordering 10.4 ✅ 0.3.0 ArcType with Ord derived from discriminant
Namespace mappings (MapFunction) 10.5 ✅ 0.3.0 Compose, inverse, longest-prefix matching
Composition errors (non-fatal) 10.6 ✅ 0.3.0 pcp::CompositionDiagnostic, read through Stage::composition_errors
List op arc computation 10.3.2 ✅ 0.2.0 Weakest-to-strongest list-op chaining

Stage Population (Spec 11)

Feature Spec Status Version Notes
Composed stage 11.2 ✅ 0.2.0 Stage::open with depth-first traversal
Populating the stage 11.3 ✅ 0.2.0 Lazy per-prim composition via pcp::IndexCache (C++ PcpCache)
Population mask 11.3 ✅ 0.4.0 StageBuilder::mask; the arc targets of a masked-out prim are never opened
Prim child discovery 11.3.1 ✅ 0.2.0 Merged primChildren with relocate adjustment
Ordered prim children (primOrder reordering) 11.3.1 ✅ 0.5.0 Prim::children; primOrder and relocates applied weak to strong
Ordered property children 11.3.2 ✅ 0.2.0 Merged propertyChildren
Ordered property children (propertyOrder reordering) 11.3.2 ✅ 0.9.0 usd::Prim::property_names; sdf::reorder
Property children include schema declarations 11.3.2 ✅ 0.7.0 usd::Prim::property_names; usd::Prim::authored_property_names for the authored names alone
Scene graph instancing 11.3.3 ✅ 0.8.0 0.5.0 — instances share a composed /__Prototype_N prototype that instance proxies redirect onto, nested instances and target remapping included
0.8.0 — the instance key follows C++ PcpInstanceKey
Model hierarchy (kind) 11.4 ✅ 0.4.0 Model/group/component/subcomponent queries validate the contiguous kind hierarchy
Stage queries (Active, Loaded, Defined, Abstract, Instance, InPrototype) 11.5 ✅ 0.9.0 0.4.0 — status flags and PrimPredicate traversal filtering
0.5.0 — IN_PROTOTYPE and instance-proxy traversal
0.8.0 — the descendants of an inactive prim are off the stage, as in C++
0.9.0 — usd::PrimRange
Session layer 11.2 ✅ 0.3.0 StageBuilder::session_layer

Value Resolution (Spec 12)

Feature Spec Status Version Notes
Metadata resolution (strongest opinion wins) 12.2 ✅ 0.2.0 ValueBlock supported for scalar fields; the special field classes have their own rows below
Specifier resolution 12.2.1 ✅ 0.4.0 def/class/over precedence with direct-inherit awareness
typeName resolution (from prim definition) 12.2.2 ✅ 0.7.0 usd::Attribute::type_name; a schema declaration wins over composed opinions
variability resolution (weakest opinion) 12.2.3 ✅ 0.4.0 Weakest authored opinion wins
custom field resolution (any-true) 12.2.4 ✅ 0.4.0 Logical OR across opinions
Dictionary combining 12.2.5 ✅ 0.4.0 Recursive merge across dictionary-valued opinions
List op resolution 12.2.6 ✅ 0.7.0 Arc lists, connection and relationship targets, clipSets, and any other list-op field
Layer metadata (root layer only) 12.2.7 ✅ 0.2.0 defaultPrim, timing fields, etc.
Fallback values 12.2.8 ✅ 0.8.0 usd::Attribute::get / get_at, a blocked attribute included; usd::Attribute::resolve_info reports the source
Basic attribute resolution 12.3 ✅ 0.7.0 0.2.0 — authored default, timeSamples and ValueBlock
0.5.0 — layer-offset retiming
0.7.0 — asset value resolution
Value clips and splines have their own rows
Time-sample lookup and interpolation 12.3, 12.5.1-2 ✅ 0.5.0 usd::Attribute::get_at: held and linear interpolation over composed samples, with per-node retiming and value clips
Layer-offset retiming during value resolution 12.3.2.1 ✅ 0.7.0 0.5.0 — each node's sample times map to stage time through its composed offset
0.7.0 — timecode values are retimed (sdf::LayerOffset::apply_to_value), and inversely on authoring
Remaining — a clip-sourced timecode still resolves in clip time
Spline evaluation 12.5.3 ✅ main usd::Attribute::get_at reads a spline at a time, retimed through layer offsets: Bezier and Hermite curves, extrapolation and loops. Authored with usd::Attribute::set_spline
Remaining — animation blocks; reading the value just before a time
Interpolation (Held) 12.5.1 ✅ 0.4.0 InterpolationType::Held, chosen per stage by Stage::set_interpolation
Interpolation (Linear) 12.5.2 ✅ 0.4.0 InterpolationType::Linear (the default): every §12.5.2 type, quaternions by slerp; held where a type cannot interpolate
Value clips 12.3.4 ✅ 0.7.0 usd::ClipsAPI, read and write: explicit and template clip sets, manifests (authored, synthesized or generated), time mapping with jumps, and interpolateMissingClipValues
Relationship targets (raw + forwarded) 12.4 ✅ 0.5.0 Composed targetPaths, remapped through arcs; forwarded targets chase relationship chains with cycle breaking; authored through usd::Relationship and sdf::PathListEdit
Attribute connections 12.4 ✅ 0.5.0 Composed connectionPaths, with a stage-wide connection graph that resolves chains to their sources; authored through usd::Attribute and sdf::PathListEdit

Schemas (Spec 13)

Feature Spec Status Version Notes
Schema registry 13.3 ✅ 0.8.0 usd::SchemaRegistry, built from each family's schematics and manifest and set per stage through usd::StageBuilder::schema_registry
Typed schemas (IsA) 13.3.1 ✅ 0.7.0 usd::Prim::is_a over the base chain; usd::Prim::is_in_family with usd::VersionFilter
Applied schemas (HasA) 13.3.2 ✅ 0.7.0 usd::Prim::apply_api / can_apply_api; composed apiSchemas feed usd::Prim::prim_definition
Schema inclusions (built-ins, auto-applies) 13.3.2.1 ✅ 0.7.0 Built-in API schemas expand recursively, multiple-apply templates per instance name; apiSchemaAutoApplyTo
Prim definitions (property fallbacks) 13.3 ✅ 0.7.0 usd::PrimDefinition composes the typed and applied tiers
Core schema types 13.4 ✅ 0.8.0 The usd family (usd::SCHEMAS): usd::CollectionAPI, usd::ClipsAPI, usd::ModelAPI, usd::ColorSpaceAPI, usd::ColorSpaceDefinitionAPI
Value type names 13.3 ✅ 0.7.0 sdf::ValueTypeName, vt::ValueKind; an unregistered type keeps its literal as vt::Value::UnregisteredValue
Extension metadata fields (fallbackPrimTypes, apiSchemas, clips, clipSets) 13.2 ✅ 0.7.0 apiSchemas composition, clips / clipSets value clips (§12.3.4), and fallbackPrimTypes substitution
Schema codegen 13.3 ✅ 0.8.0 openusd-build generates typed views, token enums and Markdown docs from a schema.usda, with metadata fields from plugInfo.json and shader-node views from shaderDefs.usda

Color (Spec 14)

Feature Spec Status Version Notes
Supported color spaces 14.1 ✅ 0.9.0 gf::ColorSpace and gf::color_space_names (C++ GfColorSpace), gf::Color (C++ GfColor)
Core metadata extensions (colorSpace) 14.2 ✅ 0.9.0 sdf::AttributeSpec::color_space, usd::Attribute::color_space
ColorSpaceDefinitionAPI 14.3 ✅ 0.9.0 usd::ColorSpaceDefinitionAPI::color_space
ColorSpaceAPI (inheritance, resolution, default) 14.4 ✅ 0.9.0 usd::ColorSpaceAPI, usd::ColorSpaceCache

Collections (Spec 15)

Feature Spec Status Version Notes
CollectionAPI 15.1 ✅ 0.8.0 Multiple-apply usd::CollectionAPI: include and exclude authoring, the fallbacks a schema declares for its built-in collections, and pattern-based expression mode (sdf::PathExpression)
Authoring and evaluating collections 15.2 ✅ 0.7.0 usd::MembershipQuery over nested and expression collections; included_paths enumerates the members on a stage

Core File Formats (Spec 16)

Feature Spec Status Version Notes
USDA (text) reading 16.2 ✅ 0.1.4 Recursive descent parser with logos tokenizer
USDA (text) writing 16.2 ✅ 0.4.0 sdf::usda::TextWriter; writes C++ testSdfParsing baselines back byte for byte
USDC (binary) reading 16.3 ✅ 0.1.1 Crate format with LZ4/integer compression
USDC (binary) writing 16.3 ✅ 0.4.0 sdf::usdc::CrateWriter
USDZ (package) reading 16.4 ✅ 0.2.0 ZIP-based package reader; a nested .usdz entry reads as its default layer
USDZ (package) writing 16.4 ✅ 0.4.0 sdf::usdz::ArchiveWriter; entries are stored uncompressed, aligned to 64 bytes
Format auto-detection (.usd) 16.1 ✅ main sdf::UsdFileFormat reads a .usd layer as crate or text by its magic and writes a new one as crate