Hi Kim, Yes, i solved it, my mistake, didnt look at the screenDims function.
Thanks, Regards On Tue, Feb 22, 2011 at 2:02 PM, Kim Bale <[email protected]> wrote: > Hi Mahendra, > > You need to provide your own resize handler but within it you can call > setScreenDims to resize the framebuffers. > > See: > http://code.google.com/p/osgocean/source/browse/trunk/include/osgOcean/OceanScene#255 > > K. > > > On 21 February 2011 14:55, Mahendra G.R <[email protected]> wrote: > >> Hi, >> >> Is there a way to make the osgOcean handle the resize events for the >> window?, i tried adding an event handler in the example file, but it only >> resizes the window or makes it full screen but the ocean scene remains the >> same size, where can i find the resize or wiindow handler for osgOcean?. >> >> Thanks, >> Regards >> >> -- >> http://www.mahendragr.com >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- http://www.mahendragr.com
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

