JPH0962853A - Graphic processor and graphic processing system - Google Patents

Graphic processor and graphic processing system

Info

Publication number
JPH0962853A
JPH0962853A JP7221517A JP22151795A JPH0962853A JP H0962853 A JPH0962853 A JP H0962853A JP 7221517 A JP7221517 A JP 7221517A JP 22151795 A JP22151795 A JP 22151795A JP H0962853 A JPH0962853 A JP H0962853A
Authority
JP
Japan
Prior art keywords
data
frame buffer
graphic
display
pixel data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7221517A
Other languages
Japanese (ja)
Inventor
Yutaka Furuta
裕 古田
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.)
Kubota Corp
Original Assignee
Kubota Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kubota Corp filed Critical Kubota Corp
Priority to JP7221517A priority Critical patent/JPH0962853A/en
Publication of JPH0962853A publication Critical patent/JPH0962853A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)
  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a graphic processor which speedily executes a random dither processing while constitution is simplified. SOLUTION: A geometry calculation part GC converting graphic data becoming a display object into display graphic data displayed on a monitor and a rendering calculation part RC converting display graphic data obtained in the geometry calculation part GC into display picture element data on respective picture elements and writing the display picture element data in a frame buffer 5 are provided. The rendering calculation part RC is a graphic processor which adds random numbers to display picture element data and executes the random dither processing The rendering calculation part RC reads the random numbers stored in an area except for an area storing display picture element data in storage areas for one picture element and executes the random dither processing based on the random numbers which are read.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ホストプロセッサ
のデータバスから受け取った画像処理コマンド情報に基
づいて、表示対象となる図形データを、モニタに表示さ
れる表示用図形データに変換処理するジオメトリ演算部
と、そのジオメトリ演算部にて求められた表示用図形デ
ータを各画素毎についての表示用画素データに変換処理
して、その表示用画素データをフレームバッファに書き
込むレンダリング演算部とが設けられ、前記レンダリン
グ演算部は、前記表示用画素データに乱数を加算して、
ランダムディザ処理を行うように構成されているグラフ
ィクプロセッサに関し、又、そのグラフィックプロセッ
サを備えたグラフィック処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a geometry operation for converting graphic data to be displayed into display graphic data displayed on a monitor based on image processing command information received from a data bus of a host processor. And a rendering operation unit for converting the display graphic data obtained by the geometry operation unit into display pixel data for each pixel and writing the display pixel data in the frame buffer, The rendering calculation unit adds a random number to the display pixel data,
The present invention relates to a graphics processor configured to perform random dither processing, and a graphics processing system including the graphics processor.

【0002】[0002]

【従来の技術】かかるグラフィックプロセッサは、ホス
トプロセッサに代わって、主に3次元像をモニタに表示
するために種々の処理を行うプロセッサであって、大き
く分けてジオメトリ演算部とレンダリング演算部とから
構成されている。ジオメトリ演算部では、表示対象とな
る図形データを座標変換やクリッピング処理等を行うこ
とにより、モニタに表示される表示用図形データに変換
する。この表示用図形データは、線又は面で表現されて
いるデータであるので、モニタに表示するためには、画
素毎のデータに変換する必要があり、この変換処理をレ
ンダリング部が行う。
2. Description of the Related Art Such a graphic processor is a processor which mainly performs various processes for displaying a three-dimensional image on a monitor, instead of a host processor, and is roughly divided into a geometry calculation section and a rendering calculation section. It is configured. The geometry calculation unit converts the graphic data to be displayed into display graphic data to be displayed on the monitor by performing coordinate conversion, clipping processing, and the like. Since this display graphic data is data expressed by lines or surfaces, it is necessary to convert it into data for each pixel in order to display it on the monitor, and the rendering unit performs this conversion processing.

【0003】レンダリング部では、単に表示用図形デー
タを画素データに変換するのみならず、いわゆる隠面処
理等の処理を画素単位で実行し、最終的にモニタに表示
する表示用画素データに変換される。この表示用画素デ
ータは、いわゆるフレームバッファに書き込まれ、その
書き込まれた情報がD/A変換の後にモニタに表示され
る。このようにフレームバッファに書き込まれる表示用
画素データは、濃度階調を含む色情報の表現等のために
所定のビット数が割り当てられるが、処理速度や記憶容
量等との関係から少ないビット数に制限されて、輝度分
解能が低下する場合がある。このような場合、いわゆる
ディザ法による処理を施し、空間分解能を若干犠牲にし
て輝度分解能を向上させる場合がある。
In the rendering unit, not only the display graphic data is converted into pixel data, but also so-called hidden surface processing is executed in pixel units, and finally converted into display pixel data to be displayed on the monitor. It This display pixel data is written in a so-called frame buffer, and the written information is displayed on a monitor after D / A conversion. As described above, the display pixel data written in the frame buffer is assigned a predetermined number of bits for the purpose of expressing color information including density gradation, but the number of bits is reduced to a small number in view of processing speed and storage capacity. The brightness resolution may be reduced due to the limitation. In such a case, the so-called dither method may be applied to improve the luminance resolution at the expense of the spatial resolution.

【0004】このディザ法の一つとして、いわゆるラン
ダムディザ法が考えられている。ランダムディザ法は、
各画素の輝度情報に乱数を加算して、輝度情報にばらつ
きを持たせることで、輝度分解能に応じて輝度が段階的
に変化するのでなく、あたかも輝度が連続的に変化する
ような錯覚を与えるようにするものである。このランダ
ムディザ法による処理すなわちランダムディザ処理を実
行するために、従来、ランダムディザ処理の度毎に、一
般的な疑似乱数発生式に基づいて乱数を求める構成、又
は、予め求めた乱数を専用のメモリに記憶させておき、
ランダムディザ処理の際にその乱数を読み込む構成が考
えられている。
A so-called random dither method is considered as one of the dither methods. The random dither method is
By adding a random number to the brightness information of each pixel and making the brightness information have variations, it gives the illusion that the brightness does not change stepwise according to the brightness resolution, but as if the brightness changes continuously. To do so. In order to execute the process by the random dither method, that is, the random dither process, conventionally, a structure for obtaining a random number based on a general pseudo-random number generation formula every time the random dither process is performed, or a previously obtained random number is exclusively Store it in memory,
A configuration is considered in which the random number is read in the random dither processing.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来構成のうちの前者は、ランダムディザ処理の度毎に疑
似乱数を求める演算を実行する必要があり、グラフィッ
クプロセッサの処理速度を低下させていた。又、上記従
来構成のうちの後者は、乱数のための専用のメモリが必
要になり、構成が複雑化してしまう不都合があった。
尚、疑似乱数は一般に周期性を有し、この周期が短いと
モニタ画面上に特定のパターンが表れるため、ある程度
周期を長くする必要があるが、このように周期を長くし
た場合は、より多くのメモリ容量を要し、構成の複雑化
がより顕著となる。本発明は、上記実情に鑑みてなされ
たものであって、その目的は、構成の簡素化を図りなが
ら、ランダムディザ処理を迅速に行えるグラフィックプ
ロセッサ、及び、そのグラフィックプロセッサを使用し
たグラフィック処理システムを提供する点にある。
However, the former of the above-mentioned conventional configurations has to reduce the processing speed of the graphic processor because it is necessary to execute an operation for obtaining a pseudo-random number each time random dither processing is performed. In addition, the latter of the above-mentioned conventional configurations has a disadvantage that a dedicated memory for random numbers is required and the configuration becomes complicated.
Pseudo-random numbers generally have periodicity, and if this period is short, a specific pattern appears on the monitor screen, so it is necessary to lengthen the period to some extent. The memory capacity is required, and the configuration becomes more complicated. The present invention has been made in view of the above circumstances, and an object thereof is to provide a graphic processor that can perform random dither processing rapidly while simplifying the configuration, and a graphic processing system using the graphic processor. It is in the point of providing.

【0006】[0006]

【課題を解決するための手段】上記請求項1に記載の構
成を備えることにより、レンダリング演算部は、ランダ
ムディザ処理を行うに際し、フレームバッファにおけ
る、1画素分の記憶領域のうちの表示用画素データを記
憶する領域以外の領域に記憶されている乱数を読み込
み、その読み込んだ乱数を使用してランダムディザ処理
を実行する。すなわち、表示用画素データを記憶するフ
レームバッファにおけるデータ構成は、通常、1画素分
の表示用画素データに対して、8ビットの整数倍のビッ
ト数が割り当てられるが、実際の1画素分の表示用画素
データに必要なビット数が割り当てられたビット数と一
致せず、未使用のビットが存在する場合がある。この未
使用のビットを利用して、ランダムディザ処理のための
乱数を予め記憶しておき、レンダリング演算部から、そ
の乱数を読み出せるようにしているのである。従って、
レンダリング演算部は、ランダムディザ処理の度毎に疑
似乱数を求める必要はなく、又、乱数の記憶のための専
用のメモリを別途設ける必要もなく、もって、構成の簡
素化を図りながら、ランダムディザ処理を迅速に行える
グラフィックプロセッサを提供できるに至った。
According to the present invention, the rendering operation unit has the display pixel in the storage area for one pixel in the frame buffer when performing the random dither processing. A random number stored in an area other than the area for storing data is read, and the read random number is used to execute random dither processing. That is, in the data structure of the frame buffer that stores the display pixel data, the number of bits that is an integral multiple of 8 bits is usually assigned to the display pixel data for one pixel, but the actual display for one pixel is performed. There are cases where the number of bits required for the use pixel data does not match the assigned number of bits, and there are unused bits. By using these unused bits, a random number for random dither processing is stored in advance, and the random number can be read from the rendering operation unit. Therefore,
The rendering operation unit does not need to obtain a pseudo-random number each time random dither processing is performed, and does not need to separately provide a dedicated memory for storing the random number, so that the random dither can be performed while simplifying the configuration. It has become possible to provide a graphic processor that can perform processing quickly.

【0007】上記請求項2記載の構成を備えることによ
り、レンダリング演算部は、3次元像である表示用図形
データをモニタに表示させる場合において、Zバッファ
に記憶されている画素データ、すなわち、画素毎の視点
からの距離情報を読み込んで、隠面処理のための演算を
実行するが、このZバッファの画素データを読み込む処
理に併行して、フレームバッファに記憶されている乱数
を読み込むのである。すなわち、一般的にレンダリング
演算部からZバッファ及びフレームバッファへのアドレ
ス指定を一括して行えるのを利用して、隠面処理のため
に必要となるZバッファからのデータの読み出しと併行
して乱数の読み出しを行うので、上記の如く構成の簡素
化を図りながら、フレームバッファから乱数を読み取る
処理を単独で行う場合に較べて、更にランダムディザ処
理を迅速に行えるようにできるに至った。
According to the second aspect of the present invention, the rendering operation section causes the pixel data stored in the Z buffer, that is, the pixel data, to be displayed when the display graphic data, which is a three-dimensional image, is displayed on the monitor. The distance information from each viewpoint is read and the calculation for the hidden surface processing is executed. In parallel with the processing of reading the pixel data of the Z buffer, the random number stored in the frame buffer is read. That is, generally, since the rendering arithmetic unit can collectively address the Z buffer and the frame buffer, the random number can be read in parallel with the reading of the data from the Z buffer necessary for the hidden surface processing. Since the reading is performed, the random dither processing can be performed more quickly than in the case where the processing of reading the random number from the frame buffer is performed independently while simplifying the configuration as described above.

【0008】上記請求項3に記載の構成を備えることに
より、フレームバッファに記憶されている乱数は、演算
により求められる疑似乱数としてあり、その疑似乱数の
1周期分の乱数データ数が、フレームバッファの表示用
画素データの記憶容量と等しいか又は大きくなるように
構成してあるので、モニタ画面上に疑似乱数の周期性を
原因とする特定パターンが現れる現象を防止できる。し
かも、グラフィックプロセッサから、上記のフレームバ
ッファの乱数を読み取り可能として、グラフィック処理
システム全体としても、構成の簡素化を図りながら、ラ
ンダムディザ処理を迅速に行えるようにできる。
According to the third aspect of the present invention, the random number stored in the frame buffer is a pseudo random number obtained by calculation, and the number of random number data for one period of the pseudo random number is the frame buffer. Since it is configured so as to be equal to or larger than the storage capacity of the display pixel data, it is possible to prevent a phenomenon in which a specific pattern due to the periodicity of pseudo random numbers appears on the monitor screen. Moreover, the random numbers in the frame buffer can be read from the graphic processor, and the random dither processing can be performed quickly while simplifying the configuration of the entire graphic processing system.

【0009】上記請求項4に記載の構成を備えることに
より、レンダリング演算部は、フレームバッファから乱
数を読み取るとき、フレームバッファに対してアドレス
を指定するが、アドレス変換手段は、その指定したアド
レスを設定条件に基づいて変換した後にフレームバッフ
ァに送る。すなわち、フレームバッファに記憶されてい
る乱数は、表示用画素データの各アドレスに対して固定
的に設定されていることになるので、あるアドレスに記
憶される表示用画素データのランダムディザ処理のため
に、そのアドレスに記憶されている乱数を使用した場合
では、そのアドレスに対応するモニタ上の表示部分のデ
ータは同一の乱数値でランダムディザ処理されることに
なる。モニタに表示される画像が静止画像又は変化の少
ない動画像であれば、このような処理で問題はなく、ち
らつきのない良好な画像となるが、モニタに表示される
画像が変化の多い動画像である場合は、ランダムディザ
処理により生じさせた一種のノイズが手前に浮き出るよ
うに見えてしまい、モニタ表示が見辛いものとなる場合
がある。このような場合に、アドレス変換手段が、レン
ダリング演算部が指定してアドレスを設定条件で変更し
て、フレームバッファに送ることで、指定したアドレス
に対応するモニタ上の表示部分のデータは異なる乱数値
でランダムディザ処理されることになり、モニタ表示を
見易いものとできる。
According to the fourth aspect of the present invention, the rendering arithmetic unit specifies an address for the frame buffer when reading the random number from the frame buffer, but the address conversion unit specifies the specified address. After conversion based on the setting conditions, send it to the frame buffer. That is, since the random number stored in the frame buffer is fixedly set for each address of the display pixel data, the random number dither processing of the display pixel data stored at a certain address is performed. When the random number stored in the address is used, the data on the display portion on the monitor corresponding to the address is subjected to the random dither process with the same random number value. If the image displayed on the monitor is a still image or a moving image with little change, such processing will not cause any problems and a good image without flicker will be obtained, but the image displayed on the monitor will be a moving image with many changes. In such a case, a kind of noise generated by the random dither processing may appear to appear in the foreground, and the monitor display may be difficult to see. In such a case, the address conversion unit changes the address specified by the rendering operation unit according to the setting condition and sends it to the frame buffer, so that the data of the display portion on the monitor corresponding to the specified address is different. Random dither processing is performed with numerical values, and the monitor display can be made easy to see.

