Rasterisation Flashcards

(26 cards)

1
Q

Rasterisation is the process of…

A

Converting vector points to raster images.

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

Rasterisation is the final step of…

A

The 3D pipeline.

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

A raster image is…

A

An image made up of pixels.

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

A JPEG file is a type of [raster/vector] graphic.

A

Raster

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

A BMP file is a type of [raster/vector] graphic.

A

Raster

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

A PDF file is a type of [raster/vector] graphic.

A

Vector

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

The framebuffer is a…

A

In-memory representation of the display, essentially a 2D array of pixels

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

Display devices read out the framebuffer [sequentially/separately].

A

Sequentially

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

The challenge of rasterisation lies in…

A

Putting the complex mathematical objects onto the framebuffer

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

In modern pipelines, once a geometric object has been rasterised into potential pixels, various attributes such as […] need to be interpolated over the object. (pick 2)

A

Colour, shading, lighting, illumination

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

The primary difference between Gouraud and Phong shading is that…

A

In Gouraud, colours are interpolated across each face, while in Phong, normals are interpolated across each face

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

Barycentric coordinates provide a way to express any point within a triangle as…

A

A weighted combination of the triangle’s vertices

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

When interpolating normal vectors across a surface, since interpolation doesn’t guarantee the production of a unit vector, we need to make sure that we…

A

Re-normalise the vector

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

Scanline interpolation is an alternative to barycentric interpolation, which…

A

Draws a horizontal line through the polygon (the pixel line), and interpolates values along both the line and its intersection points

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

Polygon filling involves…

A

Determining which pixels are in a polygon and setting their colours accordingly

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

The parity approach to determining if a point is inside or outside of a polygon involves…

A

Drawing a ray from the point to infinity, and if the number of intersections is odd, the point is inside, otherwise it is outside

16
Q

The winding number approach to determining if a point is inside or outside of a polygon involves…

A

Walking around the polygon’s boundary and counting how many times we go around the point, if the number is non-zero, the point is inside

17
Q

In order to fill polygons, one algorithm involves using scanline interpolation, where each row of pixels is a scanline, to…

A

Find all intersections of the scanline with the polygon edges, sort them by x-coordinate, then fill the segments between intersections

18
Q

If the scanline intersection is an integer, we…

A

Fill the leftmost pixel, but leave the rightmost pixel blank

19
Q

If the scanline intersection is a fraction, we…

A

Round down if it’s inside the polygon, up otherwise

20
Q

If the scanline hits a horizontal edge, we…

A

Ignore the bottom horizontal edges

21
Q

Line drawing is a part of rasterisation that involves…

A

Converting a mathematical line (edge) into a set of pixels that best approximate it

22
Q

Bresenham’s circle algorithm draws circles by…

A

Choosing pixels whose centers are closest to the true circle

23
Q

Native (DDA) Line Algorithm is inefficient due to the problem of… (HINT: caused by non-integer values)

A

Floating-point operations and rounding

24
Bresenham's Line Algorithm improves on NLA's issues with floating-point as it only deals with...
Integer arithmetic
25
Line coherence states that as x increases by 1... (HINT: ax + b)
y will typically increase by some m