Animations: Finding the next keyframe

If an boned animation consists of the vertexed model at the start frame, and a series of matrices that define how to transform those vertices into the keyframes, then how do I get hold of the ?list of matrices that represent the keyframes of an animation? Presumably such a matrix instance can be exposed to the Vertex shader in the Material Definition file.



Actually, its more complicated than this isn’t it? A boned animation consists of a set of vertices with each vertex weighted onto one or more bones. Keyframes are matrices defining the transform of the bones which when calculated with consideration of the weights give the position of the vertex at the keyframe. In which case I believe I am after the jME3 structures that hold the bones, their vertices, and the relative weights, plus the list of matrices applied to the bones over the keyframes.