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

Apply transforms on export #36

Open
buu342 opened this issue Mar 7, 2024 · 3 comments
Open

Apply transforms on export #36

buu342 opened this issue Mar 7, 2024 · 3 comments
Assignees
Labels
Enhancement New feature or request Plugin This issue is related to the plugin

Comments

@buu342
Copy link
Owner

buu342 commented Mar 7, 2024

Add a checkbox for applying all transforms on export (on by default). This should mitigate a really common beginner mistake of moving stuff in object mode.

Animations should have their keyframe indices marked, then the animation must be baked, and only marked indices should be exported. This will prevent that annoying bug where scaled armatures don't scale rotations as well.

@buu342 buu342 added Enhancement New feature or request Plugin This issue is related to the plugin labels Mar 7, 2024
@buu342 buu342 self-assigned this Mar 7, 2024
@buu342
Copy link
Owner Author

buu342 commented May 14, 2024

This is actually a pain to do, and most plugins (including official ones) don't bother or warn it's problematic with animations. What we should do is get the object's world matrix and scale all vertices by it. Said matrix also includes scaling and stuff from the parent.

buu342 added a commit that referenced this issue May 14, 2024
@buu342
Copy link
Owner Author

buu342 commented May 14, 2024

Turns out that this is still a pain to do with animations :))))))

@buu342
Copy link
Owner Author

buu342 commented May 23, 2024

In the meantime, I added a warning in fc47441 for when the user attempts to export a model with unapplied transforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Plugin This issue is related to the plugin
Projects
None yet
Development

No branches or pull requests

1 participant