PDA

View Full Version : raining but how do i do it ??



user4e3
08-04-2002, 01:49 AM
as above

can someone give me an idea ??

owcs
08-04-2002, 06:55 PM
i guess you could try doing them as particles but it sure gonna be slow as hell

Latrans
08-04-2002, 07:15 PM
Try looking at this link...
http://www.aoml.noaa.gov/general/WWW000/text/cseed.html

user4e3
08-04-2002, 10:26 PM
okay, i will take alook at the link

but it doesnt says anything helpful

[This message has been edited by user4e3 (edited 08-04-2002).]

Bode
08-05-2002, 12:43 AM
Hi...

I'm thinking that the easiest and fastest would be to draw them as lines using glLineStipple to generate the gaps bewteen drops. Since you probably don't want to draw a drop for each element of rain because of the speed considerations, you could just use short lines. This might also give the impression of motion blur to the drops too.

Worth a shot http://www.opengl.org/discussion_boards/ubb/smile.gif

Bode

owcs
08-05-2002, 01:06 AM
or you might want to handle each 'streak' of rain as a particle. but instead of using a quad or triangle for the particle use a line instead. you would draw the line from the previous location of the particle to the current position of the particle. just a suggestion :P

user4e3
08-07-2002, 04:00 AM
thanks for the suggestions
i will try them out