Patent attributes
A view frustum, based on a virtual viewpoint, a gaze-point, and a view-angle, is formed in a virtual space in which objects including a player character and an obstacle are arranged. The gaze-point is set to be in a front area of the player character. The virtual viewpoint is set to be at a position separated from the player character by a certain distance in a rear area of the player character. Whether or not a line segment from the gaze-point to the virtual viewpoint crosses the obstacle is determined. The virtual viewpoint is reset to be at a position of a crossing coordinate nearest to the gaze-point. Such coordinate is from among crossing coordinates at which the line segment crosses the obstacle when the line segment crosses the obstacle to increase the view-angle from a preset reference angle.