Optimization Tutorial

From Valve Developer Community
Revision as of 11:01, 26 July 2006 by Battle Bott (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I will resume editing in a few hours.

By zombie@computer
Wikified by Battle Bott

View original at: http://www.student.kun.nl/rvanhoorn/Optimization.htm


There are a lot of ways you can optimize your map. I will try to deal with all of them, in one, orderly tutorial. There are two things you can optimize with this tutorial, the compile time (especially with vvis you can save hours) and offcourse the map itself while running it ingame
What I will discuss (be prepared: this is everything I could find about optimization!):

General Notices

First things first, the easiest way to optimize your map is carefull building. A few tips:

Don’t enclose your entire level in one box (saves both compile times and map speed)
This will generate extra leafs, lightmaps, clipping hulls, faces to be drawn, etc.
This includes skyboxes! The ideal skybox is as small as possible: