Skip to content

Conversation

@crescentyue74
Copy link
Contributor

Need to expose this info in a frame pass.
Please advice if there is any better choice.

@hodoulp
Copy link
Contributor

hodoulp commented Aug 18, 2025

As the USD orientation parameter in the USD file is generic (even if Z & Y are the usual cases) , I suggest to keep an orientation parameter (instead of a boolean).

@crescentyue74
Copy link
Contributor Author

As the USD orientation parameter in the USD file is generic (even if Z & Y are the usual cases) , I suggest to keep an orientation parameter (instead of a boolean).

Based on USD doc (https://openusd.org/dev/api/group___usd_geom_up_axis__group.html), only y and z are valid values:
"The stage up axis is encoded as stage metadatum upAxis, whose legal values are "Y" and "Z", as represented by UsdGeomTokens->y and UsdGeomTokens->z. "

The boolean value is enough for USD files.

@crescentyue74 crescentyue74 merged commit 3b41e9f into main Aug 20, 2025
10 checks passed
@crescentyue74 crescentyue74 deleted the xinyue/OGSMOD-7846 branch August 20, 2025 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants