Re: [osg-users] osgOcean application

2009-08-27 Thread Hou Xl
Hi,kim ,Jean-Sebastien Guay and others: 


I tried it as you said ,and disabled the default shader (which is enabled by 
default in oceanscene).

void OceanScene::setUseDefaultSceneShader( bool enable )
{
_enableDefaultShader = enable;
}

I also loaded the cessnafire.osg in osgOcean example,But it had no effect, it 
didn't completely solve the transparent object rendering.

Kim ,you are the developer of osgOcean .I am sure that you will solve it.
And ,now,I am studying the source code in order to solve it.

Thank you!
Cheers,
Hou

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=16780#16780





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgOcean application

2009-08-26 Thread Hou Xl
Hi,kim

I print screen and get some images.From the three images you maybe know what 
happen in spaceship flame trail.In fact ,i want to get the reason why the flame 
trail turns grey or white when i toggle glare and dof(underwater) false at run 
time.

Thank you!

Cheers,
houxl

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=16707#16707





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgOcean application

2009-08-26 Thread Hou Xl
Hi,kim
in osgocean example :
...
_oceanScene-enableUnderwaterDOF(false);
_oceanScene-enableGlare(false);
...
i print screen and get some images.

Thank you!

Cheers,
houxl[/img][/quote]

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=16706#16706



attachment: (run-time )disable glare and	dof(underwater).JPGattachment: (application init) disable glare and	dof(underwater).JPGattachment: render correctly no ocean.JPG___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org