Homework 7

22C:151 Introduction to Computer Graphics

Due Tuesday, Nov. 11, 2003

NOTE: This assignment was modified 11/6/03 to add the additional problem on circle drawing and to update the due date.


25 points

  1. Show details of tracing the execution of the midpoint circle algorithm (given in class on 11/4) on a circle of radius 12. Include a picture showing which pixels are illuminated (for at least for the first quadrant, i.e. upper right quarter, of the circle.) By details, I mean, you should show at each step the values of d, incr_E, incr_SE, etc.
  2. Extend your HW6 program to recursive ray-tracing.

For the ray-tracing program, you should

Submitting your program

Submit your assignment according to the guidelines on the class WWW home page. For the on-line part of the submission, respond 'hw7' to the ``Location:'' request.