Hi everyone,

I've been struggling trying to write a good orbit behaviour (i.e, move the view 
transform in response to mouse movement such that it appears as though the scene is 
rotating around an arbitrary point in the scene). I know this must be common code 
since many 3D viewers have, yet I can't find any sample code to implement it.

I also tried the arcball concept, but it seems to require the center of rotation to be 
on the screen (unless I implemented it incorrectly).

Most of my attempts work fine when the camera's frame is mostly aligned with the world 
frame, but the mapping gets ruined after a lot of manipulation.

Can anyone point me to some sample code or at least a good reference on how to 
implement this?

Thanks!
josh

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