My final project for computer animation focuses on keyframed animation. It creates a flight path from a series of keyframes.
When the user initally starts the program, the helicopter and default keyframes load. The keyframes are stored as a series of positions and quaternions. 'k' toggles the keyframes visible and hidden. The selected keyframe is highlighted in purple, and the user can iterate through all the keyframes by pressing 'f'.
The selected keyframe can be translated and rotated to create a flight pattern of the user's choice. Holding '1' while clicking and dragging the mouse causes the keyframe to translate in the direction of the mouse. Holding '2', '3', and '4' while clicking and dragging rotate the keyframe around the x, y, and z axes, respectively.
The user can alternate between flying a helicopter and a paper crane using the 'h' key.
A goal for the project that did not happen due to time constraints was to have clouds floating through the sky that were created from a particle system. Pressing the 'p' key shows the partially completed clouds hovering in the sky.
The skybox is implemented using a texture wrapped around a cube. The picture used for the texture is one I took on a hike at Point Mugu, CA a few weeks ago.
Pressing the space bar causes they object to start flying. The object is interpolated between the keyframes using a Catmull-Rom spline.