Main Page
Modules Alphabetical List Data Structures Data Fields
RtAnimAnimation Struct Reference
[RtAnim]
Collaboration diagram for RtAnimAnimation:
Detailed Description
A keyframed animation consists of an array of keyframe structures,
along with some flags and a duration.
The keyframes should be presented in the order they are needed
to animate forwards through time. That is, the next keyframe at
some point in the sequence should correspond to the node whose
previous two keyframes are next to expire as an interpolation
pair.
Put another way, the correct ordering can be achieved by sorting
an unordered keyframe array using the following primary and
secondary sort keys:-
- time of previous keyframe for node
- node index
An example is shown in the following diagram, where each vertical
bar indicates a keyframe point in time. The position of the
keyframe within the animation sequence is shown by an index to the
left of each bar.
t=0 t=duration
node 0 kf0..| kf3.......| kf8....| kf10....|
node 1 kf1..| kf4...| kf6........| kf11....|
node 2 kf2..| kf5.....| kf7..| kf9.........|
Each node MUST have an initial keyframe at time = 0.0, and a
terminal keyframe at time = duration of the animation.
Pointers link all of the keyframes for a particular node
backwards through time in a list.
- See also:
- RtAnimAnimationCreate
Field Documentation
|
Pointer to custom data for this animation
|
|
Duration of animation in seconds
|
|
Specifies details about animation, relative translation modes
etc.
|
|
Pointer to interpolation scheme information
|
|
Number of keyframes in the animation
|
|
Pointer to the animation keyframes
|
© 1993-2003 Criterion Software Limited. All
rights reserved. Built Tue Apr 22 12:46:08 2003. Send Feedback