2.Introduction to image synthesis Flashcards
The user moves the mouse, where does opengl fit in?
Input device -> OpenGLAPI->App program->App model (and then back again ending in display)
What can a vector based display draw?
Lines, text and points
In a graphics pipeline what is a fragment?
A candidate pixel which may or may not be displayed
What is the fundamental difference between a fixed and a programmable pipeline?
In a programmable pipeline the user has to program some parts themselves (SHADERS)
Which statement best describes OpenGL?
An API for doing 3D computer graphics
What dimension of matrix does opengl use for 3d transformations?
4x4
Who oversees the development of OpenGL?
Khronos
Name 7 features of OpenGL
- 3D Graphics
- Coordinate Transformations
- Viewing “camera”
- Hidden Surface Removal
- Lighting & Shading
- Texturing
- Pixel (image) operations
Name the support libraries of OpenGL
GLU & GLUT
The graphics pipeline flows from ____ to _____
Application’s 3D vertices —->pixels
Last two stages (of 5) in the graphics pipeline
4.RASTERIZATION (scan conversion):
Primitives -> Fragments
5.FRAGMENT OPERATIONS (blending, depth test)
Fragments -> Pixels
First two stages (/5) in the graphics pipeline
- Transformations & viewing
2. Lighting (Gouraud/Phong)
Middle stage of the graphics pipeline
3.Primitive assembly (clipping)
Name the two types of shader in the programmable pipeline that must be provided
Vertex shader and fragment shader
Algorithm to scan convert a line?
Bresenham’s algorithm