Rain

General discussion of the Project Reality: BF2 modification.
Garmax
Posts: 288
Joined: 2008-06-13 00:52

Rain

Post by Garmax »

so i was reading through the recent post which was locked for resugesting rain, so i went to look up the videos they were talking about one trying out a new particle effect in CA, the other the new rain from FH2

a problem they stated was FH2's rain was visible through buildings.. but in the videos, inside the building rain is not visible. anyone tried this out themselves?



Last edited by Pride on 2010-01-10 19:59, edited 1 time in total.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: Rain

Post by Rudd »

thats really interesting to me, as according to a couple of screenies, it seems to still go horizontal if you look up in Fh2, thats pretty neat.
Image
Leopardi
Posts: 409
Joined: 2007-10-16 21:14

Re: Rain

Post by Leopardi »

No it doesn't rain inside.
Bringerof_D
Posts: 2142
Joined: 2007-11-16 04:43

Re: Rain

Post by Bringerof_D »

we need that rain. if it works out make sure to make it a bit thicker though right now it seems like a light shower falling on days where there's still blue sky and sun its just little patches of cloud raining if you get what i mean.

on another note we also need those cars which run indefinitely until brakes are applied, that way we dont need to keep tapping keys to inch forward. it would also feel more like a real car v(will there be working windshield wipers?)
crazy11
Retired PR Developer
Posts: 3141
Joined: 2008-02-05 00:20

Re: Rain

Post by crazy11 »

Garmax wrote:a problem they stated was FH2's rain was visible through buildings.. but in the videos, inside the building rain is not visible. anyone tried this out themselves?
The rain in FH2 goes sideways if you look up so it actually looks pretty bad.

Bringerof_D wrote:we need that rain. if it works out make sure to make it a bit thicker though right now it seems like a light shower falling on days where there's still blue sky and sun its just little patches of cloud raining if you get what i mean.
We cant make it thicker because it is already too close to the particle limit.
Image
You miss 100% of the shots you don't take.- Wayne Gretzky
Bringerof_D
Posts: 2142
Joined: 2007-11-16 04:43

Re: Rain

Post by Bringerof_D »

[R-MOD]crazy11 wrote:The rain in FH2 goes sideways if you look up so it actually looks pretty bad.




We cant make it thicker because it is already too close to the particle limit.
oh well, i guess then we could just lower the view distance on that specific map to give it the feeling that it's thicker
sniperrocks
Posts: 258
Joined: 2009-11-25 01:38

Re: Rain

Post by sniperrocks »

I think the rain is great, considering the fact the that there is a particle limit
IMO, the biggest problem is that the ground, vehicles and buildings look dry, which really makes it feel like it's not actually raining :S

EDIT: Well actually, on second look, it actually kinda looks like fast falling snow :P
maybe a bit more transparent xD but good job!
torenico
Posts: 2594
Joined: 2007-06-30 04:00

Re: Rain

Post by torenico »

[R-MOD]crazy11 wrote:The rain in FH2 goes sideways if you look up so it actually looks pretty bad.




Uhm yeah, but FH2s rain is 2D, while CA Rain is 3D i guess.

So in theory, 2D Rain would reduce lag, while 3D Lag would increment it.

And also the FH2 rain you can make pretty heavy torments, i asked for heavier rain on this forum using CAs system, my reply was "Would lag alot".

I might be wrong..
master of the templars
Posts: 598
Joined: 2007-06-26 21:37

Re: Rain

Post by master of the templars »

Rain in most games looks **** when looking up, luckily its pretty rare for a player to do this.
Make nukes, Not war
dpq06
Posts: 375
Joined: 2008-05-17 14:03

Re: Rain

Post by dpq06 »

rain sounds like lag to me. But still looks awesome.
Hunt3r
Posts: 1573
Joined: 2009-04-24 22:09

Re: Rain

Post by Hunt3r »

If the R-DEVs can find a way to get rain in PR, then that's just dandy.
Killer-Ape
Posts: 387
Joined: 2007-02-26 16:00

Re: Rain

Post by Killer-Ape »

dpq06 wrote:rain sounds like lag to me. But still looks awesome.
Rain might actually improve your fps if it makes a fog, you know fog of war :wink:
torenico
Posts: 2594
Joined: 2007-06-30 04:00

Re: Rain

Post by torenico »

Actually that Actoville map is awesome, Rain + Thunder makes it ace.

