guc icon indicating copy to clipboard operation
guc copied to clipboard

Calculate prim extents

Open pablode opened this issue 2 years ago • 0 comments

The USD glossary says:

Gprims are boundable, and should always submit to computing an extent (even if it be an empty extent), and valid UsdGeom scene description should always provide an authored extent on a gprim that captures its changing shape (if its shape is animated).

We therefore should calculate a prim's bounding box and call SetExtentsHint.

pablode avatar Apr 26 '22 09:04 pablode