Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RpHAnim Changes
[RpHAnim]

Keyframing support moved to RtAnim

In order to provide a default keyframing engine, the HAnim plugin had been separated in two differents units : RtAnim a keyframing toolkit and RpHAnim a hierarchical animation plugin.

RtAnim is based on RtAnimAnimation, which describes an animation with attached keyframes. To play an animation using RtAnim, you'll have to create a RtAnimInterpolator object which will contain the current state of the animation, and the tables needed to apply and interpolate keyframes.

RpHAnim now relies on RtAnim to provide it's keyframing and interpolating schemes. Where, in previous versions, a RpHAnimHierarchy held the animation's current state and the hierarchical data, it now contains only a reference to an RtAnimInterpolator object and the hierarchical data (matrix arrays, hierarchy definitions, ...). The update process is let to the RtAnimAnimation user (for RpHAnim, see RpHAnimHierarchyUpdateMatrices) as the object does not contain any information about the result's data format.

A collection of legacy macros and typedefs are provided to ease the move to the new system, though direct access to member variables will need to be updated.

The file formats are compatible, and there is no need to re-export data to fit the new system.

The main porting tasks are :


Criterion Software © 1993-2003 Criterion Software Limited. All rights reserved. Built Tue Apr 22 12:46:26 2003. Send Feedback
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)