>Date: Mon, 13 May 2002 02:09:26 -0700 >From: Vidya Sagar <[EMAIL PROTECTED]> >Subject: [JAVA3D] Strange Behavior >To: [EMAIL PROTECTED] >MIME-version: 1.0 >Delivered-to: [EMAIL PROTECTED] > >Hi all, > I am observing some strange behavior in my >program. I have a 3D Texture (2D CT Skull slices). I >am creating my scene graph like this: > >S.U. -> Locale -> BG -> BG->Quad1 > ->Quad2 > .... > ->Quadn > ->KeyBoard Behavior > >When the scene is displaying, it must show quad1 >first, quad2,...quadn. This is working fine in my >program (which shows the front view of the skull). >when I am pressing a key (allowing a 5 Degree >rotation) then the scene is rendered showing the Quadn >first and so on to Quad1. So, instead of seeing the >front view of the skull rotated by 5 degrees, I am >seeing the back view of the skull with a 5 degree >rotation. When I continue to press a key the skull is >rotating normally (5 degrees each time) from that >changed position. > >The KeyBoard Behavior class changes the texture >Coordinates every time a key is pressed, using the >setTextureTransform and getTextureTransform methods. > >I guess the problem is the way Java3D is traversing >the scene graph. Somehow for the keyboard behavior it >seems to be traversing the scene graph differently. Is >it true? Could anyone throw some light on this >problem? >
Sounds like keyboard utility bug, 4252349 - First viewport may jump when using KeyNavigatorBehavior - Kelvin ---------------- Java 3D Team Sun Microsystems Inc. =========================================================================== 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".