JP2001084400A - Image processor for processing three-dimensional computer graphic, image processing method and recording medium - Google Patents

Image processor for processing three-dimensional computer graphic, image processing method and recording medium

Info

Publication number
JP2001084400A
JP2001084400A JP25748099A JP25748099A JP2001084400A JP 2001084400 A JP2001084400 A JP 2001084400A JP 25748099 A JP25748099 A JP 25748099A JP 25748099 A JP25748099 A JP 25748099A JP 2001084400 A JP2001084400 A JP 2001084400A
Authority
JP
Japan
Prior art keywords
image
shadow image
shadow
determining
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP25748099A
Other languages
Japanese (ja)
Other versions
JP4480210B2 (en
Inventor
Yasushi Matsuda
康 松田
Masaki Takeda
政樹 武田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Namco Ltd
Original Assignee
Namco Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Namco Ltd filed Critical Namco Ltd
Priority to JP25748099A priority Critical patent/JP4480210B2/en
Publication of JP2001084400A publication Critical patent/JP2001084400A/en
Application granted granted Critical
Publication of JP4480210B2 publication Critical patent/JP4480210B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/66Methods for processing data by generating or executing the game program for rendering three dimensional images
    • A63F2300/6646Methods for processing data by generating or executing the game program for rendering three dimensional images for the computation and display of the shadow of an object or character

Landscapes

  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing technique capable of reducing a calculation amount compared to conventional shadow processing of a half shadow and generating the half shadow in real time in a general processor. SOLUTION: This image processor is provided with the first shadow image decision means 302 for deciding a first shadow image generated on an image of a second object by interrupting a light beam generated from at least one virtual light source by the image of a first object, the second shadow image decision means 304 for changing a display position of the first shadow image and deciding one or two or more second shadow images and a shadow image synthesis means 306 for superimposing and displaying the first shadow image and the second shadow image. Also, a shadow image luminance decision means 308 for respectively deciding the luminance of the first shadow image and the second shadow image is provided further.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、3次元コンピュー
タグラフィックを処理する画像処理装置、画像処理方
法、およびコンピュータに実行させる画像処理プログラ
ムを記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for processing three-dimensional computer graphics, an image processing method, and a recording medium storing an image processing program to be executed by a computer.

【0002】[0002]

【従来の技術】3次元コンピュータグラフィック技術に
おいて、物体によって生じる影を生成するいわゆる影つ
けは、「影処理(Shadowing)」といわれ、3次元グラ
フィックスの写実的な表示に欠かせない技術である。
2. Description of the Related Art In three-dimensional computer graphic technology, so-called shadowing, which generates a shadow caused by an object, is called "shadowing" and is an indispensable technology for realistic display of three-dimensional graphics. .

【0003】ここで、図1に示すように、仮想光源10
2からの光線が、第1物体104により遮断された結
果、直接光がまったく当たらない第2物体106上の部
分を「本影」といい、また、仮想光源の光の一部によっ
て照射された領域を「半影」という。すなわち、「本
影」は、環境光を無視すると輝度がゼロになる領域であ
り、平行光線や点仮想光源のような、大きさを持たない
仮想光源による影が相当し、また「半影」は、大きさを
持つ仮想光源による「本影」の周囲に生じるぼやけた影
が相当する。
[0003] Here, as shown in FIG.
As a result of the light rays from the second object being blocked by the first object 104, a portion on the second object 106 that is not directly illuminated at all is referred to as a "honkaku" and is illuminated by a part of the light of the virtual light source The area is referred to as a “penumbra”. In other words, the “head shadow” is a region where the luminance becomes zero when the ambient light is ignored, and corresponds to a shadow by a virtual light source having no size, such as a parallel ray or a point virtual light source, and a “half shadow”. Corresponds to a blurred shadow generated around a “head shadow” by a virtual light source having a size.

【0004】ここで、「本影」については、例えば、レ
イトレーシング法、走査線単位の方法、2段階法、シャ
ドウポリゴン法等により影処理を行うことが周知である
(「技術編CG標準テキストブック」平成11年3月1
日 財団法人画像情報教育振興協会発行 第160頁〜
第163頁参照)。
[0004] Here, it is well known that shadow processing is performed on the "head shadow" by, for example, a ray tracing method, a scanning line unit method, a two-step method, a shadow polygon method or the like (see "Technical CG Standard Text"). Book ”March 1, 1999
Published by Japan Image and Information Technology Promotion Association, page 160-
See page 163).

【0005】また、大きさを持つ仮想光源による「半
影」については、例えば、近似的に求める方法、積分法
によって求める方法等により影処理を行うことが周知で
ある(「技術編CG標準テキストブック」平成11年3
月1日 財団法人画像情報教育振興協会発行 第164
頁〜第165頁参照)。
[0005] It is well known that a "half shadow" by a virtual light source having a size is subjected to shadow processing by, for example, a method of obtaining an approximate value, a method of obtaining by an integration method, etc. Book "1999
January 1, Issued by the Association for Promotion of Image Information Education No. 164
Pp. 165).

【0006】[0006]

【発明が解決しようとする課題】しかし、上記した「近
似的に求める方法」、「積分法によって求める方法」等
により、半影を影処理する場合には、本影を影処理する
場合に比べて計算量が飛躍的に多くなるため、一般のパ
ーソナルコンピュータまたはゲーム機等におけるプロセ
ッサによってリアルタイムに半影を影処理し、表示する
ことが困難であるという問題点があった。
However, when the penumbra is shadow-processed by the above-mentioned "approximately obtaining method", "the method of obtaining by the integration method" or the like, compared with the case where the main shadow is shadow-processed. Therefore, there is a problem that it is difficult to perform the penumbra shadow processing in real time by a processor in a general personal computer or a game machine and display it.

【0007】また、例えば、3次元ポリゴンを用いるゲ
ーム等においては、正確に半影をシミュレートする必要
性は少なく、むしろ多少の正確性は失われてもリアルタ
イムに半影を生成することが望まれている。
In a game using three-dimensional polygons, for example, it is less necessary to simulate a penumbra accurately, and it is desired to generate a penumbra in real time even if some accuracy is lost. It is rare.

【0008】本発明の目的は、上記問題点に鑑み、従来
の半影の影処理に比べて計算量が少なく、一般のプロセ
ッサにおいてリアルタイムで半影を生成することができ
る画像処理技術を提供することにある。
SUMMARY OF THE INVENTION In view of the above problems, an object of the present invention is to provide an image processing technique that requires a smaller amount of calculation than a conventional shadow processing of a penumbra and can generate a penumbra in a general processor in real time. It is in.

【0009】[0009]

【課題を解決するための手段】このような課題を解決す
るために、請求項1に記載の発明は、3次元コンピュー
タグラフィックを処理する画像処理装置において、少な
くとも1つの仮想光源から発せられる光線を第1物体の
像が遮ることにより第2物体の像上に生ずる第1陰影像
を決定する第1陰影像決定手段と、前記第1陰影像の表
示位置を変化させて、1つまたは2つ以上の第2陰影像
を決定する第2陰影像決定手段と、前記第1陰影像と前
記第2陰影像とを重ねて表示する陰影像合成手段とを備
えたことを特徴とする。
According to an aspect of the present invention, there is provided an image processing apparatus for processing three-dimensional computer graphics, wherein light rays emitted from at least one virtual light source are provided. First shadow image determining means for determining a first shadow image generated on the image of the second object by blocking the image of the first object, and changing the display position of the first shadow image to one or two A second shadow image determining means for determining the second shadow image and a shadow image synthesizing means for displaying the first shadow image and the second shadow image in a superimposed manner.

【0010】請求項2に記載の発明は、請求項1に記載
の画像処理装置において、前記第1陰影像決定手段は、
前記仮想光源、前記第1物体および前記第2物体の位
置、前記仮想光源の個数および前記仮想光源の大きさ、
ならびに前記第1物体の形状のうち少なくとも1つを用
いて前記第1陰影像を演算することにより、第1陰影像
を決定することを特徴とする画像処理装置。
According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the first shadow image determining means includes:
The position of the virtual light source, the first object and the second object, the number of the virtual light sources, and the size of the virtual light source;
An image processing apparatus, wherein the first shadow image is determined by calculating the first shadow image using at least one of the shapes of the first object.

【0011】請求項3に記載の発明は、請求項1に記載
の画像処理装置において、前記第1陰影像決定手段は、
陰影像を記録した予め定めた第1テーブルから選択する
ことにより、前記第1陰影像を決定することを特徴とす
る。
According to a third aspect of the present invention, in the image processing apparatus according to the first aspect, the first shadow image determining means includes:
The first shadow image is determined by selecting from a predetermined first table in which the shadow image is recorded.

【0012】請求項4に記載の発明は、請求項1に記載
の画像処理装置において、前記第2陰影像決定手段は、
前記仮想光源、前記第1物体および前記第2物体の位
置、前記仮想光源の個数および前記仮想光源の大きさ、
ならびに前記第1物体の形状のうち少なくとも1つを用
いて前記表示位置の変化量を演算することにより、前記
第1陰影像の前記表示位置を変化させて前記第2陰影像
を決定することを特徴とする。
According to a fourth aspect of the present invention, in the image processing apparatus of the first aspect, the second shadow image determining means includes:
The position of the virtual light source, the first object and the second object, the number of the virtual light sources, and the size of the virtual light source;
Calculating the amount of change in the display position using at least one of the shapes of the first object, thereby changing the display position of the first shadow image to determine the second shadow image. Features.

【0013】請求項5に記載の発明は、請求項1に記載
の画像処理装置において、前記第2陰影像決定手段は、
表示位置の変化量を記録した予め定めた第2テーブルか
ら選択することにより、前記第1陰影像の前記表示位置
を変化させて前記第2陰影像を決定することを特徴とす
る。
According to a fifth aspect of the present invention, in the image processing apparatus according to the first aspect, the second shadow image determining means includes:
The second shadow image is determined by changing the display position of the first shadow image by selecting from a predetermined second table in which the amount of change of the display position is recorded.

【0014】請求項6に記載の発明は、請求項1に記載
の画像処理装置において、前記陰影像合成手段は、前記
第1陰影像および前記第2陰影像を半透明合成すること
を特徴とする。
According to a sixth aspect of the present invention, in the image processing apparatus of the first aspect, the shadow image synthesizing unit semi-transparently synthesizes the first shadow image and the second shadow image. I do.

【0015】請求項7に記載の発明は、請求項1に記載
の画像処理装置において、前記第2陰影像決定手段は、
前記第2陰影像が前記第1物体の少なくとも一部と重な
って表示される場合には、前記第2陰影像から前記第1
物体に重なっている部分を削除する削除手段をさらに備
えたことを特徴とする。
According to a seventh aspect of the present invention, in the image processing apparatus according to the first aspect, the second shadow image determining means includes:
In a case where the second shadow image is displayed so as to overlap at least a part of the first object, the first shadow image is displayed on the first object.
The image processing apparatus further includes a deletion unit that deletes a portion overlapping the object.

【0016】請求項8に記載の発明は、請求項7に記載
の画像処理装置において、前記削除手段は、前記第2陰
影像に前記第1物体の像でマスク処理を施すことによ
り、前記第2陰影像から前記第1物体に重なっている部
分を削除することを特徴とする。
According to an eighth aspect of the present invention, in the image processing apparatus according to the seventh aspect, the deleting means performs a masking process on the second shadow image with an image of the first object, thereby obtaining the second shadow image. 2. A part overlapping the first object is deleted from the two shadow images.

【0017】請求項9に記載の発明は、請求項7に記載
の画像処理装置において、前記削除手段は、前記第2陰
影像の上から前記第1物体の像を再表示することによ
り、前記第2陰影像から前記第1物体に重なっている部
分を削除することを特徴とする。
According to a ninth aspect of the present invention, in the image processing apparatus according to the seventh aspect, the deleting means redisplays the image of the first object from above the second shadow image, so that A portion overlapping the first object is deleted from the second shadow image.

【0018】請求項10に記載の発明は、請求項1に記
載の画像処理装置において、前記第1陰影像および前記
第2陰影像の輝度をそれぞれ決定する陰影像輝度決定手
段をさらに備えたことを特徴とする。
According to a tenth aspect of the present invention, in the image processing apparatus of the first aspect, there is further provided a shadow image brightness determining means for determining the brightness of each of the first shadow image and the second shadow image. It is characterized by.

【0019】請求項11に記載の発明は、請求項10に
記載の画像処理装置において、前記陰影像輝度決定手段
は、前記仮想光源、前記第1物体および前記第2物体の
位置、前記仮想光源の個数および仮想光源の大きさ、な
らびに仮想光源の照度のうち少なくとも1つを用いて前
記第1陰影像および前記第2陰影像の輝度を演算するこ
とにより、前記第1陰影像および前記第2陰影像の輝度
をそれぞれ決定することを特徴とする。
According to an eleventh aspect of the present invention, in the image processing apparatus according to the tenth aspect, the shadow image luminance determining means includes: the virtual light source, the positions of the first object and the second object, and the virtual light source. The brightness of the first shadow image and the second shadow image is calculated using at least one of the number of the light source, the size of the virtual light source, and the illuminance of the virtual light source, so that the first shadow image and the second shadow image are calculated. It is characterized in that the brightness of the shadow image is determined.

【0020】請求項12に記載の発明は、請求項10に
記載の画像処理装置において、前記陰影像輝度決定手段
は、輝度の変化量を記録した予め定めた第3テーブルか
ら選択することにより、前記第1陰影像および前記第2
陰影像の輝度をそれぞれ決定することを特徴とする。
According to a twelfth aspect of the present invention, in the image processing apparatus according to the tenth aspect, the shadow image luminance determining means selects from a predetermined third table in which a change in luminance is recorded. The first shadow image and the second shadow image
It is characterized in that the brightness of the shadow image is determined.

【0021】請求項13に記載の発明は、3次元コンピ
ュータグラフィックを処理する画像処理方法において、
少なくとも1つの仮想光源から発せられる光線を第1物
体の像が遮ることにより第2物体の像上に生ずる第1陰
影像を決定する第1陰影像決定ステップと、前記第1陰
影像の表示位置を変化させて、1つまたは2つ以上の第
2陰影像を決定する第2陰影像決定ステップと、前記第
1陰影像と前記第2陰影像とを重ねて表示する陰影像合
成ステップとを備えることを特徴とする。
According to a thirteenth aspect, in an image processing method for processing three-dimensional computer graphics,
A first shadow image determining step of determining a first shadow image generated on an image of a second object by blocking a light beam emitted from at least one virtual light source by an image of the first object, and a display position of the first shadow image And a second shadow image determining step of determining one or two or more second shadow images, and a shadow image synthesizing step of displaying the first shadow image and the second shadow image in a superimposed manner. It is characterized by having.

【0022】請求項14に記載の発明は、請求項13に
記載の画像処理方法において、前記第1陰影像決定ステ
ップは、前記仮想光源、前記第1物体および前記第2物
体の位置、前記仮想光源の個数および前記仮想光源の大
きさ、ならびに前記第1物体の形状のうち少なくとも1
つを用いて前記第1陰影像を演算することにより、第1
陰影像を決定することを特徴とする。
According to a fourteenth aspect of the present invention, in the image processing method according to the thirteenth aspect, the first shadow image determining step includes the steps of: determining the position of the virtual light source, the positions of the first object and the second object; At least one of the number of light sources, the size of the virtual light source, and the shape of the first object
By calculating the first shadow image using
The method is characterized in that a shadow image is determined.

【0023】請求項15に記載の発明は、請求項13に
記載の画像処理方法において、前記第1陰影像決定ステ
ップは、陰影像を記録した予め定めた第1テーブルから
選択することにより、前記第1陰影像を決定することを
特徴とする。
According to a fifteenth aspect of the present invention, in the image processing method according to the thirteenth aspect, the first shadow image determining step includes selecting the shadow image from a predetermined first table in which a shadow image is recorded. The first shadow image is determined.

【0024】請求項16に記載の発明は、請求項13に
記載の画像処理方法において、前記第2陰影像決定ステ
ップは、前記仮想光源、前記第1物体および前記第2物
体の位置、前記仮想光源の個数および前記仮想光源の大
きさ、ならびに前記第1物体の形状のうち少なくとも1
つを用いて前記表示位置の変化量を演算することによ
り、前記第1陰影像の前記表示位置を変化させて前記第
2陰影像を決定することを特徴とする。
According to a sixteenth aspect of the present invention, in the image processing method of the thirteenth aspect, the step of determining the second shadow image includes the step of determining the virtual light source, the positions of the first object and the second object, and the virtual object. At least one of the number of light sources, the size of the virtual light source, and the shape of the first object
The second shadow image is determined by changing the display position of the first shadow image by calculating the amount of change in the display position using one of the two.

【0025】請求項17に記載の発明は、請求項13に
記載の画像処理方法において、前記第2陰影像決定ステ
ップは、表示位置の変化量を記録した予め定めた第2テ
ーブルから選択することにより、前記第1陰影像の前記
表示位置を変化させて前記第2陰影像を決定することを
特徴とする。
According to a seventeenth aspect of the present invention, in the image processing method according to the thirteenth aspect, the second shadow image determining step selects from a predetermined second table in which a change amount of a display position is recorded. Thus, the display position of the first shadow image is changed to determine the second shadow image.

【0026】請求項18に記載の発明は、請求項13に
記載の画像処理方法において、前記陰影像合成ステップ
は、前記第1陰影像および前記第2陰影像を半透明合成
することを特徴とする。
According to an eighteenth aspect of the present invention, in the image processing method according to the thirteenth aspect, the shadow image synthesizing step semi-transparently synthesizes the first shadow image and the second shadow image. I do.

【0027】請求項19に記載の発明は、請求項13に
記載の画像処理方法において、前記第2陰影像決定ステ
ップは、前記第2陰影像が前記第1物体の少なくとも一
部と重なって表示される場合には、前記第2陰影像から
前記第1物体に重なっている部分を削除する削除ステッ
プをさらに備えることを特徴とする。
According to a nineteenth aspect of the present invention, in the image processing method of the thirteenth aspect, the second shadow image determining step displays the second shadow image so as to overlap at least a part of the first object. If so, the method further comprises a step of deleting a portion overlapping the first object from the second shadow image.

【0028】請求項20に記載の発明は、請求項19に
記載の画像処理方法において、前記削除ステップは、前
記第2陰影像に前記第1物体の像でマスク処理を施すこ
とにより、前記第2陰影像から前記第1物体に重なって
いる部分を削除することを特徴とする。
According to a twentieth aspect of the present invention, in the image processing method according to the nineteenth aspect, the deleting step includes performing a masking process on the second shadow image with an image of the first object. 2. A part overlapping the first object is deleted from the two shadow images.

【0029】請求項21に記載の発明は、請求項19に
記載の画像処理方法において、前記削除ステップは、前
記第2陰影像の上から前記第1物体の像を再表示するこ
とにより、前記第2陰影像から前記第1物体に重なって
いる部分を削除することを特徴とする。
According to a twenty-first aspect of the present invention, in the image processing method according to the nineteenth aspect, the deleting step includes redisplaying the image of the first object from above the second shadow image, A portion overlapping the first object is deleted from the second shadow image.

【0030】請求項22に記載の発明は、請求項13に
記載の画像処理方法において、前記第1陰影像および前
記第2陰影像の輝度をそれぞれ決定する陰影像輝度決定
ステップをさらに備えることを特徴とする。
According to a twenty-second aspect of the present invention, in the image processing method according to the thirteenth aspect, the image processing method further comprises a shadow image brightness determining step of determining the brightness of each of the first shadow image and the second shadow image. Features.

【0031】請求項23に記載の発明は、請求項22に
記載の画像処理方法において、前記陰影像輝度決定ステ
ップは、前記仮想光源、前記第1物体および前記第2物
体の位置、前記仮想光源の個数および仮想光源の大き
さ、ならびに仮想光源の照度のうち少なくとも1つを用
いて前記第1陰影像および前記第2陰影像の輝度を演算
することにより、前記第1陰影像および前記第2陰影像
の輝度をそれぞれ決定することを特徴とする。
According to a twenty-third aspect of the present invention, in the image processing method according to the twenty-second aspect, the step of determining the shadow image luminance comprises the steps of: setting the virtual light source, the positions of the first object and the second object; The brightness of the first shadow image and the second shadow image is calculated using at least one of the number of the light source, the size of the virtual light source, and the illuminance of the virtual light source, so that the first shadow image and the second shadow image are calculated. It is characterized in that the brightness of the shadow image is determined.

【0032】請求項24に記載の発明は、請求項22に
記載の画像処理方法において、前記陰影像輝度決定ステ
ップは、輝度の変化量を記録した予め定めた第3テーブ
ルから選択することにより、前記第1陰影像および前記
第2陰影像の輝度をそれぞれ決定することを特徴とす
る。
According to a twenty-fourth aspect of the present invention, in the image processing method according to the twenty-second aspect, the shadow image luminance determining step is performed by selecting from a predetermined third table in which a change in luminance is recorded. The brightness of the first shadow image and the brightness of the second shadow image are respectively determined.

【0033】請求項25に記載の発明は、コンピュータ
に実行させるための、3次元コンピュータグラフィック
を処理する画像処理プログラムを記録したコンピュータ
読取可能な記録媒体において、少なくとも1つの仮想光
源から発せられる光線を第1物体の像が遮ることにより
第2物体の像上に生ずる第1陰影像を決定する第1陰影
像決定ステップと、前記第1陰影像の表示位置を変化さ
せて、1つまたは2つ以上の第2陰影像を決定する第2
陰影像決定ステップと、前記第1陰影像と前記第2陰影
像とを重ねて表示する陰影像合成ステップとを備える画
像処理プログラムを記録することを特徴とする。
According to a twenty-fifth aspect of the present invention, in a computer-readable recording medium recording an image processing program for processing three-dimensional computer graphics to be executed by a computer, light emitted from at least one virtual light source is transmitted. A first shadow image determining step of determining a first shadow image generated on an image of the second object by blocking an image of the first object, and changing a display position of the first shadow image to one or two The second to determine the above-mentioned second shadow image
An image processing program is recorded which includes a shadow image determination step and a shadow image synthesis step of displaying the first shadow image and the second shadow image in a superimposed manner.

【0034】請求項26に記載の発明は、請求項25に
記載の記録媒体において、前記第1陰影像決定ステップ
は、前記仮想光源、前記第1物体および前記第2物体の
位置、前記仮想光源の個数および前記仮想光源の大き
さ、ならびに前記第1物体の形状のうち少なくとも1つ
を用いて前記第1陰影像を演算することにより第1陰影
像を決定することを特徴とする。
According to a twenty-sixth aspect of the present invention, in the recording medium according to the twenty-fifth aspect, the first shadow image determining step includes the step of determining the virtual light source, the positions of the first object and the second object, and the virtual light source. The first shadow image is determined by calculating the first shadow image using at least one of the number, the size of the virtual light source, and the shape of the first object.

【0035】請求項27に記載の発明は、請求項25に
記載の記録媒体において、前記第1陰影像決定ステップ
は、陰影像を記録した予め定めた第1テーブルから選択
することにより、前記第1陰影像を決定することを特徴
とする。
According to a twenty-seventh aspect of the present invention, in the recording medium according to the twenty-fifth aspect, the first shadow image determining step includes selecting the shadow image from a predetermined first table in which a shadow image is recorded. It is characterized in that one shadow image is determined.

【0036】請求項28に記載の発明は、請求項25に
記載の記録媒体において、前記第2陰影像決定ステップ
は、前記仮想光源、前記第1物体および前記第2物体の
位置、前記仮想光源の個数および前記仮想光源の大き
さ、ならびに前記第1物体の形状のうち少なくとも1つ
を用いて前記表示位置の変化量を演算することにより、
前記第1陰影像の前記表示位置を変化させて前記第2陰
影像を決定することを特徴とする。
According to a twenty-eighth aspect of the present invention, in the recording medium according to the twenty-fifth aspect, the step of determining the second shadow image includes the step of determining the virtual light source, the positions of the first object and the second object, and the virtual light source. By calculating the amount of change in the display position using at least one of the number of the light sources and the size of the virtual light source, and the shape of the first object,
The second shadow image is determined by changing the display position of the first shadow image.

【0037】請求項29に記載の発明は、請求項25に
記載の記録媒体において、前記第2陰影像決定ステップ
は、表示位置の変化量を記録した予め定めた第2テーブ
ルから選択することにより、前記第1陰影像の前記表示
位置を変化させて前記第2陰影像を決定することを特徴
とする。
According to a twenty-ninth aspect of the present invention, in the recording medium according to the twenty-fifth aspect, the second shadow image determining step is performed by selecting from a predetermined second table in which a change amount of a display position is recorded. The display position of the first shadow image is changed to determine the second shadow image.

【0038】請求項30に記載の発明は、請求項25に
記載の記録媒体において、前記陰影像合成ステップは、
前記第1陰影像および前記第2陰影像を半透明合成する
ことを特徴とする。
The invention according to claim 30 is the recording medium according to claim 25, wherein the shadow image synthesizing step comprises:
The first shadow image and the second shadow image are translucently combined.

【0039】請求項31に記載の発明は、請求項25に
記載の記録媒体において、前記第2陰影像決定ステップ
は、前記第2陰影像が前記第1物体の少なくとも一部と
重なって表示される場合には、前記第2陰影像から前記
第1物体に重なっている部分を削除する削除ステップを
さらに備えることを特徴とする。
According to a thirty-first aspect of the present invention, in the recording medium according to the thirty-fifth aspect, in the second shadow image determining step, the second shadow image is displayed so as to overlap at least a part of the first object. In this case, the method further comprises a step of deleting a portion overlapping the first object from the second shadow image.

【0040】請求項32に記載の発明は、請求項31に
記載の記録媒体において、前記削除ステップは、前記第
2陰影像に前記第1物体の像でマスク処理を施すことに
より、前記第2陰影像から前記第1物体に重なっている
部分を削除することを特徴とする。
According to a thirty-second aspect of the present invention, in the recording medium according to the thirty-first aspect, the deleting step includes performing a masking process on the second shadow image with the image of the first object, thereby forming the second shadow image. A portion overlapping the first object is deleted from the shadow image.

【0041】請求項33に記載の発明は、請求項31に
記載の記録媒体において、前記削除ステップは、前記第
2陰影像の上から前記第1物体の像を再表示することに
より、前記第2陰影像から前記第1物体に重なっている
部分を削除することを特徴とする。
According to a thirty-fourth aspect of the present invention, in the recording medium according to the thirty-first aspect, the deleting step includes displaying the image of the first object again from above the second shadow image to thereby display the first object. 2. A part overlapping the first object is deleted from the two shadow images.

【0042】請求項34に記載の発明は、請求項25に
記載の記録媒体において、前記第1陰影像および前記第
2陰影像の輝度をそれぞれ決定する陰影像輝度決定ステ
ップをさらに備えることを特徴とする。
According to a thirty-fourth aspect of the present invention, in the recording medium according to the twenty-fifth aspect, the recording medium further comprises a shadow image brightness determining step of determining the brightness of each of the first shadow image and the second shadow image. And

【0043】請求項35に記載の発明は、請求項34に
記載の記録媒体において、前記陰影像輝度決定ステップ
は、前記仮想光源、前記第1物体および前記第2物体の
位置、前記仮想光源の個数および仮想光源の大きさ、な
らびに仮想光源の照度のうち少なくとも1つを用いて前
記第1陰影像および前記第2陰影像の輝度を演算するこ
とにより、前記第1陰影像および前記第2陰影像の輝度
をそれぞれ決定することを特徴とする。
According to a thirty-fifth aspect of the present invention, in the recording medium according to the thirty-fourth aspect, the step of determining the shadow image brightness includes the step of determining the positions of the virtual light source, the first object and the second object, The brightness of the first shadow image and the brightness of the second shadow image are calculated using at least one of the number, the size of the virtual light source, and the illuminance of the virtual light source, so that the first shadow image and the second shadow image are calculated. It is characterized in that the brightness of the image is determined.

【0044】請求項36に記載の発明は、請求項34に
記載の記録媒体において、前記陰影像輝度決定ステップ
は、輝度の変化量を記録した予め定めた第3テーブルか
ら選択することにより、前記第1陰影像および前記第2
陰影像の輝度をそれぞれ決定することを特徴とする。
According to a thirty-sixth aspect of the present invention, in the recording medium according to the thirty-fourth aspect, in the shadow image luminance determining step, the shaded image luminance is selected from a third predetermined table in which a change in luminance is recorded. The first shadow image and the second shadow image
It is characterized in that the brightness of the shadow image is determined.

【0045】[0045]

【発明の実施の形態】図2は、本発明の実施形態に係る
画像処理装置の構成の一例を示すブロック図である。
FIG. 2 is a block diagram showing an example of the configuration of an image processing apparatus according to an embodiment of the present invention.

【0046】画像処理装置200は、CPU202、記
憶装置204、画像処理部206、ディスプレイ208
およびバス216から成る。
The image processing apparatus 200 includes a CPU 202, a storage device 204, an image processing unit 206, and a display 208.
And a bus 216.

【0047】この画像処理装置200は、装置全体を統
括的に制御する、プログラムされたCPU202に、バ
ス216を介して、記憶装置204が接続されている。
また、CPU202には、画像処理を司る画像処理部2
06が、バス216を介して接続されている。
In the image processing apparatus 200, a storage device 204 is connected via a bus 216 to a programmed CPU 202 which controls the entire apparatus.
Further, the CPU 202 includes an image processing unit 2 that performs image processing.
06 is connected via a bus 216.

【0048】CPU202は、OS(Operating Syste
m)等の制御プログラム、画像処理手順を規定したプロ
グラム、および所要データを格納するための内部メモリ
を有し、これらのプログラム等により、画像処理を行
う。記憶装置204は、ハードディスク等の固定ディス
ク装置、フレキシブルディスク、光ディスク等のストレ
ージ手段であり、画像処理に用いる各種のテーブル等を
格納する。画像処理部206は、テクスチャメモリ21
0、画像生成部212およびフレームバッファ214か
ら成る。テクスチャメモリ210は、3次元ポリゴンに
貼り付ける模様であるテクスチャを格納するメモリであ
る。画像生成部212は、後述するように、本影、半影
等の各種の画像を生成する。フレームバッファ214
は、ディスプレイ208に表示される画像を格納する高
速な読み出しが可能なメモリである。
The CPU 202 has an operating system (OS).
m) and the like, a program defining an image processing procedure, and an internal memory for storing required data. Image processing is performed by these programs and the like. The storage device 204 is a storage device such as a fixed disk device such as a hard disk, a flexible disk, or an optical disk, and stores various tables used for image processing. The image processing unit 206 includes the texture memory 21
0, an image generation unit 212 and a frame buffer 214. The texture memory 210 is a memory for storing a texture that is a pattern to be pasted on a three-dimensional polygon. The image generation unit 212 generates various images such as a real shadow and a penumbra, as described later. Frame buffer 214
Is a high-speed readable memory for storing an image displayed on the display 208.

【0049】図3は、本発明の実施形態に係る画像生成
部212の構成の一例を示すブロック図である。
FIG. 3 is a block diagram showing an example of the configuration of the image generation unit 212 according to the embodiment of the present invention.

【0050】画像生成部212は、第1陰影像決定部3
02、第2陰影像決定部304、陰影像輝度決定部30
6、陰影像合成部308から成る。
The image generation unit 212 includes a first shadow image determination unit 3
02, second shadow image determining unit 304, shadow image luminance determining unit 30
6. It comprises a shadow image synthesizing unit 308.

