Hi David,

Well, I got something working for now! What I had to do was to call

hudCamera->setProjectionMatrixAsOrtho2D(0,<  windowWidth>  ,0,<  windowHeight>  
);

for every time I resize the OSG window. Fortunately I have a resize command for 
the window to do just that. I had to add the function there and someplace else 
that is activated when a tab is moved. Tested this out and that seemed to fix 
the problem so far.

Hmmm, if you're using the *new* window width and height in that call to setProjectionMatrixAsOrtho2D, then you're probably doing the same thing as if you'd set the projection resize policy to something other than FIXED on your ortho camera... I would think...

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to