Exercise
Animating Both a Camera and Filter Parameters
Use the techniques discussed in this section to generate an animated countour in grid data where the camera also moves.
- Load the
RectGrid2.vtk
data set into ParaView. -
Add a Contour filter that computes Scalar values
and is colored by the Z value of its
vectors
data array. - Set up an animation that runs in Real Time for 10 seconds.
- Add an animation of the Countour filter's Isosurfaces property, ramped from 1 to 2.
- Add an animation of the Camera that orbits around the data set.
The following animation required some special care when generating the camera orbit. The Orbit must be created while viewing the dataset from the side, causing the orbit path to be laid out horizontally. Then, double clicking on the "Camera" animation item and then double clicking on "Path..." allows editing of the orbit characteristics:
- Set the "Up Direction" to
(0, 0, -1)
. - Set the "Camera Focus" to
(0, 0, 0.7)
. - Set all of the Z values for the "Camera Position" control points to
-1
.