CS3500 Computer Graphics Spring 2009 Home Assignment 7 Clipping Due: March 24, 2009 Start of the class 1. A clip rectangle has corners (10, 5) and (80, 65). Draw the picture and show the nine regions with their outcodes used by the Cohen-Sutherland algorithm. 2. Clip the following line segments to the above clip rectangle using the Cohen-Sutherland algorithm. Show the steps and intermediate points clearly. (a) (0, 45) to (80, 45) (b) (0, 0) to (55, 95) (c) (20, 100) to (50, 30) (d) (0, 140) to (90, 0) 3. Use Sutherland-Hodgman algorithm to clip the following 8 sided polygon to the rectangle with corners (3, 4) and (13, 11). Show the broad steps. (9, 2), (9, 6), (15, 6), (15, 9), (11, 9), (11, 13), (7, 13), (7, 2)