【0010】上記請求項5に記載の構成を備えることに
より、上記のアドレス変換手段は、レンダリング演算部
がフレームバッファに対して指定したアドレスを設定条
件に基づいて変更した後にフレームバッファに送る状態
と、変更せずにそのままフレームバッファに送る状態と
に切り換えることができる。従って、モニタに表示され
る画像が、静止画像又は画像の変化の少ない動画像であ
るか、あるいは、画像の変化の多い動画像であるかに応
じて、ランダムディザ処理に使用する乱数を使い分ける
ことが可能となり、静止画像又は画像の変化の少ない動
画像が表示される場合でも、又、画像の変化の多い動画
像が表示される場合でも、モニタ表示を見易いものとで
きる。
According to the fifth aspect of the present invention, the address conversion means changes the address designated by the rendering operation unit to the frame buffer based on the setting condition and then sends the changed address to the frame buffer. , It is possible to switch to a state in which the data is sent to the frame buffer without any change. Therefore, depending on whether the image displayed on the monitor is a still image, a moving image with few changes in the image, or a moving image with many changes in the image, the random number used for random dither processing is used properly. Therefore, even when a still image or a moving image with few changes in the image is displayed, or even when a moving image with many changes in the image is displayed, the monitor display can be easily viewed.

【0011】[0011]

【発明の実施の形態】以下、本発明のグラフィックプロ
セッサの実施の形態を、グラフィック処理システムに適
用した場合について、図面に基づいて説明する。グラフ
ィック処理システムTDは、図1に示すように、装置全
体の制御を行うホストプロセッサ1と、画像処理コマン
ド情報(以下、単に「コマンド情報」と略記する場合が
ある)を含むグラフィック処理システムTDの動作プロ
グラムを記憶する主メモリ2と、主メモリ2に記憶され
ている各種のコマンドのうちの画像処理コマンド情報を
実行するグラフィックプロセッサ3と、3次元物体の画
像の表面に貼り付けるための2次元画像等の情報である
テクスチュア情報を記憶するテクスチュアバッファメモ
リ4と、表示用の画像を記憶するフレームバッファ5
と、隠面消去処理のためのZバッファ6と、グラフィッ
クプロセッサ3が作成したデジタル画像データをアナロ
グ信号に変換するD/Aコンバータ7と、D/Aコンバ
ータ7がアナログ信号に変換した画像データを表示する
モニタ8とが備えられて構成されている。グラフィック
処理システムTDには、上記以外に、各種の入出力装置
及び記憶装置等が備えられているが、図示を省略してい
る。
BEST MODE FOR CARRYING OUT THE INVENTION A case in which an embodiment of a graphic processor of the present invention is applied to a graphic processing system will be described below with reference to the drawings. As shown in FIG. 1, the graphic processing system TD includes a host processor 1 that controls the entire apparatus and a graphic processing system TD that includes image processing command information (hereinafter sometimes simply referred to as “command information”). A main memory 2 for storing an operation program, a graphic processor 3 for executing image processing command information of various commands stored in the main memory 2, and a two-dimensional image for pasting on the surface of an image of a three-dimensional object. Texture buffer memory 4 for storing texture information which is information such as images, and frame buffer 5 for storing images for display.
A Z buffer 6 for hidden surface removal processing, a D / A converter 7 for converting digital image data created by the graphic processor 3 into an analog signal, and image data converted by the D / A converter 7 into an analog signal. A monitor 8 for displaying is provided. The graphic processing system TD is provided with various input / output devices, storage devices, and the like other than the above, but they are not shown.

【0012】グラフィックプロセッサ3には、図2に示
すように、データバスDB及びアドレスバスABを介し
てホストプロセッサ1や主メモリ2とデータの遣り取り
をするインターフェース回路30と、インターフェース
回路30を介してデータバスDBから受け取った複数個
のコマンド情報をFIFO形式で記憶するコマンド蓄積
部31と、コマンド蓄積部31から受け取ったコマンド
情報を順次処理し、いわゆるワールド座標系で表現され
た表示対象となる図形データを、例えば、視点の位置を
考慮した座標変換等の処理を行って、モニタ8に表示さ
れる表示用図形データに変換処理するジオメトリ演算部
GCと、その表示用図形データを各画素毎についての表
示用画素データに変換処理するレンダリング演算部RC
と、レンダリング演算部RCとフレームバッファ5等と
の間でのデータの流れを制御するメモリ制御回路32
と、上記のコマンド蓄積部31からレンダリング演算部
RCに至るパイプラインからなり主に3次元画像を担当
する描画機構に対して、2次元画像の処理を担当する描
画機構であるスプライトコントローラ36とが備えられ
ている。又、レンダリング演算部RCには、ジオメトリ
演算部GCから受け取った表示用図形データを画素デー
タに変換するラスタライザ33と、ラスタライザ33か
ら受け取った複数個の画素データをFIFO形式で蓄積
する画素データ蓄積部34と、画素データ蓄積部34か
ら受け取った画素データに対して隠面処理等の処理を施
し、各画素毎についての表示用画素データに変換処理す
る画素データ処理部35とが備えられている。
As shown in FIG. 2, the graphic processor 3 includes an interface circuit 30 for exchanging data with the host processor 1 and the main memory 2 via a data bus DB and an address bus AB, and an interface circuit 30. A command accumulating unit 31 that stores a plurality of command information received from the data bus DB in a FIFO format, and command information received from the command accumulating unit 31 are sequentially processed to be a display target graphic expressed in a so-called world coordinate system. A geometry calculation unit GC that performs processing such as coordinate conversion in consideration of the position of the viewpoint and converts the data into display graphic data displayed on the monitor 8, and the display graphic data for each pixel. Rendering operation part RC for converting into display pixel data of
And a memory control circuit 32 for controlling the flow of data between the rendering calculation unit RC and the frame buffer 5 or the like.
And a sprite controller 36 that is a drawing mechanism that mainly handles a three-dimensional image and that is composed of a pipeline from the command storage unit 31 to the rendering calculation unit RC, and that handles a two-dimensional image. It is equipped. The rendering calculation unit RC also includes a rasterizer 33 that converts the display graphic data received from the geometry calculation unit GC into pixel data, and a pixel data storage unit that stores a plurality of pixel data received from the rasterizer 33 in a FIFO format. 34, and a pixel data processing unit 35 that performs processing such as hidden surface processing on the pixel data received from the pixel data storage unit 34 and converts the pixel data into display pixel data for each pixel.

