Fog in cave

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Bliccer
Posts: 341
Joined: Thu Nov 26, 2009 4:27 pm

Fog in cave

Post 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?
Noruen
Posts: 308
Joined: Thu Jan 28, 2010 11:45 pm

Re: Fog in cave

Post 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?
Bliccer
Posts: 341
Joined: Thu Nov 26, 2009 4:27 pm

Re: Fog in cave

Post by Bliccer »

The terrain is a model, yes. The planks are brushes.
dONKEY
Posts: 566
Joined: Mon Oct 15, 2001 7:00 am

Re: Fog in cave

Post 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.....
ShadoW_86
Posts: 270
Joined: Tue Jan 08, 2008 1:20 pm

Re: Fog in cave

Post 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.
[url]http://shadowsdomain.wordpress.com/[/url]
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Fog in cave

Post 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.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Bliccer
Posts: 341
Joined: Thu Nov 26, 2009 4:27 pm

Re: Fog in cave

Post by Bliccer »

They are lightmapped.
Hr.O
Posts: 152
Joined: Wed Jul 12, 2000 7:00 am

Re: Fog in cave

Post 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)
Delirium
Posts: 102
Joined: Mon Apr 27, 2009 10:05 am

Re: Fog in cave

Post 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.
[url=http://gotdelirium.com/][img]http://www.gotdelirium.com/stuff/gdd.png[/img][/url]
Bliccer
Posts: 341
Joined: Thu Nov 26, 2009 4:27 pm

Re: Fog in cave

Post by Bliccer »

Well, the map is released already. Don't have the version with the fog anymore. But thanks.
Post Reply