implement naive ray tracer.