Jean-Sébastien Guay wrote:
 > The eye point is as expected, but instead I get center = (0,-39,0).

Presumably because getViewMatrixAsLookAt() doesn't do any magic, it just takes 
the Y axis (in this case) of the matrix as the view vector. This vector will be 
normalised (otherwise the camera would do funky things), so all it can do is 
subtract this unit vector from the eye position.
I guess the manipulator has some notion of the point about which it orbits, but 
I couldn't tell you what that is off-hand. The header will tell you, no doubt.

-JD, who is pressing all the right keys, just not necessarily in the right 
order.



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to