【0051】第1陰影像決定部302は、少なくとも1
つの仮想光源から発せられる光線を第1物体の像が遮る
ことにより第2物体の像上に生ずる第1陰影像を決定す
る。第2陰影像決定部304は、第1陰影像決定部30
2により決定された第1陰影像の表示位置を変化させ
て、1つまたは2つ以上の第2陰影像を決定する。陰影
像輝度決定部306は、第1陰影像および第2陰影像の
輝度をそれぞれ決定する。陰影像合成部308は、第1
陰影像と第2陰影像を重ねて表示する。
The first shadow image determining unit 302 determines at least one
The first shadow image generated on the image of the second object is determined by blocking the light beams emitted from the two virtual light sources by the image of the first object. The second shadow image determination unit 304 includes the first shadow image determination unit 30
The display position of the first shadow image determined in step 2 is changed, and one or more second shadow images are determined. The shadow image brightness determination unit 306 determines the brightness of each of the first shadow image and the second shadow image. The shadow image synthesizing unit 308
The shadow image and the second shadow image are superimposed and displayed.

【0052】図4は、第1陰影像決定部302により決
定される第1陰影像の一例を示す概念図である。
FIG. 4 is a conceptual diagram showing an example of the first shadow image determined by the first shadow image determination unit 302.

【0053】図4は、仮想光源から発せられる平行光線
を、第1物体402の像が遮ることにより第2物体40
4の像上に生ずる第1陰影像406を示す。
FIG. 4 shows that the parallel light emitted from the virtual light source is blocked by the image of the first
4 shows a first shadow image 406 generated on the image of FIG.

【0054】ここで、説明の簡略化のため、平行光線を
用いて説明しているが、点仮想光源からの斜光線であっ
てもよく、また、仮想光源が2つ以上あってもよい。
Here, for the sake of simplicity, the description has been made using parallel rays. However, oblique rays from a point virtual light source may be used, or two or more virtual light sources may be used.

【0055】次に、第1陰影像決定部302における第
1陰影像の決定方法を図5乃至図7を参照して説明す
る。
Next, a method of determining the first shadow image in the first shadow image determination unit 302 will be described with reference to FIGS.

【0056】第1陰影像の決定方法は、後述する演算に
よる決定方法およびテーブルによる決定方法のいずれを
用いてもよい。以下に、演算による決定方法とテーブル
による決定方法を順に説明する。
As a method of determining the first shadow image, any of a determination method by calculation and a determination method by a table described later may be used. Hereinafter, a determination method by calculation and a determination method by table will be described in order.

【0057】(演算による第1陰影像の決定方法)本方
法は、上述したレイトレーシング法、走査線単位の方
法、2段階法、シャドウポリゴン法等の周知の本影の影
処理法を利用して、第1陰影像を決定する。いずれの本
影の影処理法においても、仮想光源、第1物体および第
2物体の位置、仮想光源の個数および仮想光源の大き
さ、ならびに第1物体の形状のうち少なくとも1つを用
いて、演算処理を行うことにより第1陰影像を決定する
ことができる。
(Method of Determining First Shadow Image by Calculation) This method utilizes a well-known shadow processing method of a main shadow such as the above-described ray tracing method, scanning line unit method, two-step method, shadow polygon method, and the like. Thus, the first shadow image is determined. In any umbrella shadow processing method, using at least one of the virtual light source, the position of the first object and the second object, the number of virtual light sources and the size of the virtual light source, and the shape of the first object, The first shadow image can be determined by performing the arithmetic processing.

【0058】以下に、一例としてシャドウポリゴン法に
よる第1陰影像の決定について説明する。
Hereinafter, determination of the first shadow image by the shadow polygon method will be described as an example.

【0059】シャドウポリゴン法は、仮想光源と遮蔽物
体で発生する影を生ずる空間を利用する方法である。こ
こで、かかる空間をシャドウボリュームといい、シャド
ウボリュームを構成する面をシャドウポリゴン(影多角
形)という。
The shadow polygon method is a method that utilizes a space in which a virtual light source and a shadow generated by a shielding object are generated. Here, such a space is called a shadow volume, and a surface forming the shadow volume is called a shadow polygon (shadow polygon).

【0060】図4で示した第1陰影像をシャドウポリゴ
ン法により決定する場合の処理手順の一例を示す処理フ
ロー図を図5に示す。
FIG. 5 is a processing flowchart showing an example of a processing procedure when the first shadow image shown in FIG. 4 is determined by the shadow polygon method.

【0061】最初に、仮想光源から発せられる平行光線
を第1物体の像が遮ることにより生ずる空間であるジャ
ドウボリュームを構成するシャドウポリゴン(図6に概
念図を示す)を生成する(ステップS502)。
First, a shadow polygon (conceptual view is shown in FIG. 6) which forms a jadow volume, which is a space generated when an image of the first object blocks parallel rays emitted from the virtual light source, is generated (step S502). .

【0062】次に、第2物体とシャドウボリュームとの
交差部分を演算し、または、第2物体上の任意の点がシ
ャドウボリューム内にあるか否かを演算して、第1陰影
像を決定する(ステップS504)。
Next, the first shadow image is determined by calculating the intersection between the second object and the shadow volume, or by calculating whether or not any point on the second object is within the shadow volume. (Step S504).

【0063】以上、シャドウポリゴン法によって第1陰
影像の決定について説明したが、本発明はかかる実施の
形態に限定されるものではなく、他のいかなる「本影」
を生成する方法を用いて、第1陰影像を決定してもよ
い。
Although the determination of the first shadow image by the shadow polygon method has been described above, the present invention is not limited to such an embodiment, and any other “head shadow”
May be used to determine the first shadow image.

【0064】(テーブルによる第1陰影像の決定方法)
本方法は、陰影像を記録した予め定めた第1テーブルか
ら第1陰影像を選択することにより、第1陰影像を決定
する方法である。
(Method of Determining First Shadow Image Using Table)
This method is a method of determining a first shadow image by selecting the first shadow image from a predetermined first table in which the shadow images are recorded.

【0065】記憶装置204に、陰影像を記録した第1
テーブルを予め用意しておき、第1陰影像を第1テーブ
ルから選択することにより、高速に第1陰影像を決定す
ることができる。かかる方法は、平行光線で、かつ第1
物体が単純な形状(例えば、球形等)をしている場合
に、特に有効である。
The first storage of the shadow image in the storage device 204
By preparing a table in advance and selecting the first shadow image from the first table, the first shadow image can be determined at high speed. Such a method uses a parallel light beam and the first
This is particularly effective when the object has a simple shape (for example, a spherical shape).

【0066】図7は、記憶装置に記憶された第1テーブ
ルの一例を示す図である。
FIG. 7 is a diagram showing an example of the first table stored in the storage device.

【0067】第1テーブル702は、第1物体番号70
4および第1陰影像706を記録する。1つの第1物体
に対して、複数の第1陰影像が生ずる場合(例えば、第
1物体に照射される光線の角度によって、本影の形状が
異る場合等)もあるため、1つの第1物体番号に対し
て、複数の第1陰影像を対応させることもできる(図7
の例では、第1物体2に対して、第1陰影像BおよびC
が記録されている)。
The first table 702 stores the first object number 70
4 and the first shadow image 706 are recorded. In some cases, a plurality of first shadow images are generated for one first object (for example, the shape of the umbrella is different depending on the angle of a light beam applied to the first object). A plurality of first shadow images can be associated with one object number (FIG. 7).
In the example of the first object 2, the first shadow images B and C
Is recorded).

【0068】以上、第1テーブルの一例を示し、予め定
められたテーブルから第1陰影像を選択する決定方法に
ついて説明したが、本発明はかかる実施の形態に限定さ
れるものではなく、他のいかなる第1テーブル用いて、
第1陰影像を決定してもよい。
As described above, an example of the first table has been described, and the determination method for selecting the first shadow image from the predetermined table has been described. However, the present invention is not limited to such an embodiment, and the present invention is not limited thereto. Using any first table,
The first shadow image may be determined.

【0069】次に、第2陰影像決定部304による第2
陰影像の決定方法について、図8乃至図11を参照して
説明する。
Next, the second shadow image determining unit 304
A method of determining a shadow image will be described with reference to FIGS.

【0070】図8は、第2陰影像決定部304による第
2陰影像の決定方法の処理手順の一例を示すフロー図で
ある。
FIG. 8 is a flowchart showing an example of the processing procedure of the method of determining the second shadow image by the second shadow image determination unit 304.

【0071】最初に、図9に示すように、第1陰影像9
02からエッジのぼやけた第1陰影像のマスク904を
作成する(ステップS802)。本マスク904は、例
えば、以下の方法により作成する。本来のフレームバッ
ファとは別に、新規のフレームバッファを用意する(ス
テップS802−2)。つぎに、第1陰影像902をテ
クスチャとみなして、用意したフレームバッファと同じ
大きさのポリゴンに貼りつける(ステップS802−
4)。次に、このポリゴンを、用意したフレームバッフ
ァに対して、加算しながら描画する(ステップS802
−6)。
First, as shown in FIG. 9, the first shadow image 9
A mask 904 of the first shadow image whose edge is blurred is created from 02 (step S802). The mask 904 is created by, for example, the following method. A new frame buffer is prepared separately from the original frame buffer (step S802-2). Next, the first shadow image 902 is regarded as a texture and is pasted on a polygon having the same size as the prepared frame buffer (step S802-).
4). Next, this polygon is drawn while being added to the prepared frame buffer (step S802).
-6).

【0072】次に、このようにして作成したエッジのぼ
やけた第1陰影像のマスク904の表示位置を変えて、
1つまたは2つ以上の第2陰影像を作成する(ステップ
S804)。
Next, by changing the display position of the mask 904 of the first shadow image with the blurred edge created in this way,
One or more second shadow images are created (step S804).

【0073】表示位置の変化量は、仮想光源、第1物体
および第2物体の位置、仮想光源の個数および仮想光源
の大きさ、ならびに第1物体の形状のうち少なくとも1
つを用いて表示位置の変化量を演算する方法と、表示位
置の変化量を記録した予め定めた第2テーブルから選択
することにより決定する方法のいずれを用いてもよい。
The amount of change in the display position is at least one of the virtual light source, the positions of the first and second objects, the number of virtual light sources, the size of the virtual light source, and the shape of the first object.
Either a method of calculating the amount of change in the display position by using one of the methods or a method of determining the amount by selecting the change amount of the display position from a predetermined second table that records the amount of change in the display position.

【0074】図10は、記憶装置に記憶された第2テー
ブルの一例を示す図である。
FIG. 10 is a diagram showing an example of the second table stored in the storage device.

【0075】第2テーブル1000は、所定の仮想光源
に対する表示位置の変化量1004を、仮想光源と第1
物体との距離k1および仮想光源と第2物体との距離k2
の比率(k1/k2)1002により予め定めている。
The second table 1000 stores the amount of change 1004 in the display position with respect to a predetermined virtual light source as the virtual light source
The distance k 1 between the object and the distance k 2 between the virtual light source and the second object
The ratio (k 1 / k 2 ) 1002 is determined in advance.

【0076】以上、第2テーブルの一例を示し、予め定
められたテーブルから表示位置の変化量を選択する決定
方法について説明したが、本発明はかかる実施の形態に
限定されるものではなく、他のいかなる第2テーブル用
いて、変化量を決定してもよい。
As described above, an example of the second table has been described, and the determination method of selecting the amount of change in the display position from the predetermined table has been described. However, the present invention is not limited to this embodiment. The change amount may be determined by using any of the second tables.

【0077】一方、上記の方法により、第1陰影像の表
示位置を変えて作成した第2陰影像が、図11に示すよ
うに、第1物体と重複する場合には、第2陰影像のうち
該重複部分については削除する必要がある。このような
場合は、例えば、第1物体と第2物体が接近している場
合には起こりやすい。
On the other hand, if the second shadow image created by changing the display position of the first shadow image by the above method overlaps the first object as shown in FIG. It is necessary to delete the overlapping part. Such a case is likely to occur, for example, when the first object and the second object are approaching.

【0078】かかる削除方法には、図11に示すよう
に、第2陰影像に第1物体の像でマスク処理を施すこと
による方法と、第2陰影像の上から第1物体の像を再表
示することによる方法のいずれを用いてもよい。
As shown in FIG. 11, the deletion method includes a method of performing a mask process on the second shadow image with the image of the first object, and a method of re-creating the image of the first object from the top of the second shadow image. Any of the display methods may be used.

【0079】次に、陰影像輝度決定部306による第1
陰影像および第2陰影像の輝度の決定方法について、図
12を参照して説明する。
Next, the first image is determined by the shadow image luminance determining unit 306.
A method of determining the brightness of the shadow image and the second shadow image will be described with reference to FIG.

【0080】第1陰影像および第2陰影像の輝度は、仮
想光源、第1物体および第2物体の位置、仮想光源の個
数および仮想光源の大きさ、ならびに仮想光源の照度の
うち少なくとも1つを用いて第1陰影像および第2陰影
像の輝度を演算することによる方法、または輝度の変化
量を記録した予め定めた第3テーブルから選択すること
による方法のいずれの方法を用いてもよい。
The brightness of the first shadow image and the second shadow image is at least one of the virtual light source, the positions of the first object and the second object, the number of virtual light sources, the size of the virtual light source, and the illuminance of the virtual light source. May be used to calculate the luminance of the first shadow image and the second shadow image, or a method of selecting from a predetermined third table in which the amount of change in luminance is recorded. .

【0081】図12は、記憶装置に記憶され第3テーブ
ルの一例を示す図である。
FIG. 12 is a diagram showing an example of the third table stored in the storage device.

【0082】第3テーブル1200は、第1陰影像およ
び第2陰影像の輝度1206を、仮想光源の照度lux
1202、および、仮想光源と第2物体との距離k2
204により予め定めている。
The third table 1200 uses the luminance 1206 of the first shadow image and the second shadow image as the illuminance lux of the virtual light source.
1202, and the distance between the virtual light source and the second object k 2 1
204 in advance.

【0083】以上、第3テーブルの一例を示し、予め定
められたテーブルから第1陰影像および第2陰影像の輝
度を選択する決定方法について説明したが、本発明はか
かる実施の形態に限定されるものではなく、他のいかな
る第3テーブルを用いて、陰影像の輝度を決定してもよ
い。
[0086] An example of the third table has been described above, and the method of determining the luminance of the first shadow image and the second shadow image from the predetermined table has been described. However, the present invention is limited to this embodiment. Instead, any other third table may be used to determine the brightness of the shadow image.

【0084】次に、陰影像合成部308による第1陰影
像および第2陰影像の合成方法について、図13を参照
して説明する。
Next, a method of synthesizing the first shadow image and the second shadow image by the shadow image synthesizing unit 308 will be described with reference to FIG.

【0085】図13は、第1陰影像および第2陰影像の
合成方法の概念図である。
FIG. 13 is a conceptual diagram of a method of synthesizing the first shadow image and the second shadow image.

【0086】エッジのぼやけた第1陰影像1302と、
該第1陰影像から生成した1つまたは2つ以上の第2陰
影像(1304〜1308・・・)とを加算処理して、
半影1310を合成する。この場合、第1陰影像および
第2陰影像を半透明合成してもよい。
A first shadow image 1302 having a blurred edge,
Addition processing is performed on one or more second shadow images (1304 to 1308...) Generated from the first shadow image,
The penumbra 1310 is synthesized. In this case, the first shadow image and the second shadow image may be translucently combined.

【0087】その後で、該合成された半影1310を、
本影の部分である第1陰影像とブレンティングして、最
終的な影1312を生成する。
Thereafter, the synthesized penumbra 1310 is
A final shadow 1312 is generated by blending with the first shadow image which is a part of the main shadow.

【0088】以上の第1陰影像決定部302、第2陰影
像決定部304、陰影像輝度決定部306および陰影像
合成部308の処理により、半影を簡易な方法で生成す
ることができるようになり、一般のプロセッサにおいて
もリアルタイムで半影を生成することができるようにな
る。
By the processing of the first shadow image determining unit 302, the second shadow image determining unit 304, the shadow image luminance determining unit 306, and the shadow image synthesizing unit 308, a penumbra can be generated by a simple method. Thus, even a general processor can generate a penumbra in real time.

【0089】(他の実施の形態)他の実施の形態におい
ては、第1陰影像を決定する際に、第1物体から影生成
用に構成ポリゴン数を少なくした「簡易オブジェクト」
を作成し、かかる「簡易オブジェクト」を用いて第1陰
影像を決定してもよい。半影を作成する際には、第1物
体の形状は必ずしも正確である必要はない。けだし、半
影の外形はぼやけているからである。そこで、例えば、
数十から数百個のポリゴンから構成される第1物体につ
いては、その第1物体の主要形状を規定する数個のポリ
ゴンからなる「簡易オブジェクト」を用いて、第1陰影
像を決定することにより、影処理の演算量をさらに軽減
することができる。該「簡易オブジェクト」の作成方法
については、第1物体に対する少なくとも1つの「簡易
オブジェクト」を予めテーブルに格納しておいて必要時
に選択する方法、表面積または体積が大きいポリゴンか
ら順にポリゴンを選択していき、予め定めたポリゴン数
からなるオブジェクトを作成する方法等がある。
(Other Embodiments) In another embodiment, when the first shadow image is determined, the "simple object" in which the number of constituent polygons for generating a shadow from the first object is reduced.
And the first shadow image may be determined using the “simple object”. When creating a penumbra, the shape of the first object does not necessarily need to be accurate. It is because the outline of the penumbra is blurred. So, for example,
For a first object composed of tens to hundreds of polygons, determine a first shadow image using a “simple object” composed of several polygons that define the main shape of the first object. As a result, the calculation amount of the shadow processing can be further reduced. The method of creating the “simple object” includes a method of storing at least one “simple object” for the first object in a table in advance and selecting it when necessary, and selecting polygons in order from the polygon having the largest surface area or volume. There is a method of creating an object consisting of a predetermined number of polygons.

【0090】一方、本発明の他の実施の形態において、
本発明はコンピュータ・システムにおいて使用するため
のコンピュータプログラム製品として実施することがで
きる。本発明の各手段を定義するプログラムは、多くの
フォーム(形式)でコンピュータに導入することができ
るのは当業者には自明である。これらのフォームの例と
しては、(a)コンピュータで使用可能な非書き込み記
憶媒体(例えば、コンピュータの入出力装置によって読
み取ることのできるROM、CD−ROMディスク、D
VD−ROMディスク等)中に永久的に保持されている
情報のフォーム、(b)コンピュータで使用可能な書き
込み可能な記憶媒体(例えば、フロッピー(登録商標)
・ディスク及びハード・ディスク駆動装置等)中に、前
もって保持されている情報のフォーム、(c)例えばデ
ジタルデータストリームまたは搬送波に乗せられたコン
ピュータデータ信号等のごとく、モデムを通る電話回線
やネットワークのような伝送媒体を介してコンピュータ
に伝達される情報のフォーム、などがあり、本発明はこ
れらのフォームに限定されるものではない。従って、本
発明の画像処理方法を管理する、コンピュータで読み取
り可能な命令を記録した媒体は、本発明の他の実施の形
態を与える。
On the other hand, in another embodiment of the present invention,
The invention can be embodied as a computer program product for use in a computer system. It is obvious to those skilled in the art that the program defining each means of the present invention can be introduced into a computer in many forms. Examples of these forms include: (a) non-writable storage media that can be used on a computer (eg, ROM, CD-ROM disk,
A form of information that is permanently held in a VD-ROM disk, etc .;
Disk and hard disk drives, etc.), the form of information previously stored in the telephone line or network through a modem, such as a digital data stream or a computer data signal on a carrier. There is a form of information transmitted to the computer via such a transmission medium, and the present invention is not limited to these forms. Accordingly, a medium recording computer-readable instructions for managing the image processing method of the present invention provides another embodiment of the present invention.

【0091】[0091]

【発明の効果】以上説明したように、本発明によれば、
従来の半影の影処理に比べて計算量が少なく、一般のプ
ロセッサにおいてリアルタイムで半影を生成することが
できる画像処理技術を提供することができる。
As described above, according to the present invention,
It is possible to provide an image processing technique that requires a smaller amount of calculation than conventional penumbra shadow processing and can generate a penumbra in real time in a general processor.

【図面の簡単な説明】[Brief description of the drawings]

【図1】3次元グラフィックス技術における「本影」お
よび「半影」の概念を示す図である。
FIG. 1 is a diagram illustrating the concept of “honkaku” and “penumbra” in three-dimensional graphics technology.

【図2】本発明の実施形態に係る画像処理装置の構成の
一例を示すブロック図である。
FIG. 2 is a block diagram illustrating an example of a configuration of an image processing apparatus according to an embodiment of the present invention.

【図3】本発明の実施形態に係る画像生成部212の構
成の一例を示すブロック図である。
FIG. 3 is a block diagram illustrating an example of a configuration of an image generation unit 212 according to the embodiment of the present invention.

【図4】第1陰影像決定部302により決定される第1
陰影像の一例を示す概念図である。
FIG. 4 shows a first image determined by a first shadow image determining unit 302.
It is a conceptual diagram which shows an example of a shadow image.

【図5】図4で示した第1陰影像をシャドウポリゴン法
により決定する場合の処理手順の一例を示す処理フロー
図である。
FIG. 5 is a processing flowchart showing an example of a processing procedure when the first shadow image shown in FIG. 4 is determined by the shadow polygon method.

【図6】シャドウポリゴンの概念を示す図である。FIG. 6 is a diagram showing the concept of a shadow polygon.

【図7】第1テーブルの一例を示す図である。FIG. 7 is a diagram illustrating an example of a first table.

【図8】第2陰影像決定部304による第2陰影像の決
定方法の処理手順の一例を示すフロー図である。
FIG. 8 is a flowchart illustrating an example of a processing procedure of a method of determining a second shadow image by a second shadow image determination unit 304.

【図9】エッジのぼやけた第1陰影像のマスクを示す図
である。
FIG. 9 is a diagram showing a mask of a first shadow image with a blurred edge.

【図10】第2テーブルの一例を示す図である。FIG. 10 is a diagram showing an example of a second table.

【図11】第1陰影像の表示位置を変えて作成した第2
陰影像が、第1物体と重複する場合を示す図である。
FIG. 11 shows a second shadow image created by changing the display position of the first shadow image.
It is a figure showing the case where a shadow image overlaps with the 1st object.

【図12】第3テーブルの一例を示す図である。FIG. 12 is a diagram showing an example of a third table.

【図13】第1陰影像および第2陰影像の合成方法の概
念図である。
FIG. 13 is a conceptual diagram of a method of synthesizing a first shadow image and a second shadow image.

【符号の説明】[Explanation of symbols]

102 仮想光源 104、402 第1物体 106、404 第2物体 200 画像処理装置 202 CPU 204 記憶装置 206 画像処理部 208 ディスプレイ 210 テクスチャメモリ 212 画像生成部 214 フレームバッファ 216 バス 302 第1陰影像決定部 304 第2陰影像決定部 306 陰影像輝度決定部 308 陰影像合成部 406、902 第1陰影像 904、1302 エッジのぼやけた第1陰影像 1304、1306、1308 第2陰影像 102 Virtual light source 104, 402 First object 106, 404 Second object 200 Image processing device 202 CPU 204 Storage device 206 Image processing unit 208 Display 210 Texture memory 212 Image generation unit 214 Frame buffer 216 Bus 302 First shadow image determination unit 304 Second shadow image determining unit 306 Shadow image luminance determining unit 308 Shadow image synthesizing unit 406, 902 First shadow image 904, 1302 First shadow image 1304, 1306, 1308 with blurred edge

Claims (36)

【特許請求の範囲】[Claims] 【請求項1】 3次元コンピュータグラフィックを処理
する画像処理装置において、 少なくとも1つの仮想光源から発せられる光線を第1物
体の像が遮ることにより第2物体の像上に生ずる第1陰
影像を決定する第1陰影像決定手段と、 前記第1陰影像の表示位置を変化させて、1つまたは2
つ以上の第2陰影像を決定する第2陰影像決定手段と、 前記第1陰影像と前記第2陰影像とを重ねて表示する陰
影像合成手段とを備えたことを特徴とする画像処理装
置。
1. An image processing apparatus for processing three-dimensional computer graphics, wherein a first shadow image generated on an image of a second object is determined by blocking an image of a first object from light rays emitted from at least one virtual light source. A first shadow image determining unit that changes the display position of the first shadow image to obtain one or two
Image processing comprising: a second shadow image determining means for determining one or more second shadow images; and a shadow image synthesizing means for displaying the first shadow image and the second shadow image in a superimposed manner. apparatus.
【請求項2】 請求項1に記載の画像処理装置におい
て、 前記第1陰影像決定手段は、 前記仮想光源、前記第1物体および前記第2物体の位
置、前記仮想光源の個数および前記仮想光源の大きさ、
ならびに前記第1物体の形状のうち少なくとも1つを用
いて前記第1陰影像を演算することにより、第1陰影像
を決定することを特徴とする画像処理装置。
2. The image processing apparatus according to claim 1, wherein the first shadow image determining means includes: a virtual light source, positions of the first object and the second object, a number of the virtual light sources, and the virtual light source. The size of
An image processing apparatus, wherein the first shadow image is determined by calculating the first shadow image using at least one of the shapes of the first object.
【請求項3】 請求項1に記載の画像処理装置におい
て、 前記第1陰影像決定手段は、 陰影像を記録した予め定めた第1テーブルから選択する
ことにより、前記第1陰影像を決定することを特徴とす
る画像処理装置。
3. The image processing apparatus according to claim 1, wherein the first shadow image determining unit determines the first shadow image by selecting from a predetermined first table in which a shadow image is recorded. An image processing apparatus characterized by the above-mentioned.
【請求項4】 請求項1に記載の画像処理装置におい
て、 前記第2陰影像決定手段は、 前記仮想光源、前記第1物体および前記第2物体の位
置、前記仮想光源の個数および前記仮想光源の大きさ、
ならびに前記第1物体の形状のうち少なくとも1つを用
いて前記表示位置の変化量を演算することにより、前記
第1陰影像の前記表示位置を変化させて前記第2陰影像
を決定することを特徴とする画像処理装置。
4. The image processing apparatus according to claim 1, wherein the second shadow image determining unit includes: a virtual light source, positions of the first object and the second object, a number of the virtual light sources, and the virtual light source. The size of
Calculating the amount of change in the display position using at least one of the shapes of the first object, thereby changing the display position of the first shadow image to determine the second shadow image. Characteristic image processing device.
【請求項5】 請求項1に記載の画像処理装置におい
て、 前記第2陰影像決定手段は、 表示位置の変化量を記録した予め定めた第2テーブルか
ら選択することにより、前記第1陰影像の前記表示位置
を変化させて前記第2陰影像を決定することを特徴とす
る画像処理装置。
5. The image processing apparatus according to claim 1, wherein the second shadow image determining unit selects the first shadow image by selecting from a predetermined second table in which a change amount of a display position is recorded. An image processing apparatus for determining the second shadow image by changing the display position.
【請求項6】 請求項1に記載の画像処理装置におい
て、 前記陰影像合成手段は、 前記第1陰影像および前記第2陰影像を半透明合成する
ことを特徴とする画像処理装置。
6. The image processing apparatus according to claim 1, wherein the shadow image synthesizing unit translucently synthesizes the first shadow image and the second shadow image.
【請求項7】 請求項1に記載の画像処理装置におい
て、 前記第2陰影像決定手段は、 前記第2陰影像が前記第1物体の少なくとも一部と重な
って表示される場合には、前記第2陰影像から前記第1
物体に重なっている部分を削除する削除手段をさらに備
えたことを特徴とする画像処理装置。
7. The image processing apparatus according to claim 1, wherein the second shadow image determining unit is configured to: when the second shadow image is displayed so as to overlap with at least a part of the first object. From the second shadow image, the first
An image processing apparatus, further comprising a deletion unit that deletes a portion overlapping an object.
【請求項8】 請求項7に記載の画像処理装置におい
て、 前記削除手段は、 前記第2陰影像に前記第1物体の像でマスク処理を施す
ことにより、前記第2陰影像から前記第1物体に重なっ
ている部分を削除することを特徴とする画像処理装置。
8. The image processing apparatus according to claim 7, wherein the deletion unit performs a mask process on the second shadow image with an image of the first object, thereby removing the first shadow image from the second shadow image. An image processing apparatus for deleting a portion overlapping an object.
【請求項9】 請求項7に記載の画像処理装置におい
て、 前記削除手段は、 前記第2陰影像の上から前記第1物体の像を再表示する
ことにより、前記第2陰影像から前記第1物体に重なっ
ている部分を削除することを特徴とする画像処理装置。
9. The image processing apparatus according to claim 7, wherein the deletion unit redisplays the image of the first object from above the second shadow image, thereby removing the second shadow image from the second shadow image. An image processing apparatus, wherein a portion overlapping one object is deleted.
【請求項10】 請求項1に記載の画像処理装置におい
て、 前記第1陰影像および前記第2陰影像の輝度をそれぞれ
決定する陰影像輝度決定手段をさらに備えたことを特徴
とする画像処理装置。
10. The image processing apparatus according to claim 1, further comprising: a shadow image brightness determination unit that determines brightness of each of the first shadow image and the second shadow image. .
【請求項11】 請求項10に記載の画像処理装置にお
いて、 前記陰影像輝度決定手段は、 前記仮想光源、前記第1物体および前記第2物体の位
置、前記仮想光源の個数および仮想光源の大きさ、なら
びに仮想光源の照度のうち少なくとも1つを用いて前記
第1陰影像および前記第2陰影像の輝度を演算すること
により、前記第1陰影像および前記第2陰影像の輝度を
それぞれ決定することを特徴とする画像処理装置。
11. The image processing apparatus according to claim 10, wherein the shadow image luminance determining means includes: a position of the virtual light source, the positions of the first object and the second object; a number of the virtual light sources; and a size of the virtual light source. And calculating the brightness of the first shadow image and the brightness of the second shadow image using at least one of the illuminances of the virtual light source, thereby determining the brightness of the first shadow image and the brightness of the second shadow image, respectively. An image processing apparatus comprising:
【請求項12】 請求項10に記載の画像処理装置にお
いて、 前記陰影像輝度決定手段は、 輝度の変化量を記録した予め定めた第3テーブルから選
択することにより、前記第1陰影像および前記第2陰影
像の輝度をそれぞれ決定することを特徴とする画像処理
装置。
12. The image processing apparatus according to claim 10, wherein the shadow image luminance determining means selects the first shadow image and the first shadow image by selecting from a predetermined third table in which a change in luminance is recorded. An image processing apparatus for determining a luminance of a second shadow image.
【請求項13】 3次元コンピュータグラフィックを処
理する画像処理方法において、 少なくとも1つの仮想光源から発せられる光線を第1物
体の像が遮ることにより第2物体の像上に生ずる第1陰
影像を決定する第1陰影像決定ステップと、 前記第1陰影像の表示位置を変化させて、1つまたは2
つ以上の第2陰影像を決定する第2陰影像決定ステップ
と、 前記第1陰影像と前記第2陰影像とを重ねて表示する陰
影像合成ステップとを備えることを特徴とする画像処理
方法。
13. An image processing method for processing three-dimensional computer graphics, comprising: determining a first shadow image generated on an image of a second object by blocking an image of the first object from light rays emitted from at least one virtual light source. A first shadow image determining step of changing the display position of the first shadow image to one or two
An image processing method, comprising: a second shadow image determining step of determining one or more second shadow images; and a shadow image synthesizing step of displaying the first shadow image and the second shadow image in a superimposed manner. .
【請求項14】 請求項13に記載の画像処理方法にお
いて、 前記第1陰影像決定ステップは、 前記仮想光源、前記第1物体および前記第2物体の位
置、前記仮想光源の個数および前記仮想光源の大きさ、
ならびに前記第1物体の形状のうち少なくとも1つを用
いて前記第1陰影像を演算することにより、第1陰影像
を決定することを特徴とする画像処理方法。
14. The image processing method according to claim 13, wherein the first shadow image determining step includes: the virtual light source, the positions of the first object and the second object, the number of the virtual light sources, and the virtual light source. The size of
An image processing method, wherein the first shadow image is determined by calculating the first shadow image using at least one of the shapes of the first object.
【請求項15】 請求項13に記載の画像処理方法にお
いて、 前記第1陰影像決定ステップは、 陰影像を記録した予め定めた第1テーブルから選択する
ことにより、前記第1陰影像を決定することを特徴とす
る画像処理方法。
15. The image processing method according to claim 13, wherein the first shadow image determining step determines the first shadow image by selecting a shadow image from a predetermined first table in which the shadow image is recorded. An image processing method comprising:
【請求項16】 請求項13に記載の画像処理方法にお
いて、 前記第2陰影像決定ステップは、 前記仮想光源、前記第1物体および前記第2物体の位
置、前記仮想光源の個数および前記仮想光源の大きさ、
ならびに前記第1物体の形状のうち少なくとも1つを用
いて前記表示位置の変化量を演算することにより、前記
第1陰影像の前記表示位置を変化させて前記第2陰影像
を決定することを特徴とする画像処理方法。
16. The image processing method according to claim 13, wherein the step of determining the second shadow image comprises: the virtual light source, the positions of the first object and the second object, the number of the virtual light sources, and the virtual light source. The size of
Calculating the amount of change in the display position using at least one of the shapes of the first object, thereby changing the display position of the first shadow image to determine the second shadow image. Characteristic image processing method.
【請求項17】 請求項13に記載の画像処理方法にお
いて、 前記第2陰影像決定ステップは、 表示位置の変化量を記録した予め定めた第2テーブルか
ら選択することにより、前記第1陰影像の前記表示位置
を変化させて前記第2陰影像を決定することを特徴とす
る画像処理方法。
17. The image processing method according to claim 13, wherein the step of determining the second shadow image comprises selecting the first shadow image from a predetermined second table in which a change amount of a display position is recorded. An image processing method, wherein the display position is changed to determine the second shadow image.
【請求項18】 請求項13に記載の画像処理方法にお
いて、 前記陰影像合成ステップは、 前記第1陰影像および前記第2陰影像を半透明合成する
ことを特徴とする画像処理方法。
18. The image processing method according to claim 13, wherein in the shadow image combining step, the first shadow image and the second shadow image are translucently combined.
【請求項19】 請求項13に記載の画像処理方法にお
いて、 前記第2陰影像決定ステップは、 前記第2陰影像が前記第1物体の少なくとも一部と重な
って表示される場合には、前記第2陰影像から前記第1
物体に重なっている部分を削除する削除ステップをさら
に備えることを特徴とする画像処理方法。
19. The image processing method according to claim 13, wherein the second shadow image determining step is performed when the second shadow image is displayed so as to overlap at least a part of the first object. From the second shadow image, the first
An image processing method, further comprising a deletion step of deleting a portion overlapping an object.
【請求項20】 請求項19に記載の画像処理方法にお
いて、 前記削除ステップは、 前記第2陰影像に前記第1物体の像でマスク処理を施す
ことにより、前記第2陰影像から前記第1物体に重なっ
ている部分を削除することを特徴とする画像処理方法。
20. The image processing method according to claim 19, wherein, in the deleting step, the second shadow image is subjected to a mask process with an image of the first object, so that the first shadow image is converted from the second shadow image to the first shadow image. An image processing method, wherein a portion overlapping an object is deleted.
【請求項21】 請求項19に記載の画像処理方法にお
いて、 前記削除ステップは、 前記第2陰影像の上から前記第1物体の像を再表示する
ことにより、前記第2陰影像から前記第1物体に重なっ
ている部分を削除することを特徴とする画像処理方法。
21. The image processing method according to claim 19, wherein, in the deleting step, the image of the first object is redisplayed from above the second shadow image, so that the second shadow image is deleted from the second shadow image. An image processing method, wherein a portion overlapping one object is deleted.
【請求項22】 請求項13に記載の画像処理方法にお
いて、 前記第1陰影像および前記第2陰影像の輝度をそれぞれ
決定する陰影像輝度決定ステップをさらに備えることを
特徴とする画像処理方法。
22. The image processing method according to claim 13, further comprising a shadow image brightness determining step of determining the brightness of each of the first shadow image and the second shadow image.
【請求項23】 請求項22に記載の画像処理方法にお
いて、 前記陰影像輝度決定ステップは、 前記仮想光源、前記第1物体および前記第2物体の位
置、前記仮想光源の個数および仮想光源の大きさ、なら
びに仮想光源の照度のうち少なくとも1つを用いて前記
第1陰影像および前記第2陰影像の輝度を演算すること
により、前記第1陰影像および前記第2陰影像の輝度を
それぞれ決定することを特徴とする画像処理方法。
23. The image processing method according to claim 22, wherein the step of determining the shadow image brightness comprises: the virtual light source, the positions of the first object and the second object, the number of the virtual light sources, and the size of the virtual light source. And calculating the brightness of the first shadow image and the brightness of the second shadow image using at least one of the illuminances of the virtual light source, thereby determining the brightness of the first shadow image and the brightness of the second shadow image, respectively. An image processing method comprising:
【請求項24】 請求項22に記載の画像処理方法にお
いて、 前記陰影像輝度決定ステップは、 輝度の変化量を記録した予め定めた第3テーブルから選
択することにより、前記第1陰影像および前記第2陰影
像の輝度をそれぞれ決定することを特徴とする画像処理
方法。
24. The image processing method according to claim 22, wherein the step of determining the shadow image brightness includes selecting the first shadow image and the shadow image by selecting from a third predetermined table in which a change in brightness is recorded. An image processing method, wherein the luminance of the second shadow image is determined.
【請求項25】 コンピュータに実行させるための、3
次元コンピュータグラフィックを処理する画像処理プロ
グラムを記録したコンピュータ読取可能な記録媒体にお
いて、 少なくとも1つの仮想光源から発せられる光線を第1物
体の像が遮ることにより第2物体の像上に生ずる第1陰
影像を決定する第1陰影像決定ステップと、 前記第1陰影像の表示位置を変化させて、1つまたは2
つ以上の第2陰影像を決定する第2陰影像決定ステップ
と、 前記第1陰影像と前記第2陰影像とを重ねて表示する陰
影像合成ステップとを備えることを特徴とする画像処理
プログラムを記録したコンピュータ読取り可能な記録媒
体。
25. A computer program for causing a computer to execute
In a computer-readable recording medium storing an image processing program for processing three-dimensional computer graphics, a first shadow generated on an image of a second object by blocking a light beam emitted from at least one virtual light source by an image of the first object. A first shadow image determining step of determining an image, and changing a display position of the first shadow image to one or two
An image processing program comprising: a second shadow image determining step of determining one or more second shadow images; and a shadow image synthesizing step of displaying the first shadow image and the second shadow image in a superimposed manner. Computer-readable recording medium on which is recorded.
【請求項26】 請求項25に記載の記録媒体におい
て、 前記第1陰影像決定ステップは、 前記仮想光源、前記第1物体および前記第2物体の位
置、前記仮想光源の個数および前記仮想光源の大きさ、
ならびに前記第1物体の形状のうち少なくとも1つを用
いて前記第1陰影像を演算することにより第1陰影像を
決定することを特徴とする画像処理プログラムを記録し
たコンピュータ読取り可能な記録媒体。
26. The recording medium according to claim 25, wherein the step of determining the first shadow image comprises: the step of determining the virtual light source, the positions of the first object and the second object, the number of the virtual light sources, and the number of the virtual light sources. size,
And a computer-readable recording medium recording an image processing program, wherein the first shadow image is determined by calculating the first shadow image using at least one of the shapes of the first object.
【請求項27】 請求項25に記載の記録媒体におい
て、 前記第1陰影像決定ステップは、 陰影像を記録した予め定めた第1テーブルから選択する
ことにより、前記第1陰影像を決定することを特徴とす
る画像処理プログラムを記録したコンピュータ読取り可
能な記録媒体。
27. The recording medium according to claim 25, wherein the first shadow image determining step determines the first shadow image by selecting from a predetermined first table in which a shadow image is recorded. A computer-readable recording medium having recorded thereon an image processing program.
【請求項28】 請求項25に記載の記録媒体におい
て、 前記第2陰影像決定ステップは、 前記仮想光源、前記第1物体および前記第2物体の位
置、前記仮想光源の個数および前記仮想光源の大きさ、
ならびに前記第1物体の形状のうち少なくとも1つを用
いて前記表示位置の変化量を演算することにより、前記
第1陰影像の前記表示位置を変化させて前記第2陰影像
を決定することを特徴とする画像処理プログラムを記録
したコンピュータ読取り可能な記録媒体。
28. The recording medium according to claim 25, wherein the step of determining the second shadow image comprises: the step of determining the virtual light source, the positions of the first object and the second object, the number of the virtual light sources, and the number of the virtual light sources. size,
Calculating the amount of change in the display position using at least one of the shapes of the first object, thereby changing the display position of the first shadow image to determine the second shadow image. A computer-readable recording medium on which a characteristic image processing program is recorded.
【請求項29】 請求項25に記載の記録媒体におい
て、 前記第2陰影像決定ステップは、 表示位置の変化量を記録した予め定めた第2テーブルか
ら選択することにより、前記第1陰影像の前記表示位置
を変化させて前記第2陰影像を決定することを特徴とす
る画像処理プログラムを記録したコンピュータ読取り可
能な記録媒体。
29. The recording medium according to claim 25, wherein the step of determining the second shadow image is performed by selecting a change amount of a display position from a predetermined second table in which the amount of change of the display position is recorded. A computer-readable storage medium storing an image processing program, wherein the display position is changed to determine the second shadow image.
【請求項30】 請求項25に記載の記録媒体におい
て、 前記陰影像合成ステップは、 前記第1陰影像および前記第2陰影像を半透明合成する
ことを特徴とする画像処理プログラムを記録したコンピ
ュータ読取り可能な記録媒体。
30. A computer according to claim 25, wherein said shadow image synthesizing step includes translucently synthesizing said first shadow image and said second shadow image. A readable recording medium.
【請求項31】 請求項25に記載の記録媒体におい
て、 前記第2陰影像決定ステップは、 前記第2陰影像が前記第1物体の少なくとも一部と重な
って表示される場合には、前記第2陰影像から前記第1
物体に重なっている部分を削除する削除ステップをさら
に備えることを特徴とする画像処理プログラムを記録し
たコンピュータ読取り可能な記録媒体。
31. The recording medium according to claim 25, wherein the second shadow image determination step is performed when the second shadow image is displayed so as to overlap at least a part of the first object. 2 From the shadow image, the first
A computer-readable recording medium on which an image processing program is recorded, further comprising a deletion step of deleting a portion overlapping the object.
【請求項32】 請求項31に記載の記録媒体におい
て、 前記削除ステップは、 前記第2陰影像に前記第1物体の像でマスク処理を施す
ことにより、前記第2陰影像から前記第1物体に重なっ
ている部分を削除することを特徴とする画像処理プログ
ラムを記録したコンピュータ読取り可能な記録媒体。
32. The recording medium according to claim 31, wherein, in the deleting step, the second shadow image is masked with an image of the first object to thereby convert the second shadow image to the first object. A computer-readable recording medium on which an image processing program is recorded, wherein a portion overlapping the image is deleted.
【請求項33】 請求項31に記載の記録媒体におい
て、 前記削除ステップは、 前記第2陰影像の上から前記第1物体の像を再表示する
ことにより、前記第2陰影像から前記第1物体に重なっ
ている部分を削除することを特徴とする画像処理プログ
ラムを記録したコンピュータ読取り可能な記録媒体。
33. The recording medium according to claim 31, wherein the deleting step includes redisplaying an image of the first object from above the second shadow image, thereby removing the first shadow image from the second shadow image. A computer-readable recording medium in which an image processing program is recorded, wherein a portion overlapping an object is deleted.
【請求項34】 請求項25に記載の記録媒体におい
て、 前記第1陰影像および前記第2陰影像の輝度をそれぞれ
決定する陰影像輝度決定ステップをさらに備えることを
特徴とする画像処理プログラムを記録したコンピュータ
読取り可能な記録媒体。
34. The recording medium according to claim 25, further comprising: a shadow image brightness determining step of determining brightness of each of the first shadow image and the second shadow image. Computer readable recording medium.
【請求項35】 請求項34に記載の記録媒体におい
て、 前記陰影像輝度決定ステップは、 前記仮想光源、前記第1物体および前記第2物体の位
置、前記仮想光源の個数および仮想光源の大きさ、なら
びに仮想光源の照度のうち少なくとも1つを用いて前記
第1陰影像および前記第2陰影像の輝度を演算すること
により、前記第1陰影像および前記第2陰影像の輝度を
それぞれ決定することを特徴とする画像処理プログラム
を記録したコンピュータ読取り可能な記録媒体。
35. The recording medium according to claim 34, wherein the step of determining the shadow image luminance comprises: the virtual light source, the positions of the first object and the second object, the number of the virtual light sources, and the size of the virtual light source. And the luminance of the first shadow image and the second shadow image are calculated using at least one of the illuminances of the virtual light source to determine the luminance of the first shadow image and the second shadow image, respectively. A computer-readable recording medium having recorded thereon an image processing program.
【請求項36】 請求項34に記載の記録媒体におい
て、 前記陰影像輝度決定ステップは、 輝度の変化量を記録した予め定めた第3テーブルから選
択することにより、前記第1陰影像および前記第2陰影
像の輝度をそれぞれ決定することを特徴とする画像処理
プログラムを記録したコンピュータ読取り可能な記録媒
体。
36. The recording medium according to claim 34, wherein the step of determining the shadow image brightness comprises selecting the first shadow image and the second shadow image by selecting from a third predetermined table in which a change in brightness is recorded. (2) A computer-readable recording medium having recorded thereon an image processing program for determining the brightness of each shadow image.
JP25748099A 1999-09-10 1999-09-10 Image processing apparatus, image processing method, and recording medium for processing three-dimensional computer graphics Expired - Fee Related JP4480210B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25748099A JP4480210B2 (en) 1999-09-10 1999-09-10 Image processing apparatus, image processing method, and recording medium for processing three-dimensional computer graphics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25748099A JP4480210B2 (en) 1999-09-10 1999-09-10 Image processing apparatus, image processing method, and recording medium for processing three-dimensional computer graphics

Publications (2)

Publication Number Publication Date
JP2001084400A true JP2001084400A (en) 2001-03-30
JP4480210B2 JP4480210B2 (en) 2010-06-16

Family

ID=17306893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25748099A Expired - Fee Related JP4480210B2 (en) 1999-09-10 1999-09-10 Image processing apparatus, image processing method, and recording medium for processing three-dimensional computer graphics

Country Status (1)

Country Link
JP (1) JP4480210B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005346417A (en) * 2004-06-03 2005-12-15 Sega Corp Method for controlling display of object image by virtual three-dimensional coordinate polygon and image display device using the method
JP2009525526A (en) * 2006-02-01 2009-07-09 レッドウェイ・3・ディー Method for synthesizing virtual images by beam emission
CN111803942A (en) * 2020-07-20 2020-10-23 网易(杭州)网络有限公司 Soft shadow generation method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04360278A (en) * 1991-06-07 1992-12-14 Fujitsu Ltd Display control device
JPH0546076A (en) * 1991-08-13 1993-02-26 Furuno Electric Co Ltd Digital map generator
JPH0676074A (en) * 1992-07-24 1994-03-18 Daikin Ind Ltd Device and method for displaying picture
JPH0721408A (en) * 1993-06-23 1995-01-24 Hitachi Ltd Illuminance calculating method for computer graphics and display device
JPH08194838A (en) * 1995-01-12 1996-07-30 Taito Corp Display device having shadow displaying function
JPH0922472A (en) * 1995-07-05 1997-01-21 Sharp Corp Image processing method
JPH0947576A (en) * 1995-08-04 1997-02-18 Namco Ltd Three dimensional game device and image synthesize method
JPH0955881A (en) * 1995-08-17 1997-02-25 Dainippon Screen Mfg Co Ltd Picture shading method
JPH10188031A (en) * 1996-12-20 1998-07-21 Casio Comput Co Ltd Image data processor and storage medium
JPH1125286A (en) * 1997-07-04 1999-01-29 Mitsubishi Electric Corp Shadowing method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04360278A (en) * 1991-06-07 1992-12-14 Fujitsu Ltd Display control device
JPH0546076A (en) * 1991-08-13 1993-02-26 Furuno Electric Co Ltd Digital map generator
JPH0676074A (en) * 1992-07-24 1994-03-18 Daikin Ind Ltd Device and method for displaying picture
JPH0721408A (en) * 1993-06-23 1995-01-24 Hitachi Ltd Illuminance calculating method for computer graphics and display device
JPH08194838A (en) * 1995-01-12 1996-07-30 Taito Corp Display device having shadow displaying function
JPH0922472A (en) * 1995-07-05 1997-01-21 Sharp Corp Image processing method
JPH0947576A (en) * 1995-08-04 1997-02-18 Namco Ltd Three dimensional game device and image synthesize method
JPH0955881A (en) * 1995-08-17 1997-02-25 Dainippon Screen Mfg Co Ltd Picture shading method
JPH10188031A (en) * 1996-12-20 1998-07-21 Casio Comput Co Ltd Image data processor and storage medium
JPH1125286A (en) * 1997-07-04 1999-01-29 Mitsubishi Electric Corp Shadowing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005346417A (en) * 2004-06-03 2005-12-15 Sega Corp Method for controlling display of object image by virtual three-dimensional coordinate polygon and image display device using the method
JP4513423B2 (en) * 2004-06-03 2010-07-28 株式会社セガ Object image display control method using virtual three-dimensional coordinate polygon and image display apparatus using the same
JP2009525526A (en) * 2006-02-01 2009-07-09 レッドウェイ・3・ディー Method for synthesizing virtual images by beam emission
CN111803942A (en) * 2020-07-20 2020-10-23 网易(杭州)网络有限公司 Soft shadow generation method and device, electronic equipment and storage medium
CN111803942B (en) * 2020-07-20 2024-07-30 网易(杭州)网络有限公司 Soft shadow generation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
JP4480210B2 (en) 2010-06-16

Similar Documents

Publication Publication Date Title
US6654020B2 (en) Method of rendering motion blur image and apparatus therefor
TWI584223B (en) Method and system of graphics processing enhancement by tracking object and/or primitive identifiers,graphics processing unit and non-transitory computer readable medium
US8115767B2 (en) Computer graphics shadow volumes using hierarchical occlusion culling
US6677946B1 (en) Method of, an apparatus for, and a recording medium comprising a program for, processing an image
US7245301B2 (en) Rendering volumetric fog and other gaseous phenomena
JP2007066064A (en) Image generating device and image generating program
JP3352982B2 (en) Rendering method and device, game device, and computer-readable recording medium for storing program for rendering three-dimensional model
US9007393B2 (en) Accurate transparency and local volume rendering
JP2004005452A (en) Image processor, image processing method, semiconductor device, computer program and record medium
US20020004421A1 (en) Computer readable recording medium recording a program for causing a light source to be displayed on a game screen and the program, and game screen display method and apparatus
US7834879B2 (en) Drawing apparatus for displaying image data about a plurality of objects including semitransparent object and opaque object on computer display screen
JP2005504363A (en) How to render graphic images
JP4513423B2 (en) Object image display control method using virtual three-dimensional coordinate polygon and image display apparatus using the same
JP2837584B2 (en) How to create terrain data
JP2001084400A (en) Image processor for processing three-dimensional computer graphic, image processing method and recording medium
JP4733757B2 (en) Polygon processing apparatus, program, and information recording medium
JP2763481B2 (en) Image synthesizing apparatus and image synthesizing method
JP3261832B2 (en) Image generation device
JP2000148126A (en) Image display device and method
JPH11296696A (en) Three-dimensional image processor
JP2002049932A (en) Method for displaying polygon model shadow
JP3372034B2 (en) Rendering method and apparatus, game apparatus, and computer-readable recording medium storing program for rendering stereo model
JPH09190547A (en) Image compositing and display device and its method
JP3745152B2 (en) Image display device
JPH06168340A (en) 3d graphic display device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060724

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090818

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090918

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091218

RD13 Notification of appointment of power of sub attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7433

Effective date: 20091222

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20091222

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20100120

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100312

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100316

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130326

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4480210

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130326

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130326

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140326

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees