Model optimization

From Team Fortress Wiki
Revision as of 02:33, 11 March 2011 by Comedian (talk | contribs) (added percentage for optimalisation for the sandvich c_model)
Jump to: navigation, search
Optimized Rocket launcher w_model.

When discussing model optimization, LODs are often brought up. This article shows the effect of LOD on polygon count in models. The charts show which models have received optimization updates in the form of LODs, and which models are still unoptimized.

Background

LOD

Main article: LOD

To reduce the number of polygons that need to be rendered in a scene, the Source Engine will render alternate lower-quality models as the distance between the model and camera increase. LOD models are not created dynamically by the engine; instead all the levels of lower-quality models must be included in the game files for LOD to be enabled.

c_models

Chart scale
0-7000
Key
  Unoptimized
  Optimized


Notes

Medi Gun and c_models
The Medi Gun equipped on its own uses w_models and v_models. But when the Kritzkrieg attachment model is applied, a c_model variation of the Medi Gun is used.
Unused c_model content
Fire Axe, Revolver, Scattergun, Syringe Gun, Wrench, Stickybomb Launcher, Bat and Bonesaw.

w_models

Chart scale
0-7000
Key
  Unoptimized
  Optimized

Notes

Unused w_model content
Grenade Launcher, Destroy Tool and Scottish Resistance. These items are currently being phased out.

Character models

Chart scale
0-10,000
Note: The lengths of the bars themselves are not to scale with the weapons chart. While the numbers at the end of the bars are comparable, the sizes are not.
Key
  Unoptimized
  Optimized


Hats and Miscellaneous items

Chart scale
0-5,000
Note: the chart scale is not the same as the previous lists! You can not compare the lengths of the bars in this table with bars in the other tables. You CAN compare the numbers though.
Key
  Unoptimized
  Optimized

Update history

January 7, 2008 Patch

  • Graphics optimizations for mid and low end hardware

January 25, 2008 Patch

  • Added more particle optimizations for mid range and low end hardware

February 14, 2008 Patch

  • Optimized some particle systems to improve performance on some hardware configurations
  • Made some small changes to the Demoman viewmodel that were causing performance problems

January 19, 2011 Patch

February 3, 2011 Patch

March 10, 2011 Patch

See also

External links