Patent ID: 9345958
Filing Date: 2016-05-24
CPC Classification: A63F,G06T

Claim Text:
1. A non-transitory computer-readable storage medium storing a program for forming a view frustum based on a virtual viewpoint, a gaze point, and a view angle, in a virtual space in which objects including a player character and an obstacle are arranged to generate images of the objects that are arranged in the view frustum, the program causing a computer to execute a process, comprising: obtaining orientation and location information of the player character and location information of the obstacle from a storage device; setting by a processor of the computer a first value of the gaze point, said first value corresponding to a first location in said virtual space that is in front of the player character; setting by the processor a second value of the virtual viewpoint, the second value corresponding to a second location in said virtual space that is behind the player character by a certain distance; determining by the processor whether a location of said obstacle is intersected by a line segment in said virtual space from the gaze point to the virtual viewpoint; and resetting by the processor the virtual viewpoint to correspond to a location within said virtual space of a crossing coordinate nearest to the gaze point, said crossing coordinate being from among a range of crossing coordinates for which the line segment crosses the obstacle so as to increase the view angle from a preset reference angle; forming by the processor the view frustum based on said virtual viewpoint, said gaze point, and said view angle, in said virtual space; and displaying a portion of the frustum on a display of the computer.