Re: [Plib-devel] Implement ssgAnimTransform?
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2004-10-26 02:26:11
|
Wolfram Kuss wrote: > Steve Baker wrote: > > >>So create a ssgTimedSelector - put an ssgTransform node under it for >>each animation step - then have them all point to the same (or perhaps >>different) child objects. > > > If I uderstand correctly, ssgTimedSelector can only be used for > "discreet" (non-continuous) movement? > > With the way I have in mind, I can interpolate between the matrices to > get a fairly smooth animation. Oh - I'm sorry - I didn't catch that part. Just let's try to keep it as similar to the ssgTween stuff as we can so as not to multiply the number of control methodologies any more than we have to. The existing ssgTweenController class can be used to drive the amount of tween between the matrices - so all you need is a derived class from ssgTransform that allows the matrices to be tweened in the same ways as an ssgTween node does. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |