MAX_MAP_DRAW_INDEXES

For all topics related to using or installing radiant
RedSnappa
Posts: 323
Joined: Sun Aug 21, 2011 12:10 pm
Location: North Carolina (USA)

MAX_MAP_DRAW_INDEXES

Post by RedSnappa »

What does this error mean and how do I get rid of it?
[LCDLC]Snappa
LCDLC Mapmaking Dept.
Maps finished: Hellhouse, Sorry, Worrior 1-20
Maps modded: CubeOrigin
Maps in release candidate: Blockforts, Cannons 1, Hotzone, Icecastle
Maps in beta: Arctica, Cannons 2, Cerulean-River, Igloo, Skygarden, Spacestation
Maps in alpha: Merlin, Totem

User avatar
pickles
Site Admin
Posts: 191
Joined: Wed Aug 17, 2011 10:26 am
Location: In the caulk box

Re: MAX_MAP_DRAW_INDEXES

Post by pickles »

ERROR: MAX_MAP_DRAWINDEXES
Your brush work is too complex. You need to simplify your design and try again.

http://www.urbanterror.info/forums/topic/10214-common-error-messages/

RedSnappa
Posts: 323
Joined: Sun Aug 21, 2011 12:10 pm
Location: North Carolina (USA)

Re: MAX_MAP_DRAW_INDEXES

Post by RedSnappa »

Can patch meshes cause this error? My brushwork hasn't changed since before I got this error, but I have done a lot with patch meshes.
[LCDLC]Snappa
LCDLC Mapmaking Dept.
Maps finished: Hellhouse, Sorry, Worrior 1-20
Maps modded: CubeOrigin
Maps in release candidate: Blockforts, Cannons 1, Hotzone, Icecastle
Maps in beta: Arctica, Cannons 2, Cerulean-River, Igloo, Skygarden, Spacestation
Maps in alpha: Merlin, Totem

User avatar
Rylius
King wiki
Posts: 232
Joined: Wed Aug 17, 2011 8:14 pm
Location: Germany
Contact:

Re: MAX_MAP_DRAW_INDEXES

Post by Rylius »

I'd have to dig through the code to be sure, but I'll say yes.
Are you compiling with -patchmeta? If not, do so.

Also, if you're making terrain out of patch meshes, stop right now and use trisouping instead.
Rain - Blog - deviantArt
<Delirium> I did like a reverse jizz
<Delirium> in my pants
<Delirium> my jeans went into my sack
<Delirium> through my dick

RedSnappa
Posts: 323
Joined: Sun Aug 21, 2011 12:10 pm
Location: North Carolina (USA)

Re: MAX_MAP_DRAW_INDEXES

Post by RedSnappa »

I assume that by trisouping you mean the method used on Riyadh? I think it looks inferior to patch meshes, and doing it has caused me a different error that required the -notjunc command to compile a map. I think the problem was that I had some irregular patch mesh shapes to make terrain curve around the entrance of a tunnel. This has been removed and the map is compiling again.
[LCDLC]Snappa
LCDLC Mapmaking Dept.
Maps finished: Hellhouse, Sorry, Worrior 1-20
Maps modded: CubeOrigin
Maps in release candidate: Blockforts, Cannons 1, Hotzone, Icecastle
Maps in beta: Arctica, Cannons 2, Cerulean-River, Igloo, Skygarden, Spacestation
Maps in alpha: Merlin, Totem

User avatar
Rylius
King wiki
Posts: 232
Joined: Wed Aug 17, 2011 8:14 pm
Location: Germany
Contact:

Re: MAX_MAP_DRAW_INDEXES

Post by Rylius »

If it looks inferior you're doing it wrong, easy as that. You need a phong shader, btw.
Also alternate the resolution of the trisoup, you don't have to use the same triangle size everywhere in one terrain. Alternate between 128x128, 64x64 and 256x256 unit triangles depending on the distance/amount of detail required.

If you're getting errors with trisouping you're doing it horribly wrong. Please post some screenshots so we can have a look at it.
I have made an incredible large terrain for my Inception map which brought my NetRadiant to it's knees and increased BSP compile time by over an hour (vis and lighting increased it even further).
It did work perfectly fine though.

Using patch meshes for terrain is WRONG. Period.
Rain - Blog - deviantArt
<Delirium> I did like a reverse jizz
<Delirium> in my pants
<Delirium> my jeans went into my sack
<Delirium> through my dick

RedSnappa
Posts: 323
Joined: Sun Aug 21, 2011 12:10 pm
Location: North Carolina (USA)

Re: MAX_MAP_DRAW_INDEXES

Post by RedSnappa »

Here is a view of the map as it is now. Is it good to do a rough draft with patch meshes and then replace them with trisouping?
Attachments
arctica16.jpg
[LCDLC]Snappa
LCDLC Mapmaking Dept.
Maps finished: Hellhouse, Sorry, Worrior 1-20
Maps modded: CubeOrigin
Maps in release candidate: Blockforts, Cannons 1, Hotzone, Icecastle
Maps in beta: Arctica, Cannons 2, Cerulean-River, Igloo, Skygarden, Spacestation
Maps in alpha: Merlin, Totem

User avatar
Rylius
King wiki
Posts: 232
Joined: Wed Aug 17, 2011 8:14 pm
Location: Germany
Contact:

Re: MAX_MAP_DRAW_INDEXES

Post by Rylius »

Definitely replace everything terrain-related with tri- or at least quadsouping. Might want to mix both as well.
Imo drafts in Radiant are a waste of time, do it properly right from the start - if you need visual drafts, draw them on paper.

Also be aware that you have visible seams in the terrain right now - they will become way worse ingame. You can only get rid of them if you make the whole terrain out of a single patch mesh or replace it with brushes.
And check the water texture rotation, it looks like you rotated the brushes with texture lock enabled.
Rain - Blog - deviantArt
<Delirium> I did like a reverse jizz
<Delirium> in my pants
<Delirium> my jeans went into my sack
<Delirium> through my dick

RedSnappa
Posts: 323
Joined: Sun Aug 21, 2011 12:10 pm
Location: North Carolina (USA)

Re: MAX_MAP_DRAW_INDEXES

Post by RedSnappa »

I am taking your advice and doing the trisouping. This has taken my brush count from 11500 to 14500, and I am only about halfway done...
[LCDLC]Snappa
LCDLC Mapmaking Dept.
Maps finished: Hellhouse, Sorry, Worrior 1-20
Maps modded: CubeOrigin
Maps in release candidate: Blockforts, Cannons 1, Hotzone, Icecastle
Maps in beta: Arctica, Cannons 2, Cerulean-River, Igloo, Skygarden, Spacestation
Maps in alpha: Merlin, Totem

User avatar
banksy
Posts: 196
Joined: Wed Mar 07, 2012 11:10 am
Location: Australia

Re: MAX_MAP_DRAW_INDEXES

Post by banksy »

Yes, I am in the progress of tri souping... I am less than a quarter done and have been working on it for about 8 hours
Image

Post Reply