Enhancement request: I think that OrbitBehavior should be extended with a new method, something like setRotationCenterNoShift. That's because some other programs relay on the fact that the view is shifted to the center of interest.
Unfortunately, extending OrbitBehavior is not enough, since the needed members have private access. Cheers, Florin -----Ursprüngliche Nachricht----- Von: Smith, David [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 27. März 2003 22:31 An: [EMAIL PROTECTED] Betreff: [JAVA3D] orbitBehaviour.setRotationCenter() gives spurious view shift I have recently came across this issue http://swjscmail1.java.sun.com/cgi-bin/wa?A2=ind0301&L=java3d-interest&P=R10 5534 myself and was wondering if anyone has found a solution for it. It seems to me that when the OrbitBehavior detects setRotationCenter, it causes a full recomputation of the viewing angle, location, etc.. I know this because I had a similar class when I wrote OpenGL code in C++. You should be able to set the center of rotation without resetting the view to the new center. It's equivalent to moving the view to the new center and then panning/rotation/zooming after that, so it must be possible. Thanks, -DaveS ==========================================================================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". ==========================================================================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".