Geometrical and physical optics