Rasterization

Color

 

Lines

1. draw line by using Interpolate to compute values of a linear function. 

Filled Triangles

draw lines to make wireframe of a triangle using 3 2D Vertices with connecting points 

  1.  Sort the points
  2. compute the x coordinate of the triangle edges
  3. concatenate the short sides
  4. determine which is ledt annd which is right
  5. draw the horizontal segments

Shaded Triangles 

 

 


Revision #3
Created 9 August 2024 22:51:17 by victor
Updated 8 September 2024 22:38:48 by victor