Subject: image.c (This message is being sent to all CPSC 102 Sec 1 students ) One student pointed out that the notes were inconsistent with the prototype for the call to camera_write_image(). The notes should have said: camera_write_image(model->cam, stdout); ----------------------------------------------- Another student asks: Where are we getting image.c from? I thought this was a good question with broad applicability so here is my answer. Dr. Westall responds: For optimal learning you would look over the notes and then try to write it. For suboptimal learning you could copy it out of the notes and carefully READ IT to ensure that you understand EXACTLY what it's doing and thus be better able to deal with raytracing problems you encounter down the road. For ULTIMATE SPEED, NO LEARNING, AND MORE PAIN down the road, you can simply copy and paste it out of the notes, not even look at it and count on me to rescue you later on. I have an unpleasant intuition regarding how this will turn out :-( But you need to remember that one day you might have a job and I WON"T be there to bail you out when you get stuck (and neither will your co-workers :-(