]> git.mxchange.org Git - simgear.git/commit
New interpolation/animation system.
authorThomas Geymayer <tomgey@gmail.com>
Fri, 15 Mar 2013 22:37:17 +0000 (23:37 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Fri, 15 Mar 2013 22:37:17 +0000 (23:37 +0100)
commitc9bbbd18ec08b00bb6c16d335b3e4e487a3609d9
tree5776b668edfd133d203a1994dbe024fc9a604597
parente08eda18d5953e4859034a49906409c2df0cd743
New interpolation/animation system.

Inspired by jQuery.animate() properties can be interpolated using
different easing functions and specifying an animation duration.
Additionally animations can be chained to get table-based
animations like with the current SGInterpolator, or also create
looped animations or other more complicated curves.

Currently this system is not used yet, but it is intended to
replace SGInterpolator and allow more advanced animations of
eg. also colors, for example, for the canvas.
13 files changed:
simgear/props/CMakeLists.txt
simgear/props/PropertyInterpolationMgr.cxx [new file with mode: 0644]
simgear/props/PropertyInterpolationMgr.hxx [new file with mode: 0644]
simgear/props/PropertyInterpolator.cxx [new file with mode: 0644]
simgear/props/PropertyInterpolator.hxx [new file with mode: 0644]
simgear/props/easing_functions.cxx [new file with mode: 0644]
simgear/props/easing_functions.hxx [new file with mode: 0644]
simgear/props/easing_functions_test.cxx [new file with mode: 0644]
simgear/scene/util/CMakeLists.txt
simgear/scene/util/ColorInterpolator.cxx [new file with mode: 0644]
simgear/scene/util/ColorInterpolator.hxx [new file with mode: 0644]
simgear/scene/util/parse_color_test.cxx
simgear/simgear_config_cmake.h.in