Simple raytracer for a 3D scene