An optical pattern generation device comprising: a first laser light source for emitting first laser light; a first diffractive optical element for changing a phase of the first laser light depending on a position on a plane perpendicular to a propagating direction of the first laser light, and emitting laser light having a phase distribution; a second diffractive optical element for changing a phase of incident laser light depending on a position on a plane perpendicular to a propagating direction of the incident laser light, and emitting laser light for forming an optical pattern; and a transfer optical system disposed between the first and second diffractive optical elements, for transferring the phase distribution of the laser light emitted from the first diffractive optical element to a phase distribution of laser light incident on the second diffractive optical element, wherein the number of gradations of the phase of the laser light emitted from the second diffractive optical element is larger than the number of gradations of a phase change of laser light applied by each of the first and second diffractive optical elements, and wherein in the laser light emitted from the second diffractive optical element, a position where the phase is changed by a change in phase performed by the first diffractive optical element and a position where the phase is changed by a change in phase performed by the second diffractive optical element are different from each other, characterized in that the optical pattern generation device further comprises: a second laser light source for emitting second laser light; and a mirror for transmitting laser light which is to be incident on the second diffractive optical element and onto which the phase distribution is transferred by the transfer optical system, and reflecting the second laser light, wherein the second diffractive optical element changes a phase of the laser light reflected by the mirror depending on a position on a plane perpendicular to a propagating direction of the laser light reflected by the mirror, and emits laser light for forming an optical pattern different from an optical pattern formed by the first laser light. a first laser light source for emitting first laser light; a first diffractive optical element for changing a phase of the first laser light depending on a position on a plane perpendicular to a propagating direction of the first laser light, and emitting laser light having a phase distribution; a second diffractive optical element for changing a phase of incident laser light depending on a position on a plane perpendicular to a propagating direction of the incident laser light, and emitting laser light for forming an optical pattern; and a transfer optical system disposed between the first and second diffractive optical elements, for transferring the phase distribution of the laser light emitted from the first diffractive optical element to a phase distribution of laser light incident on the second diffractive optical element, wherein the number of gradations of the phase of the laser light emitted from the second diffractive optical element is larger than the number of gradations of a phase change of laser light applied by each of the first and second diffractive optical elements, and wherein in the laser light emitted from the second diffractive optical element, a position where the phase is changed by a change in phase performed by the first diffractive optical element and a position where the phase is changed by a change in phase performed by the second diffractive optical element are different from each other, characterized in that the optical pattern generation device further comprises: a second laser light source for emitting second laser light; and a mirror for transmitting laser light which is to be incident on the second diffractive optical element and onto which the phase distribution is transferred by the transfer optical system, and reflecting the second laser light, wherein the second diffractive optical element changes a phase of the laser light reflected by the mirror depending on a position on a plane perpendicular to a propagating direction of the laser light reflected by the mirror, and emits laser light for forming an optical pattern different from an optical pattern formed by the first laser light. a second laser light source for emitting second laser light; and a mirror for transmitting laser light which is to be incident on the second diffractive optical element and onto which the phase distribution is transferred by the transfer optical system, and reflecting the second laser light, wherein the second diffractive optical element changes a phase of the laser light reflected by the mirror depending on a position on a plane perpendicular to a propagating direction of the laser light reflected by the mirror, and emits laser light for forming an optical pattern different from an optical pattern formed by the first laser light.