walls overlap?

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

Moderator: Moderators

Post Reply
bubbabri
Private
Posts: 5
Joined: Tue Jul 15, 2003 2:59 am

walls overlap?

Post 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)
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

walls

Post by tltrude »

No, nothing should overlap. The corners should be beveled and caulked.
Tom Trude,

Image
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

but its ok to overlap lod terrain / patch meshes.
User avatar
Jack Ruby
General
Posts: 1443
Joined: Fri Feb 07, 2003 12:20 am
Location: london

Post 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.
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".
crunch
Major
Posts: 348
Joined: Sat Jun 14, 2003 2:34 pm
Location: USA
Contact:

Post 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!
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

overlap

Post 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.
Tom Trude,

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

Post by Jack Ruby »

Great replies, everything you ever needed to know about overlapping brushes :)
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
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post 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
bubbabri
Private
Posts: 5
Joined: Tue Jul 15, 2003 2:59 am

Post by bubbabri »

thanks for the replies. that explains everything i needed to know. now i can use some of these answers on my map.
Post Reply