A simple ray tracing implementation.