Reference no: EM132358955
Computer Graphics Assignment -
Q1. Draw the line between end points coordinates are (2, 4) and (12, 8), determine the pixels that would be put ON
a) Using DDA algorithm.
b) Using Bresenham's line drawing algorithm.
Q2. Draw the line between end points coordinates are (12, 16) and (1, 24), determine the pixels that would be put ON
a) Using DDA algorithm.
b) Using Bresenham's line drawing algorithm.
Q3. Write Bresenham's line drawing algorithm. Consider the line from (20, 10) to (30, 18). Use the Bresenham's algorithm to rasterize the line.
Q4. Draw a circle having center (2, 3) and radius 5. Write the pseudo-code for that
1. Using Bresenham's circle drawing algorithm.
2. Using midpoint circle drawing algorithm.
Q5. Develop a Bresenham's circle drawing algorithm for drawing circular arc between 90o and 135o.
Q6. It is desired that the circle with center at the origin and radius 8 in the first quadrant is to be drawn. Using Bresenham circle-drawing algorithm determine the pixels which would approximate the desired portion of the circle.
Q7. What are the major adverse effects of scan conversion? What methods are adopted to remove those effects?