Hi Mona,
Before answering your question, could you say that you want to rotate your object
itself, or do you want to
rotate the camera around the object? Or Both?

David.

Mona Wong wrote:

> Hi:
>
>         I'm a beginning Java 3D programmer.  I've got my scene built and can
> view it in my window.  I can also rotate, translate and scale using the mouse.
> All this took about 3 weeks of work ...
>
>         Now, I would like to center the object in the middle of the window and
> set it up so I can rotate about its center of mass, rather than the current
> axis.  How can I accomplish this?  Any pointer to sample code would be very
> helpful.
>
>         I know I can use the lookAt() function to maniplate view, but it does
> not seem to make any difference to my scene no matter what I set the values
> to.  Obviously, I'm doing something wrong here.  Also, I know I can use the
> Transform3D class to move the object, but that too doesn't seem to make any
> different.  All help is truly appreciated!
>
> Sincerely,
>
> Mona
>
> ==================================================================
> Mona Wong
> National Center for Microscopy and Imaging Research
> University of California, San Diego
> http://www-ncmir.ucsd.edu/
>
> "The truth shall set you free, but first it will piss you off"
>                                 A Landmark instructor
> ==================================================================
>
> ===========================================================================
> 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".





______________________________________________________________________________
message envoye depuis http://www.ifrance.com
emails (pop)-sites persos (espace illimite)-agenda-favoris (bookmarks)-forums
Ecoutez ce message par tel ! : 08 92 68 92 15 (france uniquement)

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