thumb|alt=This video shows a situation in the voxel game minetest with different draw distances|The influence of different draw distances (Higher distances show more area.)

In computer graphics, draw distance (render distance or view distance) is the maximum distance of objects in a three-dimensional scene that are drawn by the rendering engine. Polygons that lie beyond the draw distance will not be drawn to the screen.

Draw distance requires definition because a processor having to render objects out to an infinite distance would slow down the application to an unacceptable speed. As the draw distance increases, more distant polygons need to be drawn onto the screen that would regularly be clipped. This requires more computing power; the graphic quality and realism of the scene will increase as draw distance increases, but the overall performance (frames per second) will decrease. Many games and applications will allow users to manually set the draw distance to balance performance and visuals.

Problems in older games

Older games had far shorter draw distances, most noticeable in vast, open scenes. In many cases, once-distant objects or terrain may suddenly appear without warning or fade into view as the camera gets closer to them, an effect known as "pop-up graphics", "pop-in", or "draw in".

See also

  • Anisotropic filtering
  • Distance fog
  • Heightmap
  • Level of detail (LOD)
  • Mipmap
  • Spatial anti-aliasing

References

  • How to: Optimize Your Frame Rates - Features at GameSpot

zh-yue:繪畫距離