Preparation for the midterm

Here is a list of the items you'll want to study up on for the midterm, which will be on Wednesday, March 24, during the regular class time. Everything on the midterm will be something we covered in class.

Then further down below is a preliminary description of the homework that will be due on Wednesday, March 31. If you like, you can hold off on working on that until after the midterm.

Topics to study up on for the midterm:

Initial description of the homework that will be due on Wednesday, March 31:

Your next homework will be to write a Java applet that implements a simple ray tracer to a flying saucer shape. In this homework you should take the code you wrote for ray tracing to the flying saucer, and apply that, pixel by pixel, to render an image of a flying saucer.

You will not yet need to create shading for the flying saucer. You will be doing that in a later assignment. Instead, for this assignment, you should assign a color to each pixel of:

You can paint a single pixel a color (eg: gray) by doing (for example):

             g.setColor(Color.gray);
             g.drawRect(x, y, 1, 1);