I have posted a while ago the way I have solved this:
You create your own MyAlpha class subclass of Alpha where you can actually
set the resulting return value
This way you have full control!!!!
very easi and efficient
-----Original Message-----
From: Marco Lohse <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, October 27, 1999 9:49 PM
Subject: Re: [JAVA3D] Alpha and PathInterpolator


Hi,
I think the problem is that an Alpha object cannot be paused. I solved this
problem by detaching the Behavior so that it becomes inactive and read the
protected members lowerKnot and upperKnot and read the TransformGroup´s
Transform3D of the Behavior. To restart the Behavior I recreate the whole
thing starting with the stored values of the Transform3D and the rest of the
animation data starting with lowerKnot. Then I reatched the Behavior.
I know this is not the best solution but maybe someone has a better idea,
like usinf an Alpha Object with pause-function.

Marco.

----- Original Message -----
From: Rajesh Jain <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 27, 1999 7:36 AM
Subject: Re: [JAVA3D] Alpha and PathInterpolator


> I have a very similar problem, I have multiple RotPosScalePathInterpolator
interpolators and
> I would like to dynamically control them , i.e Pick a Particular
BranchNode and
> Pause interpolator on it using a KeyStroke. Then dynamically read the next
set of interpolation
> matrices for this interpolater and start the Interpolation again.
>
> Any suggestions on how to do this will be of great help.
>
> Thanx.
> --
>                         Rajesh Jain ([EMAIL PROTECTED])
>                         Parametric Technology Corp
>                         http://www.ptc.com
>
>
> > Jeong Kyu Kim wrote:
> >
> > Hi all
> >
> > I am developing a small application controlling animation of humanoids.
I am using VRML loader
> > 0.90.2 from VRML-Java3d working group and humanoid specification 1.1
from VRML humanoid animation
> > working group.
> > In the program, I am using RotPosScalePathInterpolator for each joints
in humanoid model and the
> > Pathinterpolators are using one Alpha and the knots value are serving as
keyframe times for the
> > animation of humanoid.
> >
> > My question is..
> >
> > I would like to know how to pause and resume the
RotPosScalePathinterpolators and how to read
> > quaternion, position and scale values when the animation is paused.
> >
> > I guess methods of pathinterpolators only give the values on the
specified index and the whole
> > array of values. I need to know values between knots and create new
keyframe dynamically.
> > The pathinterpolator seems to initialize transform matrix of
transformgroup when it's created and
> > i don't know how to read transform of the behavior applied.
> >
> > Should i create new interpolator?
> >
> > Thanks
> >
> > Kyu
> > [EMAIL PROTECTED]
> >
> > RMIT University
> > Animation and Interactive Media
>
>
===========================================================================
> 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".

===========================================================================
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