a simple raytracer with reflections and shadows. occlusion calculated based on index of winning object