VAPOR users can specify animation sequences using key framing. To design a key-framed animation sequence, the user specifies the camera position (i.e. viewpoint) and the time step at a few different animation frames. VAPOR will smoothly interpolate the time step and the viewpoint so that the camera smoothly moves from one key-frame to the next key-frame, and the time step is linearly interpolated between its values at the key frames.
The following process can be used to create a key framed sequence. Begin with the "Enable Key Framing" checkbox un-checked. The "Current Key Index" should be 0.
Check the "Enable Key Framing" checkbox to see the resulting animation. Set the Current Frame to 0 and click the play button to see how the animation proceeds over time. You may find it useful to adjust the keyframes as follows:
- Set the current key index at the key frame where you want the camera to stop
- Set the speed to be zero (at that stopped key index)
- Without changing the viewpoint, click "Insert New Key frame". This will result in a new key frame with speed 0 at the same viewpoint as the frame where you stopped.
- To control the number of frames between the first stopped key frame and the second stopped key frame:
- Set the key index at the second stopped key frame.
- Set the desired time step at the second stopped key frame.
- Check the box "Advance with time steps"
- Set the "Timesteps per frame" to be the rate (in timesteps per frame) at which you want the time steps to advance while the camera is stopped. Note that this value must be an integer.
It is often useful to have the time steps advance at a constant rate (say 1 time step per frame) while the camera is moving. This can be obtained as follows:
Tips:
For best control of camera motion, have frequent key frames. Between each pair of key frames have simple camera motion, such as a zoom or a translate or a rotate. Combining rotations, translations and zooms in one move can result in unexpected camera behavior.
When zooming into a scene, do not specify viewpoints that pass through the rotation center (which is a point in the center of the camera view). The key-frame interpolation cannot interpolate through the rotation center. To specify an animation path that passes through the center of the scene, specify the rotation center as a point on the opposite side of the scene, and use that rotation center during the zoom-in. Check "viewpoint and lighting" for instructions on specifying the rotation center using the probe.