JPH02166576A - Picture display device - Google Patents

Picture display device

Info

Publication number
JPH02166576A
JPH02166576A JP32263988A JP32263988A JPH02166576A JP H02166576 A JPH02166576 A JP H02166576A JP 32263988 A JP32263988 A JP 32263988A JP 32263988 A JP32263988 A JP 32263988A JP H02166576 A JPH02166576 A JP H02166576A
Authority
JP
Japan
Prior art keywords
intersection
light
cross
light source
obstacles
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.)
Pending
Application number
JP32263988A
Other languages
Japanese (ja)
Inventor
Kenji Nishimura
健二 西村
Yoshimori Nakase
義盛 中瀬
Makoto Hirai
誠 平井
Minobu Abe
阿部 美乃夫
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP32263988A priority Critical patent/JPH02166576A/en
Publication of JPH02166576A publication Critical patent/JPH02166576A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE:To shorten calculating time by providing plural cross deciders which decide the crosses between an optional light beam and obstacles independently of each other and a cross deciding load scattering part which informs the cross deciders of the light beams and the obstacles to be used for the next decision of crosses. CONSTITUTION:The plural cross deciders 2 decide the crosses independently of each other between the light beam emitted directly from a light source and the obstacles that may possibly shield the light beam. A cross deciding load scattering part 1 informs the deciders 2 of the light beams and the obstacles for the next decision of crosses. Thus it is possible to extremely shorten the calculating time by processing the cross deciding operation in parallel with each other in the luminance arithmetic that required conventionally an extremely long time. In this case, the light beams reflected mutually between objects and the environmental illuminance can substitute for the light beam radiated directly from the light source and the direct illuminance respectively.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、物体を表示する画像表示装置に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an image display device for displaying objects.

従来の技術 近年、画像表示装置は計算機援用設計やコンピュータ・
グラフィックス等の進歩に伴い、まずます重要視されて
いる。
Conventional technology In recent years, image display devices have been developed using computer-aided design and computer-aided design.
With advances in graphics, etc., it is becoming increasingly important.

以下図面を参照しながら、上述した従来の画像表示装置
の一例について説明する。第2図は従来の画像表示装置
の構成を示すものである。以下にその動作について説明
する。
An example of the conventional image display device mentioned above will be described below with reference to the drawings. FIG. 2 shows the configuration of a conventional image display device. The operation will be explained below.

まず表示しようとする物体を特徴付ける物体データを物
体データメモリ部3に蓄える。物体データの例としては
、物体形状を表す頂点の位置や頂点・辺・面の接続関係
、物体表面の光学特性などがある。
First, object data characterizing the object to be displayed is stored in the object data memory section 3. Examples of object data include the positions of vertices representing the shape of the object, the connection relationships between vertices, edges, and surfaces, and the optical characteristics of the object surface.

また表示しようとする物体を照らす光源を特徴付ける光
源データを光源データメモリ部4に蓄える。光源データ
の例としては、光源の形状、光強度、配光特性などがあ
る。
Further, light source data characterizing the light source that illuminates the object to be displayed is stored in the light source data memory section 4. Examples of the light source data include the shape of the light source, light intensity, and light distribution characteristics.

次に照度演算部8において物体データメモリ部3内の物
体データと光源データメモリ部4内の光源データとを用
いて各物体表面の光源からの直射光による直射照度と物
体間の相互反射光による環境照度を算出し蓄える。
Next, in the illuminance calculation section 8, the object data in the object data memory section 3 and the light source data in the light source data memory section 4 are used to calculate the direct illuminance due to the direct light from the light source on the surface of each object and the mutually reflected light between the objects. Calculates and stores the environmental illuminance.

さらにレンダリング部6においてこの照度データを用い
て表示画面の各画素の輝度(画素輝度データ)を算出し
、画素輝度データメモリ部eに蓄える。
Further, the rendering section 6 uses this illuminance data to calculate the brightness of each pixel on the display screen (pixel brightness data) and stores it in the pixel brightness data memory section e.

最後に画素輝度データメモリ部θ内の画素輝度データを
用いて表示画面に表示する。
Finally, the pixel brightness data in the pixel brightness data memory section θ is used to display on the display screen.

発明が解決しようとする課題 しかしながら上記のような構成では、光線と障害物との
交差判定に全物体数の3乗の手数を要するため、照度演
算に非常に多くの時間が必要であるという問題点を有し
ていた。
Problems to be Solved by the Invention However, with the above configuration, the number of steps required to determine the intersection between a ray and an obstacle is the cube of the total number of objects, so a large amount of time is required to calculate the illuminance. It had a point.

本発明は上記問題点に鑑み、高速に照度算出を行う画像
表示装置を提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above problems, an object of the present invention is to provide an image display device that calculates illuminance at high speed.

課題を解決するための手段 上記問題点を解決するために本発明の画像表示装置は、
光源からの直射光線及び物体間の相互反射光線とこれら
の光線を遮断する可能性のある障害物との交差判定を行
ない、上記物体の照度を求める相互反射法に基づく画像
表示装置において、任意の上記光線と上記障害物との交
差判定を他と独立に処理する複数の交差判定器と、上記
交差判定器に次に交差判定すべき上記光線と上記障害物
とを知らせる交差判定負荷分散部とを備えたものである
Means for Solving the Problems In order to solve the above problems, the image display device of the present invention includes:
An image display device based on an interreflection method that determines the illuminance of the object by determining the intersection between direct light from a light source and mutually reflected light between objects and obstacles that may block these light rays. a plurality of intersection determiners that independently process intersection determination between the light beam and the obstacle; and an intersection determination load distributing unit that notifies the intersection determination device of the light ray and the obstacle to be determined for intersection next. It is equipped with the following.

作用 本発明は上記した構成により従来非常に多くの時間が必
要とした照度演算における交差判定を並列に処理するこ
とにより計算時間の大幅な短縮が可能となる。
Effect of the Invention With the above-described configuration, the present invention enables a significant reduction in calculation time by processing in parallel the intersection determination in illuminance calculation, which conventionally required a very large amount of time.

実施例 以下本発明の一実施例の画像表示装置について、図面を
参照しながら説明する。第1図は本発明の実施例におけ
る画像表示装置の構成を示すものである。尚、従来例と
同−qものについては同一番号を用い、詳細な説明は省
略する。第1図において、複数の交差判定器2は光源か
らの直射光線及び物体間の相互反射光線とこれらの光線
を遮断する可能性のある障害物との交差判定を他と独立
に処理する。交差判定負荷分散部1は上記交差判定器2
に次に交差判定すべき上記光線と上記障害物とを知らせ
る。
Embodiment Hereinafter, an image display device according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows the configuration of an image display device in an embodiment of the present invention. Incidentally, the same numbers are used for the -q parts as in the conventional example, and detailed explanations are omitted. In FIG. 1, a plurality of intersection determiners 2 independently process intersection determination between direct rays from a light source, mutually reflected rays between objects, and obstacles that may block these rays. The intersection determination load distribution unit 1 is the intersection determination device 2.
is informed of the above-mentioned ray and the above-mentioned obstacle to be next judged for intersection.

以上のように構成された画像表示装置について、以下第
1図を用いてその動作を説明する。
The operation of the image display device configured as described above will be described below with reference to FIG. 1.

この一実施例では空間にn個の物体と1個の点光源が存
在すると仮定する。
In this example, it is assumed that there are n objects and one point light source in space.

まず第1図の交差判定負荷分散部1において交差判定器
2に次に交差判定すべき光線と障害物を知らせる方法に
ついて説明する。交差判定分散部1は最初に物体データ
メモリ部3及び光源データメモリ部4からそれぞれ物体
データ及び光源データを取り出し複数の交差判定器2に
転送し、複数の交差判定器2からの仕事要求の回数を数
えるカウンタに0を代入する。そのあと複数の交差判定
器2から仕事要求を受けるごとにカウンタの値に1を加
え、カウンタの値を仕事要求を出した交差判定器2に転
送する。
First, a method will be described in which the intersection determination load distribution unit 1 shown in FIG. 1 notifies the intersection determination unit 2 of the next light beam and obstacle to be determined for intersection. The intersection judgment distribution unit 1 first takes out object data and light source data from the object data memory unit 3 and the light source data memory unit 4, respectively, and transfers them to the plurality of intersection judgment devices 2, and calculates the number of work requests from the plurality of intersection judgment devices 2. Assign 0 to the counter that counts . Thereafter, each time a work request is received from a plurality of intersection determiners 2, 1 is added to the value of the counter, and the counter value is transferred to the intersection determiner 2 that issued the work request.

次に第1図の交差判定器2において交差判定を他と独立
に処理する方法について説明する。複数の交差判定器2
は最初に交差判定負荷分散部1から物体データ及び光源
データを入力する。そのちと各交差判定器2が互いに独
立に以下の処理を緑り返し実行する。
Next, a description will be given of a method for independently processing the intersection determination in the intersection determination unit 2 of FIG. 1. Multiple intersection determiners 2
first inputs object data and light source data from the intersection determination load distribution unit 1. Thereafter, each intersection determiner 2 independently executes the following processing.

1)交差判定負荷分散部1に仕事要求を転送し、交差判
定負荷分散部1のカウンタの値を受は取り、次に処理す
る物体を示す物体番号に代入する。
1) Transfer the work request to the intersection judgment load distribution unit 1, take the value of the counter of the intersection judgment load distribution unit 1, and substitute it into the object number indicating the object to be processed next.

2)物体番号がni越えている場合は、処理を終了する
2) If the object number exceeds ni, the process ends.

3)物体番号が指す物体について点光源からの直射光線
と光線を遮断する可能性のある全ての物体との交差判定
を打う。
3) For the object indicated by the object number, perform intersection determination between the direct ray from the point light source and all objects that may block the ray.

4)交差判定の結果にもとすき物体表面の直射照度を照
度データメモリ部に蓄える。
4) As a result of the intersection determination, the direct illuminance of the object surface is stored in the illuminance data memory section.

以上のように本実施例によれば、光源からの直射光線と
直射光線を遮断する可能性のある障害物との交差判定を
他と独立に処理する複数の交差判定器2と、上記交差判
定器2に次に交差判定すべき上記光線と障害物とを知ら
せる交差判定負荷分散部1とを設けることにより、従来
非常に多くの時間が必要とした照度演算における交差判
定を並列に処理することにより計算時間の大幅な短縮が
可能となる。
As described above, according to the present embodiment, there are provided a plurality of intersection detectors 2 that independently process the intersection determination between a direct ray from a light source and an obstacle that may block the direct ray; By providing the device 2 with the intersection judgment load distributing unit 1 that informs the light beam and the obstacle to be judged for intersection next, it is possible to process the intersection judgment in illuminance calculation in parallel, which conventionally required a very large amount of time. This enables a significant reduction in calculation time.

なお、本実施例において光線は光源からの直射光線、照
度は直射照度としたが、物体間の相互反射光線、環境照
度としてもよい。また、本実施例において光源は点光源
としたが、任意の形状・光強度・配光特性をもつ光源と
してもよい。
In this embodiment, the light ray is a direct ray from a light source, and the illuminance is a direct illuminance, but mutually reflected light between objects or environmental illuminance may be used. Further, in this embodiment, the light source is a point light source, but it may be a light source having arbitrary shape, light intensity, and light distribution characteristics.

発明の効果 以上のように本発明は光源からの直射光線及び物体間の
相互反射光線とこれらの光線を遮断する可能性のある障
害物との交差判定を行ない、上記物体の照度を求める相
互反射法に基づく画像表示装置において、任意の上記光
線と上記障害物との交差判定を他と独立に処理する複数
の交差判定器と、上記交差判定器に次に交差判定すべき
上記光線と障害物とを知らせる交差判定負荷分散部とを
設けることにより、従来非常に多くの時間が必要とした
照度演算における交差判是を並列に処理することにより
計算時間の大幅な短縮が可能となる。
Effects of the Invention As described above, the present invention determines the intersection between direct rays from a light source, mutually reflected rays between objects, and obstacles that may block these rays, and performs mutual reflection to determine the illuminance of the object. The image display device based on the method includes a plurality of intersection detectors that independently process intersection determination between the arbitrary light ray and the obstacle, and a plurality of intersection detectors that process the intersection determination between the light ray and the obstacle to be determined next. By providing a cross-judgment load distributing unit that notifies the user of the cross-judgment, the computation time can be significantly reduced by processing the cross-judgment in parallel in the illuminance calculation, which conventionally required a very large amount of time.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例における画像表示装置の構成図
、第2図は従来の画像表示装置の構成図である。 1・・・・・・交差判定負荷分散部、2・・・・・・交
差判定器、3・・・・・・物体データメモリ部、4・・
・・・・光源データメモリ部、6・・・・・・レンダリ
ング部、6・山・・画素輝度データメモリ部、7・・・
・・・画面表示部、8・・・・・・照度演算部。
FIG. 1 is a block diagram of an image display device according to an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional image display device. DESCRIPTION OF SYMBOLS 1... Intersection judgment load distribution unit, 2... Intersection judgment unit, 3... Object data memory unit, 4...
...Light source data memory section, 6...Rendering section, 6. Mountain...Pixel brightness data memory section, 7...
...Screen display section, 8...Illuminance calculation section.

Claims (1)

【特許請求の範囲】[Claims] 光源からの直射光線及び物体間の相互反射光線とこれら
の光線を遮断する可能性のある障害物との交差判定を行
ない、上記物体の照度を求める相互反射法に基づく画像
表示装置において、任意の上記光線と上記障害物との交
差判定を他と独立に処理する複数の交差判定器と、上記
交差判定器に次に交差判定すべき上記光線と上記障害物
とを知らせる交差判定負荷分散部とを備えたことを特徴
とする画像表示装置。
An image display device based on an interreflection method that determines the illuminance of the object by determining the intersection between direct light from a light source and mutually reflected light between objects and obstacles that may block these light rays. a plurality of intersection determiners that independently process intersection determination between the light beam and the obstacle; and an intersection determination load distributing unit that notifies the intersection determination device of the light ray and the obstacle to be determined for intersection next. An image display device comprising:
JP32263988A 1988-12-21 1988-12-21 Picture display device Pending JPH02166576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32263988A JPH02166576A (en) 1988-12-21 1988-12-21 Picture display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32263988A JPH02166576A (en) 1988-12-21 1988-12-21 Picture display device

Publications (1)

Publication Number Publication Date
JPH02166576A true JPH02166576A (en) 1990-06-27

Family

ID=18145953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32263988A Pending JPH02166576A (en) 1988-12-21 1988-12-21 Picture display device

Country Status (1)

Country Link
JP (1) JPH02166576A (en)

Similar Documents

Publication Publication Date Title
JPH06223201A (en) Parallel image generating device
US5933146A (en) Method of and apparatus for constructing an image of a notional scene by a process of ray tracing
JP4480895B2 (en) Image processing device
US6636212B1 (en) Method and apparatus for determining visibility of groups of pixels
US7136081B2 (en) System and method of line sampling object scene information
US9633467B2 (en) Stencil mapped shadowing system
US7116333B1 (en) Data retrieval method and system
US9117306B2 (en) Method of stencil mapped shadowing
JPH02166576A (en) Picture display device
US6333742B1 (en) Spotlight characteristic forming method and image processor using the same
JPH0772915B2 (en) Graphic shading device
JP2667949B2 (en) Pick event processing method and processing apparatus
JP3092131B2 (en) Image generation device
JP2001148028A (en) Device and method for displaying graphic
KR100372901B1 (en) Ray-tracing acceleration method using ZF-buffer
US20240112392A1 (en) Dynamic node traversal order for ray tracing
Gwilliam et al. Atoms with shadows—An area-based algorithm for cast shadows on space-filling molecular models
Raczkowsky et al. Simulation of vision in robot applications
Michelin et al. Form factor calculation: a new expression with implementations on a parallel t. node computer
JPH03135681A (en) Picture generating method
KR20050065251A (en) Interactive 3d spatial light illumination method and system
CN116630519A (en) Shadow effect generation method, device, equipment and storage medium
CN117957576A (en) Image rendering method and related equipment thereof
JPH06150016A (en) Graphic display device
Akimoto et al. Pixel‐selected ray‐tracing