I dont care if the rain falls Horizontally when you look up, but atleast it doesnt rain inside buildings.
Shaihuluid
Posts: 529
Joined: 2009-08-04 03:10

Re: Rain

Post by Shaihuluid »

The video looks very nice. EOD 2 has working rain, doesn't it?
BloodBane611
Posts: 6576
Joined: 2007-11-14 23:31

Re: Rain

Post by BloodBane611 »

Fog distance on maps with vehicles is at least 300 meters, no amount of rain will allow you to go below that because you'll end up with the sound bug. That's a fairly serious limitation, and there's no real way around it, short of having no vehicles.
[R-CON]creepin - "because on the internet 0=1"
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: Rain

Post by Rudd »

BloodBane611 wrote:Fog distance on maps with vehicles is at least 300 meters, no amount of rain will allow you to go below that because you'll end up with the sound bug. That's a fairly serious limitation, and there's no real way around it, short of having no vehicles.
well you can set the view distance as more than 300 but the fog nearer, though that is very inefficient resource wise
Image
BloodBane611
Posts: 6576
Joined: 2007-11-14 23:31

Re: Rain

Post by BloodBane611 »

[R-CON]Rudd wrote:well you can set the view distance as more than 300 but the fog nearer, though that is very inefficient resource wise
You make a good point. I should have said that no reasonable amount of rain will make it possible to decrease the number of statics you need to load in order to not get the sound bug.
[R-CON]creepin - "because on the internet 0=1"
Sniperdog
Retired PR Developer
Posts: 1177
Joined: 2009-02-27 00:06

Re: Rain

Post by Sniperdog »

[R-MOD]crazy11 wrote:We cant make it thicker because it is already too close to the particle limit.
I had this idea back when I didn't know as much about textures in bf2 but this reminded of it so I think I'll try it again now that I know quite a bit more...

But first a little background...

The reason the Rain in EoD and whatever other mods tried to use it looks horizontal is because the rain itself is a bunch of big rectangle textures falling down. The textures are always perpendicular to you like so:

Image
ImageImage



Image

Looking at it straight on it looks very thick (just multiply the texture by like 10)


Image

BUT when you look at it while its above you it will like like a bunch of really wide strings of rain:

Image

ALSO when you are inside buildings you can see the bottom half of the texture as it hangs through the roof. Because it is a particle the center of the texture is what decides when it disappears after hitting a building:

Image

Combined Arms divided the texture into a bunch of smaller textures:

Image

This fixed the looking up problem:

Image

and the building problem:

Image

But the main problem was of course particle count. You can only have so many of these rain drops...

My solution you ask? A combination of these two ideas with a little pizaz (lol)


A texture like so with circular drops that only occupy the top of the texture...

Image

Of course when multiplied the top half of the texture thing becomes redundant...

Image

When looking up you will no longer see the horizontal streaks...

Image

(and when multiplied)

Image

and the reason for the only the top half of the texture thing: no building leakage...

Image

And of course no more particle count issues either...

My solution ain't perfect but its highly configurable and solves quite a few of the problems involved.


But avast, less talk more action (scurries off to the lab)

ps. I'm a big fan of paint...
Last edited by Sniperdog on 2010-01-12 12:44, edited 1 time in total.
Image

Image

Will Stahl aka "Merlin" in the Squad community
H.sta
Posts: 1355
Joined: 2006-12-07 12:40

Re: Rain

Post by H.sta »

It might be becouse i was listening to song while reading this, but I read it as if it was a story, it was a happy story... i kind of liked it.

nice paint skills

but wouldn't it rain iside the building if you were to look down while inside?
Sniperdog
Retired PR Developer
Posts: 1177
Joined: 2009-02-27 00:06

Re: Rain

Post by Sniperdog »

H.sta wrote:but wouldn't it rain iside the building if you were to look down while inside?
No... The particles die when they hit the roof so there wouldn't be any beneath you to see...

and before someone asks me an identical question about looking up

A. with a flat roof you wouldnt see it because the rain would be flush with the roof, if you look at an angle you would still only see half of the texture, but of course the empty bottom half.

B. You could possibly see it if you looked straight up with a sloped roof and turned facing the lower part but only for brief instants when the rain were to hit the right spot... not a huge issue imo.
Image

Image

Will Stahl aka "Merlin" in the Squad community
Post Reply

Return to “PR:BF2 General Discussion”