how to find the brush that causes MAX_TW_VERTS (12) exceeded


(Niklas_) #1

sorry for this topic, i know that this is a common error. Nevertheless, nothing helped me and i worked on this error for a long time now.
I don’t have other errors like MAX_VISIBILITY_EXCEEDED*

how to find the brush that causes “MAX_TW_VERTS (12) exceeded”???
I think i have all brushes with many sides made to detail or deleted. It may be possible that I have “lost” such a brush inside another or behind some, or I just forgot it. I don’t find it… is there any possibility to find???

*but it takes a very long time. The problem is that it creates more than 3500 portals…I think this is because of my terrain, does it make sense to put it into a box and make detail out of my terrain???


(]UBC[ McNite) #2

Your terrain should be detail of course.

For your own happiness you should search for some threads on structural and detail and how VIS-blocking works. That will give you a good idea of what to have as structural only.


(Niklas_) #3

lol
i don’t have much structural…but the terrain is, because of the void problem :slight_smile: but i’ll make it detail :slight_smile:


(psyco_mario) #4

make the terrain detail!!!

Map leaked? doh!

Make it detail, and then under it, put a big caulk structure brush. :slight_smile:


(Niklas_) #5

…that was what i meant with “box”…
but the “MAX_TW_VERTS (12) exceeded” doesn’t come from the terrain…


(psyco_mario) #6

oh right, well if its a certain brush, this is what i do:

1: Save your map
2:Cut it into 2 halfs and put them in differnet .maps and SAVE THEM AS A NEW FILES!!!
3:Complie
4:If you still get the error, its in that half, so repeat, if its not, complie the other half, ect…


(SCDS_reyalP) #7

http://www.google.com/search?hl=en&q=MAX_TW_VERTS&btnG=Google+Search

You can find a couple of posts where ydnar explains exactly why this happens.


(kamikazee) #8

I would just check the whole VIS thing. MAX_VISIBILITY_EXCEEDED is allways an error to worry about, you shouldn’t continue for a long as you can not solve that one.

Basicly the same as what ]UBC[ McNite said.


(Niklas_) #9

… i searched google with exactly the same key. I found many sites but I don’t have a problem to understarnd the error, i search a solution! I know that it would help to delete ist or make it detail, but I don’t find it…

–>kamikazee: “I don’t have other errors like MAX_VISIBILITY_EXCEEDED*”… i just wrote the example because i’ve read that it can be caused by the same error…I can compile with vis without errors. Only with light I have problems…


(kamikazee) #10

Oops, you didn’t have that error. But if it takes too long, it’s still worth some time to improve VIS.

Tried the portal viewer plugin in GTKRadiant? If you hide all detail brushes, (see View -> Filter -> Detail) you can track down where a lot of small portals are formed. At that place you should try to make more things detail. This might mean that you have to rebuild the outer edges of your map just to avoid leaks.


(Niklas_) #11

hasn’t anybody a clue how to find it???

I searched through the map file in text mode. I’ve found a weird entry(i havn’t seen before)

is this meant by the error:

// brush 193
{
( -2220 -484 1340 ) ( -2150 -484 1351 ) ( -2163 -443 1351 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2166 -484 1351 ) ( -2102 -484 1384 ) ( -2128 -405 1384 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2102 -484 1384 ) ( -2052 -484 1434 ) ( -2087 -376 1434 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2052 -484 1434 ) ( -2019 -484 1498 ) ( -2061 -357 1498 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2019 -484 1498 ) ( -2008 -484 1568 ) ( -2052 -350 1568 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2008 -484 1568 ) ( -2019 -484 1638 ) ( -2061 -357 1638 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2003 -484 1638 ) ( -2036 -484 1702 ) ( -2071 -376 1702 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2036 -484 1702 ) ( -2086 -484 1752 ) ( -2112 -405 1752 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2086 -484 1752 ) ( -2150 -484 1785 ) ( -2163 -443 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2220 -484 1340 ) ( -2163 -443 1351 ) ( -2198 -417 1351 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2179 -459 1351 ) ( -2128 -421 1384 ) ( -2195 -373 1384 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2128 -421 1384 ) ( -2087 -392 1434 ) ( -2179 -325 1434 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2087 -392 1434 ) ( -2061 -373 1498 ) ( -2169 -294 1498 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2061 -373 1498 ) ( -2052 -366 1568 ) ( -2166 -283 1568 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2045 -357 1638 ) ( -2071 -376 1702 ) ( -2163 -309 1702 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2071 -376 1702 ) ( -2112 -405 1752 ) ( -2179 -357 1752 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2112 -405 1752 ) ( -2163 -443 1785 ) ( -2198 -417 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2220 -484 1340 ) ( -2198 -417 1351 ) ( -2242 -417 1351 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2198 -433 1351 ) ( -2179 -373 1384 ) ( -2261 -373 1384 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2179 -373 1384 ) ( -2163 -325 1434 ) ( -2277 -325 1434 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2163 -325 1434 ) ( -2153 -294 1498 ) ( -2287 -294 1498 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2153 -294 1498 ) ( -2150 -283 1568 ) ( -2290 -283 1568 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2150 -283 1568 ) ( -2153 -294 1638 ) ( -2287 -294 1638 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2153 -278 1638 ) ( -2163 -309 1702 ) ( -2277 -309 1702 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2163 -309 1702 ) ( -2179 -357 1752 ) ( -2261 -357 1752 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2179 -357 1752 ) ( -2198 -417 1785 ) ( -2242 -417 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2220 -484 1340 ) ( -2242 -417 1351 ) ( -2277 -443 1351 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2242 -433 1351 ) ( -2261 -373 1384 ) ( -2328 -421 1384 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2261 -373 1384 ) ( -2277 -325 1434 ) ( -2369 -392 1434 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2277 -325 1434 ) ( -2287 -294 1498 ) ( -2395 -373 1498 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2287 -294 1498 ) ( -2290 -283 1568 ) ( -2404 -366 1568 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2290 -283 1568 ) ( -2287 -294 1638 ) ( -2395 -373 1638 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2287 -278 1638 ) ( -2277 -309 1702 ) ( -2369 -376 1702 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2277 -309 1702 ) ( -2261 -357 1752 ) ( -2328 -405 1752 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2261 -357 1752 ) ( -2242 -417 1785 ) ( -2277 -443 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2220 -484 1340 ) ( -2277 -443 1351 ) ( -2290 -484 1351 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2277 -443 1351 ) ( -2328 -405 1384 ) ( -2354 -484 1384 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2328 -405 1384 ) ( -2369 -376 1434 ) ( -2404 -484 1434 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2353 -376 1434 ) ( -2379 -357 1498 ) ( -2421 -484 1498 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2379 -357 1498 ) ( -2388 -350 1568 ) ( -2432 -484 1568 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2388 -350 1568 ) ( -2379 -357 1638 ) ( -2421 -484 1638 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2395 -357 1638 ) ( -2369 -376 1702 ) ( -2404 -484 1702 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2369 -376 1702 ) ( -2328 -405 1752 ) ( -2354 -484 1752 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2328 -405 1752 ) ( -2277 -443 1785 ) ( -2290 -484 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2220 -484 1340 ) ( -2290 -484 1351 ) ( -2277 -525 1351 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2290 -484 1351 ) ( -2354 -484 1384 ) ( -2328 -563 1384 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2354 -484 1384 ) ( -2404 -484 1434 ) ( -2369 -592 1434 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2388 -484 1434 ) ( -2421 -484 1498 ) ( -2379 -611 1498 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2421 -484 1498 ) ( -2432 -484 1568 ) ( -2388 -618 1568 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2432 -484 1568 ) ( -2421 -484 1638 ) ( -2379 -611 1638 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2421 -484 1638 ) ( -2388 -484 1702 ) ( -2353 -592 1702 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2404 -484 1702 ) ( -2354 -484 1752 ) ( -2328 -563 1752 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2354 -484 1752 ) ( -2290 -484 1785 ) ( -2277 -525 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2220 -484 1340 ) ( -2277 -525 1351 ) ( -2242 -551 1351 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2277 -525 1351 ) ( -2328 -563 1384 ) ( -2261 -611 1384 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2328 -555 1384 ) ( -2369 -584 1434 ) ( -2277 -651 1434 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2369 -584 1434 ) ( -2395 -603 1498 ) ( -2287 -682 1498 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2395 -603 1498 ) ( -2404 -610 1568 ) ( -2290 -693 1568 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2404 -610 1568 ) ( -2395 -603 1638 ) ( -2287 -682 1638 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2395 -611 1638 ) ( -2369 -592 1702 ) ( -2277 -659 1702 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2369 -592 1702 ) ( -2328 -563 1752 ) ( -2261 -611 1752 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2328 -563 1752 ) ( -2277 -525 1785 ) ( -2242 -551 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2220 -484 1340 ) ( -2242 -551 1351 ) ( -2198 -551 1351 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2242 -543 1351 ) ( -2261 -603 1384 ) ( -2179 -603 1384 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2261 -603 1384 ) ( -2277 -651 1434 ) ( -2163 -651 1434 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2277 -651 1434 ) ( -2287 -682 1498 ) ( -2153 -682 1498 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2287 -682 1498 ) ( -2290 -693 1568 ) ( -2150 -693 1568 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2290 -693 1568 ) ( -2287 -682 1638 ) ( -2153 -682 1638 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2287 -682 1638 ) ( -2277 -651 1702 ) ( -2163 -651 1702 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2277 -659 1702 ) ( -2261 -611 1752 ) ( -2179 -611 1752 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2261 -611 1752 ) ( -2242 -551 1785 ) ( -2198 -551 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2220 -484 1340 ) ( -2198 -551 1351 ) ( -2163 -525 1351 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2198 -543 1351 ) ( -2179 -603 1384 ) ( -2112 -555 1384 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2179 -603 1384 ) ( -2163 -651 1434 ) ( -2071 -584 1434 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2163 -651 1434 ) ( -2153 -682 1498 ) ( -2045 -603 1498 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2153 -682 1498 ) ( -2150 -693 1568 ) ( -2036 -610 1568 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2150 -693 1568 ) ( -2153 -682 1638 ) ( -2045 -603 1638 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2153 -682 1638 ) ( -2163 -651 1702 ) ( -2071 -584 1702 ) cathedrale_wall/cathedrale_c09 32 64 0 0.5 0.5 0 0 0
( -2163 -659 1702 ) ( -2179 -611 1752 ) ( -2112 -563 1752 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2179 -611 1752 ) ( -2198 -551 1785 ) ( -2163 -525 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2220 -484 1340 ) ( -2163 -525 1351 ) ( -2150 -484 1351 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2179 -525 1351 ) ( -2128 -563 1384 ) ( -2102 -484 1384 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2128 -563 1384 ) ( -2087 -592 1434 ) ( -2052 -484 1434 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2087 -592 1434 ) ( -2061 -611 1498 ) ( -2019 -484 1498 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2061 -611 1498 ) ( -2052 -618 1568 ) ( -2008 -484 1568 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2052 -618 1568 ) ( -2061 -611 1638 ) ( -2019 -484 1638 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2045 -611 1638 ) ( -2071 -592 1702 ) ( -2036 -484 1702 ) cathedrale_wall/cathedrale_c09 64 64 0 0.5 0.5 0 0 0
( -2071 -592 1702 ) ( -2112 -563 1752 ) ( -2086 -484 1752 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2112 -563 1752 ) ( -2163 -525 1785 ) ( -2150 -484 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2150 -484 1785 ) ( -2220 -484 1796 ) ( -2163 -443 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2163 -443 1785 ) ( -2220 -484 1796 ) ( -2198 -417 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2198 -417 1785 ) ( -2220 -484 1796 ) ( -2242 -417 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2242 -417 1785 ) ( -2220 -484 1796 ) ( -2277 -443 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2277 -443 1785 ) ( -2220 -484 1796 ) ( -2290 -484 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2290 -484 1785 ) ( -2220 -484 1796 ) ( -2277 -525 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2277 -525 1785 ) ( -2220 -484 1796 ) ( -2242 -551 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2242 -551 1785 ) ( -2220 -484 1796 ) ( -2198 -551 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2198 -551 1785 ) ( -2220 -484 1796 ) ( -2163 -525 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
( -2163 -525 1785 ) ( -2220 -484 1796 ) ( -2150 -484 1785 ) cathedrale_wall/cathedrale_c09 32 -64 0 0.5 0.5 0 0 0
}

this seems to be a single brush in the file.


(Shaderman) #12

This one looks broken :slight_smile:

You can try to select this brush with “Misc --> Find brush --> Entity number:0, Brush number: 193” and delete it.

If this doesn’t work, make a copy of the .map file and replace brush 193 with this:

// brush 193
{
( 64 64 -64 ) ( -64 64 -64 ) ( -64 -64 -64 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -64 -64 64 ) ( -64 64 64 ) ( 64 64 64 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -64 -64 64 ) ( 64 -64 64 ) ( 64 -64 0 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 64 -64 64 ) ( 64 64 64 ) ( 64 64 0 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 64 64 64 ) ( -64 64 64 ) ( -64 64 0 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -64 64 64 ) ( -64 -64 64 ) ( -64 -64 0 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
}

Load your map in Radiant and delete this brush which is located at the origin of your map.


(Niklas_) #13

…it was a sphere or sth…

and it didn’t cause the error