HI Karthiks,

Check out the source of Java 3D Fly Through, it contains a method in
Controller.java that will move the viewer so that a Bounded volume is
visible, taking into acount the View Frustum size.

Rgds

Paul

>MIME-Version: 1.0
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
>Date: Wed, 16 May 2001 16:58:41 +0400
>From: "K.R.Karthikeyan" <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Fit to the Panel
>To: [EMAIL PROTECTED]
>
>Hai ,
>
>
>I want a function which should make my Shape3D fully visible on the Canvas3D.
>
>In my Application i can  Zoomin or Zoomout my Graphics by Clicking the
Corresponding buttons.
>Like this i want a function to make a full view of my Shape3D. ( the shape will
be of any width and height )
>
>
>Any Suggestions will be helpful to me .
>
>
>Karthiks

----------------------------------------------------------
Paul Byrne                      Email : [EMAIL PROTECTED]
Sun Microsystems                Phone : (650) 786 9926
Visualization Software Group    Fax   : (650) 786 5852
----------------------------------------------------------

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