Faster compling ?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Jack Ruby
General
Posts: 1443
Joined: Fri Feb 07, 2003 12:20 am
Location: london

Faster compling ?

Post by Jack Ruby »

I was just have a look around tmt, I found this thread http://www.modtheater.com/forum/showthread.php?t=11379
Now I saved myself about 4-5 hours on the VIS stage without any noticeable depreciation in FPS, so its all good, I used fast vis when I compiled. Now I am not totally sure where a full vis compile would be needed, confused but saved myself a lot of time :)
Philip II of Macedon sent a message to Sparta:
"If I win this war, you will be slaves forever."
The Spartan ephors sent back a one word reply: "If".
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

File size

Post by tltrude »

Doing a verbose compile for the vis will make the bsp file size smaller. But, I have a map that has a lot of detail brushes and the difference between fast and verbose was only .2 Mb--not worth the time spent.
Tom Trude,

Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Verbose just prints out more messages when it is compileing does nothing to help compileing . It means verbal more messages to let you know what is happening dureing the compile .
TheStorm
Captain
Posts: 233
Joined: Mon Oct 07, 2002 7:45 am
Location: Gavle, Sweden
Contact:

Post by TheStorm »

Fast VIS means that it will not calculate which portals that can see which, basically all portals can see each other. The reason you should run a normal vis and not fast vis is that you will get better fps, since it will calculate what a portal can see or not can see.

The reason you get the same FPS in fast VIS as in normal VIS is that the map is not planned in such way that VIS is effective. Then you don't have to bother with full vis.

Full vis does not take long time if it's a well planned map. The map I'm currently working on "Senjou Shima" has a vis data of 226k and full vis takes about 3 minutes. FPS are very high compared to a fast vis compile

I have made other maps with less vis data but vis compile took about 12 hours....and no difference in fps between the compiles. That's because I made it before I understood this whole VIS thing!!

I once tried to write something to help people understand, some people find this interestning and others are still confused!! It's not easy to understand......
http://w1.261.telia.com/~u26123488/vis/ ... ummies.htm
TMT admin, visit www.modtheater.com
HITP Lead Mapper
Member of Electronic Arts MOHteam
Slyk
Lieutenant Colonel
Posts: 361
Joined: Sun Jul 14, 2002 12:42 am
Location: Elizabethtown, PA

Post by Slyk »

Storm.... let discuss. I've read your vis guide several times and really appreciate the difficulty of trying to convey the content.

Couple questions though.
1. on some of my big outdoor maps, VIS works great...high FPS all around and only 'fast' VIS....most brushes 'detailed'.
2. on my more complex wrecked city scape maps, i've always tried to leave major, intact walls 'structural' and all other stuff detail. Again I use 'fast' VIS and get good FPS, sometimes great FPS. Now, it always appeared to me that by doing a 'full' VIS compile never gained me anything except time spent in compile.

SO, would it really make a difference to make ALL brushes detail because since my entire map is divided by VIS leafgroups, the engine should be paying attention ONLY to them, not the 'structural' brushes within them. Or am I still, after a year of mapping, missing the point???

Tough to figure out for me sometimes as I often wonder and experiment with what should work better. Fortunately, even though my maps are not always optimized to block sight lines on their own, I've gotten away with using VIS to boost FPS to above average levels....although I still manage to have one spot in some maps where it struggles... Follow me?
TheStorm
Captain
Posts: 233
Joined: Mon Oct 07, 2002 7:45 am
Location: Gavle, Sweden
Contact:

Post by TheStorm »

This is an endless discussion, lol!!

VIS_leafgroups work with fast VIS too (it's a kind of manual shut down of areas), this means that if you have used VIS_leafgroups in the entire map and planed for it then you don't have to do a full vis, that would be overkill!!

Placing VIS leafgroups in an entire map is a lot of work but it gives you a great control over what is going to be drawn or not.
TMT admin, visit www.modtheater.com
HITP Lead Mapper
Member of Electronic Arts MOHteam
User avatar
CorporalPunishment
Sergeant
Posts: 62
Joined: Mon May 19, 2003 5:25 am

Post by CorporalPunishment »

TheStorm wrote:This is an endless discussion, lol!!

VIS_leafgroups work with fast VIS too (it's a kind of manual shut down of areas), this means that if you have used VIS_leafgroups in the entire map and planed for it then you don't have to do a full vis, that would be overkill!!

Placing VIS leafgroups in an entire map is a lot of work but it gives you a great control over what is going to be drawn or not.
For my large open map manual VIS was the only option.
However the compile times didn't get respectable until I added a worldspawn variable "vis_derived" as 1. The BSP compile went from 6.5 days to under 3 minutes.
TheStorm
Captain
Posts: 233
Joined: Mon Oct 07, 2002 7:45 am
Location: Gavle, Sweden
Contact:

Post by TheStorm »

CorporalPunishment wrote: For my large open map manual VIS was the only option.
However the compile times didn't get respectable until I added a worldspawn variable "vis_derived" as 1. The BSP compile went from 6.5 days to under 3 minutes.
6.5 days on fast vis.....you must be kidding!!
TMT admin, visit www.modtheater.com
HITP Lead Mapper
Member of Electronic Arts MOHteam
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

No he isnt, but the thing is one way or another you must do a full vis, you can cheat on the lighting with fast light but never with vis, not if you want your map to be the best it can be.

;)
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
BiG_HeaD
Brigadier General
Posts: 531
Joined: Thu Jul 03, 2003 7:28 pm

Post by BiG_HeaD »

Aight Listen, If you want a faster compile Time, Make a Way smaller Sky Box. Make the Sky no more than maybe 1000 units off the ground and no more than maybe 300 below(under the map)

If you ever played The Hunt on demo and cheated, Remeber when you could go under the map? Its becuase that was the sky that you were walking on.

I closed my sky in and compiling times went faster by 45minutes.
Post Reply