Geometrical and waves optics