Well, I need to rotate about the default value (0,0,0). if I change the center of rotation everything will rotate around my scene. But I want to rotate the scene itself which center is at (0,0,0). I just want to move the view a bit in certain direction. (same as the user has moved the viewing position with the mouse of the orbitbehavior). Correctly the view is not jumping back to look at the center. It is something like (0,0, Z). Z is the value of the direction in that i have translated the view before. Any suggestions? Daniel -----Urspr�ngliche Nachricht----- Von: Andrea Tartaro [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 16. Juli 2001 23:51 An: [EMAIL PROTECTED] Betreff: Re: [JAVA3D] Bug with OrbitBehavior and transforming viewer position? Daniel, The view is jumping to look at the center of rotation, which by default is (0, 0, 0). Try changing your center of rotation. andrea "R�mer, Daniel" wrote: > > Hi, > > I have a problem with the OrbitBehavior class. > > For that I created a simple scene with a colorcube. > Now I added the OrbitBehavior and I translated the viewer position to > somewhere > else. But after clicking with the mouse the cube jumps back to center. > This only effects the translation in X and Y direction. The translation in > Z direction doesn�t jump back! > > I�am using JDK 1.3.1 and Java 3D API 1.2.1_01. I attached the source code > for > this problem. > > Don�t know what I�am doing wrong? Or is it a Java 3D Bug? > > Thanks, Daniel! > > <<Buggy.java>> > > ------------------------------------------------------------------------ > > Buggy.javaName: Buggy.java > Type: unspecified type (application/octet-stream) =========================================================================== 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".
