Dear developers,
We are a viewplatform object connected to the scene graph and driven by a
transformation
generated by tracking devices to navigate in a virtual world. When we use
the keyboard
as input device, the right and left arrow are only turning the viewplatform
around a vertical axis.
I verified this fact by displaying the 4x4 matrix feeded to the viewplatform
and verifying that
only the 3x3 upper left components are modified.
The problem I have is the following: I place two bulleyes in the world: 1
and 2. I translate the
viewplatform in the world so that I see 1 and 2 as the same point: at this
point my viewpoint
is aligned with the line passing by 1-2. I then ONLY rotate the viewplatform
using the direction
keys. However, when I do that the viewpoint is clearly not doing only a
rotation because
1 and 2 are going appart from each others. This should not happen because if
the
viewpoint is doing only a rotation then the viewpoint, 1, and 2 should still
be aligned and
1 and 2 should then be seen at the same point. I verified this in OpenGL
fine.
The only way that I can explained this behavior is if the projection screen
instead of the
viewpoint was rotated. So do I miss something and I need to tune a parameter
of the view
platform or is the perspective model wrong?
Any help would be appreciated
Thanks
Yohan Baillot
_______________________________________________________________________
Yohan BAILLOT
Virtual Reality Laboratory,
Advanced Information Technology (Code 5580),
Naval Research Laboratory,
4555 Overlook Avenue SW,
Washington, DC 20375-5337
Email : [EMAIL PROTECTED]
Work : (202) 404 7801
Home : (703) 566 3684
Cell : (407) 222 6359
Fax : (202) 767 1122
Web : www.ait.nrl.navy.mil
_______________________________________________________________________
===========================================================================
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".