lfnetwork.com mark read register faq members calendar

Thread: Fog, clipping plane included?
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 07-28-2002, 04:43 PM   #1
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
Fog, clipping plane included?

I know for some games, they use fog in huge open areas to cover up the details in the background and improve framerate. It usually (I think) does this by not rendering the faces in the opaque areas of the fog, improving framerate. Does JO do this same thing?


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 07-29-2002, 03:25 AM   #2
idontlikegeorge
 
idontlikegeorge's Avatar
 
Join Date: Jun 2002
Location: Striking fear into the hearts of Demolicans and Republicrats.
Posts: 951
maybe... i noticed in the scripts they give you in the 2d pack, in the yavin_canyon/range_1 script there is:
set ( /*@SET_TYPES*/ "SET_VISRANGE", 4000.000 );

???
idontlikegeorge is offline   you may: quote & reply,
Old 07-29-2002, 08:32 PM   #3
Karshaddii
 
Karshaddii's Avatar
 
Join Date: Jun 2002
Location: New Castella
Posts: 357
Actually what the fog is is a cover up for the vision range. Volumetric fog by itself makes the fps go FPHUMP--oh wait, your Emon--you probably already new this = )


Today isn't your lucky day....tommorrow isn't looking good either...
Karshaddii is offline   you may: quote & reply,
Old 07-29-2002, 08:49 PM   #4
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
The regular fog brushes aren't volumetric. The volumetric fog is like the fog above the water on the Yavin Swamp, it has volume to it. It's also extremely slow.

I'm pretty sure it does help, because in tons of other games like Rogue Spear and Ghost Recon, they use the same thing. RS uses a old fashioned clipping plane with fog over it (optional depending on the map) and GR uses just fog.


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 07-30-2002, 02:46 AM   #5
idontlikegeorge
 
idontlikegeorge's Avatar
 
Join Date: Jun 2002
Location: Striking fear into the hearts of Demolicans and Republicrats.
Posts: 951


so was the question answered?
idontlikegeorge is offline   you may: quote & reply,
Old 07-30-2002, 05:27 PM   #6
Karshaddii
 
Karshaddii's Avatar
 
Join Date: Jun 2002
Location: New Castella
Posts: 357
Yes.

See, all you have to do to answer Emon's questions is post something blatantly stupid or wrong--and he will correct you and solve the problem for himself.

"think outside the box"

or was it....


But seriously--Yeah--a TON of games use fog to speed things up--in fact--I'm having trouble naming one that doesn't...

But Emon--to be....philisophical...?...My in my sp level, Massassi Catacombs--on the top in the swamps I filled a large area with fog--and the frame rates dropped--even thought it covered up a BUNCH of polygons. I am not quite sure why--but it did...and yes...my video card can handle fog QUITE easily



Today isn't your lucky day....tommorrow isn't looking good either...
Karshaddii is offline   you may: quote & reply,
Old 07-30-2002, 08:29 PM   #7
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
Okay, I was asking a question, that's all. I'll do some tests later to get some real results.


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 07-30-2002, 08:47 PM   #8
Drakewl
 
Join Date: Apr 2002
Posts: 140
Karshaddii, how much polys did you hide behind the fog?

i ask this because of the following


i know a similiar case, this time with visibility culling (polygons behind other polygons won't be rendered in realtime processing).

First i have to say, that visibility culling needs a base amount of processing capacity, no matter if it has much to do or almost nothing.

You have two large rooms, one with 10 pillars, the other one with 100 pillars. Visibility Culling in the first room has almost nothing to do, but its eating performance, this way, you would get a better performance when switching off vis culling. But in the room with 100 pillars (many polygons) the vis culling will increase your performance remarkably in contrast to the same scene but this time without vis culling.


So maybe its the same with fog, who knows
Drakewl is offline   you may: quote & reply,
Old 07-30-2002, 11:16 PM   #9
RichDiesal
Pointfile of DOOM
 
RichDiesal's Avatar
 
Join Date: Apr 2002
Location: Minneapolis, MN
Posts: 1,362
Except that JO doesn't do realtime visibility culling... that's what the VIS process does during compile, to prevent the processor from needing to use those cycles during gameplay.

Thus, fog works the same way. It in no way affects triangles visible to the engine, as all of that is calculated at compile. Other game (Medal of Honor and Grand Theft Auto 3 come to mind) use realtime visibility calculations (a dynamic movable clipping plane) and draw fog beyond that plane. JO (in fact, the Q3A engine in general) does not support this.

Fog in JO is a particle effect, not an actual visibility function, and thus does not affect framerate in that way (although the high particle count will very likely decrease framerate).


There are three things that I paricularly hate: kids, animals, and women with attitudes.

http://richdiesal.jedioutcastmaps.com - Map Showcase and Tutorials!
RichDiesal is offline   you may: quote & reply,
Old 07-31-2002, 12:56 AM   #10
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
Bah! There isn't any way to make a clipping plane yourself or emulate it, is there?


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 07-31-2002, 03:14 PM   #11
fourwood
 
Join Date: May 2001
Posts: 60
This is why you need foghulls. ...bwahahha.
fourwood is offline   you may: quote & reply,
Old 07-31-2002, 03:40 PM   #12
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
What?


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 07-31-2002, 05:00 PM   #13
Karshaddii
 
Karshaddii's Avatar
 
Join Date: Jun 2002
Location: New Castella
Posts: 357
How many polys?

Heheh, lets see.

I had *about* 200 brushes I was hiding. BUT--those were heavily altered brushes using the vertex tool--each brush having anywhere from about 8 sides to 15 sides. Plus I had exactly 15 tree models.

And Emon, I wasn't trying to be mean


Today isn't your lucky day....tommorrow isn't looking good either...
Karshaddii is offline   you may: quote & reply,
Old 07-31-2002, 05:45 PM   #14
Drakewl
 
Join Date: Apr 2002
Posts: 140
look at this, i think we have a clear answer to emons question now


http://zerowing.idsoftware.com/archi...ry/002103.html



and some corresponding threads from quake3world-forums, just use the search function for "foghull":

#1
http://www.quake3world.com/ubb/Forum...019997-20.html
#2
http://www.quake3world.com/ubb/Forum...019997-21.html
Drakewl is offline   you may: quote & reply,
Old 07-31-2002, 06:34 PM   #15
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
!!!....!!! I'M GOING TO TRY THAT RIGHT NOW!


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 07-31-2002, 07:40 PM   #16
Drakewl
 
Join Date: Apr 2002
Posts: 140
much success on it, should work hopefully

and pls tell us your results

thx
Drakewl is offline   you may: quote & reply,
Old 07-31-2002, 07:59 PM   #17
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
I wasn't sure about that one because, the link he posted...


Instead I tried the distancecull key of worldspawn, set it to 384, not far, I know. I tested it in the duel_valley level that comes with the second SDK, and it works, and it's much faster than without it. Only problem is that it creates HOM. I'm trying to solve this now by using global fog which will be opaque before the distance cull, that HOM clipping plane is never seen, and you still get a huge FPS boost!

I'll let you know how the results are.


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 07-31-2002, 08:16 PM   #18
Drakewl
 
Join Date: Apr 2002
Posts: 140
aahh, i didnt read the threads of the links i posted very carefully, wasnt aware of the point that they are referring to ydnars q3map that doesnt has jko support yet. But now reading all those posts, i want q3map2 more and more


back to culling

in the days, i did my first attempts on radiant, i made a group of large rooms and used the distance cull parameter, which resulted in the HOM effect, that i didnt know much about, i was just wondering what happened to my map . then i was deleting the parm and not discovering its function some more, i had other more weighting problems at this time


but it seems, we will get out performance boost with fog
Drakewl is offline   you may: quote & reply,
Old 07-31-2002, 08:18 PM   #19
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
Worldspawn ambient fog seems to make my level entirely dark... I'm trying just a huge fog brush right now.


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 07-31-2002, 08:26 PM   #20
Drakewl
 
Join Date: Apr 2002
Posts: 140
by the way, ydnar gave some words on the progress he made on jko/sof2 support of q3maps


Quote:
I have done preliminary work on SOF2/JKII support, but nothing further. The two games use a different BSP format (RBSP rather than IBSP) with some extensions to the various components. The hard part will be supporting > 1 BSP format internally, as the code is currently hard-wired for the Q3/Wolf/EF BSP format.

On a side note, -game ef now supports Elite Force (preliminary). I haven't worked out the per-game surfaceparms yet, so the EF forcefield won't work properly.

Last edited by Drakewl; 07-31-2002 at 08:38 PM.
Drakewl is offline   you may: quote & reply,
Old 07-31-2002, 08:49 PM   #21
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
I think I got it working. Just use distancecull XX for the number of units to cull, then use a fog with an opaque distance just less than that, and it'll look seamless. I was using a fog with 4000, and it removed the HOM, and stuff still culled at my 384 units, but it was ugly. The fog was fine but stuff would cull, and when it did it just disappeared into nowhere, ya know? So if you disguise it with fog you'll never know!


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 07-31-2002, 09:07 PM   #22
RichDiesal
Pointfile of DOOM
 
RichDiesal's Avatar
 
Join Date: Apr 2002
Location: Minneapolis, MN
Posts: 1,362
That is quite slick. Mmm...may hafta take advantage of this in the near future.


There are three things that I paricularly hate: kids, animals, and women with attitudes.

http://richdiesal.jedioutcastmaps.com - Map Showcase and Tutorials!
RichDiesal is offline   you may: quote & reply,
Old 07-31-2002, 09:12 PM   #23
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
I can't imagine it having a practical use unless your map is huge and open, like mine will :-)

I'm not sure what these foghull think fourwood speaks of, but it's probably something that won't happen until Q3MAP2 support for JO...

Damn I can't wait for that! Faster compiling, more reliable auto-cull than SOF2MAP, fixed MP metalsteps, better lighting. Hmmm...sexy.


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 07-31-2002, 09:14 PM   #24
RichDiesal
Pointfile of DOOM
 
RichDiesal's Avatar
 
Join Date: Apr 2002
Location: Minneapolis, MN
Posts: 1,362
Eh, I'd rather wait for the Doom III editor.

New screens out on Gamespot, by the by... the fully dynamic lighting effects look slick.


There are three things that I paricularly hate: kids, animals, and women with attitudes.

http://richdiesal.jedioutcastmaps.com - Map Showcase and Tutorials!
RichDiesal is offline   you may: quote & reply,
Old 07-31-2002, 09:34 PM   #25
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
I was talking about Q3MAP2, the compiler, not an editor...

Doom III will probably be all brushes like Q3, so that sucks ass. Sector and brush combinations like the Unreal Warfare/Unreal engine are the best, no doubt.


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 08-01-2002, 01:35 AM   #26
idontlikegeorge
 
idontlikegeorge's Avatar
 
Join Date: Jun 2002
Location: Striking fear into the hearts of Demolicans and Republicrats.
Posts: 951
should make a tutorial on this, emon
idontlikegeorge is offline   you may: quote & reply,
Old 08-01-2002, 03:08 AM   #27
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
Right now I'm trying to get models in game. Spacemonkey's tutorial is sheer and utter crap, he should be shot just for ever making such a stupid peice of useless junk. GRR...Can't find any good ones...


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 08-01-2002, 03:20 AM   #28
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
P.S.

Didn't mean anything by that, just lashing out in rage cause I can't find a single tutorial on this... GRR


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JO Mapping > Fog, clipping plane included?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:27 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.