Hi Alan,

Alan Austin wrote:
>      Looking through the code for the simple scene manager and 
> navigator, I saw that before setting the matrix to the transform, the 
> matrix received from the navigator is always inverted and trying that 
> worked.  Is there a reason behind this, or do I just have poor matrix 
> math skills?  ;)

Hm, one possible explanation is that OpenSG use the transformation to transform 
the viewer into the world, while the usual OpenGL transformation transforms the 
world to move it in front of the viewer. That's why a bunch of the OpenSG 
methods work inverse to OpenGL.

In any case, it's good that it works now. Good luck with your demo!

        Dirk

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to