Introduction to visual optics