Week 8 - Rasterisation and Anti-Aliasing Flashcards
Name 2 examples of vector displays.
Pen plotters
Tektronix cathode ray tubes
Name 5 examples of raster displays.
Monitors
Televisions
Laser, ink-jet, dot matrix printers
Liquid crystal displays
Arrays of LEDs
What is rasterisation?
The conversion of ideal, mathematical graphics primitives onto raster displays
What is scan conversion?
Rasterisation line by line of the raster display
How does scanline interpolation work?
Use Z-buffer algorithm to determine screen locations of vertices
Intensities or normals interpolated from vertices
Interpolate along scanline from edges
What is the parity rule for filling polygons?
A point is inside a polygon if a line to a distant point intersects boundary an odd number of times
What is the non-zero winding number rule for filling polygons?
A point is inside a polygon if the polygon winds clockwise around the point a non-zero number of times
What is scan-line coherence?
An interior pixel is adjacent to another interior pixel unless a boundary is encountered
How does scan-line coherence work?
For each scan line:
- Find intersections of scan line with all polygon edges
- Sort intersections into increasing order of x coordinate
- Fill alternate segments of scan line (spans) according to parity rule
What are the two ways to choose which pixels to illuminate for a line?
Every pixel the line intersects
The vertically closest pixel
What algorithm is used to illuminate the pixel vertically closest to a line?
Naïve midpoint algorithm
What does DDA stand for?
Digital Differential Analyser
What is the Bresenham circle algorithm?
Choose pixel with centre closest to circle
Work on a single octant and draw others by symmetry
Can be written in integer arithmetic
What causes aliasing?
Undersampling (not taking enough discrete samples to capture a fast rate of change)
What does ADC stand for?
Analog-to-Digital Converter