AL_USDMaya icon indicating copy to clipboard operation
AL_USDMaya copied to clipboard

Respect upAxis metadata when reading usd

Open pmolodo opened this issue 6 years ago • 2 comments

AL (as opposed to the built-in pixar plug in) ignores the "upAxis" setting in the root metadata of a usd scene.

For an example, download and import the KitchenSet provided by pixar (http://graphics.pixar.com/usd/downloads.html), which has upAxis = "Z"

pmolodo avatar Jul 12 '18 21:07 pmolodo

When you say ignore, do you mean on export? or when importing a proxyshape? Having looked through the pxrMaya code, the only place that seems to pay attention to the upAxis is when exporting from a maya scene to a USD file. I can't see any obvious place where that flag is tested on import, or within the confines of the proxy shape?

robthebloke avatar Jul 30 '18 06:07 robthebloke

I mean on read / display in a pixar proxyShape. Haven't tested the file import behavior. And not sure how they're handling it - maybe they're enabling some obscure or oddly named flag which enables handling somewhere within usd? - but I know that they bring shapes in so a z-up scene displays in maya "corrected" so y is up.

pmolodo avatar Jul 30 '18 16:07 pmolodo