.. include:: ../macros.hrst .. include:: ../abbreviations.hrst .. % This chapter is unchanged from the old user's guide. We need to rewrite it % entirely in near future. For lack of time, I am leaving this as is for now, % since it's not 'wrong' but just 'bad' :). .. _chapter:Animation: Animation ######### In |ParaView|, you can create animations by recording a series of keyframes. At each keyframe, you set values for the properties of the readers, sources, and filters that make up the visualization pipeline, as well as the position and orientation of the camera. Once you have chosen the parameters, you can play through the animation. When you play the animation, you can cache the geometric output of the visualization pipeline in memory. When you replay the animation, playback will be much faster because very little computation must be done to generate the images. Also, the results of the animation can be saved to image files (one image per animation frame) or to a movie file. The geometry rendered at each frame can also be saved in |ParaView|'s PVD file format, which can be loaded back into |ParaView| as a time varying dataset. Animation View ============== ``Animation View`` :index:`\ `\ is the user interface used to create animations by adding keyframes. It is modeled similar to popular animation and keyframe editing applications with the ability to create tracks for animating multiple parameters. The ``Animation View`` :index:`\ `\ is accessible from the :guilabel:`View` menu. .. figure:: ../images/ParaViewUsersGuideAnimationView.png :name: fig:AnimationView :width: 80% :align: center Animation View. As seen in :numref:`fig:AnimationView`, this view is presented as a table. Above the table are controls that administer how time progresses in the animation. These were discussed briefly in \ref{sec:DealingWithTime}. Within the table, the tracks of the animation appear as rows, and animation time is presented as increasing from left-to-right. The first row in the table, simply labeled ``Time``, shows the total span of time that the animation can cover. The current displayed time is indicated both in the Time field at the top and with a thick, vertical, draggable line within the table. Along the left side of the ``Animation View`` :index:`\ `\ is an expandable list of the names of the animation tracks (i.e., a particular object and property to animate). You choose a data source and then a particular property of the data source in the bottom row. To create an animation track with keyframes for that property, click the ``+`` :index:`\ <+>`\ on the left-hand side; this will create a new track. In the figure, tracks already exist for *SphereSource1*'s ``Phi Resolution`` :index:`\ `\ property and for the camera's position. To delete a track, press the ``X`` :index:`\ `\ button. You can temporarily disable a track by unchecking the check box on the right of the track. To enter values for the property, double-click within the white area to the right of the track name. This will bring up the ``Animation Keyframes`` :index:`\ `\ dialog. Double-clicking in the camera entry brings up a dialog like the one in :numref:`fig:EditingCameraTrack`. .. figure:: ../images/ParaViewUsersGuideAnimationKeyframes.png :name: fig:EditingCameraTrack :width: 80% :align: center Editing the camera track. From the ``Animation Keyframes`` :index:`\ `\ dialog, you can press :guilabel:`New` to create new keyframes. You can also press ``Delete`` :index:`\ `\ or ``Delete All`` :index:`\ `\ to delete some or all of the keyframes. Clicking ``New`` :index:`\ `\ will add a new row to the table. In any row, you can click within the ``Time`` :index:`\