Page 1 of 1

Hollowing out brushes

Posted: Mon Apr 28, 2003 8:11 pm
by Jugement Dernier
Just a simple question from a total newbie.

Do we or do we not hollow out shapes in Radient, and maybe as an extra... W H Y.!

thanks . :roll:

Posted: Mon Apr 28, 2003 8:23 pm
by wacko
No! We don't!

WHY? Because the resulting brushes aren't the way they should be:
Examining one edge of that box,
Hollowing does this:
| |
|_|___
L_|___

and it should be like this:
| |
| |___
|/____
(these wonderful pictures are stolen from one of Bjarne's posts!)

Posted: Mon Apr 28, 2003 8:38 pm
by Sonsai
I hollow... and I don't see a problem with it... :oops:

Posted: Mon Apr 28, 2003 8:56 pm
by wacko
You ought to find that at all edges the brushes overlap. And you surely won't say that's fine for you? The results is worse FPS and Z-fighting!

Posted: Mon Apr 28, 2003 9:47 pm
by Sonsai
Well what I do is after I hollow I just go un-overlap them. I usually drag the top brushes away, and bring the side ones up. Does that redeem for hollowing it? :wink:

Posted: Mon Apr 28, 2003 10:00 pm
by wacko
yep. but don't forget to make these diagonal connections (I know they have a name :oops: ) at edges which can be seen from 'outside', i.e. in places where the player would see an additional face.
| |
|_|___
L____
(3 faces from outside)

| |
| |___
|/____
(2 faces from outside)

I find hollowing rather seldom useful, because it makes a brush for each face and mostly I don't need one on every side, and dragging a new brush doesn't take much longer, but do as you are comfortable! :)

Posted: Mon Apr 28, 2003 10:08 pm
by TheShiznaeSpe
Wacko wrote:yep. but don't forget to make these diagonal connections (I know they have a name :oops: )

the method is called mitering the walls :wink:

Don't hollow

Posted: Mon Apr 28, 2003 10:15 pm
by tltrude
I have seen maps where people hollow out closed boxes and there is no need for that, unless you are going to make one side a func_create. Solid shapes are better for vis compiliing. Beleveling the edges of walls helps to reduce the face count and improve light leaks. And, don't forget to caulk all the faces players will never see.

Posted: Mon Apr 28, 2003 11:44 pm
by Jugement Dernier
Thanks guys..........and the winner is....not to hollow.

Very entertaining and its reassuring to see that many of you know what they are talking about


thanks again :roll:

Posted: Tue Apr 29, 2003 12:24 am
by Sonsai
Whats the good of mitering walls?

Mitered

Posted: Tue Apr 29, 2003 4:55 am
by tltrude
You can apply caulk to both the mitered faces, but with a butt joint, only one face can be caulked. Reducing the face count improves preformence. Also, mitered corners have less chance of leaking light at the joint. And, inside textures fits better, if part of the face is not hidden behind another wall.

Nuff said?

Posted: Tue Apr 29, 2003 9:11 pm
by Sonsai
I see, but my walls are like this:

| |
| |
|_|___

|_____

Erhm.. lets see if I can make a better drawing.

|aaaaaaaaaaaaaaaaa|
|aaaaaaaaaaaaaaaaa|
|aaaaaaaaaaaaaaaaa|
|_ _ _ _ _ _ _ _ _ _ _ |

That is one wall.

Then here is my other one, side view:

|aaaaaa|
|aaaaaa|
|_ _ _ _|

So as you can see class... erhm... as you can see tltrude. No two walls in my room occupy the same space. Is that almost the same as mitering walls? Or should I just miter walls?

Posted: Tue Apr 29, 2003 9:41 pm
by General Death
As far as face counts you caulk two faces versus one when you miter like Tltrude said thus lowering your face count...thats a very good thing :). You will also end up with walls consisting of one face rather then two which is a "cleaner" way to map imho.

A Butt Joint:

Image

A Miter Joint:

Image

See the diff? A miter joint removes unneeded faces :)

To miter a brush hightlight it and then hit "E". Blue boxes will appear in the corners and center of each edge of the brush. Click on the edge/corner you want to modify and drag :)

Posted: Tue Apr 29, 2003 10:20 pm
by Surgeon
Mitering has always been a grey area when it comes to all the games I have mapped for....Halflife, Quake and MOH ..... I generally use it mainly out of force of habit more than anything else and it does seem to cut down on light leaking through walls etc......