Page 1 of 1

walls overlap?

Posted: Sat Jul 19, 2003 2:44 am
by bubbabri
is it good to have walls overlap (or intersect at corners), or to have one end AT the side of another wall.... sorry if it makes no sense, if you need a picture, i can show one if needed (i'll try)

walls

Posted: Sat Jul 19, 2003 3:37 am
by tltrude
No, nothing should overlap. The corners should be beveled and caulked.

Posted: Sat Jul 19, 2003 4:55 am
by Alcoholic
but its ok to overlap lod terrain / patch meshes.

Posted: Sat Jul 19, 2003 11:18 am
by Jack Ruby
Tltrude will be able expand on this or maybe someone better qualified than me, brushes shouldnt overlap as was explained above, you get z-fighting in the game, which just means the textures kinda shimmer strangely, however I think you can bury the end of a brush inside another brush,

eg. you could have a wooden pillar that went into the floorboards, it shouldn't cause z-fighting but the only use for this technique I have found is when making arches.

Hope that made at least a little sense.

Posted: Sat Jul 19, 2003 11:50 am
by crunch
No matter what the case, the brushes in your map should not overlap.
Burying the bottom of a pillar into the floor is not such a good idea.
Although it won't cause z-fighting because the brush surfaces do not occupy the same plane, it can cause problems if the brushes occupy the same area. (Because, among other things, you are creating extra portals within brushes)
The possibility exists that some polys of your brushes won't be rendered in-game, and also you are creating more work for the compiler.

Primitives, as Alcoholic stated, such as LOD terrain, patches, square cylinders, etc. do not cause the same adverse effects when overlapping with structural brushes, as long as brush faces are not on the same plane (z-fighting will still occur).

So, everytime you use a structural brush, it is better to butt it up against the adjacent brush(es) instead of just stretching it into the brush(es).

Kill ya Later!

overlap

Posted: Sat Jul 19, 2003 12:40 pm
by tltrude
Overlapping brushes also cause weird lighting problems (shadows and dark spots). If you have a post sticking into a floor, cut it off or move the edge even with the floor surface. Then caulk the bottom of it.

Patch Mesh and LOD Terrain are not brushes, so it is ok to overlap them into brushes or eachother. But, you still have to watchout for Z-fighting (when two textures fight for the same space). And models can overlap too.

Posted: Sat Jul 19, 2003 1:05 pm
by Jack Ruby
Great replies, everything you ever needed to know about overlapping brushes :)

Posted: Sat Jul 19, 2003 4:56 pm
by Alcoholic
yeah, and brushes can split up other brushes. this doesnt really apply to mohaa, but you can see in this counter-strike picture how brushes split up each other, even though it looks like one brush in the editor.

http://countermap.counter-strike.net/Tu ... ample1.jpg

Posted: Sat Jul 19, 2003 6:56 pm
by bubbabri
thanks for the replies. that explains everything i needed to know. now i can use some of these answers on my map.