----- Original Message ----- From: "Mike Butt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 06, 2001 10:57 AM Subject: [JAVA3D] Alpha Manipulation
> I am building an application at the moment and need some interpolator > control. I can pause/unpause an interpolator smoothly manipulating alpha > and can also make it jump to different points in the interpolator. > > I have read the other mail but cannot find an answer to the following > questions. > > 1)How do I reverse alpha to get the interpolator going in the other > direction? My first try would be to construct Alpha with both INCREASING_ENABLE & DECREASING_ENABLE true, setIncreasingAlphaDuration(0) and setDecreasingAlphaDuration(downslope). > 2)How do I slow down/speed up the interpolator using the alpha object so > that the animation is not jumping around the path? > > 3)Will i need to "extends" the alpha class to perform this sort of > functionality? Probably not. I set and reset Alpha in the Listeners for the events that request a change. I suppose that a strict constructionist would insist on posting an Id in the Listener and making the changes in a Behavior.processStimulus(), but I've had no obvious problems attributable to that little tweak. > > I am using a rotPosPathInterpolator for the points in the animation. > > Any help much appreciated, > > Regards, > > Mike Butt > > ================================================================ =========== > 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". > > =========================================================================== 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".
