Rendering


The final step in the rendering pipeline is the actual rendering to the screen. At this point, every pixel of every object has been determined and transformed to a screen coordinate. As each pixel is about to be drawn to the screen, its Z (or W) value is checked against the corresponding value at that location in the Z buffer. If the pixels depth value is greater than the value currently stored for that position, the pixel is not rendered. If the depth value is less (i.e., the pixel is closer to the viewpoint), the pixel is rendered to that location and the depth value is stored in the buffer.




Introduction to 3D Game Engine Design Using DirectX 9 and C#
Introduction to 3D Game Engine Design Using DirectX 9 and C#
ISBN: 1590590813
EAN: 2147483647
Year: 2005
Pages: 98

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net