CS 262, Spring '98 Assignment #1: 10 points Due Date: Wednesday, 1/30/98 (5) 1. Review pages 3-1 through 3-14 of the Graph Viewer Tutorial in the AVS Tutorial Guide handed out in class. Display the file ascii file growth.dat as a contour plot with the following appearance: (a) the title of the plot is your last name, (b) the axes are labelled 'X' and 'Y', (c) the X axis has 2 tic marks and Y axis has 5 tic marks, (d) the plot has 10 contour levels. Use the Write Data option to save your plot as a Postscript file named contour.ps and print this file using the 'lpr' command on ibm1. (You will need to change the Write Postscript directory to your home directory on ibm1 in order to save this file.) The ascii file growth.dat consists of a 6 rows and 3 columns of data values. As a contour plot, the data values represent the heights of the data points in 6x3 uniform grid. (e) What are the (X,Y) coordinates of the highest point in the contour plot and what is the height of this point? (5) 2. Complete Session 1 of the AVS Geometry Viewer Tutorial on pages 2-1 to 2-18 of the AVS Tutorial Guide handed out in class. Use the object teapot.geom described in the tutorial to learn how to manipulate objects with the mouse and to change the color and surface properties of objects. (a) Describe the visual effect produced by varying each of the following controls using the teapot.geom object: Amb, Diff, Spec, Gloss, Trans and Metal. After you have become familiar with the menu functions for the geometry viewer, adjust the color and surface properties of the teapot to match the three teapots shown on pages 12 & 14 of the manual. (b) Hand in a list of the surface properties which produce teapots that look like the ones shown in Figures 2-11, 2-12, and 2-13. (c) Now use the AVS geometry viewer to study the effect of the following rendering methods on the appearance of the teapot: no light, flat, and gouraud. Describe the visual appearance of each of these rendering methods.