【0013】上記ジオメトリ演算部GCの構成について
更に詳述すると、ジオメトリ演算部GCには、図3に示
すように、コマンド蓄積部31から受け取ったコマンド
情報に基づいてジオメトリ演算部GCの各部を制御する
コントローラ40と、コマンド情報に含まれる表示対象
となる図形データの頂点座標,法線データ及び色データ
等を格納するとともに、各種の演算のためのワーキング
エリアとなるワーキングメモリ41と、ワーキングメモ
リ41に記憶されているデータに対して加減乗除等の演
算を実行して、上記の座標変換等を行う演算器42と、
演算器42の演算結果を記憶するデータ出力用メモリ4
3と、ワーキングメモリ41に対して、コマンド蓄積部
31からのデータと演算器42からのデータとの何れを
書き込むかを選択するセレクタ44と、ジオメトリ演算
部GCの動作状態を管理するためのレジスタ45とが備
えられている。
The configuration of the geometry calculation section GC will be described in more detail. As shown in FIG. 3, the geometry calculation section GC controls each section of the geometry calculation section GC based on the command information received from the command storage section 31. Controller 40, a working memory 41 for storing vertex coordinates, normal line data, color data, etc. of graphic data to be displayed, which are included in the command information, and a working memory 41 serving as a working area for various calculations, and a working memory 41. An arithmetic unit 42 that executes arithmetic operations such as addition, subtraction, multiplication, and division on the data stored in
Data output memory 4 for storing the calculation result of the calculator 42
3, a selector 44 for selecting which of the data from the command storage unit 31 and the data from the arithmetic unit 42 is written to the working memory 41, and a register for managing the operation state of the geometry arithmetic unit GC. And 45 are provided.

【0014】上記画素データ処理部35の構成について
更に詳述すると、画素データ処理部35には、画素デー
タ処理部35内の各部を制御するコントローラ50と、
画素データ蓄積部34から受け取った画素データに対し
てランダムディザ処理等の処理を行う演算器51と、表
示するためのデータ(表示データ)としてフレームバッ
ファ5に書き込むデータを、演算器51で処理したデー
タ,演算器51で処理していないデータ又はテクスチュ
アバッファから読み出したテクスチュアデータの3つの
うちから選択するセレクタ52と、隠面処理のためのZ
データ比較を行うZ比較回路53と、画素データ処理部
35の動作状態を管理するためのレジスタ54とが備え
られている。
The configuration of the pixel data processing unit 35 will be described in further detail. The pixel data processing unit 35 includes a controller 50 for controlling each unit in the pixel data processing unit 35.
The arithmetic unit 51 that performs processing such as random dither processing on the pixel data received from the pixel data storage unit 34 and the data to be written in the frame buffer 5 as the data (display data) to be displayed are processed by the arithmetic unit 51. A selector 52 for selecting from three types of data, data not processed by the arithmetic unit 51 or texture data read from the texture buffer, and Z for hidden surface processing.
A Z comparison circuit 53 for performing data comparison and a register 54 for managing the operation state of the pixel data processing unit 35 are provided.

【0015】画素データ処理部35が画素データ蓄積部
34から受け取るデータは、主に画素データであるが、
レジスタ54に書き込むためのデータである場合もあ
り、画素データ蓄積部34から受け取るデータには、画
素データを処理するものか、あるいは、レジスタ54へ
の書き込み指令であるか等を示すコマンドが含まれてい
る。画素データには、更に、モニタ画面上の表示アドレ
ス,視点からの距離であるZデータ,色データ,及び,
テクスチュアバッファ4のデータを利用する場合のテク
スチュアアドレス等が含まれ、画素データの各ビットが
割り付けられている。又、レジスタ54への書き込み指
令の場合は、上記画素データにおける表示アドレス及び
Zデータに割り付けられたビットに、レジスタ54に書
き込むための値が割り付けられる。
The data that the pixel data processing unit 35 receives from the pixel data storage unit 34 is mainly pixel data,
The data may be data to be written to the register 54, and the data received from the pixel data storage unit 34 includes a command indicating whether to process the pixel data or whether it is a write command to the register 54. ing. The pixel data further includes a display address on the monitor screen, Z data that is the distance from the viewpoint, color data, and
A texture address and the like when the data of the texture buffer 4 is used are included, and each bit of pixel data is allocated. In the case of a write command to the register 54, a value to be written in the register 54 is assigned to the bit assigned to the display address and Z data in the pixel data.

【0016】以下、上記構成のグラフィック処理システ
ムTDの作動を概略説明する。ホストプロセッサ1は、
グラフィックプロセッサ3のインターフェース回路30
のアドレスを指定した状態で、主メモリ2に記憶されて
いるコマンド情報をデータバスDBに順次出力する。こ
のコマンド情報には、描画指令以外に、ジオメトリ演算
部GCからホストプロセッサ1に対して割り込み信号を
発生させるための割り込み信号発生指令(以下、便宜上
「第1割り込み信号発生指令」と称する)と、画素デー
タ処理部35からホストプロセッサ1に対して割り込み
信号を発生させるための割り込み信号発生指令(以下、
便宜上「第2割り込み信号発生指令」と称する)とが含
まれる。第1割り込み信号発生指令は、ジオメトリ演算
部GCのレジスタ45の割り込み信号発生用ビットに
「1」を書き込む命令であり、第2割り込み信号発生指
令は、画素データ処理部35のレジスタ54の割り込み
信号発生用ビットに「1」を書き込む命令である。
The operation of the graphic processing system TD having the above configuration will be briefly described below. The host processor 1
Interface circuit 30 of the graphic processor 3
Command information stored in the main memory 2 is sequentially output to the data bus DB in the state where the address is designated. The command information includes, in addition to the drawing command, an interrupt signal generation command for generating an interrupt signal from the geometry calculation unit GC to the host processor 1 (hereinafter, referred to as “first interrupt signal generation command” for convenience). An interrupt signal generation command for generating an interrupt signal from the pixel data processing unit 35 to the host processor 1 (hereinafter,
For convenience, it will be referred to as a "second interrupt signal generation command"). The first interrupt signal generation command is a command for writing “1” in the interrupt signal generation bit of the register 45 of the geometry calculation unit GC, and the second interrupt signal generation command is the interrupt signal of the register 54 of the pixel data processing unit 35. This is an instruction to write "1" in the generation bit.

【0017】コマンド情報中の第1割り込み信号発生指
令を書き込む位置としては、例えば、ジオメトリ演算部
GCにて、あるコマンド情報を処理した場合において、
その処理結果を利用したいときに、そのコマンド情報の
直後に書き込めば良い。又、コマンド情報中の第2割り
込み信号発生指令を書き込む位置としては、例えば、画
素データ処理部35からフレームバッファ5に対して表
示用画素データを書き込む状態から、スプライトコント
ローラ36からフレームバッファ5に対して表示用画素
データを書き込む状態に切り替えたいときに、その画素
データ処理部35からフレームバッファ5に最後に書き
込む表示用画素データに関連するコマンド情報の直後に
書き込めば良い。
The position at which the first interrupt signal generation command is written in the command information is, for example, when certain command information is processed by the geometry calculator GC.
When you want to use the processing result, write it immediately after the command information. As for the position to write the second interrupt signal generation command in the command information, for example, from the state where the pixel data processing unit 35 writes the display pixel data to the frame buffer 5, the sprite controller 36 writes to the frame buffer 5. When it is desired to switch to a state in which the display pixel data is written, the command data relating to the display pixel data last written from the pixel data processing unit 35 may be written immediately after.

【0018】データバスDBに出力されたコマンド情報
は、インターフェース回路30を経由して、順次コマン
ド蓄積部31に書き込まれる。コマンド蓄積部31は、
FIFO形式で、先に蓄積されたコマンド情報から順に
ジオメトリ演算部GCに送り、ジオメトリ演算部GCは
受け取ったコマンド情報を順次処理する。ジオメトリ演
算部GCのコントローラ40は、セレクタ44及び演算
器42等を制御して上記座標変換等を行い、演算結果を
データ出力メモリ43に書き込む。コントローラ40
は、コマンド蓄積部31から上記の第1割り込み信号発
生指令を受け取ると、受け取った時点で、その指示通り
に、レジスタ45にデータを書き込む。これにより、レ
ジスタ45の割り込み信号発生用ビットが「1」とな
り、この信号がインターフェース回路30を経由して、
ホストプロセッサ1の割り込み信号入力に送られる。ホ
ストプロセッサ1は、この割り込み要求を受けて、それ
までの処理を中断し、例えば、ジオメトリ演算部GCの
データ出力メモリ43に書き込まれているデータを読み
取ることができる。
The command information output to the data bus DB is sequentially written in the command storage unit 31 via the interface circuit 30. The command storage unit 31
In the FIFO format, the previously stored command information is sequentially sent to the geometry calculation section GC, and the geometry calculation section GC sequentially processes the received command information. The controller 40 of the geometry calculation unit GC controls the selector 44, the calculation unit 42 and the like to perform the coordinate conversion and the like, and writes the calculation result to the data output memory 43. Controller 40
When receiving the above-mentioned first interrupt signal generation command from the command accumulating section 31, when writing, the data is written in the register 45 according to the instruction. As a result, the interrupt signal generation bit of the register 45 becomes "1", and this signal passes through the interface circuit 30 and
It is sent to the interrupt signal input of the host processor 1. In response to this interrupt request, the host processor 1 can interrupt the processing up to that point and read the data written in the data output memory 43 of the geometry calculation section GC, for example.

【0019】又、コントローラ40が、コマンド蓄積部
31から上記の第2割り込み信号発生指令を受け取る
と、前後のコマンド情報の処理により生成された表示用
図形データと並び順を維持した状態で、レンダリング演
算部RCのラスタライザ33に送る。ラスタライザ33
は、ジオメトリ演算部GCから表示用図形データを受け
取ると、適宜補間処理等を行いながら上記形式の画素デ
ータに変換し、画素データ蓄積部34に順次書き込んで
行く。この処理の途中で、上記の第2割り込み信号発生
指令を受け取ると、前後の表示用図形データの処理によ
り生成された画素データと並び順を維持して画素データ
蓄積部34に送る。
Further, when the controller 40 receives the second interrupt signal generation command from the command storage unit 31, the rendering is performed while maintaining the arrangement order with the display graphic data generated by the processing of the preceding and succeeding command information. It is sent to the rasterizer 33 of the arithmetic unit RC. Rasterizer 33
When the display graphic data is received from the geometry calculation unit GC, the display data is converted into pixel data of the above format while appropriately performing interpolation processing and the like, and sequentially written in the pixel data storage unit 34. When the second interrupt signal generation command is received in the middle of this process, the second interrupt signal generation command is sent to the pixel data storage unit 34 while maintaining the arrangement order with the pixel data generated by the processing of the preceding and following display graphic data.

【0020】画素データ蓄積部34は、FIFO形式で
あるので、先に書き込まれた画素データから順に画素デ
ータ処理部35に送る。画素データ処理部35のコント
ローラ50は、画素データ蓄積部34から画素データを
受け取ると、演算器51及びZ比較回路53を制御し
て、順次、隠面処理のためのZデータ比較,色分解能を
向上させるためのランダムディザ処理,物体の影を表現
するための輝度計算をするシャドウ処理,明暗により遠
近感を表現するための輝度計算をするフォグ/デプスキ
ュー処理,又は,テクスチュアバッファのデータの貼り
付け等を実行し、それらの処理結果の色データを表示用
画素データとして、Z比較回路53の処理結果を鑑みな
がら、フレームバッファ5の指定された表示アドレスに
書き込む。
Since the pixel data storage unit 34 is in the FIFO format, the pixel data is sent to the pixel data processing unit 35 in order from the previously written pixel data. Upon receiving the pixel data from the pixel data storage unit 34, the controller 50 of the pixel data processing unit 35 controls the arithmetic unit 51 and the Z comparison circuit 53 to sequentially perform Z data comparison and color resolution for hidden surface processing. Random dither processing to improve, shadow processing to calculate the brightness to express the shadow of an object, fog / depth skew processing to calculate the brightness to express perspective by brightness and darkness, or pasting of texture buffer data Then, the color data resulting from the processing is written as display pixel data in the designated display address of the frame buffer 5 in consideration of the processing result of the Z comparison circuit 53.

【0021】上記の各処理のうち、Zデータ比較とラン
ダムディザ処理とは併行して実行され、その処理の過程
を簡単に説明する。画素データ蓄積部34からメモリ制
御回路32に表示アドレスが入力されると、メモリ制御
回路32は、そのアドレスをフレームバッファ5及びZ
バッファ6に送る。このアドレスの指定を受けて、フレ
ームバッファ5は演算器51へ、Zバッファ6はZ比較
回路54へ、夫々指定されたアドレスのデータを送る。
フレームバッファ5に記憶されているデータすなわち表
示用画素データは、図5に示すように、モニタ表示に対
応して縦横に分割した各画素5a毎に、16ビットの記
憶領域が割り当てられており、この16ビットの記憶領
域のうち、D0〜D5 の6ビットを色コード、D6 〜D
11の6ビットを輝度データに使用し、残りの4ビットの
空き領域のうちD13〜D15の3ビットを乱数の記憶に使
用している。フレームバッファ5に記憶されている乱数
は、乗算合同法による疑似乱数発生式である X(n+1) =(a×X(n) +c)mod m (mod は剰余を
意味する) によって、予め求めた疑似乱数である。疑似乱数は周期
性を有するが、その1周期分のデータ数が、フレームバ
ッファ5の表示用画素データの記憶容量と等しいか又は
大きくなるように、例えば試行演算を行うことによっ
て、a,c,mを適当な値に選択してある。
Among the above processes, the Z data comparison and the random dither process are executed in parallel, and the process steps will be briefly described. When the display address is input from the pixel data storage unit 34 to the memory control circuit 32, the memory control circuit 32 uses the address as the frame buffer 5 and the Z.
Send to buffer 6. In response to the designation of the address, the frame buffer 5 sends the data of the designated address to the arithmetic unit 51 and the Z buffer 6 sends the data of the designated address to the Z comparison circuit 54.
As shown in FIG. 5, the data stored in the frame buffer 5, that is, the pixel data for display, is allocated with a 16-bit storage area for each pixel 5a vertically and horizontally divided corresponding to the monitor display. In this 16-bit storage area, 6 bits D 0 to D 5 are color codes and D 6 to D 5
11 bits of 6 bits are used for luminance data, and 3 bits of D 13 to D 15 of the remaining 4-bit free area are used for storing random numbers. The random number stored in the frame buffer 5 is a pseudo random number generation formula by the multiplication congruential method. X (n + 1) = (a × X (n) + c) mod m (mod means a remainder) It is the obtained pseudo-random number. Pseudo-random numbers have a periodicity, but the number of data for one period is equal to or larger than the storage capacity of the display pixel data of the frame buffer 5, for example, by performing a trial calculation, a, c, m is chosen to be an appropriate value.

【0022】演算器51が、この乱数を含むデータをフ
レームバッファ5から受け取ると、そのデータのD13
15から乱数を抽出し、画素データ蓄積部34から受け
取った画素データの中の色データに含まれる輝度データ
に加算して、ランダムディザ処理を実行する。演算器5
1は、このランダムディザ処理の他、上述のシャドウ処
理等を終了すると、表示用図形データとしてフレームバ
ッファ5に書き込む。但し、この書き込みは、その画素
データが、Z比較回路53によって、視点に近い側のデ
ータであると判断された場合に限られ、又、表示用画素
データのD13〜D15には、読み取った乱数が書き込まれ
る。一方、Zバッファ6からZデータを受け取ったZ比
較回路53は、画素データ蓄積部34から送られている
同一表示アドレスの画素データのZデータと比較して、
何れが視点に近い側であるかを判断し、その判断結果を
演算器51に送るとともに、近い側のZデータをZバッ
ファ6に書き込む。
When the arithmetic unit 51 receives the data including the random number from the frame buffer 5, the data D 13- .
A random number is extracted from D 15 and added to the luminance data included in the color data in the pixel data received from the pixel data storage unit 34, and the random dither processing is executed. Arithmetic unit 5
In addition to the random dithering process, the writing device 1 writes it in the frame buffer 5 as display graphic data when the shadow process and the like described above are completed. However, this writing is limited to the case where the pixel data is determined by the Z comparison circuit 53 to be data on the side close to the viewpoint, and the reading is performed in D 13 to D 15 of the display pixel data. Random numbers are written. On the other hand, the Z comparison circuit 53 that receives the Z data from the Z buffer 6 compares the Z data of the pixel data of the same display address sent from the pixel data storage unit 34,
It is determined which is closer to the viewpoint, the determination result is sent to the calculator 51, and the Z data on the closer side is written in the Z buffer 6.

【0023】コントローラ50は、画素データ蓄積部3
4から画素データではなく上記の第2割り込み信号発生
指令を受け取ると、受け取った時点で、その指示通り
に、レジスタ54にデータを書き込む。これにより、レ
ジスタ54の割り込み信号発生用ビットが「1」とな
り、この信号がインターフェース回路30を経由して、
ホストプロセッサ1の割り込み信号入力に送られる。ホ
ストプロセッサ1は、この割り込み要求を受けて、それ
までの処理を中断し、例えば、画素データ処理部35か
らフレームバッファ5へ書き込む状態から、スプライト
コントローラ36からフレームバッファ5へ書き込む状
態へ切り換えることができる。上記の如くして、フレー
ムバッファ5に書き込まれた表示用画素データは、D/
Aコンバータ7にてアナログ信号に変換された後、モニ
タ8に表示される。
The controller 50 includes a pixel data storage unit 3
When the second interrupt signal generation command, not the pixel data, is received from 4, the data is written in the register 54 according to the instruction at the time of reception. As a result, the interrupt signal generation bit of the register 54 becomes "1", and this signal passes through the interface circuit 30 and
It is sent to the interrupt signal input of the host processor 1. In response to the interrupt request, the host processor 1 may interrupt the processing up to that point, and switch from the state of writing from the pixel data processing unit 35 to the frame buffer 5 to the state of writing from the sprite controller 36 to the frame buffer 5, for example. it can. As described above, the display pixel data written in the frame buffer 5 is D /
After being converted into an analog signal by the A converter 7, it is displayed on the monitor 8.

【0024】〔別実施形態〕以下、本発明の別実施形態
を列記する。 上記実施の形態では、画素データの表示アドレスと
乱数の値とが一対一に対応しているが、図6に示すよう
に、メモリ制御回路32からフレームバッファ5に対し
て表示アドレスを指定する回路の途中にアドレス変換手
段であるアドレス変換回路60を設けて、表示アドレス
を設定条件で変更した後フレームバッファ5に送り、表
示アドレスと乱数の値との対応関係を変化させるように
構成しても良い。尚、このアドレス変換回路60は、コ
ントローラ50からの指示により、アドレスを設定条件
で変更する状態と、変更せずにそのまま出力する状態と
に切り換えられる。上記の表示アドレスを変更するため
の設定条件としては、アドレス変換回路60に入力され
た表示アドレスに一定値を加算するという条件、あるい
は、前回のランダムディザ処理に使用した乱数を記憶し
ておき、入力された表示アドレスにその乱数を加算する
条件等の条件で良い。
[Other Embodiments] Hereinafter, other embodiments of the present invention will be listed. In the above-described embodiment, the display address of the pixel data and the value of the random number have a one-to-one correspondence, but as shown in FIG. 6, a circuit for designating the display address from the memory control circuit 32 to the frame buffer 5. An address conversion circuit 60, which is an address conversion means, may be provided in the middle of the process, and the display address may be changed to a setting condition and then sent to the frame buffer 5 to change the correspondence between the display address and the value of the random number. good. The address conversion circuit 60 can be switched between a state in which the address is changed according to the setting condition and a state in which the address is directly output without being changed according to an instruction from the controller 50. As the setting condition for changing the display address, the condition that a constant value is added to the display address input to the address conversion circuit 60, or the random number used in the previous random dither processing is stored, The condition such as adding the random number to the input display address may be used.

【0025】図6に示すアドレス変換回路60を備えた
ときの作動を概略説明する。上記実施の形態と同様に、
Zデータ比較とランダムディザ処理とは併行して実行さ
れる。画素データ蓄積部34からメモリ制御回路32に
表示アドレスが入力されると、メモリ制御回路32は、
そのアドレスをフレームバッファ5及びZバッファ6に
送る。このうち、メモリ制御回路32からフレームバッ
ファ5に送られるアドレスは、アドレス変換回路60に
て上記の如くアドレスが変更された後のアドレスがフレ
ームバッファ5のアドレス入力に入力される。このアド
レスの指定を受けて、フレームバッファ5は演算器51
へ、Zバッファ6はZ比較回路54へ、夫々指定された
アドレスのデータを送る。この後の演算器51及びZ比
較回路54での処理は、上記実施の形態と同様である。
The operation when the address conversion circuit 60 shown in FIG. 6 is provided will be briefly described. Similar to the above embodiment,
The Z data comparison and the random dither processing are executed concurrently. When the display address is input from the pixel data storage unit 34 to the memory control circuit 32, the memory control circuit 32
The address is sent to the frame buffer 5 and the Z buffer 6. Of these addresses, the address sent from the memory control circuit 32 to the frame buffer 5 is input to the address input of the frame buffer 5 after the address has been changed by the address conversion circuit 60 as described above. In response to the designation of this address, the frame buffer 5 operates in the arithmetic unit 51.
The Z buffer 6 sends the data of the designated addresses to the Z comparison circuit 54. Subsequent processing in the arithmetic unit 51 and the Z comparison circuit 54 is the same as that in the above-described embodiment.

【0026】但し、演算器51が、求めた表示用画素デ
ータのD13〜D15に読み取った乱数をそのまま書き込ん
だのでは、フレームバッファ5に記憶されている乱数が
変化してしまう。これを避けるため、演算器51からフ
レームバッファ5に対して表示用画素データを書き込む
前に、コントローラ50からの指示によってアドレス変
換回路60がアドレスを変更しない状態に切り換えて、
処理している画素データの表示アドレスを指定してフレ
ームバッファ5の乱数を読み込み、表示用画素データの
13〜D15に本来の乱数データを書き込む処理を行う必
要がある。このように、フレームバッファ5に記憶され
ている乱数を読み取るときに、指定された表示アドレス
を変換処理するのは、変化の多い動画像をモニタ表示す
る場合に好適であるが、静止画像や変化の少ない動画像
の場合は、画面がちらついて見える場合があるため、フ
レームバッファ5から乱数を読み取るときにも、アドレ
ス変換回路60が、変更せずにそのまま出力する状態に
切り換えることができる。この切り換えは、主メモリ2
に、上記の切り換えを行う画像処理コマンド情報を書き
込んでおくことで、操作者が任意に指定できる。
However, the computing unit 51 determines that the calculated display pixel data
Data D13~ DFifteenWrite the random number read to
Then, the random number stored in the frame buffer 5
It will change. To avoid this, the calculator 51
Write display pixel data to the frame buffer 5
Before the address change by the instruction from the controller 50
The conversion circuit 60 switches to a state where the address is not changed,
Specify the display address of the pixel data being processed and
The random number in the memory buffer 5 is read and the pixel data for display is
D 13~ DFifteenTo write the original random number data to
It is necessary. In this way, it is stored in the frame buffer 5.
Specified display address when reading the random number
The conversion process is to display a moving image with many changes on the monitor.
It is suitable for static images, but still images and moving images with few changes
, The screen may flicker, so
When reading random numbers from the frame buffer 5, the address
The output conversion circuit 60 to the state where it is output as it is without any change.
It can be switched. This switching is performed by the main memory 2
Write the image processing command information to switch the above
By including it, the operator can specify it arbitrarily.

【0027】 上記実施の形態では、フレームバッフ
ァ5に書き込む乱数として、乗算合同法によって求めた
疑似乱数を採用しているが、乗算合同法によらず、いわ
ゆるM系列法等の他の乱数発生法によって発生させた疑
似乱数を採用しても良い。又、乱数表の乱数をフレーム
バッファ5に書き込むようにしても良い。
In the above embodiment, pseudo random numbers obtained by the multiplication congruential method are used as the random numbers to be written in the frame buffer 5, but other random number generation methods such as the so-called M-sequence method are used instead of the multiplication congruential method. It is also possible to employ a pseudo-random number generated by. Alternatively, the random numbers in the random number table may be written in the frame buffer 5.

【0028】 上記実施の形態では、表示用画素デー
タの色データを、色コードと輝度データとにより構成す
る場合を例示しているが、R,G,B夫々の輝度データ
で色を表現する形式でも良い。この場合、ランダムディ
ザ処理の乱数の加算は、R,G,B夫々の輝度データに
対して実行される。
In the above embodiment, the case where the color data of the display pixel data is composed of the color code and the luminance data is illustrated, but the format in which the color is expressed by the luminance data of each of R, G and B is shown. But good. In this case, the addition of the random numbers in the random dither processing is executed for each of the R, G, and B luminance data.

【0029】尚、特許請求の範囲の項に図面との対照を
便利にするために符号を記すが、該記入により本発明は
添付図面の構造に限定されるものではない。
In the claims, reference numerals are provided for convenience of comparison with the drawings, but the present invention is not limited to the structure shown in the attached drawings.

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

【図1】本発明の実施の形態にかかる概略ブロック構成
FIG. 1 is a schematic block configuration diagram according to an embodiment of the present invention.

【図2】本発明の実施の形態にかかるグラフィックプロ
セッサのブロック構成図
FIG. 2 is a block configuration diagram of a graphic processor according to an embodiment of the present invention.

【図3】本発明の実施の形態にかかる要部ブロック構成
FIG. 3 is a block diagram of a main part according to the embodiment of the present invention.

【図4】本発明の実施の形態にかかる要部ブロック構成
FIG. 4 is a block diagram of a main part according to the embodiment of the present invention.

【図5】本発明の実施の形態にかかるフレームバッファ
の説明図
FIG. 5 is an explanatory diagram of a frame buffer according to the embodiment of the present invention.

【図6】本発明の別実施形態にかかる要部ブロック構成
FIG. 6 is a block diagram of a main part according to another embodiment of the present invention.

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

