Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-19 Thread Robert Osfield
Hi Fred and Jefferson, On Thu, Dec 18, 2008 at 8:39 AM, fredlis...@free.fr wrote: Unfortunately, it doesn't seem to work ( at least for me ). I modified the osgprecipitation example to add a simple clip plane, and although the model is clipped, the rain continues to appear in the half space

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-18 Thread fredlist01
Hi Robert Jefferson, - Jefferson Pinheiro a écrit : 2) Use an osg::ClipPlane to clip the precipitation effect. Using a clip plan would also allow you to control angle of the clipping. I don't know how to use that (I'm a beginner). Fred, I would be grateful if you could share your

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-17 Thread Jefferson Pinheiro
Hi Robert, On Mon, Dec 15, 2008 at 7:55 AM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Fred Jefferson, On Sun, Dec 14, 2008 at 10:49 AM, Frederic Bouvier fredlis...@free.fr wrote: I have a patch to PrecipitationEffect that seems to work. I'll submit it to osg-submissions I've

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-15 Thread Robert Osfield
Hi Laurent, On Mon, Dec 15, 2008 at 10:18 AM, Laurent Di Cesare laurent.dices...@masagroup.net wrote: In my application, rain inside buildings is problematic if people enter the buildings (which they weren't supposed to do until recently). A clip plane method might work better than a

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-15 Thread fredlist01
Hi Robert, - Robert Osfield a écrit : Hi Fred Jefferson, On Sun, Dec 14, 2008 at 10:49 AM, Frederic Bouvier fredlis...@free.fr wrote: I have a patch to PrecipitationEffect that seems to work. I'll submit it to osg-submissions I've just done a review of these changes and don't

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-15 Thread Laurent Di Cesare
Robert Osfield wrote : Hi Fred Jefferson, On Sun, Dec 14, 2008 at 10:49 AM, Frederic Bouvier fredlis...@free.fr wrote: I have a patch to PrecipitationEffect that seems to work. I'll submit it to osg-submissions I've just done a review of these changes and don't feel that there are

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-15 Thread Robert Osfield
Hi Fred Jefferson, On Sun, Dec 14, 2008 at 10:49 AM, Frederic Bouvier fredlis...@free.fr wrote: I have a patch to PrecipitationEffect that seems to work. I'll submit it to osg-submissions I've just done a review of these changes and don't feel that there are mostr straightforward and

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-14 Thread Joakim Simonsson
Hi Fred, On Sat, 13 Dec 2008 17:02:38 +0100, Frederic Bouvier fredlis...@free.fr wrote: If you want to see this funny effect in action, watch this video http://www.vimeo.com/2511328 ( move forward to 5:00 ) Very nice vid. But besides from raining inside the plane, it seems that the

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-14 Thread Robert Osfield
HI Joakim Fred, I noticed the same vertical rain artifact. osgParticle::PreciptiationEffect will normally fall vertically but when the camera moves it will appear with the correct motion, so it looks like the effect is moving with the camera with this usage, normally the effect would be move

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-14 Thread Frederic Bouvier
Hi Robert, Robert Osfield a écrit : Hi Fred, On Sat, Dec 13, 2008 at 4:02 PM, Frederic Bouvier fredlis...@free.fr wrote: 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 ?

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-13 Thread Frederic Bouvier
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

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-13 Thread Ümit Uzun
I think there is a big hole somewhere on the cocpit's ceiling :P 2008/12/13 Frederic Bouvier fredlis...@free.fr 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

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-13 Thread Robert Osfield
Hi Fred, On Sat, Dec 13, 2008 at 4:02 PM, Frederic Bouvier fredlis...@free.fr wrote: 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

[osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-12 Thread Jefferson Pinheiro
I'm working on a driving project on OSG, and now I am making it rain. I added a precipitation effect for that. My scale is 1 unit = 1 cm. *First question:* When my car runs just a bit (say, 5 km/h), the rain comes at my face as though I was running at 200 km/h. And if I run faster than 20 km/h or

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-12 Thread Jefferson Pinheiro
Hi Robert, On Fri, Dec 12, 2008 at 2:26 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Jefferson, On Fri, Dec 12, 2008 at 3:56 PM, Jefferson Pinheiro jeffersonmpinhe...@gmail.com wrote: I'm working on a driving project on OSG, and now I am making it rain. I added a precipitation