JP2003123082A - Device and method for image processing and computer program - Google Patents

Device and method for image processing and computer program

Info

Publication number
JP2003123082A
JP2003123082A JP2001314691A JP2001314691A JP2003123082A JP 2003123082 A JP2003123082 A JP 2003123082A JP 2001314691 A JP2001314691 A JP 2001314691A JP 2001314691 A JP2001314691 A JP 2001314691A JP 2003123082 A JP2003123082 A JP 2003123082A
Authority
JP
Japan
Prior art keywords
area data
processing unit
processing
unit area
rectangular area
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
JP2001314691A
Other languages
Japanese (ja)
Other versions
JP4042377B2 (en
Inventor
Tetsugo Inada
徹悟 稲田
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2001314691A priority Critical patent/JP4042377B2/en
Publication of JP2003123082A publication Critical patent/JP2003123082A/en
Application granted granted Critical
Publication of JP4042377B2 publication Critical patent/JP4042377B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processor and method capable of efficient processing in drawing processing of unit graphic. SOLUTION: In a configuration for performing drawing processing of unit graphic, for example, in which polygons, etc., continue, integration processing of area data that are simultaneously processable is conducted to perform drawing. The number of effective pixels within a processable unit area is increased in one processing the number of pieces of area data can be reduced, and the efficiency of drawing processing is accomplished. In continuous drawing processing for polygons, rectangular area data corresponding to each polygon are integrated to generate one piece of rectangular area data and processing is carried out about a unit area existing in an adjacent side of an adjacent polygon, for example, a rectangular area.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、グラフィクス演算
装置等の画像処理装置および画像処理方法、並びにコン
ピュータ・プログラムに関する。詳しくは、単位図形の
連続描画処理を実行する構成において、描画処理の処理
単位領域を複数の単位図形間で統合してまとめて処理を
実行することにより、処理単位領域内に占める有効画素
数を増やし、かつ、単位領域データ数を減らして、画像
を効率的に描画することを可能とした画像処理装置およ
び画像処理方法、並びにコンピュータ・プログラムに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing device such as a graphics operation device, an image processing method, and a computer program. Specifically, in a configuration for performing continuous drawing processing of unit figures, the number of effective pixels occupied in the processing unit area is calculated by integrating the processing unit areas of the drawing processing among a plurality of unit figures and executing the processing collectively. The present invention relates to an image processing apparatus, an image processing method, and a computer program capable of increasing the number of unit area data and efficiently drawing an image.

【0002】[0002]

【従来の技術】昨今のコンピュータシステムにおける演
算速度の向上や描画機能の強化とも相俟って、コンピュ
ータ資源を用いて図形や画像の作成や処理を行う「コン
ピュータ・グラフィクス」(CG)技術が盛んに研究・
開発され、さらに実用化されている。
2. Description of the Related Art In recent years, "computer graphics" (CG) technology has been popular in which computer resources are used to create and process graphics and images, in combination with the improvement of calculation speed and the enhancement of drawing functions in computer systems. Study
It has been developed and put into practical use.

【0003】例えば、3次元グラフィクスは、3次元オ
ブジェクトが所定の光源によって照らされたときの光学
現象を数学モデルで表現して、該モデルに基づいてオブ
ジェクト表面に陰影や濃淡を付けたり、さらには模様を
貼り付けたりして、よりリアルで3次元的な2次元高精
細画像を生成するものである。コンピュータ・グラフィ
クスは、科学、工学、製造などの開発分野でのCAD/
CAM、その他の各種応用分野においてますます盛んに
利用されるようになってきている。
For example, in three-dimensional graphics, an optical phenomenon when a three-dimensional object is illuminated by a predetermined light source is represented by a mathematical model, and the surface of the object is shaded or shaded based on the mathematical model. By attaching a pattern, a more realistic and three-dimensional two-dimensional high-definition image is generated. Computer graphics are used in CAD / CAD in development fields such as science, engineering, and manufacturing.
It is becoming more and more widely used in CAM and other various application fields.

【0004】3次元グラフィクスは、一般には、フロン
トエンドとして位置づけられる「ジオメトリ・サブシス
テム」と、バックエンドとして位置づけられる「ラスタ
・サブシステム」とで構成される。
Three-dimensional graphics are generally composed of a "geometry subsystem" positioned as a front end and a "raster subsystem" positioned as a back end.

【0005】ジオメトリ・サブシステムは、ディスプレ
イ・スクリーン上に表示する3次元オブジェクトの位置
や姿勢などの幾何学的な演算処理を行う過程のことであ
る。ジオメトリ・サブシステムでは、一般に、オブジェ
クトは多数のポリゴンの集合体として扱われ、ポリゴン
単位で、「座標変換」、「クリッピング」、「光源計
算」などの幾何学的な演算処理が行われる。
The geometry subsystem is a process of performing geometrical arithmetic processing such as the position and orientation of a three-dimensional object displayed on a display screen. In the geometry subsystem, an object is generally treated as an aggregate of a large number of polygons, and geometric calculation processing such as “coordinate conversion”, “clipping”, and “light source calculation” is performed for each polygon.

【0006】一方、ラスタ・サブシステムは、オブジェ
クトを構成する各ピクセル(pixel)を塗りつぶす過程
のことである。ラスタライズ処理は、例えば、ポリゴン
の頂点毎に求められた画像パラメータを基にして、ポリ
ゴン内部に含まれるすべてのピクセルの画像パラメータ
を補間することによって実現される。ここで言う画像パ
ラメータには、RGB形式などで表される色(描画色)
データ、奥行き方向の距離を表すZ値などがある。ま
た、最近の高精細な3次元グラフィクス処理では、遠近
感を醸し出すためのf(fog:霧)や、物体表面の素材感
や模様を表現してリアリティを与えるテクスチャt(tex
ture)なども、画像パラメータの1つとして含まれてい
る。
The raster subsystem, on the other hand, is the process of painting each pixel that makes up an object. The rasterization process is realized, for example, by interpolating the image parameters of all the pixels included in the polygon based on the image parameter obtained for each vertex of the polygon. The image parameters mentioned here include colors represented in RGB format (drawing color).
There are data, a Z value representing a distance in the depth direction, and the like. Also, in recent high-definition 3D graphics processing, f (fog) for creating a perspective, and texture t (tex for giving a sense of reality by expressing the texture and pattern of the object surface.
(ture) and the like are also included as one of the image parameters.

【0007】ここで、ポリゴンの頂点情報からポリゴン
内部のピクセル発生処理では、よくDDA(Digital Di
fferential Analyzer)と呼ばれる線形補間手法を用い
て実行される。DDAプロセスでは、頂点情報からポリ
ゴンの辺方向へのデータの傾きを求め、この傾きを用い
て辺上のデータを算出した後、続いてラスタ走査方向
(X方向)の傾きを算出し、この傾きから求めたパラー
メータの変化分を、走査の開始点のパラメータ値加えて
いくことで、内部のピクセルを発生していく。
Here, in the pixel generation processing inside the polygon based on the vertex information of the polygon, DDA (Digital Di
fferential analyzer) is performed by using a linear interpolation method. In the DDA process, the inclination of the data in the side direction of the polygon is obtained from the vertex information, the data on the side is calculated using this inclination, then the inclination in the raster scanning direction (X direction) is calculated, and this inclination is calculated. The internal pixel is generated by adding the change amount of the parameter obtained from the parameter value of the scanning start point.

【0008】このとき、1ピクセル単位で走査を行う代
わりに、領域単位で走査を行うことで、複数のピクセル
を同時に発生する、という方法がある。その一つとし
て、特開平2000−338959号(特願11‐15
2702)公報に記載されているものがある。本公報に
記載の方法は、ピクセルを矩形内の領域単位で発生して
同時に処理を行い、矩形領域単位のピクセルをまとめて
矩形領域データとして後段の処理へ渡すことで、ピクセ
ルの描画速度を向上させたものである。
At this time, there is a method in which a plurality of pixels are simultaneously generated by scanning in a unit of area instead of scanning in a unit of one pixel. As one of them, Japanese Patent Laid-Open No. 2000-338959 (Japanese Patent Application No. 11-15
2702). The method described in this publication improves the drawing speed of pixels by generating pixels for each area within a rectangle and performing the processing at the same time, and collectively passing the pixels in the area of the rectangle as rectangular area data to subsequent processing. It was made.

【0009】[0009]

【発明が解決しようとする課題】しかし、例えば、立体
モデルを単位図形であるポリゴン(三角形)の組み合わ
せとして表現し、このポリゴンの描画処理を、上述の矩
形領域単位でのピクセル処理を適用して実行しようとす
ると、処理の効率が低下する場合がある。
However, for example, a three-dimensional model is expressed as a combination of polygons (triangles) that are unit figures, and the drawing processing of this polygon is performed by applying the above-described pixel processing in units of rectangular areas. Attempts to do so may reduce the efficiency of the process.

【0010】図15を参照して説明する。図15(a)
に示すように、ピクセルの発生処理単位領域として4×
2の矩形領域(例えば矩形領域501)が設定されてい
るとする。このとき、描画処理対象である立体モデルの
単位図形であるポリゴン(三角形)が図に示すように、
ポリゴン502、ポリゴン503の2つを有するとす
る。
Description will be made with reference to FIG. FIG. 15 (a)
As shown in FIG.
It is assumed that two rectangular areas (for example, rectangular area 501) are set. At this time, as shown in the figure, the polygon (triangle) that is the unit figure of the stereo model that is the drawing processing target is
It is assumed that there are two polygons 502 and 503.

【0011】ポリゴン502は、矩形領域501の左側
の4ピクセルを描画領域として含み、また、ポリゴン5
03は、矩形領域501の右側の3ピクセルを描画領域
として含む。このとき、従来の描画装置は、ポリゴン5
02を描画する時と、ポリゴン503を描画する場合と
で、個別に処理することになる。従って、同一矩形、す
なわち矩形領域501内に含まれるピクセルであって
も、ポリゴン502を描画する時と、ポリゴン503を
描画する場合との2回の処理を実行することになる。
The polygon 502 includes four pixels on the left side of the rectangular area 501 as a drawing area, and the polygon 5
03 includes 3 pixels on the right side of the rectangular area 501 as a drawing area. At this time, the conventional drawing apparatus uses the polygon 5
02 is drawn and the polygon 503 is drawn separately. Therefore, even for the same rectangle, that is, for pixels included in the rectangular area 501, the processing is executed twice, when the polygon 502 is drawn and when the polygon 503 is drawn.

【0012】すなわち、図15(b)に示すように、ポ
リゴン502を描画する処理において、ピクセル発生の
処理単位領域である矩形領域501内の4ピクセルにつ
いての処理が実行され、その後、図15(c)に示すよ
うに、ポリゴン503を描画する処理において、矩形領
域501内の3ピクセルについての処理が実行されるこ
とになる。このように、実際は1つの矩形領域データに
まとめることができるにもかかわらず、2つの矩形領域
データが個別に生成されることになり、処理データ量が
増加し、領域単位でのピクセル発生構成による処理効率
の向上を阻害するという点で問題があった。
That is, as shown in FIG. 15B, in the process of drawing the polygon 502, the process for four pixels in the rectangular area 501 which is the processing unit area for pixel generation is executed, and thereafter, as shown in FIG. As shown in c), in the process of drawing the polygon 503, the process for three pixels in the rectangular area 501 is executed. In this way, although two rectangular area data can be actually combined into one rectangular area data, two rectangular area data are generated individually, the amount of processing data is increased, and the pixel generation configuration is performed in each area. There is a problem in that it hinders the improvement of processing efficiency.

【0013】図15に示す例は、ピクセルの発生単位領
域内に2つのポリゴン(三角形)が含まれる場合の例で
あるが、さらに多くのポリゴン(三角形)が含まれる場
合には、処理効率の低下という問題点は一層顕著にな
る。
The example shown in FIG. 15 is an example in which two polygons (triangles) are included in the pixel generation unit area. However, when more polygons (triangles) are included, the processing efficiency is improved. The problem of reduction becomes even more pronounced.

【0014】図16にピクセルの発生単位領域内に5つ
の単位図形としてのポリゴン(三角形)が含まれる場合
の例を示す。図16において、ピクセルの発生単位領域
として4×2の矩形領域(例えば矩形領域601)が設
定されているとする。このとき、描画処理対象である立
体モデルの単位図形であるポリゴンが図に示すように、
ポリゴン611,612,623,614,615の5
つあり、これらがすべて矩形領域601内に描画ピクセ
ルを有するとする。
FIG. 16 shows an example of a case in which five unit graphics polygons (triangles) are included in a pixel generation unit area. In FIG. 16, it is assumed that a 4 × 2 rectangular area (for example, rectangular area 601) is set as a pixel generation unit area. At this time, as shown in the figure, the polygon that is the unit figure of the three-dimensional model that is the drawing processing target,
5 of polygons 611, 612, 623, 614, 615
It is assumed that these all have drawing pixels in the rectangular area 601.

【0015】このような場合、従来の描画装置では、各
ポリゴン(三角形)ごとに処理がなされる。すなわち、
図16(b)に示すように、ポリゴン611を描画する
処理において、矩形領域601内の1ピクセルについて
の処理が実行され、その後、図16(c)に示すよう
に、ポリゴン612を描画する処理において、矩形領域
601内の2ピクセルについての処理が実行され、さら
に、図16(d)に示すポリゴン613の描画処理にお
いて、矩形領域601内の1ピクセル、図16(e)に
示すポリゴン614の描画処理において、矩形領域60
1内の1ピクセル、図16(f)に示すポリゴン615
の描画処理において、矩形領域601内の3ピクセルに
ついての処理が順次実行されることになる。
In such a case, the conventional drawing apparatus processes each polygon (triangle). That is,
As shown in FIG. 16B, in the process of drawing the polygon 611, the process for one pixel in the rectangular area 601 is executed, and then the process of drawing the polygon 612 as shown in FIG. 16C. In FIG. 16D, the processing is performed for two pixels in the rectangular area 601, and in the drawing processing of the polygon 613 shown in FIG. 16D, one pixel in the rectangular area 601 and the polygon 614 shown in FIG. In the drawing process, the rectangular area 60
1 pixel in 1 and the polygon 615 shown in FIG.
In the drawing processing of, the processing for the three pixels in the rectangular area 601 is sequentially executed.

【0016】このように、実際は1つの矩形領域データ
にまとめることができるにもかかわらず、5つの矩形領
域データが個別に生成されることになり、処理データ量
が増加し、領域単位でのピクセル発生構成による処理効
率の向上を大きく阻害させてしまうという問題があっ
た。
As described above, although the rectangular area data can actually be put together into one rectangular area data, the five rectangular area data are individually generated, the amount of processed data increases, and the pixel in area unit is increased. There is a problem that the improvement of the processing efficiency due to the generation configuration is significantly hindered.

【0017】本発明はこのような状況に鑑みてなされた
ものであり、単位図形の連続描画処理を実行する構成に
おいて、描画処理の処理単位領域を複数の単位図形間で
統合してまとめて処理を実行することにより、処理単位
領域内に占める有効画素数を増やし、かつ、単位領域デ
ータ数を減らして、画像を効率的に描画することを可能
とした画像処理装置および画像処理方法、並びにコンピ
ュータ・プログラム提供することを目的とする。
The present invention has been made in view of such a situation, and in a configuration for executing continuous drawing processing of unit figures, the processing unit areas of the drawing processing are integrated and collectively processed in a plurality of unit figures. By increasing the number of effective pixels in the processing unit area and reducing the number of unit area data, it is possible to efficiently draw an image, an image processing method, and a computer. -The purpose is to provide a program.

【0018】[0018]

【課題を解決するための手段】本発明の第1の側面は、
描画処理対象モデルを単位図形に分割して、スクリーン
座標系の描画対象領域内にピクセルを発生させて描画処
理を行なう画像処理装置において、前記単位図形に含ま
れる処理単位領域毎のピクセル属性値を処理単位領域デ
ータとして算出する処理単位領域データ生成手段と、前
記処理単位領域データ生成手段において生成された複数
の処理単位領域データが同一の位置情報を有する場合
に、該複数の処理単位領域データの統合処理を実行する
処理単位領域データ統合手段と、を有することを特徴と
する画像処理装置にある。
The first aspect of the present invention is as follows.
In an image processing apparatus that divides a drawing processing target model into unit figures and generates pixels in the drawing target area of the screen coordinate system to perform drawing processing, the pixel attribute value for each processing unit area included in the unit figure is calculated. In the case where the processing unit area data generation means for calculating the processing unit area data and the plurality of processing unit area data generated in the processing unit area data generation means have the same position information, the processing unit area data And a processing unit area data integration unit that executes integration processing.

【0019】さらに、本発明の画像処理装置の一実施態
様において、前記画像処理装置は、さらに、異なる単位
図形間の隣接関係に基づいて、前記処理単位領域データ
生成手段における処理手順を決定する描画順決定手段を
有し、前記処理単位領域データ生成手段は、並列処理可
能な複数の処理単位領域データ生成手段によって構成さ
れ、前記描画順決定手段は、2つの単位図形間の隣接辺
を含む処理単位領域、および、2つの単位図形間の隣接
辺を含まない非隣接部の処理単位領域についての処理単
位領域データの生成処理のいずれか一方の処理を、前記
複数の処理単位領域データ生成手段において並列に実行
するように描画順の決定処理を実行する構成としたこと
を特徴とする。
Furthermore, in an embodiment of the image processing apparatus of the present invention, the image processing apparatus further determines a processing procedure in the processing unit area data generating means based on the adjacency relationship between different unit figures. The processing unit area data generating means includes a plurality of processing unit area data generating means capable of parallel processing, and the drawing order determining means includes processing including an adjacent side between two unit figures. In the plurality of processing unit area data generating means, either one of the unit area and the processing unit area data generation processing for the processing unit area of the non-adjacent portion not including the adjacent side between the two unit figures is performed. It is characterized in that the drawing order determination processing is executed so as to be executed in parallel.

【0020】さらに、本発明の画像処理装置の一実施態
様において、前記画像処理装置は、さらに、異なる単位
図形間の隣接関係に基づいて、前記処理単位領域データ
生成手段における処理手順を決定する描画順決定手段を
有し、該描画順決定手段は、1つの単位図形の描画処理
手順を、先行処理単位図形との隣接部、非隣接部、後続
処理単位図形との隣接部の順番として設定する処理を実
行する構成であることを特徴とする。
Further, in an embodiment of the image processing apparatus of the present invention, the image processing apparatus further draws a processing procedure in the processing unit area data generating means based on the adjacency relationship between different unit figures. The drawing order determining means sets the drawing processing procedure of one unit figure as the order of the adjoining portion with the preceding processing unit figure, the non-adjacent portion, and the adjoining portion with the subsequent processing unit figure. It is characterized in that it is configured to execute processing.

【0021】さらに、本発明の画像処理装置の一実施態
様において、前記画像処理装置は、さらに、異なる単位
図形間の隣接関係に基づいて、前記処理単位領域データ
生成手段における処理手順を決定する描画順決定手段を
有し、該描画順決定手段は、単位図形の境界としての辺
を含む領域の描画順を、時計回り、又は反時計回りいず
れかのループ状に設定する構成であることを特徴とす
る。
Furthermore, in one embodiment of the image processing apparatus of the present invention, the image processing apparatus further determines a processing procedure in the processing unit area data generating means based on the adjacency relationship between different unit figures. The drawing order deciding means has a configuration for setting the drawing order of the region including the side as the boundary of the unit graphic in either a clockwise or counterclockwise loop shape. And

【0022】さらに、本発明の画像処理装置の一実施態
様において、前記処理単位領域データ統合手段は、前記
処理単位領域データ生成手段において生成された処理単
位領域データの持つ位置情報が同じで、かつ処理単位領
域内の有効ピクセル位置が重複しないことを条件として
複数の処理単位領域データを1つの処理単位領域データ
に統合する処理を実行する構成であることを特徴とす
る。
Further, in one embodiment of the image processing apparatus of the present invention, the processing unit area data integrating means has the same position information in the processing unit area data generated by the processing unit area data generating means, and It is characterized in that the processing unit area data is integrated into one processing unit area data under the condition that the effective pixel positions in the processing unit area do not overlap.

【0023】さらに、本発明の画像処理装置の一実施態
様において、前記画像処理装置は、前記処理単位領域デ
ータ生成手段において生成された処理単位領域データを
記憶する単位領域データ記憶手段を有し、前記処理単位
領域データ統合手段は、前記単位領域データ記憶手段に
記憶された複数の処理単位領域データの位置情報に基づ
いて統合可能性を判定する構成を有することを特徴とす
る。
Further, in an embodiment of the image processing apparatus of the present invention, the image processing apparatus has unit area data storage means for storing the processing unit area data generated by the processing unit area data generation means, The processing unit area data integration unit is configured to determine integration possibility based on position information of a plurality of processing unit area data stored in the unit area data storage unit.

【0024】さらに、本発明の画像処理装置の一実施態
様において、描画処理対象モデルは3次元モデルであ
り、前記単位図形はポリゴンであることを特徴とする。
Further, in one embodiment of the image processing apparatus of the present invention, the drawing processing target model is a three-dimensional model, and the unit graphic is a polygon.

【0025】さらに、本発明の第2の側面は、描画処理
対象モデルを単位図形に分割して、スクリーン座標系の
描画対象領域内にピクセルを発生させて描画処理を行な
う画像処理方法において、前記単位図形に含まれる処理
単位領域毎のピクセル属性値を処理単位領域データとし
て算出する処理単位領域データ生成ステップと、前記処
理単位領域データ生成ステップにおいて生成された複数
の処理単位領域データが同一の位置情報を有する場合
に、該複数の処理単位領域データの統合処理を実行する
処理単位領域データ統合ステップと、を有することを特
徴とする画像処理方法にある。
Further, a second aspect of the present invention is the image processing method, wherein the drawing processing target model is divided into unit figures and pixels are generated in the drawing target area of the screen coordinate system to perform the drawing processing. The processing unit area data generating step of calculating the pixel attribute value for each processing unit area included in the unit graphic as the processing unit area data and the plurality of processing unit area data generated in the processing unit area data generating step are at the same position. And a processing unit area data integration step of performing integration processing of the plurality of processing unit area data when the information processing apparatus has the information.

【0026】さらに、本発明の画像処理方法の一実施態
様において、前記画像処理方法は、さらに、異なる単位
図形間の隣接関係に基づいて、前記処理単位領域データ
生成手段における処理手順を決定する描画順決定ステッ
プを有し、前記処理単位領域データ生成ステップは、並
列処理可能な複数の処理単位領域データ生成手段によっ
て実行され、前記描画順決定ステップは、2つの単位図
形間の隣接辺を含む処理単位領域、および、2つの単位
図形間の隣接辺を含まない非隣接部の処理単位領域につ
いての処理単位領域データの生成処理のいずれか一方の
処理を、前記複数の処理単位領域データ生成手段におい
て並列に実行するように描画順の決定処理を実行するこ
とを特徴とする。
Further, in an embodiment of the image processing method of the present invention, the image processing method further comprises drawing for determining a processing procedure in the processing unit area data generating means based on an adjacency relationship between different unit figures. And a step of determining the processing unit area data, wherein the processing unit area data generation step is executed by a plurality of processing unit area data generation means capable of parallel processing, and the drawing order determination step includes processing including an adjacent side between two unit figures. In the plurality of processing unit area data generating means, either one of the unit area and the processing unit area data generation processing for the processing unit area of the non-adjacent portion not including the adjacent side between the two unit figures is performed. It is characterized in that the drawing order determination processing is executed so as to be executed in parallel.

【0027】さらに、本発明の画像処理方法の一実施態
様において、前記画像処理方法は、さらに、異なる単位
図形間の隣接関係に基づいて、前記処理単位領域データ
生成ステップにおける処理手順を決定する描画順決定ス
テップを有し、該描画順決定ステップは、1つの単位図
形の描画処理手順を、先行処理単位図形との隣接部、非
隣接部、後続処理単位図形との隣接部の順番として設定
する処理を実行することを特徴とする。
Further, in an embodiment of the image processing method of the present invention, the image processing method further comprises drawing for determining a processing procedure in the processing unit area data generating step based on an adjacency relationship between different unit figures. There is an order determining step, and the drawing order determining step sets a drawing processing procedure of one unit figure as an order of an adjacent portion with a preceding processing unit figure, a non-adjacent portion, and an adjacent portion with a subsequent processing unit figure. It is characterized by executing processing.

【0028】さらに、本発明の画像処理方法の一実施態
様において、前記画像処理方法は、さらに、異なる単位
図形間の隣接関係に基づいて、前記処理単位領域データ
生成ステップにおける処理手順を決定する描画順決定ス
テップを有し、該描画順決定ステップは、単位図形の境
界としての辺を含む領域の描画順を、時計回り、又は反
時計回りいずれかのループ状に設定することを特徴とす
る。
Further, in an embodiment of the image processing method of the present invention, the image processing method further comprises drawing for determining a processing procedure in the processing unit area data generating step based on an adjacency relationship between different unit figures. The method further comprises an order determining step, and the drawing order determining step sets the drawing order of the region including the side as the boundary of the unit graphic in either a clockwise or a counterclockwise loop.

【0029】さらに、本発明の画像処理方法の一実施態
様において、前記処理単位領域データ統合ステップは、
前記処理単位領域データ生成ステップにおいて生成され
た処理単位領域データの持つ位置情報が同じで、かつ処
理単位領域内の有効ピクセル位置が重複しないことを条
件として複数の処理単位領域データを1つの処理単位領
域データに統合する処理を実行することを特徴とする。
Further, in an embodiment of the image processing method of the present invention, the processing unit area data integration step comprises:
A plurality of processing unit area data are processed into one processing unit provided that the processing unit area data generated in the processing unit area data generation step have the same position information and the effective pixel positions in the processing unit area do not overlap. It is characterized in that a process of integrating with the region data is executed.

【0030】さらに、本発明の画像処理方法の一実施態
様において、前記画像処理方法は、前記処理単位領域デ
ータ生成ステップにおいて生成された処理単位領域デー
タを記憶手段に記憶する単位領域データ記憶ステップを
有し、前記処理単位領域データ統合ステップは、前記単
位領域データ記憶ステップにおいて記憶された複数の処
理単位領域データの位置情報に基づいて統合可能性を判
定することを特徴とする。
Further, in an embodiment of the image processing method of the present invention, the image processing method further comprises a unit area data storing step of storing the processing unit area data generated in the processing unit area data generating step in a storage means. In the processing unit area data integrating step, the integration possibility is determined based on the position information of the plurality of processing unit area data stored in the unit area data storing step.

【0031】さらに、本発明の画像処理方法の一実施態
様において、描画処理対象モデルは3次元モデルであ
り、前記単位図形はポリゴンであることを特徴とする。
Furthermore, in one embodiment of the image processing method of the present invention, the drawing processing target model is a three-dimensional model, and the unit graphic is a polygon.

【0032】さらに、本発明の第3の側面は、描画処理
対象モデルを単位図形に分割して、スクリーン座標系の
描画対象領域内にピクセルを発生させて描画処理を行な
う画像処理をコンピュータ・システム上で実行せしめる
コンピュータ・プログラムであって、前記単位図形に含
まれる処理単位領域毎のピクセル属性値を処理単位領域
データとして算出する処理単位領域データ生成ステップ
と、前記処理単位領域データ生成ステップにおいて生成
された複数の処理単位領域データが同一の位置情報を有
する場合に、該複数の処理単位領域データの統合処理を
実行する処理単位領域データ統合ステップと、を具備す
ることを特徴とするコンピュータ・プログラムにある。
Further, a third aspect of the present invention is a computer system for performing image processing in which a drawing processing target model is divided into unit figures and pixels are generated in a drawing target area of a screen coordinate system to perform drawing processing. A computer program to be executed on the above, wherein the processing unit area data generation step of calculating a pixel attribute value for each processing unit area included in the unit graphic as processing unit area data, and the processing unit area data generation step A plurality of processing unit area data having the same position information, a processing unit area data integration step for executing an integration processing of the plurality of processing unit area data, and a computer program. It is in.

【0033】なお、本発明のコンピュータ・プログラム
は、例えば、様々なプログラム・コードを実行可能な汎
用コンピュータ・システムに対して、コンピュータ可読
な形式で提供する記憶媒体、通信媒体、例えば、CDや
FD、MOなどの記憶媒体、あるいは、ネットワークな
どの通信媒体によって提供可能なコンピュータ・プログ
ラムである。このようなプログラムをコンピュータ可読
な形式で提供することにより、コンピュータ・システム
上でプログラムに応じた処理が実現される。
The computer program of the present invention is, for example, a storage medium or communication medium provided in a computer-readable format for a general-purpose computer system capable of executing various program codes, such as a CD or FD. , MO, etc., or a computer program that can be provided by a communication medium such as a network. By providing such a program in a computer-readable format, processing according to the program is realized on the computer system.

【0034】本発明のさらに他の目的、特徴や利点は、
後述する本発明の実施例や添付する図面に基づくより詳
細な説明によって明らかになるであろう。なお、本明細
書においてシステムとは、複数の装置の論理的集合構成
であり、各構成の装置が同一筐体内にあるものには限ら
ない。
Further objects, features and advantages of the present invention are as follows.
It will be clarified by a more detailed description based on embodiments of the present invention described below and the accompanying drawings. In this specification, the system is a logical set configuration of a plurality of devices, and is not limited to a device in which each configuration is provided in the same housing.

【0035】[0035]

【発明の実施の形態】以下、本発明の画像処理装置につ
いて、図面を参照しながら詳細に説明する。なお、本実
施形態においては、画像処理装置の具体例として、家庭
用ゲーム機などに適用される、任意の3次元物体モデル
に対する所望の3次元画像をCRTなどのディスプレイ
上に高速に表示する3次元コンピュータグラフィクスシ
ステムについて説明する。描画処理対象モデルとしての
3次元物体モデルを単位図形としてのポリゴンに分割し
て、スクリーン座標系の描画対象領域内にピクセルを発
生させて描画処理を行なう構成を持つ画像処理装置であ
る。なお、本実施形態においては、単位図形を三角形の
ポリゴンとした例について説明するが、単位図形は三角
形に限らず、例えば曲面を持つ構成等、任意の単位図形
の採用が可能である。
BEST MODE FOR CARRYING OUT THE INVENTION An image processing apparatus of the present invention will be described in detail below with reference to the drawings. In the present embodiment, as a specific example of the image processing apparatus, a desired three-dimensional image for an arbitrary three-dimensional object model, which is applied to a home game machine or the like, is displayed at high speed on a display such as a CRT. A three-dimensional computer graphics system will be described. The image processing apparatus has a configuration in which a three-dimensional object model as a drawing processing target model is divided into polygons as unit figures, and pixels are generated in a drawing target area of a screen coordinate system to perform drawing processing. In the present embodiment, an example is described in which the unit figure is a triangular polygon, but the unit figure is not limited to a triangle, and any unit figure having a curved surface or the like can be adopted.

【0036】図1は、本実施形態の3次元コンピュータ
グラフィクスシステム1の構成図である。3次元コンピ
ュータグラフィクスシステム1は、立体モデルを単位図
形であるポリゴン(三角形)の組み合わせとして表現
し、このポリゴンを描画することで表示画面の各画素の
色を決定し、ディスプレイに表示するポリゴンレンダリ
ング処理を行うシステムである。また、3次元コンピュ
ータグラフィクスシステム1では、平面上の位置を表現
する(x、y)座標の他に、奥行きを表すz座標を用い
て3次元物体を表し、この(x、y、z)の3つの座標
で3次元空間の任意の一点を特定する。
FIG. 1 is a block diagram of a three-dimensional computer graphics system 1 of this embodiment. The three-dimensional computer graphics system 1 represents a three-dimensional model as a combination of polygons (triangles) that are unit figures, determines the color of each pixel on the display screen by drawing this polygon, and renders the polygon on a display. It is a system that does. Further, in the three-dimensional computer graphics system 1, in addition to the (x, y) coordinates that represent the position on the plane, the z coordinate that represents the depth is used to represent the three-dimensional object, and this (x, y, z) An arbitrary point in the three-dimensional space is specified by the three coordinates.

【0037】図1に示すように、3次元コンピュータグ
ラフィクスシステム1は、メインメモリ2、I/Oイン
タフェース回路3、メインプロセッサ4、レンダリング
回路5が、メインバス6を介して接続されている。
As shown in FIG. 1, in the three-dimensional computer graphics system 1, a main memory 2, an I / O interface circuit 3, a main processor 4, and a rendering circuit 5 are connected via a main bus 6.

【0038】以下、各構成要素の機能について説明す
る。メインプロセッサ4は、例えば、I/Oインタフェ
ース回路3を介するユーザ入力に基づく処理、あるいは
プログラム処理状況、例えばゲームの進行状況などに応
じて、メインメモリ2から必要なグラフィクスデータを
読み出し、このグラフィックデータに対してクリッピン
グ(Clipping)処理、ライティング(Lighting)処理、
およびジオメトリ(Geometry)処理などを行い、ポリゴ
ンレンダリングデータを生成する。
The function of each component will be described below. The main processor 4 reads out necessary graphics data from the main memory 2 in accordance with, for example, a process based on a user input via the I / O interface circuit 3, or a program processing situation, for example, a game progress situation, and the like. For Clipping processing, Lighting processing,
And polygon (Geometry) processing is performed to generate polygon rendering data.

【0039】メインプロセッサ4は、ポリゴンレンダリ
ングデータをメインバス6を介してレンダリング回路5
へ出力する。I/Oインタフェース回路3は、必要に応
じて、外部からポリゴンレンダリングデータを入力し、
これをメインバス6を介してレンダリング回路5へ出力
する。ここで、ポリゴンレンダリングデータは、ポリゴ
ンの各3頂点のx、y、z座標、色情報、フォグ(fog:
霧)値、テクスチャ(texture)座標等を持つ。
The main processor 4 sends the polygon rendering data to the rendering circuit 5 via the main bus 6.
Output to. The I / O interface circuit 3 inputs polygon rendering data from the outside as necessary,
This is output to the rendering circuit 5 via the main bus 6. Here, the polygon rendering data includes x, y, and z coordinates of each of the three vertices of the polygon, color information, and fog (fog:
It has fog values, texture coordinates, etc.

【0040】以下、レンダリング回路5について詳細に
説明する。図1に示すように、レンダリング回路5は、
DDAセットアップ回路11、トライアングルDDA回
路12、テクスチャエンジン回路13、メモリインタフ
ェース回路14、グラフィクスメモリ15、表示コント
ローラ回路16を有する。
The rendering circuit 5 will be described in detail below. As shown in FIG. 1, the rendering circuit 5 is
It has a DDA setup circuit 11, a triangle DDA circuit 12, a texture engine circuit 13, a memory interface circuit 14, a graphics memory 15, and a display controller circuit 16.

【0041】DDAセットアップ回路11は、メインバ
ス6とトライアングルDDA回路12とに接続され、後
段のトライアングルDDA回路12において、ポリゴン
の3頂点の座標値、色、フォグ値、テクスチャ座標か
ら、ピクセル毎に座標値、色、フォグ値、テクスチャ座
標を求めるための前段の処理として、各値について、水
平方向、垂直方向の変化分を求める。具体的には、開始
点の値、終点の値、開始点と終点との距離の3つから、
単位長さ分の変分(DDAセットアップデータ)を算出
する。算出した値をトライアングルDDA回路12へ出
力する。
The DDA setup circuit 11 is connected to the main bus 6 and the triangle DDA circuit 12, and in the subsequent triangle DDA circuit 12, from the coordinate value of the three vertices of the polygon, the color, the fog value, and the texture coordinate, for each pixel. As a previous process for obtaining the coordinate value, the color, the fog value, and the texture coordinate, the change amount in the horizontal direction and the vertical direction is obtained for each value. Specifically, from the value of the start point, the value of the end point, and the distance between the start point and the end point,
The variation (DDA setup data) for the unit length is calculated. The calculated value is output to the triangle DDA circuit 12.

【0042】トライアングルDDA回路12は、DDA
セットアップ回路11とテクスチャエンジン回路13と
に接続され、ポリゴン描画順データにもとづく順番で、
DDAセットアップ回路11から入力される値(DDA
セットアップデータ)に基づいて、処理単位領域として
の矩形領域内の複数のピクセルについて、座標値、色、
フォグ値、テクスチャ座標をまとめて求める処理を行な
う。本実施形態では、まとめて処理を行なう複数ピクセ
ルを持つ領域、すなわち処理単位領域を2×4の8ピク
セルの矩形領域とする。この複数ピクセルをあつめたデ
ータを矩形領域データと呼ぶ。矩形領域データは、当該
矩形領域データが描画される座標の位置情報を持つ。
The triangle DDA circuit 12 is a DDA
It is connected to the setup circuit 11 and the texture engine circuit 13, and in the order based on the polygon drawing order data,
The value input from the DDA setup circuit 11 (DDA
Based on the setup data), the coordinate values, colors, and
A process of collectively obtaining fog values and texture coordinates is performed. In this embodiment, an area having a plurality of pixels to be collectively processed, that is, a processing unit area is a 2 × 4 rectangular area of 8 pixels. The data obtained by collecting the plurality of pixels is called rectangular area data. The rectangular area data has position information of coordinates at which the rectangular area data is drawn.

【0043】矩形領域データは、ポリゴンの境界付近を
描画する場合には、矩形領域の中で有効なピクセルが8
つとは限らない。すなわちポリゴン(三角形)の辺にま
たがる部分にある処理単位領域としての2×4の8ピク
セルの矩形領域中、ポリゴン(三角形)の内側にあるピ
クセルのみが有効ピクセルとなる。
When drawing the vicinity of the boundary of a polygon, the rectangular area data has 8 effective pixels in the rectangular area.
Not necessarily one. That is, only the pixels inside the polygon (triangle) are the effective pixels in the 2 × 4 8-pixel rectangular region as the processing unit region in the portion extending over the sides of the polygon (triangle).

【0044】トライアングルDDA回路12は、矩形領
域データが持つ位置情報をもとに、矩形領域データを統
合できる場合にはデータの統合処理を行う。統合は、異
なるポリゴン(三角形)に含まれる矩形領域データが、
同じ位置情報を持ち、かつ、有効ピクセルが重複しない
場合に行う。2つの矩形領域データが統合される場合を
図2に、5つの矩形領域データが統合される場合を図3
に示す。
The triangle DDA circuit 12 performs a data integration process based on the position information of the rectangular area data when the rectangular area data can be integrated. As for integration, rectangular area data included in different polygons (triangles)
It is carried out when the pixels have the same position information and the effective pixels do not overlap. FIG. 2 shows the case where two rectangular area data are integrated, and FIG. 3 shows the case where five rectangular area data are integrated.
Shown in.

【0045】図2は、ポリゴン(三角形)111の描画
領域に処理単位領域としての矩形領域121を含み、ま
た、他のポリゴン(三角形)112の描画領域に処理単
位領域としての矩形領域122が含まれる場合のトライ
アングルDDA回路12の処理例を示すものであり、ト
ライアングルDDA回路12は、矩形領域121に対応
する位置情報と、矩形領域122に対応する位置情報と
が同じ位置情報である場合に、これらの2つの矩形領域
データを統合して矩形領域120の矩形領域データを生
成する。
In FIG. 2, a drawing area of a polygon (triangle) 111 includes a rectangular area 121 as a processing unit area, and drawing areas of other polygons (triangles) 112 include a rectangular area 122 as a processing unit area. 3 shows an example of processing of the triangle DDA circuit 12 in the case where the position information corresponding to the rectangular area 121 and the position information corresponding to the rectangular area 122 are the same position information. These two rectangular area data are integrated to generate rectangular area data of the rectangular area 120.

【0046】図3は、ポリゴン(三角形)131の描画
領域に処理単位領域としての矩形領域141を含み、ポ
リゴン(三角形)132の描画領域に処理単位領域とし
ての矩形領域142を含み、ポリゴン(三角形)133
の描画領域に処理単位領域としての矩形領域143を含
み、ポリゴン(三角形)134の描画領域に処理単位領
域としての矩形領域144を含み、ポリゴン(三角形)
135の描画領域に処理単位領域としての矩形領域14
5が含まれる場合のトライアングルDDA回路12の処
理例を示すものであり、トライアングルDDA回路12
は、各矩形領域141〜145に対応する位置情報が同
じ位置情報である場合に、これらの5つの矩形領域デー
タを統合した処理単位領域として、矩形領域140の矩
形領域データを生成する。
In FIG. 3, the drawing area of the polygon (triangle) 131 includes a rectangular area 141 as a processing unit area, and the drawing area of the polygon (triangle) 132 includes a rectangular area 142 as a processing unit area. ) 133
Of the polygon (triangle) 134 includes a rectangular area 144 as a processing unit area, and the drawing area of the polygon (triangle) 134 includes a rectangular area 144 of the polygon (triangle).
A rectangular area 14 as a processing unit area in the drawing area 135
5 shows a processing example of the triangle DDA circuit 12 when 5 is included.
When the position information corresponding to each of the rectangular areas 141 to 145 is the same position information, the rectangular area data of the rectangular area 140 is generated as a processing unit area in which these five rectangular area data are integrated.

【0047】図4は、トライアングルDDA回路12の
詳細構成図である。トライアングルDDA回路12は、
描画順決定手段40、記憶手段49、矩形領域データ生
成手段41、矩形領域データ生成手段42、隣接辺モー
ドレジスタ43、隣接辺モードレジスタ44、モード終
了レジスタ45、モード終了レジスタ46、矩形領域デ
ータ統合手段47、矩形領域データ記憶手段48を有す
る。
FIG. 4 is a detailed configuration diagram of the triangle DDA circuit 12. The triangle DDA circuit 12
Drawing order determination means 40, storage means 49, rectangular area data generation means 41, rectangular area data generation means 42, adjacent side mode register 43, adjacent side mode register 44, mode end register 45, mode end register 46, rectangular area data integration. It has a means 47 and a rectangular area data storage means 48.

【0048】描画順決定手段40は、DDAセットアッ
プ回路11と矩形領域データ生成手段41、42とに接
続され、DDAセットアップ回路11からの入力値(D
DAセットアップデータ)に基づいて、後段の矩形領域
データ生成手段41、42においての描画処理順を決定
する処理を実行する。
The drawing order determination means 40 is connected to the DDA setup circuit 11 and the rectangular area data generation means 41 and 42, and the input value (D
Based on the DA setup data), processing for determining the drawing processing order in the rectangular area data generation means 41, 42 in the subsequent stage is executed.

【0049】DDAセットアップ回路11からDDAセ
ットアップデータを受領した描画順決定手段40は、受
け取ったデータに基づいて、後段の矩形領域データ生成
回路41、42において描画処理として実行される矩形
領域データ生成処理の順番を決定する。
The drawing order determining means 40 that has received the DDA setup data from the DDA setup circuit 11 executes the rectangular area data generation processing executed as the drawing processing in the rectangular area data generation circuits 41 and 42 in the subsequent stage based on the received data. Determine the order.

【0050】描画順決定手段40においては、1つのポ
リゴンにおける描画順を、以下のように決定する。最初
の処理領域は、描画処理対象のポリゴンより先に描画す
る先行処理ポリゴンとの隣接辺とする。次の処理領域
は、ポリゴンにおいて、他のポリゴンとト隣接しない
辺、およびポリゴン(三角形)を構成する3辺に囲まれ
た部分、最後の処理領域は、当該描画処理対象ポリゴン
より後に描画する後続処理ポリゴンとの隣接辺とする。
この順に描画順序を決定する。また、複数のポリゴンが
隣接する辺の処理においては、隣接ポリゴン同士で辺を
描画する方向が同じとなるようにポリゴン描画順データ
を生成する。
The drawing order determining means 40 determines the drawing order for one polygon as follows. The first processing area is the side adjacent to the preceding processing polygon drawn before the drawing processing target polygon. The next processing area is a portion surrounded by three sides forming a polygon (triangle) in a polygon that is not adjacent to another polygon, and the last processing area is a subsequent drawing drawn after the drawing processing target polygon. The adjacent side to the processing polygon.
The drawing order is determined in this order. Further, in processing a side where a plurality of polygons are adjacent to each other, polygon drawing order data is generated so that the directions in which the adjacent polygons are drawn are the same.

【0051】描画順決定手段40において実行される描
画順決定方法の具体的な処理例について説明する。例え
ば、ポリゴンの辺を描画する方向は、例えば図5のよう
に3辺とも、時計回り、または反時計回りのいずれかに
なるように設定する。ポリゴンの描画順は、描画処理対
象ポリゴンより先に描画する先行処理ポリゴンとの隣接
辺の描画方向によって、一意に決まる。連続するポリゴ
ンの描画順について、図6を用いて説明する。図6にお
いて、3つの隣接するポリゴン61,62,63の描画
を行なう場合について説明する。これら3つのポリゴン
をポリゴン61、ポリゴン62、ポリゴン63の順に描
画する場合、ポリゴン61の描画が終了すると次のポリ
ゴン62の描画が実行される。ポリゴン62の描画順
は、先に描画する先行処理ポリゴン61との隣接辺6
4、隣接しない辺と3辺に囲まれた部分65、66、最
後に、当該ポリゴンより後に描画する後続処理ポリゴン
との隣接辺67の順となる。
A specific processing example of the drawing order determining method executed by the drawing order determining means 40 will be described. For example, the direction of drawing the sides of the polygon is set so that all three sides are clockwise or counterclockwise as shown in FIG. 5, for example. The drawing order of polygons is uniquely determined by the drawing direction of the adjacent side of the preceding processing polygon drawn before the drawing processing target polygon. The drawing order of continuous polygons will be described with reference to FIG. In FIG. 6, a case where three adjacent polygons 61, 62, 63 are drawn will be described. When these three polygons are drawn in order of the polygon 61, the polygon 62, and the polygon 63, when the drawing of the polygon 61 is completed, the drawing of the next polygon 62 is executed. The drawing order of the polygon 62 is the adjacent side 6 to the preceding processing polygon 61 to be drawn first.
4, portions 65 and 66 surrounded by non-adjacent sides and three sides, and finally, an adjoining side 67 of a subsequent processing polygon drawn after the polygon.

【0052】このように1つのポリゴンの描画処理順
は、先行処理ポリゴンとの隣接部、非隣接部、後続処理
ポリゴンとの隣接部の順番とする。隣接しない辺と3辺
に囲まれた部分65、66の2つの領域についての処理
の順番は任意であり領域65を先に処理して領域66を
後に処理、または逆になってもかまわない。また、領域
65、領域66をまとめて描画してもかまわない。
As described above, the drawing processing order of one polygon is the order of the adjoining portion with the preceding processing polygon, the non-adjacent portion, and the adjoining portion with the subsequent processing polygon. The order of processing the two regions, that is, the regions 65 and 66 surrounded by the non-adjacent side and the three sides is arbitrary, and the region 65 may be processed first and the region 66 may be processed later, or vice versa. Further, the areas 65 and 66 may be drawn together.

【0053】描画処理対象のポリゴンより先に描画する
先行処理ポリゴンとの隣接辺を持たないが、描画処理対
象のポリゴンより後に描画する後続処理ポリゴンと隣接
辺を持つポリゴンにおける描画順は、描画処理対象のポ
リゴンより後に描画する後続処理ポリゴンとの隣接辺か
ら決定する。先行処理ポリゴン、後続処理ポリゴン両方
と隣接辺を持たない場合は、予め決められた順番、例え
ば、Y座標が最大の頂点からY座標が最小の頂点への描
画を最初に行うように決定する。
A polygon having no adjacent side to the preceding processing polygon drawn before the drawing processing target polygon but having an adjacent side to the subsequent processing polygon drawn after the drawing processing target polygon is the drawing order. It is determined from the side adjacent to the subsequent processing polygon drawn after the target polygon. When there is no adjacent side with both the preceding processing polygon and the succeeding processing polygon, it is determined that the drawing is performed in a predetermined order, for example, from the vertex with the maximum Y coordinate to the vertex with the minimum Y coordinate first.

【0054】描画順決定手段40は、記憶手段49を有
し、記憶手段49には、DDAセットアップ回路11か
ら入力される各ポリゴンに対応するDDAセットアップ
データと、そのポリゴンに対応して描画順決定手段40
において算出され確定した描画順データ、または算出過
程にある確定前の描画順データを記憶する。前述したよ
うに、ポリゴンの描画順を決定するためには、後続処理
ポリゴンとの隣接辺の関係データが必要となる。したが
って、記憶手段49は、描画順決定手段40に描画順を
決定するために入力された描画順決定対象ポリゴンの1
つ前の処理対象ポリゴンに関するDDAセットアップデ
ータと確定前の仮の描画順データについても保持するこ
とになる。
The drawing order determination means 40 has a storage means 49, and in the storage means 49, the DDA setup data corresponding to each polygon input from the DDA setup circuit 11 and the drawing order determination corresponding to the polygon. Means 40
The drawing order data calculated and determined in (3) or the drawing order data before being determined in the calculation process is stored. As described above, in order to determine the drawing order of polygons, the relational data of the adjacent side with the subsequent processing polygon is required. Therefore, the storage unit 49 stores 1 of the drawing order determination target polygons input to the drawing order determination unit 40 to determine the drawing order.
The DDA setup data regarding the immediately preceding polygon to be processed and the temporary drawing order data before being determined are also held.

【0055】描画順決定手段40に対して、DDAセッ
トアップ回路11から、描画処理対象の1つのポリゴン
に対応するDDAセットアップデータが入力されると、
まず、記憶手段49に記憶された先行処理ポリゴンとの
隣接辺を調べ、入力されたDDAセットアップデータに
対応する描画順データの算出が実行される。
When the DDA setup circuit 11 inputs the DDA setup data corresponding to one polygon to be rendered, to the rendering order determination means 40,
First, the side adjacent to the pre-processed polygon stored in the storage unit 49 is examined, and the drawing order data corresponding to the input DDA setup data is calculated.

【0056】描画順データの算出は、前述のように、先
行処理ポリゴンとの隣接部、非隣接部、後続処理ポリゴ
ンとの隣接部の順番で決定されることになる。すなわ
ち、後続するポリゴンとの隣接関係が明らかになること
によって先行のポリゴンの描画処理手順が最終的に決定
される。従って、記憶手段49に記憶されていた先行処
理ポリゴンに対応するDDAセットアップデータと描画
順データは、描画順決定手段40における後続のポリゴ
ンの描画順の決定処理において、後続のポリゴンとの隣
接辺を判明させることが必要となり、記憶手段49に格
納されたポリゴンに対応する描画順データは、この後続
のポリゴンの描画順算出処理の中で最終的に確定するこ
とになる。
As described above, the calculation of the drawing order data is determined in the order of the adjoining portion with the preceding processing polygon, the non-adjacent portion, and the adjoining portion with the subsequent processing polygon. That is, the drawing processing procedure of the preceding polygon is finally determined by clarifying the adjacency relationship with the succeeding polygon. Therefore, the DDA setup data and the drawing order data corresponding to the preceding processing polygon stored in the storage unit 49 are determined by the drawing order determining unit 40 in the drawing order determining process of the subsequent polygon, and the adjacent side of the subsequent polygon is determined. It becomes necessary to make it clear, and the drawing order data corresponding to the polygons stored in the storage means 49 will be finally decided in the drawing order calculation processing of the subsequent polygons.

【0057】描画順決定手段40は、上記処理によって
描画順データが確定し、記憶手段49に記憶されたDD
Aセットアップデータと確定した描画順データとを、矩
形領域データ生成手段41または42へ出力する。さら
に、描画順決定手段40は、矩形領域データ生成手段4
1または42へ出力されたデータに対応するポリゴンの
次の処理ポリゴンに対応するDDAセットアップデータ
と、それに対応する仮決定の描画順データとを、記憶手
段49に記憶し、さらにその後に、DDAセットアップ
回路11から入力されるデータに基づいて、記憶手段4
9に記憶したポリゴンの描画順を確定して、確定した描
画順データを矩形領域データ生成手段41または42へ
出力する。描画順決定手段40は、これらの処理を繰り
返し実行する。
The drawing order determining means 40 determines the drawing order data by the above processing and stores the DD in the storage means 49.
The A setup data and the determined drawing order data are output to the rectangular area data generation means 41 or 42. Further, the drawing order determination means 40 is used by the rectangular area data generation means 4
The DDA setup data corresponding to the processing polygon next to the polygon corresponding to the data output to 1 or 42, and the provisionally determined drawing order data corresponding thereto are stored in the storage means 49, and thereafter, the DDA setup is performed. The storage means 4 is based on the data input from the circuit 11.
The polygon drawing order stored in 9 is fixed, and the fixed drawing order data is output to the rectangular area data generation means 41 or 42. The drawing order determination means 40 repeatedly executes these processes.

【0058】図4に示すトライアングルDDA回路内の
処理単位領域データ生成を行なう矩形領域データ生成手
段41、42は、それぞれが、矩形領域単位でポリゴン
の走査を行い、矩形領域内のポリゴンの内部にある複数
のピクセルについての座標値、色、フォグ値、テクスチ
ャ座標等のピクセル属性値を処理単位領域データとして
求める矩形領域データ生成を行う。走査は、任意の辺に
ついて任意の方向に、また、辺ではない部分についても
行う。矩形領域データ生成手段41、42は、並列処理
可能な処理単位領域データ生成手段である。ここでは、
2つの並列処理可能な構成例を示すが3以上の並列処理
可能な処理手段を有する構成としてもよい。
The rectangular area data generating means 41 and 42 for generating processing unit area data in the triangle DDA circuit shown in FIG. 4 scan polygons in units of rectangular areas, and the inside of the polygons in the rectangular areas are scanned. Rectangular area data generation is performed in which pixel attribute values such as coordinate values, colors, fog values, and texture coordinates for a plurality of pixels are obtained as processing unit area data. The scanning is performed in any direction with respect to any side, and also with respect to a portion that is not a side. The rectangular area data generation means 41, 42 are processing unit area data generation means capable of parallel processing. here,
Although two parallel processing examples are shown, three or more parallel processing means may be provided.

【0059】矩形領域データ生成手段41、42におい
て実行する矩形領域データ生成処理の具体例について図
7を参照して説明する。各ポリゴンの描画はポリゴン内
に含まれる1以上の処理単位領域としての矩形領域にお
ける処理単位領域データ、すなわち処理単位領域として
の矩形領域に含まれるピクセルについての座標値、色、
フォグ値、テクスチャ座標等のピクセル属性値を求める
処理として行われる。図7に示すように、1つのポリゴ
ン70に対して矩形領域71、72のように、複数の辺
75,76に共有される場合があるが、矩形領域データ
生成手段41、42は、1つのポリゴンにおいて、座標
が重複することのない矩形領域データを生成する。
A specific example of the rectangular area data generation processing executed by the rectangular area data generation means 41 and 42 will be described with reference to FIG. Each polygon is drawn by processing unit area data in a rectangular area as one or more processing unit areas included in the polygon, that is, coordinate values, colors of pixels included in the rectangular area as a processing unit area,
This is performed as a process for obtaining pixel attribute values such as fog values and texture coordinates. As shown in FIG. 7, one polygon 70 may be shared by a plurality of sides 75 and 76 like rectangular areas 71 and 72. However, the rectangular area data generation means 41 and 42 form one polygon 70. In a polygon, rectangular area data whose coordinates do not overlap is generated.

【0060】例えば、辺を描画する場合には、辺の開始
頂点を含む矩形領域から、辺の終了頂点を含む矩形領域
の直前までの矩形領域データを生成すると決める。この
規則に従うと、辺を描画する方向は、図5に示した様に
時計回り、又は反時計回りいずれかのループ状になる。
2辺に共有される処理単位領域としての矩形領域は、当
該ループにおいて、前方を描画する辺として描画され
る。
For example, when drawing a side, it is decided to generate rectangular area data from the rectangular area including the start vertex of the side to immediately before the rectangular area including the end vertex of the side. According to this rule, the direction of drawing the side is either a clockwise or counterclockwise loop as shown in FIG.
The rectangular area as the processing unit area shared by the two sides is drawn as the side for drawing the front side in the loop.

【0061】図8に矩形領域データの生成例を示す。辺
を描画する方向は、図8の矢印に示すように、時計回り
のループとして設定したものとする。矩形領域81は、
辺82と辺83とに共有されている。この場合、辺82
と辺83との関係において、時計回りのループの前方に
ある辺は辺83なので、矩形領域81は、辺83の一部
として描画される。ポリゴンを構成する3辺に共有され
る矩形領域は、描画順が一番最初の辺として描画する。
FIG. 8 shows an example of generating rectangular area data. The direction in which the side is drawn is set as a clockwise loop, as shown by the arrow in FIG. The rectangular area 81 is
It is shared by the side 82 and the side 83. In this case, the side 82
In the relationship between the side and the side 83, the side in front of the clockwise loop is the side 83, and thus the rectangular area 81 is drawn as a part of the side 83. The rectangular area shared by the three sides forming the polygon is drawn as the first side in the drawing order.

【0062】矩形領域データ生成手段41、42は、生
成した矩形領域データを、矩形領域データ統合手段47
へ出力する。矩形領域データは、前述したように、矩形
領域内のポリゴンの内部にある複数のピクセルについて
の座標値、色、フォグ値、テクスチャ座標を持つ。
The rectangular area data generation means 41, 42 convert the generated rectangular area data into rectangular area data integration means 47.
Output to. As described above, the rectangular area data has coordinate values, colors, fog values, and texture coordinates for a plurality of pixels inside the polygon in the rectangular area.

【0063】図4に示すトライアングルDDA回路12
内の隣接辺モードレジスタ43、44は、矩形領域デー
タ生成手段41,42に接続され、接続している矩形領
域データ生成手段41,42の処理対象が隣接辺なのか
非隣接部なのかを示す値を保持する。隣接辺であれば
「1」を保持し、非隣接であれば、「0」を保持する。
隣接辺モードレジスタが「1」を保持する場合を、隣接
辺モードといい、隣接辺モードレジスタが「0」を保持
する場合を、非隣接モードという。
The triangle DDA circuit 12 shown in FIG.
The adjacent side mode registers 43 and 44 are connected to the rectangular area data generation means 41 and 42, and indicate whether the connected rectangular area data generation means 41 and 42 are processing objects on adjacent sides or non-adjacent areas. Holds the value. If it is an adjacent side, "1" is held, and if it is not adjacent, "0" is held.
The case where the adjacent side mode register holds "1" is called the adjacent side mode, and the case where the adjacent side mode register holds "0" is called the non-adjacent mode.

【0064】図4に示すトライアングルDDA回路12
内のモード終了レジスタ45、46は、矩形領域データ
生成手段41,42に接続され、接続している矩形領域
データ生成手段41,42が、隣接辺を描画し終わった
場合、または、非隣接部を描画し終わった場合に「1」
を保持する。描画が終了していなければ「0」を保持す
る。
The triangle DDA circuit 12 shown in FIG.
The mode end registers 45 and 46 are connected to the rectangular area data generation means 41 and 42, and when the connected rectangular area data generation means 41 and 42 have finished drawing adjacent sides, or a non-adjacent part. "1" when drawing is finished
Hold. If drawing has not been completed, “0” is held.

【0065】図9に、トライアングルDDA回路12内
の矩形領域データ生成手段41、矩形領域データ生成手
段42が、連続するポリゴンの矩形領域データを生成す
る際の処理のフローチャートを示す。以下、当フローに
従って処理の詳細を説明する。
FIG. 9 shows a flow chart of the processing when the rectangular area data generating means 41 and the rectangular area data generating means 42 in the triangle DDA circuit 12 generate rectangular area data of continuous polygons. The details of the process will be described below according to this flow.

【0066】ステップS101:隣接辺モードレジスタ
43、44の両方が「1」(隣接辺モード)であるかを
判定する。隣接辺モードレジスタ43、44の両方が
「1」すなわち、隣接辺モードレジスタ43、44の接
続されている矩形領域データ生成手段41、矩形領域デ
ータ生成手段42のいずれもが、隣接辺の描画処理実行
を示す場合は、ステップS102に進み、それ以外は、
ステップS104に進む。
Step S101: It is determined whether both of the adjacent side mode registers 43 and 44 are "1" (adjacent side mode). Both of the adjacent side mode registers 43 and 44 are "1", that is, both the rectangular area data generation means 41 and the rectangular area data generation means 42 to which the adjacent side mode registers 43 and 44 are connected draw the adjacent side. If it indicates execution, the process proceeds to step S102, and otherwise,
It proceeds to step S104.

【0067】なお、本発明の描画装置では、図4に示す
ように、2つの矩形領域データ生成手段41、42を有
し、これらの2つの矩形領域データ生成手段41、42
が隣接辺モードでは、隣接する2つのポリゴンについて
の共有する隣接辺についての矩形領域データ生成を並列
に実行し、また、非隣接モードでは、1つのポリゴンに
属する異なる矩形領域についての矩形領域データ生成処
理を並列に実行する。
The drawing apparatus of the present invention has two rectangular area data generation means 41 and 42 as shown in FIG. 4, and these two rectangular area data generation means 41 and 42.
In the adjacent side mode, the rectangular area data generation for the adjacent side shared by the two adjacent polygons is executed in parallel, and in the non-adjacent mode, the rectangular area data generation for different rectangular areas belonging to one polygon is executed. Perform processing in parallel.

【0068】ステップS102:非隣接モードから隣接
辺モードへの遷移直後で、矩形領域データ生成手段41
と矩形領域データ生成手段42とに保持されているDD
Aセットアップデータが同じポリゴンに対応するもので
ある場合に、隣接辺モードでの処理、すなわち、隣接す
る2つのポリゴンについての共有する隣接辺についての
矩形領域データ生成を並列に実行するために、一方の矩
形領域データ生成手段に保持されたDDAセットアップ
データを入れ替える必要がある。ステップS102は、
この入れ替え処理の要否を判定する処理であり、矩形領
域データ生成手段41と矩形領域データ生成手段42と
に保持されているDDAセットアップデータが同じポリ
ゴンに対応するものであるか否かを判定する。Yesの
判定の場合は、ステップS103に進み、Noの判定の
場合は、ステップS107に進む。
Step S102: Immediately after the transition from the non-adjacent mode to the adjacent side mode, the rectangular area data generating means 41
And the DD held in the rectangular area data generation means 42
In the case where the A setup data correspond to the same polygon, in order to execute the processing in the adjacent side mode, that is, the rectangular area data generation for the adjacent side shared by two adjacent polygons in parallel, It is necessary to replace the DDA setup data held in the rectangular area data generating means. Step S102 is
This is a process of determining whether or not this replacement process is necessary, and it is determined whether or not the DDA setup data held in the rectangular area data generation means 41 and the rectangular area data generation means 42 correspond to the same polygon. . In the case of Yes, the process proceeds to step S103, and in the case of No, the process proceeds to step S107.

【0069】ステップS103:矩形領域データ生成手
段41と矩形領域データ生成手段42とに保持されてい
るDDAセットアップデータが同じポリゴンに対応する
ものであれば、矩形領域データ生成手段41に次の処理
対象のポリゴンに対応する新しいDDAセットアップデ
ータを入力する。
Step S103: If the DDA setup data held in the rectangular area data generating means 41 and the rectangular area data generating means 42 correspond to the same polygon, the rectangular area data generating means 41 is subjected to the next processing target. Enter new DDA setup data corresponding to the polygon.

【0070】ステップS104:隣接辺モードレジスタ
43、44、の両方が「0」(非隣接モード)であるか
を調べる。すなわち、隣接辺モードレジスタ43、44
の接続されている矩形領域データ生成手段41、矩形領
域データ生成手段42のいずれもが、非隣接部の描画処
理実行を示す場合は、ステップS105に進み、それ以
外は、ステップS107に進む。
Step S104: Check whether both of the adjacent side mode registers 43 and 44 are "0" (non-adjacent mode). That is, the adjacent side mode registers 43 and 44
When both the rectangular area data generation means 41 and the rectangular area data generation means 42 connected to indicate the drawing processing execution of the non-adjacent part, the process proceeds to step S105, and otherwise the process proceeds to step S107.

【0071】ステップS105:隣接辺モードから非隣
接モードへの遷移直後で、矩形領域データ生成手段41
と矩形領域データ生成手段42とに保持されているDD
Aセットアップデータが異なるポリゴンに対応するもの
である場合に、非隣接モードでの処理、すなわち、1つ
のポリゴンについての異なる矩形領域データ生成を並列
に実行するために、一方の矩形領域データ生成手段に保
持されたDDAセットアップデータを入れ替える必要が
ある。ステップS105は、この入れ替え処理の要否を
判定する処理であり、矩形領域データ生成手段41と矩
形領域データ生成手段42とに保持されているDDAセ
ットアップデータが異なるポリゴンに対応するものであ
るか否かを判定する。Yesの判定の場合は、ステップ
S106に進み、Noの判定の場合は、ステップS10
7に進む。
Step S105: Immediately after the transition from the adjacent side mode to the non-adjacent mode, the rectangular area data generating means 41
And the DD held in the rectangular area data generation means 42
In the case where the A setup data corresponds to different polygons, one rectangular area data generating means is used to execute the processing in the non-adjacent mode, that is, the different rectangular area data generation for one polygon in parallel. It is necessary to replace the held DDA setup data. Step S105 is a process for determining the necessity of this replacement process, and whether the DDA setup data held in the rectangular area data generation means 41 and the rectangular area data generation means 42 corresponds to different polygons. To determine. In the case of Yes determination, the process proceeds to step S106, and in the case of No determination, step S10.
Proceed to 7.

【0072】ステップS106:矩形領域データ生成手
段41と矩形領域データ生成手段42とに保持されてい
るDDAセットアップデータが異なっていれば、矩形領
域データ生成手段42に新しいDDAセットアップデー
タを入力する。ここで、矩形領域データ生成手段42に
入力されたデータは、ステップS103で矩形領域デー
タ生成手段41に入力されたデータと同じ、すなわち同
一のポリゴンに対応するデータである。矩形領域データ
生成手段41、矩形領域データ生成手段42は、同一の
ポリゴンに対応するDDAセットアップデータに基づい
て、1つのポリゴンに属する異なる矩形領域についての
矩形領域データ生成処理を並列に実行することになる。
Step S106: If the DDA setup data held in the rectangular area data generation means 41 and the rectangular area data generation means 42 are different, the new DDA setup data is input to the rectangular area data generation means 42. Here, the data input to the rectangular area data generation unit 42 is the same as the data input to the rectangular area data generation unit 41 in step S103, that is, the data corresponding to the same polygon. The rectangular area data generation means 41 and the rectangular area data generation means 42 execute parallel rectangular area data generation processing for different rectangular areas belonging to one polygon based on the DDA setup data corresponding to the same polygon. Become.

【0073】ステップS107:矩形領域データ生成手
段41については、モード終了レジスタ45が「1」で
なければ、矩形領域データの生成処理を実行する。同様
に、矩形領域データ生成手段42においても、モード終
了レジスタ46が「1」でなければ、矩形領域データの
生成処理を実行する。
Step S107: With respect to the rectangular area data generation means 41, if the mode end register 45 is not "1", the rectangular area data generation processing is executed. Similarly, also in the rectangular area data generation means 42, if the mode end register 46 is not "1", the rectangular area data generation processing is executed.

【0074】ステップS108:矩形領域データ生成手
段41が、現在描画している描画モードが終了したら、
モード終了レジスタ45に「1」をセットする。同様
に、矩形領域データ生成手段42が、現在描画している
描画モードが終了したら、モード終了レジスタ46に、
「1」をセットする。
Step S108: When the rectangular area data generation means 41 finishes the drawing mode currently being drawn,
“1” is set in the mode end register 45. Similarly, when the rectangular area data generation means 42 finishes the drawing mode that is currently being drawn, the mode end register 46
Set "1".

【0075】ステップS109:モード終了レジスタ4
5、モード終了レジスタ46の両方に「1」がセットさ
れたか否かを判定する。モード終了レジスタ46の両方
に「1」がセットされ、各矩形領域データ生成手段4
1,42の処理が終了したことが確認されると、ステッ
プS110に進む。
Step S109: Mode end register 4
5. It is determined whether "1" is set in both the mode end registers 46. “1” is set in both of the mode end registers 46, and each rectangular area data generation means 4
When it is confirmed that the processes of 1, 42 are completed, the process proceeds to step S110.

【0076】ステップS110:モード終了レジスタ4
5、モード終了レジスタ46の両方に「1」がセットさ
れているならば、隣接辺モードレジスタ43、隣接辺モ
ードレジスタ44の両方の描画モードを切り替える。つ
まり、隣接辺モードレジスタの値が「1」ならば「0」
を入力し、レジスタの値が「0」ならば「1」をセット
する。さらに、モード終了レジスタ45、モード終了レ
ジスタ46の両方の値を0にする。
Step S110: Mode end register 4
5. If "1" is set in both the mode end register 46, the drawing modes of both the adjacent side mode register 43 and the adjacent side mode register 44 are switched. That is, if the value of the adjacent side mode register is "1", "0"
Is input, and if the value of the register is "0", "1" is set. Further, the values of both the mode end register 45 and the mode end register 46 are set to 0.

【0077】このように、隣接辺モードレジスタ43、
隣接辺モードレジスタ44では、隣接辺モードにおい
て、隣接する2つのポリゴンについての共有する隣接辺
についての矩形領域データ生成を並列に実行し、また、
非隣接モードにおいて、1つのポリゴンに属する異なる
矩形領域についての並列処理を実行する。隣接辺モード
レジスタ43、隣接辺モードレジスタ44では、これら
の処理を繰り返し実行することになる。
In this way, the adjacent side mode registers 43,
In the adjacent side mode register 44, in the adjacent side mode, the rectangular area data generation for the adjacent side shared by the two adjacent polygons is executed in parallel, and
In the non-adjacent mode, parallel processing is executed for different rectangular areas belonging to one polygon. The adjacent side mode register 43 and the adjacent side mode register 44 repeatedly execute these processes.

【0078】図4に示すトライアングルDDA回路12
内の矩形領域データ統合手段47は、矩形領域データ生
成手段41、42と接続され、同一座標を位置情報とし
て持つ異なるポリゴンに属する複数の矩形領域データ
を、矩形領域内での有効なピクセルの数がより多い矩形
領域データに統合する処理を実行する。
The triangle DDA circuit 12 shown in FIG.
The rectangular area data integration means 47 in the rectangular area data integration means 47 is connected to the rectangular area data generation means 41 and 42, and sets a plurality of rectangular area data belonging to different polygons having the same coordinates as position information as the number of effective pixels in the rectangular area. Performs a process of integrating the rectangular area data with more.

【0079】図10に、矩形領域データ統合手段47の
詳細構成図を示す。矩形領域データ統合手段47は、矩
形領域データ記憶手段48、矩形領域データ選択手段4
71、矩形領域データ比較手段472、統合矩形領域デ
ータ生成手段473を有する。
FIG. 10 is a detailed block diagram of the rectangular area data integration means 47. The rectangular area data integration unit 47 includes a rectangular area data storage unit 48 and a rectangular area data selection unit 4.
71, a rectangular area data comparison unit 472, and an integrated rectangular area data generation unit 473.

【0080】矩形領域データ記憶手段48は、矩形領域
データ生成手段41,42から入力された矩形領域デー
タを複数個(例えば最大6個分)保持する。なお、本実
施形態では、バッファが保持できる矩形領域データの数
は6としたが、例えば4や10であってもかまわない。
ただし、統合を効率的に行うためにも、少なくとも矩形
領域データ生成手段の数以上であることが望ましい。
The rectangular area data storage means 48 holds a plurality of rectangular area data input from the rectangular area data generation means 41 and 42 (for example, a maximum of six pieces). In the present embodiment, the number of rectangular area data that the buffer can hold is 6, but it may be 4, 10 for example.
However, in order to perform the integration efficiently, it is desirable that the number is at least more than the number of rectangular area data generating means.

【0081】矩形領域データ選択手段471は、テクス
チャエンジン回路13へ出力する矩形領域データを、矩
形領域データ記憶手段48から選択する。選択は、矩形
領域データ記憶手段48へ入力後、予め定められた時間
以上たった矩形領域データのうち、最も古いデータが選
ばれる。なお、本実施形態では、時間を選択の基準とし
たが、例えば、領域データにおける有効ピクセルの数を
基準としてもよい。また、時間と有効ピクセルの数との
両方を基準としてもよい。
The rectangular area data selection means 471 selects the rectangular area data to be output to the texture engine circuit 13 from the rectangular area data storage means 48. As for the selection, the oldest data is selected from the rectangular area data that has been stored for a predetermined time or more after being input to the rectangular area data storage means 48. In this embodiment, the time is used as the reference for selection, but the number of effective pixels in the area data may be used as the reference. Further, both time and the number of effective pixels may be used as a reference.

【0082】矩形領域データ比較手段472は、矩形領
域データ選択手段471によって選択された矩形領域デ
ータと、矩形領域データ記憶手段48に記憶されている
矩形領域データとを比較する。矩形領域データ選択手段
471によって選択された矩形領域データと統合できる
矩形領域データが、矩形領域データ記憶手段48に格納
されていれば、これらの統合可能な2つの矩形領域デー
タを、統合矩形領域データ生成手段473に出力する。
統合できる矩形領域データがなかった場合は、矩形領域
データ選択手段471において選択された矩形領域デー
タを単独でテクスチャエンジン回路13へ出力する。
The rectangular area data comparing means 472 compares the rectangular area data selected by the rectangular area data selecting means 471 with the rectangular area data stored in the rectangular area data storage means 48. If the rectangular area data that can be integrated with the rectangular area data selected by the rectangular area data selection unit 471 is stored in the rectangular area data storage unit 48, these two rectangular area data that can be integrated are combined into the integrated rectangular area data. It outputs to the generation means 473.
If there is no rectangular area data that can be integrated, the rectangular area data selected by the rectangular area data selection means 471 is output to the texture engine circuit 13 alone.

【0083】2つの矩形領域データが統合できるかどう
かの判断は、各矩形領域データの持つ位置情報と各矩形
領域内のピクセルの位置とで決まる。矩形領域データ同
士の位置情報が同じで、かつ、矩形領域内のピクセルの
位置が重複しない場合に、統合が可能と判断される。図
11に、統合できる場合と統合できない場合との例を示
す。
Whether or not the two rectangular area data can be integrated is determined by the position information of each rectangular area data and the position of the pixel in each rectangular area. If the rectangular area data has the same position information and the positions of the pixels in the rectangular areas do not overlap, it is determined that the integration is possible. FIG. 11 shows examples of cases where the integration is possible and cases where the integration is not possible.

【0084】図11(a)に示すように、矩形領域デー
タ(a−1)と、矩形領域データ(a−2)とは、矩形
領域データ同士の位置情報が同じで、かつ、矩形領域内
のピクセルの位置が重複しない場合の例であり、統合が
可能と判断される。一方、図11(b)は、矩形領域デ
ータ(b−1)と、矩形領域データ(b−2)とが、矩
形領域データ同士の位置情報は同じであるが、矩形領域
内のピクセルの位置が重複する場合の例であり、統合が
不可能と判断される。
As shown in FIG. 11A, the rectangular area data (a-1) and the rectangular area data (a-2) have the same positional information between the rectangular area data, and are within the rectangular area. This is an example of the case where the pixel positions of 2 do not overlap, and it is determined that integration is possible. On the other hand, in FIG. 11B, the rectangular area data (b-1) and the rectangular area data (b-2) have the same position information of the rectangular area data, but the position of the pixel in the rectangular area is the same. This is an example in the case of overlapping, and it is determined that integration is impossible.

【0085】図10に示す矩形領域データ統合手段47
中の統合矩形領域データ生成手段473は、同じ位置情
報を持つ2つの矩形領域データを統合し、一つの矩形領
域データを生成する。生成された矩形領域データは、も
との2つの矩形領域データそれぞれが保持していた有効
ピクセルのデータを持つ。位置情報は、もとの矩形領域
データと同じである。統合された新しい矩形領域データ
は、矩形領域データ記憶手段48へ記録する。
Rectangular area data integration means 47 shown in FIG.
The integrated rectangular area data generation unit 473 in the middle integrates two rectangular area data having the same position information to generate one rectangular area data. The generated rectangular area data has valid pixel data held by each of the two original rectangular area data. The position information is the same as the original rectangular area data. The new integrated rectangular area data is recorded in the rectangular area data storage means 48.

【0086】図12に、矩形領域データ統合手段47に
おける統合矩形領域データ生成手段473の実行する統
合処理の具体例を示す。統合矩形領域データ生成手段4
73は、同じ位置情報を持つ2つの矩形領域データ
(a),(b)を統合し、一つの矩形領域データ(c)
を生成する。生成された矩形領域データ(c)は、もと
の2つの矩形領域データ(a)(b)それぞれが保持し
ていた有効ピクセル((a)=4,(b)=3)のトー
タルの有効ピクセル数((C)=7)のデータを持つ。
統合された矩形領域データ(c)の位置情報は、もとの
矩形領域データ(a),(b)の位置情報と同じであ
る。
FIG. 12 shows a specific example of the integration process executed by the integrated rectangular area data generation means 473 in the rectangular area data integration means 47. Integrated rectangular area data generation means 4
Reference numeral 73 integrates two rectangular area data (a) and (b) having the same position information into one rectangular area data (c).
To generate. The generated rectangular area data (c) is the total effective pixels ((a) = 4, (b) = 3) held by the original two rectangular area data (a) and (b). It has data of the number of pixels ((C) = 7).
The position information of the integrated rectangular area data (c) is the same as the position information of the original rectangular area data (a) and (b).

【0087】統合矩形領域データ生成手段473は、同
じ位置情報を持つ矩形領域データを統合して、矩形領域
データ記憶手段48に書き戻す処理を実行する。このよ
うに統合された矩形領域データは矩形領域データ記憶手
段48へ、再び戻されるので、再度、統合の対象となる
可能性がある。そのため、3つ以上の矩形領域データを
一つの矩形領域データにまとめることが可能である。
The integrated rectangular area data generation means 473 executes the processing of integrating the rectangular area data having the same position information and writing it back to the rectangular area data storage means 48. Since the rectangular area data thus integrated is returned to the rectangular area data storage means 48 again, there is a possibility that it will be the object of integration again. Therefore, it is possible to combine three or more rectangular area data into one rectangular area data.

【0088】図13に、矩形領域データ統合手段47に
おける統合矩形領域データ生成手段473において3つ
以上の矩形領域データを一つの矩形領域データにまとめ
る場合の処理例を示す。統合矩形領域データ生成手段4
73は、まず、同じ位置情報を持つ2つの矩形領域デー
タ(a),(b)を統合し、一つの矩形領域データを生
成する。さらに、まとめた矩形領域データ(a)+
(b)に対して、矩形領域データ(c)を統合し、一つ
の矩形領域データを生成する。さらに、まとめた矩形領
域データ(a)+(b)+(c)に対して、矩形領域デ
ータ(d)を統合し、一つの矩形領域データを生成す
る。さらに、まとめた矩形領域データ(a)+(b)+
(c)+(d)に対して、矩形領域データ(e)を統合
し、一つの矩形領域データ(f)=(a)+(b)+
(c)+(d)+(e)を生成する。
FIG. 13 shows an example of processing when the integrated rectangular area data generation means 473 in the rectangular area data integration means 47 combines three or more rectangular area data into one rectangular area data. Integrated rectangular area data generation means 4
73 firstly integrates two pieces of rectangular area data (a) and (b) having the same position information to generate one piece of rectangular area data. Further, the collected rectangular area data (a) +
For (b), the rectangular area data (c) is integrated to generate one rectangular area data. Further, the rectangular area data (d) is integrated with the combined rectangular area data (a) + (b) + (c) to generate one rectangular area data. Further, the collected rectangular area data (a) + (b) +
Rectangular area data (e) is integrated with (c) + (d), and one rectangular area data (f) = (a) + (b) +
(C) + (d) + (e) is generated.

【0089】生成された矩形領域データ(f)は、もと
の5つの矩形領域データ(a),(b),(c),
(d),(e)それぞれが保持していた有効ピクセル
((a)=1,(b)=1,(c)=2,(d)=3,
(e)=1)のトータルの有効ピクセル数((f)=
8)のデータを持つ。統合された矩形領域データ(f)
の位置情報は、もとの矩形領域データ(a),(b),
(c),(d),(e)それぞれの位置情報と同じであ
る。
The generated rectangular area data (f) is the original five rectangular area data (a), (b), (c),
Effective pixels ((a) = 1, (b) = 1, (c) = 2, (d) = 3 held by (d) and (e), respectively.
(E) = 1) total number of effective pixels ((f) =
It has the data of 8). Integrated rectangular area data (f)
The position information of the original rectangular area data (a), (b),
It is the same as the position information of each of (c), (d), and (e).

【0090】図14に、矩形領域データ統合手段47
が、矩形領域データをテクスチャエンジン回路13へ出
力する際に実行する処理の詳細を説明するフローチャー
トを示す。以下、フローチャートに示す各ステップの処
理について説明する。
FIG. 14 shows a rectangular area data integration means 47.
2 is a flowchart illustrating the details of the process executed when the rectangular area data is output to the texture engine circuit 13. The processing of each step shown in the flowchart will be described below.

【0091】ステップS201:矩形領域データ選択手
段471が、矩形領域データ記憶手段48から統合する
候補となる矩形領域データを選択する。選択は、矩形領
域データ記憶手段48へ入力されてから一定時間以上た
った矩形領域データの中で、最も古いものが選ばれる。
Step S201: The rectangular area data selecting means 471 selects rectangular area data as a candidate for integration from the rectangular area data storing means 48. In the selection, the oldest one is selected from the rectangular area data which has been input to the rectangular area data storage means 48 for a certain time or more.

【0092】ステップS202:矩形領域データ比較手
段472が、矩形領域データ選択手段471によって選
択された矩形領域データと矩形領域データ記憶手段48
の中の矩形領域データとを比較し、統合できるかどうか
を調べる。比較は、矩形領域データの位置情報が同じか
どうか、矩形領域内のピクセルの位置が重複していない
かを基準に行われる。
Step S202: The rectangular area data comparing means 472 causes the rectangular area data selecting means 471 to select the rectangular area data and the rectangular area data storing means 48.
Check if it can be integrated by comparing with the rectangular area data in. The comparison is performed on the basis of whether or not the position information of the rectangular area data is the same and whether the positions of the pixels in the rectangular area do not overlap.

【0093】ステップS203:矩形領域データ選択手
段471によって選択された矩形領域データと統合可能
な矩形領域データが矩形領域データ記憶手段48の中に
あるかどうか。あれば、ステップS204へ進む。なけ
れば、ステップS205へ進む。
Step S203: Whether the rectangular area data storage means 48 has rectangular area data which can be integrated with the rectangular area data selected by the rectangular area data selecting means 471. If there is, the process proceeds to step S204. If not, the process proceeds to step S205.

【0094】ステップS204:統合矩形領域データ生
成手段473が、同じ位置情報を持つ矩形領域データを
統合して、矩形領域データ記憶手段48に書き戻す。統
合された矩形領域データは矩形領域データ記憶手段48
へ戻されるので、再び統合の対象となる可能性がある。
そのため、先に説明した図13のように、3つ以上の矩
形領域データを一つの矩形領域データにまとめることが
可能である。
Step S204: The integrated rectangular area data generation means 473 integrates the rectangular area data having the same position information and writes it back to the rectangular area data storage means 48. The integrated rectangular area data is the rectangular area data storage means 48.
May be subject to consolidation again.
Therefore, as shown in FIG. 13 described above, it is possible to combine three or more rectangular area data into one rectangular area data.

【0095】ステップS205:矩形領域データ選択手
段471によって選択された矩形領域データを、テクス
チャエンジン回路13へ出力する。
Step S205: The rectangular area data selected by the rectangular area data selecting means 471 is output to the texture engine circuit 13.

【0096】このような手順によって、異なるポリゴン
に対応して設定される処理単位領域としての矩形領域の
矩形領域データが統合され、統合された矩形領域データ
が図1に示すテクスチャエンジン回路13に出力されて
処理されることになる。テクスチャエンジン回路13で
は、トライアングルDDA回路12から入力された矩形
領域データのうち、有効な値を持つピクセルについての
色、フォグ値、座標等を決定して、メモリインタフェー
ス回路14を介して、グラフィクスメモリ15に書き込
む。
By such a procedure, the rectangular area data of the rectangular area as the processing unit area set corresponding to different polygons are integrated, and the integrated rectangular area data is output to the texture engine circuit 13 shown in FIG. Will be processed. The texture engine circuit 13 determines the color, fog value, coordinates, etc. of a pixel having a valid value in the rectangular area data input from the triangle DDA circuit 12, and the graphics memory is determined via the memory interface circuit 14. Write to 15.

【0097】テクスチャエンジン回路13では、統合さ
れた矩形領域データに対して処理を実行することが可能
となるので、従来のように各単位図形(ポリゴン)ごと
に設定された処理単位領域毎に処理を実行する場合に比
較して、処理対象となる単位領域(矩形領域データ)の
数が減少し、また、1つの単位領域(矩形領域データ)
に含まれる有効ピクセル数も、統合処理によって増加す
ることになり、効率的な処理が可能となる。
Since the texture engine circuit 13 can perform processing on the integrated rectangular area data, processing is performed for each processing unit area set for each unit figure (polygon) as in the conventional case. The number of unit areas (rectangular area data) to be processed is reduced compared to the case of executing, and one unit area (rectangular area data)
The number of effective pixels included in is also increased by the integration process, which enables efficient processing.

【0098】なお、本実施形態では、矩形領域データ比
較手段472から統合矩形領域データ生成手段473へ
渡され、1度の統合処理において統合する矩形領域デー
タは2つとしたが、2つである必要はなく、統合矩形領
域データ生成手段は、3以上の矩形領域データの統合可
能性をまとめて判定して3以上の矩形領域データの統合
を一度に実行してもよい。この場合は、先に図13で説
明した複数の矩形領域データ(a)〜(e)を、順次2
つづつ処理することなく、矩形領域データ(a)〜
(e)を一括して統合して矩形領域データ(f)を生成
することになる。
In the present embodiment, the rectangular area data comparing means 472 transfers the rectangular area data to the integrated rectangular area data generating means 473 to be integrated in one integration processing, but it is necessary to use two. Alternatively, the integrated rectangular area data generation unit may collectively determine the integration possibility of three or more rectangular area data and execute the integration of three or more rectangular area data at once. In this case, the plurality of rectangular area data (a) to (e) described above with reference to FIG.
Rectangular area data (a) ~
The rectangular area data (f) is generated by collectively integrating (e).

【0099】また、先に図11を参照して説明したよう
に、本実施形態では、矩形領域データの統合を行う場合
に、領域内でピクセルの位置が重複する場合は統合でき
ないとしたが、重複するピクセル同士を統合して新しい
ピクセルを生成してもよい。この場合には、例えば、ピ
クセルの色の混合による新たな色を生成するなど、ピク
セルに対応するレンダリングデータとしての色、フォグ
値等を、複数の同一位置のピクセルに対応するデータに
基づいて決定して、新たな統合された矩形領域データに
含まれるピクセルのレンダリングデータとして設定す
る。
Further, as described above with reference to FIG. 11, in the present embodiment, when the rectangular area data is integrated, it cannot be integrated if the pixel positions in the area overlap. Overlapping pixels may be integrated to create a new pixel. In this case, for example, the color as the rendering data corresponding to the pixel, the fog value, etc. are determined based on the data corresponding to the plurality of pixels at the same position, such as generating a new color by mixing the colors of the pixels. Then, it is set as the rendering data of the pixel included in the new integrated rectangular area data.

【0100】さらに、矩形領域データ生成手段は、本実
施形態では、図4を参照して説明したように、矩形領域
データ生成手段41、42の2つを有する構成例として
説明したが、矩形領域データ生成手段は、2つである必
要はなく、例えば4つ、8つであってもかまわない。こ
の場合、同時に発生できる矩形領域データの数が増え
る、という利点がある。
Further, the rectangular area data generating means has been described in the present embodiment as an example of a structure having two rectangular area data generating means 41 and 42 as described with reference to FIG. The number of data generating means need not be two, and may be four or eight, for example. In this case, there is an advantage that the number of rectangular area data that can be generated simultaneously increases.

【0101】また、トライアングルDDA回路12は、
本実施形態では、ポリゴンの隣接関係を考慮するために
図4に示すように、隣接関係に基づいて、描画順を決定
するための描画順決定手段を有する構成とするととも
に、隣接辺モードレジスタにおいて、処理モードの判定
可能な構成として、さらに、モード終了レジスタを設け
てモード終了を判定可能とした構成としたが、例えば隣
接関係を考慮することなく描画を実行する構成であれ
ば、これらの各構成を省略し、1以上の矩形領域データ
生成手段と、矩形領域データ統合手段を有し、矩形領域
データ生成手段によって生成される複数の矩形領域デー
タを統合して1つの統合矩形領域データを出力する構成
としてもよい。
Further, the triangle DDA circuit 12 is
In the present embodiment, in order to consider the adjacency relationship of polygons, as shown in FIG. 4, a drawing order determining means for determining the drawing order based on the adjacency relationship is provided, and in the adjacent side mode register The processing mode can be determined by further providing a mode end register to determine the mode end. However, for example, if the drawing is executed without considering the adjacency relationship, each of these By omitting the configuration, it has one or more rectangular area data generating means and rectangular area data integrating means, and integrates a plurality of rectangular area data generated by the rectangular area data generating means to output one integrated rectangular area data. It may be configured to.

【0102】また、本実施形態では、矩形領域をピクセ
ル処理の1つの単位領域として設定したが、この単位領
域は、複数ピクセルを含む任意形状の領域として設定可
能である。
Further, in the present embodiment, the rectangular area is set as one unit area for pixel processing, but this unit area can be set as an area having an arbitrary shape including a plurality of pixels.

【0103】次に、図1に戻り、トライアングルDDA
回路12の出力データの処理を実行する各構成要素の処
理について説明する。
Next, returning to FIG. 1, the triangle DDA
The processing of each component that executes the processing of the output data of the circuit 12 will be described.

【0104】テクスチャエンジン回路13は、トライア
ングルDDA回路12とメモリインタフェース回路14
とに接続し、入力された矩形領域データのうち、有効な
値の入っている複数のピクセルについて同時に、対応す
るデータを、グラフィクスメモリ15から、メモリイン
タフェース回路14を介して読み出し、ピクセルの色と
の混合処理を行い、さらに、フォグ値を用いて、フォグ
色との混合を行う。最後に、ピクセルの座標と色とz値
を、メモリインタフェース回路14を介して、グラフィ
クスメモリ15に書き込む。
The texture engine circuit 13 includes a triangle DDA circuit 12 and a memory interface circuit 14.
Of the input rectangular area data, the corresponding data is simultaneously read out from the graphics memory 15 through the memory interface circuit 14 for a plurality of pixels having valid values, and the pixel color Then, the fog value is used to mix with the fog color. Finally, the pixel coordinates, color, and z value are written to the graphics memory 15 via the memory interface circuit 14.

【0105】メモリインタフェース回路14は、テクス
チャエンジン回路13、グラフィクスメモリ15、表示
コントローラ回路16とに接続し、テクスチャエンジン
回路13から入力されたテクスチャ座標に対応する値を
算出するために、例えば、1点のテクスチャ座標につい
て、グラフィクスメモリ15から近傍の4点値を読み出
し、距離に応じた線形補間を行うなどの処理を行い、算
出した値をテクスチャエンジン回路13へ出力する。ま
た、テクスチャエンジン回路13から入力されたピクセ
ルの座標値をもとに、もし、入力されたz値が、グラフ
ィクスメモリ15のピクセルの座標値に対応するz値よ
りも手前(視点側)にあれば、色とz値とを、グラフィ
クスメモリ15に書き込む。また、半透明な物質の表現
のために、グラフィクスメモリ15の色と、入力の色と
を混合してグラフィクスメモリ15に書き込む場合もあ
る。表示コントローラ回路16から、グラフィクスメモ
リ15の読み出し要求を受けた場合は、グラフィクスメ
モリ15から、要求を受けたデータの色を出力する。
The memory interface circuit 14 is connected to the texture engine circuit 13, the graphics memory 15, and the display controller circuit 16, and in order to calculate the value corresponding to the texture coordinates input from the texture engine circuit 13, for example, 1 With respect to the texture coordinates of the point, four neighboring point values are read from the graphics memory 15, processing such as linear interpolation according to the distance is performed, and the calculated value is output to the texture engine circuit 13. In addition, based on the coordinate value of the pixel input from the texture engine circuit 13, if the input z value is before the z value corresponding to the coordinate value of the pixel of the graphics memory 15 (viewpoint side). For example, the color and the z value are written in the graphics memory 15. Further, in order to represent a semitransparent substance, the color of the graphics memory 15 and the input color may be mixed and written in the graphics memory 15. When the display controller circuit 16 receives a read request for the graphics memory 15, the graphics memory 15 outputs the color of the requested data.

【0106】グラフィクスメモリ15は、メモリインタ
フェース回路と接続し、テクスチャデータやピクセルの
色及びz値を記憶する。メモリインタフェース回路から
の読み込み、書き込み要求に応じて、データの書き換え
や出力を行う。
The graphics memory 15 is connected to the memory interface circuit and stores texture data, pixel colors and z values. It rewrites or outputs data in response to a read or write request from the memory interface circuit.

【0107】表示コントローラ回路16は、メモリイン
タフェース回路14と接続し、与えられた水平及び垂直
同期信号に同期して、図示しないCRT等の表示手段に
表示するアドレスを発生し、グラフィクスメモリ15か
ら表示データを読み出す要求をメモリインタフェース回
路14へ出力する。メモリインタフェース回路14から
の入力である表示データは、内蔵する記憶回路に記憶さ
れ、アナログ形式のRGBデータへの変換処理を行い、
一定の時間間隔でCRT等の表示手段へ出力される。
The display controller circuit 16 is connected to the memory interface circuit 14, generates an address to be displayed on a display means such as a CRT (not shown) in synchronization with the given horizontal and vertical synchronizing signals, and displays it from the graphics memory 15. A request for reading data is output to the memory interface circuit 14. The display data input from the memory interface circuit 14 is stored in a built-in storage circuit and converted into RGB data in an analog format,
It is output to a display means such as a CRT at regular time intervals.

【0108】次に、図1に示す3次元コンピュータグラ
フィクスシステム1の動作についてまとめて説明する。
まず、ポリゴンレンダリングデータがメインバス6を介
してメインプロセッサ4からトライアングルDDA回路
12へ出力される。DDAセットアップ回路11におい
て、三角形の垂直方向、水平方向の変分データが算出さ
れ、算出データが、トライアングルDDA回路12の描
画順決定手段40へ出力される。
Next, the operation of the three-dimensional computer graphics system 1 shown in FIG. 1 will be described collectively.
First, polygon rendering data is output from the main processor 4 to the triangle DDA circuit 12 via the main bus 6. The DDA setup circuit 11 calculates variation data in the vertical and horizontal directions of the triangle, and the calculated data is output to the drawing order determination means 40 of the triangle DDA circuit 12.

【0109】トライアングルDDA回路12の描画順決
定手段40は、DDAセットアップ回路11から入力さ
れたDDAセットアップデータに基づいて、描画順デー
タを算出(未確定)し、DDAセットアップデータとと
もに記憶手段49に記憶する。そして、記憶手段49に
記憶されているポリゴンの次に描画されるDDAセット
アップデータが、同様にDDAセットアップ回路11か
ら描画順決定手段40へ出力されると、記憶手段49に
記憶された先行処理ポリゴンのDDAセットアップデー
タと描画順データとが確定し、矩形領域データ生成手段
41、または矩形領域データ生成手段42へ出力できる
状態になる。
The drawing order determination means 40 of the triangle DDA circuit 12 calculates (undetermined) drawing order data based on the DDA setup data input from the DDA setup circuit 11, and stores it in the storage means 49 together with the DDA setup data. To do. Then, when the DDA setup data to be drawn next to the polygon stored in the storage means 49 is similarly output from the DDA setup circuit 11 to the drawing order determination means 40, the pre-processed polygon stored in the storage means 49. The DDA setup data and the drawing order data are determined, and the data can be output to the rectangular area data generation means 41 or the rectangular area data generation means 42.

【0110】矩形領域データ生成手段41、42は、ポ
リゴンの隣接辺を処理する場合は、隣接している二つの
ポリゴンに属する矩形領域データの生成処理をそれぞれ
並列に実行し、非隣接部を処理する場合は同じポリゴン
に属する矩形領域データの生成処理をそれぞれ並列に実
行する。非隣接部の処理が終了して、隣接部の処理へ移
るときにまず矩形領域データ生成手段41が描画順決定
手段40からデータを受け取る。このとき、矩形領域デ
ータ生成手段42は前のポリゴンの処理を行うことにな
る。そして、隣接部の処理が終了して非隣接部の処理へ
移るときに、矩形領域データ生成手段42が描画順決定
手段40からデータを受け取る。このとき、矩形領域デ
ータ生成手段41、42は同じポリゴンを処理する。発
生する矩形領域データを一つおきにするなどして、矩形
領域データ生成手段41、42は同一ポリゴンの処理を
分担する。非隣接部の処理が終了して、再び隣接部の処
理へ移ると次に描画するポリゴンのデータを矩形領域デ
ータ生成手段41へ入力する。このようにして、隣接
部、非隣接部について、矩形領域データを生成し、矩形
領域データ記憶手段48へ出力する。
When processing the adjacent sides of a polygon, the rectangular area data generating means 41, 42 respectively execute the processing for generating the rectangular area data belonging to two adjacent polygons in parallel and process the non-adjacent portions. When doing so, the generation processing of the rectangular area data belonging to the same polygon is executed in parallel. When the processing of the non-adjacent portion is completed and the processing of the adjacent portion is started, the rectangular area data generation means 41 first receives data from the drawing order determination means 40. At this time, the rectangular area data generation means 42 processes the previous polygon. Then, when the processing of the adjacent portion is completed and the processing of the non-adjacent portion is completed, the rectangular area data generation means 42 receives the data from the drawing order determination means 40. At this time, the rectangular area data generation means 41 and 42 process the same polygon. The rectangular area data generation means 41, 42 share the processing of the same polygon, for example, by generating every other rectangular area data. When the processing of the non-adjacent portion is completed and the processing of the adjacent portion is performed again, the data of the polygon to be drawn next is input to the rectangular area data generation means 41. In this way, the rectangular area data is generated for the adjacent part and the non-adjacent part and is output to the rectangular area data storage means 48.

【0111】矩形領域データ統合手段47は、矩形領域
データ記憶手段48のデータのうち、同一領域となるデ
ータ同士を統合し、テクスチャエンジン回路13へ出力
する。
The rectangular area data integration means 47 integrates the data in the same area among the data in the rectangular area data storage means 48 and outputs the integrated data to the texture engine circuit 13.

【0112】テクスチャエンジン回路13では、矩形領
域データ内の有効なピクセルについて、複数のピクセル
に対して同時に、テクスチャ座標に対応する値をグラフ
ィクスメモリ15からメモリインタフェース回路14を
介して読み出し、ピクセルの色とテクスチャの値とを混
合し、さらに、フォグ値を用いて、フォグ色を混合し、
ピクセルの座標と色とz値をメモリインタフェース回路
14へ出力する。
In the texture engine circuit 13, for valid pixels in the rectangular area data, the values corresponding to the texture coordinates are simultaneously read from the graphics memory 15 through the memory interface circuit 14 for a plurality of pixels, and the pixel color is read. And the texture value are mixed, and then the fog color is mixed using the fog value,
The pixel coordinates, color, and z value are output to the memory interface circuit 14.

【0113】メモリインタフェース回路14は、入力さ
れたz値と色とを用いて、入力された座標におけるグラ
フィクスメモリ15の色へ上書き、または混合した後に
上書きをを行う。
The memory interface circuit 14 uses the input z value and color to overwrite the color of the graphics memory 15 at the input coordinates, or after mixing, overwrites.

【0114】表示コントローラ回路16は、メモリイン
タフェース回路14を介してグラフィクスメモリ15の
ピクセルの色を読み出し、CRT等の表示手段へアナロ
グ形式のRGBデータとして出力する。以上の動作で、
モデルの描画を効率的に行うことができる。
The display controller circuit 16 reads out the color of the pixel of the graphics memory 15 via the memory interface circuit 14 and outputs it to the display means such as a CRT as analog RGB data. With the above operation,
The model can be drawn efficiently.

【0115】なお、本実施形態では、一度の描画で各ポ
リゴンの隣接部、非隣接部を交互に描画する処理例を示
したが、モデルの各ピクセルのz値と色とを書き込むま
でを一動作として設定し、各動作単位に、隣接部、非隣
接部を交互に処理を行なう構成としてもよい。すなわ
ち、一度目は隣接部のz値と色の処理を実行し、二度目
は非隣接部のz値と色の処理を実行する、または、逆に
一度目は非隣接部のz値と色を、二度目は隣接部のz値
と色を処理する、という処理構成としてもよい。
In the present embodiment, the processing example of alternately drawing the adjacent portion and the non-adjacent portion of each polygon by one drawing is shown. However, it is possible to write the z value and the color of each pixel of the model. It may be configured to be set as an operation, and for each operation unit, the adjacent part and the non-adjacent part are alternately processed. That is, the z-value and color of the adjacent part are processed at the first time, the z-value and color of the non-adjacent part are executed at the second time, or conversely, the z-value and the color of the non-adjacent part are processed at the first time. Alternatively, the processing configuration may be such that the z value and the color of the adjacent portion are processed a second time.

【0116】以上、特定の実施例を参照しながら、本発
明について詳解してきた。しかしながら、本発明の要旨
を逸脱しない範囲で当業者が該実施例の修正や代用を成
し得ることは自明である。すなわち、例示という形態で
本発明を開示してきたのであり、限定的に解釈されるべ
きではない。本発明の要旨を判断するためには、冒頭に
記載した特許請求の範囲の欄を参酌すべきである。
The present invention has been described in detail above with reference to the specific embodiments. However, it is obvious that those skilled in the art can modify or substitute the embodiments without departing from the scope of the present invention. That is, the present invention has been disclosed in the form of exemplification, and should not be limitedly interpreted. In order to determine the gist of the present invention, the section of the claims described at the beginning should be taken into consideration.

【0117】なお、明細書中において説明した一連の処
理はハードウェア、またはソフトウェア、あるいは両者
の複合構成によって実行することが可能である。ソフト
ウェアによる処理を実行する場合は、処理シーケンスを
記録したプログラムを、専用のハードウェアに組み込ま
れたコンピュータ内のメモリにインストールして実行さ
せるか、あるいは、各種処理が実行可能な汎用コンピュ
ータにプログラムをインストールして実行させることが
可能である。
The series of processes described in the specification can be executed by hardware, software, or a combined configuration of both. When executing the processing by software, the program recording the processing sequence is installed in the memory in the computer incorporated in the dedicated hardware and executed, or the program is stored in a general-purpose computer capable of executing various processing. It can be installed and run.

【0118】例えば、プログラムは記録媒体としてのハ
ードディスクやROM(Read OnlyMemory)に予め記録し
ておくことができる。あるいは、プログラムはフロッピ
ー(登録商標)ディスク、CD−ROM(Compact Disc
Read Only Memory),MO(Magneto optical)ディスク,
DVD(Digital Versatile Disc)、磁気ディスク、半導
体メモリなどのリムーバブル記録媒体に、一時的あるい
は永続的に格納(記録)しておくことができる。このよ
うなリムーバブル記録媒体は、いわゆるパッケージソフ
トウエアとして提供することができる。
For example, the program can be recorded in advance in a hard disk or a ROM (Read Only Memory) as a recording medium. Alternatively, the program may be a floppy (registered trademark) disc or a CD-ROM (Compact Disc).
Read Only Memory), MO (Magneto optical) disk,
It can be temporarily or permanently stored (recorded) in a removable recording medium such as a DVD (Digital Versatile Disc), a magnetic disk, or a semiconductor memory. Such a removable recording medium can be provided as so-called package software.

【0119】なお、プログラムは、上述したようなリム
ーバブル記録媒体からコンピュータにインストールする
他、ダウンロードサイトから、コンピュータに無線転送
したり、LAN(Local Area Network)、インターネット
といったネットワークを介して、コンピュータに有線で
転送し、コンピュータでは、そのようにして転送されて
くるプログラムを受信し、内蔵するハードディスク等の
記録媒体にインストールすることができる。
The program is installed in the computer from the removable recording medium as described above, is wirelessly transferred from the download site to the computer, or is wired to the computer via a network such as LAN (Local Area Network) or the Internet. Then, the computer can receive the program thus transferred and install it in a recording medium such as a built-in hard disk.

【0120】なお、明細書に記載された各種の処理は、
記載に従って時系列に実行されるのみならず、処理を実
行する装置の処理能力あるいは必要に応じて並列的にあ
るいは個別に実行されてもよい。また、本明細書におい
てシステムとは、複数の装置の論理的集合構成であり、
各構成の装置が同一筐体内にあるものには限らない。
The various processes described in the specification are
The processing may be executed not only in time series according to the description, but also in parallel or individually according to the processing capability of the device that executes the processing or the need. Further, the system in the present specification is a logical set configuration of a plurality of devices,
The devices of the respective configurations are not limited to being in the same housing.

【0121】[0121]

【発明の効果】以上説明したように、本発明の画像処理
装置および方法によれば、連続する単位図形を描画する
場合、処理を行う単位領域データを統合することによっ
て、処理単位領域内に占める有効な画素数を増やし、か
つ、処理単位領域データの総数を減らすことができる。
その結果、画像の効率的な描画が可能となる。すなわ
ち、ポリゴン等の連続する単位図形の描画処理を実行す
る構成において、同時に処理が可能な領域データの統合
処理を実行して描画を行なう構成とすることで、一処理
において処理する単位領域内の有効画素数を増やすこと
が可能となり、また領域データ数の減少が図れ、描画処
理の効率化が実現される。
As described above, according to the image processing apparatus and method of the present invention, when drawing continuous unit figures, the unit area data to be processed is integrated to occupy the processing unit area. It is possible to increase the number of effective pixels and reduce the total number of processing unit area data.
As a result, it is possible to draw an image efficiently. That is, in the structure for executing the drawing process of continuous unit figures such as polygons, the structure for executing the drawing by executing the integration process of the region data that can be processed at the same time, The number of effective pixels can be increased, the number of area data can be reduced, and the efficiency of the drawing process can be realized.

【0122】また、本発明のグラフィック演算装置およ
びその方法によれば、ポリゴンの連続描画処理におい
て、各ポリゴンに対応した単位領域、例えば矩形領域デ
ータを独立に処理せず、隣接するポリゴンの隣接辺にま
たがって存在する矩形領域については、各ポリゴンに対
応するそれぞれの矩形領域データを統合して1つの矩形
領域データを生成して処理を実行する構成としたので、
画像の効率的な描画が可能となる。
Further, according to the graphic operation device and the method thereof of the present invention, in the continuous drawing processing of polygons, the unit area corresponding to each polygon, for example, the rectangular area data is not processed independently, but the adjacent sides of the adjacent polygons are processed. With respect to the rectangular area existing over the area, since the respective rectangular area data corresponding to each polygon are integrated to generate one rectangular area data and the processing is executed,
It is possible to draw an image efficiently.

【0123】また、本発明のグラフィック演算装置およ
びその方法によれば、処理単位領域のデータを、ポリゴ
ン等の単位図形の隣接関係を考慮して生成する構成とし
たので、処理単位領域の統合の可否の判定が容易とな
り、統合処理が効率的に実行され、画像の効率的な描画
が可能となる。
Further, according to the graphic operation device and the method thereof of the present invention, since the data of the processing unit area is generated in consideration of the adjacency relation of the unit figures such as polygons, the integration of the processing unit areas is achieved. It becomes easy to determine whether or not it is possible, the integration process is efficiently executed, and the image can be efficiently drawn.

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

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

【図2】本発明の画像処理装置において実行される矩形
領域データの統合処理について説明する図である。
FIG. 2 is a diagram illustrating an integration process of rectangular area data executed in the image processing apparatus of the present invention.

【図3】本発明の画像処理装置において実行される矩形
領域データの統合処理について説明する図である。
FIG. 3 is a diagram illustrating an integration process of rectangular area data executed in the image processing apparatus of the present invention.

【図4】本発明の画像処理装置におけるトライアングル
DDA回路の詳細構成を示すブロック図である。
FIG. 4 is a block diagram showing a detailed configuration of a triangle DDA circuit in the image processing apparatus of the present invention.

【図5】本発明の画像処理装置において実行されるポリ
ゴンの処理手順について説明する図である。
FIG. 5 is a diagram illustrating a polygon processing procedure executed in the image processing apparatus of the present invention.

【図6】本発明の画像処理装置において実行されるポリ
ゴンの処理手順について説明する図である。
FIG. 6 is a diagram illustrating a polygon processing procedure executed in the image processing apparatus of the present invention.

【図7】本発明の画像処理装置において実行されるポリ
ゴンの処理手順、および矩形領域データについて説明す
る図である。
FIG. 7 is a diagram illustrating a polygon processing procedure and rectangular area data executed in the image processing apparatus of the present invention.

【図8】本発明の画像処理装置において実行されるポリ
ゴンの処理手順、および矩形領域データについて説明す
る図である。
FIG. 8 is a diagram illustrating a polygon processing procedure executed by the image processing apparatus of the present invention and rectangular area data.

【図9】本発明の画像処理装置のトライアングルDDA
回路において実行される処理を説明するフローチャート
である。
FIG. 9 is a triangle DDA of the image processing apparatus of the present invention.
It is a flow chart explaining processing performed in a circuit.

【図10】本発明の画像処理装置のトライアングルDD
A回路内の矩形領域データ統合手段の詳細構成を示すブ
ロック図である。
FIG. 10: Triangle DD of the image processing apparatus of the present invention
It is a block diagram showing a detailed configuration of a rectangular area data integration means in the A circuit.

【図11】本発明の画像処理装置の領域データ統合手段
において実行される矩形領域データの統合処理について
説明する図である。
FIG. 11 is a diagram for explaining rectangular area data integration processing executed by area data integration means of the image processing apparatus of the present invention.

【図12】本発明の画像処理装置の領域データ統合手段
において実行される矩形領域データの統合処理について
説明する図である。
FIG. 12 is a diagram illustrating an integration process of rectangular area data executed by area data integration means of the image processing apparatus of the present invention.

【図13】本発明の画像処理装置の領域データ統合手段
において実行される矩形領域データの統合処理について
説明する図である。
FIG. 13 is a diagram illustrating a rectangular area data integration processing executed by area data integration means of the image processing apparatus of the present invention.

【図14】本発明の画像処理装置の領域データ統合手段
において実行される処理を説明するフローチャートであ
る。
FIG. 14 is a flowchart illustrating a process executed by the area data integration unit of the image processing apparatus of the present invention.

【図15】画像処理装置におけるポリゴンの矩形領域単
位処理を説明する図である。
FIG. 15 is a diagram for explaining polygon rectangular area unit processing in the image processing apparatus.

【図16】画像処理装置でのポリゴンの矩形領域単位処
理における問題点を説明する図である。
FIG. 16 is a diagram illustrating a problem in polygon rectangular area unit processing in the image processing apparatus.

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

1 3次元コンピュータ・グラフィックスシステム 2 メインメモリ 3 I/Oインタフェース回路 4 メインプロセッサ 5 レンダリング回路 6 メインバス 11 DDAセットアップ回路 12 トライアングルDDA回路 13 テクスチャエンジン回路 14 メモリインタフェース回路 15 グラフィクスメモリ 16 表示コントローラ回路 40 描画順決定手段 41 矩形領域データ生成手段 42 矩形領域データ生成手段 43 隣接辺モードレジスタ 44 隣接辺モードレジスタ 45 モード終了レジスタ 46 モード終了レジスタ 47 矩形領域データ統合手段 48 矩形領域データ記憶手段 49 記憶手段 471 矩形領域データ選択手段 472 矩形領域データ比較手段 473 統合矩形領域データ生成手段 1 3D computer graphics system 2 main memory 3 I / O interface circuit 4 main processor 5 Rendering circuit 6 main buses 11 DDA setup circuit 12 Triangle DDA circuit 13 Texture engine circuit 14 Memory interface circuit 15 Graphics memory 16 Display controller circuit 40 Drawing order determining means 41 rectangular area data generation means 42 rectangular area data generation means 43 Adjacent edge mode register 44 Adjacent edge mode register 45 Mode end register 46 Mode end register 47 Rectangular area data integration means 48 rectangular area data storage means 49 storage means 471 rectangular area data selection means 472 rectangular area data comparison means 473 integrated rectangular area data generation means

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】描画処理対象モデルを単位図形に分割し
て、スクリーン座標系の描画対象領域内にピクセルを発
生させて描画処理を行なう画像処理装置において、 前記単位図形に含まれる処理単位領域毎のピクセル属性
値を処理単位領域データとして算出する処理単位領域デ
ータ生成手段と、 前記処理単位領域データ生成手段において生成された複
数の処理単位領域データが同一の位置情報を有する場合
に、該複数の処理単位領域データの統合処理を実行する
処理単位領域データ統合手段と、 を有することを特徴とする画像処理装置。
1. An image processing apparatus that divides a drawing processing target model into unit figures and generates pixels in a drawing target area of a screen coordinate system to perform drawing processing, for each processing unit area included in the unit figure. Processing unit area data generation means for calculating the pixel attribute value of the processing unit area data and a plurality of processing unit area data generated by the processing unit area data generation means have the same position information, An image processing apparatus comprising: a processing unit area data integration unit that executes an integration processing of processing unit area data.
【請求項2】前記画像処理装置は、さらに、 異なる単位図形間の隣接関係に基づいて、前記処理単位
領域データ生成手段における処理手順を決定する描画順
決定手段を有し、 前記処理単位領域データ生成手段は、並列処理可能な複
数の処理単位領域データ生成手段によって構成され、 前記描画順決定手段は、 2つの単位図形間の隣接辺を含む処理単位領域、およ
び、2つの単位図形間の隣接辺を含まない非隣接部の処
理単位領域についての処理単位領域データの生成処理の
いずれか一方の処理を、前記複数の処理単位領域データ
生成手段において並列に実行するように描画順の決定処
理を実行する構成としたことを特徴とする請求項1に記
載の画像処理装置。
2. The image processing apparatus further includes a drawing order determination unit that determines a processing procedure in the processing unit region data generation unit based on an adjacency relationship between different unit graphics. The generating means is composed of a plurality of processing unit area data generating means capable of parallel processing, and the drawing order determining means includes a processing unit area including an adjacent side between two unit figures and an adjacency between two unit figures. A drawing order determination process is performed so that one of the processing unit region data generation processes for a processing unit region of a non-adjacent portion that does not include a side is executed in parallel in the plurality of processing unit region data generation means. The image processing apparatus according to claim 1, wherein the image processing apparatus is configured to execute.
【請求項3】前記画像処理装置は、さらに、 異なる単位図形間の隣接関係に基づいて、前記処理単位
領域データ生成手段における処理手順を決定する描画順
決定手段を有し、 該描画順決定手段は、 1つの単位図形の描画処理手順を、先行処理単位図形と
の隣接部、非隣接部、後続処理単位図形との隣接部の順
番として設定する処理を実行する構成であることを特徴
とする請求項1に記載の画像処理装置。
3. The image processing apparatus further comprises drawing order determining means for determining a processing procedure in the processing unit area data generating means based on an adjacency relationship between different unit figures, and the drawing order determining means. Is configured to execute a process of setting a drawing processing procedure of one unit figure as an order of an adjoining portion with a preceding processing unit figure, a non-adjacent portion, and an adjoining portion with a subsequent processing unit figure. The image processing apparatus according to claim 1.
【請求項4】前記画像処理装置は、さらに、 異なる単位図形間の隣接関係に基づいて、前記処理単位
領域データ生成手段における処理手順を決定する描画順
決定手段を有し、 該描画順決定手段は、 単位図形の境界としての辺を含む領域の描画順を、時計
回り、又は反時計回りいずれかのループ状に設定する構
成であることを特徴とする請求項1に記載の画像処理装
置。
4. The image processing apparatus further comprises drawing order determining means for determining a processing procedure in the processing unit area data generating means based on the adjacency relationship between different unit figures, and the drawing order determining means. The image processing apparatus according to claim 1, wherein is configured to set a drawing order of a region including a side serving as a boundary of the unit graphic in a clockwise or counterclockwise loop shape.
【請求項5】前記処理単位領域データ統合手段は、 前記処理単位領域データ生成手段において生成された処
理単位領域データの持つ位置情報が同じで、かつ処理単
位領域内の有効ピクセル位置が重複しないことを条件と
して複数の処理単位領域データを1つの処理単位領域デ
ータに統合する処理を実行する構成であることを特徴と
する請求項1に記載の画像処理装置。
5. The processing unit area data unifying means has the same positional information in the processing unit area data generated by the processing unit area data generating means, and the effective pixel positions in the processing unit area do not overlap. The image processing apparatus according to claim 1, wherein the image processing apparatus is configured to execute processing for integrating a plurality of processing unit area data into one processing unit area data under the condition.
【請求項6】前記画像処理装置は、 前記処理単位領域データ生成手段において生成された処
理単位領域データを記憶する単位領域データ記憶手段を
有し、 前記処理単位領域データ統合手段は、前記単位領域デー
タ記憶手段に記憶された複数の処理単位領域データの位
置情報に基づいて統合可能性を判定する構成を有するこ
とを特徴とする請求項1に記載の画像処理装置。
6. The image processing apparatus has unit area data storage means for storing processing unit area data generated by the processing unit area data generation means, and the processing unit area data integration means has the unit area data storage means. The image processing apparatus according to claim 1, wherein the image processing apparatus has a configuration for determining integration possibility based on position information of a plurality of processing unit area data stored in the data storage means.
【請求項7】描画処理対象モデルは3次元モデルであ
り、前記単位図形はポリゴンであることを特徴とする請
求項1に記載の画像処理装置。
7. The image processing apparatus according to claim 1, wherein the drawing processing target model is a three-dimensional model, and the unit graphic is a polygon.
【請求項8】描画処理対象モデルを単位図形に分割し
て、スクリーン座標系の描画対象領域内にピクセルを発
生させて描画処理を行なう画像処理方法において、 前記単位図形に含まれる処理単位領域毎のピクセル属性
値を処理単位領域データとして算出する処理単位領域デ
ータ生成ステップと、 前記処理単位領域データ生成ステップにおいて生成され
た複数の処理単位領域データが同一の位置情報を有する
場合に、該複数の処理単位領域データの統合処理を実行
する処理単位領域データ統合ステップと、 を有することを特徴とする画像処理方法。
8. An image processing method in which a drawing processing target model is divided into unit figures, and pixels are generated in a drawing target area of a screen coordinate system to perform drawing processing, wherein each processing unit area included in the unit figure. Processing unit area data generation step of calculating the pixel attribute value of as processing unit area data, and a plurality of processing unit area data generated in the processing unit area data generation step have the same position information, An image processing method, comprising: a processing unit area data integration step that executes an integration processing of processing unit area data.
【請求項9】前記画像処理方法は、さらに、 異なる単位図形間の隣接関係に基づいて、前記処理単位
領域データ生成手段における処理手順を決定する描画順
決定ステップを有し、 前記処理単位領域データ生成ステップは、並列処理可能
な複数の処理単位領域データ生成手段によって実行さ
れ、 前記描画順決定ステップは、 2つの単位図形間の隣接辺を含む処理単位領域、およ
び、2つの単位図形間の隣接辺を含まない非隣接部の処
理単位領域についての処理単位領域データの生成処理の
いずれか一方の処理を、前記複数の処理単位領域データ
生成手段において並列に実行するように描画順の決定処
理を実行することを特徴とする請求項8に記載の画像処
理方法。
9. The image processing method further includes a drawing order determining step of determining a processing procedure in the processing unit area data generating means based on an adjacency relationship between different unit graphics, the processing unit area data The generating step is executed by a plurality of processing unit area data generating means capable of parallel processing, and the drawing order determining step includes a processing unit area including an adjacent side between two unit figures and an adjacency between two unit figures. A drawing order determination process is performed so that one of the processing unit region data generation processes for a processing unit region of a non-adjacent portion that does not include a side is executed in parallel in the plurality of processing unit region data generation means. The image processing method according to claim 8, which is executed.
【請求項10】前記画像処理方法は、さらに、 異なる単位図形間の隣接関係に基づいて、前記処理単位
領域データ生成ステップにおける処理手順を決定する描
画順決定ステップを有し、 該描画順決定ステップは、 1つの単位図形の描画処理手順を、先行処理単位図形と
の隣接部、非隣接部、後続処理単位図形との隣接部の順
番として設定する処理を実行することを特徴とする請求
項8に記載の画像処理方法。
10. The image processing method further includes a drawing order determining step of determining a processing procedure in the processing unit area data generating step based on an adjacency relationship between different unit figures, and the drawing order determining step. 9. A process for setting a drawing processing procedure of one unit graphic as an order of an adjacent part to a preceding process unit graphic, a non-adjacent part, and an adjacent part to a subsequent process unit graphic is executed. The image processing method described in.
【請求項11】前記画像処理方法は、さらに、 異なる単位図形間の隣接関係に基づいて、前記処理単位
領域データ生成ステップにおける処理手順を決定する描
画順決定ステップを有し、 該描画順決定ステップは、 単位図形の境界としての辺を含む領域の描画順を、時計
回り、又は反時計回りいずれかのループ状に設定するこ
とを特徴とする請求項8に記載の画像処理方法。
11. The image processing method further includes a drawing order determining step of determining a processing procedure in the processing unit area data generating step based on an adjacency relationship between different unit figures, and the drawing order determining step. 9. The image processing method according to claim 8, wherein the drawing order of the area including the side as the boundary of the unit graphic is set to either a clockwise or a counterclockwise loop.
【請求項12】前記処理単位領域データ統合ステップ
は、 前記処理単位領域データ生成ステップにおいて生成され
た処理単位領域データの持つ位置情報が同じで、かつ処
理単位領域内の有効ピクセル位置が重複しないことを条
件として複数の処理単位領域データを1つの処理単位領
域データに統合する処理を実行することを特徴とする請
求項8に記載の画像処理方法。
12. In the processing unit area data integration step, the processing unit area data generated in the processing unit area data generation step has the same position information, and the effective pixel positions in the processing unit area do not overlap. 9. The image processing method according to claim 8, wherein a process of integrating a plurality of processing unit area data into one processing unit area data is executed under the condition.
【請求項13】前記画像処理方法は、 前記処理単位領域データ生成ステップにおいて生成され
た処理単位領域データを記憶手段に記憶する単位領域デ
ータ記憶ステップを有し、 前記処理単位領域データ統合ステップは、前記単位領域
データ記憶ステップにおいて記憶された複数の処理単位
領域データの位置情報に基づいて統合可能性を判定する
ことを特徴とする請求項8に記載の画像処理方法。
13. The image processing method includes a unit area data storage step of storing the processing unit area data generated in the processing unit area data generation step in a storage means, and the processing unit area data integration step includes: The image processing method according to claim 8, wherein the integration possibility is determined based on position information of the plurality of processing unit area data stored in the unit area data storing step.
【請求項14】描画処理対象モデルは3次元モデルであ
り、前記単位図形はポリゴンであることを特徴とする請
求項8に記載の画像処理方法。
14. The image processing method according to claim 8, wherein the drawing processing target model is a three-dimensional model, and the unit graphic is a polygon.
【請求項15】描画処理対象モデルを単位図形に分割し
て、スクリーン座標系の描画対象領域内にピクセルを発
生させて描画処理を行なう画像処理をコンピュータ・シ
ステム上で実行せしめるコンピュータ・プログラムであ
って、 前記単位図形に含まれる処理単位領域毎のピクセル属性
値を処理単位領域データとして算出する処理単位領域デ
ータ生成ステップと、 前記処理単位領域データ生成ステップにおいて生成され
た複数の処理単位領域データが同一の位置情報を有する
場合に、該複数の処理単位領域データの統合処理を実行
する処理単位領域データ統合ステップと、 を具備することを特徴とするコンピュータ・プログラ
ム。
15. A computer program that divides a drawing processing target model into unit figures and generates pixels in a drawing target area of a screen coordinate system to execute image processing for performing drawing processing on a computer system. A processing unit area data generation step of calculating a pixel attribute value for each processing unit area included in the unit graphic as processing unit area data, and a plurality of processing unit area data generated in the processing unit area data generation step. A computer program product, comprising: a processing unit area data integration step for executing an integration processing of the plurality of processing unit area data when having the same position information.
JP2001314691A 2001-10-12 2001-10-12 Image processing apparatus, image processing method, and computer program Expired - Fee Related JP4042377B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001314691A JP4042377B2 (en) 2001-10-12 2001-10-12 Image processing apparatus, image processing method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001314691A JP4042377B2 (en) 2001-10-12 2001-10-12 Image processing apparatus, image processing method, and computer program

Publications (2)

Publication Number Publication Date
JP2003123082A true JP2003123082A (en) 2003-04-25
JP4042377B2 JP4042377B2 (en) 2008-02-06

Family

ID=19132957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001314691A Expired - Fee Related JP4042377B2 (en) 2001-10-12 2001-10-12 Image processing apparatus, image processing method, and computer program

Country Status (1)

Country Link
JP (1) JP4042377B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006013849A1 (en) * 2004-08-04 2006-02-09 Matsushita Electric Industrial Co., Ltd. Drawing device
WO2006090610A1 (en) 2005-02-23 2006-08-31 Sony Computer Entertainment Inc. Image processing device and image processing method
CN115374109A (en) * 2022-07-29 2022-11-22 华为技术有限公司 Data access method, device, computing equipment and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006013849A1 (en) * 2004-08-04 2006-02-09 Matsushita Electric Industrial Co., Ltd. Drawing device
JPWO2006013849A1 (en) * 2004-08-04 2008-05-01 松下電器産業株式会社 Drawing device
US7995053B2 (en) 2004-08-04 2011-08-09 Panasonic Corporation Drawing device
JP4777893B2 (en) * 2004-08-04 2011-09-21 パナソニック株式会社 Drawing device
WO2006090610A1 (en) 2005-02-23 2006-08-31 Sony Computer Entertainment Inc. Image processing device and image processing method
US7825928B2 (en) 2005-02-23 2010-11-02 Sony Computer Entertainment Inc. Image processing device and image processing method for rendering three-dimensional objects
CN115374109A (en) * 2022-07-29 2022-11-22 华为技术有限公司 Data access method, device, computing equipment and system
CN115374109B (en) * 2022-07-29 2023-09-01 华为技术有限公司 Data access method, device, computing equipment and system

Also Published As

Publication number Publication date
JP4042377B2 (en) 2008-02-06

Similar Documents

Publication Publication Date Title
TWI618030B (en) Method and system of graphics processing enhancement by tracking object and/or primitive identifiers, graphics processing unit and non-transitory computer readable medium
JP6678209B2 (en) Gradient adjustment for texture mapping to non-orthonormal grid
US6704018B1 (en) Graphic computing apparatus
TWI636423B (en) Method for efficient construction of high resolution display buffers
US7884825B2 (en) Drawing method, image generating device, and electronic information apparatus
US6961065B2 (en) Image processor, components thereof, and rendering method
JP4977712B2 (en) Computer graphics processor and method for rendering stereoscopic images on a display screen
JP2005100177A (en) Image processor and its method
JPH0950537A (en) Volume rendering device and its method
JP2002304636A (en) Method and device for image generation, recording medium with recorded image processing program, and image processing program
KR20150039495A (en) Apparatus and Method for rendering a current frame using an image of previous tile
JP2010510608A (en) Efficient scissoring for graphics applications
TW201706962A (en) Graphics processing
JP2005100176A (en) Image processor and its method
JP3892016B2 (en) Image processing apparatus and image processing method
US6501474B1 (en) Method and system for efficient rendering of image component polygons
JP7460641B2 (en) Apparatus and method for generating a light intensity image - Patents.com
KR101517465B1 (en) 3 asterization Engine and three-dimension graphics system for rasterizing by order adapted characteristic of polygon
JPH09259290A (en) Drawing method
JP4042377B2 (en) Image processing apparatus, image processing method, and computer program
JP3979162B2 (en) Image processing apparatus and method
US7196706B2 (en) Method and apparatus for rendering a quadrangle primitive
CN116670719A (en) Graphic processing method and device and electronic equipment
JPH09319892A (en) Image processor and its processing method
JP4106719B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070703

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070824

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: 20071023

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071105

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

Free format text: PAYMENT UNTIL: 20101122

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees