﻿# OpenUSD metric datasets: apply assembly corrections instead of relabeling units

Preserve physical dimensions in OpenUSD render datasets by separating stage metersPerUnit and upAxis metadata from composed asset transforms and actual world-space measurements.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-openusd-stage-units-assembly-corrective-transform/
Language: en

## Define the dataset's physical convention

A synthetic scene can look plausible with an object at the wrong physical scale, especially when the camera is adjusted to fit it. A model learning depth, size or metric pose still receives incorrect supervision. Define the destination world's distance units and orientation before assembling assets. Preserve the source asset's conventions so a later export can explain which conversion produced the actual rendered dimensions instead of relying on its appearance in a viewer.

## Read stage metadata without assuming conversion

The [linear-unit documentation](https://openusd.org/release/api/group___usd_geom_linear_units__group.html) defines stage-wide meters per unit and assigns corrections for differently scaled references to the assembler. Changing the metadata value alone does not perform that corrective geometry operation. Record whether a value was authored or came from the documented fallback. An asset's filename or nominal category does not establish its units, and an unauthored metric should not silently become a confident statement about physical measurement.

## Account for orientation independently

The [up-axis reference](https://openusd.org/release/api/group___usd_geom_up_axis__group.html) describes the stage's orientation convention. Preserve the source and destination axis choices separately from scale. A camera transform that makes an asset appear upright does not establish the object's intended world orientation. Apply and record the required assembly rotation where appropriate, then validate it using recognizable geometric directions rather than inferring orientation from an image that may hide a symmetric object's axes.

## Measure fully composed world quantities

The unit documentation warns against assigning physical meaning to raw point or translation values while ignoring intervening scales. The [transform-cache reference](https://openusd.org/release/api/class_usd_geom_xform_cache.html) provides composed local-to-world queries. Evaluate geometry under the intended transforms and time before interpreting a world distance in stage units. Keep cache validity consistent with stage edits; stale composed transforms can make a corrected asset appear numerically unchanged to an exporter even after the renderer receives updated scene data.

## Verify a known-size diagnostic object

Place a reference object with documented dimensions beside the imported asset and inspect composed world measurements as well as the rendered image. Repeat after changing a parent transform. The guides to [renderer compatibility](/journal/gpu-llm-renderer-compatibility-matrix/) and [image coordinate integrity](/journal/data-guide-image-exif-box-coordinate/) provide adjacent context. Preserve units, axis conventions and applied corrections with the training sample so metric labels can be reproduced from actual world geometry rather than guessed from stage tags or camera framing.
