Professional Documents
Culture Documents
Assignment one
1
Part two.
4. Given end points (1,1) and (5,9)
Slope m = ∆y/∆x = y1 - y0 / x1 – x0 = (9 - 1) / (5 - 1) = 8 / 4 = 2
dy = y1 – y0 = 8 , dx = x1 – x0 = 2
So, y increments faster.
Since m > 1, we take ∆y = 1;
We compute successive x and y by taking Xk+1=Xk+1/m and Yk+1=Yk+1
5. The surface-face table and edge table for the given polygon is: