[Papervision3D] pv3d >2.1 - DAE animation playframe X
paul at paultondeur.nl
Mon Jul 13 15:04:56 PDT 2009
I'd say that the easiest (and probably the only) way for doing this is
by defining an animation clip that starts and ends at the same time.
Animation clips are time based and not frame based. When I'm right
it's based on 30 fps. So when you want to play frame 7, you have to
divide it by 30 first in order to get the time:
var frameTime:Number = 30 / 7;
Then we can define an animation clip
var animationFrame:AnimationClip3D = new
Make the model aware of the clip
And finally play the clip
I've just quickly tested this. It looks likes this works fine here. As
far as I know this is the only way to render just a single frame out
of an animation.
I hope this works for you.
On Jul 13, 2009, at 11:47 PM, speedok wrote:
> I made this before pv3d '2.1' and talked with Tim about this and he
> gave me
> possible directions (sadly i didnt had time for it yet and lost his
> sorry Tim:)).
> Basically what i want to do it play a certain frame in the animation
> Anyone allready made something like this ?
> (if not ill dive into this once again:))
> View this message in context: http://www.nabble.com/pv3d-%3E2.1---DAE-animation-playframe-X-tp24470009p24470009.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
> Papervision3D mailing list
> Papervision3D at osflash.org
More information about the Papervision3D