PDA

View Full Version : Distance Fog


MelvinB
22nd Jun 2003, 04:43 PM
Ok, listen:

I just added some nice fog to my map, but it fills the whole map!

The fog has to be inside a room of a building, but it fills as i already said, the whole map.

The room has some open windows and doors which are accessible. Those open windows and doors has 2 Zoneportal-sheets to ''close'' the room and create one zone of that room. Look the pic:

http://members.lycos.nl/melvin83/Temp/Zoneportal.png

When i create a testmap and separate it in 2 different zones, i add a Zoneportal-sheet right in the middle of that map. Now, when i add fog at one side, it works and the fog will be only in that part of the map.

What's wrong?

Zxanphorian
22nd Jun 2003, 05:31 PM
Ok, listen:

I just added some nice fog to my map, but it fills the whole map!

The fog has to be inside a room of a building, but it fills as i already said, the whole map.

The room has some open windows and doors which are accessible. Those open windows and doors has 2 Zoneportal-sheets to ''close'' the room and create one zone of that room. Look the pic:

http://members.lycos.nl/melvin83/Temp/Zoneportal.png

When i create a testmap and separate it in 2 different zones, i add a Zoneportal-sheet right in the middle of that map. Now, when i add fog at one side, it works and the fog will be only in that part of the map.

What's wrong?
Distance fog is not like the volumetric fog in the first UT. The fogging is only displayed in a zone by zone basis. That means that the fogging of the zone that you are in ONLY appears, not other zones than the one that you are in. If the testmap is small, under 500k, could you please post it here?

MelvinB
23rd Jun 2003, 04:38 AM
Oke, see the attachment.

In the testmap, there will be 3 zones; left-side, right-side (with the fog) and in the right-side, there's also a small box (zone 3) with an entrance that has 2 Zoneportal-sheets. In this box, there is no fog.

Like this way i created zones for in my normal map.

FaT CaM
23rd Jun 2003, 07:05 AM
Distance fog is not like the volumetric fog in the first UT. The fogging is only displayed in a zone by zone basis. That means that the fogging of the zone that you are in ONLY appears, not other zones than the one that you are in. If the testmap is small, under 500k, could you please post it here?

Isnt volumetric fog displayed zone by zone? I think distance fog works by displaying fog a particular distance from the player (good for outdoor maps).

Wormbo
23rd Jun 2003, 08:03 AM
Volumetric fog (also called volumetric lighting) is either enabled or disabled in a zone, but the actual fog is created by light sources. Volumetric lighting must be enabled for the current render device to show up.

FaT CaM
23rd Jun 2003, 08:25 AM
oh yeah, in the lighting properties you set volume brightness/radius for it.

Zxanphorian
23rd Jun 2003, 09:50 AM
boy i wish that volumetric fog was in UT2003. I hope that Epic includes it in UT2004

Wormbo
23rd Jun 2003, 11:09 AM
Hoping won't get you anywhere in this case. You should ask them.

MelvinB
23rd Jun 2003, 02:33 PM
I didn't find the problem yet. My map needs fog. Without fog it's nothing.

It's a remake of Wurzburg Radar from Return To Castle Wolfenstein:Enemy Territory. The map has thunder, rain and fog.

There's alot to do right now, but i was playing with the fog and get this stupid arse problem. :mad:

ChubbyCharley
24th Jun 2003, 06:32 PM
can u post a screen shot from inside the map?

and why do the windows and doors have 2 zoneportals??? you only need one, with 2, there is an extra zone, that would be a zone that fills the window, not needed.

if there is only one zone in one room, distance fog should work fine.

X
25th Jun 2003, 01:11 AM
I didn't find the problem yet. My map needs fog. Without fog it's nothing.

It's a remake of Wurzburg Radar from Return To Castle Wolfenstein:Enemy Territory. The map has thunder, rain and fog.

There's alot to do right now, but i was playing with the fog and get this stupid arse problem. :mad:
-e- My bad, it uses distance fog on the outside, but why do you need fog on the inside of a building?

MelvinB
25th Jun 2003, 04:22 AM
-e- My bad, it uses distance fog on the outside, but why do you need fog on the inside of a building?


To create some dust inside an old barn.

Remember DM-Asbestos? I want the same fog. :)

X
25th Jun 2003, 03:35 PM
To create some dust inside an old barn.

Remember DM-Asbestos? I want the same fog. :)

It's the same deal, distance fog

MelvinB
25th Jun 2003, 03:42 PM
It's the same deal, distance fog

Yup, but it works and it looks very nice. Don't know why it doesn't work in my map.

BTW, i don't work on this map until i figured out wtf is going on. Meanwhile, i started a new map already....

X
25th Jun 2003, 05:05 PM
If i understand what you're saying, all you want to do is delete the zoneportal between the center zone and the zone surrounding it.

Qbic
25th Jun 2003, 05:29 PM
If I understand things correctly fog is only displayed if bDistanceFog=True in the zone the player is in. There is no real fog in the map, there is just fog displayed around the player.

I guess you could try emitters but that might be too slow.

MelvinB
2nd Jul 2003, 02:39 PM
I know what causes the problem:

I always use Semi Solid Brushes, cause it can't create BSP cuts, so in fact, i can make more and better curved surfaces.

But:


A Semi Solid brush however cannot be used to close off a Zone.
(http://www.leveldesigner.com/index.php?action=doc&ID=41)

That's why there's fog everywhere in the map. :)
I hate Solid brushes, so i don't gonna use it alot anyways. I tried to find myself a good mix of Semi Solid and Solid brushes.