I'm trying to do the same thing.  I had to write my own behavior class.
I've had some success doing all the math and multiplying Transform3D
matrices, but not full success.  I've looked at the "lookAt" method in
Transform3D, but then I still have to calculate which way I want to be "up"
in the view.  I looked at Quaternions, but still had some unpleasnt problems
with the rotations.


> -----Original Message-----
> From: Dean Keeler [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 27, 2000 4:32 PM
> To:   [EMAIL PROTECTED]
> Subject:      [JAVA3D] Orbiting the View around an object
>
> Hi,
>
> I want to be able to orbit my view around the center of object in 3D
> space.  Currently I am rotating my view which causes my object to
> disappear from view and so I have to pan over to where the object is.  I
> want to be able to orbit my view around an object so that the object never
> leaves my view.  I do not want to rotate the object, I want it to stay in
> its true position when it was read in.  Can anyone tell me how to do this
> and what math is involved?  Can I establish an anchor or pivot point for
> my view to rotate around?  Please help if you can, I'm trying to resolve
> this ASAP.
>
> Thanks,
>
> Dean

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