What is z-buffering? - Definition from WhatIs.com
Part of the Multimedia and graphics glossary:

Z-buffering is an algorithm used in 3-D graphics to ensure that perspective works the same way in the virtual world as it does in the real one: a solid object in the foreground will block the view of one behind it. You've seen this illustrated in the real world when someone stands between you and the television screen. Z-buffering is a type of algorithm known as a Visual Surface Determination (VSD) algorithm.

Z-buffering works by testing pixel depth and comparing the current position ( z coordinate ) with stored data in a buffer (called a z-buffer ) that holds information about each pixel's last postion. The pixel in the closer position to the viewer is the one that will be displayed, just as the person in front of the television is what the viewer sees rather than the screen.

Z-buffering is one of three VSD algorithms commonly used for this purpose. The other two, BSP trees and depth sorting, work with polygons and consequently are less effective for portrayal of movement and overlap. Since it works at the pixel level, z-buffering can be demanding in terms of memory and processing time. Nevertheless, its more complex and life-like simulation of real-world object dynamics ensures its continuing popularity as a 3-D graphics development tool.

This was last updated in September 2005
Posted by: Margaret Rouse

Related Terms

Definitions

  • lossless and lossy compression

    - Lossless and lossy compression are terms that describe whether or not, in the compression of a file, all original data can be recovered when the file is uncompressed. (WhatIs.com)

  • image metadata

    - Image metadata is information about an image that is associated with the image file either automatically or deliberately added. (WhatIs.com)

  • compression

    - Compression reduces the size of data to save storage space or speed transmission. Learn how files are compressed and read about compression examples. (SearchStorage.com)

Glossaries

  • Multimedia and graphics

    - Terms related to multimedia, including graphics, animation and video definitions and words and phrases about images and sound.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Ask a Question. Find an Answer.Powered by ITKnowledgeExchange.com

Ask An IT Question

Get answers from your peers on your most technical challenges

Ask Question

Tech TalkComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.