1 ホストプロセッサ 3 グラフィックプロセッサ 5 フレームバッファ 6 Zバッファ 8 モニタ 60 アドレス変換手段 DB データバス GC ジオメトリ演算部 RC レンダリング演算部 1 host processor 3 graphic processor 5 frame buffer 6 Z buffer 8 monitor 60 address conversion means DB data bus GC geometry calculation unit RC rendering calculation unit

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G09G 5/36 520 G06F 15/68 310J 9365−5H 15/72 350 Continuation of the front page (51) Int.Cl. 6 Identification number Office reference number FI Technical display location G09G 5/36 520 G06F 15/68 310J 9365-5H 15/72 350

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ホストプロセッサ(1)のデータバス
(DB)から受け取った画像処理コマンド情報に基づい
て、表示対象となる図形データを、モニタ(8)に表示
される表示用図形データに変換処理するジオメトリ演算
部(GC)と、 そのジオメトリ演算部(GC)にて求められた表示用図
形データを各画素毎についての表示用画素データに変換
処理して、その表示用画素データをフレームバッファ
(5)に書き込むレンダリング演算部(RC)とが設け
られ、 前記レンダリング演算部(RC)は、前記表示用画素デ
ータに乱数を加算して、ランダムディザ処理を行うよう
に構成されているグラフィックプロセッサであって、 前記レンダリング演算部(RC)は、前記フレームバッ
ファ(5)における、1画素分の記憶領域のうちの前記
表示用画素データを記憶する領域以外の領域に記憶され
ている乱数を読み込み、その読み込んだ乱数に基づい
て、前記ランダムディザ処理を実行するように構成され
ているグラフィックプロセッサ。
1. A process of converting graphic data to be displayed into display graphic data displayed on a monitor (8) based on image processing command information received from a data bus (DB) of a host processor (1). And a geometry calculation unit (GC) for converting the display graphic data obtained by the geometry calculation unit (GC) into display pixel data for each pixel, and displaying the display pixel data. 5) is provided with a rendering calculation unit (RC), and the rendering calculation unit (RC) is a graphic processor configured to add a random number to the display pixel data and perform random dither processing. In the frame buffer (5), the rendering calculation unit (RC) is configured to display the table in the storage area for one pixel. A graphic processor configured to read a random number stored in an area other than an area for storing display pixel data and execute the random dither processing based on the read random number.
【請求項2】 前記レンダリング演算部(RC)は、隠
面処理のためのZバッファ(6)から画素データを読み
込む処理と並行して、前記フレームバッファ(5)に記
憶されている乱数を読み込むように構成されている請求
項1記載のグラフィックプロセッサ。
2. The rendering operation unit (RC) reads a random number stored in the frame buffer (5) in parallel with a process of reading pixel data from a Z buffer (6) for hidden surface processing. The graphic processor according to claim 1, configured as described above.
【請求項3】 請求項1又は2記載のグラフィックプロ
セッサ(3)と、前記表示用画素データを記憶するフレ
ームバッファ(5)とを備え、 前記フレームバッファ(5)に記憶されている乱数が、
演算により求められる疑似乱数であり、 その疑似乱数の1周期分の乱数データ数が、前記フレー
ムバッファ(5)の前記表示用画素データの記憶容量と
等しいか又は大きくなるように構成してあるグラフィッ
ク処理システム。
3. The graphic processor (3) according to claim 1 or 2, and a frame buffer (5) for storing the display pixel data, wherein the random number stored in the frame buffer (5) is
A graphic that is a pseudo-random number obtained by calculation, and is configured such that the number of random-number data for one cycle of the pseudo-random number is equal to or larger than the storage capacity of the display pixel data of the frame buffer (5). Processing system.
【請求項4】 前記レンダリング演算部(RC)が、前
記フレームバッファ(5)に記憶されている乱数を読み
取るときに、 前記レンダリング演算部(RC)が前記フレームバッフ
ァ(5)に対して指定したアドレスを設定条件に基づい
て変更した後に前記フレームバッファ(5)に送るアド
レス変換手段(60)が設けられている請求項3記載の
グラフィック処理システム。
4. When the rendering operation unit (RC) reads a random number stored in the frame buffer (5), the rendering operation unit (RC) designates to the frame buffer (5). The graphic processing system according to claim 3, further comprising address conversion means (60) for sending the address to the frame buffer (5) after changing the address based on a setting condition.
【請求項5】 前記アドレス変換手段(60)は、前記
フレームバッファ(5)に記憶されている乱数を読み取
るときに、 前記レンダリング演算部(RC)が前記フレームバッフ
ァ(5)に対して指定したアドレスを設定条件に基づい
て変更した後に前記フレームバッファ(5)に送る状態
と、 前記アドレスをそのまま前記フレームバッファ(5)に
送る状態とに切換可能に構成されている請求項4記載の
グラフィック処理システム。
5. The address conversion means (60) specifies the frame buffer (5) by the rendering operation unit (RC) when reading a random number stored in the frame buffer (5). 5. The graphic processing according to claim 4, wherein it is configured to be switchable between a state in which the address is changed based on a setting condition and then sent to the frame buffer (5) and a state in which the address is sent to the frame buffer (5) as it is. system.
JP7221517A 1995-08-30 1995-08-30 Graphic processor and graphic processing system Pending JPH0962853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7221517A JPH0962853A (en) 1995-08-30 1995-08-30 Graphic processor and graphic processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7221517A JPH0962853A (en) 1995-08-30 1995-08-30 Graphic processor and graphic processing system

Publications (1)

Publication Number Publication Date
JPH0962853A true JPH0962853A (en) 1997-03-07

Family

ID=16767959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7221517A Pending JPH0962853A (en) 1995-08-30 1995-08-30 Graphic processor and graphic processing system

Country Status (1)

Country Link
JP (1) JPH0962853A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100454365C (en) * 2001-05-23 2009-01-21 皇家菲利浦电子有限公司 Dithering method and dithering device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100454365C (en) * 2001-05-23 2009-01-21 皇家菲利浦电子有限公司 Dithering method and dithering device

Similar Documents

Publication Publication Date Title
US5877769A (en) Image processing apparatus and method
JP3645024B2 (en) Drawing apparatus and drawing method
KR20060041967A (en) Image processor
EP0620532A2 (en) Methods and apparatus for synthesizing a three-dimensional image signal and producing a two-dimensional visual display therefrom
US6339430B1 (en) Video game machine and method for changing texture of models
US6172686B1 (en) Graphic processor and method for displaying a plurality of figures in motion with three dimensional overlay
JPH09212412A (en) Memory access method and data processor
JP3903557B2 (en) Data conversion apparatus and image generation apparatus
JPH01131976A (en) Device and method for texture mapping
JP3038139B2 (en) Graphic processor
JPH0962853A (en) Graphic processor and graphic processing system
EP0425573B1 (en) Texture mapping for computer graphics display controller system
JP3741053B2 (en) Image processing device
JP2003051023A (en) Device, method and program for plotting and computer readable recording medium with the same program recorded
JP3052839B2 (en) Image processing apparatus and processing method thereof
JP2003308537A (en) Graphic rendering device
JP3745659B2 (en) Image generating apparatus and image generating program
JP3556517B2 (en) 3D image processing device
JP2675169B2 (en) Graphic processing system
JP3468985B2 (en) Graphic drawing apparatus and graphic drawing method
JP3306139B2 (en) Image processing device and game machine
JP3688765B2 (en) Drawing method and graphics apparatus
JP3971448B2 (en) Drawing apparatus and drawing method
JP2003187260A (en) Image rendering program, recording medium in which image rendering program is recorded, image rendering apparatus and method
JP3159431B2 (en) Image processing system