2.Introduction to image synthesis Flashcards

1
Q

The user moves the mouse, where does opengl fit in?

A

Input device -> OpenGLAPI->App program->App model (and then back again ending in display)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What can a vector based display draw?

A

Lines, text and points

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In a graphics pipeline what is a fragment?

A

A candidate pixel which may or may not be displayed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the fundamental difference between a fixed and a programmable pipeline?

A

In a programmable pipeline the user has to program some parts themselves (SHADERS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which statement best describes OpenGL?

A

An API for doing 3D computer graphics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What dimension of matrix does opengl use for 3d transformations?

A

4x4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Who oversees the development of OpenGL?

A

Khronos

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Name 7 features of OpenGL

A
  1. 3D Graphics
  2. Coordinate Transformations
  3. Viewing “camera”
  4. Hidden Surface Removal
  5. Lighting & Shading
  6. Texturing
  7. Pixel (image) operations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name the support libraries of OpenGL

A

GLU & GLUT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The graphics pipeline flows from ____ to _____

A

Application’s 3D vertices —->pixels

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Last two stages (of 5) in the graphics pipeline

A

4.RASTERIZATION (scan conversion):
Primitives -> Fragments
5.FRAGMENT OPERATIONS (blending, depth test)
Fragments -> Pixels

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

First two stages (/5) in the graphics pipeline

A
  1. Transformations & viewing

2. Lighting (Gouraud/Phong)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Middle stage of the graphics pipeline

A

3.Primitive assembly (clipping)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Name the two types of shader in the programmable pipeline that must be provided

A

Vertex shader and fragment shader

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Algorithm to scan convert a line?

A

Bresenham’s algorithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How does Bresenham’s algorithm scan convert a line?

A

Approximate with newarest available pixels

17
Q

What algorithm to scan convert a polygon?

A

Sweepline algorithm

18
Q

Data structure of hidden surface removal? What does it store?

A

Z-buffer (stores pixel z-depth)

19
Q

What’s a problem that can happen when numbers in z-buffer aren’t precise enough?

A

Z-fighting or stiching

20
Q

What are raster graphics?

A

A raster graphics or bitmap image is a DOT MATRIX DATA STRUCTURE that represent a rectangular grid of pixels stored in an IMAGE FILE

21
Q

When working with a fixed pipeline what does the programmers application provide through the API?

A

PARAMETER CHANGES