Difference between revisions of "Model optimization"

From Team Fortress Wiki
Jump to: navigation, search
m (added percentage for optimalisation for the sandvich c_model)
m (Update history)
 
(85 intermediate revisions by 40 users not shown)
Line 1: Line 1:
[[Image: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.
+
{{update|content haven't been updated since 2016}}
 +
[[File:Lod rocketlauncher wire.jpg|260px|thumb|Optimized Rocket Launcher w_model]]
 +
 
 +
{{Quotation|'''The Engineer''' on model optimization|Now that there was a fine piece 'a work.|sound=Engineer cheers05.wav}}
 +
In discussions about '''model optimization''', [[Level of detail]], or 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 5: Line 9:
 
{{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 ==
+
{{LODTable}}
  
; Chart scale
+
== Update history ==
: 0-7000
+
{{Update history|
 
+
'''{{Patch name|1|7|2008}}'''
; Key
+
* Graphics optimizations for mid and low end hardware.
: <span style="background:#93aecf; padding:0em 2em;">&nbsp;</span> Unoptimized
 
: <span style="background:#F3A957; padding:0em 2em;">&nbsp;</span> Optimized
 
  
 +
'''{{Patch name|1|25|2008}}'''
 +
* Added more particle optimizations for mid range and low end hardware.
  
{| class="wikitable grid sortable plainlinks" width="100%"
+
'''{{Patch name|2|14|2008}}'''
|-
+
* Optimized some particle systems to improve performance on some hardware configurations.
! class="header" width="18%" | Item
+
* Made some small changes to the Demoman viewmodel that were causing performance problems.
! class="header" width="34%" | Highest quality (polycount)
 
! class="header" width="34%" | Lowest quality LOD (polycount)
 
! class="header" width="4%"  | LOD efficiency
 
! class="header unsortable" width="10%" | Notes
 
|-
 
| [[Degreaser]]
 
| {{Chart bar|5485|max=7000}}
 
| {{Chart bar|998|max=7000}}
 
| 81.8%
 
|-
 
| [[Sydney Sleeper]]
 
| {{Chart bar|6623|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Huntsman]]
 
| {{Chart bar|6300|max=7000}}
 
| {{Chart bar|1478|max=7000}}
 
| 76.56%
 
|-
 
| [[Black Box]]
 
| {{Chart bar|5694|max=7000}}
 
| {{Chart bar|790|max=7000}}
 
| 86.13%
 
|-
 
| [[Fists of Steel]]
 
| {{Chart bar|5880|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Brass Beast]]
 
| {{Chart bar|5466|max=7000}}
 
| {{Chart bar|863|max=7000}}
 
| 84.21%
 
|-
 
| [[Direct Hit]]
 
| {{Chart bar|5381|max=7000}}
 
| {{Chart bar|391|max=7000}}
 
| 92.73%
 
|-
 
| [[Ambassador]]
 
| {{Chart bar|5331|max=7000}}
 
| {{Chart bar|205|max=7000}}
 
| 96.15%
 
|-
 
| [[Powerjack]]
 
| {{Chart bar|4996|max=7000}}
 
| {{Chart bar|840|max=7000}}
 
| 83.19%
 
|-
 
| [[Iron Curtain]]
 
| {{Chart bar|5149|max=7000}}
 
| {{Chart bar|763|max=7000}}
 
| 85.18%
 
|-
 
| [[L'Etranger]]
 
| {{Chart bar|5085|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Crusader's Crossbow]]
 
| {{Chart bar|4986|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Frontier Justice]]
 
| {{Chart bar|4961|max=7000}}
 
| {{Chart bar|263|max=7000}}
 
| 94.70%
 
|-
 
| [[Flamethrower]]
 
| {{Chart bar|4944|max=7000}}
 
| {{Chart bar|681|max=7000}}
 
| 86.23%
 
|-
 
| [[Warrior's Spirit]]
 
| {{Chart bar|4898|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Claidheamh Mòr]]
 
| {{Chart bar|4896|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Scottish Resistance]]
 
| {{Chart bar|4796|max=7000}}
 
| {{Chart bar|626|max=7000}}
 
| 86.87%
 
|-
 
| [[Scotsman's Skullcutter]]
 
| {{Chart bar|4378|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[The Fan O'War]]
 
| {{Chart bar|4066|max=7000}}
 
| {{Chart bar|904|max=7000}}
 
| 77.76%
 
|-
 
| [[Buff Banner]] <small>(bugle)</small>
 
| {{Chart bar|3760|max=7000}}
 
| {{Chart bar|843|max=7000}}
 
| 77.58%
 
|-
 
| [[Eyelander]]
 
| {{Chart bar|3893|max=7000}}
 
| {{Chart bar|382|max=7000}}
 
| 90.19%
 
|-
 
| [[Equalizer]]
 
| {{Chart bar|3843|max=7000}}
 
| {{Chart bar|610|max=7000}}
 
| 84.13%
 
|-
 
| [[Flare Gun]]
 
| {{Chart bar|3774|max=7000}}
 
| {{Chart bar|430|max=7000}}
 
| 88.60%
 
|-
 
| [[Big Kill]]
 
| {{Chart bar|3690|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Shortstop]]
 
| {{Chart bar|3528|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Battalion's Backup]] <small>(backpack)</small>
 
| {{Chart bar|3510|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Kritzkrieg]] <small>(attachment & [[Medi Gun]])</small>
 
| {{Chart bar|3454|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
| (300 + 3154)
 
|-
 
| [[Vita-Saw]]
 
| {{Chart bar|3346|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Battalion's Backup]] <small>(bugle)</small>
 
| {{Chart bar|3040|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Jag]]
 
| {{Chart bar|3012|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Grenade Launcher]]
 
| {{Chart bar|2991|max=7000}}
 
| {{Chart bar|703|max=7000}}
 
| 76.50%
 
|-
 
| [[The Half-Zatoishi]]
 
| {{Chart bar|2949|max=7000}}
 
| {{Chart bar|473|max=7000}}
 
| 83.96%
 
|-
 
| [[Axtinguisher]]
 
| {{Chart bar|2887|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Battalion's Backup]] <small>(flag)</small>
 
| {{Chart bar|2753|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Killing Gloves of Boxing]]
 
| {{Chart bar|2692|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Chargin' Targe]]
 
| {{Chart bar|2678|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Buff Banner]] <small>(flag)</small>
 
| {{Chart bar|2664|max=7000}}
 
| {{Chart bar|384|max=7000}}
 
| 85.59%
 
|-
 
| [[Blutsauger]]
 
| {{Chart bar|2606|max=7000}}
 
| {{Chart bar|784|max=7000}}
 
| 69.92%
 
|-
 
| [[Holy Mackerel]]
 
| {{Chart bar|2559|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Amputator]]
 
| {{Chart bar|2500|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Loch-n-Load]]
 
| {{Chart bar|2468|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Ullapool Caber]]
 
| {{Chart bar|2342|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Shotgun]]
 
| {{Chart bar|2252|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
| Used as viewmodel only
 
|-
 
| [[Southern Hospitality]]
 
| {{Chart bar|2190|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Pain Train]]
 
| {{Chart bar|2145|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Conniver's Kunai]]
 
| {{Chart bar|2092|max=7000}}
 
| {{Chart bar|400|max=7000}}
 
| 80.88%
 
|-
 
| [[Force-A-Nature]]
 
| {{Chart bar|2004|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Mad Milk]]
 
| {{Chart bar|1890|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Gunboats]]
 
| {{Chart bar|1822|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Lugermorph]]
 
| {{Chart bar|1754|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[PDA|Destroy Tool]]
 
| {{Chart bar|1746|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
| Used as viewmodel only
 
|-
 
| [[Back Scratcher]]
 
| {{Chart bar|1714|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[The Concheror]] <small>(flag)</small>
 
| {{Chart bar|1665|max=7000}}
 
| {{Chart bar|294|max=7000}}
 
| 82.34%
 
|-
 
| [[Jarate]]
 
| {{Chart bar|1641|max=7000}}
 
| {{Chart bar|258|max=7000}}
 
| 84.25%
 
|-
 
| [[Pistol]]
 
| {{Chart bar|1619|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
| Used as viewmodel only
 
|-
 
| [[Sandvich]]
 
| {{Chart bar|1584|max=7000}}
 
| {{Chart bar|360|max=7000}}
 
| 77,27%
 
|-
 
| [[Buff Banner]] <small>(backpack)</small>
 
| {{Chart bar|1564|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Your Eternal Reward]]
 
| {{Chart bar|1505|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Sandman]]
 
| {{Chart bar|1430|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Bushwacka]]
 
| {{Chart bar|1412|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[The Concheror]] <small>(bugle)</small>
 
| {{Chart bar|1339|max=7000}}
 
| {{Chart bar|496|max=7000}}
 
| 62.95%
 
|-
 
| [[Boston Basher]]
 
| {{Chart bar|1217|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Buffalo Steak Sandvich]]
 
| {{Chart bar|1176|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[The Concheror]] <small>(backpack)</small>
 
| {{Chart bar|1164|max=7000}}
 
| {{Chart bar|570|max=7000}}
 
| 51.03%
 
|-
 
| [[PDA|Build Tool]]
 
| {{Chart bar|1146|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
| Used as viewmodel only
 
|-
 
| [[Kukri]]
 
| {{Chart bar|1135|max=7000}}
 
| {{Chart bar|519|max=7000}}
 
| 54.27%
 
|-
 
| [[Frying Pan]]
 
| {{Chart bar|1088|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Natascha]] <small>(attachment)</small>
 
| {{Chart bar|956|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Homewrecker]]
 
| {{Chart bar|940|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Übersaw]]
 
| {{Chart bar|920|max=7000}}
 
| {{Chart bar|424|max=7000}}
 
| 53.91%
 
|-
 
| [[Backburner]] <small>(attachment)</small>
 
| {{Chart bar|918|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Tribalman's Shiv]]
 
| {{Chart bar|907|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Sharpened Volcano Fragment]]
 
| {{Chart bar|864|max=7000|}}
 
| {{Chart bar|98|max=7000|}}
 
| 88.66%
 
|-
 
| [[Bonk! Atomic Punch]]
 
| {{Chart bar|854|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Horseless Headless Horsemann's Headtaker]]
 
| {{Chart bar|800|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Candy Cane]]
 
| {{Chart bar|680|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Sun-on-a-Stick]]
 
| {{Chart bar|638|max=7000|}}
 
| {{Chart bar|145|max=7000|}}
 
| 77.27%
 
|-
 
| [[Dalokohs Bar]]
 
| {{Chart bar|557|max=7000|hex=#93aecf}}
 
|
 
| 0%
 
|}
 
  
=== Notes ===
+
'''{{Patch name|4|29|2008}}''' ([[Gold Rush Update]])
; [[Medi Gun]] and c_models
+
* Improved particle performance on multi-core machines.
: 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
+
'''{{Patch name|1|19|2011}}'''
: [[Fire Axe]], [[Revolver]], [[Scattergun]], [[Syringe Gun]], [[Wrench]], [[Stickybomb Launcher]], [[Bat]] and [[Bonesaw]].
+
* Added LODs to the [[Huntsman]], [[Direct Hit]], [[Ambassador]], [[Iron Curtain]], [[Frontier Justice]], [[German Gonzilla]], [[Ghastlier Gibus]], [[Tyrant's Helm]], and [[Cheater's Lament]].
  
== w_models ==
+
'''{{Patch name|2|3|2011}}'''
 +
* Updated several more models with optimizations and new [[Level of detail|LODs]].
 +
** Added LODs to the [[Buff Banner]] (''flag''), [[Eyelander]], [[Flamethrower]], [[Flare Gun]], [[Brass Beast]], [[Equalizer]], and [[Scottish Resistance]].
 +
* {{Undocumented}} View and worldmodel versions of the [[Flame Thrower]] were removed from the game files and replaced with a newer c_model variant.
  
; Chart scale
+
'''{{Patch name|3|10|2011}}'''
: 0-7000
+
* Updated several more models with optimizations and new LODs.
 +
** Added LODs to the [[Black Box]], [[Buff Banner]] (''bugle''), [[Degreaser]], [[Blutsauger]], [[Powerjack]], [[Sandvich]], [[Ubersaw]] and [[Jarate]].
  
; Key
+
'''{{Patch name|10|13|2011}}''' ([[Manniversary Update & Sale]])
: <span style="background:#93aecf; padding:0em 2em;">&nbsp;</span> Unoptimized
+
* LOD models added to several older cosmetic items
: <span style="background:#F3A957; padding:0em 2em;">&nbsp;</span> Optimized
 
  
{| class="wikitable grid sortable plainlinks" width="100%"
+
'''{{Patch name|12|15|2011}}'''
|-
+
* {{Undocumented}} Added LODs to the [[Machina]].
! class="header" width="18%" | Item
 
! class="header" width="34%" | Highest quality (polycount)
 
! class="header" width="34%" | Lowest quality LOD (polycount)
 
! class="header" width="4%"  | LOD efficiency
 
! class="header unsortable" width="10%" | Notes
 
|-
 
| [[Minigun]]
 
| {{Chart bar|4811|max=7000}}
 
| {{Chart bar|494|max=7000}}
 
| 89.73%
 
|-
 
| [[Syringe Gun]]
 
| {{Chart bar|3513|max=7000}}
 
| {{Chart bar|492|max=7000}}
 
| 85.99%
 
|-
 
| [[Medi Gun]]
 
| {{Chart bar|3040|max=7000}}
 
| {{Chart bar|468|max=7000}}
 
| 84.61%
 
|-
 
| [[Rocket Launcher]]
 
| {{Chart bar|2808|max=7000}}
 
| {{Chart bar|420|max=7000}}
 
| 85.04%
 
|-
 
| [[Sniper Rifle]]
 
| {{Chart bar|2279|max=7000}}
 
| {{Chart bar|738|max=7000}}
 
| 67.62%
 
|-
 
| [[Revolver]]
 
| {{Chart bar|2231|max=7000}}
 
| {{Chart bar|429|max=7000}}
 
| 80.77%
 
|-
 
| [[Scattergun]]
 
| {{Chart bar|1711|max=7000}}
 
| {{Chart bar|258|max=7000}}
 
| 64.92%
 
|-
 
| [[Shotgun]]
 
| {{Chart bar|1681|max=7000}}
 
| {{Chart bar|401|max=7000}}
 
| 76.15%
 
|-
 
| [[Shovel]]
 
| {{Chart bar|1570|max=7000}}
 
| {{Chart bar|512|max=7000}}
 
| 67.39%
 
|-
 
| [[Stickybomb Launcher]]
 
| {{Chart bar|1449|max=7000}}
 
| {{Chart bar|565|max=7000}}
 
| 61.00%
 
|-
 
| [[SMG]]
 
| {{Chart bar|1438|max=7000}}
 
| {{Chart bar|498|max=7000}}
 
| 65.37%
 
|-
 
| [[Fire Axe]]
 
| {{Chart bar|1184|max=7000}}
 
| {{Chart bar|282|max=7000}}
 
| 76.18%
 
|-
 
| [[Bottle]]
 
| {{Chart bar|1000|max=7000}}
 
| {{Chart bar|260|max=7000}}
 
| 74.00%
 
|-
 
| [[Electro Sapper]]
 
| {{Chart bar|874|max=7000}}
 
| {{Chart bar|544|max=7000}}
 
| 37.76%
 
|-
 
| [[Wrench]]
 
| {{Chart bar|800|max=7000}}
 
| {{Chart bar|360|max=7000}}
 
| 55.00%
 
|-
 
| [[PDA|Build Tool]]
 
| {{Chart bar|748|max=7000}}
 
| {{Chart bar|290|max=7000}}
 
| 61.23%
 
|-
 
| [[Bat]]
 
| {{Chart bar|692|max=7000}}
 
| {{Chart bar|94|max=7000}}
 
| 86.41%
 
|-
 
| [[Pistol]]
 
| {{Chart bar|665|max=7000}}
 
| {{Chart bar|272|max=7000}}
 
| 59.10%
 
|-
 
| [[Toolbox]]
 
| {{Chart bar|637|max=7000}}
 
| {{Chart bar|331|max=7000}}
 
| 48.04%
 
|-
 
| [[Disguise Kit]]
 
| {{Chart bar|590|max=7000}}
 
| {{Chart bar|224|max=7000}}
 
| 62.03%
 
|-
 
| [[Bonesaw]]
 
| {{Chart bar|562|max=7000}}
 
| {{Chart bar|260|max=7000}}
 
| 51.74%
 
|-
 
| [[Knife]]
 
| {{Chart bar|416|max=7000}}
 
| {{Chart bar|198|max=7000}}
 
| 52.40%
 
|}
 
  
==== Notes ====
+
'''{{Patch name|2|23|2012}}'''
; Unused w_model content
+
* Added LODs for the [[Reggaelator]].
: [[Grenade Launcher]], [[PDA|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
 
: <span style="background:#93aecf; padding:0em 2em;">&nbsp;</span> Unoptimized
 
: <span style="background:#F3A957; padding:0em 2em;">&nbsp;</span> Optimized
 
 
 
 
 
{| class="wikitable grid sortable plainlinks" width="100%"
 
|-
 
! class="header" width="18%" | Class
 
! class="header" width="39%" | Highest quality (polycount)
 
! class="header" width="39%" | Lowest quality LOD (polycount)
 
! class="header" width="4%"  | LOD efficiency
 
|-
 
| [[Demoman]]
 
| {{Chart bar|8442|max=10000}}
 
| {{Chart bar|562|max=10000}}
 
| 93.34%
 
|-
 
| [[Soldier]]
 
| {{Chart bar|8310|max=10000}}
 
| {{Chart bar|799|max=10000}}
 
| 90.38%
 
|-
 
| [[Medic]]
 
| {{Chart bar|8288|max=10000}}
 
| {{Chart bar|774|max=10000}}
 
| 90.66%
 
|-
 
| [[Scout]]
 
| {{Chart bar|7814|max=10000}}
 
| {{Chart bar|1603|max=10000}}
 
| 79.49%
 
|-
 
| [[Engineer]]
 
| {{Chart bar|7438|max=10000}}
 
| {{Chart bar|1251|max=10000}}
 
| 83.18%
 
|-
 
| [[Heavy]]
 
| {{Chart bar|7188|max=10000}}
 
| {{Chart bar|579|max=10000}}
 
| 91.94%
 
|-
 
| [[Sniper]]
 
| {{Chart bar|6634|max=10000}}
 
| {{Chart bar|1011|max=10000}}
 
| 84.76%
 
|-
 
| [[Spy]]
 
| {{Chart bar|5360|max=10000}}
 
| {{Chart bar|565|max=10000}}
 
| 89.46%
 
|-
 
| [[Pyro]]
 
| {{Chart bar|4197|max=10000}}
 
| {{Chart bar|544|max=10000}}
 
| 87.04%
 
|}
 
 
 
== 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
 
: <span style="background:#93aecf; padding:0em 2em;">&nbsp;</span> Unoptimized
 
: <span style="background:#F3A957; padding:0em 2em;">&nbsp;</span> Optimized
 
 
 
{| class="wikitable grid sortable plainlinks" width="100%"
 
|-
 
! class="header" width="18%" | Item
 
! class="header" width="39%" | Highest quality (polycount)
 
! class="header" width="39%" | Lowest quality LOD (polycount)
 
! class="header" width="4%"  | LOD efficiency
 
|-
 
| [[Lumbricus Lid]] <small>(includes grenades)</small>
 
| {{Chart bar|4885|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Voodoo Juju]]
 
| {{Chart bar|2658|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Horseless Headless Horsemann's Head]]
 
| {{Chart bar|2478|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Towering Pillar of Hats]]
 
| {{Chart bar|2334|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Madame Dixie]]
 
| {{Chart bar|2163|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Spine-Chilling Skull]]
 
| {{Chart bar|2088|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Prancer's Pride]]
 
| {{Chart bar|2070|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Hat of Undeniable Wealth And Respect]]
 
| {{Chart bar|2031|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Camera Beard]]
 
| {{Chart bar|1952|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Buckaroos Hat]]
 
| {{Chart bar|1950|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Max's Severed Head]]
 
| {{Chart bar|1934|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Texas Ten Gallon]]
 
| {{Chart bar|1930|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Glengarry Bonnet]]
 
| {{Chart bar|1902|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Frenchman's Beret]]
 
| {{Chart bar|1892|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Vintage Tyrolean]]
 
| {{Chart bar|1885|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Treasure Hat]]
 
| {{Chart bar|1832|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[The Noh Mercy]]
 
| {{Chart bar|1804|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Stout Shako]]
 
| {{Chart bar|1678|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Engineer's Cap]]
 
| {{Chart bar|1672|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Bounty Hat]]
 
| {{Chart bar|1636|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[The Geisha Boy]]
 
| {{Chart bar|1636|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[German Gonzila]]
 
| {{Chart bar|1570|max=5000}}
 
| {{Chart bar|132|max=5000}}
 
| 91.59%
 
|-
 
| [[Détective Noir]]
 
| {{Chart bar|1550|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Ghastlier Gibus]]
 
| {{Chart bar|1548|max=5000}}
 
| {{Chart bar|203|max=5000}}
 
| 86.89%
 
|-
 
| [[Killer's Kabuto]]
 
| {{Chart bar|1520|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Rimmed Raincatcher]]
 
| {{Chart bar|1512|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[The Samur-eye]]
 
| {{Chart bar|1510|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Sober Stuntman]]
 
| {{Chart bar|1492|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Tyrant's Helm]]
 
| {{Chart bar|1486|max=5000}}
 
| {{Chart bar|287|max=5000}}
 
| 80.69%
 
|-
 
| [[Noble Amassment of Hats]]
 
| {{Chart bar|1484|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Defiant Spartan]]
 
| {{Chart bar|1482|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Sergeant's Drill Hat]]
 
| {{Chart bar|1472|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Bombing Run]]
 
| {{Chart bar|1469|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Essential Accessories]]
 
| {{Chart bar|1468|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Prince Tavish's Crown]]
 
| {{Chart bar|1464|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Tough Guy's Toque]]
 
| {{Chart bar|1451|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Alien Swarm Parasite]]
 
| {{Chart bar|1406|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[A Rather Festive Tree]]
 
| {{Chart bar|1396|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Ghastly Gibus]]
 
| {{Chart bar|1387|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Whoopee Cap]]
 
| {{Chart bar|1386|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Coupe D'isaster]]
 
| {{Chart bar|1330|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Chieftain's Challenge]]
 
| {{Chart bar|1293|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Bloke's Bucket Hat]]
 
| {{Chart bar|1244|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Blighted Beak]]
 
| {{Chart bar|1283|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Respectless Rubber Glove]]
 
| {{Chart bar|1230|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Exquisite Rack]]
 
| {{Chart bar|1216|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[World Traveler's Hat]]
 
| {{Chart bar|1188|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Bonk Helm]]
 
| {{Chart bar|1166|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Heavy Duty Rag]]
 
| {{Chart bar|1152|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Stainless Pot]]
 
| {{Chart bar|1116|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Foster's Facade]]
 
| {{Chart bar|1068|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Pyromancer's Mask]]
 
| {{Chart bar|1063|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Safe'n'Sound]]
 
| {{Chart bar|1060|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Flipped Trilby]]
 
| {{Chart bar|1056|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Handyman's Handle]]
 
| {{Chart bar|1014|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Football Helmet]]
 
| {{Chart bar|974|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Berliner's Bucket Helm]]
 
| {{Chart bar|974|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Carouser's Capotain]]
 
| {{Chart bar|960|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Whiskered Gentleman]]
 
| {{Chart bar|959|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[The Dread Knot]]
 
| {{Chart bar|954|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Vintage Merryweather]]
 
| {{Chart bar|932|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[License to Maim]]
 
| {{Chart bar|922|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Scotch Bonnet]]
 
| {{Chart bar|904|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Industrial Festivizer]]
 
| {{Chart bar|898|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Magistrate's Mullet]]
 
| {{Chart bar|880|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Larrikin Robin]]
 
| {{Chart bar|864|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Pugilist's Protector]]
 
| {{Chart bar|860|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Ze Goggles]]
 
| {{Chart bar|840|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Ol' Snaggletooth]]
 
| {{Chart bar|836|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Wiki Cap]]
 
| {{Chart bar|824|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Physician's Procedure Mask]]
 
| {{Chart bar|822|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Modest Pile of Hat]]
 
| {{Chart bar|816|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Familiar Fez]]
 
| {{Chart bar|808|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Milkman]]
 
| {{Chart bar|800|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Big Chief]]
 
| {{Chart bar|794|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Hard Counter]]
 
| {{Chart bar|784|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Prussian Pickelhaube]]
 
| {{Chart bar|782|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Triboniophorus Tyrannus]]
 
| {{Chart bar|770|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Brigade Helm]]
 
| {{Chart bar|768|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Attendant]]
 
| {{Chart bar|756|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Professional's Panama]]
 
| {{Chart bar|756|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Cadaver's Cranium]]
 
| {{Chart bar|723|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Scotsman's Stove Pipe]]
 
| {{Chart bar|716|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Shooter's Sola Topi]]
 
| {{Chart bar|699|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Companion Cube Pin]]
 
| {{Chart bar|692|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Hotrod]]
 
| {{Chart bar|690|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Mann Co. Cap]]
 
| {{Chart bar|680|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Old Guadalajara]]
 
| {{Chart bar|674|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Ellis' Cap]]
 
| {{Chart bar|672|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Athletic Supporter]]
 
| {{Chart bar|672|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Bill's Hat]]
 
| {{Chart bar|668|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Grenadier's Softcap]]
 
| {{Chart bar|668|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Mining Light]]
 
| {{Chart bar|658|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Magnificent Mongolian]]
 
| {{Chart bar|654|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Backbiter's Billycock]]
 
| {{Chart bar|624|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Polycount Pin]]
 
| {{Chart bar|616|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Troublemaker's Tossle Cap]]
 
| {{Chart bar|582|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Le Party Phantom]]
 
| {{Chart bar|564|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Master's Yellow Belt]]
 
| {{Chart bar|538|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Ye Olde Baker Boy]]
 
| {{Chart bar|536|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Superfan]]
 
| {{Chart bar|532|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Napper's Respite]]
 
| {{Chart bar|530|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Earbuds]]
 
| {{Chart bar|512|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Dangeresque, Too?]]
 
| {{Chart bar|512|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Trophy Belt]]
 
| {{Chart bar|480|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Officer's Ushanka]]
 
| {{Chart bar|467|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Hound Dog]]
 
| {{Chart bar|447|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Horrific Headsplitter]]
 
| {{Chart bar|435|max=5000}}
 
| {{Chart bar|93|max=5000}}
 
| 78.62%
 
|-
 
| [[Batter's Helmet]]
 
| {{Chart bar|416|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Soldier's Stash]]
 
| {{Chart bar|416|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Tippler's Tricorne]]
 
| {{Chart bar|408|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Halloween Masks]]
 
| {{Chart bar|399|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Hustler's Hallmark]]
 
| {{Chart bar|394|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Dealer's Visor]]
 
| {{Chart bar|376|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Bronze Dueling Badge|Dueling badge]]/[[Mercenary|ID badge]]
 
| {{Chart bar|366|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Dr's Dapper Topper]]
 
| {{Chart bar|364|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Cheater's Lament]]
 
| {{Chart bar|357|max=5000}}
 
| {{Chart bar|48|max=5000}}
 
| 86.55%
 
|-
 
| [[Demoman's Fro]]
 
| {{Chart bar|308|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Gentleman's Gatsby]]
 
| {{Chart bar|296|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Pyro's Beanie]]
 
| {{Chart bar|260|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Stockbroker's Scarf]]
 
| {{Chart bar|218|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Otolaryngologist's Mirror]]
 
| {{Chart bar|211|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Fancy Fedora]]
 
| {{Chart bar|178|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|-
 
| [[Gentle Manne's Service Medal]]
 
| {{Chart bar|94|max=5000|hex=#93aecf}}
 
|
 
| 0%
 
|}
 
 
 
== Update history ==
 
  
'''[[January 7, 2008 Patch]]'''
+
'''{{Patch name|4|18|2012}}'''
* Graphics optimizations for mid and low end hardware
+
* Added LODs for the [[Ghastly Gibus]].
  
'''[[January 25, 2008 Patch]]'''
+
'''{{Patch name|6|3|2013}}'''
* Added more particle optimizations for mid range and low end hardware
+
* Fixed a missing LOD on the Dispenser.
  
'''[[February 14, 2008 Patch]]'''
+
'''{{Patch name|7|8|2014}}'''
* Optimized some particle systems to improve performance on some hardware configurations
+
* Fixed some [[Festive weapons]] using the lowest LOD for the first person view.
* Made some small changes to the Demoman viewmodel that were causing performance problems
 
  
'''[[January 19, 2011 Patch]]'''
+
'''{{Patch name|12|12|2014}}'''
* [undocumented] Added LODs to the [[Huntsman]], [[Direct Hit]], [[Ambassador]], [[Iron Curtain]], [[Frontier Justice]], [[German Gonzilla]], [[Ghastlier Gibus]], [[Tyrant's Helm]], and [[Cheater's Lament]]
+
* Fixed The [[Swagman's Swatter]] not being held by the [[Sniper]] for lower LOD settings during the [[Sniper taunts#Melee|melee taunt]].
  
'''[[February 3, 2011 Patch]]'''
+
'''{{Patch name|8|18|2015}} #1'''
* [undocumented] Added LODs to the [[Buff Banner]] (''flag''), [[Eyelander]], [[Flamethrower]], [[Flare Gun]], [[Brass Beast]], [[Equalizer]], and [[Scottish Resistance]]
+
* Updated LODs for several weapons and the [[Sentry Gun]]  
* [undocumented] v_ and w_ model versions of the [[Flamethrower]] was removed from the game files and replaced with a newer c_model variant
 
  
'''[[March 10, 2011 Patch]]'''
+
'''{{Patch name|8|18|2015|no-link=yes}} #2'''
* [undocumented] Added LODs to the [[Black Box]], [[Buff Banner]] (''bugle''), [[Degreaser]], [[Blutsauger]], [[Powerjack]], [[Sandwich]], [[Übersaw]] and [[Jarate]]
+
* Updated LODs for the [[Revolver]].
 +
}}
  
 
== See also ==
 
== See also ==
* [[Contribution page]]
+
* [[Steam Workshop]]
  
 
== External links ==
 
== External links ==

Latest revision as of 15:16, 27 January 2023

Optimized Rocket Launcher w_model
Now that there was a fine piece 'a work.
The Engineer on model optimization

In discussions about model optimization, Level of detail, or 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.

Weapons

Key Unoptimized Optimized

Cosmetics

Key Unoptimized Optimized

Scout

Soldier

Pyro

Demoman

Heavy

Engineer

Medic

Sniper

Spy

Multi-class

All classes

Buildings

Key Unoptimized Optimized
Class Item Highest quality LOD (polycount) Lowest quality LOD (polycount) Efficiency
Leaderboard class engineer.png Engineer Dispenser (Level 1)
 7,086 
 1,598 
77.45%
Dispenser (Level 2)
 14,294 
N/A N/A
Dispenser (Level 3)
 15,462 
N/A N/A
Sentry Gun (Level 1)
 4,030 
 640 
84.12%
Sentry Gun (Level 2)
 10,167 
 2,329 
77.09%
Sentry Gun (Level 3)
 11,312 
 2,955 
73.88%
Teleporters
 4,456 
 1,790 
59.83%

Classes

Key Unoptimized Optimized
Class Highest quality LOD (polycount) Lowest quality LOD (polycount) Efficiency
Scout
 5,524 
 593 
89.27%
Soldier
 6,408 
 502 
92.17%
Pyro
 2,406 
 294 
87.78%
Demoman
 6,518 
 466 
92.85%
Heavy
 4,728 
 522 
88.96%
Engineer
 6,754 
 721 
89.32%
Medic
 6,658 
 635 
90.46%
Sniper
 6,092 
 519 
91.48%
Spy
 5,360 
 565 
89.46%

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

October 13, 2011 Patch (Manniversary Update & Sale)

  • LOD models added to several older cosmetic items

December 15, 2011 Patch

  • [Undocumented] Added LODs to the Machina.

February 23, 2012 Patch

April 18, 2012 Patch

June 3, 2013 Patch

  • Fixed a missing LOD on the Dispenser.

July 8, 2014 Patch

December 12, 2014 Patch

August 18, 2015 Patch #1

  • Updated LODs for several weapons and the Sentry Gun

August 18, 2015 Patch #2

See also

External links