Animation Overview: All VAPOR data sets (VDC's) are indexed by time. The time step, a non-negative integer, is the same for all renderers in a visualizer. Each VAPOR renderer operates on the data for the current time step. The animation tab controls the changing of the current timestep. There is also support in the animation tab for key-framing. By using key-framing, users can specify the position and motion of the camera, and the changing of the current timestep, during an animation sequence.
Animation settings can apply to one or many different visualizers, depending on the Local/Global setting.
Time step control: The current time step can be controlled either by the animation toolbar or by the animation tab. In the animation tab, there is both a "Current Frame" and a "Timestep" setting. These two (current frame and timestep) are equal when key-framing is disabled. When key-framing is enabled, the "Current Frame" goes forwards and backwards during the animation, however the change of Timestep is controlled by the key frame settings, and may move differently from the Current Frame. Likewise, the Start and End textboxes indicate the first and last time step to be played when key framing is disabled. When key framing is enabled, the Start and End textboxes go from 0 to the last frame in the key-framed animation sequence.
The animation toolbar (at the top of the main VAPOR GUI window) has buttons to play forward or backwards or stop; to move one step forward or backward, and a text box indicating the current time step, as shown:
:
The animation tab has additional buttons for jumping to the start or end of the animation, plus the ability to enable continuous replay, to set the start and end time step, and to jump multiple steps at a time.
Global/Local scope: The Global/Local scope selector at the top of the animation tab is only used when there are multiple visualizers. With Global scope, all visualizers use the same time step. With Local scope, a visualizer has its own time step (and animation control) independent of the other visualizers. This can be used to make side-by-side comparison of the visualized data at different time steps.
Animation speed: The speed is of course limited by the time for the various renderers to complete, however the animation panel can influence the frame rate. The "Max Frames/Second" value determines the maximum frame rate, and will force the rendering to perform no faster than specified.
Key Frame Settings: The key frame settings enable users to specify a moving camera position, and to control how the time steps in the data change as time progresses. Refer to the page "Creating a key-framed animation" for more detailed instructions. The key frame settings include the following:
Explicit Time Steps: Sometimes the valid time steps in a data set are not simply a collection of evenly spaced integers. When you animate through such data, VAPOR will automatically skip over time steps for which there is no data. To better control such a sequence of time steps, check the box labelled "Use Explicit Time Steps". When checked, the time-stepping is limited to the time steps that are specified in the list of time steps. The time steps are necessarily increasing but any time steps may be skipped.
Capturing animation: To capture a sequence of images: From the Capture menu, choose "Begin image capture sequence in visualizer No. ...", and choose a jpeg or tiff file name, such as "file.tif". Then perform the animation, either by clicking on the "play" button, or rotating the scene, or making other changes in the visualization. Every time the visualization changes, another image will be captured. The names of the captured files are constructed from the name you supplied by adjoining a 4-digit number to the file name; e.g. file0000.tif, file0001.tif, file0002.tif, etc. When the animation is complete, click on the Capture menu again, and select "End image capture sequence". If you need to convert the sequence of jpeg or tiff images to a movie file, this can be done with various software tools such as QuickTime Pro or ffmpeg.
Displaying the time: The current time step index can be displayed in the scene. This is enabled under "Time Annotation" in the Visualizer Features Panel. If the data has time stamps (e.g. WRF or Ocean data) then the current time stamp can be displayed in the scene. The text size, position, and color for this annotation can also be set in the Visualizer Features Panel.