Jump to content

Home

What lags more # of brushes or size of brushes?


MightyMidget

Recommended Posts

Posted

What lags more # of brushes or size of brushes?

 

I have a floor but most of the floor is covered by a second floor. Would it be more performance friendly to leave it as is 2 brushes 2 floors, or cut the area of the first floor that won't be seen? If i cut it i'll end up with 5 brushes 4 for the first floor and one for the second, but there won't be anything that's being drawn that doesn't need to be drawn... so which option will lag more? This is just an example as i've had to make this decision many times... e.g. on a railing: Do i make one big crossbeam that goes through the other beams or to i make lots of little cross beams to fit 'between' the other beams...? Anyone know which method is better? Thanks.

 

-MM

Posted

Performance sag, I have learned, in direct proportion to the NUMBER of triangles the engine has to draw--not the size of those triangles. A rectangular brush face will consist of 2 triangles. So you're asking if it's better to have 10 tris, or only 2 tris but you won't be able to see parts of those tris. What I'd do is just keave the floor as one brush.

 

However, if you're using q3map2 to compile, the TJunctions process and MergeMetaTriangles process will pretty much ensure that the same thing will happen either way--I think.

 

In my opinion, you can be lazy here and leave it as one brush. Although performance won't really be affected one way or the other with just a few tris.

Posted

Not really, unless you're pushing the tri limit.

 

I think that a good map shouldn't push more than 10k tris at most at any given time (someone correct me if I'm wrong here).

 

So in the grand scheme of things, even 100 extra tris isn't going to make a whole heck of a difference.

Posted

Back for Quake III, they said 30K tris for singleplayer, and 15K tris for multiplayer.

 

However, systems running JO and soon JA can handle much more. Around 40K or more tris is acceptable, and mutliplayer could hover around 20K to 30K.

Posted

Sure.

 

Your avatar is great. All you need to do is get a funny animation like mine, and it would be one of the best avatars ever.

Posted

Thanks. I love that show.

 

I suppose I could make an animated avatar, but my options are limited by the small 20k file size. Perhaps I'll make a small animated image sig of some kind.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...