On 1/12/2010 6:15 PM, Trajce (Nick) Nikolov wrote:
Hi Community,

any ideas/hints how to implement rain/snow accumulation on the screen (like
for a driving sim)?


-Nick
        
A company I used to work for which did driving sims, mining trucks in fact, just used a series of bitmaps - I might be using totally the wrong buzzwords here, I've had my after work beer and the correct terms escape me. The bit maps were generated by the graphics people and we just loaded them up and overlayed them as needed.

        There was a series of overlays that corresponded to:

1) A few drops

2) More drops

3) Even more drops

4) quite a few drops
...
...
...
...
n) That many drop that in combination with a dusty windscreen, remember this is of a mining truck in an iron ore mine in Australia, that the windscreen has become mud. Then the user would turn on the wipers and a new set of overlays would be used which corresponded to the windscreen wipers going.

These overlays were created by our graphic artists and we just dumped them into the scene at the speed we needed to simulate the rain. In other words the screen/rain/mud was not done dynamically with a snazzy algorithm, it was basically "good old" page flipping animation.

Nick, does this make sense? If not I'll revisit the topic in the morning, it's currently 11.15pm, and try and make more sense.

        Regards,
                Andrew

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to