Hi,

I've done some more poking around and I've found out a few things.

If I disable the cylinder completely by simply not adding the _oceanCylinderMT 
child to the _oceanTransform group in OceanScene.cpp, then the flashing stops.

The flashing occurs over the water. The effect is seemingly random, but the 
color that is shown seems to be the _aboveWaterFogColor, which is odd because 
the cylinder uses the _underWaterWaterFogColor. I set the above to pure green 
and the under to pure red and the color that flashes is green.

The problem goes away if I reduce my cylinder/skydome size. My application 
requires a far viewing distance so I've set the respective sizes to 30,000. 
When I bump the size back down to 1,900 (as is set in the ocean example), the 
flashing doesn't occur. However, I'd like the flexibility to set my viewing 
distance to be much farther than 1,900.


Thank you!

Cheers,
Ben

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





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

Reply via email to