JP2011216032A - Three-dimensional computer graphics drawing system - Google Patents

Three-dimensional computer graphics drawing system Download PDF

Info

Publication number
JP2011216032A
JP2011216032A JP2010085598A JP2010085598A JP2011216032A JP 2011216032 A JP2011216032 A JP 2011216032A JP 2010085598 A JP2010085598 A JP 2010085598A JP 2010085598 A JP2010085598 A JP 2010085598A JP 2011216032 A JP2011216032 A JP 2011216032A
Authority
JP
Japan
Prior art keywords
image
unit
processing unit
processing
calculation
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
JP2010085598A
Other languages
Japanese (ja)
Other versions
JP5535729B2 (en
Inventor
Eisaku Obuchi
栄作 大渕
Tatsuo Yamamoto
達夫 山本
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.)
Digital Media Professionals Inc
Original Assignee
Digital Media Professionals Inc
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 Digital Media Professionals Inc filed Critical Digital Media Professionals Inc
Priority to JP2010085598A priority Critical patent/JP5535729B2/en
Publication of JP2011216032A publication Critical patent/JP2011216032A/en
Application granted granted Critical
Publication of JP5535729B2 publication Critical patent/JP5535729B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a three-dimensional computer graphic drawing system capable of obtaining a plurality of kinds of three-dimensional computer graphics in real time from one image datum.SOLUTION: This invention is based on knowledge that a drawing target is identified by an image ID, and processing in correspondence with the image ID is executed, and the three-dimensional computer graphics can be achieved at high speed with low power consumption while minimizing a hardware scale. The three-dimensional computer graphic drawing system includes a geometry processing part 11, a rasterizing processing part 12, a coloring processing part 13, and a buffer 14.

Description

本発明は3次元コンピュータグラフィックス描画システムに関する。   The present invention relates to a three-dimensional computer graphics drawing system.

近年,マルチディスプレイや立体画像動画など,1つの画像をもとに複数種類の3次元コンピュータグラフィックスを得て表示する技術が開発されている。   In recent years, techniques for obtaining and displaying a plurality of types of three-dimensional computer graphics based on one image, such as a multi-display and a stereoscopic image moving image, have been developed.

特開2009−116856号公報には,複数の視点から描画する際にシーンデータを管理する方法が開示されている。この方法は,実際に複数の視点の描画をより速く行う処理することはできない。   Japanese Unexamined Patent Application Publication No. 2009-116856 discloses a method for managing scene data when drawing from a plurality of viewpoints. This method cannot actually perform the drawing of a plurality of viewpoints faster.

特開2009−116856号公報JP 2009-116856 A

そこで,本発明は,1つの画像データから,リアルタイムに複数種類の3次元コンピュータグラフィックスを得ることができる3次元コンピュータグラフィックス描画システムを提供することを目的とする。   Therefore, an object of the present invention is to provide a three-dimensional computer graphics drawing system that can obtain a plurality of types of three-dimensional computer graphics in real time from one image data.

本発明は,基本的には,描画対象を画像IDにより識別子,この画像IDに応じた処理を行うことで,ハードウェア規模を最小にしながら,高速かつ低消費電力で3次元コンピュータグラフィックスを得ることができるという知見に基づくものである。   The present invention basically obtains 3D computer graphics at high speed and with low power consumption while minimizing the hardware scale by identifying a drawing target by an image ID and performing processing according to the image ID. It is based on the knowledge that it is possible.

本発明の第1の側面は,3次元コンピュータグラフィックス描画システムに関する。この3次元コンピュータグラフィックス描画システムは,ジオメトリ処理部11と,ラスタライズ処理部12と,カラー処理部13と,バッファ14と,を有する。   A first aspect of the present invention relates to a three-dimensional computer graphics drawing system. The three-dimensional computer graphics drawing system includes a geometry processing unit 11, a rasterization processing unit 12, a color processing unit 13, and a buffer 14.

ジオメトリ処理部11は,入力される描画プリミティブデータにジオメトリ処理を行う要素である。ジオメトリ処理部11は,描画プリミティブデータに画像IDを付加する画像ID付加部13と,画像ID付加部により付加される画像IDに応じてジオメトリ演算を行うジオメトリ演算部16とを有する。そして,ジオメトリ処理部11は,ジオメトリ演算を行ったプリミティブデータを画像IDとともに出力するものである。   The geometry processing unit 11 is an element that performs geometry processing on input drawing primitive data. The geometry processing unit 11 includes an image ID adding unit 13 that adds an image ID to the drawing primitive data, and a geometry calculating unit 16 that performs a geometry calculation according to the image ID added by the image ID adding unit. The geometry processing unit 11 outputs the primitive data subjected to the geometry calculation together with the image ID.

ラスタライズ処理部12は,ジオメトリ処理部によりジオメトリ処理が行われたポリゴンデータに対してラスタライズ処理を行うための要素である。ラスタライズ処理部12は,画像IDを判別するための第1の画像ID判別部17と,第1の画像ID判別部が判別した画像IDに応じてラスタライズ演算を行うラスタライズ演算部18と,を有する。そして,ラスタライズ処理部12は,ラスタライズ演算を行った画像データを画像IDとともに出力するものである。   The rasterization processing unit 12 is an element for performing rasterization processing on polygon data subjected to geometry processing by the geometry processing unit. The rasterization processing unit 12 includes a first image ID determination unit 17 for determining an image ID, and a rasterization calculation unit 18 that performs a rasterization calculation according to the image ID determined by the first image ID determination unit. . The rasterization processing unit 12 outputs the image data subjected to the rasterization calculation together with the image ID.

カラー処理部13は,ラスタライズ処理部によりラスタライズ処理が行われた画像データに対してカラー処理を行うための要素である。カラー処理部13は,画像IDを判別するための第2の画像ID判別部19と,第2の画像ID判別部が判別した画像IDに応じてカラー演算を行うカラー演算部20と,を有する。そして,カラー処理部13は,カラー演算を行った画像データを画像IDとともに出力するものである。   The color processing unit 13 is an element for performing color processing on the image data that has been rasterized by the rasterization processing unit. The color processing unit 13 includes a second image ID determination unit 19 for determining an image ID, and a color calculation unit 20 that performs color calculation according to the image ID determined by the second image ID determination unit. . The color processing unit 13 outputs the image data subjected to the color calculation together with the image ID.

バッファ14は,カラー処理が行われた画像データを記憶するための要素である。バッファ14は,画像IDによって指定されるターゲットバッファ21を有し,バッファ14に入力される画像データは,画像IDに応じたターゲットバッファ21に格納される。   The buffer 14 is an element for storing image data that has undergone color processing. The buffer 14 has a target buffer 21 specified by an image ID, and image data input to the buffer 14 is stored in the target buffer 21 corresponding to the image ID.

第1の側面の好ましい態様は,描画プリミティブデータに画像IDを付加する第2の画像ID付加部33をさらに有するものである   A preferred embodiment of the first aspect further includes a second image ID adding unit 33 for adding an image ID to the drawing primitive data.

第1の側面の好ましい態様は,ジオメトリ演算部16は,幾何変換処理部31及び光源演算処理部32を有するものである。そして,幾何変換処理部31は,画像IDに応じて幾何演算を行い,光源演算処理部32は,画像IDに応じて光源演算を行う。   In a preferred embodiment of the first aspect, the geometry calculation unit 16 includes a geometric conversion processing unit 31 and a light source calculation processing unit 32. Then, the geometric conversion processing unit 31 performs geometric calculation according to the image ID, and the light source calculation processing unit 32 performs light source calculation according to the image ID.

第1の側面の好ましい態様は,ジオメトリ演算部16は,幾何変換処理部31及び光源演算処理部32を有する。そして,幾何変換処理部31は,画像IDのグループごとに幾何演算を行う複数の幾何変換処理要素を有し,光源演算処理部32は,画像IDのグループごとに光源演算を行う複数の光源演算要素を有する。   In a preferred aspect of the first aspect, the geometry calculation unit 16 includes a geometric conversion processing unit 31 and a light source calculation processing unit 32. The geometric transformation processing unit 31 includes a plurality of geometric transformation processing elements that perform geometric computation for each group of image IDs, and the light source computation processing unit 32 performs a plurality of light source computations that perform light source computation for each group of image IDs. Has an element.

第1の側面の好ましい態様は,ラスタライズ演算部18は,ラスタライズ処理コア部35及びパラメータ補間処理部36を有する。そして,ラスタライズ処理コア部35は,画像IDのグループごとに演算を行う複数のラスタライズ処理コア要素を有する。そして,パラメータ補間処理部36は,画像IDのグループごとにパラメータ補間演算を行う複数のパラメータ補間要素を有する。   In a preferred embodiment of the first aspect, the rasterization calculation unit 18 includes a rasterization processing core unit 35 and a parameter interpolation processing unit 36. The rasterization processing core unit 35 includes a plurality of rasterization processing core elements that perform operations for each group of image IDs. The parameter interpolation processing unit 36 includes a plurality of parameter interpolation elements that perform parameter interpolation calculation for each group of image IDs.

第1の側面の好ましい態様は,カラー演算部20はカラーブレンディング演算を行うカラーブレンディング部37と,奥行き値演算を行う奥行き値処理部38と,画像IDに基づいてカラーブレンディング部37が求めたカラーブレンディング値,及び奥行き値処理部38が求めた奥行き値を記憶するカラー及び奥行き値キャッシュ部39を有する。   In a preferred embodiment of the first aspect, the color calculation unit 20 is a color blending unit 37 that performs color blending calculation, a depth value processing unit 38 that performs depth value calculation, and a color obtained by the color blending unit 37 based on the image ID. A color and depth value cache unit 39 for storing the blending value and the depth value obtained by the depth value processing unit 38 is provided.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備するマルチディスプレイシステムに関する。   A preferable usage mode of the first aspect relates to a multi-display system including the above-described three-dimensional computer graphics drawing system.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備する立体ディスプレイシステムに関する。   A preferable usage mode of the first aspect relates to a stereoscopic display system including the above-described three-dimensional computer graphics drawing system.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備するコンピュータに関する。   A preferred usage mode of the first aspect relates to a computer including the above three-dimensional computer graphics drawing system.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備するゲーム機に関する。   A preferred usage mode of the first aspect relates to a game machine including the above-described three-dimensional computer graphics drawing system.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備する携帯電話に関する。   A preferable usage mode of the first aspect relates to a mobile phone including the above-described three-dimensional computer graphics drawing system.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備するナビゲーションシステムに関する。   A preferred mode of use of the first aspect relates to a navigation system comprising the above three-dimensional computer graphics drawing system.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備するスロットマシーンに関する。   A preferred mode of use of the first aspect relates to a slot machine having the above three-dimensional computer graphics drawing system.

本発明によれば,1つの画像データから,リアルタイムに複数種類の3次元コンピュータグラフィックスを得ることができる3次元コンピュータグラフィックス描画システムを提供することができる。   According to the present invention, it is possible to provide a 3D computer graphics drawing system capable of obtaining a plurality of types of 3D computer graphics in real time from one image data.

図1は,本発明の基本構成を示すブロック図である。FIG. 1 is a block diagram showing the basic configuration of the present invention. 図2は,ジオメトリ演算部の例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of the geometry calculation unit. 図3は,ラスタライズ演算部の例を示すブロック図である。FIG. 3 is a block diagram illustrating an example of a rasterize calculation unit. 図4は,本発明の好ましいカラー処理部を示すブロック図である。FIG. 4 is a block diagram showing a preferred color processing unit of the present invention. 図5は,本発明の好ましいカラー書き出し部を示すブロック図である。FIG. 5 is a block diagram showing a preferred color writing unit of the present invention. 図6は,マルチディスプレイシステムの例を示す図である。FIG. 6 is a diagram illustrating an example of a multi-display system. 図7は,本発明のある実施態様(コンピュータ)を示すブロック図である。FIG. 7 is a block diagram showing an embodiment (computer) of the present invention. 図8は,本発明のある実施形態(ゲーム機)のブロック図である。FIG. 8 is a block diagram of an embodiment (game machine) according to the present invention. 図9は,本発明のある実施形態(コンピュータグラフィック機能つき携帯電話機)のブロック図である。FIG. 9 is a block diagram of an embodiment of the present invention (a mobile phone with a computer graphic function). 図10は,本発明のある実施形態(ナビゲーションシステム)のブロック図である。FIG. 10 is a block diagram of an embodiment (navigation system) of the present invention. 図11は,パチスロ機の主制御回路361を示すブロック図である。FIG. 11 is a block diagram showing the main control circuit 361 of the pachislot machine. 図12は,パチスロ機の副制御回路を示すブロック図である。FIG. 12 is a block diagram showing a sub control circuit of the pachislot machine.

図1は,本発明の基本構成を示すブロック図である。図1に示されるように,本発明の
3次元コンピュータグラフィックス描画システムは,ジオメトリ処理部11と,ラスタライズ処理部12と,カラー処理部13と,バッファ14と,を有する。
FIG. 1 is a block diagram showing the basic configuration of the present invention. As shown in FIG. 1, the three-dimensional computer graphics drawing system of the present invention includes a geometry processing unit 11, a rasterization processing unit 12, a color processing unit 13, and a buffer 14.

ジオメトリ処理部11は,入力される描画プリミティブデータにジオメトリ処理を行う要素である。すなわち,ジオメトリ処理部11は,プリミティブの頂点単位の座標変換処理を行う。ジオメトリ処理部11は,描画プリミティブデータに画像IDを付加する画像ID付加部13と,画像ID付加部により付加される画像IDに応じてジオメトリ演算を行うジオメトリ演算部16とを有する。そして,ジオメトリ処理部11は,ジオメトリ演算を行ったプリミティブデータを画像IDとともに出力するものである。   The geometry processing unit 11 is an element that performs geometry processing on input drawing primitive data. That is, the geometry processing unit 11 performs coordinate conversion processing for each vertex of the primitive. The geometry processing unit 11 includes an image ID adding unit 13 that adds an image ID to the drawing primitive data, and a geometry calculating unit 16 that performs a geometry calculation according to the image ID added by the image ID adding unit. The geometry processing unit 11 outputs the primitive data subjected to the geometry calculation together with the image ID.

ジオメトリ演算部16は,幾何変換処理部31及び光源演算処理部32を有するものである。そして,幾何変換処理部31は,画像IDに応じて幾何演算を行い,光源演算処理部32は,画像IDに応じて光源演算を行う。たとえば,記憶部が画像IDに対応する変換行列を有しており,画像IDに対応する行列変換を行うようにすればよい。このようにすることで,複数視点や複数表示範囲に対応する幾何変換を行うことができる。さらに,同一の幾何変換処理部31及び同一の光源演算処理部32を並列に複数並べることで,上記の処理を行うことができ,これによりシステムを小さくすることができるほか,システムの処理を迅速なものにすることができる。   The geometry calculation unit 16 includes a geometric conversion processing unit 31 and a light source calculation processing unit 32. Then, the geometric conversion processing unit 31 performs geometric calculation according to the image ID, and the light source calculation processing unit 32 performs light source calculation according to the image ID. For example, the storage unit has a conversion matrix corresponding to the image ID, and the matrix conversion corresponding to the image ID may be performed. In this way, geometric conversion corresponding to a plurality of viewpoints and a plurality of display ranges can be performed. Furthermore, by arranging a plurality of the same geometric transformation processing unit 31 and the same light source calculation processing unit 32 in parallel, the above-described processing can be performed, thereby making it possible to reduce the system and to speed up the processing of the system. Can be made.

図2は,ジオメトリ演算部の例を示すブロック図である。図2に示されるように,ジオメトリ演算部16は,幾何変換処理部31及び光源演算処理部32を有する。そして,幾何変換処理部31は,画像IDのグループごとに幾何演算を行う複数の幾何変換処理要素を有し,光源演算処理部32は,画像IDのグループごとに光源演算を行う複数の光源演算要素を有する。   FIG. 2 is a block diagram illustrating an example of the geometry calculation unit. As shown in FIG. 2, the geometry calculation unit 16 includes a geometric conversion processing unit 31 and a light source calculation processing unit 32. The geometric transformation processing unit 31 includes a plurality of geometric transformation processing elements that perform geometric computation for each group of image IDs, and the light source computation processing unit 32 performs a plurality of light source computations that perform light source computation for each group of image IDs. Has an element.

プリミティブデータである,頂点,及び頂点の属性が,入力インターフェイス41を介して,ジオメトリ演算部16に入力する。そして,あらかじめ,画像IDに応じた幾何変換処理部31,及び光源演算処理部32を選択しておき,画像ID付加部13が画像IDを読み出し可能な状態としておく。また,画像ID付加部13には,処理に応じて各画像IDを付加するための制御信号が入力されてもよい。たとえば,立体映像を得る場合は,ジオメトリ演算部16が,右目用の幾何変換処理部31及び光源演算処理部32と,左目用の幾何変換処理部31及び光源演算処理部32を含み,それぞれ画像IDにより選択できるようにされていればよい。そして,画像ID付加部13では,プリミティブデータに対して,画像IDを付加する。   The vertices and the attributes of the vertices, which are primitive data, are input to the geometry calculation unit 16 via the input interface 41. Then, the geometric conversion processing unit 31 and the light source calculation processing unit 32 corresponding to the image ID are selected in advance so that the image ID adding unit 13 can read the image ID. In addition, a control signal for adding each image ID may be input to the image ID adding unit 13 according to processing. For example, in the case of obtaining a stereoscopic image, the geometry calculation unit 16 includes a geometric conversion processing unit 31 and a light source calculation processing unit 32 for the right eye, and a geometric conversion processing unit 31 and a light source calculation processing unit 32 for the left eye. It suffices that the ID can be selected. The image ID adding unit 13 adds an image ID to the primitive data.

また,複数の幾何変換処理部31及び光源演算処理部32は,それぞれ画像IDで指定できるようにされており,それぞれ異なる種類の幾何変換処理及び光源演算処理を行うことができるようにされていてもよい。そして,その場合,画像ID付加部は,対応する幾何変換処理及び光源演算処理に関する情報を受け取って,プリミティブデータに処理に応じた画像IDを付加すればよい。   The plurality of geometric conversion processing units 31 and the light source calculation processing unit 32 can be designated by image IDs, respectively, and can perform different types of geometric conversion processing and light source calculation processing. Also good. In this case, the image ID adding unit may receive information regarding the corresponding geometric transformation process and light source calculation process, and add an image ID corresponding to the process to the primitive data.

複数の幾何変換処理部31及び光源演算処理部32での処理を経たプリミティブデータは,出力インターフェイス42を介して,出力される。   The primitive data that has undergone processing in the plurality of geometric transformation processing units 31 and the light source calculation processing unit 32 is output via the output interface 42.

ジオメトリ演算部の処理例は以下のとおりである。入力されたトライアングルデータは,あらかじめ指定された各変換行列T1−Tを適用し複数トライアングルを生成する。このとき同時に画像出力IDを付加し後段に出力する。その後,ラスタライズ処理部にてそれぞれのトライアングルに対してピクセルにサンプリングするラスタライズ処理を行う。なお,このラスタライズを行う際,それぞれのトライアングルに対して並列処理で行ってもいいし,入力された順番に行ってもいいし,ブロック単位で各画像出力IDを変えながら行ってもいい(ブロック1−画像ID1, ブロック1−画像ID2,
ブロック1−画像ID3, ブロック2−画像ID1, ブロック2−画像ID2, ブロック1−画像ID3...)。
A processing example of the geometry calculation unit is as follows. The input triangle data is applied to each of the transformation matrices T 1 -T n specified in advance to generate a plurality of triangles. At this time, an image output ID is added at the same time and output to the subsequent stage. After that, the rasterization processing unit performs rasterization processing to sample each triangle for each triangle. When this rasterization is performed, each triangle may be processed in parallel, in the order of input, or may be performed while changing each image output ID in block units (block 1-Image ID1, Block 1-Image ID2,
Block 1-image ID 3, block 2-image ID 1, block 2-image ID 2, block 1-image ID 3. . . ).

ラスタライズ処理部12は,ジオメトリ処理部によりジオメトリ処理が行われたポリゴンデータに対してラスタライズ処理を行うための要素である。ラスタライズ処理部12は,画像IDを判別するための第1の画像ID判別部17と,第1の画像ID判別部が判別した画像IDに応じてラスタライズ演算を行うラスタライズ演算部18と,を有する。そして,ラスタライズ処理部12は,ラスタライズ演算を行った画像データを画像IDとともに出力するものである。   The rasterization processing unit 12 is an element for performing rasterization processing on polygon data subjected to geometry processing by the geometry processing unit. The rasterization processing unit 12 includes a first image ID determination unit 17 for determining an image ID, and a rasterization calculation unit 18 that performs a rasterization calculation according to the image ID determined by the first image ID determination unit. . The rasterization processing unit 12 outputs the image data subjected to the rasterization calculation together with the image ID.

図3は,ラスタライズ演算部の例を示すブロック図である。図3に示されるように,ラスタライズ演算部18は,ラスタライズ処理コア部35及びパラメータ補間処理部36を有する。ラスタライズ処理コア部は,ラスタライズ処理を行うためのコア部である。コア部の例は,IPコアである。ラスタライズ処理コア部は,データを一時的に記憶するほか,データの経路を決定する処理を行う。パラメータ補間処理部36は,頂点間の各種パラメータを内掃補間するための要素である。そして,ラスタライズ処理コア部35は,画像IDのグループごとに演算を行う複数のラスタライズ処理コア要素を有する。そして,パラメータ補間処理部36は,画像IDのグループごとにパラメータ補間演算を行う複数のパラメータ補間要素を有する。   FIG. 3 is a block diagram illustrating an example of a rasterize calculation unit. As shown in FIG. 3, the rasterization calculation unit 18 includes a rasterization processing core unit 35 and a parameter interpolation processing unit 36. The rasterization processing core unit is a core unit for performing rasterization processing. An example of the core part is an IP core. The rasterization processing core unit temporarily stores data and performs processing for determining a data path. The parameter interpolation processing unit 36 is an element for interpolating various parameters between vertices. The rasterization processing core unit 35 includes a plurality of rasterization processing core elements that perform operations for each group of image IDs. The parameter interpolation processing unit 36 includes a plurality of parameter interpolation elements that perform parameter interpolation calculation for each group of image IDs.

プリミティブの頂点,頂点に対応する属性情報及び画像IDが入力インターフェイス部43に入力する。例えば,クリッピング処理,ビューポート処理,及び補間パラメータ演算処理を含む頂点に関する前処理が前処理部44にて行われる。前処理が行われた画像データは,画像IDに従って,ラスタライズ処理コア部35へと伝えられる。そして,ラスタライズ処理コア部35では,例えば画像IDに従って画像データが記憶され,適切なパラメータ処理を行うパラメータ補間処理部36へと送られる。その後,ピクセルのサンプリング位置を示す,x,y座標,属性情報,及び画像IDとともに,出力インターフェイス44から出力される。   The primitive vertices, the attribute information corresponding to the vertices, and the image ID are input to the input interface unit 43. For example, preprocessing relating to vertices including clipping processing, viewport processing, and interpolation parameter calculation processing is performed by the preprocessing unit 44. The preprocessed image data is transmitted to the rasterization processing core unit 35 according to the image ID. Then, in the rasterization processing core unit 35, for example, image data is stored in accordance with the image ID and is sent to the parameter interpolation processing unit 36 that performs appropriate parameter processing. Thereafter, the data is output from the output interface 44 together with the x and y coordinates, the attribute information, and the image ID indicating the sampling position of the pixel.

なお,本発明のシステムをマルチプルモニタに用いる場合は,画面ブロック単位にてラスタライズ処理コア部35及びパラメータ補間処理部36が存在するものが好ましい。そのようにすることで,処理を迅速に行うことができる。   When the system of the present invention is used for multiple monitors, it is preferable that the rasterization processing core unit 35 and the parameter interpolation processing unit 36 exist for each screen block. By doing so, processing can be performed quickly.

カラー処理部13は,ラスタライズ処理部によりラスタライズ処理が行われた画像データに対してカラー処理を行うための要素である。カラー処理部13は,画像IDを判別するための第2の画像ID判別部19と,第2の画像ID判別部が判別した画像IDに応じてカラー演算を行うカラー演算部20と,を有する。そして,カラー処理部13は,カラー演算を行った画像データを画像IDとともに出力するものである。なお,カラー処理部は,画像IDに基づかない通常のコンピュータグラフィックス処理におけるカラー処理を行ってもよい。ただし,後述するようにカラー処理部13にも画像IDが伝えられ,画像IDに応じてカラー処理された画像データが,ターゲットバッファ21に格納される。   The color processing unit 13 is an element for performing color processing on the image data that has been rasterized by the rasterization processing unit. The color processing unit 13 includes a second image ID determination unit 19 for determining an image ID, and a color calculation unit 20 that performs color calculation according to the image ID determined by the second image ID determination unit. . The color processing unit 13 outputs the image data subjected to the color calculation together with the image ID. The color processing unit may perform color processing in normal computer graphics processing that is not based on the image ID. However, as described later, the image ID is also transmitted to the color processing unit 13, and the image data subjected to color processing according to the image ID is stored in the target buffer 21.

図4は,本発明の好ましいカラー処理部を示すブロック図である。この例では,カラー処理部は,テクスチャ処理を行うテクスチャ処理部45と,テクスチャデータを記憶するテクスチャデータベース46とを含む。コンピュータグラフィックスの分野において,テクスチャ処理は既に知られている。よって,本発明においては,公知のテクスチャ処理部を採用できる。さらに,図4の例では,カラー処理部13が,カラー書き出し部46を含む。カラー書き出し部46は,入力された画像IDを基に画像データをいずれかのターゲットバッファ21に格納する。   FIG. 4 is a block diagram showing a preferred color processing unit of the present invention. In this example, the color processing unit includes a texture processing unit 45 that performs texture processing and a texture database 46 that stores texture data. Texture processing is already known in the field of computer graphics. Therefore, a known texture processing unit can be employed in the present invention. Further, in the example of FIG. 4, the color processing unit 13 includes a color writing unit 46. The color writing unit 46 stores the image data in any of the target buffers 21 based on the input image ID.

図5は,本発明の好ましいカラー書き出し部を示すブロック図である。この例では,カラー書き出し部は,カラーブレンディング演算を行うカラーブレンディング部37と,奥行き値演算を行う奥行き値処理部38と,画像IDに基づいてカラーブレンディング部37が求めたカラーブレンディング値,及び奥行き値処理部38が求めた奥行き値を記憶するカラー及び奥行き値キャッシュ部39を有する。   FIG. 5 is a block diagram showing a preferred color writing unit of the present invention. In this example, the color writing unit includes a color blending unit 37 that performs a color blending operation, a depth value processing unit 38 that performs a depth value calculation, a color blending value obtained by the color blending unit 37 based on an image ID, and a depth. A color and depth value cache unit 39 for storing the depth value obtained by the value processing unit 38 is provided.

すなわち,カラー処理部においてテクスチャ処理及びカラー処理が行われたピクセルデータが,入力インターフェイス51を介して伝えられる。ピクセルデータは,入力インターフェイス51から,カラーブレンディング部37及び奥行き値処理部38へ入力される。カラーブレンディング部37が求めたカラーブレンディング値,及び奥行き値処理部38が求めた奥行き値は,画像IDに基づいてカラー及び奥行き値キャッシュ部39に記憶される。そして,必要なタイミングで,メモリアクセスアービトレーション及び出力インターフェイス53を介して,外部メモリへの書き出しが行われる。   That is, pixel data that has undergone texture processing and color processing in the color processing unit is transmitted via the input interface 51. Pixel data is input from the input interface 51 to the color blending unit 37 and the depth value processing unit 38. The color blending value obtained by the color blending unit 37 and the depth value obtained by the depth value processing unit 38 are stored in the color and depth value cache unit 39 based on the image ID. Then, at a necessary timing, writing to the external memory is performed via the memory access arbitration and output interface 53.

バッファ14は,カラー処理が行われた画像データを記憶するための要素である。バッファ14は,画像IDによって指定されるターゲットバッファ21を有し,バッファ14に入力される画像データは,画像IDに応じたターゲットバッファ21に格納される。   The buffer 14 is an element for storing image data that has undergone color processing. The buffer 14 has a target buffer 21 specified by an image ID, and image data input to the buffer 14 is stored in the target buffer 21 corresponding to the image ID.

第1の側面の好ましい態様は,描画プリミティブデータに画像IDを付加する第2の画像ID付加部33をさらに有するものである   A preferred embodiment of the first aspect further includes a second image ID adding unit 33 for adding an image ID to the drawing primitive data.

この例では,たとえば,プリミティブデータとともに画像IDが,ジオメトリ処理部11に入力する。そして,この画像IDを用いて,各種演算処理が行われる。この場合,外部から画像IDを指定することができるので,さまざまな画像処理を行うことができる。   In this example, for example, the image ID is input to the geometry processing unit 11 together with the primitive data. Various arithmetic processes are performed using the image ID. In this case, since an image ID can be designated from the outside, various image processing can be performed.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備するマルチディスプレイシステムに関する。360度に並んだディスプレイや,複数ディスプレイからなる大きなディスプレイに対して本発明のシステムを用いることで,1回のトライアングルデータで複数画像を同時に生成,低遅延かつバッファサイズ最適化により高効率なメモリアクセスを実現することができる。また,画像IDを入力データに負荷することで,効率のいいコマンド描画生成を行うことできる。   A preferable usage mode of the first aspect relates to a multi-display system including the above-described three-dimensional computer graphics drawing system. By using the system of the present invention for a 360-degree display or a large display consisting of multiple displays, multiple images can be generated simultaneously with a single triangle data, and memory is highly efficient with low delay and optimized buffer size. Access can be realized. Also, by loading the image ID on the input data, efficient command drawing can be generated.

図6は,マルチディスプレイシステムの例を示す図である。3Dグラフィックス描画部から描画された複数視点からみたイメージを複数の画像出力インターフェイスから出力を行う。この際,3Dグラフィックス描画部からは1回ポリゴンデータなど3Dグラフィックス描画に必要なデータの読み出しが行われ複数画像バッファに同時に描画が行われる。今回の発明はこの同時描画を行う3Dグラフィックス処理部に関するものとなる。   FIG. 6 is a diagram illustrating an example of a multi-display system. An image viewed from a plurality of viewpoints drawn from the 3D graphics drawing unit is output from a plurality of image output interfaces. At this time, data necessary for 3D graphics drawing, such as polygon data, is once read from the 3D graphics drawing unit and simultaneously drawn in a plurality of image buffers. The present invention relates to a 3D graphics processing unit that performs this simultaneous drawing.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備する立体ディスプレイシステムに関する。立体視を実現する3Dディスプレイ向けの出力としては,右目用,左目用の画像を生成する必要がある。この際,本発明の本システムを用いることで,1回のトライアングルデータ入力で右目,左目用の画像を生成できると共に,ジオメトリ位置の差は小さいためテクスチャメモリアクセスキャッシュ,カラー・奥行き値のメモリアクセスキャッシュを効率よく使いこなすことができる。   A preferable usage mode of the first aspect relates to a stereoscopic display system including the above-described three-dimensional computer graphics drawing system. As an output for a 3D display that realizes stereoscopic vision, it is necessary to generate images for the right eye and the left eye. At this time, by using the system of the present invention, it is possible to generate images for the right eye and the left eye with a single input of triangle data, and because the difference in the geometry position is small, texture memory access cache, memory access for color and depth values The cache can be used efficiently.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備するコンピュータに関する。   A preferred usage mode of the first aspect relates to a computer including the above three-dimensional computer graphics drawing system.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備するゲーム機に関する。   A preferred usage mode of the first aspect relates to a game machine including the above-described three-dimensional computer graphics drawing system.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備する携帯電話に関する。   A preferable usage mode of the first aspect relates to a mobile phone including the above-described three-dimensional computer graphics drawing system.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備するナビゲーションシステムに関する。   A preferred mode of use of the first aspect relates to a navigation system comprising the above three-dimensional computer graphics drawing system.

第1の側面の好ましい利用態様は,上記の3次元コンピュータグラフィックス描画システムを具備するスロットマシーンに関する。   A preferred mode of use of the first aspect relates to a slot machine having the above three-dimensional computer graphics drawing system.

[コンピュータの構成]
図7は,本発明のある実施態様(コンピュータ)を示すブロック図である。この実施態様は,コンピュータグラフィックスによるコンピュータ(グラフィック用コンピュータなど)に関する。図7に示されるとおり,このコンピュータ101は,中央演算装置(CPU)102,ジオメトリ演算回路103などのジオメトリ演算部,レンダラー104などの描画部,テクスチャ生成回路105などのテクスチャ生成部,照光処理回路107などの照光処理部,表示回路108などの表示情報作成部,フレームバッファ109,及びモニター110を具備する。これらの要素は,バスなどにより接続され,相互にデータを伝達できる。そのほか,図示しないメインメモリや,各種テーブル,ワーク領域となるワークメモリ111,テクスチャを格納するテクスチャメモリ112などを具備する記憶部などを有しても良い。各部を構成するハードウェアは,例えばバスなどを介して連結されている。なお,記憶部は,VRAMなどのRAMや,CR−ROM,DVD,ハードディスクなどにより構成されても良い。
[Computer configuration]
FIG. 7 is a block diagram showing an embodiment (computer) of the present invention. This embodiment relates to a computer based on computer graphics (such as a graphic computer). As shown in FIG. 7, the computer 101 includes a central processing unit (CPU) 102, a geometry calculation unit such as a geometry calculation circuit 103, a rendering unit such as a renderer 104, a texture generation unit such as a texture generation circuit 105, and an illumination processing circuit. An illumination processing unit such as 107, a display information creation unit such as a display circuit 108, a frame buffer 109, and a monitor 110 are provided. These elements are connected by a bus or the like and can transmit data to each other. In addition, a storage unit including a main memory (not shown), various tables, a work memory 111 serving as a work area, a texture memory 112 storing textures, and the like may be included. The hardware constituting each unit is connected via a bus, for example. The storage unit may be configured by a RAM such as a VRAM, a CR-ROM, a DVD, a hard disk, or the like.

中央演算装置(CPU)102は,画像を生成するためのプログラムなどを制御するための装置である。ワークメモリ111は,CPU102で使用するデータ及びディスプレイリストなどを記憶してもよい。そして,CPU102は,メインメモリに記憶されたプログラムなどを読み出して,所定の処理を行ってもよい。ただし,ハードウェア処理のみにより所定の処理を行っても良い。CPU102は,たとえばワークメモリ111から,ワールド座標の3次元オブジェクトデータとしてのポリゴンデータを読出し,ポリゴンデータをジオメトリ演算回路103へ出力する。具体的には,メインプロセッサ,コプロセッサ,データ処理プロセッサ,四則演算回路又は汎用演算回路などを適宜有するものがあげられる。これらはバスなどにより連結され,信号の授受が可能とされる。また,圧縮された情報を伸張するためのデータ伸張プロセッサを備えても良い。   A central processing unit (CPU) 102 is a device for controlling a program or the like for generating an image. The work memory 111 may store data used by the CPU 102, a display list, and the like. Then, the CPU 102 may read a program or the like stored in the main memory and perform a predetermined process. However, the predetermined processing may be performed only by hardware processing. For example, the CPU 102 reads polygon data as world coordinate three-dimensional object data from the work memory 111 and outputs the polygon data to the geometry calculation circuit 103. Specifically, a processor having a main processor, a coprocessor, a data processor, four arithmetic operation circuits, a general-purpose operation circuit, or the like as appropriate. These are connected by a bus or the like so that signals can be exchanged. In addition, a data expansion processor for expanding compressed information may be provided.

ジオメトリ演算回路103は,入力されたポリゴンデータに対して,視点を原点とする視点座標系のデータに座標変換などを行うための回路である。ジオメトリ演算回路103は,処理したポリゴンデータを,レンダラー104へ出力する。具体的なジオメトリ演算回路として,前記メインプロセッサとバスなどで連結された,ジオメトリプロセッサ,コプロセッサ,データ処理プロセッサ,四則演算回路又は汎用演算回路などがあげられる。   The geometry calculation circuit 103 is a circuit for performing coordinate conversion or the like on the input polygon data to data in a viewpoint coordinate system with the viewpoint as the origin. The geometry calculation circuit 103 outputs the processed polygon data to the renderer 104. Specific geometry operation circuits include a geometry processor, coprocessor, data processor, four arithmetic operation circuit, or general-purpose operation circuit connected to the main processor through a bus.

レンダラー104は,ポリゴン単位のデータをピクセル単位のデータに変換するための回路又は装置である。レンダラー104は,ピクセル単位のデータをテクスチャ生成回路105へ出力する。具体的なレンダラー104として,前記メインプロセッサとバスなどで連結されたデータ処理プロセッサ,四則演算回路又は汎用演算回路などがあげられる。   The renderer 104 is a circuit or device for converting polygon unit data into pixel unit data. The renderer 104 outputs data in units of pixels to the texture generation circuit 105. Specific examples of the renderer 104 include a data processor, four arithmetic operation circuits, or a general-purpose arithmetic circuit connected to the main processor through a bus.

テクスチャ生成回路105は,テクスチャメモリ112に記憶されるテクスチャデータに基づき,ピクセル単位のテクスチャカラーを生成するための回路である。テクスチャ生成回路105は,テクスチャカラー情報を有するピクセル単位のデータを,照光処理回路107へ出力する。具体的なテクスチャ生成回路105として,前記メインプロセッサとバスなどで連結されたデータ処理プロセッサ,四則演算回路又は汎用演算回路などがあげられる。   The texture generation circuit 105 is a circuit for generating a texture color in units of pixels based on the texture data stored in the texture memory 112. The texture generation circuit 105 outputs pixel unit data having texture color information to the illumination processing circuit 107. Specific examples of the texture generation circuit 105 include a data processor connected to the main processor through a bus, a four arithmetic operation circuit, or a general-purpose operation circuit.

照光処理回路107は,テクスチャカラー情報を有するポリゴンに対し,ピクセル単位で法線ベクトル,重心座標などを利用して陰影付けなどを行うための回路である。照光処理回路107は,陰影付けした画像データを,表示回路108へ出力する。具体的な照光処理回路107として,前記メインプロセッサとバスなどで連結されたデータ処理プロセッサ,四則演算回路又は汎用演算回路などがあげられる。そして,メモリに格納されたテーブルなどから適宜光に関する情報を読み出して陰影付けを行えばよい。   The illumination processing circuit 107 is a circuit for performing shading on a polygon having texture color information using a normal vector, a barycentric coordinate, and the like in pixel units. The illumination processing circuit 107 outputs the shaded image data to the display circuit 108. Specific examples of the illumination processing circuit 107 include a data processing processor, four arithmetic operation circuits, or a general-purpose operation circuit connected to the main processor through a bus. Then, information relating to light may be appropriately read out from a table stored in the memory and the like to perform shading.

表示回路108は,照光処理回路107から入力された画像データをフレームバッファ109に書き込み,またフレームバッファ109に書き込まれた画像データを読み出し,制御して表示画像情報を得るための回路である。表示回路108は,表示画像情報をモニター110へ出力する。具体的な表示回路として,前記メインプロセッサとバスなどで連結された描画プロセッサ,データ処理プロセッサ,四則演算回路又は汎用演算回路などがあげられる。   The display circuit 108 is a circuit for writing the image data input from the illumination processing circuit 107 to the frame buffer 109, reading the image data written in the frame buffer 109, and controlling it to obtain display image information. The display circuit 108 outputs the display image information to the monitor 110. Specific examples of the display circuit include a drawing processor, a data processor, four arithmetic operation circuits, and a general-purpose operation circuit connected to the main processor through a bus.

モニター110は,入力された表示画像情報にしたがって,コンピュータグラフィックス画像を表示するための装置である。   The monitor 110 is a device for displaying a computer graphics image in accordance with input display image information.

本発明のコンピュータは,レンダラー,テクスチャ生成回路及び,表示装置として,本発明の画像生成装置を具備するので,これらにおける回路素子を共用することで,ハードウェアの規模を小さくできる。また,ジオメトリ部を2Dベクタ画像に適用することで,2Dベクタ画像に対するジオメトリ変換が可能となり,専用ハードウェアまたは,ソフトウェアによる演算を加えることなく,行列演算による形状変形,拡大縮小をベクタ画像に対して行うことができる。さらに,従来別々の物と扱われてきた,2D及び3Dの表示命令を一元的に扱うことが可能となり,また,これら2D/3D画像の合成についても同時に処理を行うことができることから,システムが複雑になる事態を効果的に防止できる。   Since the computer of the present invention includes the image generation apparatus of the present invention as a renderer, a texture generation circuit, and a display device, the scale of hardware can be reduced by sharing the circuit elements in these. In addition, by applying the geometry part to 2D vector images, it is possible to perform geometry conversion on 2D vector images, and shape transformation and scaling by matrix operations can be performed on vector images without adding dedicated hardware or software operations. Can be done. In addition, 2D and 3D display commands that have been treated as separate objects can be handled in a unified manner, and the composition of these 2D / 3D images can be performed at the same time. The situation which becomes complicated can be prevented effectively.

[コンピュータの動作]
以下,コンピュータを用いて画像を生成する動作例を説明する。CPU102は,ワークメモリ111から,ポリゴンデータを読出し,ポリゴンデータをジオメトリ演算回路103へ出力する。ジオメトリ演算回路103は,入力されたポリゴンデータに対して,視点を原点とする視点座標系のデータに座標変換するなどの処理を行う。ジオメトリ演算回路103は,処理したポリゴンデータを,レンダラー104へ出力する。レンダラー104は,ポリゴン単位のデータをピクセル単位のデータに変換する。レンダラー104とテクスチャ生成回路105は,テクスチャメモリ112に記憶されるテクスチャデータに基づき,ピクセル単位のテクスチャカラーを生成する。テクスチャ生成回路105は,テクスチャカラー情報を有するピクセル単位のデータを,照光処理回路107へ出力する。照光処理回路107は,テクスチャカラー情報を有するポリゴンに対し,ピクセル単位で法線ベクトル,重心座標などを利用して陰影付けを行う。照光処理回路107は,陰影付けした画像データを,表示回路108へ出力する。表示回路108は,照光処理回路107から入力された画像データをフレームバッファ109に書き込み,またフレームバッファ109に書き込まれた画像データを読み出し,表示画像情報を得る。また,このとき同時にエッジバッファ等の情報を用いることで,2D/3Dの合成処理を行うことができる。表示回路108は,表示画像情報をモニター110へ出力する。モニター110は,入力された表示画像情報にしたがって,コンピュータグラフィックス画像を表示する。
[Computer operation]
Hereinafter, an operation example of generating an image using a computer will be described. The CPU 102 reads polygon data from the work memory 111 and outputs the polygon data to the geometry calculation circuit 103. The geometry calculation circuit 103 performs processing such as coordinate conversion of the input polygon data into data of a viewpoint coordinate system with the viewpoint as the origin. The geometry calculation circuit 103 outputs the processed polygon data to the renderer 104. The renderer 104 converts polygon unit data into pixel unit data. The renderer 104 and the texture generation circuit 105 generate a texture color in units of pixels based on the texture data stored in the texture memory 112. The texture generation circuit 105 outputs pixel unit data having texture color information to the illumination processing circuit 107. The illumination processing circuit 107 shades a polygon having texture color information using a normal vector, barycentric coordinates, etc. in pixel units. The illumination processing circuit 107 outputs the shaded image data to the display circuit 108. The display circuit 108 writes the image data input from the illumination processing circuit 107 into the frame buffer 109, reads out the image data written into the frame buffer 109, and obtains display image information. At the same time, 2D / 3D synthesis processing can be performed by using information such as an edge buffer. The display circuit 108 outputs the display image information to the monitor 110. The monitor 110 displays a computer graphics image according to the input display image information.

本発明のコンピュータは,レンダラー,テクスチャ生成回路及び,表示装置として,本発明の画像生成装置を具備するので,これらにおける回路素子を共用することで,ハードウェアの規模を小さくできる。また,ジオメトリ部を2Dベクタ画像に適用することで,2Dベクタ画像に対するジオメトリ変換が可能となり,専用ハードウェアまたは,ソフトウェアによる演算を加えることなく,行列演算による形状変形,拡大縮小をベクタ画像に対して行うことができる。さらに,従来別々の物と扱われてきた,2D・ベクタ及び3Dの表示命令を一元的に扱うことが可能となり,また,これら2D/3D及びベクタ画像の合成についても同時に処理を行うことができることから,システムが複雑になる事態を効果的に防止できる。   Since the computer of the present invention includes the image generation apparatus of the present invention as a renderer, a texture generation circuit, and a display device, the scale of hardware can be reduced by sharing the circuit elements in these. In addition, by applying the geometry part to 2D vector images, it is possible to perform geometry conversion on 2D vector images, and shape transformation and scaling by matrix operations can be performed on vector images without adding dedicated hardware or software operations. Can be done. In addition, 2D / vector and 3D display commands that have been handled as separate objects can be handled in a unified manner, and the 2D / 3D and vector images can be combined simultaneously. Therefore, it is possible to effectively prevent the system from becoming complicated.

[ゲーム機の構成]
図8は,本発明のある実施形態(ゲーム機)のブロック図である。このブロック図で表される実施形態は,特に携帯用,家庭用又は業務用のゲーム機として好適に利用されうる。そこで,以下では,ゲーム機として説明する。なお,同図に示されるゲーム機は,少なくとも処理部200を含めばよく(又は処理部200と記憶部270,又は処理部200と記憶部270と情報記憶媒体280を含んでもよく),それ以外のブロック(例えば操作部260,表示部290,音出力部292,携帯型情報記憶装置294,通信部296)については,任意の構成要素とすることができる。
[Game console configuration]
FIG. 8 is a block diagram of an embodiment (game machine) according to the present invention. The embodiment represented by this block diagram can be suitably used particularly as a portable, home or business game machine. Therefore, in the following, it will be described as a game machine. Note that the game machine shown in the figure may include at least the processing unit 200 (or may include the processing unit 200 and the storage unit 270, or the processing unit 200, the storage unit 270, and the information storage medium 280). These blocks (for example, the operation unit 260, the display unit 290, the sound output unit 292, the portable information storage device 294, and the communication unit 296) can be arbitrary constituent elements.

処理部200は,システム全体の制御,システム内の各ブロックへの命令の指示,ゲーム処理,画像処理,音処理などの各種の処理を行うものである。処理部200の機能は,各種プロセッサ(CPU,DSP等),又はASIC(ゲートアレイ等)などのハードウェアや,所与のプログラム(ゲームプログラム)により実現できる。   The processing unit 200 performs various processes such as control of the entire system, instruction instruction to each block in the system, game processing, image processing, and sound processing. The function of the processing unit 200 can be realized by hardware such as various processors (CPU, DSP, etc.) or ASIC (gate array, etc.) and a given program (game program).

操作部260は,プレーヤが操作データを入力するためのものである。操作部260は,の機能は,例えば,レバー,ボタン,外枠,及びハードウェアを備えたコントローラにより実現できる。なお,特に携帯用ゲーム機の場合は,操作部260は,ゲーム機本体と一体として形成されても良い。コントローラからの処理情報は,シリアルインターフェース(I/F)やバスを介してメインプロセッサなどに伝えられる。   The operation unit 260 is for the player to input operation data. The function of the operation unit 260 can be realized by, for example, a controller including a lever, a button, an outer frame, and hardware. In particular, in the case of a portable game machine, the operation unit 260 may be formed integrally with the game machine body. Processing information from the controller is transmitted to the main processor via a serial interface (I / F) or bus.

記憶部270は,処理部200や通信部296などのワーク領域となるものである。また,プログラムや各種テーブルなどを格納しても良い。記憶部270は,例えば,メインメモリ272,フレームバッファ274,及びテクスチャ記憶部276を含んでもよく,そのほか各種テーブルなどを記憶しても良い。記憶部270の機能は,ROMやRAMなどのハードウェアにより実現できる。 RAMとして,VRAM,DRAM又はSRAMなどがあげられ,用途に応じて適宜選択すればよい。フレームバッファ274を構成するVRAMなどは,各種プロセッサの作業領域として用いられる。   The storage unit 270 is a work area such as the processing unit 200 or the communication unit 296. In addition, programs and various tables may be stored. The storage unit 270 may include, for example, a main memory 272, a frame buffer 274, and a texture storage unit 276, and may also store various tables. The function of the storage unit 270 can be realized by hardware such as ROM and RAM. Examples of the RAM include VRAM, DRAM, and SRAM, and may be appropriately selected depending on the application. A VRAM or the like constituting the frame buffer 274 is used as a work area for various processors.

情報記憶媒体(コンピュータにより使用可能な記憶媒体)280は,プログラムやデータなどの情報を格納するものである。情報記憶媒体280は,いわゆるゲームカセットなどとして販売されうる。そして,情報記憶媒体280の機能は,光ディスク(CD,DVD),光磁気ディスク(MO),磁気ディスク,ハードディスク,磁気テープ,又はメモリ(ROM)などのハードウェアにより実現できる。処理部200は,この情報記憶媒体280に格納される情報に基づいて種々の処理を行う。情報記憶媒体280には,本発明(本実施形態)の手段(特に処理部200に含まれるブロック)を実行するための情報(プログラム又はプログラム及びデータ)が格納される。なお,上記記憶部にプログラムやデータなどの情報を格納した場合は,情報記憶媒体280は必ずしも必要ない。情報記憶媒体280に格納される情報の一部又は全部は,例えば,システムへの電源投入時等に記憶部270に転送されることになる。また,情報記憶媒体280に記憶される情報として,所定の処理を行うためのプログラムコード,画像データ,音データ,表示物の形状データ,テーブルデータ,リストデータ,本発明の処理を指示するための情報,その指示に従って処理を行うための情報等の少なくとも2つを含むものがあげられる。   An information storage medium (storage medium usable by a computer) 280 stores information such as programs and data. The information storage medium 280 can be sold as a so-called game cassette. The function of the information storage medium 280 can be realized by hardware such as an optical disk (CD, DVD), a magneto-optical disk (MO), a magnetic disk, a hard disk, a magnetic tape, or a memory (ROM). The processing unit 200 performs various processes based on information stored in the information storage medium 280. The information storage medium 280 stores information (program or program and data) for executing the means of the present invention (this embodiment) (particularly, the blocks included in the processing unit 200). Note that the information storage medium 280 is not necessarily required when information such as programs and data is stored in the storage unit. Part or all of the information stored in the information storage medium 280 is transferred to the storage unit 270 when the system is powered on, for example. Further, as information stored in the information storage medium 280, program code for performing a predetermined process, image data, sound data, display object shape data, table data, list data, and instructions for instructing the processing of the present invention. Information including at least two of information, information for processing according to the instruction, and the like.

表示部290は,本実施形態により生成された画像を出力するものであり,その機能は,CRT(ブラウン管),LCD(液晶),OEL(有機電界発光素子),PDP(プラズマディスプレイパネル)又はHMD(ヘッドマウントディスプレイ)などのハードウェアにより実現できる。   The display unit 290 outputs an image generated according to the present embodiment, and functions thereof are CRT (CRT), LCD (Liquid Crystal), OEL (Organic Electroluminescent Device), PDP (Plasma Display Panel), or HMD. It can be realized by hardware such as (head mounted display).

音出力部292は,音を出力するものである。音出力部292の機能は,スピーカなどのハードウェアにより実現できる。音出力は,例えばバスを介してメインプロセッサなどと接続されたサウンドプロセッサにより,音処理が施され,スピーカなどの音出力部から出力される。   The sound output unit 292 outputs sound. The function of the sound output unit 292 can be realized by hardware such as a speaker. The sound output is processed by a sound processor connected to the main processor or the like via a bus, for example, and output from a sound output unit such as a speaker.

携帯型情報記憶装置294は,プレーヤの個人データやセーブデータなどが記憶されるものである。この携帯型情報記憶装置294としては,メモリカードや携帯型ゲーム装置などがあげられる。携帯型情報記憶装置294の機能は,メモリカード,フラッシュメモリ,ハードディスク,USBメモリなど公知の記憶手段により達成できる。   The portable information storage device 294 stores player personal data, save data, and the like. Examples of the portable information storage device 294 include a memory card and a portable game device. The functions of the portable information storage device 294 can be achieved by known storage means such as a memory card, flash memory, hard disk, and USB memory.

通信部296は,外部(例えばホスト装置や他の画像生成システム)との間で通信を行うための各種の制御を行う任意のものである。通信部296の機能は,各種プロセッサ,又は通信用ASICなどのハードウェアや,プログラムなどにより実現できる。   The communication unit 296 is an arbitrary unit that performs various controls for communicating with the outside (for example, a host device or other image generation system). The function of the communication unit 296 can be realized by various processors, hardware such as a communication ASIC, a program, or the like.

ゲーム機を実行するためのプログラム又はデータは,ホスト装置(サーバー)が有する情報記憶媒体からネットワーク及び通信部296を介して情報記憶媒体280に配信するようにしてもよい。   The program or data for executing the game machine may be distributed from the information storage medium included in the host device (server) to the information storage medium 280 via the network and the communication unit 296.

処理部200は,ゲーム処理部220,画像処理部230,及び音処理部250を含むものがあげられる。具体的には,メインプロセッサ,コプロセッサ,ジオメトリプロセッサ,描画プロセッサ,データ処理プロセッサ,四則演算回路又は汎用演算回路などがあげられる。これらは適宜バスなどにより連結され,信号の授受が可能とされる。また,圧縮された情報を伸張するためのデータ伸張プロセッサを備えても良い。   Examples of the processing unit 200 include a game processing unit 220, an image processing unit 230, and a sound processing unit 250. Specific examples include a main processor, a coprocessor, a geometry processor, a drawing processor, a data processor, four arithmetic operation circuits, or a general-purpose operation circuit. These are appropriately connected by a bus or the like so that signals can be exchanged. In addition, a data expansion processor for expanding compressed information may be provided.

ここでゲーム処理部220は,コイン(代価)の受け付け処理,各種モードの設定処理,ゲームの進行処理,選択画面の設定処理,オブジェクトの位置や回転角度(X,Y又はZ軸回り回転角度)を求める処理,オブジェクトを動作させる処理(モーション処理),視点の位置(仮想カメラの位置)や視線角度(仮想カメラの回転角度)を求める処理,マップオブジェクトなどのオブジェクトをオブジェクト空間へ配置する処理,ヒットチェック処理,ゲーム結果(成果,成績)を演算する処理,複数のプレーヤが共通のゲーム空間でプレイするための処理,又はゲームオーバー処理などの種々のゲーム処理を,操作部260からの操作データや,携帯型情報記憶装置294からの個人データ,保存データや,ゲームプログラムなどに基づいて行う。   Here, the game processing unit 220 accepts coins (price), sets various modes, progresses the game, sets a selection screen, and positions and rotation angles of objects (rotation angles around the X, Y, or Z axes). , Processing to move the object (motion processing), processing to determine the position of the viewpoint (virtual camera position) and line-of-sight angle (virtual camera rotation angle), processing to place objects such as map objects in the object space, Operation data from the operation unit 260 includes various game processes such as a hit check process, a process for calculating game results (results, results), a process for a plurality of players to play in a common game space, or a game over process. Or based on personal data, stored data, game programs, etc. from the portable information storage device 294.

画像処理部230は,ゲーム処理部220からの指示等にしたがって,各種の画像処理を行うものである。また,音処理部250は,ゲーム処理部220からの指示等にしたがって,各種の音処理を行う。   The image processing unit 230 performs various types of image processing in accordance with instructions from the game processing unit 220 and the like. The sound processing unit 250 performs various types of sound processing in accordance with instructions from the game processing unit 220.

ゲーム処理部220,画像処理部230,音処理部250の機能は,その全てをハードウェアにより実現してもよいし,その全てをプログラムにより実現してもよい。又は,ハードウェアとプログラムの両方により実現してもよい。画像処理部230は,ジオメトリ演算部232(3次元座標演算部),描画部240(レンダリング部)を含むものがあげられる。   All of the functions of the game processing unit 220, the image processing unit 230, and the sound processing unit 250 may be realized by hardware, or all of them may be realized by a program. Alternatively, it may be realized by both hardware and a program. The image processing unit 230 includes one including a geometry calculation unit 232 (three-dimensional coordinate calculation unit) and a drawing unit 240 (rendering unit).

ジオメトリ演算部232は,座標変換,クリッピング処理,透視変換,又は光源計算などの種々のジオメトリ演算(3次元座標演算)を行う。そして,ジオメトリ処理後(透視変換後)のオブジェクトデータ(オブジェクトの頂点座標,頂点テクスチャ座標,又は輝度データ等)は,例えば,記憶部270のメインメモリ272に格納されて,保存される。   The geometry calculation unit 232 performs various geometry calculations (three-dimensional coordinate calculation) such as coordinate conversion, clipping processing, perspective conversion, or light source calculation. Then, the object data (after the perspective transformation) after the geometry processing (object vertex coordinates, vertex texture coordinates, luminance data, or the like) is stored in the main memory 272 of the storage unit 270 and saved, for example.

描画部240は,ジオメトリ演算後(透視変換後)のオブジェクトデータと,テクスチャ記憶部276に記憶されるテクスチャなどに基づいて,オブジェクトをフレームバッファ274に描画する。   The drawing unit 240 draws the object in the frame buffer 274 based on the object data after the geometry calculation (after perspective transformation) and the texture stored in the texture storage unit 276.

描画部240は,例えば,テクスチャマッピング部242,シェーディング処理部244を含むものがあげられる。具体的には,描画プロセッサにより実装できる。描画プロセッサは,テクスチャ記憶部,各種テーブル,フレームバッファ,VRAMなどとバスなどを介して接続され,更にディスプレイと接続される。   Examples of the drawing unit 240 include a texture mapping unit 242 and a shading processing unit 244. Specifically, it can be implemented by a drawing processor. The drawing processor is connected to a texture storage unit, various tables, a frame buffer, a VRAM, and the like via a bus and further connected to a display.

テクスチャマッピング部242は,環境テクスチャをテクスチャ記憶部276から読み出し,読み出された環境テクスチャを,オブジェクトに対してマッピングする。   The texture mapping unit 242 reads the environment texture from the texture storage unit 276, and maps the read environment texture to the object.

シェーディング処理部244は,オブジェクトに対するシェーディング処理を行う。例えば,ジオメトリ処理部232が光源計算を行い,シェーディング処理用の光源の情報や,照明モデルや,オブジェクトの各頂点の法線ベクトルなどに基づいて,オブジェクトの各頂点の輝度(RGB)を求める。シェーディング処理部244は,この各頂点の輝度に基づいて,プリミティブ面(ポリゴン,曲面)の各ドットの輝度を例えば,ホンシェーディングや,グーローシェーディングなどにより求める。   The shading processing unit 244 performs shading processing on the object. For example, the geometry processing unit 232 performs light source calculation, and obtains the luminance (RGB) of each vertex of the object based on the light source information for shading processing, the illumination model, the normal vector of each vertex of the object, and the like. Based on the luminance of each vertex, the shading processing unit 244 obtains the luminance of each dot on the primitive surface (polygon, curved surface) by, for example, phone shading or Gouraud shading.

ジオメトリ演算部232は,法線ベクトル処理部234を含むものがあげられる。法線ベクトル処理部234は,オブジェクトの各頂点の法線ベクトル(広義にはオブジェクトの面の法線ベクトル)を,ローカル座標系からワールド座標系への回転マトリクスで回転させる処理を行ってもよい。   An example of the geometry calculation unit 232 includes a normal vector processing unit 234. The normal vector processing unit 234 may perform a process of rotating the normal vector of each vertex of the object (in a broad sense, the normal vector of the object surface) with a rotation matrix from the local coordinate system to the world coordinate system. .

本発明のゲーム機は,画像処理部に,本発明の画像生成装置を具備する。これにより,回路素子の共有化を図れるとともに,ゲーム処理部220からの制御先を画像処理に関して一元化することが可能となり,ベクタ・2D・3D画像処理に関する処理部を1つにすることにより,複雑な制御を避け,システムの複雑度を低減することができる。なお,ゲーム機における構成を適宜利用すれば,スロットマシーンやパチンコ遊技機などにおける画像表示装置としても機能しうるものを得ることができる。   The game machine of the present invention includes the image generation device of the present invention in the image processing unit. As a result, the circuit elements can be shared, and the control destination from the game processing unit 220 can be unified with respect to the image processing. By combining the processing units related to vector, 2D, and 3D image processing, it is possible to System control can be avoided and the complexity of the system can be reduced. If the configuration of the game machine is used as appropriate, it is possible to obtain a device that can also function as an image display device in a slot machine, a pachinko gaming machine, or the like.

[ゲーム機の基本動作]
システムの電源がONになると,情報記憶媒体280に格納される情報の一部又は全部は,例えば,記憶部270に転送される。そして,ゲーム処理用のプログラムが,例えばメインメモリ272に格納され,様々なデータが,テクスチャ記憶部276や,図示しないテーブルなどに格納される。
[Basic operation of game console]
When the system is turned on, part or all of the information stored in the information storage medium 280 is transferred to the storage unit 270, for example. A game processing program is stored in, for example, the main memory 272, and various data is stored in the texture storage unit 276, a table (not shown), or the like.

操作部260からの操作情報は,例えば,図示しないシリアルインターフェイスやバスを介して,処理部200へ伝えられ,音処理や,様々な画像処理が行われる。音処理部250により処理された音情報は,バスを介して音出力部292へ伝えられ,音として放出される。また,メモリカードなどの携帯型情報記憶装置194に記憶されたセーブ情報なども,図示しないシリアルインターフェイスやバスを介して,処理部200へ伝えられ所定のデータが記憶部170から読み出される。   Operation information from the operation unit 260 is transmitted to the processing unit 200 via, for example, a serial interface or bus (not shown), and sound processing and various image processing are performed. The sound information processed by the sound processing unit 250 is transmitted to the sound output unit 292 via the bus and released as sound. Also, save information stored in a portable information storage device 194 such as a memory card is transmitted to the processing unit 200 via a serial interface or bus (not shown), and predetermined data is read from the storage unit 170.

画像処理部230が,ゲーム処理部220からの指示等にしたがって,各種の画像処理を行う。具体的には,ジオメトリ演算部232が,座標変換,クリッピング処理,透視変換,又は光源計算などの種々のジオメトリ演算(3次元座標演算)を行う。そして,ジオメトリ処理後(透視変換後)のオブジェクトデータ(オブジェクトの頂点座標,頂点テクスチャ座標,又は輝度データ等)は,例えば,記憶部270のメインメモリ272に格納されて,保存される。次に,描画部240が,ジオメトリ演算後(透視変換後)のオブジェクトデータと,テクスチャ記憶部276に記憶されるテクスチャなどとに基づいて,オブジェクトをフレームバッファ274に描画する。   The image processing unit 230 performs various image processing in accordance with instructions from the game processing unit 220 and the like. Specifically, the geometry calculation unit 232 performs various geometry calculations (three-dimensional coordinate calculation) such as coordinate conversion, clipping processing, perspective conversion, or light source calculation. Then, the object data (after the perspective transformation) after the geometry processing (object vertex coordinates, vertex texture coordinates, luminance data, or the like) is stored in the main memory 272 of the storage unit 270 and saved, for example. Next, the drawing unit 240 draws the object in the frame buffer 274 based on the object data after the geometry calculation (after perspective transformation) and the texture stored in the texture storage unit 276.

フレームバッファ274に格納された情報は,バスを介して表示部290へ伝えられ,描画されることとなる。このようにして,コンピュータグラフィックを有するゲーム機として機能する。   The information stored in the frame buffer 274 is transmitted to the display unit 290 via the bus and drawn. In this way, it functions as a game machine having computer graphics.

本発明のゲーム機は,画像処理部に,本発明の画像生成装置を具備するので,回路素子などを共有することで,ハードウェア規模を縮減でき,ベクタ・2D・3D画像処理部を一元化することにより,システムが複雑になる事態を防止できることで,無駄なハードウェア・制御処理を少なくすることができる。前記により,開発・製造コスト,消費電力を低減することができるため,特に携帯式ゲーム機などに好適に利用される。   Since the game machine of the present invention includes the image generation apparatus of the present invention in the image processing unit, the hardware scale can be reduced by sharing circuit elements and the like, and the vector, 2D, and 3D image processing unit is unified. As a result, it is possible to reduce the wasteful hardware / control processing by preventing the system from becoming complicated. As described above, since development / manufacturing costs and power consumption can be reduced, the present invention is particularly suitable for portable game machines and the like.

[携帯電話機の構成]
図9は,本発明のある実施形態(コンピュータグラフィック機能つき携帯電話機)のブロック図である。このブロック図で表される実施形態は,特に3次元コンピュータグラフィック機能つき携帯電話機,特にゲーム機能付携帯電話や,ナビゲーション機能付形態電話として好適に利用されうる。
[Configuration of mobile phone]
FIG. 9 is a block diagram of an embodiment of the present invention (a mobile phone with a computer graphic function). The embodiment shown in this block diagram can be suitably used particularly as a mobile phone with a three-dimensional computer graphic function, particularly as a mobile phone with a game function or a mobile phone with a navigation function.

図9に示されるように,この携帯電話は,制御部221と,制御部221のためのプログラムや画像データなどが格納され,制御部や通信部などのワーク領域となるメモリ部222と,無線通信を行うための無線通信機能部223と,静止画や動画を撮影してデジタル信号に変換するCCDカメラなどの任意要素である撮像部224と,画像や文字を表示するためのLCDなどの表示部225と,テンキーや各種機能キーなどを含む操作部226と,音声通話のためのマイクなどの音声入力部227と,レシーバやスピーカなど音を出力するための音声出力部228と,当該携帯電話端末を動作させるための電池229と,電池229を安定化し各機能部へ分配する電源部230を含む。   As shown in FIG. 9, the mobile phone includes a control unit 221, a memory unit 222 that stores a program, image data, and the like for the control unit 221, and serves as a work area such as the control unit and the communication unit. A wireless communication function unit 223 for communication, an imaging unit 224 such as a CCD camera that captures still images and moving images and converts them into digital signals, and an LCD display for displaying images and characters Unit 225, operation unit 226 including numeric keys and various function keys, voice input unit 227 such as a microphone for voice calls, voice output unit 228 for outputting sounds such as a receiver and a speaker, and the mobile phone A battery 229 for operating the terminal and a power supply unit 230 that stabilizes the battery 229 and distributes the battery 229 to each functional unit are included.

制御部201は,携帯電話システム全体の制御,システム内の各ブロックへの命令の指示,ゲーム処理,画像処理,音処理などの各種の処理を行うものである。制御部221の機能は,各種プロセッサ(CPU,DSP等),又はASIC(ゲートアレイ等)などのハードウェアや,所与のプログラム(ゲームプログラム)により実現できる。 The control unit 201 performs various processing such as control of the entire mobile phone system, instruction instruction to each block in the system, game processing, image processing, and sound processing. The function of the control unit 221 can be realized by hardware such as various processors (CPU, DSP, etc.) or ASIC (gate array, etc.), or a given program (game program).

より具体的には,制御部は,図示しない画像処理部を具備し,画像処理部は,ジオメトリ演算回路などのジオメトリ演算部と,描画部(レンダラー)とを具備する。さらに,テクスチャ生成回路,照光処理回路,又は表示回路などを具備してもよい。更には,先に説明したコンピュータやゲーム機における描画処理回路を適宜具備すればよい。   More specifically, the control unit includes an image processing unit (not shown), and the image processing unit includes a geometry calculation unit such as a geometry calculation circuit and a drawing unit (renderer). Furthermore, a texture generation circuit, an illumination processing circuit, or a display circuit may be provided. Furthermore, the drawing processing circuit in the computer or game machine described above may be provided as appropriate.

本発明の携帯電話は,制御部に含まれるジオメトリ演算部や描画部として,本発明の画像生成装置を具備するので,回路素子などを共有することで,ハードウェア規模を縮減でき,ベクタ・2D・3D画像処理部を一元化することにより,システムが複雑になる事態を防止できることで,無駄なハードウェア・制御処理を少なくすることができる。前記により,開発・製造コスト,消費電力を低減することができるため,携帯電話など小規模な電話に好適に利用される。   Since the mobile phone of the present invention includes the image generation apparatus of the present invention as a geometry calculation unit and a drawing unit included in the control unit, the hardware scale can be reduced by sharing circuit elements and the like. By unifying the 3D image processing unit, it is possible to prevent a situation where the system is complicated, thereby reducing wasteful hardware / control processing. As described above, since development / manufacturing costs and power consumption can be reduced, the present invention is suitably used for small-sized telephones such as mobile phones.

[携帯電話機の動作例]
まず,音声による通信動作について説明する。例えば音声入力部227に入力された音声は,インターフェイスによりデジタル情報に変換され,制御部221によって,所定の処理が施され,無線通信機能部223から無線信号として出力される。また,相手の音情報を受信する場合は,無線通信機能部223が無線信号を受信し,所定の変換処理が施された後,制御部221の制御を受けて,音声出力部228から出力される。
[Operation example of mobile phone]
First, the voice communication operation will be described. For example, voice input to the voice input unit 227 is converted into digital information by the interface, subjected to predetermined processing by the control unit 221, and output as a radio signal from the radio communication function unit 223. Also, when receiving the other party's sound information, the wireless communication function unit 223 receives the wireless signal, undergoes a predetermined conversion process, and then is output from the audio output unit 228 under the control of the control unit 221. The

次に,画像を処理するための動作や処理は,基本的には先に説明したコンピュータやゲーム機における動作や処理と同様である。操作部224から,図示しないインターフェイスやバスを介して処理情報が入力されると,例えば,制御部221中の画像処理部の指令に基づき,ジオメトリプロセッサなどが,RAMなどの作業領域,各種テーブルなどを適宜利用し,ジオメトリ演算を行う。さらに,制御部221のレンダラーは,制御部221中の画像処理部の指令に基づき,レンダリング処理を行う。カリング処理やクリッピング処理,アンチエイリアス処理などが適宜施された画像情報は,描画プロセッサにより所定の描画処理を施され,フレームバッファに記憶され,表示部に画像として表示される。このようにして,3次元コンピュータグラフィックスが表示される。   Next, the operation and processing for processing an image are basically the same as the operation and processing in the computer or game machine described above. When processing information is input from the operation unit 224 via an interface or bus (not shown), for example, based on an instruction of the image processing unit in the control unit 221, a geometry processor or the like can change a work area such as a RAM, various tables, or the like. Is used as appropriate to perform geometry calculations. Further, the renderer of the control unit 221 performs a rendering process based on a command from the image processing unit in the control unit 221. Image information appropriately subjected to culling processing, clipping processing, anti-aliasing processing, etc. is subjected to predetermined drawing processing by a drawing processor, stored in a frame buffer, and displayed as an image on a display unit. In this way, 3D computer graphics are displayed.

本発明の携帯電話は,制御部に含まれるジオメトリ演算部や描画部として,本発明の画像生成装置を具備するので,回路素子などを共有することで,ハードウェア規模を縮減でき,システムが複雑になる事態を防止できるので,携帯電話など小規模な電話に好適に利用される。   Since the mobile phone of the present invention includes the image generation device of the present invention as a geometry calculation unit and drawing unit included in the control unit, the hardware scale can be reduced by sharing circuit elements and the system is complicated. Therefore, it is suitable for small phones such as mobile phones.

[カーナビの構成]
図10は,本発明のある実施形態(ナビゲーションシステム)のブロック図である。このブロック図で表される実施形態は,特に3次元コンピュータグラフィック機能つきカーナビゲーションとして好適に利用されうる。図10に示されるように,このナビゲーションシステムは,GPS部241と,任意要素としての自律測位部242と,地図記憶部243と,制御部244と,表示部245と,任意要素としてのマップマッチング部246とを含むものがあげられる。
[Configuration of car navigation system]
FIG. 10 is a block diagram of an embodiment (navigation system) of the present invention. The embodiment represented by this block diagram can be suitably used particularly as a car navigation with a three-dimensional computer graphic function. As shown in FIG. 10, the navigation system includes a GPS unit 241, an autonomous positioning unit 242 as an arbitrary element, a map storage unit 243, a control unit 244, a display unit 245, and a map matching as an arbitrary element. And part 246.

GPS部241は,GPS受信機を備え,複数のGPS衛星からの電波を同時に受信して車両の測位データを得るGPS部である。GPS部241は,GPS受信機において受信したデータから車両の絶対位置を得るものであるが,この測位データには車両の位置情報の他に車両の進行方向情報,仰角情報が含まれている。   The GPS unit 241 includes a GPS receiver, and is a GPS unit that simultaneously receives radio waves from a plurality of GPS satellites and obtains vehicle positioning data. The GPS unit 241 obtains the absolute position of the vehicle from the data received by the GPS receiver. This positioning data includes the vehicle traveling direction information and the elevation angle information in addition to the vehicle position information.

自律測位部242は,自律型センサを備え,自律型センサの出力データから車両の移動距離,移動方位を算出する自律測位部である。自律型センサとしては,車輪の回転数に応じた信号を検出する車輪側センサ,車両の加速度を検出する加速度センサ,車両の角速度を検出するジャイロセンサなどが含まれる。この例では,ジャイロセンサとして,さらに車両のピッチ動作方向における姿勢角度(以下「ピッチ角」と称する)も検出できる3次元ジャイロセンサが使用されており,したがって,自律測位部242から出力される測位データには車両のピッチ角が含まれている。   The autonomous positioning unit 242 includes an autonomous sensor, and is an autonomous positioning unit that calculates the moving distance and moving direction of the vehicle from the output data of the autonomous sensor. Examples of the autonomous sensor include a wheel side sensor that detects a signal corresponding to the number of rotations of the wheel, an acceleration sensor that detects the acceleration of the vehicle, and a gyro sensor that detects the angular velocity of the vehicle. In this example, a three-dimensional gyro sensor that can also detect the attitude angle in the pitch motion direction of the vehicle (hereinafter referred to as “pitch angle”) is used as the gyro sensor. Therefore, the positioning output from the autonomous positioning unit 242 is used. The data includes the vehicle pitch angle.

地図記憶部243は,2次元地図情報,3次元道路情報,及び3次元建物情報を有するデジタル地図データが記憶された地図記憶部である。地図記憶部243を構成する記憶媒体として,CD−ROM,ハードディスクがあげられる。地図データは,データ量が大きいと読み込み時間を要するため,好ましくは複数のブロックに分割されて記憶される。また,道路情報とは,交差点や屈曲点などの主要な地点(ノード)を示す情報を有したものであってもよく,ノード情報はその地点における座標データなどを備え,道路は各ノードを結ぶ直線(リンク)として近似されてもよい。このシステムでの3次元道路情報とは,ノード情報が3次元の座標データを備えていることを意味している。   The map storage unit 243 is a map storage unit that stores digital map data having 2D map information, 3D road information, and 3D building information. As a storage medium constituting the map storage unit 243, a CD-ROM and a hard disk can be cited. The map data is preferably divided and stored in a plurality of blocks because it takes a long time to read the map data. The road information may include information indicating major points (nodes) such as intersections and inflection points. The node information includes coordinate data at the points, and the road connects each node. You may approximate as a straight line (link). The three-dimensional road information in this system means that the node information has three-dimensional coordinate data.

制御部244は,GPS部241または自律測位部242から得られた車両の位置情報に基づいて,地図記憶部243から車両の位置が該当する所定領域の地図データを読み出すなど所定の制御を行うためのものである。   The control unit 244 performs predetermined control such as reading out map data of a predetermined area corresponding to the position of the vehicle from the map storage unit 243 based on the vehicle position information obtained from the GPS unit 241 or the autonomous positioning unit 242. belongs to.

表示部245は,測位制御部244により読み出された地図データを表示するためのものである。   The display unit 245 is for displaying the map data read by the positioning control unit 244.

マップマッチング部246は,車両の測位データおよび地図データの3次元道路情報を基に,車両の位置を道路上に補正するためのものである。   The map matching unit 246 is for correcting the position of the vehicle on the road based on the positioning data of the vehicle and the three-dimensional road information of the map data.

本発明のカーナビは,たとえば,制御部に幾何演算部と描画部とを具備し,それらに本発明の画像生成装置を具備する。これにより,ベクタ・2D・3D画像処理部を一元化することにより,システムが複雑になる事態を防止できることで,制御処理を少なくすることができる。   The car navigation system of the present invention includes, for example, a control unit including a geometric operation unit and a drawing unit, and includes the image generation apparatus of the present invention. As a result, by unifying the vector, 2D, and 3D image processing units, it is possible to prevent a situation where the system is complicated, thereby reducing control processing.

[カーナビの動作例]
GPS部241が,複数のGPS衛星からの電波を同時に受信し車両の測位データを得る。自律測位部242は,自律型センサの出力データから車両の移動距離,移動方位を算出する。制御部244は,GPS部241または自律測位部242から得られたデータに所定の処理を施して車両の位置情報を得る。そして,車両の位置情報に基づいて,地図記憶部243から車両の位置に関連する所定領域の地図データを読み出す。また,図示しない操作部からの操作情報を受けて表示モードを変え,表示モードに応じた地図データを読み出す。また,制御部244は,位置情報に基づいて,所定の描画処理を行い建物の立体画像,地図の立体画像,車の立体画像などを表示する。さらに,Z値に基づいて,カリング処理などを行う。表示部245が,制御部244により読み出された地図データを表示する。
[Operation example of car navigation system]
The GPS unit 241 simultaneously receives radio waves from a plurality of GPS satellites and obtains vehicle positioning data. The autonomous positioning unit 242 calculates the moving distance and moving direction of the vehicle from the output data of the autonomous sensor. The control unit 244 performs predetermined processing on the data obtained from the GPS unit 241 or the autonomous positioning unit 242 to obtain vehicle position information. Based on the vehicle position information, map data of a predetermined area related to the vehicle position is read from the map storage unit 243. In addition, in response to operation information from an operation unit (not shown), the display mode is changed, and map data corresponding to the display mode is read. Further, the control unit 244 performs predetermined drawing processing based on the position information, and displays a 3D building image, 3D map image, 3D car image, and the like. Further, culling processing is performed based on the Z value. The display unit 245 displays the map data read by the control unit 244.

本発明のカーナビは,たとえば,幾何演算部と描画部に,本発明の画像生成装置を具備するので,回路素子などを共有することで,ハードウェア規模を縮減でき,ベクタ・2D・3D画像処理部を一元化することにより,システムが複雑になる事態を防止できる。   The car navigation system of the present invention includes, for example, the image generation apparatus of the present invention in the geometric operation unit and the drawing unit, so that the hardware scale can be reduced by sharing circuit elements and the like, and vector, 2D, and 3D image processing By unifying the parts, it is possible to prevent the system from becoming complicated.

図11は,パチスロ機の主制御回路361を示すブロック図である。図11に示されるとおり,主制御回路361はマイクロコンピュータ(以下,「マイコン」という。)363を主な構成要素とし,これに乱数サンブリングのための回路を加えて構成されている。マイコン363は,予め設定されたプログラムに従って制御動作を行うメインCPU(中央演算処理装置)364と,プログラム(画像演出プログラムなどを含む)や各種のテーブルデータなどを格納しているROM365およびバックアップ機能付き制御RAM(以下,単にRAMと称する)366とを含んで構成されている。   FIG. 11 is a block diagram showing the main control circuit 361 of the pachislot machine. As shown in FIG. 11, the main control circuit 361 includes a microcomputer (hereinafter referred to as “microcomputer”) 363 as a main component, and is added to a circuit for random number sampling. The microcomputer 363 has a main CPU (central processing unit) 364 that performs control operations in accordance with a preset program, a ROM 365 that stores programs (including image rendering programs) and various table data, and a backup function. And a control RAM (hereinafter simply referred to as RAM) 366.

メインCPU364には,基準クロックパルスを発生するクロックパルス発生回路367および分周器368と,一定範囲の乱数を発生する乱数発生器369および発生した乱数の1つを特定するサンプリング回路370とが接続されている。さらに,メインCPU364には,後述する周辺装置(アクチュエータ)との間で信号を授受するI/Oポート371が接続されている。   Connected to the main CPU 364 are a clock pulse generation circuit 367 and a frequency divider 368 for generating a reference clock pulse, a random number generator 369 for generating a random number within a certain range, and a sampling circuit 370 for specifying one of the generated random numbers. Has been. Further, the main CPU 364 is connected to an I / O port 371 that exchanges signals with peripheral devices (actuators) described later.

ここで,R0M365は,入賞確率テーブル,図柄テーブル,入賞シンボル組合せテーブル,シーケンスプログラム,告知演出テーブルおよび演出画像プログラムを格納するように記憶部が区分され,さらに,スタートレバー328を操作(スタート操作)する毎に行われる乱数サンプリングの判定に用いられる確率抽選テーブル,停止ボタンの操作に応じてリールの停止態様を決定するための停止テーブル等が格納されている。   Here, the storage unit of R0M365 is divided so as to store a winning probability table, a symbol table, a winning symbol combination table, a sequence program, a notification effect table, and an effect image program, and further, the start lever 328 is operated (start operation). A probability lottery table used for determination of random number sampling performed each time, a stop table for determining a reel stop mode according to the operation of the stop button, and the like are stored.

マイコン363からの制御信号により動作が制御される主要なアクチュエータとしては,各リール305,306,307を回転駆動するステッピングモータ345L,345C,345R,各種ランプ(賭数表示ランプ319〜321,スタートランプ329,WINランプ330,インサートランプ332),各種表示部(クレジット表示ランプ323,遊技状態表示ランプ324〜327,ボーナスカウント表示ランプ318,配当枚数表示ランプ322),およびメダルを収納するホッパー372がある。これらはそれぞれモータ駆動回路373,各ランプ駆動回路374,各表示部駆動回路375およびホッパー駆動回路376によって駆動される。これら駆動回路373〜376は,マイコン363のI/Oポート371を介してメインCPU364に接続されている。   The main actuators whose operation is controlled by a control signal from the microcomputer 363 include stepping motors 345L, 345C, 345R for rotating the reels 305, 306, 307, various lamps (betting number display lamps 319-321, start lamps). 329, WIN lamp 330, insert lamp 332), various display units (credit display lamp 323, gaming state display lamps 324 to 327, bonus count display lamp 318, dividend display lamp 322), and hopper 372 for storing medals. . These are driven by a motor drive circuit 373, lamp drive circuits 374, display drive circuits 375 and hopper drive circuits 376, respectively. These drive circuits 373 to 376 are connected to the main CPU 364 via the I / O port 371 of the microcomputer 363.

また,マイコン363が制御信号を生成するために必要な入力信号を発生する主な入力信号発生手段としては,メダル投入口から投入されたメダルを検出する投入メダルセンサ331S,スタートレバーの操作を検出するスタートスイッチ328S,前述したBETスイッチ33,およびクレジットメダル精算スイッチ334がある。さらに,フォトセンサからの出力パルス信号を受けて各リール305,306,307の回転位置を検出するリール位置検出回路377がある。なお,フォトセンサは各リール305〜307の駆動機構に含まれており,同図では図示されていない。   The main input signal generating means for generating an input signal necessary for the microcomputer 363 to generate a control signal is a inserted medal sensor 331S for detecting a medal inserted from a medal slot, and detecting a start lever operation. There are a start switch 328S, the BET switch 33 described above, and a credit medal settlement switch 334. Further, there is a reel position detection circuit 377 that receives the output pulse signal from the photo sensor and detects the rotational position of each reel 305, 306, 307. Note that the photosensor is included in the drive mechanism of each of the reels 305 to 307 and is not shown in the drawing.

さらに,上記の入力信号発生手段としては,停止ボタン335〜337が押されたときに対応するリールを停止させる信号を発生するリール停止信号回路378と,ホッパー372から払い出されるメダル数を計数するメダル検出部372Sと,図示しない払出完了信号発生回路とがある。   Further, the input signal generating means includes a reel stop signal circuit 378 that generates a signal for stopping the corresponding reel when the stop buttons 335 to 337 are pressed, and a medal that counts the number of medals paid out from the hopper 372. There are a detection unit 372S and a payout completion signal generation circuit (not shown).

また,I/Oポート371には副制御回路381が接続されている。図12は,パチスロ機の副制御回路を示すブロック図である。   A sub control circuit 381 is connected to the I / O port 371. FIG. 12 is a block diagram showing a sub control circuit of the pachislot machine.

副制御回路381は,主制御回路361からの制御指令(コマンド)に基づいて表示装置350の表示制御およびスピーカ382L,382Rからの音の出力制御を実行する。この副制御回路381は,好ましくは,主制御回路361を構成する基板とは別の基板上に構成され,サブマイクロコンピュータ83を主たる構成要素とし,表示装置350の表示制御手段としての画像制御回路391,スピーカ382L,382Rからの出力音を制御する音源IC388,増幅器としてのパワーアンプ389で構成されている。   The sub control circuit 381 executes display control of the display device 350 and sound output control from the speakers 382L and 382R based on a control command (command) from the main control circuit 361. The sub-control circuit 381 is preferably formed on a substrate different from the substrate constituting the main control circuit 361, and the sub-microcomputer 83 is a main component, and an image control circuit as display control means of the display device 350. 391, a sound source IC 388 that controls output sound from the speakers 382L and 382R, and a power amplifier 389 as an amplifier.

サブマイクロコンピュータ383は,主制御回路61から送信された制御指令に従って制御動作を行うサブCPU384と,記憶手段としてのプログラムROM385およびワークRAM386とを含む。この例では,副制御回路381は,クロックパルス発生回路,分周器,乱数発生器及びサンプリング回路を備えていないが,サブCPU384の動作プログラム上で乱数サンプリングを実行するように構成されている。   The sub microcomputer 383 includes a sub CPU 384 that performs a control operation in accordance with a control command transmitted from the main control circuit 61, and a program ROM 385 and a work RAM 386 as storage means. In this example, the sub control circuit 381 does not include a clock pulse generation circuit, a frequency divider, a random number generator, and a sampling circuit, but is configured to execute random number sampling on the operation program of the sub CPU 384.

プログラムROM385は,サブCPU84で実行する制御プログラムを格納する。ワークRAM386は,上記制御プログラムをサブCPU384で実行するときの一時記憶手段として構成される。   The program ROM 385 stores a control program executed by the sub CPU 84. The work RAM 386 is configured as a temporary storage unit when the control program is executed by the sub CPU 384.

画像制御回路391は,画像制御CPU392,画像制御プログラムROM394,画像制御ワークRAM393,画像制御IC398,画像ROM396,ビデオRAM397で構成される。   The image control circuit 391 includes an image control CPU 392, an image control program ROM 394, an image control work RAM 393, an image control IC 398, an image ROM 396, and a video RAM 397.

ここで,画像制御CPU392は,サブマイクロコンピュータ383で設定されたパラメータに基づき,画像制御プログラムROM394内に格納する画像制御プログラムに沿って表示装置350での表示内容を決定する。画像制御プログラムROM394は,表示装置350での表示に関する画像制御プログラムや各種選択テーブルを格納する。画像制御ワークRAM393は,上記画像制御プログラムを画像制御CPU392で実行するときの一時記憶手段として構成される。画像制御IC398は,画像制御CPU392で決定された表示内容に応じた画像を形成し,表示装置350に出力する。画像ROM396は,画像を形成するためのドットデータを格納する。ビデオRAM397は,画像制御IC398で画像を形成するときの一時記憶手段として構成される。   Here, the image control CPU 392 determines the display contents on the display device 350 in accordance with the image control program stored in the image control program ROM 394 based on the parameters set by the sub microcomputer 383. The image control program ROM 394 stores an image control program related to display on the display device 350 and various selection tables. The image control work RAM 393 is configured as a temporary storage unit when the image control CPU 392 executes the image control program. The image control IC 398 forms an image corresponding to the display content determined by the image control CPU 392 and outputs the image to the display device 350. The image ROM 396 stores dot data for forming an image. The video RAM 397 is configured as a temporary storage unit when the image control IC 398 forms an image.

なお,主制御回路361からの出力はINポート387を介してサブCPU384に入力され,サブCPU384からの出力はOUTポート390およびINポート395を介して画像制御CPU392に入力される。   The output from the main control circuit 361 is input to the sub CPU 384 via the IN port 387, and the output from the sub CPU 384 is input to the image control CPU 392 via the OUT port 390 and the IN port 395.

次に,本実施の形態のパチスロ機の動作について説明する。遊技者がメダル投入口にメダルを投入すると,投入メダルセンサ331Sから検知信号がメインCPU364へ送られ,メインCPU364はメダルの投入を検知し,賭数に応じた賭数表示ランプ319〜321が点灯する。遊技者がスタートレバー328を押すと,スタートスイッチ328Sから操作信号がメインCPU364へ伝えられ,メインCPU364はスタートレバー328の操作を検知し,I/Oポート371を介してモータ駆動部373へスタート信号を送り,リール305,306,307を一斉に回転させる。   Next, the operation of the pachislot machine of this embodiment will be described. When the player inserts a medal into the medal slot, a detection signal is sent from the inserted medal sensor 331S to the main CPU 364, and the main CPU 364 detects the insertion of the medal, and bet number display lamps 319 to 321 corresponding to the bet number are turned on. To do. When the player presses the start lever 328, an operation signal is transmitted from the start switch 328S to the main CPU 364, and the main CPU 364 detects the operation of the start lever 328 and sends a start signal to the motor drive unit 373 via the I / O port 371. To rotate the reels 305, 306, and 307 all at once.

また,スタートスイッチ328Sがスタートレバーの操作を検出すると,メインCPU364は乱数発生器369より発生された乱数値をサンプリング回路370により取り込み,取り込んだ乱数値とROM365に格納された判定値とを比較して,当選,落選を決定する内部抽選を行う。その抽選結果はRAM366の所定領域に格納されるが,内部当選すると,当選の種類に応じたフラグがRAM366の所定領域に立てられる。ここで,当該ゲームで立てられたフラグは当該ゲームが終了すると消滅するのが基本であるが,内部当選確率が低いBBやRBに限って,立てられたフラグが対応する図柄が揃って入賞するまで複数ゲームにわたって持ち越される場合がある。   When the start switch 328S detects the operation of the start lever, the main CPU 364 fetches the random number value generated by the random number generator 369 by the sampling circuit 370 and compares the fetched random number value with the determination value stored in the ROM 365. Then, an internal lottery will be performed to determine the winning and losing. The lottery result is stored in a predetermined area of the RAM 366. When an internal winning is made, a flag corresponding to the type of winning is set in the predetermined area of the RAM 366. Here, the flag set in the game is basically extinguished when the game ends, but only the BB or RB with a low internal winning probability wins all the symbols corresponding to the set flag. May be carried over multiple games.

さらに,スタートスイッチ328Sがスタートレバーの操作を検出すると,メインCPU364はROM365から複数ゲームにわたって表示装置350に演出画像を表示するための演出指示コマンドを読み出し,これをI/Oポート371を介して副制御回路381に送出する。なお,メインCPU364は副制御回路381に送出する演出指示コマンドをRAM366の所定領域に保持しておく。   Furthermore, when the start switch 328S detects the operation of the start lever, the main CPU 364 reads out an effect instruction command for displaying an effect image on the display device 350 over a plurality of games from the ROM 365, and this is read via the I / O port 371. The data is sent to the control circuit 381. The main CPU 364 holds an effect instruction command to be sent to the sub control circuit 381 in a predetermined area of the RAM 366.

副制御回路381はメインCPU364から入力された演出指示コマンドに従った演出内容の画像を表示装置350に表示し,内部当選の契機となるスタートレバー328の有効な操作毎に入力される演出指示コマンドに従って画像を表示させる。   The sub-control circuit 381 displays an effect image according to the effect instruction command input from the main CPU 364 on the display device 350, and an effect instruction command input for each effective operation of the start lever 328 that triggers the internal winning. Follow the steps to display the image.

次にメインCPU364は,RAM366上の内部抽選結果をチェックして,内部抽選の判定結果に対応する停止テーブルを選択決定し,それぞれに対応する停止テーブルをROM365からRAM366上に読み出す。   Next, the main CPU 364 checks the internal lottery result on the RAM 366, selects and determines a stop table corresponding to the internal lottery determination result, and reads the corresponding stop table from the ROM 365 onto the RAM 366.

その後,遊技者が,停止ボタン335,336,337のいずれかを操作すると,リール停止信号回路378から操作信号がメインCPU364へ伝えられ,メインCPU364はリール位置検出回路377からの各リール305,306,307の位置とRAM366上の停止テーブルに基づいてリール305,306,307を停止させる制御を行う。   Thereafter, when the player operates one of the stop buttons 335, 336, and 337, an operation signal is transmitted from the reel stop signal circuit 378 to the main CPU 364, and the main CPU 364 receives the reels 305 and 306 from the reel position detection circuit 377. , 307 and the stop table on the RAM 366, the reels 305, 306, 307 are controlled to stop.

これにより,内部抽選で当選していない限り,遊技者はどのようなタイミングで停止ボタン335,336,337を操作しても,当選図柄が揃わないように各リール305,306,307の停止制御が行われる。一方,内部抽選で当選し且つ,内部当選結果に対応する図柄が揃えられる停止テーブルが選択されている場合,遊技者の停止ボタン335,336,337の操作タイミング如何によっては内部当選に対応した図柄が揃う停止制御が存在することになる。   As a result, unless the player has won the internal lottery, the reels 305, 306, and 307 are controlled so that the winning symbols are not aligned even if the player operates the stop buttons 335, 336, and 337 at any timing. Is done. On the other hand, when a winning table is selected in the internal lottery and the symbol corresponding to the internal winning result is selected, the symbol corresponding to the internal winning is determined depending on the operation timing of the stop buttons 335, 336 and 337 of the player. There is a stop control in which

すなわち,内部抽選結果が当選の場合には,メインCPU364は引き込み停止制御に基づくストップ信号をモータ駆動部373へ送り,操作された停止ボタン335,336,337に対応するリール305,306,307を停止させるが,このとき,このリール305,306,307上の入賞に係るシンボルが有効な停止ライン上で停止するようなリール停止制御を行う。   That is, when the internal lottery result is a win, the main CPU 364 sends a stop signal based on the pull-in stop control to the motor drive unit 373, and releases the reels 305, 306, 307 corresponding to the operated stop buttons 335, 336, 337. At this time, the reel stop control is performed such that the winning symbols on the reels 305, 306, and 307 are stopped on an effective stop line.

内部抽選結果が外れの場合,メインCPU364は,停止ボタン335,336,337の操作にて,入賞に係るシンボルが有効な停止ライン上で止まらないように,操作された停止ボタン335,336,337に対応するリール305,306,307を停止させる。   When the internal lottery result is out, the main CPU 364 operates the stop buttons 335, 336, and 337 so that the symbols related to winning are not stopped on the valid stop line by operating the stop buttons 335, 336, and 337. The reels 305, 306, and 307 corresponding to are stopped.

本発明のパチスロ機は,たとえば,副制御回路381に含まれる画像制御プログラムや画像制御CPUとして,本発明の画像生成装置を具備するので,回路素子などを共有することで,ハードウェア規模を縮減でき,ベクタ・2D・3D画像処理部を一元化することにより,システムが複雑になる事態を防止できる。これにより,無駄なハードウェア・制御処理を少なくすることができる。前記したとおり,開発・製造コスト,消費電力を低減することができるため,パチスロ機などにおいても好適に利用される。 The pachislot machine of the present invention includes, for example, the image generation apparatus of the present invention as an image control program or an image control CPU included in the sub-control circuit 381, so that the hardware scale can be reduced by sharing circuit elements and the like. In addition, by unifying the vector, 2D, and 3D image processing units, it is possible to prevent the system from becoming complicated. As a result, useless hardware / control processing can be reduced. As described above, since development / manufacturing costs and power consumption can be reduced, it is also suitably used in pachislot machines and the like.

本発明はコンピュータ産業において好適に利用されうる。   The present invention can be suitably used in the computer industry.

11 ジオメトリ処理部
12 ラスタライズ処理部
13 カラー処理部
14 バッファ
11 Geometry processing unit 12 Rasterization processing unit 13 Color processing unit 14 Buffer

Claims (13)

入力される描画プリミティブデータにジオメトリ処理を行う,ジオメトリ処理部(11)と,
前記ジオメトリ処理部によりジオメトリ処理が行われたポリゴンデータに対してラスタライズ処理を行う,ラスタライズ処理部(12)と,
前記ラスタライズ処理部によりラスタライズ処理が行われた画像データに対してカラー処理を行うカラー処理部(13)と,
前記カラー処理が行われた画像データを記憶するバッファ(14)と,を有する
3次元コンピュータグラフィックス描画システムであって,

前記ジオメトリ処理部(11)は,
前記描画プリミティブデータに画像IDを付加する画像ID付加部(13)と,
前記画像ID付加部により付加される画像IDに応じてジオメトリ演算を行うジオメトリ演算部(16)と,
を有し,
ジオメトリ演算を行ったプリミティブデータを前記画像IDとともに出力するものであり,

前記ラスタライズ処理部(12)は,
前記画像IDを判別するための第1の画像ID判別部(17)と,
前記第1の画像ID判別部が判別した画像IDに応じてラスタライズ演算を行うラスタライズ演算部(18)と,
を有し,
ラスタライズ演算を行った画像データを前記画像IDとともに出力するものであり,

前記カラー処理部(13)は,
前記画像IDを判別するための第2の画像ID判別部(19)と,
前記第2の画像ID判別部が判別した画像IDに応じてカラー演算を行うカラー演算部(20)と,
を有し,
カラー演算を行った画像データを前記画像IDとともに出力するものであり,

前記バッファ(14)は,
前記画像IDによって指定されるターゲットバッファ(21)を有し,
前記バッファ(14)に入力される画像データは,前記画像IDに応じた前記ターゲットバッファ(21)に格納される,

3次元コンピュータグラフィックス描画システム。
A geometry processing unit (11) for performing geometry processing on input drawing primitive data;
A rasterization processing unit (12) for performing rasterization processing on polygon data subjected to geometry processing by the geometry processing unit;
A color processing unit (13) for performing color processing on the image data subjected to rasterization processing by the rasterization processing unit;
A three-dimensional computer graphics drawing system having a buffer (14) for storing the image data subjected to the color processing,

The geometry processing unit (11)
An image ID adding unit (13) for adding an image ID to the drawing primitive data;
A geometry calculation unit (16) that performs a geometry calculation according to the image ID added by the image ID addition unit;
Have
The primitive data subjected to the geometry calculation is output together with the image ID,

The rasterization processing unit (12)
A first image ID determining unit (17) for determining the image ID;
A rasterization calculation unit (18) for performing a rasterization calculation in accordance with the image ID determined by the first image ID determination unit;
Have
Output the rasterized image data together with the image ID;

The color processing unit (13)
A second image ID determining unit (19) for determining the image ID;
A color calculation unit (20) that performs color calculation according to the image ID determined by the second image ID determination unit;
Have
Output image data that has undergone color computation together with the image ID;

The buffer (14)
A target buffer (21) designated by the image ID;
The image data input to the buffer (14) is stored in the target buffer (21) corresponding to the image ID.

3D computer graphics drawing system.
前記描画プリミティブデータに画像IDを付加する第2の画像ID付加部(33)をさらに有する,
請求項1に記載の3次元コンピュータグラフィックス描画システム。
A second image ID adding unit (33) for adding an image ID to the drawing primitive data;
The three-dimensional computer graphics drawing system according to claim 1.
前記ジオメトリ演算部(16)は,幾何変換処理部(31)及び光源演算処理部(32)を有し,
前記幾何変換処理部(31)は,前記画像IDに応じて幾何演算を行い,
前記光源演算処理部(32)は,前記画像IDに応じて光源演算を行う,
請求項1に記載の3次元コンピュータグラフィックス描画システム。
The geometry calculation unit (16) includes a geometric conversion processing unit (31) and a light source calculation processing unit (32).
The geometric transformation processing unit (31) performs a geometric operation according to the image ID,
The light source calculation processing unit (32) performs a light source calculation according to the image ID.
The three-dimensional computer graphics drawing system according to claim 1.
前記ジオメトリ演算部(16)は,幾何変換処理部(31)及び光源演算処理部(32)を有し,
前記幾何変換処理部(31)は,前記画像IDのグループごとに幾何演算を行う複数の幾何変換処理要素を有し,
前記光源演算処理部(32)は,前記画像IDのグループごとに光源演算を行う複数の光源演算要素を有する,
請求項1に記載の3次元コンピュータグラフィックス描画システム。
The geometry calculation unit (16) includes a geometric conversion processing unit (31) and a light source calculation processing unit (32).
The geometric transformation processing unit (31) includes a plurality of geometric transformation processing elements for performing geometric calculation for each group of the image IDs,
The light source calculation processing unit (32) includes a plurality of light source calculation elements that perform light source calculation for each group of the image IDs.
The three-dimensional computer graphics drawing system according to claim 1.
前記ラスタライズ演算部(18)は,
ラスタライズ処理コア部(35)及びパラメータ補間処理部(36)を有し,
前記ラスタライズ処理コア部(35)は,前記画像IDのグループごとに演算を行う複数のラスタライズ処理コア要素を有し,
前記パラメータ補間処理部(36)は,前記画像IDのグループごとにパラメータ補間演算を行う複数のパラメータ補間要素を有する,
請求項1に記載の3次元コンピュータグラフィックス描画システム。
The rasterization calculation unit (18)
A rasterization processing core unit (35) and a parameter interpolation processing unit (36);
The rasterization processing core unit (35) includes a plurality of rasterization processing core elements that perform operations for each group of the image IDs.
The parameter interpolation processing unit (36) includes a plurality of parameter interpolation elements for performing parameter interpolation calculation for each group of the image IDs.
The three-dimensional computer graphics drawing system according to claim 1.
前記カラー演算部(20)は,
カラーブレンディング演算を行うカラーブレンディング部(37)と,
奥行き値演算を行う奥行き値処理部(38)と,
前記画像IDに基づいてカラーブレンディング部(37)が求めたカラーブレンディング値,及び前記奥行き値処理部(38)が求めた奥行き値を記憶するカラー及び奥行き値キャッシュ部(39)を有する,
請求項1に記載の3次元コンピュータグラフィックス描画システム。
The color calculation unit (20)
A color blending unit (37) for performing a color blending operation;
A depth value processing unit (38) for calculating a depth value;
A color and depth value cache unit (39) for storing the color blending value obtained by the color blending unit (37) based on the image ID and the depth value obtained by the depth value processing unit (38);
The three-dimensional computer graphics drawing system according to claim 1.
請求項1に記載の3次元コンピュータグラフィックス描画システムを具備するマルチディスプレイシステム。
A multi-display system comprising the three-dimensional computer graphics drawing system according to claim 1.
請求項1に記載の3次元コンピュータグラフィックス描画システムを具備する立体ディスプレイシステム。
A three-dimensional display system comprising the three-dimensional computer graphics drawing system according to claim 1.
請求項1に記載の3次元コンピュータグラフィックス描画システムを具備するコンピュータ。
A computer comprising the three-dimensional computer graphics drawing system according to claim 1.
請求項1に記載の3次元コンピュータグラフィックス描画システムを具備するゲーム機。
A game machine comprising the three-dimensional computer graphics drawing system according to claim 1.
請求項1に記載の3次元コンピュータグラフィックス描画システムを具備する携帯電話。
A mobile phone comprising the three-dimensional computer graphics drawing system according to claim 1.
請求項1に記載の3次元コンピュータグラフィックス描画システムを具備するナビゲーションシステム。
A navigation system comprising the three-dimensional computer graphics drawing system according to claim 1.
請求項1に記載の3次元コンピュータグラフィックス描画システムを具備するスロットマシーン。


A slot machine comprising the three-dimensional computer graphics drawing system according to claim 1.


JP2010085598A 2010-04-02 2010-04-02 3D computer graphics drawing system Active JP5535729B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010085598A JP5535729B2 (en) 2010-04-02 2010-04-02 3D computer graphics drawing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010085598A JP5535729B2 (en) 2010-04-02 2010-04-02 3D computer graphics drawing system

Publications (2)

Publication Number Publication Date
JP2011216032A true JP2011216032A (en) 2011-10-27
JP5535729B2 JP5535729B2 (en) 2014-07-02

Family

ID=44945659

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010085598A Active JP5535729B2 (en) 2010-04-02 2010-04-02 3D computer graphics drawing system

Country Status (1)

Country Link
JP (1) JP5535729B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007141156A (en) * 2005-11-22 2007-06-07 Sharp Corp Stereoscopic image device, game device, stereoscopic image projection device, stereoscopic image data-generating method, controlling program, and readable recording medium
JP2008282171A (en) * 2007-05-09 2008-11-20 Sony Computer Entertainment Inc Graphics processor, and method for rendering processing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007141156A (en) * 2005-11-22 2007-06-07 Sharp Corp Stereoscopic image device, game device, stereoscopic image projection device, stereoscopic image data-generating method, controlling program, and readable recording medium
JP2008282171A (en) * 2007-05-09 2008-11-20 Sony Computer Entertainment Inc Graphics processor, and method for rendering processing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CSNG199800282005; 藤田良, 外3名: '"拡張ラスタオペレーションによる3次元図形表示と画像操作"' 情報処理学会論文誌 第31巻, 第9号, 19900915, p.1334-1341, 社団法人情報処理学会 *
JPN6014002826; 藤田良, 外3名: '"拡張ラスタオペレーションによる3次元図形表示と画像操作"' 情報処理学会論文誌 第31巻, 第9号, 19900915, p.1334-1341, 社団法人情報処理学会 *

Also Published As

Publication number Publication date
JP5535729B2 (en) 2014-07-02

Similar Documents

Publication Publication Date Title
JP5997908B2 (en) Game system and program
JP4717622B2 (en) Program, information recording medium, and image generation system
JP3420870B2 (en) Image composition method, image composition device, and game device
JP2006195882A (en) Program, information storage medium and image generation system
JP4305903B2 (en) Image generation system, program, and information storage medium
JP4761541B2 (en) Image generation device
JP2005066183A (en) Game machine, program, and information storage medium
JP5535729B2 (en) 3D computer graphics drawing system
JPWO2007034822A1 (en) Image generation device
JP4832152B2 (en) System used in a three-dimensional computer graphics device for displaying a gaseous object on a two-dimensional display
JP2009169471A (en) Program, information storage medium, and image generation system
JP2004073241A (en) Game system, program, and information storage medium
JP5007991B2 (en) Rendering device for subdivision curved surface drawing
JP5260122B2 (en) Game system
JP4787662B2 (en) System used in a three-dimensional computer graphics device for displaying a gaseous object on a two-dimensional display
JP2002000841A (en) Game machine
JP4785605B2 (en) System used in a three-dimensional computer graphics device for displaying a gaseous object on a two-dimensional display
JP4787661B2 (en) System used in a three-dimensional computer graphics device for displaying a gaseous object on a two-dimensional display
JP2010231364A (en) Image generation system, program and information recording medium
JP2001346987A (en) Game machine
JP4803909B2 (en) Image generation system, program, and information storage medium
JP2006323514A (en) Image forming system, program and information storage medium
JP4413369B2 (en) Image generation system and information storage medium
JP2000293708A (en) Picture display device
JP5003791B2 (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130301

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140128

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140324

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140423

R150 Certificate of patent or registration of utility model

Ref document number: 5535729

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250