using several gratings, projected with variable angle of incidence on the object, and one detection device