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

Ghoul2 importer updates #69

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Conversation

SomaZ
Copy link
Contributor

@SomaZ SomaZ commented Aug 30, 2024

Besides skipping changing between object and pose mode to force matrix updates, we also set keyframes outside of the transform loop.
It also doesnt change the scene frame anymore (no measurable performance gains though)

With the updated code I can import all rancor animation frames in round about 6 and a half minutes on my machine at no visual difference to the animations. Before it took nealy 40 minutes to import all these frames.

Besides skipping changing between object and pose mode to force matrix updates, we also set keyframes outside of the transform loop.

It also doesnt change the scene frame anymore (no measurable performance gains though) -> implements: mrwonko#55
One can now set default values for the base path and scale of imports and exports. Import GLA frame range is only drawn when range is selected for the animation import. Skin files can now be chosen via a dropdown instead of copied manually.
@SomaZ SomaZ changed the title Speedup GLA import Ghoul2 importer updates Sep 2, 2024
New cfg parsing option will add all animations into NLA tracks which is faster than just importing all frames the usual way.

Also added an option to export either from timeline markers or from NLA strips.

TODO: Add custom properties for sequence looping and fps to the actions and maybe add a custom panel to change these in NLA view
Adds a panel in the nla editor, so editing the fps and looping from the overview of all animations is possible and added a second panel in the actions section of the dopesheet editor. So working on an action directly also shows the options directly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant