How are 3D models
displayed? Describe and explain what an API and a Graphics pipeline are.
Remember that you are
trying to comprehensively explain the theory and applications of 3D with
elucidated examples and consistently using subject terminology correctly.
API
An API is a software that helps make the software applications of the game. It helps to create the protocols and routines of the application. It is simply the 'Building blocks' where the programmers put the pieces together.
Direct 3D
Direct 3D is used on Microsoft applications. It is used to render and manipulate 3D objects. It is used in applications where performance is key. Therefore it is used in their games consoles so that it runs smoothly. Direct 3D allows the application to run in full-screen instead of being embedded into a window, however if it needs to be it can be put into windowed mode.
OpenGL
OpenGL is a free to license API that is used to create 2D or 3D video games on a variety of haardware such as a smartphone, tablet or console. OpenGL is usually used to interact with the GPU to make it run faster whilst rendering, therefore it makes the game less likely to add pop-in e.g
Graphics Pipeline
The graphics pipeline is the process used to create a 2D image of a 3D scene. This process comes in 8 different stages that it goes through to create this image.
3D Geometric Primitives
The Geometric primitives of the design process is creating the scene using a vector based program, these are usually created with triangles because with triangles, they are always on the same plane.
Modelling and Transformation
This process is used to transform the image into 3D. To do this the image is put into the co-ordinates system
Camera Transformation
This moves the object into a 3D Camera Co-ordinates system where the camera is the origin
Lighting
This is used to give the image a backdrop of lighting. Because if there was no lighting in it, when the camera was to take the picture it would be all dark, therefore this gives the scene a light source to reflect of it.
Projection Transformation
This turns the image back into 2D so that it can be taken with the camera.
Clipping
The primitives that are not in the field of view will now be discarded.
Scan conversion or Rasterization
The image is now turned into a raster image, where the pixels can now be seen if you zoom in close enough.
Texturing, fragment sharing
At this point each piece of the image is given a point where the image can be coloured with a texture.
http://en.wikipedia.org/wiki/Graphics_pipeline
http://en.wikipedia.org/wiki/Graphics_pipeline
No comments:
Post a Comment