by measuring variations of optical properties of material when it is stressed