raytracing in place for orthogonal view, still buggy on perspective. Panning implemented.