If you get tired of the MouseRotate approach you might want to take a
look at chapters 4 and 18 of "3D User Interfaces with Java 3D".  Chapter
4 discusses mouse control techniques in both display and world-relative
contexts, and chapter 18 describes an AffineGroup class that works much
like a VRML Transform node, including a center point for rotation and
scale.

--jon

> Subject:
>         rotating about centroid
>    Date:
>         Tue, 13 Mar 2001 16:05:48 -0800
>    From:
>         Mona Wong <[EMAIL PROTECTED]>
>
>
>
> Hi:
>
>     Okay, I feel like an idiot ... but I can't seem to get the
> object to rotate about its center using the MouseRotate() class.
>
>     Note: my object is not centered at the origin but rather at
> the Point3d location named centroid.  What is wrong or missing
> in the following code:
>...

__________________ 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".

Reply via email to