Hi Robert, as discussed in osg-users, here is a patch to add a near cutoff distance to the precipitation effect. It will allow to hide particles that are near the viewer, if the viewer is in a cockpit for example. That way, rain or snow will appear realistically through a windshield without having particles in front of it. The default behaviour is set to the current one, with the cutoff distance set to 0.
Thank you for taking care of this patch. -Fred -- Frédéric Bouvier http://my.fotolia.com/frfoto/ Photo gallery http://fgsd.sourceforge.net/ FlightGear Scenery Designer
PrecipitationEffect.tar.gz
Description: GNU Zip compressed data
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
