Tuesday, 2 July 2013

Graphics Pipeline

The 3D pipeline is the process in which 3D objects  are turned into a 2D image on your monitor. There are many steps that the GPU has to go through in order to do that.

1) The computer determine the position of the objects in the 3D scene, this is done by processing every vertices and point to make up the model.


2) The computer will now calculate the position of the 3D objects from a cameras point of view and calculate where the 3D positions would be in a 2D view.

3) Any objects or part of an object that is outside the camera view are clipped from the 2D view this way it doesn't need to process any information about the objects. 

4) The lighting of the scene is processed information such as position and intensity, with this shading information is also applied.
There are 3 main types of shading, phong shading, gourand shading and flat shading.


5) The process of rendering the 2D image of the 3D scene as an array of screen pixels is called rasterization. This involves ensure the colour of each pixel that make up the 2D image.

6) Before that the image can resterization the computer needs to determine which 3D surface is hidden behind another from the camera view point. This is called Z-Sorting or Z-buffering.

 


No comments:

Post a Comment