View Full Version : raining but how do i do it ??
user4e3
08-04-2002, 12:49 AM
as above
can someone give me an idea ??
i guess you could try doing them as particles but it sure gonna be slow as hell
Latrans
08-04-2002, 06:15 PM
Try looking at this link...
http://www.aoml.noaa.gov/general/WWW000/text/cseed.html
user4e3
08-04-2002, 09: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).]
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
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, 03:00 AM
thanks for the suggestions
i will try them out
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.