Hi,

   In the upcoming release of v1.2.1beta1. Several methods is
add in the utility class com.sun.j3d.utils.universe.ViewingPlatform.
(Note that source code of utilize class is available when you
 download the SDK)

 public void addRotateBehavior(int index)
 public void addTranslateBehavior(int index)
 public void addZoomBehavior(int index)

which will do exactly what you want.

Please refer to examples/Text3D/Text3DLoad
for an example of how to use it.

Thanks.

- Kelvin
--------------
Java 3D Team
Sun Microsystems Inc.

>X-Accept-Language: de
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>Date: Fri, 20 Oct 2000 15:21:10 +0100
>From: Mohammed Akacem <[EMAIL PROTECTED]>
>Subject: [JAVA3D] rotating the viewplatform
>To: [EMAIL PROTECTED]
>
>Hello,
>
>I have Shape3d objects which may have bis to 500.000 traingles. I don't
>want to move my objects to the center, instead I want to move the
>viewplatform so that I get the Shape3D object at startup in the center
>of the screen. I also want to use the MouseRotate, MousTranslate and
>MouseZoom . How can I change or extends for example the MouseRotate
>classe so that I can rotate my object without this dissappearing from
>the screen(I want to rotate the view platform).
>
>===========================================================================
>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