An information processing program to be executed by a computer of an information processing apparatus capable of displaying an image on a portable display apparatus that outputs at least data in accordance with an attitude and/or a motion of the portable display apparatus body, the information processing program causing the computer to function as: rotation information calculation means (10, S44, S82) for calculating, on the basis of the attitude data output from the portable display apparatus, a direction of rotation and an amount of rotation of respective rotations of a perspective direction of a display screen of the portable display apparatus, using a horizontal direction in real space as a predetermined direction perpendicular to the perspective direction of a display screen of the portable display apparatus, about each of the predetermined direction, a direction of gravity in real space, and a horizontal direction in real space perpendicular to said predetermined direction; correction means (10, S82) for calculating a corrected amount of rotation based on an offset correction of the amount of rotation about the predetermined direction calculated by the rotation information calculation means, the offset corresponding to a predetermined angle with respect to the predetermined horizontal direction; operation indication direction calculation means (10, S120, S121) for rotating an operation indication direction about a horizontal direction in the virtual world corresponding to the predetermined direction in accordance with the direction of rotation and the corrected amount of rotation about the predetermined direction, rotating the operation indication direction about a direction of gravity in the virtual world in accordance with the direction of rotation and the amount of rotation about the direction of gravity, and rotating the operation indication direction about a horizontal direction in the virtual world perpendicular to a direction corresponding to the predetermined direction in accordance with the direction of rotation and the amount of rotation about the horizontal direction in real space perpendicular to the predetermined direction, thereby calculating the operation indication direction; wherein the predetermined angle is set so that the operation indication direction is a horizontal direction in the virtual world when the attitude of the terminal apparatus amounts to a reference attitude that allows the user to hold the portable display apparatus in a comfortable position; operation indication direction processing means (10, S126, S128, S130) for performing predetermined processing on the virtual world in accordance with the operation indication direction; first image generation means (10, S84) for generating a first image including at least a part of the virtual world subjected to the processing performed by the operation indication direction processing means; and display control means (10, S47) for displaying the first image on the portable display apparatus. rotation information calculation means (10, S44, S82) for calculating, on the basis of the attitude data output from the portable display apparatus, a direction of rotation and an amount of rotation of respective rotations of a perspective direction of a display screen of the portable display apparatus, using a horizontal direction in real space as a predetermined direction perpendicular to the perspective direction of a display screen of the portable display apparatus, about each of the predetermined direction, a direction of gravity in real space, and a horizontal direction in real space perpendicular to said predetermined direction; correction means (10, S82) for calculating a corrected amount of rotation based on an offset correction of the amount of rotation about the predetermined direction calculated by the rotation information calculation means, the offset corresponding to a predetermined angle with respect to the predetermined horizontal direction; operation indication direction calculation means (10, S120, S121) for rotating an operation indication direction about a horizontal direction in the virtual world corresponding to the predetermined direction in accordance with the direction of rotation and the corrected amount of rotation about the predetermined direction, rotating the operation indication direction about a direction of gravity in the virtual world in accordance with the direction of rotation and the amount of rotation about the direction of gravity, and rotating the operation indication direction about a horizontal direction in the virtual world perpendicular to a direction corresponding to the predetermined direction in accordance with the direction of rotation and the amount of rotation about the horizontal direction in real space perpendicular to the predetermined direction, thereby calculating the operation indication direction; wherein the predetermined angle is set so that the operation indication direction is a horizontal direction in the virtual world when the attitude of the terminal apparatus amounts to a reference attitude that allows the user to hold the portable display apparatus in a comfortable position; operation indication direction processing means (10, S126, S128, S130) for performing predetermined processing on the virtual world in accordance with the operation indication direction; first image generation means (10, S84) for generating a first image including at least a part of the virtual world subjected to the processing performed by the operation indication direction processing means; and display control means (10, S47) for displaying the first image on the portable display apparatus.