Dear Mr. Pine Peng

use this class to zoom with the mouse

import com.sun.j3d.utils.behaviors.mouse.MouseZoom;

I believe there is a demo for it also in the colleteral.(spelling mistake)


or if u want it to zoom automatically when the robot is moving u can pass
the viewplatform transformgroup to the same behaviour and do your own
customized zooming

Ahmed

-----Original Message-----
From: pine peng [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 14, 2000 5:19 PM
To: Ahmed Shakil
Subject: Re: Re: [JAVA3D] Position & Rotation Interpolators - Movement
Simulat ion


Dear Mr. Ahmed,

What I actually want to do is to place a button in the panel, the size of
the cube will change while I have clicked the buton. I have realized slide
and transform, but i don't know how to zoom, can you give me some
suggestions?

Thank you!
B.RG.S
Pine Peng




----- Original Message -----
~{7"<~HK~}: "Ahmed Shakil" <[EMAIL PROTECTED]>
~{JU<~HK~}: "'pine peng'" <[EMAIL PROTECTED]>
~{7"KMJ1<d~}: 2000~{Dj~}4~{TB~}15~{HU~}
~{VwLb~}: RE: Re: [JAVA3D] Position & Rotation Interpolators - Movement Simulat
ion


> You have to be more specific in what you mean by zooming. what do you
wanna
> zoom??
>
> Ahmed
>
> -----Original Message-----
> From: pine peng [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 13, 2000 7:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Re: [JAVA3D] Position & Rotation Interpolators - Movement
> Simulat ion
>
>
> Dear Mr. Ahmed,
>
> Your program can realize Sliding, but what I also want to do now is
Zooming.
> Can you show it for me?
> Thank you!
>
> B.RG.S
> Pine Peng
>
>
> ----- Original Message -----
> ~{7"<~HK~}: "Ahmed Shakil" <[EMAIL PROTECTED]>
> ~{JU<~HK~}: <[EMAIL PROTECTED]>
> ~{7"KMJ1<d~}: 2000~{Dj~}4~{TB~}14~{HU~}
> ~{VwLb~}: Re: [JAVA3D] Position & Rotation Interpolators - Movement Simulat
ion
>
>
> > try this. just a sample how to do it. if need more help I will be
> available
> > after the weekend.
> >
> > Ahmed
> >
> > -----Original Message-----
> > From: Shahbaz Hafeez [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 10, 2000 9:39 PM
> > To: [EMAIL PROTECTED]
> > Subject: [JAVA3D] Position & Rotation Interpolators - Movement
> > Simulation
> >
> >
> > Hello,
> >
> > I'm simulating movement of a basic robot (or well trying to) using
Java3D
> > with great difficulty.
> > The robot is to move around on the ground (x and z coords) in a virtual
> > environment given a user set of commands read in from a file, such as:
> >
> >   FORWARD 10
> >   TURN LEFT 90 DEGREES
> >   FORWARD 5
> >   TURN RIGHT 90 DEGREES
> >   REVERSE 10
> >
> >
> > My main problem is that I am unsure as to how to implement this, and the
> > best way to do it. I have tried Using PositionInterpolator and
> > RotationInterpolator to be executed in sequence without success..
> >
> > If someone could possibly show me how for example I could move an object
> > forward, stop, turn left or right then move forward again in that
> direction
> > i would be very grateful!
> >
> > Any help on how I can move an object around as above, would be much
> > appreciated, and examples of code on doing this would be greatfully
> > appreciated.
> >
> >
> > Thankyou,
> >
> > Shahbaz
> >
> >
>
===========================================================================
> > 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