Skip to content
New issue

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

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

Already on GitHub? # to your account

Investigate speeding up keyframe insertion #495

Closed
HENDRIX-ZT2 opened this issue Dec 28, 2021 · 0 comments · Fixed by #506
Closed

Investigate speeding up keyframe insertion #495

HENDRIX-ZT2 opened this issue Dec 28, 2021 · 0 comments · Fixed by #506
Assignees
Labels
Improvement The issue improves on existing functionality

Comments

@HENDRIX-ZT2
Copy link
Contributor

Currently, fcurves are updated for each key that is inserted. It would probably be faster to first precompute the final keys as a list and then insert them all in one go.
This could be a significant bottleneck for animation import.

https://blender.stackexchange.com/questions/92287/editing-fcurve-keyframe-points-in-fast-mode

Ideally, rewrite the key transforms to vectorize them with numpy so as to use less overhead. Especially interesting if the new codegen gives the data as arrays already.

@HENDRIX-ZT2 HENDRIX-ZT2 added New Feature A new feature not currently implemented Improvement The issue improves on existing functionality labels Dec 28, 2021
@HENDRIX-ZT2 HENDRIX-ZT2 self-assigned this Dec 28, 2021
@HENDRIX-ZT2 HENDRIX-ZT2 removed the New Feature A new feature not currently implemented label Apr 3, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Improvement The issue improves on existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant