The present invention permits realistic drawing of a natural shadow image, even when shadow images overlap each other on a background image, while preventing the shadow image from becoming darker in the superimposed area than in the other areas or preventing a decrease in the degree of translucence. The invention imparts a shadow object to each solid model to be drawn, determines whether shadow objects are superimposed from the positional relationship of the shadow objects imparted to the solid models to be drawn, and for an area where shadow objects are determined to be superimposed, the drawing process is executed by displaying only one of the superimposed shadow objects.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A computer-readable recording medium storing a program for 3-D computer image processing which displays a shadow of a solid model drawn in a virtual 3-D space of a monitor screen as a shadow object, wherein said medium stores a program comprising: a source code segment imparting a shadow object to each of the solid models to be drawn; a source code segment determining whether multiple shadow objects are superimposed from a positional relationship between shadow objects imparted to the solid models to be drawn, the determination comprising setting a flag showing the presence of shadow objects in correlation with monitor screen positions of the shadow objects, and determining superimposition of the shadow objects with reference to the flag, one flag being associated with each area on the monitor screen; and a source code segment conducting drawing processing, for an area where there are superimposed shadow objects, which displays only one shadow object from among the superimposed shadow objects.
2. The computer-readable recording medium according to claim 1 , wherein the determination of superimposition of said shadow objects comprises setting said flag for each pixel.
3. The computer-readable recording medium according to claim 1 , wherein the shadow objects are displayed in a translucent manner.
4. A method of depicting a shadow in 3-D computer image processing which displays a shadow of a solid model drawn in a virtual 3-D space of a monitor screen as a shadow object, said method comprising: imparting a shadow object to each of the solid models to be drawn; determining whether there are multiple superimposed shadow objects from a positional relationship between shadow objects imparted to the solid models to be drawn, the determination of the superimposed shadow objects comprising setting a flag showing the presence of shadow objects in correlation with monitor screen positions of the shadow objects, and determining superimposition of the shadow objects with reference to the flag, one flag being associated with each area on the monitor screen; and conducting drawing processing, for an area where there are superimposed shadow objects, which displays only one shadow object from among the superimposed shadow objects.
5. The method of depicting a shadow in 3-D computer image processing according to claim 4 , wherein the determination of said shadow objects comprises setting said flag for each pixel.
6. The method of depicting a shadow in 3-D computer image processing according to claim 4 , wherein the shadow objects are displayed in a translucent manner.
7. A video game apparatus comprising: a computer controlling a game; and a recording medium storing a program which causes said computer to control the game; said program causing the computer to: impart a shadow object to each of the solid models to be drawn; determine whether there are multiple superimposed shadow objects from a positional relationship between shadow objects imparted to the solid models to be drawn, the determination of the superimposed shadow objects comprising setting a flag showing the presence of shadow objects in correlation with display screen positions of the shadow objects, and determining superimposition of the shadow objects with reference to the flag, one flag being associated with each area on the display screen; and conduct drawing processing, for an area where there are superimposed shadow objects, which displays only one shadow object from among the superimposed shadow objects.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
March 28, 2000
August 3, 2004
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.