摘要 |
A light trace expressing a trace generated in a case where a light source is moved in a virtual three-dimensional space can be displayed with higher reality. An initially used table or the like is initialized. Next, a light source or the like is moved by an operation input or the like. Subsequently, perspective transformation is carried out to obtain a position of the light source on a display screen. Next, a polygon having a predetermined width is generated along a new movement locus of the light source on the display screen. Then, transparency of all the generated polygons is raised. In the polygon generated earlier, the transparency increases. Then, a texture in which the brightness is high along the movement locus of the light source and the brightness of a position decreases as the position departs from the movement locus, is mapped to the polygon. Thereafter, alpha blending is used to draw the polygon on the movement locus of the light source. The drawn image is displayed on the display screen. This is repeated for each display frame until a game ends. <IMAGE> |