Thanks Robert. But still, why does resize() not accept x/y arguments? As it is now, it cannot be used with CompositeViewer where Cameras are distributed around the window with various Viewports. Is it just intended for use with the regular osg::Viewer?
robertosfield wrote: > Hi Ravi, > > The resize is primarily for responding to window resize events where > you need to adjust the viewport and projection matrix to provide > sensible on screen behaviour. > > The setViewport() method just sets the viewport, it doesn't try to do > anything with any other paramters such as the projection matrix. > > Robert. > ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70340#70340 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org