Clip Brushes

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Hellfog
Posts: 21
Joined: Sun Nov 27, 2005 2:36 am

Clip Brushes

Post by Hellfog »

Hi all,

My first post here in like 4 years. :) I fired up an old Quake3 map and decided to finish it. I started it about 4 years ago, I think I might call it forgotten. :) Anyway, I am a bit rusty.

I know that no brushes are supposed to overlap. Does this also apply to playclip? Or can I just do a big square clip over a complex collection of brushes that I need clipped. I don't really see any performance or compile differences, but I was wondering if it was the right/wrong way to do it.

Nice to be back, too bad I lost my old user id.
User avatar
Survivor
Posts: 4202
Joined: Fri Dec 27, 2002 8:00 am

Post by Survivor »

As far as I know you can do that without problems.
dnky
Posts: 188
Joined: Thu Nov 24, 2005 3:49 pm

Post by dnky »

Yes, and as far as bot play is concerned you very often should. Be that with player or bot clip.
Whatever....
Shallow
Posts: 167
Joined: Wed Feb 09, 2005 1:58 pm

Post by Shallow »

Overlapping other brushes isn't automatically a bad thing either, provided you don't just do it just because you're building sloppily, and don't overlap textured faces. In fact, overlapping detail into structural brushes is very much a necessary part of the caulk hull construction technique.

In other words, overlapping is actually OK as long as you are careful and understand what you are doing. There is some stuff in the old Radiant manual saying it increases compile time but that's BS as far as I can tell.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

To expand on what dnky said.... if you completely encapsulate a brush in a clip brush, it's removed and ignored when compiling the AAS file.

Therefore if you 'remove' lots of your brushes with well-placed clib brushes in your final build, you can end up with a very tiny bot file and often bots that play better.
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
User avatar
seremtan
Posts: 36013
Joined: Wed Nov 19, 2003 8:00 am

Post by seremtan »

if you have a look at id's sample map (dm1 iirc) there's clip all over everything in sight
Hellfog
Posts: 21
Joined: Sun Nov 27, 2005 2:36 am

Post by Hellfog »

That's good to know, thanks for all the replies. I am pretty careful with overlap. Maybe a little over kill. Even my clip brushes except for a few do not overlap, but I started looking at my map and there are hundreds of clip brushes that could really be just one clip. Like I have a lot of supports that a player can get caught on so I clipped between each one, but I guess from what you are saying I could have just clipped the entire wall with one clip brush.
User avatar
Hipshot
Posts: 1547
Joined: Sun Jan 20, 2002 8:00 am

Post by Hipshot »

Hellfog wrote:...//... but I guess from what you are saying I could have just clipped the entire wall with one clip brush.
Yes.
Q3Map2 2516 -> http://www.zfight.com/misc/files/q3/q3map_2.5.16_win32_x86.zip
Q3Map2 FS_20g -> http://www.zfight.com/misc/files/q3/q3map2_fs_20g.rar
GtkRadiant 140 -> http://www.zfight.com/misc/files/q3/GtkRadiantSetup-1.4.0-Q3RTCWET.exe
Shallow
Posts: 167
Joined: Wed Feb 09, 2005 1:58 pm

Post by Shallow »

Foo wrote:if you completely encapsulate a brush in a clip brush, it's removed and ignored when compiling the AAS file.
Not sure if that's entirely true - it's my understanding that while enclosing brushwork does effectively remove it from the final AAS but it does not make the overall BSPC process magically ignore it. It's quite possible to exceed BSPC limits with complex patchwork even if its fully encased in botclip for example. If you ever find yourself needing to have BSPC ignore surfaces, you'll need to apply non-solid shaders to them. ISTR the Tribal CTF team having problems with this back when the mod was still going, I think Mr Elusive eventually compiled a version of BSPC with raised limits for them.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

I can't comment on the limits of the compiler, I've never reached them. I think it goes without saying that BSPC would need to inspect all solid brushes in order to discard some.
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
dnky
Posts: 188
Joined: Thu Nov 24, 2005 3:49 pm

Post by dnky »

I know this is getting a little off topic, but aseing geometry would have the same effect as applying a trans shader would it not?...also for really complex levels the fix -ext switch can be used cant it to allow a simplified level to be used to compile the bot file from?
Whatever....
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

aseing?
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
User avatar
Survivor
Posts: 4202
Joined: Fri Dec 27, 2002 8:00 am

Post by Survivor »

.ase i think? Models...
dnky
Posts: 188
Joined: Thu Nov 24, 2005 3:49 pm

Post by dnky »

yes, sorry. I did indeed mean turning lumps of geometry into .ase models.
Whatever....
Shallow
Posts: 167
Joined: Wed Feb 09, 2005 1:58 pm

Post by Shallow »

Yeah, models don't directly contribute any 'solid' faces to the BSP.
Post Reply