I think there is a big hole somewhere on the cocpit's ceiling :P 2008/12/13 Frederic Bouvier <[email protected]>
> Jumping into the thread, > > Robert Osfield a écrit : > >> Second question > >> It also rains inside my car. I tried adding a node mask for that, but it > >> didn't seem to work. Is it possible not to make it rain inside the cars > >> (which are on a separete osg::Group)? > >> > > > > PrecipitationEffect doesn't have an support itself for constraining > > the effect to appear inside/outside specified geometries. > > > > The best thing you could do would be to either try using the stencil > > buffer to prevent the fragments of the effect being rendered where you > > don't want them. > > > > The same problem affect FlightGear too : it rains into the cockpit. > Would it be possible to kill a particle when it comes under a certain > distance from the viewer ? > > If you want to see this funny effect in action, watch this video > http://www.vimeo.com/2511328 ( move forward to 5:00 ) > > -Fred > > -- > Frédéric Bouvier > http://my.fotolia.com/frfoto/ Photo gallery > http://fgsd.sourceforge.net/ FlightGear Scenery Designer > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Ümit Uzun
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

