Hi,
 As Robert mentions osg::Fog  is just a wrapper for OpenGL glFog  command. I am 
currently writing  a set of  OSG tutorials included with some codes for 
beginners. I have covered the osg::Fog class in my tutorials.
 Right now, I have written all the source codes. I just need to finish the 
writing up and find out how to publish it on the official website and this will 
be a huge boon to every OSG newcomer.
 Hope that will help.
 Regards,
 Franclin.

Robert Osfield <[EMAIL PROTECTED]> a écrit : On Wed, May 7, 2008 at 10:27 AM, 
Zoltán  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


 __________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible 
contre les messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to