Hi Nick: The effect is very interesting. I just want to get the effect profile, which means that we could see both underwater and above water.
How could I get that effect? Cheers, MT Trajce Nikolov wrote: > Hi Kim, > > I turned that off and I see the quad under water. see attached > > > One more thing. I am trying to implement osgEphemeris with osgOcean, and so > far it looks good but two problems. Somehow, when I add the ephemeris into > the ocean scene, I am getting the sun rotated 180 around Z, and it is scaled > - at least that are the visual impressions. Any thoughts on this? > Nick > > http://www.linkedin.com/in/tnick (http://www.linkedin.com/in/tnick) > Sent from Izmit, 41, Turkey > > On Tue, Jan 5, 2010 at 11:14 AM, Kim Bale < ()> wrote: > > > 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 < ()> > > > > > > > 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 (http://www.linkedin.com/in/tnick) > > > > > > Sent from Izmit, 41, Turkey > > > > > > > > > On Mon, Jan 4, 2010 at 8:50 AM, Trajce Nikolov < ()> 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 (http://www.linkedin.com/in/tnick) > > > > > > > > > > > > > > > > > > > > On Mon, Jan 4, 2010 at 5:46 AM, Tian Ma < ()> 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) > > > > > > (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 > > > > > (http://forum.openscenegraph.org/viewtopic.php?p=22044#22044) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > osg-users mailing list > > > > > () > > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > > > > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > osg-users mailing list > > > () > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org) > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > osg-users mailing list > > () > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org) > > > > > > > ------------------ > Post generated by Mail2Forum ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22123#22123 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org