hope it helps;)

Transform3D eye = new Transform3D;
//look at params : position of the eye, where it is looking, and the up
direction.
eye.lookAt(new Point3D(0,10,5), new Point3D(0,0,0), new Vector3d(0,1,0));
eye.invert();

this.universe.getViewingPlatform().getViewPlatformTransform().setTransform(e
ye);

> How do I use the lookAt() function? I'm a bit dopey!
> cheers
> KP
>
> --- Lan Wu-Cavener <[EMAIL PROTECTED]> wrote: > You may
> use LookAt() function in Transform3D class.
> > I don't know how to
> > control the time.
> > Just an idea.
> >
> >
> >
> > At 02:34 PM 7/22/2002 +0100, you wrote:
> > >Hi everyone,
> > >     I want to move the view platform, so it looks
> > down
> > >on my scene (a computer room). Then I would like to
> > >move to a different view, move the platform from
> > one
> > >place (birds eye) to another, during the running of
> > >the program.
> > >
> > >I'm not sure how to move the view platform to the
> > >birds eye view I require, any suggestions or code
> > >would be much appreciated!
> > >cheers
> > >KP
> > >
> > >
> > >__________________________________________________
> > >Do You Yahoo!?
> > >Everything you'll ever need on one web page
> > >from News and Sport to Email and Music Charts
> > >http://uk.my.yahoo.com
> > >
> >
>
>===========================================================================
> > >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".
> >
> > Lan Wu-Cavener
> > Dept. of Landscape Architecture
> >
> >
>
===========================================================================
> > 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".
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
>
===========================================================================
> 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