On Wed, May 7, 2008 at 10:27 AM, Zoltán <[EMAIL PROTECTED]> wrote: > there is no example about osg::Fog, only help are the > include files ... tough. Can you point to some simple > implementation, for a small (some meters) model in a BIG > scenery (several km), and with a fog starting at say 10km, > fully opaque at 20km ?
osg::Fog just wraps up glFog, so for docs have a look at OpenGL docs on glFog. The osgParticule::PrecipitationEffect also uses osg::Fog so have a look at this implementtion. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

