Blender Git Loki

Git Commits -> Revision 1ecfffe

June 8, 2015, 13:09 (GMT)
Initial fcurve simplification code.

Notes:
* This is own coocking, since it seems hard to find papers on simplifying already existing bezier curves,
and we do not really need the 'generic' least-square fitting of bezier in a set of points, here.
* It takes advantage of specificities of FCurves (e.g. only difference that matters here is Y value at same X frame,
no vertical overlapping, etc.).
* It gives reasonably good results, but could most likely be enhanced quite a bit still.
* Only 'hooked' to bake action operator right now (needs more work to add it to graph editor too).
* Ultimately should probably be redone in C. Would keep it in Python until we have a real good
cleanup behavior though, much easier to experiment in later language.

Commit Details:

Full Hash: 1ecfffeced1386f15e2f33696388a60237bd4b19
Parent Commit: bcfe38a
Lines Changed: +312, -1

2 Modified Paths:

/release/scripts/modules/bpy_extras/anim_utils.py (+303, -0) (Diff)
/release/scripts/startup/bl_operators/anim.py (+9, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021