Optics of corpuscles