Scan Conversion Flashcards

1
Q

How does Bresenham’s Algorithm approximate a line?

A

Y = mX + c

For every increment in X

Work out the real Y-Value

Round Y to the nearest integer

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

How might we Scan Convert a triangle?

A

Start at the intersection of two edges

Increment the Y-Value, and figure out how the X Value for each of the edges changes by doing this

Fill in the pixels between the two X Values for each edge

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

How can we perform Hidden Surface Removal using a Depth Buffer?

A

The Depth Buffer is used to keep track of how far each pixel is from the observer

This means when we generate a new pixel we can check if it is closer to us, than some previous pixel and only render it if it is closer

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

What is Z Fighting in the Z Buffer?

A

This is when two surfaces are fairly close to each other,

and so bleed into each other when being rendered

because both surfaces are “fighting” to be in the Z-buffer

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