Patent ID: 8780183

Claim:
A non-transitory computer-readable storage medium having stored therein an image display program which stereoscopically displays a real world image, onto which a 3-dimensional virtual object is superimposed, on a screen of a stereoscopic display apparatus capable of providing a stereoscopic view, the image display program comprising instructions that cause a computer to: obtain a first real world image shot by a left eye real camera; obtain a second real world image shot by a right eye real camera; calculate a relative position relationship between the left eye real camera and the right eye real camera, the relative position relationship calculated based on a manner in which a predetermined shooting target is visible on the first real world image and a manner in which the predetermined shooting target is visible on the second real world image; determine the position of a left virtual camera for generating an image for a left eye, and the position of a right virtual camera for generating an image for a right eye, in a predetermined virtual space, so as to be separated from each other in accordance with the calculated relative position relationship; generate a first virtual space image indicating the predetermined virtual space as it is looked at from the left virtual camera; generate a second virtual space image indicating the predetermined virtual space as it is looked at from the right virtual camera; superimpose the first virtual space image onto the first real world image to generate a first superimposed image; superimpose the second virtual space image onto the second real world image to generate a second superimposed image; and output the first and second superimposed images for a stereoscopic view to the stereoscopic display apparatus.