Patent ID: 8535154

Claim:
A non-transitory computer-readable information storage medium storing a program, which when executed by at least one processor, causes the at least one processor to generate an image of a virtual three-dimensional space, the program causing a computer to function as: a virtual three-dimensional space setting section that disposes an object in the virtual three-dimensional space; a capture direction specifying section that specifies a capture direction based on input information, a capture point being disposed in the capture direction within the virtual three-dimensional space; a capture target specifying section that specifies a capture target within the virtual three-dimensional space based on the capture direction; a marker placement control section that sets a depth value of the capture point based on a capture target specifying result, and disposes a marker at the capture point within the virtual three-dimensional space; and an image generation section that generates an image of the virtual three-dimensional space viewed from a virtual camera, objects including the marker being disposed in the virtual three-dimensional space, the capture target specifying section determining whether or not the capture target is present in the capture direction within the virtual three-dimensional space, and specifying the capture target when the capture target is present, and the marker placement control section determining the depth value of the capture point based on a depth value corresponding to the capture target when the capture target is present, setting a depth value of a drawn object that is positioned furthest from the virtual camera in the capture direction, or a predetermined depth value, as the depth value of the capture point when the capture target is not present, and performing a depth value correction process that corrects the depth value of the capture point when a transition has occurred from a state in which the capture target is present to a state in which the capture target is not present.