Hi Erik, Tian, Thanks to you both for testing.
> 1.We can see that: the sharp white around the boat is still there, although > the around water looks transparent. Yes that's still an issue I didn't attempt to fix that one I'm afraid.. it will need some thought. > 3.The foams around the island gone, and the water is just transparent around > the shore. Since the shoreline foam is still a work in progress I put a hash define around it in the water.frag to block out the code until I can resolve the problems with it. > 2. When I look up to the boat under the ocean, the boat's color seems > abnormal( purple ). > 3) The underwater scene is now rendering neon-like colors (need effect, but > probably not desired!) Seemed to have missed this because I only tested against the external shaders, but it highlighted a dormant bug, so well spotted. I rather liked the underwater disco lights tbh, but sadly not everyone will :). This has now been resolved (http://code.google.com/p/osgocean/source/detail?r=185). > 1) It seems the alpha of the particles get's dropped when the particles are > in the reflection of the sun. Could you post a screen shot? It's hard to tell what you mean exactly. > 2) The particles themselves, seem to be darker than usual (like the polygon > color turned gray) I assume this is because you've added the psystem as a child of OceanScene and thus the default shader will be applied to them, which will force lighting on them. Make a quick edit of the default shader and bind it to your particle system replacing the line: final_color = lighting( textureColor ); with final_color = textureColor; They should lighten up again. You might also want to remove the fogging etc depending on preference. Regards, Kim. 2009/11/24 Erik Johnson <[email protected]>: > Hi Kim, > > Rendering osgParticles with osgOcean *kinda* works now with r183, except for > three issues I see: > > 1) It seems the alpha of the particles get's dropped when the particles are > in the reflection of the sun. > 2) The particles themselves, seem to be darker than usual (like the polygon > color turned gray) > 3) The underwater scene is now rendering neon-like colors (need effect, but > probably not desired!) > > Let me know if I can be of more help! > > Thanks, > -Erik > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=20284#20284 > > > > > Attachments: > http://forum.openscenegraph.org//files/water_2009_11_24t09_33_49_188.jpg > > > _______________________________________________ > 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

