JP3102421B2 - Image processing apparatus and method - Google Patents

Image processing apparatus and method

Info

Publication number
JP3102421B2
JP3102421B2 JP34581098A JP34581098A JP3102421B2 JP 3102421 B2 JP3102421 B2 JP 3102421B2 JP 34581098 A JP34581098 A JP 34581098A JP 34581098 A JP34581098 A JP 34581098A JP 3102421 B2 JP3102421 B2 JP 3102421B2
Authority
JP
Japan
Prior art keywords
cpu
reference value
polygons
geometry engine
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.)
Expired - Fee Related
Application number
JP34581098A
Other languages
Japanese (ja)
Other versions
JP2000172856A (en
Inventor
健太郎 吉澤
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP34581098A priority Critical patent/JP3102421B2/en
Publication of JP2000172856A publication Critical patent/JP2000172856A/en
Application granted granted Critical
Publication of JP3102421B2 publication Critical patent/JP3102421B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像データを処理
する画像処理装置及び方法に関し、特に3次元の画像デ
ータを高速に処理する画像処理装置及び方法に関する。
The present invention relates to an image processing apparatus and method for processing image data, and more particularly to an image processing apparatus and method for processing three-dimensional image data at high speed.

【0002】[0002]

【従来の技術】3次元の画像データを処理する画像処理
装置として、高価な多くのジオメトリエンジン(GP)
を有し、また、ジオメトリエンジンが処理すべき処理を
基本装置のCPUが処理するものが知られている。
2. Description of the Related Art Many expensive geometry engines (GP) are used as image processing apparatuses for processing three-dimensional image data.
In addition, there is a known configuration in which a CPU of a basic device processes a process to be performed by a geometry engine.

【0003】この種の画像処理装置が特開平6−243
242号公報において開示されている。この画像処理装
置は、画像プロセッサの出力を一旦別の画像メモリに記
憶することなしに画像演算部に入力できるものである。
An image processing apparatus of this kind is disclosed in Japanese Patent Laid-Open No. Hei 6-243.
No. 242. This image processing apparatus can input an output of an image processor to an image calculation unit without temporarily storing the output in another image memory.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、画像処
理装置においては、ジオメトリエンジンを増設した場合
には、高速の処理が可能であるがコストが高くなるとい
う問題がある。
However, in the image processing apparatus, when a geometry engine is added, high-speed processing is possible but the cost is high.

【0005】また、画像処理装置においては、ジオメト
リエンジンが処理すべき処理を基本装置のCPUが処理
する場合には、常にCPUへの負荷が高くなり、性能が
劣化してしまうという問題がある。
Further, in the image processing apparatus, when the processing to be processed by the geometry engine is performed by the CPU of the basic apparatus, there is a problem that the load on the CPU is always increased and the performance is deteriorated.

【0006】本発明の目的は、コストを低下させ、か
つ、画像データを高速に処理することができる画像処理
装置及び方法を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an image processing apparatus and method capable of reducing costs and processing image data at high speed.

【0007】[0007]

【課題を解決するための手段】前記課題を解決するため
に、請求項1記載の発明は、画像データを処理するCP
UとこのCPUに接続されこのCPUからの画像データ
を処理するジオメトリエンジンとを有する画像処理装置
において、画像データのポリゴン数が所定の基準値より
多いか否かを判断するポリゴン数判断手段と、このポリ
ゴン数判断手段によりポリゴン数が基準値より少ないと
判断された時にジオメトリエンジンに割り当てられてい
る画像処理の全部をジオメトリエンジンに実行させ、か
つ、ポリゴン数判断手段によりポリゴン数が基準値より
多いと判断された時にジオメトリエンジンに割り当てら
れている画像処理の一部をCPUに実行させる処理実行
制御手段とを有することを特徴とする。
According to a first aspect of the present invention, there is provided a computer-readable storage medium storing a program for processing image data.
An image processing apparatus having a U and a geometry engine connected to the CPU and processing image data from the CPU; a polygon number determining unit configured to determine whether the number of polygons of the image data is greater than a predetermined reference value; When the number of polygons determines that the number of polygons is smaller than the reference value, the whole of the image processing assigned to the geometry engine is executed by the geometry engine, and the number of polygons is larger than the reference value by the number of polygons determining means. Processing execution control means for causing the CPU to execute a part of the image processing assigned to the geometry engine when it is determined that

【0008】請求項2記載の発明は、画像データを処理
するCPUとこのCPUに接続されこのCPUからの画
像データを処理するジオメトリエンジンとを有する画像
処理装置において、画像データのポリゴン数が所定の第
1の基準値およびこの第1の基準値より大きい第2の基
準値より多いか否かを判断するポリゴン数判断手段と、
このポリゴン数判断手段によりポリゴン数が第1の基準
値より少ないと判断された時にジオメトリエンジンに割
り当てられている画像処理の全部をジオメトリエンジン
に実行させ、ポリゴン数判断手段によりポリゴン数が第
1の基準値と第2の基準値の間の値であると判断された
時にジオメトリエンジンに割り当てられている画像処理
の第1の部分をCPUに実行させ、かつ、ポリゴン数判
断手段によりポリゴン数が前記第2の基準値より多いと
判断された時にジオメトリエンジンに割り当てられてい
る画像処理の第1の部分の量より多い量を有する第2の
部分をCPUに実行させる処理実行制御手段とを有する
ことを特徴とする。
According to a second aspect of the present invention, in an image processing apparatus having a CPU for processing image data and a geometry engine connected to the CPU for processing image data from the CPU, the number of polygons of the image data is a predetermined number. Polygon number determining means for determining whether the number is larger than a first reference value and a second reference value larger than the first reference value;
When the number of polygons is determined to be smaller than the first reference value by the polygon number determining means, the whole of the image processing assigned to the geometry engine is executed by the geometry engine. When it is determined that the value is between the reference value and the second reference value, the CPU executes the first part of the image processing assigned to the geometry engine, and the number of polygons is determined by the polygon number determination means. Processing execution control means for causing the CPU to execute a second portion having an amount larger than the first portion of the image processing assigned to the geometry engine when it is determined that the second portion is larger than the second reference value. It is characterized by.

【0009】請求項3記載の発明は、画像データを処理
するCPUとこのCPUに接続されこのCPUからの画
像データを処理するジオメトリエンジンと、CPUとジ
オメトリエンジンとに接続されこれらのCPUとジオメ
トリエンジンからの画像データを処理するレンダリング
エンジンとを有する画像処理装置において、画像データ
のポリゴン数が所定の基準値より多いか否かを判断する
ポリゴン数判断手段と、このポリゴン数判断手段により
ポリゴン数が前記基準値より少ないと判断された時にジ
オメトリエンジンに割り当てられている画像処理の全部
をジオメトリエンジンに実行させ、かつ、ポリゴン数判
断手段によりポリゴン数が前記基準値より多いと判断さ
れた時にジオメトリエンジンに割り当てられている画像
処理の一部をCPUに実行させる処理実行制御手段と、
CPUがジオメトリエンジンに割り当てられている画像
処理の一部を処理した時にこの処理の結果をレンダリン
グエンジンに直接に送る手段とを有することを特徴とす
る。
According to a third aspect of the present invention, there is provided a CPU for processing image data, a geometry engine connected to the CPU for processing image data from the CPU, a CPU and a geometry engine connected to the CPU and the geometry engine. An image processing apparatus having a rendering engine for processing image data from a plurality of polygons, the number of polygons determining whether the number of polygons of the image data is greater than a predetermined reference value, and the number of polygons being determined by the number of polygons determining means. When it is determined that the number of polygons is smaller than the reference value, the entirety of the image processing assigned to the geometry engine is executed by the geometry engine. Some of the image processing assigned to And process execution control means for executing the,
Means for directly transmitting a result of the processing to the rendering engine when the CPU processes a part of the image processing assigned to the geometry engine.

【0010】請求項4記載の発明は、画像データを処理
するCPUとこのCPUに接続されこのCPUからの画
像データを処理するジオメトリエンジンと、CPUとジ
オメトリエンジンとに接続されこれらのCPUとジオメ
トリエンジンからの画像データを処理するレンダリング
エンジンとを有する画像処理装置において、画像データ
のポリゴン数が所定の第1の基準値およびこの第1の基
準値より大きい第2の基準値より多いか否かを判断する
ポリゴン数判断手段と、このポリゴン数判断手段により
ポリゴン数が第1の基準値より少ないと判断された時に
ジオメトリエンジンに割り当てられている画像処理の全
部をジオメトリエンジンに実行させ、ポリゴン数判断手
段によりポリゴン数が第1の基準値と第2の基準値の間
の値であると判断された時にジオメトリエンジンに割り
当てられている画像処理の第1の部分をCPUに実行さ
せ、かつ、ポリゴン数判断手段によりポリゴン数が第2
の基準値より多いと判断された時にジオメトリエンジン
に割り当てられている画像処理の第1の部分の量より多
い量を有する第2の部分をCPUに実行させる処理実行
制御手段と、CPUがジオメトリエンジンに割り当てら
れている画像処理の一部を処理した時にこの処理の結果
をレンダリングエンジンに直接に送る手段とを有するこ
とを特徴とする。
According to a fourth aspect of the present invention, there is provided a CPU for processing image data, a geometry engine connected to the CPU for processing image data from the CPU, a CPU and a geometry engine connected to the CPU and the geometry engine. And a rendering engine for processing the image data from the image processing apparatus. The image processing apparatus determines whether the number of polygons of the image data is greater than a predetermined first reference value and a second reference value larger than the first reference value. Means for determining the number of polygons, and when the number of polygons is determined to be smaller than the first reference value, the geometry engine executes all of the image processing assigned to the geometry engine. Means determines that the number of polygons is between the first reference value and the second reference value The first portion of the image processing that is assigned to the geometry engine is executed by the CPU when, and number of polygons by a polygon number determining means second
Processing execution control means for causing the CPU to execute a second part having an amount larger than the amount of the first part of the image processing assigned to the geometry engine when it is determined that the number of the parts is larger than the reference value of the geometry engine; Means for directly transmitting a result of this processing to the rendering engine when a part of the image processing assigned to the processing is processed.

【0011】請求項5記載の発明は、画像データを処理
するCPUとこのCPUに接続されこのCPUからの画
像データを処理するジオメトリエンジンとを有する画像
処理装置における画像処理方法において、画像データの
ポリゴン数が所定の基準値より多いか否かを判断するポ
リゴン数判断ステップと、このポリゴン数判断ステップ
によりポリゴン数が基準値より少ないと判断された時に
ジオメトリエンジンに割り当てられている画像処理の全
部をジオメトリエンジンに実行させ、かつ、ポリゴン数
判断ステップによりポリゴン数が基準値より多いと判断
された時にジオメトリエンジンに割り当てられている画
像処理の一部をCPUに実行させる処理実行制御ステッ
プとを有することを特徴とする。
According to a fifth aspect of the present invention, there is provided an image processing method for an image processing apparatus having a CPU for processing image data and a geometry engine connected to the CPU for processing image data from the CPU. A polygon number determining step of determining whether the number is greater than a predetermined reference value, and all image processing assigned to the geometry engine when the polygon number is determined to be less than the reference value by the polygon number determining step. A processing execution control step for causing the geometry engine to execute, and for causing the CPU to execute a part of image processing assigned to the geometry engine when the number of polygons is determined to be larger than the reference value in the polygon number determination step. It is characterized by.

【0012】請求項6記載の発明は、画像データを処理
するCPUとこのCPUに接続されこのCPUからの画
像データを処理するジオメトリエンジンとを有する画像
処理装置における画像処理方法において、画像データの
ポリゴン数が所定の第1の基準値およびこの第1の基準
値より大きい第2の基準値より多いか否かを判断するポ
リゴン数判断ステップと、このポリゴン数判断ステップ
によりポリゴン数が第1の基準値より少ないと判断され
た時にジオメトリエンジンに割り当てられている画像処
理の全部をジオメトリエンジンに実行させ、ポリゴン数
判断ステップによりポリゴン数が第1の基準値と第2の
基準値の間の値であると判断された時にジオメトリエン
ジンに割り当てられている画像処理の第1の部分をCP
Uに実行させ、かつ、ポリゴン数判断ステップによりポ
リゴン数が第2の基準値より多いと判断された時にジオ
メトリエンジンに割り当てられている画像処理の第1の
部分の量より多い量を有する第2の部分をCPUに実行
させる処理実行制御ステップとを有することを特徴とす
る。
According to a sixth aspect of the present invention, there is provided an image processing method for an image processing apparatus having a CPU for processing image data and a geometry engine connected to the CPU for processing image data from the CPU. A polygon number judging step for judging whether or not the number is larger than a predetermined first reference value and a second reference value larger than the first reference value; When it is determined that the number of polygons is smaller than the value, the entirety of the image processing assigned to the geometry engine is executed by the geometry engine. The first part of the image processing assigned to the geometry engine when determined to be
U, and having an amount larger than the amount of the first part of the image processing allocated to the geometry engine when the number of polygons is determined to be larger than the second reference value in the polygon number determination step. And a processing execution control step of causing the CPU to execute the above step.

【0013】請求項7記載の発明は、画像データを処理
するCPUとこのCPUに接続されこのCPUからの画
像データを処理するジオメトリエンジンと、CPUとジ
オメトリエンジンとに接続されこれらのCPUとジオメ
トリエンジンからの画像データを処理するレンダリング
エンジンとを有する画像処理装置における画像処理にお
いて、画像データのポリゴン数が所定の基準値より多い
か否かを判断するポリゴン数判断ステップと、このポリ
ゴン数判断ステップによりポリゴン数が基準値より少な
いと判断された時にジオメトリエンジンに割り当てられ
ている画像処理の全部をジオメトリエンジンに実行さ
せ、かつ、ポリゴン数判断ステップによりポリゴン数が
基準値より多いと判断された時にジオメトリエンジンに
割り当てられている画像処理の一部をCPUに実行させ
る処理実行制御ステップと、CPUがジオメトリエンジ
ンに割り当てられている画像処理の一部を処理した時に
この処理の結果をレンダリングエンジンに直接に送るス
テップとを有することを特徴とする。
According to a seventh aspect of the present invention, there is provided a CPU for processing image data, a geometry engine connected to the CPU for processing image data from the CPU, a CPU and a geometry engine connected to the CPU and the geometry engine. In the image processing in the image processing apparatus having the rendering engine for processing the image data from the image data, a polygon number determining step of determining whether the polygon number of the image data is larger than a predetermined reference value, and the polygon number determining step When it is determined that the number of polygons is less than the reference value, the whole of the image processing assigned to the geometry engine is executed by the geometry engine. Assigned to the engine A processing execution control step of causing the CPU to execute a part of the image processing; and a step of directly transmitting a result of the processing to the rendering engine when the CPU processes a part of the image processing assigned to the geometry engine. It is characterized by.

【0014】請求項8記載の発明は、画像データを処理
するCPUとこのCPUに接続されこのCPUからの画
像データを処理するジオメトリエンジンと、CPUとジ
オメトリエンジンとに接続されこれらのCPUとジオメ
トリエンジンからの画像データを処理するレンダリング
エンジンとを有する画像処理装置における画像処理方法
において、画像データのポリゴン数が所定の第1の基準
値およびこの第1の基準値より大きい第2の基準値より
多いか否かを判断するポリゴン数判断ステップと、この
ポリゴン数判断ステップによりポリゴン数が第1の基準
値より少ないと判断された時にジオメトリエンジンに割
り当てられている画像処理の全部をジオメトリエンジン
に実行させ、ポリゴン数判断ステップによりポリゴン数
が第1の基準値と第2の基準値の間の値であると判断さ
れた時にジオメトリエンジンに割り当てられている画像
処理の第1の部分をCPUに実行させ、かつ、ポリゴン
数判断ステップによりポリゴン数が第2の基準値より多
いと判断された時にジオメトリエンジンに割り当てられ
ている画像処理の第1の部分の量より多い量を有する第
2の部分をCPUに実行させる処理実行制御ステップ
と、CPUがジオメトリエンジンに割り当てられている
画像処理の一部を処理した時にこの処理の結果をレンダ
リングエンジンに直接に送るステップとを有することを
特徴とする。
According to the present invention, there is provided a CPU for processing image data, a geometry engine connected to the CPU for processing image data from the CPU, a CPU and a geometry engine connected to the CPU and the geometry engine. And a rendering engine for processing image data from the image processing apparatus, wherein the number of polygons of the image data is larger than a predetermined first reference value and a second reference value larger than the first reference value. Determining whether the number of polygons is smaller than the first reference value, and causing the geometry engine to execute all image processing assigned to the geometry engine when the number of polygons is determined to be smaller than the first reference value. The number of polygons is determined to be the first reference value by the polygon number determination step. When it is determined that the number of polygons is between the two reference values, the first part of the image processing assigned to the geometry engine is executed by the CPU. A process execution control step for causing the CPU to execute a second portion having an amount larger than the amount of the first portion of the image processing assigned to the geometry engine when it is determined that the number is larger than the CPU; Sending a result of the processing directly to a rendering engine when a part of the image processing is performed.

【0015】[0015]

【発明の実施の形態】次に、本発明の実施の形態を図面
に基いて詳細に説明する。図1に示すように、本発明の
1つの実施の形態としての画像処理装置は、基本装置で
あるコンピュータ1と、このコンピュータ1に接続され
て画像データを処理して表示する処理表示装置としての
グラフィックボード装置2とで構成されている。コンピ
ュータ1とグラフィックボード装置2とは、システムバ
ス3で接続されている。コンピュータ1は、CPU4
と、これに接続されているメモリ装置5とを有してい
る。グラフィックボード装置2は、コマンドエンジン6
とジオメトリエンジン(GP)7とレンダリングエンジ
ン(RE)8とフレームバッファおよびZバッファ9と
RAMDAC10とを有している。コマンドエンジン6
は、CPU4とメモリ装置5とに接続されている。ジオ
メトリエンジン7は、コマンドエンジン6に接続されて
いる。レンダリングエンジン8は、コマンドエンジン6
とジオメトリエンジン7とフレームバッファおよびZバ
ッファ9とに接続されている。RAMDAC10は、レ
ンダリングエンジン8とCRT(図示せず)とに接続さ
れている。
Next, embodiments of the present invention will be described in detail with reference to the drawings. As shown in FIG. 1, an image processing apparatus according to one embodiment of the present invention includes a computer 1 as a basic device and a processing display device connected to the computer 1 for processing and displaying image data. And a graphic board device 2. The computer 1 and the graphic board device 2 are connected by a system bus 3. The computer 1 has a CPU 4
And a memory device 5 connected thereto. The graphic board device 2 includes a command engine 6
, A geometry engine (GP) 7, a rendering engine (RE) 8, a frame buffer, a Z buffer 9, and a RAMDAC 10. Command Engine 6
Are connected to the CPU 4 and the memory device 5. The geometry engine 7 is connected to the command engine 6. The rendering engine 8 is a command engine 6
And a geometry engine 7 and a frame buffer and a Z buffer 9. The RAMDAC 10 is connected to the rendering engine 8 and a CRT (not shown).

【0016】コンピュータ1は、画像データを処理する
ものである。CPU4は、一般的なOSまたはAPを動
作させるための中央処理演算装置である。メモリ装置5
は、OSまたはAPを動作させるためのデータを一時的
に記憶する。グラフィックボード装置2は、コンピュー
タ1からの画像データを処理してCRT等の表示装置に
表示を行う。グラフィックボード装置2は、3次元の画
像データを表示することを可能なものである。
The computer 1 processes image data. The CPU 4 is a central processing unit for operating a general OS or AP. Memory device 5
Temporarily stores data for operating the OS or the AP. The graphic board device 2 processes image data from the computer 1 and displays it on a display device such as a CRT. The graphic board device 2 is capable of displaying three-dimensional image data.

【0017】コマンドエンジン6は、CPU4から送信
されてくるデータの転送先を決定する。ここでは、コマ
ンドエンジン6は、CPU4で予め処理されたGPデー
タをレンダリングエンジン8に送信するか、または、処
理される前のデータをジオメトリエンジン7に送信する
かを決定する。
The command engine 6 determines the transfer destination of the data transmitted from the CPU 4. Here, the command engine 6 determines whether to transmit GP data processed in advance by the CPU 4 to the rendering engine 8 or to transmit data before being processed to the geometry engine 7.

【0018】ジオメトリエンジン7は、転送されてきた
データに対し、変形、クリッピング、ライティング等の
計算を行う。ジオメトリエンジン7は、初めに仮想の3
次元空間に対し観測者の視点及び場所を決定し、3次元
空間に存在するすべてのオブジェクトの頂点データを、
観測者の視点によって決定された2次元のスクリーンに
投影する作業を行う(変形)。同時に、ジオメトリエン
ジン7は、視点から見える3次元のオブジェクトと見え
ない3次元のオブジェクトとを決定し、見えないオブジ
ェクトを切り捨てる(クリッピング)。そして最後に、
ジオメトリエンジン7は、オブジェクトに与えられてい
る素材属性や、光源設定などを処理し、最終的には頂点
ごとにSxSySz及びRGB値という少なくとも6つ
のデータを返す(ライティング)。
The geometry engine 7 performs calculations such as deformation, clipping, and lighting on the transferred data. The geometry engine 7 starts with a virtual 3
Determines the observer's viewpoint and location in the three-dimensional space, and vertex data of all objects existing in the three-dimensional space
An operation of projecting onto a two-dimensional screen determined by the observer's viewpoint is performed (deformation). At the same time, the geometry engine 7 determines a three-dimensional object visible from the viewpoint and an invisible three-dimensional object, and cuts off the invisible object (clipping). And finally,
The geometry engine 7 processes a material attribute given to the object, a light source setting, and the like, and finally returns at least six data of SxSySz and RGB values for each vertex (lighting).

【0019】レンダリングエンジン8は、SxSySz
及びRGB値を用いて、各頂点間の色の変化レベルを計
算する。レンダリングエンジン8は、仮に三角形内の頂
点T1が濃い赤であり、頂点T2が赤であり、頂点T3
が薄い赤であるときに、頂点T1とT2、T3とT3、
T3とT1の間の導関数(色の変化レベル)を計算し、
青と緑についてもすべての頂点に対して同様の計算を行
う。また、レンダリングエンジン8は、ここまで生成さ
れたすべてのデータを使用して、オブジェクトに対して
色づけを行う。ここでは、各頂点のSxSySz及びR
GB値と頂点間の色の変化レベルの値を使用して、画面
中の三角形のすべてのピクセルについてRGB値の計算
を行う。
The rendering engine 8 is composed of SxSySz
And the RGB values are used to calculate the level of color change between each vertex. The rendering engine 8 determines that the vertex T1 in the triangle is dark red, the vertex T2 is red, and the vertex T3
Are pale red, the vertices T1 and T2, T3 and T3,
Calculate the derivative (color change level) between T3 and T1,
The same calculation is performed for all vertices for blue and green. Further, the rendering engine 8 colors the object using all the data generated so far. Here, SxSySz and R
The RGB values are calculated for all the pixels of the triangle on the screen using the GB values and the values of the color change levels between the vertices.

【0020】RAMDAC10は、デジタル信号からア
ナログ信号へのコンバートを行って出力装置と同期しな
がら表示装置を制御する。フレームバッファおよびZバ
ッファ9のフレームバッファは、画面の各座標における
情報を記録するたためのバッファである。フレームバッ
ファおよびZバッファ9のZバッファは、通常のフレー
ムバッファと異なり奥行き情報(ピクセルのZ値のこ
と。X−Y−Z座標)を記録するためのバッファであ
る。フレームバッファおよびZバッファ9は、レンダリ
ングエンジン8で計算された結果を基に更新を行う。
The RAMDAC 10 converts a digital signal into an analog signal and controls the display device in synchronization with the output device. The frame buffer and the frame buffer of the Z buffer 9 are buffers for recording information at each coordinate on the screen. Unlike the normal frame buffer, the Z buffer of the frame buffer and the Z buffer 9 is a buffer for recording depth information (Z value of a pixel; XYZ coordinates). The frame buffer and the Z buffer 9 update based on the result calculated by the rendering engine 8.

【0021】次に、本発明の画像処理装置の動作を図面
に基いて説明する。本発明の画像処理装置においては、
コンピュータ1のCPU4の動作はグラフィックボード
装置2のジオメトリエンジン7の動作より高速であるこ
とが望ましい。3次元の画像データの表示を行うグラフ
ィックスの概要は、単純にビットマップ(Bitma
p)等のイメージ(Image)像をCRTに表示する
のとは違い、OpenGL等の描画専用の命令プログラ
ムで画像データが送信されることが一般的である。
Next, the operation of the image processing apparatus of the present invention will be described with reference to the drawings. In the image processing apparatus of the present invention,
It is desirable that the operation of the CPU 4 of the computer 1 be faster than the operation of the geometry engine 7 of the graphic board device 2. An outline of graphics for displaying three-dimensional image data is simply a bitmap (Bitma).
Unlike displaying an image (Image) such as p) on a CRT, image data is generally transmitted by a drawing-only instruction program such as OpenGL.

【0022】命令プログラムをグラフィックボード装置
2で受け取り、内部のコマンドエンジン6で仮想イメー
ジを計算しして結果を表示する手法なため、オブジェク
トの生成に多数のポリゴンを使用された場合には計算自
体に時間がかかることになり、ジオメトリエンジン7の
ネックにより画像データの処理および表示に時間がかか
ることになる。本発明の画像処理装置は、一連のパイプ
ライン処理で比較的負荷が高くなる可能性を持ったジオ
メトリエンジン7の処理をCPU4で一部並列処理させ
ることで画像データの処理および表示を高速化すること
を可能とする。
Since the command program is received by the graphic board device 2, the virtual image is calculated by the internal command engine 6, and the result is displayed. When a large number of polygons are used for generating an object, the calculation itself is performed. It takes time to process and display the image data due to the bottleneck of the geometry engine 7. The image processing apparatus according to the present invention speeds up the processing and display of image data by causing the CPU 4 to partially process the processing of the geometry engine 7 which may have a relatively high load in a series of pipeline processing. To make things possible.

【0023】本発明の画像処理装置では、メモリ装置5
の内にある命令プログラムにより生成されるオブジェク
トに含まれるポリゴン数を予め決められた規則に則り、
グラフィックボード装置2のジオメトリエンジン7のみ
の処理で行うのかCPU4を介入させるのかを決める。
In the image processing apparatus of the present invention, the memory device 5
In accordance with a predetermined rule, the number of polygons included in the object generated by the instruction program in
It is determined whether the processing is performed only by the geometry engine 7 of the graphic board device 2 or the CPU 4 is interposed.

【0024】ポリゴン数が少ない場合、すなわち、ポリ
ゴン数が所定の第1の基準値より少ない場合、ジオメト
リエンジン7に割り当てられている画像処理をCPU4
が代行して処理せず、ジオメトリエンジン7に割り当て
られている画像処理の全部をジオメトリエンジン7が実
行する。連続したオブジェクトの表示が必要な場合に
も、前の命令処理をジオメトリエンジン7が終えるまで
待ち次の命令処理をジオメトリエンジン7に送信するこ
とになる。ポリゴン数が少ない場合の処理フローが図2
(A)に示されている。図2において、GP処理時間は
ジオメトリエンジン7で処理を行うことに要する時間で
あり、RE処理時間はレンダリングエンジン8で処理を
行うことに要する時間であり、CPU処理時間はジオメ
トリエンジン7の処理をCPUで代行して処理すること
に要する時間である。
If the number of polygons is small, that is, if the number of polygons is smaller than a predetermined first reference value, the CPU 4 executes image processing assigned to the geometry engine 7.
Does not perform processing on behalf of, and the geometry engine 7 executes all of the image processing assigned to the geometry engine 7. Even when continuous objects need to be displayed, the next command processing is transmitted to the geometry engine 7 until the geometry engine 7 finishes the previous command processing. FIG. 2 shows the processing flow when the number of polygons is small.
(A) is shown. In FIG. 2, the GP processing time is the time required to perform the processing by the geometry engine 7, the RE processing time is the time required to perform the processing by the rendering engine 8, and the CPU processing time is the processing time of the geometry engine 7. This is the time required for processing on behalf of the CPU.

【0025】ポリゴン数が多い場合、すなわち、ポリゴ
ン数が第1の基準値とこの第1の基準値より多い第2の
基準値との間の値である場合、ジオメトリエンジン7に
割り当てられている画像処理をCPU4が代行して処理
を実行することになる。ポリゴン数が多い場合の処理フ
ローが図2(B)に示されている。また、ポリゴン数に
比例してジオメトリエンジン7の処理へのCPU4の介
入の回数が決められる。この場合に、CPU4を介入し
ないことをベースとし、ポリゴン数に比例してCPU4
の介入の回数が増大する。
When the number of polygons is large, that is, when the number of polygons is a value between the first reference value and the second reference value which is larger than the first reference value, the polygon is assigned to the geometry engine 7. The image processing is executed by the CPU 4 instead. FIG. 2B shows a processing flow when the number of polygons is large. Further, the number of interventions of the CPU 4 in the processing of the geometry engine 7 is determined in proportion to the number of polygons. In this case, based on the fact that the CPU 4 does not intervene, the CPU 4
Increase the number of interventions.

【0026】ポリゴン数が第1の基準値とこの第1の基
準値より多い第2の基準値との間の値である場合、CP
U4の介入を行う処理が選択された場合は、まず、最初
の命令プログラムをグラフィックボード装置2に送信し
た後に、連続した次の命令プログラムをCPU4に送信
する。CPU4で処理をされたデータはコマンドエンジ
ン6によりジオメトリエンジン7に送信されるのではな
く、直接にレンダリングエンジン8に送信される。
When the number of polygons is a value between the first reference value and a second reference value which is larger than the first reference value, the CP
When the process of performing the intervention of U4 is selected, first, the first instruction program is transmitted to the graphic board device 2, and then the next successive instruction program is transmitted to the CPU 4. The data processed by the CPU 4 is not transmitted to the geometry engine 7 by the command engine 6 but is transmitted directly to the rendering engine 8.

【0027】CPU4で処理されたデータがレンダリン
グエンジン8に転送されている間に、次の命令プログラ
ムをジオメトリエンジン7に対し送り、さらにその次の
命令プログラムをCPU4に送信する。前記の動作を繰
り返しを行うことで、ポリゴン数が第1の基準値とこの
第1の基準値より多い第2の基準値との間の値である場
合、ジオメトリエンジン7にかかる負荷を軽減し画像デ
ータの処理および表示を高速化させている。
While the data processed by the CPU 4 is being transferred to the rendering engine 8, the next instruction program is sent to the geometry engine 7, and the next instruction program is sent to the CPU 4. By repeating the above operation, when the number of polygons is between the first reference value and the second reference value larger than the first reference value, the load on the geometry engine 7 is reduced. Processing and display of image data are speeded up.

【0028】ポリゴン数が非常に多い場合、すなわち、
ポリゴン数が第2の基準値より多い場合、ジオメトリエ
ンジン7に対する負荷が高く、処理に時間がかかること
から、先にCPU4に対し介入させる頻度を決定し、最
初のオブジェクトの生成をCPU4で処理させるように
する。何度目の命令がジオメトリエンジン7での処理を
終えることが可能かを予測し、CPU4で連続して処理
を行うことで、ジオメトリエンジン7の処理落ちをカバ
ーすることができる。ポリゴン数が非常に多い場合の処
理フローが図2(C)に示されている。
When the number of polygons is very large, that is,
If the number of polygons is larger than the second reference value, the load on the geometry engine 7 is high and the processing takes time. Therefore, the frequency of intervening in the CPU 4 is determined first, and the generation of the first object is processed by the CPU 4. To do. It is possible to cover the omission of the processing of the geometry engine 7 by predicting whether or not the instruction of the fourth time can finish the processing in the geometry engine 7 and performing the processing continuously by the CPU 4. FIG. 2C shows a processing flow when the number of polygons is very large.

【0029】次に、本発明の画像処理装置の動作の具体
例を図4に基いて説明する。まず、ステップS1におい
てAPからの描画指示が有るか否かを判断し、APから
の描画指示が有る時にステップS2においてAPから渡
されたOpenGL等の転送処理の準備をSWドライバ
で行う。次に、ステップS3においてジオメトリエンジ
ン7にデータを渡す際にデータ量を計算し、ステップS
3においてこのデータ量が多いか否かが判断される。こ
のデータ量の多少は、ポリゴン数が多いか少ないかによ
り判断される。
Next, a specific example of the operation of the image processing apparatus of the present invention will be described with reference to FIG. First, in step S1, it is determined whether or not there is a drawing instruction from the AP. When there is a drawing instruction from the AP, the SW driver prepares for a transfer process of OpenGL or the like passed from the AP in step S2. Next, the data amount is calculated when the data is passed to the geometry engine 7 in step S3,
At 3, it is determined whether or not this data amount is large. The amount of data is determined depending on whether the number of polygons is large or small.

【0030】ステップS4においてデータ量が多い時に
は、ステップS5においてジオメトリエンジン7が処理
中であるか否かが判断される。ステップS4においてデ
ータ量が少ない時およびステップS5においてジオメト
リエンジン7が処理中でない時には、ステップS6にお
いてコマンドエンジン6を介してジオメトリエンジン7
でデータの処理を行う。次に、ステップS7においてレ
ンダリングエンジン8が空いているか否かが判断され
る。ステップS7においてレンダリングエンジン8が空
いている時にはステップS8においてレンダリングエン
ジン8でラスタライズ処理を行う。
If the data amount is large in step S4, it is determined in step S5 whether the geometry engine 7 is processing. When the data amount is small in step S4 and when the geometry engine 7 is not being processed in step S5, the geometry engine 7 is transmitted via the command engine 6 in step S6.
To process data. Next, in step S7, it is determined whether the rendering engine 8 is empty. When the rendering engine 8 is empty in step S7, the rendering engine 8 performs rasterization processing in step S8.

【0031】ステップS5においてジオメトリエンジン
7が処理中である時に、ステップS9においてCPU4
でジオメトリエンジン7の処理の代行を実行する。次
に、ステップS10でレンダリングエンジン8が空いて
いるか否かが判断される。ステップS10でレンダリン
グエンジン8が空いている時には、ステップS8におい
てレンダリングエンジン8でラスタライズ処理を行う。
ステップS8の次にステップS11において表示処理が
行われる。
At step S5, when the geometry engine 7 is processing, the CPU 4
Execute the processing of the geometry engine 7. Next, in step S10, it is determined whether the rendering engine 8 is empty. When the rendering engine 8 is empty in step S10, the rendering engine 8 performs rasterization processing in step S8.
A display process is performed in step S11 after step S8.

【0032】[0032]

【発明の効果】本発明によれば、ジオメトリエンジンの
処理の負荷が多い時に処理の一部をCPUが代行して実
行するから、多くのジオメトリエンジンを必要としない
ので、コストを低下させ、かつ、画像データを高速に処
理することができる。
According to the present invention, when the processing load of the geometry engine is heavy, a part of the processing is executed by the CPU instead, so that many geometry engines are not required, so that the cost is reduced, and Thus, image data can be processed at high speed.

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

【図1】本発明の画像処理装置を示すブロック図であ
る。
FIG. 1 is a block diagram illustrating an image processing apparatus according to the present invention.

【図2】本発明の画像処理装置の動作を説明するための
図である。
FIG. 2 is a diagram for explaining an operation of the image processing apparatus of the present invention.

【図3】本発明の画像処理装置の動作を説明するための
他の図である。
FIG. 3 is another diagram for explaining the operation of the image processing apparatus of the present invention.

【図4】本発明の画像処理装置の動作を説明するための
フローチャートである。
FIG. 4 is a flowchart for explaining the operation of the image processing apparatus of the present invention.

【符号の説明】 1 コンピュータ 2 グラフィックボード装置 3 システムバス 4 CPU 5 メモリ装置 6 コマンドエンジン 7 ジオメトリエンジン 8 レンダリングエンジン 9 フレームバッファおよびZバッファ 10 RAMDAC[Description of Signs] 1 Computer 2 Graphic Board Device 3 System Bus 4 CPU 5 Memory Device 6 Command Engine 7 Geometry Engine 8 Rendering Engine 9 Frame Buffer and Z Buffer 10 RAMDAC

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 11/00 G06T 15/00 G06T 17/00 G06F 17/10 G06F 15/16 JICSTファイル(JOIS)──────────────────────────────────────────────────続 き Continuation of the front page (58) Field surveyed (Int. Cl. 7 , DB name) G06T 11/00 G06T 15/00 G06T 17/00 G06F 17/10 G06F 15/16 JICST file (JOIS)

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像データを処理するCPUと該CPU
に接続され該CPUからの画像データを処理するジオメ
トリエンジンとを有する画像処理装置において、 前記画像データのポリゴン数が所定の基準値より多いか
否かを判断するポリゴン数判断手段と、 前記ポリゴン数判断手段により前記ポリゴン数が前記基
準値より少ないと判断された時に前記ジオメトリエンジ
ンに割り当てられている画像処理の全部を前記ジオメト
リエンジンに実行させ、かつ、前記ポリゴン数判断手段
により前記ポリゴン数が前記基準値より多いと判断され
た時に前記ジオメトリエンジンに割り当てられている画
像処理の一部を前記CPUに実行させる処理実行制御手
段と、 を有することを特徴とする画像処理装置。
1. A CPU for processing image data and the CPU
An image processing apparatus having a geometry engine for processing image data from the CPU, the polygon number determining means for determining whether the number of polygons of the image data is greater than a predetermined reference value; When the number of polygons is determined to be smaller than the reference value by the determining means, the whole of the image processing assigned to the geometry engine is executed by the geometry engine, and the number of polygons is determined by the number of polygons determining means. An image processing apparatus, comprising: processing execution control means for causing the CPU to execute a part of image processing assigned to the geometry engine when it is determined that the number is larger than a reference value.
【請求項2】 画像データを処理するCPUと該CPU
に接続され該CPUからの画像データを処理するジオメ
トリエンジンとを有する画像処理装置において、 前記画像データのポリゴン数が所定の第1の基準値およ
びこの第1の基準値より大きい第2の基準値より多いか
否かを判断するポリゴン数判断手段と、 前記ポリゴン数判断手段により前記ポリゴン数が前記第
1の基準値より少ないと判断された時に前記ジオメトリ
エンジンに割り当てられている画像処理の全部を前記ジ
オメトリエンジンに実行させ、前記ポリゴン数判断手段
により前記ポリゴン数が前記第1の基準値と前記第2の
基準値の間の値であると判断された時に前記ジオメトリ
エンジンに割り当てられている画像処理の第1の部分を
前記CPUに実行させ、かつ、前記ポリゴン数判断手段
により前記ポリゴン数が前記第2の基準値より多いと判
断された時に前記ジオメトリエンジンに割り当てられて
いる画像処理の前記第1の部分の量より多い量を有する
第2の部分を前記CPUに実行させる処理実行制御手段
と、 を有することを特徴とする画像処理装置。
2. A CPU for processing image data and the CPU
And a geometry engine for processing image data from the CPU, wherein the number of polygons of the image data is a predetermined first reference value and a second reference value larger than the first reference value Means for determining whether the number of polygons is greater than the number of polygons, and all image processing assigned to the geometry engine when the number of polygons is determined to be smaller than the first reference value by the number of polygons determining means. An image assigned to the geometry engine when the geometry engine executes the polygon number determination means and determines that the number of polygons is between the first reference value and the second reference value. The first part of the processing is executed by the CPU, and the number of polygons is determined by the polygon number determining means. Processing execution control means for causing the CPU to execute a second part having an amount larger than the amount of the first part of the image processing allocated to the geometry engine when it is determined that the value is larger than the value. An image processing apparatus characterized by the above-mentioned.
【請求項3】 画像データを処理するCPUと該CPU
に接続され該CPUからの画像データを処理するジオメ
トリエンジンと、前記CPUと前記ジオメトリエンジン
とに接続されこれらのCPUと前記ジオメトリエンジン
からの画像データを処理するレンダリングエンジンとを
有する画像処理装置において、 前記画像データのポリゴン数が所定の基準値より多いか
否かを判断するポリゴン数判断手段と、 前記ポリゴン数判断手段により前記ポリゴン数が前記基
準値より少ないと判断された時に前記ジオメトリエンジ
ンに割り当てられている画像処理の全部を前記ジオメト
リエンジンに実行させ、かつ、前記ポリゴン数判断手段
により前記ポリゴン数が前記基準値より多いと判断され
た時に前記ジオメトリエンジンに割り当てられている画
像処理の一部を前記CPUに実行させる処理実行制御手
段と、 前記CPUが前記ジオメトリエンジンに割り当てられて
いる画像処理の一部を処理した時にこの処理の結果を前
記レンダリングエンジンに直接に送る手段と、 を有することを特徴とする画像処理装置。
3. A CPU for processing image data and said CPU
A geometry engine that is connected to the CPU and processes image data from the CPU; and an image processing apparatus that has a rendering engine that is connected to the CPU and the geometry engine and processes image data from the CPU and the geometry engine. Polygon number determining means for determining whether the number of polygons of the image data is greater than a predetermined reference value; and assigning to the geometry engine when the polygon number determining means determines that the polygon number is less than the reference value. A part of the image processing assigned to the geometry engine when the polygon engine determines that the number of polygons is larger than the reference value. Execution control means for causing the CPU to execute When the image processing apparatus characterized by having a means for sending the result of the processing directly to the rendering engine when the CPU processes the part of the image processing that is assigned to the geometry engine.
【請求項4】 画像データを処理するCPUと該CPU
に接続され該CPUからの画像データを処理するジオメ
トリエンジンと、前記CPUと前記ジオメトリエンジン
とに接続されこれらのCPUと前記ジオメトリエンジン
からの画像データを処理するレンダリングエンジンとを
有する画像処理装置において、 前記画像データのポリゴン数が所定の第1の基準値およ
びこの第1の基準値より大きい第2の基準値より多いか
否かを判断するポリゴン数判断手段と、 このポリゴン数判断手段により前記ポリゴン数が前記第
1の基準値より少ないと判断された時に前記ジオメトリ
エンジンに割り当てられている画像処理の全部を前記ジ
オメトリエンジンに実行させ、前記ポリゴン数判断手段
により前記ポリゴン数が前記第1の基準値と前記第2の
基準値の間の値であると判断された時に前記ジオメトリ
エンジンに割り当てられている画像処理の第1の部分を
前記CPUに実行させ、かつ、前記ポリゴン数判断手段
により前記ポリゴン数が前記第2の基準値より多いと判
断された時に前記ジオメトリエンジンに割り当てられて
いる画像処理の前記第1の部分の量より多い量を有する
第2の部分を前記CPUに実行させる処理実行制御手段
と、 前記CPUが前記ジオメトリエンジンに割り当てられて
いる画像処理の一部を処理した時にこの処理の結果を前
記レンダリングエンジンに直接に送る手段と、 を有することを特徴とする画像処理装置。
4. A CPU for processing image data and said CPU
A geometry engine that is connected to the CPU and processes image data from the CPU; and an image processing apparatus that has a rendering engine that is connected to the CPU and the geometry engine and processes image data from the CPU and the geometry engine. Polygon number determining means for determining whether or not the number of polygons of the image data is greater than a predetermined first reference value and a second reference value which is larger than the first reference value; When it is determined that the number is smaller than the first reference value, the whole of the image processing assigned to the geometry engine is executed by the geometry engine. The geometry when determined to be between the value and the second reference value. And causing the CPU to execute a first part of the image processing assigned to the engine, and assigning to the geometry engine when the number of polygons is determined to be larger than the second reference value by the polygon number determining means. Processing execution control means for causing the CPU to execute a second part having an amount larger than the amount of the first part of the image processing, and a part of the image processing in which the CPU is assigned to the geometry engine Means for directly sending the result of this processing to the rendering engine when processing is performed.
【請求項5】 画像データを処理するCPUと該CPU
に接続され該CPUからの画像データを処理するジオメ
トリエンジンとを有する画像処理装置における画像処理
方法において、 前記画像データのポリゴン数が所定の基準値より多いか
否かを判断するポリゴン数判断ステップと、 前記ポリゴン数判断ステップにより前記ポリゴン数が前
記基準値より少ないと判断された時に前記ジオメトリエ
ンジンに割り当てられている画像処理の全部を前記ジオ
メトリエンジンに実行させ、かつ、前記ポリゴン数判断
ステップにより前記ポリゴン数が前記基準値より多いと
判断された時に前記ジオメトリエンジンに割り当てられ
ている画像処理の一部を前記CPUに実行させる処理実
行制御ステップと、 を有することを特徴とする画像処理方法。
5. A CPU for processing image data and said CPU
An image processing method in an image processing apparatus having a geometry engine connected to the CPU and processing image data from the CPU; and a polygon number determining step of determining whether the number of polygons of the image data is greater than a predetermined reference value. When the number of polygons is determined to be smaller than the reference value by the number of polygons determining step, the whole of the image processing assigned to the geometry engine is executed by the geometry engine, and the number of polygons is determined by the number of polygons determining step. A process execution control step of causing the CPU to execute a part of image processing assigned to the geometry engine when it is determined that the number of polygons is larger than the reference value.
【請求項6】 画像データを処理するCPUと該CPU
に接続され該CPUからの画像データを処理するジオメ
トリエンジンとを有する画像処理装置における画像処理
方法において、 前記画像データのポリゴン数が所定の第1の基準値およ
びこの第1の基準値より大きい第2の基準値より多いか
否かを判断するポリゴン数判断ステップと、 このポリゴン数判断ステップにより前記ポリゴン数が前
記第1の基準値より少ないと判断された時に前記ジオメ
トリエンジンに割り当てられている画像処理の全部を前
記ジオメトリエンジンに実行させ、前記ポリゴン数判断
ステップにより前記ポリゴン数が前記第1の基準値と前
記第2の基準値の間の値であると判断された時に前記ジ
オメトリエンジンに割り当てられている画像処理の第1
の部分を前記CPUに実行させ、かつ、前記ポリゴン数
判断ステップにより前記ポリゴン数が前記第2の基準値
より多いと判断された時に前記ジオメトリエンジンに割
り当てられている画像処理の前記第1の部分の量より多
い量を有する第2の部分を前記CPUに実行させる処理
実行制御ステップと、 を有することを特徴とする画像処理方法。
6. A CPU for processing image data and said CPU
And a geometry engine for processing image data from the CPU, wherein the number of polygons in the image data is greater than or equal to a predetermined first reference value and a first reference value greater than the first reference value. A polygon number judging step for judging whether or not the number of polygons is larger than the first reference value; and an image assigned to the geometry engine when the number of polygons is judged to be smaller than the first reference value by the polygon number judging step. All the processes are executed by the geometry engine, and when the number of polygons is determined to be a value between the first reference value and the second reference value by the polygon number determination step, the polygon is assigned to the geometry engine. Of the first image processing
Is executed by the CPU, and when the number of polygons is determined to be larger than the second reference value in the polygon number determination step, the first part of the image processing assigned to the geometry engine is determined. A process execution control step of causing the CPU to execute a second portion having an amount greater than the amount of the image processing.
【請求項7】 画像データを処理するCPUと該CPU
に接続され該CPUからの画像データを処理するジオメ
トリエンジンと、前記CPUと前記ジオメトリエンジン
とに接続されこれらのCPUと前記ジオメトリエンジン
からの画像データを処理するレンダリングエンジンとを
有する画像処理装置における画像処理において、 前記画像データのポリゴン数が所定の基準値より多いか
否かを判断するポリゴン数判断ステップと、 前記ポリゴン数判断ステップにより前記ポリゴン数が前
記基準値より少ないと判断された時に前記ジオメトリエ
ンジンに割り当てられている画像処理の全部を前記ジオ
メトリエンジンに実行させ、かつ、前記ポリゴン数判断
ステップにより前記ポリゴン数が前記基準値より多いと
判断された時に前記ジオメトリエンジンに割り当てられ
ている画像処理の一部を前記CPUに実行させる処理実
行制御ステップと、 前記CPUが前記ジオメトリエンジンに割り当てられて
いる画像処理の一部を処理した時にこの処理の結果を前
記レンダリングエンジンに直接に送るステップと、 を有することを特徴とする画像処理方法。
7. A CPU for processing image data and said CPU
Image processing apparatus having a geometry engine connected to the CPU and processing image data from the CPU; and a rendering engine connected to the CPU and the geometry engine for processing image data from the CPU and the geometry engine. In the processing, a polygon number determining step of determining whether or not the number of polygons of the image data is greater than a predetermined reference value; and when the polygon number determining step determines that the number of polygons is less than the reference value, Causing the geometry engine to execute all of the image processing assigned to the engine, and the image processing assigned to the geometry engine when the number of polygons is determined to be greater than the reference value in the polygon number determination step. Part of the CP And a step of directly transmitting a result of the processing to the rendering engine when the CPU processes a part of the image processing allocated to the geometry engine. Image processing method.
【請求項8】 画像データを処理するCPUと該CPU
に接続され該CPUからの画像データを処理するジオメ
トリエンジンと、前記CPUと前記ジオメトリエンジン
とに接続されこれらのCPUと前記ジオメトリエンジン
からの画像データを処理するレンダリングエンジンとを
有する画像処理装置における画像処理方法において、 前記画像データのポリゴン数が所定の第1の基準値およ
びこの第1の基準値より大きい第2の基準値より多いか
否かを判断するポリゴン数判断ステップと、 前記ポリゴン数判断ステップにより前記ポリゴン数が前
記第1の基準値より少ないと判断された時に前記ジオメ
トリエンジンに割り当てられている画像処理の全部を前
記ジオメトリエンジンに実行させ、前記ポリゴン数判断
ステップにより前記ポリゴン数が前記第1の基準値と前
記第2の基準値の間の値であると判断された時に前記ジ
オメトリエンジンに割り当てられている画像処理の第1
の部分を前記CPUに実行させ、かつ、前記ポリゴン数
判断ステップにより前記ポリゴン数が前記第2の基準値
より多いと判断された時に前記ジオメトリエンジンに割
り当てられている画像処理の前記第1の部分の量より多
い量を有する第2の部分を前記CPUに実行させる処理
実行制御ステップと、 前記CPUが前記ジオメトリエンジンに割り当てられて
いる画像処理の一部を処理した時にこの処理の結果を前
記レンダリングエンジンに直接に送るステップと、 を有することを特徴とする画像処理方法。
8. A CPU for processing image data and said CPU
Image processing apparatus having a geometry engine connected to the CPU and processing image data from the CPU; and a rendering engine connected to the CPU and the geometry engine for processing image data from the CPU and the geometry engine. A processing method for determining whether the number of polygons of the image data is greater than a predetermined first reference value and a second reference value greater than the first reference value; and determining the number of polygons. When it is determined by the step that the number of polygons is smaller than the first reference value, the whole of the image processing assigned to the geometry engine is executed by the geometry engine. A value between the first reference value and the second reference value. First image processing allocated to the geometry engine when it is determined that
Is executed by the CPU, and when the number of polygons is determined to be larger than the second reference value in the polygon number determination step, the first part of the image processing assigned to the geometry engine is determined. A processing execution control step of causing the CPU to execute a second portion having an amount greater than the amount of the image processing; and rendering the result of the processing when the CPU processes a part of image processing assigned to the geometry engine. Direct sending to the engine; and an image processing method.
JP34581098A 1998-12-04 1998-12-04 Image processing apparatus and method Expired - Fee Related JP3102421B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34581098A JP3102421B2 (en) 1998-12-04 1998-12-04 Image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34581098A JP3102421B2 (en) 1998-12-04 1998-12-04 Image processing apparatus and method

Publications (2)

Publication Number Publication Date
JP2000172856A JP2000172856A (en) 2000-06-23
JP3102421B2 true JP3102421B2 (en) 2000-10-23

Family

ID=18379146

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34581098A Expired - Fee Related JP3102421B2 (en) 1998-12-04 1998-12-04 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP3102421B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4826021B2 (en) * 2001-04-04 2011-11-30 ソニー株式会社 Image processing circuit and image processing apparatus
JP4759614B2 (en) * 2006-05-11 2011-08-31 パナソニック株式会社 Processing equipment

Also Published As

Publication number Publication date
JP2000172856A (en) 2000-06-23

Similar Documents

Publication Publication Date Title
US5734806A (en) Method and apparatus for determining graphical object visibility
US5790134A (en) Hardware architecture for image generation and manipulation
US5909219A (en) Embedding a transparency enable bit as part of a resizing bit block transfer operation
US7307628B1 (en) Diamond culling of small primitives
EP0486239A2 (en) Rasterization processor for a computer graphics system
JPH0683970A (en) Device and method for triangle drawing
JPH05307610A (en) Texture mapping method and its device
US6323875B1 (en) Method for rendering display blocks on display device
US5990911A (en) Immediate mode drawing interface for the construction of graphics software
US6940525B2 (en) Method and apparatus for performing a perspective projection in a graphics device of a computer graphics display system
JPH1186029A (en) Image drawing device
CN112346890B (en) Off-screen rendering method and system for complex graphics
JPH1074263A (en) Computer graphic system
JP3102421B2 (en) Image processing apparatus and method
EP0486195A2 (en) Computer graphics system
JPH09231385A (en) Method and device for rastering object
JPH113417A (en) Device and method for generating image including graphics information for display
EP0486148A2 (en) Protection of registers in a data processing system
JPH087715B2 (en) Data processing device and access control method
JPH1069548A (en) Computer graphics system
JP3052839B2 (en) Image processing apparatus and processing method thereof
US5734873A (en) Display controller with accelerated drawing of text strings
JP3038139B2 (en) Graphic processor
US6930686B1 (en) Method and apparatus for drawing thick graphic primitives
JP2600904B2 (en) Image synthesizing method and apparatus

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000725

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

Free format text: PAYMENT UNTIL: 20070825

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080825

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080825

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090825

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090825

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100825

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110825

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees