Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
AzureZeal
23
Years of Service
User Offline
Joined: 10th May 2003
Location:
Posted: 8th Jul 2003 22:53
About a year ago (not sure if it was here or on RGTs forums) some guy came up with a great way to do weather via scrolling textures on a plain. Sounds like it wouldnt work right? But it did! He gave out the source for everyone to see. Oh why oh why didnt I keep it... Anyway Ive searched all over the forums and cant find it again. Id really like to use it for my game.

Anyone know how to do weather via that way? Scrolling black/white texture?
dalmonar
23
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 8th Jul 2003 22:58
if u mean in 3d all u need do is to make a huge sphere and set the cull to show texture on the inside and texture it with a sky image according to the weather pattern u want.then all u need do is spin it on each loop.
AzureZeal
23
Years of Service
User Offline
Joined: 10th May 2003
Location:
Posted: 9th Jul 2003 04:24
No no no Im not talking about a sky sphere, im talking about real weather, like rain/snow. Rather than having 100s of individual plains falling from the sky, he used just a few plains and scrolled a texture on them. Because the texture was black and white you only saw the rain/snow. Looked great. I want to do something like that. Just looking for advice

MikeS
Retired Moderator
23
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 9th Jul 2003 05:15
You can do whether like this(look in source box)

That's the only way I know how to do it, but I think that's what you've tried?Is it not?



Yellow:Wanna publish my game microsoft, cuz i no u rich so...Can I have my bag of money now?
Microsoft: *snicker* Tip of the month-Microsoft will never(probebly) publish your game.
Willy
23
Years of Service
User Offline
Joined: 17th Jun 2003
Location: Ohio
Posted: 9th Jul 2003 06:45 Edited at: 9th Jul 2003 06:47
Hmmmm....
Well, there is a DB Pro demo program, with source, that shows a side-scroller of an airplane flying over hills and shooting stuff.....
1. Change the background scrolling from horizontal to vertical, and
2. Change the texture to white snowflakes on a transparent black background (use a paint program....)

That should get you closer to what you want....

You might still have a problem since you are scrolling the background. Maybe not - it might look just fine....
If not - it might be possible to turn off writes to the Z-buffer for
just those writes. Dunno....
If you can get this to work, it would probably be more efficient than
trying to use a particle generator.

Willy
AzureZeal
23
Years of Service
User Offline
Joined: 10th May 2003
Location:
Posted: 9th Jul 2003 07:42
"look in the source box"? you mean the help file? What exactly is the name of the program again? ill take a look at it

3dZmaster
23
Years of Service
User Offline
Joined: 30th Jun 2003
Location: Finland
Posted: 9th Jul 2003 18:24
"look in the source box"
That means click the button "Source" under the message. Then the code will pop up. You are some kind of a noob or what? sorry... Don't take that personally

Current project: Dodge Viper Car Game (Not named yet) Other car models are going to be included soon
AzureZeal
23
Years of Service
User Offline
Joined: 10th May 2003
Location:
Posted: 9th Jul 2003 21:38
Heh yes im a forum newb. Anyway I had no idea there was a special "snow" particle command, ill look into that. But I still imagine it would be faster to use the scrolling texture method. Nobody remembers that one guy who wrote the source for it?

MikeS
Retired Moderator
23
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 9th Jul 2003 21:58
There's also one for fire particles

(look in the source box)

Yellow:Wanna publish my game microsoft, cuz i no u rich so...Can I have my bag of money now?
Microsoft: *snicker* Tip of the month-Microsoft will never(probebly) publish your game.
Mentor
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 9th Jul 2003 22:05
yeah! I recall it, that was over on RGT though, they had a thread on weather and it ended up with loads of people making snippets for rain, snow and whatever, I think one of those was what you wanted, (RGT has a search feature too, just select 9999 as the number of results you want...it`s weird like that).

Mentor.

Login to post a reply

Server time is: 2026-07-18 17:20:41
Your offset time is: 2026-07-18 17:20:41