1. A non-transitory computer-readable storage medium having stored therein an information processing program executed by a computer of an information processing apparatus which is connected to an imaging device, a display device for displaying a real space so as to be visible on a screen, and a storage device for storing object data representing a first virtual object in which a closed space is formed, and object data representing a second virtual object positioned in the closed space, the computer being caused to at least: sequentially acquire photographed image data representing a photographed image taken by the imaging device; change a shape of the first virtual object having inner surfaces and outer surfaces, from a closed shape having the closed space formed by the inner surfaces of the first virtual object facing inward, to an opened shape formed when the first virtual object is unfolded so as to enable the inner surfaces to be captured by a virtual camera, or change the shape of the first virtual object from the opened shape to the closed shape; position at least one second virtual object on the inner surfaces of the first virtual object, and change a position and an orientation of the second virtual object in cooperation with the inner surfaces of the first virtual object in accordance with the first virtual object changing from the closed shape to the opened shape; as a texture, an image of a region corresponding to the first virtual object of the opened shape, on the inner surfaces of the first virtual object, wherein the image of the region corresponding to the first virtual object of the opened shape is a corresponding part of the photographed image represented by the photographed image data which is acquired sequentially; generate an object image based on each of the second virtual object, and the first virtual object on which the texture is mapped; and display, by means of the display device, a superimposed image in which the generated object image is superimposed on the real space on the screen.