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

A rotation is applied about the origin; so, if you want to rotate about
the center of an object (say its center is at (cx, cy, cz)), first
translate whatever you want to rotate (in this case, your viewpoint)
by (-cx, -cy, -cz), apply the rotation, and translate the viewpoint back
by (cx, cy, cz).

Jimmy

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