Geometrical optics simulator