Hi David,
...hmm...good question.Can't you modify or derive your
RotPos...Interpolator class in that way every time it gets triggered, it
will pass its curent trransform3D to the transformGroup of the camera ? If
that is possible, modify it: (just a suggestion...)

public void processStimulus(Enumeration e)
{
     super.processStimulus(e);
     TransformGroup tg = super.getTarget();
     Transform3D trans = new Transform3D();
     tg.getTransform(trans);
     //do some Transform3D calculations...
     cameraTransformGroup.setTransform(trans);
     wakeupOn(...);
}
Or try to use getAxisOfRotPosScale() to retrieve the current Transform3D
from your RotPos...Interpolator

IMHO = In My Humble Oppinion :-)

Gernot
[EMAIL PROTECTED]





                    David Hall�
                    <[EMAIL PROTECTED]>        To:     [EMAIL PROTECTED]
                    Sent by: Discussion         cc:
                    list for Java 3D API        Subject:     Re: [JAVA3D] 
Synchronizing interpolator and view
                    <JAVA3D-INTEREST@JAV        transformgroup
                    A.SUN.COM>


                    11.02.00 12:14
                    Please respond to
                    Discussion list for
                    Java 3D API






[EMAIL PROTECTED] wrote:

> Hi David,
>
> IMHO, in the first render loop your viewBehavior gets triggered. But
> according calculation will be done in the next loop. Why don't you apply
> the objects transformation against the transformGroup of your camera in
the
> same render loop ?

Yes I agree. But I don't have any control on the objects transformation. It
is done by a
RotPosScaleTCBSplinePathInterpolator that triggers on an ellapsedFrames
count of zero.
Have you any idea to perform your suggestion?
Thanks a lot.

(a stupid question: IMHO meaning??? Sorry......)

David.




______________________________________________________________________________

Si votre email etait sur iFrance vous pourriez ecouter ce message au tel !
http://www.ifrance.com : ne laissez plus vos emails loin de vous ...
gratuit sur iFrance :  emails (20 MO, POP, FAX), Agenda, Site perso

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