Triangle Rasterization Homework
Complete the triangle rasterizer homework as discussed in class
- Only complete formulas dealing with X, Y, Z, R computations
Compare the following spreadsheet values with the values computed by Mesa code (bottom subtriangle of first triangle rendered in ‘onetextri’ demo)
- Xleft, Xright, Zs, Rs for scan lines 2,4,6,8 of bottom triangle
- dz.dscan (inner and outer) ,dr.dscan (inner and outer)
- dzdx, dzdy, drdx,drdy