caulk & VIS question


(heyhey) #1

hello

i have a question regarding caulk and VIS

I have a wall made of two brushes, and one is a bit wider than the other, like on this pic :

the problem is that the space is divided into more portals than necessary. So how do i deal with that ?

I had the idea of inserting a caulk brush of the size of the finer wall and make detail the large one, like on this pic : (detail brushes are hidden)

but is it correct to superpose a normal brush and a caulk one ?

thank you


(carnage) #2

thats exactly right… or i hope cos that how ive done all my maps


(]UBC[ McNite) #3

The basic idea is right… although i would not make it 2 structural brushes cuz that splits up the VIS unnecessarily.

Either: merge the 2 small ones, make them 1 structural and tex’ it

Or: make all your brushes that get a tex detail and put a very small caulked one inside of them.


(Detoeni) #4

2 structural brushes cuz that splits up the VIS unnecessarily

no it don’t, in his example the two structual brushies would be part of the same volume of space in the bsp.

put a very small caulked one inside of them

that would make the detail brush touch two leafs, this means any detail brush touching it would also be drawn even if you cant see into that leaf.


(]UBC[ McNite) #5

Right now i can’t falsify your first answer Detoeni, but your second is def not right…

that would make the detail brush touch two leafs, this means any detail brush touching it would also be drawn even if you cant see into that leaf.

Have a look here (pic taken with r_showtris 2):

This door and the stone-curve have a very thin structural brush inside them… and as you can see not even every surface of the detail brushes that make the stone-curve that are cut by the structural and therefore are in 2 diff leafs get drawn… only the surfaces that are (partially) in the leaf i m standing in. Also the backside of the detail brush that is the door doesn’t get drawn.


(Detoeni) #6

oops, I might be wrong then, but I’m sure I have seen this artifact in the past.


(SCDS_reyalP) #7

Drawsurfs can be in multiple leafs. Such drawsurfs will be drawn when either leaf is visible, but don’t change whether others in the same leaf are drawn.

You may be thinking of another issue:
With -meta, many triangles using the same shader can be merged into one drawsurf, which can cause things you didn’t expect to be drawn. The solution is to break it up with func_groups or different shaders.