Page 1 of 1

Fog in cave

Posted: Sun Aug 01, 2010 7:32 pm
by Bliccer
Hey,
I've already talked with obsidian about a strange bug which occurs with fog in combination with models. I love the fog, I have and I want to use it in my map, but somehow the fog is covering all of the terrain. I got it to work sometime, but then I heightened it 1 unit and now it's buggy again... also lowered it afterwards, but still same problem. Sometimes it's working and in the next compile it's broken again.

Image

Image

And one more strange thing: The fog is working in a normal room with a brush of 2 units. When I put it into the cave with 2 units, it's kind of broken and I can only see the hazes, like they are on every fog, but only without color. Any ideas?

Re: Fog in cave

Posted: Sun Aug 01, 2010 8:37 pm
by Noruen
It is weird... never happened to me. But I saw, when I was creating my map, that this kind of bug is often caused by models - are these planks models, or normal brushes?

AND - have you tried to compile map with lightning?

Re: Fog in cave

Posted: Sun Aug 01, 2010 8:59 pm
by Bliccer
The terrain is a model, yes. The planks are brushes.

Re: Fog in cave

Posted: Mon Aug 02, 2010 9:46 am
by dONKEY
fog and models in q3 just dont work....Obsidian or Kat may know a way around this...as they are kinda smart...but afaik, there is no solution.
idtech4 on the other hand copes better....oh yeah, forgot, nobody plays idtech4 games any more.....

Re: Fog in cave

Posted: Mon Aug 02, 2010 2:20 pm
by ShadoW_86
It's actually kinda funny how every earlier engine generation of 'idTech' is more popular then idt4 :/. QL obviously, with Urban terror and other mods/games. Quake 2 - Alien arena, Q2W, and some other. Even Q1 have some mods/games which are still played over internet.

Re: Fog in cave

Posted: Mon Aug 02, 2010 3:29 pm
by obsidian
I've had this problem only once but I don't recall the solution. I was doing something funny with the way the fog overlapped the model. I think perhaps it was overlapping part of it, but not completely or something along those lines. It may have also been something with the shader. Are the models vertex lit or lightmapped? Orange fog did something screwy with my staircase model.

Image

Maybe if you zipped up the whole thing I could take a look at it.

Re: Fog in cave

Posted: Mon Aug 02, 2010 6:09 pm
by Bliccer
They are lightmapped.

Re: Fog in cave

Posted: Mon Aug 02, 2010 7:03 pm
by Hr.O
Iirc fog needs to sit in a structural hull. A bathtub so to speak.

Together with liquids it's one of the more annoying things to accomplish.
I suggest you read up all you can find on fog an liquids (shader manual is a good startingpoint) Because it's a bit too much to explain in a single forum post. (besides, my skills have become very rusty)

Re: Fog in cave

Posted: Mon Aug 16, 2010 6:23 am
by Delirium
Sorry I missed this topic somehow, I have used Models with fog, models near fog AND models in fog yet have received no such errors or problems.
Do you mind zipping up the .map, models and shaders for me, i'll see if i can help you out.

Re: Fog in cave

Posted: Tue Aug 24, 2010 2:39 pm
by Bliccer
Well, the map is released already. Don't have the version with the fog anymore. But thanks.