Hi Nick,
I'm using Qt and reimplemented the virtual method:

virtual void resizeGL( int width, int height )

that is called on every window resize. I get the ortho camera and called

getProjectionMatrixAsOrtho(left, right, bottom, top, zNear, zFar);

just to verify the values. Do you mean I should change those parameters 
depending on the actual width & height of the window?

Regards
Gianni

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29528#29528





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to