Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect bindTransforms being determined during export #1024

Merged
merged 8 commits into from
Dec 23, 2020

Conversation

ysiewappl
Copy link
Contributor

Hi:

This PR fixes an issue that was noticed while I was working on #1016, where: under the situation where a joint does not have its bindPose attribute populated with a correct bind transform matrix, the resulting exported USD is incorrect (object has an offset that appears different to what is represented in Maya). This is because the exporter assumes a default identity matrix if it cannot find data on the plug to use.

An example of this problem is shown below, where you can see that the offending bind transform was assumed to be an identity matrix by the exporter (both spheres should have the same Y-value):
image

Please review and raise any concerns.

@kxl-adsk
Copy link

@ysiewappl Thank you for another great contribution.

Just wanted to let you know that on Autodesk side we have an extended holiday break, returning in January.

Have a wonderful holiday season!

@kxl-adsk kxl-adsk added import-export Related to Import and/or Export ready-for-merge Development process is finished, PR is ready for merge labels Dec 22, 2020
@kxl-adsk kxl-adsk merged commit 4d6ce53 into Autodesk:dev Dec 23, 2020
@ysiewappl ysiewappl deleted the bindtransform-export-bug branch December 23, 2020 18:37
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.

None yet

4 participants