blender_niftools_addon icon indicating copy to clipboard operation
blender_niftools_addon copied to clipboard

Investigate speeding up keyframe insertion

Open HENDRIX-ZT2 opened this issue 4 years ago • 0 comments

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 avatar Dec 28 '21 14:12 HENDRIX-ZT2