Difference between revisions of "Model optimization"

From Team Fortress Wiki
Jump to: navigation, search
m (This here belongs to Lists)
(LOD)
Line 5: Line 5:
 
{{main|LOD}}
 
{{main|LOD}}
  
To reduce the number of polygons that need to be rendered, the [[Source Engine]] will render lower-quality models if the model is very far away. If it moves closer to the player's point of view, it will change to a higher-quality model, with more polygons and more textures. As it continues to come closer, it will gain more detail until it reaches perfect quality.
+
To reduce the number of polygons that need to be rendered in a scene, the [[Source Engine]] will render alternative 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 ==
 
== c_models ==

Revision as of 12:10, 13 February 2011

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 alternative 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 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


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 19, 2011 Patch

February 3, 2011 Patch

See also

External links