On 23 August 2012 10:02, wh_xiexing <wh_xiex...@sina.com> wrote: > when the user resize the applicatioin's window, how do i know the viewport > of the camera is changed?
How's about checking for a resize event via an event handler attached the viewer? Check the dimensions on each new frame and update accordingly? I really can't be more specific about a suggestion as your question doesn't really say where in your app you need to be informed and for what purpose. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org