Thursday, 1 December 2016

HA7 - Task 2 - Displaying 3D Polygon Animations

How are 3D models displayed? Describe and explain what an API is and a how a Graphics Pipeline works. What is involved in the rendering process?
3D computer graphics are graphics that use a three-dimensional representation of geometric data that is stored in the computer for the purposes of performing calculations and rendering 2D images.
3D computer graphics rely on many of the same algorithms as 2D computer vector graphics in the wire-frame model and 2D computer raster graphics in the final rendered display. In computer graphics software, the distinction between 2D and 3D is occasionally blurred; 2D applications may use 3D techniques to achieve effects such as lighting, and 3D may use 2D rendering techniques.
3D computer graphics are referred to as 3D models. Apart from the rendered graphic, the model is contained in the graphical data file. there are differences however: a 3D model is the mathematical representation of any three-dimensional object. A model is not technically a graphic until it's displayed.

An API or Application Programming Interface, is what is used to program certain things, like an android API for programming android products.
A good API makes it easier to develop a program by providing all the building blocks, which are then put together by the programmer.

A Graphics Pipeline is the steps needed to make a 2D render of a 3D scene.
The stages include:
3D geometric primitives
The scene is made out of basic shapes, usualy triangles
Modelling and transformation
The location of the shapes are given co-ordinates
Camera transformation
The co-ordinates of the camera are used to determine view point
Lighting
Lighting is added to the scene
Projection transformation
Co-ordinates are translated into where they would be infront of the camera
Clipping
Anything not in the camera's view is deleted
Scan conversion or rasterization
The rasterisation starts
Texturing, fragment shading
everything is textured

No comments:

Post a Comment