A ray tracer that supports various primitives, area lighting, and certain dielectrics