A ray tracer for graphics