Difference between revisions of "Model optimization"

From Team Fortress Wiki
Jump to: navigation, search
m (c_models)
m
Line 1: Line 1:
[[File:Lod rocketlauncher wire.jpg|260px|thumb|Optimized Rocket launcher w_model.]]
+
[[File:Lod rocketlauncher wire.jpg|260px|thumb|Optimized Rocket Launcher w_model]]
When discussing '''model optimization''', [[LOD]]s 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.
+
 
 +
When discussing '''model optimization''', [[LOD]] is often brought up. This article shows the effect of LOD on the polygon count in models. The charts show which models have received optimization updates in the form of LOD and which models are still unoptimized.
  
 
== Background ==
 
== Background ==
Line 6: Line 7:
 
{{main|LOD}}
 
{{main|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.
+
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 of the levels of lower-quality models must be included in the game files for LOD to be enabled.
  
 
== c_models ==
 
== c_models ==
Line 617: Line 618:
  
 
=== Notes ===
 
=== Notes ===
; [[Medi Gun]] and c_models
+
; 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.
+
: The Medi Gun equipped on its own uses w_models and v_models. When the [[Kritzkrieg]] attachment model is applied, a c_model variation of the Medi Gun is used.
  
 
; Unused c_model content
 
; Unused c_model content
: [[Fire Axe]], [[Revolver]], [[Scattergun]], [[Syringe Gun]], [[Wrench]], [[Stickybomb Launcher]], [[Bat]] and [[Bonesaw]].
+
: [[Fire Axe]], [[Revolver]], [[Scattergun]], [[Syringe Gun]], [[Wrench]], [[Stickybomb Launcher]], [[Bat]], and [[Bonesaw]].
  
 
== w_models ==
 
== w_models ==
 
 
; Chart scale
 
; Chart scale
 
: 0-7000
 
: 0-7000
Line 753: Line 753:
 
==== Notes ====
 
==== Notes ====
 
; Unused w_model content
 
; Unused w_model content
: [[Grenade Launcher]], [[PDA|Destroy Tool]] and [[Scottish Resistance]]. These items are currently being phased out.
+
: [[Grenade Launcher]], [[PDA|Destroy Tool]], and [[Scottish Resistance]]. These items are currently being phased out.
  
 
== Character models ==
 
== Character models ==
Line 819: Line 819:
  
 
== Hats and Miscellaneous items ==
 
== Hats and Miscellaneous items ==
 
 
; Chart scale
 
; Chart scale
 
: 0-5,000
 
: 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.
+
:: '''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
 
; Key

Revision as of 12:06, 25 September 2011

Optimized Rocket Launcher w_model

When discussing model optimization, LOD is often brought up. This article shows the effect of LOD on the polygon count in models. The charts show which models have received optimization updates in the form of LOD 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 of the levels of lower-quality models must be included in the game files for LOD to be enabled.

c_models

Chart scale
0-8000
Key
  Unoptimized
  Optimized


Notes

Medi Gun and c_models
The Medi Gun equipped on its own uses w_models and v_models. 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.

April 29, 2008 Patch (Gold Rush Update)

  • Improved particle performance on multi-core machines.

January 19, 2011 Patch

February 3, 2011 Patch

March 10, 2011 Patch

See also

External links