Blender Git Loki

Git Commits -> Revision 9a41cbf

Revision 9a41cbf by Gaia Clary
March 11, 2018, 20:07 (GMT)
Feature Collada: Added AnimationCurveCache for exporting sampled animations

Details:
When exporting sampled Animations to Collada we need to create sample
data for every Animation curve. However it turns out to be extremely
slow when we repeatedly step over the entire animation for each curve.

The solution is to only step over the animation once but cache all needed
animation data in a cache. Once the animation has been processed,
all export information is located in the cache and can be easily
read from there.

The AnimationCurveCache is the first try to proof the concept.
This is work in progres and may still change a lot.

Commit Details:

Full Hash: 9a41cbfb1c89446810da895d78607be2e8cde6cd
Parent Commit: c5e258a
Lines Changed: +520, -0

2 Added Paths:

/source/blender/collada/AnimationCurveCache.cpp (+390, -0) (View)
/source/blender/collada/AnimationCurveCache.h (+128, -0) (View)

1 Modified Path:

/source/blender/collada/CMakeLists.txt (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021