PDA

View Full Version : Exporting cal3d animation creates too many keyframes


tgoulart
03-04-2013, 06:50 PM
I have a very sparse 40 frames long animation, with keyframes on frames 0, 20 and 40. When I export either CAF or XAF files, I get an animation with 41 keyframes, one for each frame. Shouldn't cal3d files keep my original keyframes?

Veleno
03-13-2013, 08:39 AM
Hi tgoulart,

What's going on here is that cal3d can store keys for position and rotation but does not currently have a way to directly store or use the tangent data needed to control the interpolation between keyframes. For this reason, animations are simplified to 1 keyframe per frame upon export. The exporter also has an option where you can adjust the sample rate (e.g. to 1 keyframe every 10 frames), though this isn't ideal for most animation.

tgoulart
03-18-2013, 04:36 PM
Hi, Veleno.

Thanks, that was clarifying. Too bad that the tradeoff here is so extreme.

In the meantime, I managed to get the latest cal3d exporter to compile and modified it to export keyframes only, I'll just assume linear interpolation everywhere.