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

Assignment Help:

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.

 


Related Discussions:- How does the z-buffer algorithm find out which surfaces

Transformation for 3-d scaling, As we already seen that the scaling proces...

As we already seen that the scaling process is mainly utilized to change the size of an object. The scale factors find out whether the scaling is a magnification as s>1 or a red

Image processing, Image Processing New digital technology has made this...

Image Processing New digital technology has made this possible for the manipulation of multi- dimensional signals along with systems which range from easy digital circuits to

Crt, crt is an analog or digital device

crt is an analog or digital device

Dv encoder type 2, DV Encoder Type 2: Encoder Type 2 generates a VfW compa...

DV Encoder Type 2: Encoder Type 2 generates a VfW compatible AVI file format. Such file has separate streams for audio and video and it can also be processed through DirectShow. T

Advantage of initiating the matrix form of translation, Normal 0 ...

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

What is the advantages of electrostatic plotters, What is the advantages of...

What is the advantages of electrostatic plotters? Advantages of electrostatic plotters: They have very high quality printers and faster than pen plotters. Recent electros

Single point perspective transformation, Single Point Perspective Transform...

Single Point Perspective Transformation - Viewing Transformations In order to derive the particular point perspective transformations beside the x and y-axes, we construct fi

Role in education and training, Role in Education and Training:- A multime...

Role in Education and Training:- A multimedia presentation is an important way to introduce new concepts or described a new technology. Individuals determine it easy to understand

Write a c-code that plots an object on the window, Write a C-code that plot...

Write a C-code that plots an object on the window and on the user's click of mouse on the window, the object starts rotating continuously until the user presses the mouse again.

You, are you a robot

are you a robot

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd