I can't help you with this utility but I might be able to help you with
your general problem. Take a look at the framework and utilities that
come with the "3D User Interfaces with Java 3D" book. It includes a
very flexible orbit camera and controller, as well as a host of other
picking goodies. You can get the code at www.manning.com/barrilleaux.
Take a look at the J3duiBook/examples/CameraNavigating example, and the
OrbitCamera.java and OrbitCameraControl.java classes (look in the
javadoc or, for the source, under J3duiBook/lib/navigate/).
--jon
> Hi,
>
> I have tried to use Eric's code of 'MouseOrbit.java' for
> rotating the view around a picked point. But this does not
> work as it should do.
>
> Instead of the TransformGroup of the center point I have used
> directly the picked point as orbit center point and set it as
> translation in the Transform3D of the 'tg_ghost_T3D'.
>...
__________________ JMB and Associates, Inc. ___________________
Jon Barrilleaux 3800 Lake Shore Ave. Consulting for 3D
[EMAIL PROTECTED] Oakland, CA 94610 Web Applications
510.444.0231 vox & Tech Industry
510.444.0231 fax www.jmbaai.com Management
===========================================================================
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".