exactly. make your ortho with the new window size

-Nick


On Wed, Jun 30, 2010 at 7:21 PM, Gianni Ambrosio <ga...@vi-grade.com> wrote:

> 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
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to