The Developer's Blog

Recording some thoughts of Nathan Lydick

A utility class to handle weighted blending of values, created for use in my transition to data-driven animations rather than hard-coded ones. A Blendable<T> is just a wrapper around a T value and a float weight with some convenience functions to allow blending between them and applying the value from a starting point (the default animation pose, if you will).

In working on the new data-driven animations, I needed to ensure that the C++ code was reading and writing the animation data correctly. Because I like the format, I am using YAML for the data files (though JSON is also supported by the C++ code). I felt it was easier to just read and then write t...