Diffractive optical element (DOE) can be used for beam shaping to realize s
ome required intensity distributions on the focal plane. The phase design o
f the DOE is generally considered as an optimization problem and optimized
by many kinds of algorithms. In optimization, the intensities of the sampli
ng points on the focal plane are optimized to be consistent with the requir
ed beam shaping, but the other points are not consistent with such a requir
ement. In this paper, according to qualitative analysis, a new design metho
d with a new sampling interval on the focal plane is adopted to design the
DOE for realizing two kinds of true beam shaping. The results obtained by t
his new method are that the intensity of any point on the focal plane is fu
lly filled with the required demands. besides the used sampling points in t
he optimization.