Skip to content

Conversation

@pierrebai-adsk
Copy link
Collaborator

When exporting with the -unit or -upAxis flags, bake the scaling and rotation into the vertices positions instead of having a global rotation or scaling on the root nodes. That is the preferred way user want to work.

In particular, adding transformations (scaling or rotation) on the root nodes clashes with other USD layers that studio want to put on top. Those layer may come from other sources. So baking the position is preferred as it does not affect other layers that are composed over the exported data.

@pierrebai-adsk pierrebai-adsk force-pushed the bailp/2969/bake-export-unit branch from 946215e to 57970fe Compare December 3, 2025 21:39
@pierrebai-adsk pierrebai-adsk added the adsk Related to Autodesk plugin label Dec 3, 2025
@pierrebai-adsk pierrebai-adsk self-assigned this Dec 3, 2025
When exporting with the -unit or -upAxis flags, bake the scaling and
rotation into the vertices positions instead of having a global rotation
or scaling on the root nodes. That is the preferred way user want to
work.

In particular, adding transformations (scaling or rotation) on the root
nodes clashes with other USD layers that studio want to put on top.
Those layer may come from other sources. So baking the position is
preferred as it does not affect other layers that are composed over the
exported data.
@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Dec 4, 2025
@pierrebai-adsk pierrebai-adsk added ready-for-merge Development process is finished, PR is ready for merge and removed ready-for-merge Development process is finished, PR is ready for merge labels Dec 4, 2025
@antonkhelou antonkhelou added import-export Related to Import and/or Export and removed adsk Related to Autodesk plugin labels Dec 4, 2025
@antonkhelou antonkhelou merged commit 21cd358 into dev Dec 4, 2025
11 checks passed
@antonkhelou antonkhelou deleted the bailp/2969/bake-export-unit branch December 4, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

import-export Related to Import and/or Export ready-for-merge Development process is finished, PR is ready for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants