Hi,

I have a fairly large geometry being animated on screen with a Path
Interpolator. When the geometry reaches the end of the path, I want to
overlay a component on top of it.

The way I do it now is by subclassing the Interpolator and in my
Interpolator.processStimulus() method I verify when the alpha has reached
a value of 1. When it has, I make the component pop-up.

On slower computers, however, this doesn't work properly because the
rendering lags behind, and the component pops-up before the animation is
over.

What is the best way to solve this problem? Is there like a "rendering
queue" that I can check? Subclassing Canvas3D and overriding
postSwap() doesn't help because it doesn't know how many other frames are
left to render in the animation.

Thanks

Jimmy

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to