How to Write a Ray Tracer Intuitively