finished simple raytracing, no spectral and varying dependencies yet