next up previous contents
Next: Use the Depth Buffer Up: Minimizing Per-Pixel Calculations Previous: Avoid Unnecessary Per-Fragment Operations.

Use Simple Fill Algorithms for Large Polygons.

If you are drawing very large polygons such as ``backgrounds'', your performance will be improved if you use simple fill algorithms. For example, you should set glShadeModel() to GL_FLAT if smooth shading isn't required. Also, disable per-fragment operations such as depth buffering, if possible. If you need to texture the background polygons, consider using GL_REPLACE for the texture environment.



David Blythe
Thu Jul 17 21:24:28 PDT 1997