Game system and program using a shadow volume to display a shadow of an object in a three dimensional video game
First Claim
1. A game system for displaying a shadow of an object in a three-dimensional game space by using a shadow volume, the game system comprising:
- an attitude changing processing mechanism for changing an attitude of the object;
first shadow volume data storage locations having stored therein first shadow volume data corresponding to a first attitude of the object;
second shadow volume data storage locations having stored therein second volume data corresponding to a second attitude of the object which is different from the first attitude;
a shadow volume setting processing mechanism for setting the shadow volume based on the first shadow volume data when the attitude of the object, which is changed by the attitude changing mechanism, at a certain point in time corresponds with the first attitude and for setting the shadow volume based on the second shadow volume data when the attitude of the object at the certain point in time corresponds with the second attitude; and
a shadow drawing processing mechanism for drawing a shadow of the object at the certain point in time based on the shadow volume set by the shadow volume setting processing mechanism.
1 Assignment
0 Petitions
Accused Products
Abstract
A DVD-ROM stores a plurality of shadow volume data corresponding to respective attitudes of an object which casts a shadow. A CPU sets a shadow volume corresponding to the attitude of the object by performing interpolation based on the shadow volume data as necessary. Based on the thus-set shadow volume, a GPU determines a shadow region using a stencil buffer. Based on the determined results, the GPU updates luminance information of each pixel stored in a color buffer. According to this configuration, when a game system uses the shadow volume to draw a shadow, it is possible to reduce the processing load caused by setting the shadow volume while drawing a more realistic shadow corresponding to the attitude of the object which casts the shadow.
48 Citations
16 Claims
-
1. A game system for displaying a shadow of an object in a three-dimensional game space by using a shadow volume, the game system comprising:
-
an attitude changing processing mechanism for changing an attitude of the object; first shadow volume data storage locations having stored therein first shadow volume data corresponding to a first attitude of the object; second shadow volume data storage locations having stored therein second volume data corresponding to a second attitude of the object which is different from the first attitude; a shadow volume setting processing mechanism for setting the shadow volume based on the first shadow volume data when the attitude of the object, which is changed by the attitude changing mechanism, at a certain point in time corresponds with the first attitude and for setting the shadow volume based on the second shadow volume data when the attitude of the object at the certain point in time corresponds with the second attitude; and a shadow drawing processing mechanism for drawing a shadow of the object at the certain point in time based on the shadow volume set by the shadow volume setting processing mechanism. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer readable medium encoded with a game program executed by a computer in a game apparatus for displaying a shadow of an object in a three-dimensional game space by using a shadow volume, the game program causing the computer to execute:
-
an attitude changing step for changing an attitude of the object; a first shadow volume data reading step for reading a previously stored first shadow volume data corresponding to a first attitude of the object; a second shadow volume data reading step for reading a previously stored second shadow volume data corresponding to a second attitude of the object which is different from the first attitude; a shadow volume setting step for setting the shadow volume based on the first shadow volume data when the attitude of the object, which is changed by the attitude changing step, at a certain point in time corresponds with the first attitude and for setting the shadow volume based on the second shadow volume data when the attitude of the object at the certain point in time corresponds with the second attitude; and a shadow drawing step for drawing a shadow of the object at the certain point in time based on the shadow volume set by the shadow volume setting step. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification