How does the z-buffer algorithm find out which surfaces, Computer Graphics

Illustration 1: How does the z-buffer algorithm find out which surfaces are hidden?

Solution: Depth or Z-buffer algorithm employs a two buffer area each of two-dimensional array, one z-buffer that stores the depth value at every pixel position (x,y), the other frame- buffer that stores the intensity values of the visible surface. From setting initial values of the z-buffer to several large number that frequently the distance of back clipping plane, the matter of determining such surfaces are closer is decreased to simply comparing the present depth values saved in the z-buffer at pixel (x,y) with the newly computed depth value at pixel (x,y). If this new value is less than represent depth-buffer value, this value replaces the value saved in the z-buffer and the pixel color value is altered to the color of the new surface.

 

Posted Date: 3/22/2013 8:40:47 AM | Location : United States







Related Discussions:- How does the z-buffer algorithm find out which surfaces, Assignment Help, Ask Question on How does the z-buffer algorithm find out which surfaces, Get Answer, Expert's Help, How does the z-buffer algorithm find out which surfaces Discussions

Write discussion on How does the z-buffer algorithm find out which surfaces
Your posts are moderated
Related Questions
Archeology: along with the advent of the computer, the archeologist has obtained a new tool, computer animation. An object-model can be made comparatively quick and without any we

Explain the process of making of LCD An LCD is made with either a passive matrix or an active matrix (a polysilicate layerprovides thin film transistors at each pixel, allowing

Input and Output Devices - computer aided design Output and Input devices are quite significant for any software since an unsuitable selection of the concerned hardware may tu

1. Modify the DDA algorithm for negative sloped lines; discuss both the cases i.e., slope > 1 and 0   Ans. For the generation of lines along with negative slopes as:

Light Sources - polygon rendering and ray tracing methods Light Sources are key parts in any ray traced scene, since without them; there would be no rays to trace. Light sour

Types of Animation: -          Procedural Animation    -          Representational Animation -          Stochastic Animation                      -          Behavioura

Light Wave 3D - Softwares for computer animation It is the other high end PC 3-D computer graphics software package. Originally established for the Amiga platform, it is now a

Advantages of Computer aided design  -   It is simpler to modify drawings  -   A library of parts can be kept  -   Ability to do automatic costings -   Ability to mod

Multimedia Entertainment: The field of entertainment uses multimedia extensively. One of the earliest and the most popular applications of multimedia are for games. Multimedi

Two Modes of Operation of Tablets Tablets typically sustain two modes of operation as: 1)  Digitizer Mode: creates a one-for-one connection between screen and tablet.