Model optimization
Revision as of 21:49, 3 June 2013 by Hookyboysb (talk | contribs)
“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 |
“ | Now that there was a fine piece 'a work.
Click to listen
— The Engineer on model optimization
|
” |
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 |
---|---|---|---|
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.
- Fixed a missing LOD on the dispenser}}