WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Exporting cal3d animation creates too many keyframes (https://forum.worldviz.com/showthread.php?t=4509)

tgoulart 03-04-2013 06:50 PM

Exporting cal3d animation creates too many keyframes
 
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.


All times are GMT -7. The time now is 03:32 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC