
Data Fields | |
| RtAnimInterpolatorInfo * | interpInfo |
| RwInt32 | numFrames |
| RwInt32 | flags |
| RwReal | duration |
| void * | pFrames |
| void * | customData |
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:
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.
|
|
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-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:44 2004.
Send Feedback