Hi Nick, osgOcean (with all the effects turned on) renders to a quad on the screen, this is because there are a number of post processing effects that require it (glare, dof). If I understand your problem correctly, you will need to set the frame buffer size to the size of your window with setScreenDims( osg::Vec2f ) and the quad will fill the window.
Alternatively turn off glare and depth of field. Regards, Kim. 2010/1/5 Trajce Nikolov <nikolov.tra...@gmail.com> > What I am getting is View in a Window. Please see the attached image. The > osgOcean opens another window instead of rendering in the one I created. Any > ideas, hints? > > Nick > > http://www.linkedin.com/in/tnick > Sent from Izmit, 41, Turkey > > On Mon, Jan 4, 2010 at 8:50 AM, Trajce Nikolov > <nikolov.tra...@gmail.com>wrote: > >> Hi Tian Ma, >> >> well, the example works just fine. Also, when I step thru, I am not >> getting any errors. Just not able to see the ocean surface and getting the >> screen aligned quad (black) ... Any ideas? >> >> Nick >> >> http://www.linkedin.com/in/tnick >> >> >> On Mon, Jan 4, 2010 at 5:46 AM, Tian Ma <tianxiao...@foxmail.com> wrote: >> >>> Hi Nick: >>> >>> Could you run the ocean example successfully? >>> >>> Any errors occured when you get a back screen? >>> >>> Cheers, >>> MT >>> >>> >>> >>> Trajce Nikolov wrote: >>> > Hi, >>> > >>> > I am trying to embed the ocean stuff into my application. I mimic the >>> code from the example, and all I get is 2D black screen aligned quad. Any >>> hints? >>> > >>> > >>> > Thanks >>> > >>> > >>> > Nick >>> > >>> > http://www.linkedin.com/in/tnick (http://www.linkedin.com/in/tnick) >>> > Sent from Devlet, Ankara, Turkey >>> > >>> > ------------------ >>> > Post generated by Mail2Forum >>> >>> >>> ------------------ >>> Read this topic online here: >>> http://forum.openscenegraph.org/viewtopic.php?p=22044#22044 >>> >>> >>> >>> >>> >>> _______________________________________________ >>> 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 > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org