I'll suggest also to have a look at OrbitBehavior. It gives you out of the
box everything needed to examine an object, i.e. zooming, rotating, panning.

Cheers,

Florin

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of cs
Sent: Freitag, 4. Juni 2004 16:53
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] How can I use zoom for a object 3D


Melina Alberio,您好!

just try the codes as follow:

    MouseZoom behavior2 = new MouseZoom();
    behavior2.setTransformGroup(objGroup);
    sceneGroup.addChild(behavior2);
    behavior2.setSchedulingBounds(bounds);


see Class MouseZoom in j3d doc.

======= 2004-06-04 07:32:00 您在来信中写道:=======

>Hello,
>I'm trying to program an option for zoom in/out in an
>object 3D. I've already search but I'm not finding a
>solution.
>Sorry for my english ;)
>
>Thanks, Melina
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Friends.  Fun.  Try the all-new Yahoo! Messenger.
>http://messenger.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".

= = = = = = = = = = = = = = = = = = = =


        致
礼!


        cs
[EMAIL PROTECTED]
          2004-06-04

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