I was hoping to create an image where the colour of each pixel is proportional
to the distance from the camera to the intersecting object.
I figure I can use the trace function to get the intersection distance, but how
about outputting the image? Is there some flag or something to do this?