As the second Assignment we implemented Bresenham's Algorithm.
For details visit here.
Assignment 02.
1. Use the Bresenham’s method to derive an algorithm to scan convert lines with slope between 0o and -45o (NOT 0o and +45o).
2. Implement your algorithm to rasterize lines that go from left to right, with slope between 0o and -45o.
3. Modify your program to scan convert lines with any slope.
The file is available here (ScanConvertLine.cpp)
For details visit here.
Assignment 02.
1. Use the Bresenham’s method to derive an algorithm to scan convert lines with slope between 0o and -45o (NOT 0o and +45o).
2. Implement your algorithm to rasterize lines that go from left to right, with slope between 0o and -45o.
3. Modify your program to scan convert lines with any slope.
The file is available here (ScanConvertLine.cpp)
Comments
Post a Comment