GAME PROGRAM, GAME APPARATUS AND GAME CONTROL METHOD
First Claim
1. A computer readable medium storing a computer program for a video game in which a camera coordinate system is set for a position of a camera disposed in a three-dimensional game space and in which a moving object moving in the three-dimensional game space is displayed on an image display unit, the computer program comprising:
- code for causing a control unit to recognize point-of-sight position data indicating where a point-of-sight of the camera is;
code for causing the control unit to recognize point-of-target position data indicating where a point-of-target of the camera is;
code for causing the control unit to recognize a view-frustum region which extends in a direction from the point-of-sight indicated to the point-of-target;
code for causing the control unit to recognize an intra-view-frustum region which is within the view-frustum region;
code for causing the control unit to determine whether or not the moving object is located within the intra-view-frustum region; and
code for causing the control unit to move at least one of the point-of-sight and the point-of-target in order for the moving object to be located within the intra-view-frustum region, if the control unit determines that the moving object is not located in the intra-view-frustum region.
1 Assignment
0 Petitions
Accused Products
Abstract
It is an object of the present invention to make a game player comfortably watch moving pictures when a camera'"'"'s line-of-sight tracks a moving object. In a program of the present invention, a control unit recognizes point-of-sight position data for indicating a position of a camera'"'"'s point-of-sight. Then, the control unit recognizes a view-frustum region and an intra-view-frustum region. Next, the control unit decides whether or not a moving object is located within the intra-view-frustum region. When the control unit decides that the moving object is located outside the intra-view-frustum region, the control unit executes processing of moving at least one of the camera'"'"'s point-of-sight and a camera'"'"'s point-of-target so that the moving object is located within the intra-view-frustum region.
-
Citations
8 Claims
-
1. A computer readable medium storing a computer program for a video game in which a camera coordinate system is set for a position of a camera disposed in a three-dimensional game space and in which a moving object moving in the three-dimensional game space is displayed on an image display unit, the computer program comprising:
-
code for causing a control unit to recognize point-of-sight position data indicating where a point-of-sight of the camera is; code for causing the control unit to recognize point-of-target position data indicating where a point-of-target of the camera is; code for causing the control unit to recognize a view-frustum region which extends in a direction from the point-of-sight indicated to the point-of-target; code for causing the control unit to recognize an intra-view-frustum region which is within the view-frustum region; code for causing the control unit to determine whether or not the moving object is located within the intra-view-frustum region; and code for causing the control unit to move at least one of the point-of-sight and the point-of-target in order for the moving object to be located within the intra-view-frustum region, if the control unit determines that the moving object is not located in the intra-view-frustum region. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A game apparatus for a video game in which a camera coordinate system is set for a position of a camera disposed in a three-dimensional game space and in which a moving object moving in the three-dimensional game space is displayed on an image display unit, the game apparatus comprising:
-
point-of-sight position recognition means for recognizing point-of-sight position data indicating where a point-of-sight of the camera is; point-of-target position recognition means for recognizing point-of-target position data indicating where a point-of-target of the camera is; view-frustum region recognition means for recognizing a view-frustum region which extends in a direction from the point-of-sight to the point-of-target; intra-view-frustum region recognition means for causing recognizing an intra-view-frustum region which is within the view-frustum region; position determination means for determining whether or not the moving object is located within the intra-view-frustum region; and first point-of-sight control means for moving at least one of the point-of-sight and the point-of-target in order for the moving object to be located within the intra-view-frustum region, if that the control unit determines that the moving object is located outside the intra-view-frustum region.
-
-
8. A method for controlling a video game in which a camera coordinate system is set for a position of a camera disposed in a three-dimensional game space and in which a moving object moving in the three-dimensional game space is displayed on an image display unit, the method comprising:
-
causing a control unit to recognize point-of-sight position data indicating where a point-of-sight of the camera is; causing the control unit to recognize point-of-target position data indicating where a point-of-target of the camera is; causing the control unit to recognize a view-frustum region which extends in a direction from the point-of-sight indicated to the point-of-target; causing the control unit to recognize an intra-view-frustum region which is within the view-frustum region; causing the control unit to determine whether or not the moving object is located within the intra-view-frustum region; and causing the control unit to move at least one of the point-of-sight and the point-of-target in order for the moving object to be located within the intra-view-frustum region, if the control unit determines that the moving object is not located in the intra-view-frustum region.
-
Specification