Difference between revisions of "Model optimization"
Comrade Mike (talk | contribs) m (→w_models) |
(→w_models: unused table column was removed) |
||
Line 877: | Line 877: | ||
! class="header" width="34%" | Lowest quality LOD (polycount) | ! class="header" width="34%" | Lowest quality LOD (polycount) | ||
! class="header" width="4%" | LOD efficiency | ! class="header" width="4%" | LOD efficiency | ||
− | |||
|- | |- | ||
| [[Minigun]] | | [[Minigun]] | ||
Line 883: | Line 882: | ||
| {{Chart bar|494|max=5000}} | | {{Chart bar|494|max=5000}} | ||
| 89.73% | | 89.73% | ||
− | |||
|- | |- | ||
| [[Syringe Gun]] | | [[Syringe Gun]] | ||
Line 889: | Line 887: | ||
| {{Chart bar|492|max=5000}} | | {{Chart bar|492|max=5000}} | ||
| 85.99% | | 85.99% | ||
− | |||
|- | |- | ||
| [[Medi Gun]] | | [[Medi Gun]] | ||
Line 895: | Line 892: | ||
| {{Chart bar|468|max=5000}} | | {{Chart bar|468|max=5000}} | ||
| 84.61% | | 84.61% | ||
− | |||
|- | |- | ||
| [[Rocket Launcher]] | | [[Rocket Launcher]] | ||
Line 901: | Line 897: | ||
| {{Chart bar|420|max=5000}} | | {{Chart bar|420|max=5000}} | ||
| 85.04% | | 85.04% | ||
− | |||
|- | |- | ||
| [[Sniper Rifle]] | | [[Sniper Rifle]] | ||
Line 907: | Line 902: | ||
| {{Chart bar|738|max=5000}} | | {{Chart bar|738|max=5000}} | ||
| 67.62% | | 67.62% | ||
− | |||
|- | |- | ||
| [[Revolver]] | | [[Revolver]] | ||
Line 913: | Line 907: | ||
| {{Chart bar|429|max=5000}} | | {{Chart bar|429|max=5000}} | ||
| 80.77% | | 80.77% | ||
− | |||
|- | |- | ||
| [[Scattergun]] | | [[Scattergun]] | ||
Line 919: | Line 912: | ||
| {{Chart bar|258|max=5000}} | | {{Chart bar|258|max=5000}} | ||
| 64.92% | | 64.92% | ||
− | |||
|- | |- | ||
| [[Shotgun]] | | [[Shotgun]] | ||
Line 925: | Line 917: | ||
| {{Chart bar|401|max=5000}} | | {{Chart bar|401|max=5000}} | ||
| 76.15% | | 76.15% | ||
− | |||
|- | |- | ||
| [[Shovel]] | | [[Shovel]] | ||
Line 936: | Line 927: | ||
| {{Chart bar|565|max=5000}} | | {{Chart bar|565|max=5000}} | ||
| 61.00% | | 61.00% | ||
− | |||
|- | |- | ||
| [[SMG]] | | [[SMG]] | ||
Line 942: | Line 932: | ||
| {{Chart bar|498|max=5000}} | | {{Chart bar|498|max=5000}} | ||
| 65.37% | | 65.37% | ||
− | |||
|- | |- | ||
| [[Fire Axe]] | | [[Fire Axe]] | ||
Line 948: | Line 937: | ||
| {{Chart bar|282|max=5000}} | | {{Chart bar|282|max=5000}} | ||
| 76.18% | | 76.18% | ||
− | |||
|- | |- | ||
| [[Bottle]] | | [[Bottle]] | ||
Line 954: | Line 942: | ||
| {{Chart bar|260|max=5000}} | | {{Chart bar|260|max=5000}} | ||
| 74.00% | | 74.00% | ||
− | |||
|- | |- | ||
| [[Sapper]] | | [[Sapper]] | ||
Line 960: | Line 947: | ||
| {{Chart bar|544|max=5000}} | | {{Chart bar|544|max=5000}} | ||
| 37.76% | | 37.76% | ||
− | |||
|- | |- | ||
| [[Wrench]] | | [[Wrench]] | ||
Line 966: | Line 952: | ||
| {{Chart bar|360|max=5000}} | | {{Chart bar|360|max=5000}} | ||
| 55.00% | | 55.00% | ||
− | |||
|- | |- | ||
| [[PDA|Build Tool]] | | [[PDA|Build Tool]] | ||
Line 977: | Line 962: | ||
| {{Chart bar|94|max=5000}} | | {{Chart bar|94|max=5000}} | ||
| 86.41% | | 86.41% | ||
− | |||
|- | |- | ||
| [[Pistol]] | | [[Pistol]] | ||
Line 983: | Line 967: | ||
| {{Chart bar|272|max=5000}} | | {{Chart bar|272|max=5000}} | ||
| 59.10% | | 59.10% | ||
− | |||
|- | |- | ||
| [[Toolbox]] | | [[Toolbox]] | ||
Line 994: | Line 977: | ||
| {{Chart bar|224|max=5000}} | | {{Chart bar|224|max=5000}} | ||
| 62.03% | | 62.03% | ||
− | |||
|- | |- | ||
| [[Bonesaw]] | | [[Bonesaw]] | ||
Line 1,000: | Line 982: | ||
| {{Chart bar|260|max=5000}} | | {{Chart bar|260|max=5000}} | ||
| 51.74% | | 51.74% | ||
− | |||
|- | |- | ||
| [[Knife]] | | [[Knife]] | ||
Line 1,006: | Line 987: | ||
| {{Chart bar|198|max=5000}} | | {{Chart bar|198|max=5000}} | ||
| 52.40% | | 52.40% | ||
− | |||
|} | |} | ||
Revision as of 13:29, 5 July 2012
“Gotta move that gear up!” This article may contain content that is out of date. You can help improve this article by updating the content as necessary. See the wiki style guide. Notes: None added |
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.
Contents
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-8,700
- 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
- Stickybomb Launcher, Bat
w_models
- Chart scale
- 0-5,000
- Key
- Unoptimized
- Optimized
Item | Highest quality (polycount) | Lowest quality LOD (polycount) | LOD efficiency |
---|---|---|---|
Minigun | 89.73% | ||
Syringe Gun | 85.99% | ||
Medi Gun | 84.61% | ||
Rocket Launcher | 85.04% | ||
Sniper Rifle | 67.62% | ||
Revolver | 80.77% | ||
Scattergun | 64.92% | ||
Shotgun | 76.15% | ||
Shovel | 67.39% | ||
Stickybomb Launcher | 61.00% | ||
SMG | 65.37% | ||
Fire Axe | 76.18% | ||
Bottle | 74.00% | ||
Sapper | 37.76% | ||
Wrench | 55.00% | ||
Build Tool | 61.23% | ||
Bat | 86.41% | ||
Pistol | 59.10% | ||
Toolbox | 48.04% | ||
Disguise Kit | 62.03% | ||
Bonesaw | 51.74% | ||
Knife | 52.40% |
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
Class | Highest quality (polycount) | Lowest quality LOD (polycount) | LOD efficiency |
---|---|---|---|
Demoman | 93.34% | ||
Soldier | 90.38% | ||
Medic | 90.66% | ||
Scout | 79.49% | ||
Engineer | 83.18% | ||
Heavy | 91.94% | ||
Sniper | 84.76% | ||
Spy | 89.46% | ||
Pyro | 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
- Unoptimized
- Optimized
Buildings
- Chart scale
- 0-20000
- Key
- Unoptimized
- Optimized
Item | Highest quality (polycount) | Lowest quality LOD (polycount) | LOD efficiency | Notes |
---|---|---|---|---|
Dispenser (Level 3) | 0% | |||
Dispenser (Level 2) | 0% | |||
Sentry Gun (Level 3) | 74.41% | |||
Sentry Gun (Level 2) | 75.66% | |||
Dispenser (Level 1) | 77.45% | |||
Sentry Gun (Level 1) | 83.52% | |||
Teleporter | 59.83% | |||
Sapper (Level 3 Sentry Gun) | 80.45% | |||
Sapper (Level 1 Sentry Gun) | 80.17% | |||
Sapper (Teleport) | 81.03% | |||
Sapper (Level 2 Sentry Gun) | 80.94% | |||
Sapper (Dispenser) | 80.70% | |||
Wrangler Shield | 0% |
Update history
January 7, 2008 Patch
- Graphics optimizations for mid and low end hardware.
- Added more particle optimizations for mid range and low end hardware.
- 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.
- Added LODs to the Huntsman, Direct Hit, Ambassador, Iron Curtain, Frontier Justice, German Gonzilla, Ghastlier Gibus, Tyrant's Helm, and Cheater's Lament.
- Updated several more models with optimizations and new 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 Flamethrower were removed from the game files and replaced with a newer c_model variant.
- Updated several more models with optimizations and new LODs.
- Added LODs to the Black Box, Buff Banner (bugle), Degreaser, Blutsauger, Powerjack, Sandvich, Übersaw and Jarate.
October 13, 2011 Patch (Manniversary Update & Sale)
- LOD models added to several older cosmetic items
- Added LODs for the Reggaelator.
- Added LODs for the Ghastly Gibus.