I  guess  u  use their default KeyNavigatorBehavior. The problem there is that
'left'/'right'  arrows  DO  turn attached object around some point in front of
it.  That  is  not  around  0.0.0  point of the object. At least these are the
conclusions  i  came to. So, u'd better write your own KeyNavigatorBehavior. I
did and can say that anything IS all right now.

vladimir
             -=V=-
>-------<=============>-------<
Join in Java community now!
http://JavaCafe.VirtualAve.net/
>-------<=============>-------<

In your previous letter u wrote:
--------------------------------
YB> Dear developers,

YB> We are a viewplatform object connected to the scene graph and driven by a
YB> transformation
YB> generated by tracking devices to navigate in a virtual world. When we use
YB> the keyboard
YB> as input device, the right and left arrow are only turning the viewplatform
YB> around a vertical axis.
YB> I verified this fact by displaying the 4x4 matrix feeded to the viewplatform
YB> and verifying that
YB> only the 3x3 upper left components are modified.

YB> The problem I have is the following: I place two bulleyes in the world: 1
YB> and 2. I translate the
YB> viewplatform in the world so that I see 1 and 2 as the same point: at this
YB> point my viewpoint
YB> is aligned with the line passing by 1-2. I then ONLY rotate the viewplatform
YB> using the direction
YB> keys. However, when I do that the viewpoint is clearly not doing only a
YB> rotation because
YB> 1 and 2 are going appart from each others. This should not happen because if
YB> the
YB> viewpoint is doing only a rotation then the viewpoint, 1, and 2 should still
YB> be aligned and
YB> 1 and 2 should then be seen at the same point. I verified this in OpenGL
YB> fine.

YB> The only way that I can explained this behavior is if the projection screen
YB> instead of the
YB> viewpoint was rotated. So do I miss something and I need to tune a parameter
YB> of the view
YB> platform or is the perspective model wrong?

YB> Any help would be appreciated

YB> Thanks

YB> Yohan Baillot

YB>  _______________________________________________________________________

YB>  Yohan BAILLOT

YB>  Virtual Reality Laboratory,
YB>  Advanced Information Technology (Code 5580),
YB>  Naval Research Laboratory,
YB>  4555 Overlook Avenue SW,
YB>  Washington, DC  20375-5337

YB>  Email  : [EMAIL PROTECTED]
YB>  Work   : (202) 404 7801
YB>  Home   : (703) 566 3684
YB>  Cell   : (407) 222 6359
YB>  Fax    : (202) 767 1122
YB>  Web    : www.ait.nrl.navy.mil

YB> _______________________________________________________________________

YB> ===========================================================================
YB> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
YB> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
YB> [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".

Reply via email to