
This demonstration program is the solution to my bone animation homework assignment. It shows how quaternions can be used to smoothly tansition between mixed animations. I even make use of a very simple state machine to manage the two parallel animations. This program requires DirectX 9.
The upper right corner shows your display's refresh rate, the frames per second, and the number of times your computer has failed to achieve the ideal frame rate (misses).
1) Use the arrow keys to rotate the camera view. (The camera appears to flip if you get directly above or below the object because the camera's up-vector has been locked.)
2) Press the 'b' key to toggle the bone-view on and off.
3) Press the 'a' key to see the base animation smoothly mix (or unmix) with a side-to-side animation.
The software has minimal error checking, so it will fail if any of the files are missing, or the hardware or drivers are unsupported.