Animating Transient Data
Screenplay can control properties of solution history nodes that are connected to
.simh
files.
By this means you can create animations that playback simulation history data in conjunction with other effects such as camera motion. The keyframe hold facility allows you to momentarily freeze playback for particular emphasis on a chosen frame.
When you wish to playback solution view frames in a Screenplay animation, you must make sure that the Representation property of the visible scene displayer is set to the same simulation view whose frames you are controlling. If you wish to use playback data from multiple simulation history files, you must define a displayer in the scene for each associated simulation view, and, (if necessary), hide or show displayers using their Opacity property.
To include simulation history data in a Screenplay:
- Prepare one or more solution views. For details, see Transient Solution Data Workflow.
-
For each solution view node, drag the appropriate frame control property onto the Screenplay editor panel. You can choose from
State Index,
Iteration,
Time Step, or
Solution Time.
Any of these solution view node properties have the same general purpose, that is, controlling which frame of the solution view is displayed in the scene.
- Select the first keyframe in the action and set the Value property to the first solution frame you want to view in the sequence.
- Select the last keyframe in the action and set the Value property to the final solution frame you want to view in the sequence.
- To add a freeze-frame effect on an intermediate frame in the range being viewed, add an extra keyframe, set the Value appropriately, and increase the time allocated to the keyframe Hold property.
- To control other visual effects, such as opacity and visibility, drag onto the Screenplay editor the appropriate properties of the displayer whose Representation property is set to the correct solution view.
- To enhance the animation with fly-around and zoom effects, see Controlling the Camera View in the Animation.