View Single Post
Old 04-29-2003, 06:16 PM   #1 (permalink)
Proclone
Senior Member
 
Join Date: Jan 2003
Location: Canada
Posts: 400
Default True Graphics Optimizations

Seeing as my computer is barely able to run generals properly (ok that's an exageration, but if does like to hang after a while, a hang-over from the w3d engine and it's dislike for my system configuration) I did some testing for Blitz 2 on the reaction the game had to different methods of constructing units and their material application.

I forgot about this "research" until I starting trying to think of something to contribute. I never really wrote any of it down though and most of it isn't 100% proven but I thought I'd post some of the information here in hopes others might eventually help pin down the exact reaction the game has to different things.

For example, right now there seems to be a big uproar/concern in the n00b modelers and their obsession with polycount.

Honestly I've found the polycount to be the LEAST important element in a model for Generals. The ironic element about all teh special effects in generals is that to run tehm you need a pretty powerful computer.. so a lot fo people are running nice machines for generals (heck ti won't run on anything too crappy). Because of this, for people who can run Generals their computer HAVE NO ISSUE with polygons. Heck I think I rmemebr reading someone got a 50k poly unit into the game and it ran alright. I remmeber the Renegade devs testing 100k+ models in Renegade. The engine laughs at polygones it seems.

The question then becomes, what's slowing the game down? It's obvious SOMETHING is doing it. The first thing that came to mind was the particle effects. While they DO slow the system down (they're hardware rendered) for the most part they're a seperate element from the models inserted by modders. What I mean is that they're a seperate case.

I found the best way to test for system impact was to use the w3d viewer. It comes equiped with a system clock monitor which can be used to benchmark a model's efficentcy.

From beta testing E&B I knew that the majority of lag generated within w3d games is caused by the MATERIALS, to be specific any special effect playing on a material. Alphas are DEADLY to the refresh speeds and this is double true in generals. That's not to say they should be avoided though. I tested them further and found that you can crash generals pretty easily via un-careful use of alpha. Basically if you enable alpha blending over an entire model you increase it's system load by about 30x. What was odd was that if you break off sections of a model and apply the alpha blending mode to them the system load hardly takes a hit.

What I determined was that ADDITIVE alpha blends slow the shit out of the game. Weather theirs actual transparency or not is irrelevant. a SOLID model with the OPTION of being transparent will cause the same load as one that's 50% invisible.

While I haven't made any extensive tests on animated skins, I found that while viewing some of teh boss model from E&B one of them that looks like a glowing jellyfish with lightning unning through it caused a significant memory hit. It was heavily transparent though so I can't be certain about the impact it's animation had.

All in al theres lots of other interactions to test, and I'd love to find out what others find... all I know right now if that Blitz 2 uses more polygones than generals on average and yet has a smaller memory footprint (and doesn't hang my computer).
Proclone is offline   Reply With Quote