Ray Tracing from the Ground Up