JP2804028B2 - Rendering processor - Google Patents

Rendering processor

Info

Publication number
JP2804028B2
JP2804028B2 JP62187561A JP18756187A JP2804028B2 JP 2804028 B2 JP2804028 B2 JP 2804028B2 JP 62187561 A JP62187561 A JP 62187561A JP 18756187 A JP18756187 A JP 18756187A JP 2804028 B2 JP2804028 B2 JP 2804028B2
Authority
JP
Japan
Prior art keywords
data
value
register
image
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP62187561A
Other languages
Japanese (ja)
Other versions
JPS6432393A (en
Inventor
泰 福永
良 藤田
和義 古賀
勲 保田
猛 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62187561A priority Critical patent/JP2804028B2/en
Publication of JPS6432393A publication Critical patent/JPS6432393A/en
Priority to US07/634,818 priority patent/US5371839A/en
Priority to US08/715,472 priority patent/US6088037A/en
Application granted granted Critical
Publication of JP2804028B2 publication Critical patent/JP2804028B2/en
Priority to US09/584,498 priority patent/US6292196B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は主にCRTデイスプレイのような表示制御装置
に表示するデータを生成するレンダリングプロセツサに
係り、特にイメージや3次元データを高速に生成するレ
ンダリングプロセツサに関する。 〔従来の技術〕 従来、表示制御、特に描画処理を実行する装置につい
ては、数多くの処理系が提案されている。 たとえば、特開昭59−229669号公報に記載された例
は、イメージの回転処理を行つている例であり、ソース
画像の格子点座標に対応するデイステイネーシヨン画像
の座標値を求める方式を採用している。この方式では、
直線展開のDDA回路をデイステイネーシヨンの(X,Y)座
標に対してのみ有していれば良いが、生成元の画像のサ
イズによつて処理性能が決まること、及び、デイステイ
ネーシヨンの1個の格子点に何度も異なつた格子点の画
素が書き込まれたり、反対にかかれなかつたりする問題
を有している。 特公昭57−57715号公報は、頂点の濃度値が与えられ
た三角形内部の各画素の濃淡を求める方式を示したもの
である。本方式は、面図形のシエデイングをハードウエ
アで実現する形態を述べたものであるが、1画素生成ご
とにメモリアクセスを行うため、特にシエーデイング処
理のように、ラスタに平行に画素を生成する場合の処理
性能に問題を残している。 特開昭60−252394号公報は、カラー画像、特にメモリ
プレーンを可変構成にしたカラー画像表示装置を示して
いる。これは、CPUとのバス構成をプレーン数によらず
一定にできるような方式を示したものであるが、各プレ
ーン独立の演算回路は設けておらず、イメージ処理を始
めとするオペレーシヨンの性能に問題を残している。 〔発明が解決しようとする問題点〕 上記従来技術は、それぞれグラフイツクスやイメージ
の一部処理に対し高速に処理することを考慮したもので
あるが、それらを統合化して処理するには不十分な点が
ある。 本発明の目的は、直線展開などのCPUより発生された
図形描画コマンドを処理するグラフィックス処理と、メ
モリに記憶されたイメージのラスタオペレーションなど
のイメージ処理とを総合化し得るレンダリングプロセッ
サを提供することにある。 〔問題点を解決するための手段〕 本発明の特徴は、少なくともフレームメモリに記憶さ
れた画像データをソース画像とし、ソース画像の座標に
対応するディスティネーション画像の格子点座標を計算
する座標演算部を有し、ソース画像の画像データを上記
ディスティネーションの格子点座標に書き込むレンダリ
ングプロセッサにおいて、CPUより発生された図形描画
コマンドに基づいて生成された濃度値、Z値からなる画
像データ及び上記フレームメモリに記憶された濃度値、
Z値からなる画像データから何れか一方を選択する第1
の選択手段と、第1の選択手段により選択された濃度
値、Z値からなる画像データと、CPUより発生された図
形コマンドより補完演算して生成した濃度値、Z値から
なる画像データから、ソース画像として濃度値、Z値を
選択する第2の選択手段とを有し、ディスティネーショ
ンの格子点座標に、第2の選択手段で選択された濃度
値、Z値からなるソース画像を書き込むことである。 〔作用〕 本発明によれば、ソース画像のデータとして、CPUか
ら発生された図形描画コマンドに基づいて生成された濃
度値、Z値からなる画像データ、CPUより発生された図
形コマンドより補完演算して生成した濃度値、Z値から
なる画像データ及びフレームメモリに記憶された濃度
値、Z値からなる画像データから第1、第2の選択手段
により濃度値、Z値を選択し、求めたディスティネーシ
ョンの格子点座標に書き込まれるので、直線展開等のCP
Uより発生された図形描画コマンドを処理するグラフィ
ックス処理と、フレームメモリに記憶されたイメージの
ラスタオペレーション等のイメージ処理との統合化が可
能となると共に、種々のレンダリング処理を行うことが
できる。 〔実施例〕 以下、本発明の一実施例を第1図ないし第12図により
説明する。 第1図は本発明の中心となるハードウエア構成を示し
た図、第2図は、本発明の中心となる機能の代表例を示
した図、第3図は全体のシステム構成を示した図、第4
図は、同一ハードウエアを繰返し使用したレンダリング
処理部の構成図、第5図以降は、第1図の各ブロツクの
構成を詳細に説明した図である。 まず本発明の中心となるハードウエア構成を説明する
前に、全システムにおける本発明の位置付けを説明す
る。 第3図は、本発明を活用した表示システムの全体構成
を示した図である。第3図においてバス16のまわりに主
プロセツサ10,主プロセツサ10と表示系ハードウエアの
コミユニケーシヨン手段となる共有メモリ11,表示制御
プロセツサ12,画素展開を行うレンダリングプロセツサ
4,フレームメモリ5,及びCRT15がそれぞれ図に示すよう
な形で接続されている。 主プロセツサ10がCRT15に絵を表示したい場合は、以
下に示すような動作フローで実行される。 まず、主プロセツサ10が表示したい絵のコマンドを共
有メモリ11上に書き込む。その後、表示制御プロセツサ
12にバス16を介して主プロセツサ10が起動をかける。 表示制御プロセツサ12は共有メモリ11よりコマンドを
読み込み、解釈後、レンダリングプロセツサ4に、より
細かいコマンドに分解して送出する。レンダリングプロ
セツサ4は画素単位にデータを分解し、フレームメモリ
5へ書き込む制御を行う。フレームメモリ5の内容は常
にCRT15へ読み出されているため、書き込まれた内容が
即座にCRT上に表示される。 本発明の中心となるところは、この画素を展開するレ
ンダリング処理プロセツサ4であるため、以下では、こ
の部分の詳細構成について記述する。 第2図は、レンダリングプロセツサの主なフアンクシ
ヨンを図で示したものであり、がソース画像、がデ
イステイネーシヨン画像を示す。 画像部に奥行を有するものは、巾を有した画像で示し
ている。 まず、ラスタオペレーシヨンは、ソース,デイステイ
ネーシヨンともに方向が同一で、サイズも同一であるオ
ペレーシヨンで、このため複数画素が一度に処理でき
る。 回転は、ソースは水平方向であるが、デイステイネー
シヨンは、図のような傾き、また画素数もN/M倍されて
いる。 ぬりつぶしは、デイステイネーシヨンに書かれたわく
情報により、からの間をソースのパターン情報をI
倍して書き込む処理である。 破線の展開は、ぬりつぶしににているが、デイステイ
ネーシヨンが傾きを有していることが異なつている。 以上のような処理を、各レンダリングプロセツサは1
画素4ビツトをうけもつて行うことができ、特に、以下
のようなことが可能である。 1)ラスタオペレーシヨンについては、16画素を一度に
読み出し、また書き込むことができる。 2)回転については、ソースは16画素ずつ読み出し、デ
イステイネーシヨンについては、水平方向に最大16画素
まで連続な画素分だけ演算して求め、最後に書き込む処
理を行える。 3)ぬりつぶしについては、16画素分のぬりつぶしデー
タを生成してフレームメモリに書き込む。 4)破線展開は、2)と同様に、デイステイネーシヨン
の水平方向に最大16画素までの連続な画素を生成した
後、フレームメモリに書き込む処理を行える。 以下、1つ1つのレンダリングプロセツサの構成を説
明する。 レンダリングプロセツサ4は、画素の4bit単位に処理
できるプロセツサを第4図に示すように並列に設置され
たプロセツサ群により構成されている。 各プロセツサは、フレームメモリ5とバス2で接続さ
れ、かつ全プロセツサは、表示制御プロセツサ12とバス
1のみで接続されている。 レンダリングプロセツサ4は、各々同一のプロセツサ
4−i(i=1−…11)に分解され、それぞれの役割分
担は以下のようになる。 ワークプレーン制御(ぬりつぶし用):4−1 赤プレーン制御:4−2,4−3 緑プレーン制御:4−4,4−5 青プレーン制御:4−6,4−7 Zプレーン制御:4−8,4−9,4−10,4−11 各レンダリングプロセツサには、それぞれがどのプレ
ーンに対応しているかを示す信号41と、各プロセツサへ
のバス1を介してのデータセツト、あるいはリードが同
期して動作できるようにするための信号42が設けられて
おり、1個のマスタプロセツサのコントロール部より信
号42が出力される構造となつている。 次に、各レンダリングプロセツサの内部構成を第1図
を用いて説明する。 プロセツサは、制御部21と、各画素のアドレスや濃淡
情報を計算するDDA演算部(ソースデイステイネーシヨ
ンアドレス用DDA22,濃度・Z値演算DDA23)、及びフレ
ームメモリの1ラスタの16画素分のデータを演算するデ
ータ制御部27(4プレーンを1プロセツサで制御するた
め、DCU0〜DCU3の4個が並列に置かれている)、Z値を
比較するZ比較器26,16画素の中のどの画素を書き込む
かのマスクを生成するマスク制御部25,16画素単位のフ
レームメモリのアドレスを生成するフレームメモリアド
レス制御部24により構成されている。 レンダリングプロセツサの動作の概要は下記のように
なつている。 表示制御プロセツサ12からのコマンドやデータはバス
1を介して、各レンダリングプロセツサ4内のレジスタ
にセツトされる。プロセツサ4内はレジスタがパイプラ
イン制御用に2段で構成されており、動作中であつても
次のコマンドやデータがセツトできるようになつてい
る。 表示制御プロセツサ12はまず必要となるデータをレジ
スタにセツトした後、コマンドをコマンド用レジスタに
セツトする。 たとえば、コンスタントな色の直線の展開を行う場合
には、下記のデータをセツトした後、直線展開コマンド
のセツトを行う。 (1)直線展開の開始座標値(Xs,Ys)をアドレス用DDA
内レジスタにセツトする。 (2)(Xs,Ys)の増分値(DX,DY)も同様にアドレス用
DDA内レジスタにセツトする。 (3)直線展開のドツト数nを制御部21内レジスタにセ
ツトする。 (4)直線の色情報Iを濃度DDA23内レジスタにセツト
する。 以上のデータセツト後、直線展開のコマンドが送られ
るとレンダリングプロセツサは大旨以下のような動作を
行う。 (1)(Xs,Ys)の座標値の中で、Xsの下位4ビツト
(1ラスタの16画素内のアドレスに対応する)をデコー
ドし、対応するマスクビツトのオフをマスク制御部で行
い、また対応する画素の色情報Iをデータ制御部内のレ
ジスタにセツトする。 (2)Xs=Xs+DX Ys=Ys+DY の演算を行う。Xsが、1ラスタの16画素の境界を越えた
か、Ysの整数成分の値が変化した場合で、1で作成した
画素情報、マスク情報により、フレームメモリの16画素
単位のラスタへの書き込みを行う。上記の条件に合致し
ない場合は、新しい(Xs,Ys)の座標に従い1の処理を
行う。また直線展開のドツト数nを1減算し、0になつ
た状態で処理を完了する。 以上の制御を行うことにより、最大16画素のラスタの
データをデータ制御部内のレジスタに生成し、フレーム
メモリに書き込むことができる。 フレームメモリのアドレスは、上記16画素の中では同
一であるため、(Xs,Ys)のXsの下位4ビツトを除いた
値がフレームメモリアドレス制御部24に送出され、更に
バス2−1−1によつてフレームメモリに送られる。 直線展開の時に濃度を変化させる場合は、濃度DDA23
に、更に色情報の変化分DIが表示制御プロセツサによつ
てセツトされるため(Xs,Ys)の座標演算にあわせて、 I=I+DI の計算が行われる。 更に、Zプレーンを制御するレンダリングプロセツサ
の場合は、Iの値がZ値として使用されるため、あらか
じめ読み出されているフレームメモリのZ値との比較が
Z比較器26によつて行われ、フレームメモリ側のZ値が
大きい場合は、対応する画素のマスクをオンとする制御
をマスク制御部25で行なう。 以上がレンダリングプロセツサの動作の要素であり、
以下、各ブロツク単位の動作について詳細に説明する。 第5図はアドレス用DDA22の内部構成を示した図であ
る。 デイステイネーシヨンの(X,Y)座標については、良
く知られているプレゼンハムのDDAアルゴリズムによ
り、X,Yの中で、長い方の軸、長軸を基準として座標を
求めていくと、短軸の小数点以下の桁上りを計算するDX
YF部33と、桁上りからの信号103により整数部を演算す
るDXI部32,DYI部34によつて順次計算されていく。長軸
となつたDXI部,DYI部については常に+1ずつされてい
く。 一方、ソースの(X,Y)座標については、ソース画像
はラスタ方向にしか移動しないため、X座標値のみの演
算器30,31を有する。デイステイネーシヨンの長軸を規
準とするため、整数部を演算するSI部30と、小数部を演
算するSF部31によつて構成され、小数部から整数部への
キヤリー伝ぱん信号104によつて演算が制御される。 DDAのアルゴリズムは長軸長SL_BASEを基準に一般化す
ると下記の式であらわされる。 A=A0 B=B0 SL_INT=(B1−B0)DIV SL_BASE SL_MOD=(B1−B0)MOD SL_BASE IN_ERR=0 IN_ERR=IN_ERR+2*SL_MOD−SL_BASE N=SL_BASE WHILE N≠0 DO BEGIN A=A+1 IN_ERR=IN_ERR+2*SL_MOD−2*SL_BASE B=B+SL_INT+carry−from−IN_ERR N=N−1 END; これらは、デイステイネーシヨンの(X,Y)座標につ
いては、整数部の加算値SL_INTがないだけで、全てに共
通であり、小数部,整数部のDDA回路は第7図,第8図
で示される構成となる。 まず、小数点について説明すると、初期値は、長軸長
SL_BASE,及び他の軸Modulo部SL_MOD、更にエラー項の初
期値IN_ERRが、バス1を介して、表示制御プロセツサ12
より与えられる。それぞれのパラメータに対応したレジ
スタ112,111,110は、動作時に使用するレジスタ114,11
3,121と異なつた専用のレジスタが設けられているた
め、前のコマンドの動作中に各レジスタの値のセツトが
可能であり、各セツト信号は、制御部21からの制御信号
100によつて与えられる。 IN_ERRについては、上記DDA回路の式では0となつて
いるが、クリツピング制御により、直線が途中で切断さ
れた時は、直線の格子点を始点とする訳ではなく、ある
程度のずれが発生するため、その時の補正値をセツトす
るためのレジスタである。 さて、現在実行中のDDA演算が終了し、かつ、コマン
ドレジスタへコマンドのセツトを表示制御プロセツサ12
が行うと、制御部21は、バス100を介して、全ての初期
値レジスタ110,111,112の内容を、カレントなレジスタ1
21,131,114にセツトする信号を出力する。 その後、CERR 121の内容のイニシヤル値セツトを行な
つた後、上記DDA演算式を実行するように、CERRレジス
タ121からのキヤリー信号103を受けて、制御部21は、バ
ス100を使いながら処理を続行する。 一方、整数部についても、開始点座標、及び、次点へ
のバイアス値の整数部をそれぞれSTART_ADRレジスタ13
0,SL_INTレジスタ131にセツト後起動をかけることによ
り、各レジスタの値はカレントなレジスタCADRレジスタ
135,CSL_INTレジスタ132にセツトされる。その後、小数
部の動作に同期して、キヤリーの信号103により、下記
の演算を行う。 CADR=CADR±CSL_INT+CIN 加,減算のいずれを行うかは、増加方向か減小方向か
により信号100によつて制御される。 デイステイネーシヨン座標(X,Y)については、必ず
長軸を規準にするためCSL_INTは0であるが、基本的な
動作は同一となる。 以上がアドレス用DDA回路22の詳細な説明である。 濃度用DDA23についても基本的に同一であり、第6図
に示すように整数部41,小数部42によつて構成され、ア
ドレス用DDA22で説明したのと同一のハードウエアで、
濃度値、又はZ値の演算を行う。 次にデータ制御部27の構成について説明する。一個の
プロセツサ内に4プレーンを制御するため4個のデータ
制御部27−1,27−2,27−3,27−4を有するが、基本的な
構成は同一であるため、その中の1つについて第9図に
より説明する。 イメージのアフイン変換等で、フレームメモリよりソ
ース画像が必要な場合は、バス2−1−2を介してフレ
ームメモリの読出しが行われ、16画素分のデータがSBUF
レジスタ141にセツトされる。バス1は、データが、表
示制御プロセツサ12から与えられる場合に使用され、こ
の場合は1画素分のデータがSBUFレジスタ141にセツト
される。 セツトされたデータは、アドレス用DDAで生成された
ソースのX座標の下位4ビツトと、デイステイネーシヨ
ンのX座標の下位4ビツトを減算器143で引き算した値
だけ、パレルシフタ142でシフトされる。これは、ソー
ス画像の16画素単位の位置とデイステイネーシヨン画像
の16画素単位の位置をあわせ、同一の16ビツトバスにデ
ータを置くための処理である。 シフトされた結果は選択器144を介して、DBUFレジス
タ145にセツトされる。DBUFレジスタのセツト信号につ
いては、以下のような制御が行われる。 (1) 1画素ずつデータを生成する場合は、デイステ
イネーシヨンのX座標の下位4ビツトをデコードしたビ
ツトのみフリツプフロツプへのセツト信号が出力され
る。 (2) ラスタオペレーシヨンのように一度にn画素生
成する場合は、X座標の下位4ビツトをデコードしたビ
ツトから左,又は右側すべてのフリツプフロツプヘのセ
ツト信号が出力される。左,右のいずれになるかは、ソ
ース画像のデイステイネーシヨン画像の相対位置関係に
よつて決められる。 すなわち、ソース画像がデイステイネーシヨン画像の
左にある場合は、画像の重なりで絵がこわれないよう右
から順次処理されるため、右側がセツトされ、反対の場
合は左側がセツトされる。 1画素ずつ画像を生成するオペレーシヨンについて
は、 a)SXの下位4bitから上位への桁上りがあるまで、同一
のSBUFの内容が使用される。 また、 b)DXの下位4bitから上位への桁上りがあるか、又は、
DYの内容が変更されるまで、同一のDBUFへ、画素の書き
込みが行われる。 以上のような制御をアドレスDDA回路からの信号によ
り、制御部21で行うことにより、フレームメモリへのア
クセス回数を最小にしながら処理を行うことが可能で高
速化を図ることができる。 DBUFに生成された画像データは、上記b)の条件でRB
UFレジスタ146にセツトされ、この時のデイステイネー
シヨン画像をFMDBUFレジスタ151に読み込んだ後、ALU15
2で演算を行い、さらにマスク制御部で生成したマスク
データ106とを選択器153で選択し、フレームメモリへの
書き込みデータ2−1−2とする。マスクデータとの選
択は、最近のデユアルポートメモリが、マスクデータと
通常のデータをタイムシエアして受け付ける構造になつ
ているためである。 一方、背景色をたくわえているレジスタ147やプレー
ン単位のマスクを制御するレジスタ149については、各
プレーン単位に1ビツトずつ有し、前者は直線展開等で
0に対応するデータとしてDBUF145にセツトされ、後者
は、ALU152からの出力データにかかわらず、該プレーン
への書き込みを全てマスクするようにそれぞれ選択器SE
L1 144,SEL3 153の制御信号となる。 一方、濃度DDAよりの濃淡情報107は、直線展開等の1
に対応するデータとしてDBUF 145にセツトするように制
御する。 以上がデータ制御部27の動作である。このようにDBUF
への画像データの生成と、RBUF 146以下のフレームメモ
リへのアクセスがパイプライン処理されるため、フレー
ムメモリアクセス中に、次の画素情報をDBUFレジスタに
セツトする処理を16画素のラスタ分まで繰返して行える
ため、処理の高速化が図れる。 次にマスク制御部25の動作について第10図を用いて説
明する。 マスクデータについては、下記のような条件による生
成を考える必要がある。 1)Z比較器の結果、フレームメモリ内のZ値の方が大
きい時は、書き込みを禁止するため、マスクデータを生
成する必要がある。このための信号がZ比較マスク43で
ある。 2)破線の直線展開や、ハツチデータのぬりつぶし時の
パターン0に対応するところは、書き込みを禁止する必
要がある。このための信号がパターンマスク184であ
る。 3)ラスタオペレーシヨンのように開始点まで、あるい
は終了点以降を書き込み禁止する必要がある。このため
の信号が、矩形マスク185である。 4)ぬりつぶし時に、ぬりつぶしワークに書き込んだデ
ータの中で、偶数番目の1から、奇数番目の1までは、
ぬりつぶさないため、書き込みを禁止する必要がある。
このためのマスク信号が186である。 以上4つの場合それぞれ生成されたマスク信号を、MA
SKG183で合成して、全体のマスク信号106が生成され
る。 以下では、各個別のマスク信号を生成方法について述
べる。 1)Zマスク信号 Zマスク信号についてはレンダリングプロセツサのZ
プレーン制御プロセツサ4−8,4−9,4−10,4−11によつ
てフレームメモリとの比較を行なつたキヤリー信号(第
4図の信号44が各プレート間の渡り、信号43が全体の比
較結果)を、各レンダリングプロセツサのZマスク入力
信号とすることで、マスク信号とすることができる。キ
ヤリー信号の生成方法については、ZCOMP26の内容を説
明する部分で述べる。 2)パターンマスク信号 バス1を介して与えられたパターン情報は、レジスタ
171に一度セツトされる。レジスタ171と172はパイプラ
イン制御を行うための2段構成になつており、レジスタ
171にセツトされた内容は実行時にレジスタ172にセツト
される。 レジスタ172にセツトされた内容から、レジスタ177へ
のセツト方法は、データ制御部27の構成のところで述べ
たソース画像の生成方法と類似しており、以下のような
動作を行う。 まず、アドレスDDA部で生成されたソース,デイステ
イネーシヨンのX座標の下位4ビツトの差を減算器175
で生成し、その結果でバレルシフタ173を制御すること
で、パターンレジスタ172の内容が複数ビツトシフトさ
れ、バス187へ出力される。 選択器176は、バス187の中で有効なビツト位置のみ
は、バス187側を出力し、それ以外はMDBUFレジスタ177
の出力を選択することで、MDBUFには、バレルシフトし
た結果の中の有効画素マスクデータのみがセツトされて
いく。 上記処理を繰返すことで、MDBUFレジスタ177には、1
ラスタ16画素までのマスクデータが生成される。 生成されたマスクデータは、データ制御部27でDBUFレ
ジスタ145から、RBUFレジスタ146にセツトするのと同じ
タイミングで、MRBUFレジスタ178にセツトされる。 以上の動作により、フレームメモリの1回のアクセス
に対応するパターンマスクデータ184が生成できる。 3)矩形マスク信号 ラスタオペレーシヨンの矩形マスク信号は下記条件で
生成する必要がある。 i)ラスタオペレーシヨンの開始時には、デイステイネ
ーシヨンアドレスの下位4ビツトより、左、または右の
各画素に対して書き込まない制御を行うため、マスクし
なければならない。左,右については、ソース画像とデ
イステイネーシヨン画像の位置関係によつて決まる。 ii)ラスタオペレーシヨンの終了時には、デイステイネ
ーシヨンアドレスの下位4ビツトに、更に、残り画素数
を加算、又は減算した値より、右または、左の各画素に
対して書き込まない制御を行うため、マスクしなければ
ならない。加,減算,右,左については、ソース画像と
デイステイネーシヨン画像の位置関係によつて決まる。 iii)ラスタオペレーシヨンの画素数が少ない場合は、
i)ii)の条件が同時に発生するため、両者で生成した
マスクデータをオアして、矩形マスクデータとする必要
がある。 以上の制御をデイステイネーシヨンアドレスの下位4
ビツト102と、制御部からの信号1によつて行うのが、
矩形マスク生成部179である。 4)ぬりつぶしマスク信号 ぬりつぶしマスク信号については、ワークプレーンを
制御するレンダリングプロセツサで以下のように生成さ
れる。 ぬりつぶしわくを描画したプレーンの情報2−1.2を
読み出し、1となつているビツトを捜し出して、CFILL
MODEレジスタ181の内容によつて、左側画素から上記1
のビツトまでをマスクする。又はマスクしないようにデ
ータを生成する。これを繰返すことで、16画素分のマス
クデータを生成し、バス45へ出力する。 一方、他のプレーンのレンダリングプロセツサは、バ
ス45を入力信号として使用し、マスク信号45をそのま
ま、バス186へ出力する。 以上の動作によつて、ぬりつぶしマスク信号を生成す
ることができる。 次に第11図によりZ比較器26の内容について説明す
る。 データ制御部27のALU152より出力されたキヤリー伝ぱ
ん用信号112と、別レンダリングプロセツサからのキヤ
リー入力信号44により、各プレーン単位にキヤリー信号
を生成し、1プロセツサ内4プレーン分のキヤリー信号
を生成して出力するため、図に示すようにキヤリー生成
部200を4つシリアルに接続する。なおキヤリー生成部
内部の構成は公知であるため、ここでは詳しく説明しな
いが、16画素の比較を一度に行うため、全入出力信号は
16ビツトで構成されている。 最後にフレームメモリアドレス制御部24の構成につい
て第12図を用いて説明する。 ダブルバツフア他の制御モードを指定するためDBUFレ
ジスタ212を有する。 実行時には今までのレジスタと同様に、CDBUFレジス
タ213にコピーされる。 まず、ソース画像の読み出しについては、バス102−
1によつて指示されたソースアドレスを選択器215を介
してFMADRBUFレジスタ216にセツトする。この時、レジ
スタ213からの信号211によつて、ダブルバツフアのいず
れかを選択することが可能である。 レジスタ216にセツトされたアドレスは、ダイナミツ
クRAMを制御するため、さらに、行アドレスと列アドレ
スに選択器217でマルチプレクスされ、バス2−1−1
を介してフレームメモリに送られる。 一方、デイステイネーシヨンアドレスについては、DD
A回路と、ラスタオペレーシヨン回路のパイプライン処
理を行うため、一度、DADRBUFレジスタ214に、アドレス
をセツトする。その後の動作は、ソースアドレスによる
アクセスと同様である。 以上、レンダリングプロセツサ内部の各部の構成、及
び動作について説明した。本実施例によれば、1メモリ
アクセスの間に複数の水平16画素までのドツトの生成を
行うことができる。 〔発明の効果〕 本発明によれば、直線展開等のCPUより発生された図
形描画コマンドを処理するグラフィックス処理と、フレ
ームメモリに記憶されたイメージのラスタオペレーショ
ン等のイメージ処理との統合化が可能となると共に、種
々のレンダリング処理を行うことができる。
The present invention mainly relates to a display control device such as a CRT display.
Rendering processor that generates data for display on
In particular, a process for generating images and three-dimensional data at high speed.
Related to the dulling processor. [Prior Art] Conventionally, devices for performing display control, especially drawing processing, have been proposed.
Many processing systems have been proposed. For example, an example described in JP-A-59-229669
Is an example of rotating an image.
Day staying image corresponding to the grid point coordinates of the image
The method of obtaining the coordinate value of is adopted. In this scheme,
The linear development DDA circuit is used for the (X, Y) seat of day staying.
It is only necessary to have it for the target, but the
Processing performance is determined by the
Image of grid point that is different from one grid point
Problems that are written or not written
have. In Japanese Patent Publication No. 57-57715, the density value at the top is given.
Showing the method for calculating the shading of each pixel inside the triangle
It is. This method uses the hardware
The above describes the mode realized by (a).
In particular, the shading process
Process to generate pixels parallel to the raster
Leaves a problem with performance. JP-A-60-252394 discloses a color image, especially a memory.
Shows a color image display device with a variable plane configuration
I have. This is because the bus configuration with the CPU does not depend on the number of planes.
It shows the method that can be fixed, but each play
There is no independent arithmetic circuit, and image processing starts.
The problem remains in the performance of the operation. [Problems to be Solved by the Invention] The above-mentioned prior arts are graphics and images, respectively.
Considering high-speed processing for some processing of
However, there are insufficient points to integrate and process them.
is there. The purpose of the present invention is to generate the CPU
Graphics processing for processing drawing commands and
Raster operation of images stored in memory
Rendering processor that can integrate with other image processing
To provide services. [Means for Solving the Problems] The feature of the present invention is that at least
The source image is used as the source image, and the coordinates of the source image
Calculate grid point coordinates of corresponding destination image
And has a coordinate calculation unit that converts the image data of the source image into
Render to write to grid coordinates of destination
Graphics generated by the CPU in the
Image consisting of density value and Z value generated based on command
Image data and density values stored in the frame memory,
First to select any one from image data consisting of Z values
And the concentration selected by the first selecting means.
Image data consisting of values and Z values, and a diagram generated by the CPU
From the density value and Z value generated by performing complementary operation from the shape command
Density values and Z values as source images
And a second selecting means for selecting.
The coordinates selected by the second selecting means
Writing a source image consisting of a value and a Z value. [Operation] According to the present invention, as the data of the source image,
Generated based on the drawing command generated
Image data consisting of degree value and Z value, figure generated by CPU
From the density value and Z value generated by performing complementary operation from the shape command
Image data and density stored in the frame memory
First and second selecting means based on image data consisting of values and Z values
The density value and Z value are selected according to the
Since it is written to the grid point coordinates of the
Graphics that process figure drawing commands generated by U
Image processing and image storage in the frame memory.
Integration with image processing such as raster operation is possible
Function and perform various rendering processes.
it can. [Embodiment] An embodiment of the present invention will be described below with reference to FIGS. 1 to 12.
explain. FIG. 1 shows a hardware configuration which is the main component of the present invention.
FIG. 2 shows a typical example of the main functions of the present invention.
FIG. 3 is a diagram showing the overall system configuration, and FIG.
The figure shows rendering using the same hardware repeatedly
FIG. 5 is a block diagram of the processing unit, and FIG.
FIG. 3 is a diagram illustrating a configuration in detail. First, a description will be given of a hardware configuration that is the main component of the present invention.
Before describing the position of the present invention in all systems,
You. FIG. 3 is an overall configuration of a display system utilizing the present invention.
FIG. In FIG. 3, around the bus 16
Processor 10, main processor 10, and display hardware
Shared memory 11 as communication means, display control
Processor 12, rendering processor that performs pixel expansion
4, frame memory 5, and CRT 15 as shown in the figure
Connected in a simple manner. If the main processor 10 wants to display a picture on the CRT 15,
It is executed according to the following operation flow. First, share the command of the picture you want the main processor 10 to display.
Write on the existing memory 11. After that, the display control processor
The main processor 10 activates 12 via the bus 16. The display control processor 12 issues commands from the shared memory 11.
After reading and interpreting, the rendering processor 4
Break it down into small commands and send them out. Rendering pro
The processor 4 decomposes data in pixel units, and
5 is controlled. The contents of the frame memory 5 are always
Is read to CRT15, the written contents are
Immediately displayed on the CRT. At the center of the present invention is a layer for developing this pixel.
Since this is the processing processor 4,
The detailed configuration of the part is described. Fig. 2 shows the main functions of the rendering processor.
This is a picture of Yeon, where the source image is
3 shows an establishment image. Items with depth in the image area are indicated by images with width.
ing. First of all, the raster operation consists of a source and a day stay.
Both directions are the same and the sizes are the same.
This allows multiple pixels to be processed at once
You. Rotate the source horizontally, but
Chillon has a slope as shown in the figure, and the number of pixels is also multiplied by N / M.
I have. The coloring is written on the day stayation
According to the information, the pattern information of the source
This is the process of writing by multiplying. Although the development of the broken line is painted out,
The difference is that the napkin has a slope. The above processing is performed by each rendering processor.
This can be done by receiving 4 bits of pixels.
It is possible to do something like 1) For raster operation, 16 pixels at a time
Can read and write. 2) For rotation, the source reads 16 pixels at a time,
Maximum 16 pixels for horizontal
The process of calculating and calculating only the continuous pixels up to
Can do business. 3) For painting, painting data for 16 pixels
Data is generated and written to the frame memory. 4) Dashed line development is the same as in 2)
Generated continuous pixels up to 16 pixels in the horizontal direction
Thereafter, a process of writing to the frame memory can be performed. The following describes the configuration of each rendering processor.
I will tell. Rendering processor 4 processes in units of 4 bits of pixels
Possible processors are installed in parallel as shown in FIG.
It consists of a group of processors. Each processor is connected to the frame memory 5 via the bus 2.
And all processors are connected to the display control processor 12 and the bus.
Only one is connected. Each of the rendering processors 4 is the same processor.
4-i (i = 1−... 11)
The charge is as follows. Work plane control (for painting): 4-1 Red plane control: 4-2, 4-3 Green plane control: 4-4, 4-5 Blue plane control: 4-6, 4-7 Z plane control: 4- 8,4-9,4-10,4-11 Each rendering processor has
Signal 41 indicating whether the
Data set or read via bus 1
A signal 42 is provided to enable
From the control unit of one master processor.
No. 42 is output. Next, Fig. 1 shows the internal configuration of each rendering processor.
This will be described with reference to FIG. The processor communicates with the control unit 21 and the address and shading of each pixel.
DDA operation unit for calculating information (Source
Address DDA22, density / Z value calculation DDA23),
For calculating data for 16 pixels of one raster in the frame memory
Data controller 27 (for controlling 4 planes with 1 processor)
Therefore, four DCU0 to DCU3 are placed in parallel), and the Z value is
Write which pixel out of the 26 and 16 pixels of the Z comparator to compare
Mask control unit that generates a mask of 25 or 16 pixels
Frame memory address that generates the frame memory address
The control unit 24 is configured. The outline of the operation of the rendering processor is as follows
I'm sorry. Commands and data from the display control processor 12 are transferred to the bus.
1 through the registers in each rendering processor 4
Is set to Registers are pipelined in processor 4.
It is composed of two stages for in-control and
The following commands and data can be set.
You. The display control processor 12 first registers necessary data.
Command to the command register after setting
Set. For example, when developing a line with a constant color
After setting the following data,
Set. (1) The starting coordinate value (Xs, Ys) of linear development is DDA for address.
Set to internal register. (2) The increment values (DX, DY) of (Xs, Ys) are also for addresses
Set to the register in DDA. (3) The number n of dots in the linear development is stored in a register in the control unit 21.
To cut. (4) Set the linear color information I in the register in the density DDA23
I do. After the above data set, a command for linear development is sent.
Then, the rendering processor operates as follows.
Do. (1) Among the coordinate values of (Xs, Ys), the lower 4 bits of Xs
(Corresponding to the address within 16 pixels of one raster)
And the corresponding mask bit is turned off by the mask control unit.
And the color information I of the corresponding pixel is stored in the data control unit.
Set in the Vista. (2) Perform the operation of Xs = Xs + DX Ys = Ys + DY. Xs crossed the boundary of 16 pixels of one raster
Or, when the value of the integer component of Ys changes, created with 1
16 pixels of frame memory according to pixel information and mask information
Write to the unit raster. Meet the above conditions
If not, perform the processing of 1 according to the new (Xs, Ys) coordinates.
Do. In addition, the number of dots n of the linear expansion is subtracted by 1 and becomes 0.
The process is completed in the state where it is set. By performing the above control, a raster of up to 16 pixels can be
Generates data in a register in the data control unit,
Can be written to memory. The address of the frame memory is the same among the above 16 pixels.
(Xs, Ys) excluding the lower 4 bits of Xs
The value is sent to the frame memory address control unit 24,
The data is sent to the frame memory via the bus 2-1-1. To change the density during linear development, use the density DDA23
In addition, the change DI of the color information is displayed by the display control processor.
Therefore, I = I + DI is calculated in accordance with the coordinate calculation of (Xs, Ys). Furthermore, a rendering processor for controlling the Z plane
In the case of, since the value of I is used as the Z value,
Comparison with the Z value of the frame memory that has been read first
This is performed by the Z comparator 26, and the Z value on the frame memory side is
If larger, control to turn on the mask for the corresponding pixel
Is performed by the mask control unit 25. The above are the elements of the operation of the rendering processor.
Hereinafter, the operation of each block will be described in detail. FIG. 5 is a diagram showing the internal configuration of the address DDA 22.
You. For the (X, Y) coordinates of day staying,
Based on the well-known Presentham DDA algorithm
Of X and Y, the coordinate is based on the longer axis and the longer axis.
DX that calculates the carry of the minor axis after the decimal point
Calculates integer part using YF section 33 and carry signal 103
The calculation is sequentially performed by the DXI unit 32 and the DYI unit 34. Long axis
DXI and DYI sections are always incremented by +1.
Good. On the other hand, for the (X, Y) coordinates of the source,
Moves only in the raster direction.
It has calculators 30 and 31. Specify the major axis of day staying.
In order to make the standard, the SI part 30 that calculates the integer part and the decimal part
It is composed of an SF unit 31 that calculates
The calculation is controlled by the carry propagation signal 104. The DDA algorithm is generalized based on the long axis length SL_BASE.
Then, it is represented by the following equation. A = A 0 B = B 0 SL_INT = (B 1 −B 0 ) DIV SL_BASE SL_MOD = (B 1 −B 0 ) MOD SL_BASE IN_ERR = 0 IN_ERR = IN_ERR + 2 * SL_MOD-SL_BASE N = SL_BASE WHILE N 0 DO BEGIN A = A + 1 IN_ERR = IN_ERR + 2 * SL_MOD-2 * SL_BASE B = B + SL_INT + carry-from-IN_ERR N = N-1 END; , The (X, Y) coordinates of day staying
However, only the integer part SL_INT
The DDA circuits for the decimal part and the integer part are shown in FIGS. 7 and 8.
It becomes the structure shown by. First, to explain the decimal point, the initial value is the major axis length
SL_BASE, other axis modulo section SL_MOD, and the first error term
The period value IN_ERR is transmitted via the bus 1 to the display control processor 12.
Given by Cash register corresponding to each parameter
The registers 112, 111 and 110 are registers 114 and 11 used during operation.
There is a special register different from 3,121
The value of each register is set during the operation of the previous command.
Each set signal can be a control signal from the control unit 21.
Given by 100. IN_ERR is 0 in the above DDA circuit equation.
However, the clipping control cuts the straight line halfway.
Is not the starting point of a straight grid point,
Since the degree of deviation occurs, set the correction value at that time.
Register. By the way, the DDA operation currently being executed ends, and
Display the set of commands to the memory register control processor 12
Is performed, the control unit 21 transmits all the initial
Stores the contents of value registers 110, 111, 112 in current register 1.
A signal to be set is output to 21,131,114. Then, set the initial value of the contents of CERR 121.
The CERR register so that the above DDA equation is executed.
The control unit 21 receives the carry signal 103 from the
The process is continued using the resource 100. On the other hand, also for the integer part, start point coordinates and next point
In the START_ADR register 13
0, by starting the SL_INT register 131 after setting
The value of each register is the current register CADR register
135, set in CSL_INT register 132. Then decimal
In synchronization with the operation of the unit, the following
Is calculated. CADR = CADR ± CSL_INT + CIN Whether to perform addition or subtraction depends on whether the direction is increasing or decreasing.
Is controlled by the signal 100. For day staying coordinates (X, Y), be sure to
CSL_INT is 0 to make the major axis the standard, but the basic
The operation is the same. The above is the detailed description of the address DDA circuit 22. The same is true for the concentration DDA23, and FIG.
As shown in the figure, it is composed of an integer part 41 and a decimal part 42.
With the same hardware as described for dress DDA22,
The density value or the Z value is calculated. Next, the configuration of the data control unit 27 will be described. One
4 data to control 4 planes in the processor
Control units 27-1, 27-2, 27-3, 27-4
Since the configuration is the same, one of them is shown in FIG.
A more detailed description will be given. For affine conversion of images, etc.
If a source image is required, the frame
The memory is read out, and the data for 16 pixels is
Set in register 141. Bus 1 stores data in a table
This is used when given from the display control processor 12 and
In the case of, the data for one pixel is set in the SBUF register 141.
Is done. The set data is generated by the address DDA.
The lower 4 bits of the X coordinate of the source
Value obtained by subtracting the lower 4 bits of the X coordinate of the
Only, it is shifted by the barrel shifter 142. This is a saw
16-pixel unit and day-staging image
16-pixel unit, and store them on the same 16-bit bus.
This is a process for placing data. The shifted result is output via selector 144 to the DBUF register.
Set to tab 145. DBUF register set signal
Then, the following control is performed. (1) When generating data one pixel at a time,
Bits decoded from the lower 4 bits of the X coordinate of the enablement
Set signal to flip-flop only is output.
You. (2) Generate n pixels at a time like raster operation
When decoding, the lower 4 bits of the X coordinate are decoded.
All flip flops to the left or right
A tone signal is output. Left or right is determined by
The relative position of the source images
Can be decided. In other words, the source image is
If it is on the left, it is right so that the picture is not broken by overlapping images
Are processed sequentially, so the right side is set and the opposite
If so, the left side is set. Operations that generate images one pixel at a time
A) The same until there is a carry from the lower 4 bits of SX to the upper
The contents of the SBUF are used. B) whether there is a carry from the lower 4 bits of DX to the upper bit, or
Until the contents of DY are changed, write pixels to the same DBUF
Is performed. The above control is performed by the signal from the address DDA circuit.
Control unit 21 to update the frame memory.
Processing can be performed while minimizing the number of accesses
Speeding up can be achieved. The image data generated in DBUF is RB under the condition of b) above.
Set in the UF register 146,
After reading the image into FMDBUF register 151, ALU15
Performs the calculation in step 2, and then generates the mask generated by the mask controller.
The data 106 is selected by the selector 153, and the
Write data 2-1-2. Selection with mask data
The choice is that recent dual-port memory
A structure that accepts normal data in a time-sharing manner
Because it is. On the other hand, the register 147 or the play
The register 149 that controls the mask for each
It has one bit for each plane unit.
Set to DBUF145 as data corresponding to 0, the latter
Is the plane regardless of the output data from ALU152.
Selector SE to mask all writing to
Control signals for L1 144 and SEL3 153. On the other hand, the density information 107 from the density DDA is a
Set to DBUF 145 as data corresponding to
I will. The above is the operation of the data control unit 27. Thus DBUF
Generation of image data to the frame and frame memo of RBUF 146 or less
Access to the file is pipelined,
During the memory access, the next pixel information is stored in the DBUF register.
The setting process can be repeated up to 16 pixel raster
Therefore, the processing can be speeded up. Next, the operation of the mask control unit 25 will be described with reference to FIG.
I will tell. Mask data is generated under the following conditions.
It is necessary to consider the result. 1) As a result of the Z comparator, the Z value in the frame memory is larger
At times, mask data must be generated to prohibit writing.
Need to be implemented. The signal for this is obtained by the Z comparison mask 43.
is there. 2) When developing straight lines with broken lines and painting hatch data
In areas corresponding to pattern 0, writing must be prohibited.
It is necessary. The signal for this is the pattern mask 184.
You. 3) To the starting point like a raster operation or
Must be write-protected after the end point. For this reason
Is a rectangular mask 185. 4) At the time of smashing, the data written on the smashed work
In the data, even-numbered 1 to odd-numbered 1
It is necessary to prohibit writing in order not to smear.
The mask signal for this is 186. In each of the above four cases, the generated mask signal is
Combined by SKG183, the entire mask signal 106 is generated
You. The method for generating each individual mask signal is described below.
Bell. 1) Z mask signal For the Z mask signal, Z of the rendering processor is used.
By plane control processors 4-8, 4-9, 4-10, 4-11
Signal that has been compared with the frame memory
The signal 44 in FIG.
Comparison result) with the Z mask input of each rendering processor.
A signal can be used as a mask signal. Ki
For the method of generating the Yary signal, the contents of ZCOMP26 are explained.
It will be described in the following. 2) Pattern mask signal Pattern information given via bus 1 is stored in a register
Set once in 171. Registers 171 and 172 are pipeline
It has a two-stage configuration for performing
The contents set in 171 are set in register 172 at execution.
Is done. From the contents set in register 172 to register 177
The setting method is described in the configuration of the data control unit 27.
Similar to the source image generation method,
Perform the operation. First, the source and the data generated by the address DDA
Subtractor 175 subtracts the difference of lower 4 bits of X coordinate of enablement
And control the barrel shifter 173 with the result
Shifts the contents of the pattern register 172 by several bits.
And output to the bus 187. Selector 176 only for valid bit positions in bus 187
Output the bus 187 side, otherwise output the MDBUF register 177
By selecting the output of the MDBUF, the barrel shift
Only the effective pixel mask data in the result is set.
Go. By repeating the above processing, the MDBUF register 177 contains 1
Mask data of up to 16 pixels of the raster is generated. The generated mask data is stored in the data control unit 27 in the DBUF level.
Same as setting from register 145 to RBUF register 146
At the timing, it is set in the MRBUF register 178. With the above operation, one access to the frame memory
Can be generated. 3) Rectangular mask signal The rectangular mask signal of the raster operation is under the following conditions.
Must be generated. i) At the start of the raster operation,
Left or right of the lower 4 bits of the location address
Masking is performed to control not to write to each pixel.
There must be. For left and right, source image and data
It is determined by the positional relationship of the residence image. ii) At the end of the raster operation,
The lower 4 bits of the session address and the number of remaining pixels
Is added to or subtracted from each pixel on the right or left
In order to control not to write to
No. For addition, subtraction, right and left, the source image and
It is determined by the positional relationship of the day staying images. iii) If the number of pixels in the raster operation is small,
Since conditions i) and ii) occur at the same time, both conditions were generated.
Mask data must be ORed to make rectangular mask data
There is. The above control is performed for the lower 4 addresses of the destination address.
The operation performed by using the bit 102 and the signal 1 from the control unit is as follows.
The rectangular mask generation unit 179. 4) Filling mask signal
Generated by the controlling rendering processor as follows:
It is. The plane information 2-1.2 that draws the paintwork
Read out and find the bit that is 1 and CFILL
According to the contents of the MODE register 181, the above 1
Mask up to the bit. Or do not mask
Generate data. By repeating this process, 16 pixels
And outputs the data to the bus 45. On the other hand, other plane rendering processors
Source 45 as the input signal and the mask signal 45 as it is.
It also outputs to the bus 186. With the above operation, the masking signal is generated.
Can be Next, the contents of the Z comparator 26 will be described with reference to FIG.
You. Carry transmission output from ALU152 of data control unit 27
General-purpose signal 112 and a key from another rendering processor.
Carry signal for each plane by the input signal 44
And carry signals for four planes in one processor
Carry generation as shown in the figure to generate and output
Four sections 200 are serially connected. Note that the carrier generation unit
Since the internal configuration is known, it will not be described in detail here.
However, since 16 pixels are compared at once, all input / output signals
It consists of 16 bits. Finally, the configuration of the frame memory address control unit 24 is described.
This will be described with reference to FIG. DBUF level to specify other control modes such as double buffer
It has a resistor 212. During execution, the CDBUF register
Copied to the data 213. First, regarding reading of the source image, the bus 102-
1 via the selector 215
And set it in the FMADRBUF register 216. At this time,
In response to signal 211 from star 213, any of the double buffers
It is possible to choose one. The address set in register 216 is the dynamic
Row RAM and column address.
Multiplexed by the selector 217 and the bus 2-1-1
Is sent to the frame memory. On the other hand, for the destination address,
The pipeline processing of the A circuit and the raster operation circuit
Once the address is stored in DADRBUF register 214,
Set. Subsequent operations depend on the source address.
Same as access. The configuration of each part inside the rendering processor,
And operation have been described. According to the present embodiment, one memory
Generate multiple dots up to 16 horizontal pixels during access
It can be carried out. [Effects of the Invention] According to the present invention, a diagram generated by the CPU such as linear development
Graphics processing for processing shape drawing commands and frame processing
Raster operation of images stored in memory
Integration with image processing such as
Various rendering processes can be performed.

【図面の簡単な説明】 第1図は本発明の一実施例の1個のレンダリングプロセ
ツサの構成図、第2図は、レンダリング処理機能を示し
た図、第3図は全体構成図、第4図はレンダリングプロ
セツサの接続関係を示した図、第5図ないし第12図は、
第1図の各ブロツクについてその詳細を示した図であ
る。 22……ソース,デイステイネーシヨンアドレス用DDA、2
3……濃度,Z値用DDA、25……マスク制御部、27……ラス
タオペデータ制御部。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a configuration diagram of one rendering processor according to an embodiment of the present invention, FIG. 2 is a diagram showing a rendering processing function, FIG. FIG. 4 is a diagram showing the connection relationship of the rendering processor, and FIGS.
FIG. 2 is a diagram showing details of each block of FIG. 1; 22 ... DDA for source, day address, 2
3 ... DDA for density and Z value, 25 ... Mask control unit, 27 ... Raster operation data control unit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 保田 勲 茨城県日立市大みか町5丁目2番1号 株式会社日立製作所大みか工場内 (72)発明者 加藤 猛 茨城県日立市大みか町5丁目2番1号 株式会社日立製作所大みか工場内 (56)参考文献 特開 昭59−229669(JP,A) 特開 昭62−7087(JP,A) 特開 昭59−106066(JP,A)   ────────────────────────────────────────────────── ─── Continuation of front page    (72) Inventor Isao Yasuda               5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture               Hitachi, Ltd. Omika Factory (72) Inventor Takeshi Kato               5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture               Hitachi, Ltd. Omika Factory                (56) References JP-A-59-229669 (JP, A)                 JP-A-62-7087 (JP, A)                 JP-A-59-106066 (JP, A)

Claims (1)

(57)【特許請求の範囲】 1.フレームメモリに記憶された画像データをソース画
像とし、上記ソース画像の座標に対応するディスティネ
ーション画像の格子点座標を計算する座標演算部を少な
くとも有し、上記ソース画像の画像データを上記ディス
ティネーションの格子点座標に書き込むレンダリングプ
ロセッサにおいて、 CPUより発生された図形描画コマンドに基づいて生成さ
れた濃度値、Z値からなる画像データ及び上記フレーム
メモリに記憶された濃度値、Z値からなる画像データか
ら何れか一方を選択する第1の選択手段と、 上記第1の選択手段により選択された上記濃度値、Z値
からなる画像データと、上記CPUより発生された図形コ
マンドより補完演算して生成した濃度値、Z値からなる
画像データから、ソース画像として濃度値、Z値を選択
する第2の選択手段とを有し、 上記ディスティネーションの格子点座標に、上記第2の
選択手段で選択された濃度値、Z値からなるソース画像
を書き込むことを特徴とするレンダリングプロセッサ。
(57) [Claims] The image data stored in the frame memory is used as a source image, and at least a coordinate operation unit that calculates grid point coordinates of the destination image corresponding to the coordinates of the source image is provided. In the rendering processor that writes the coordinates of the grid points, the image data composed of the density value and the Z value generated based on the graphic drawing command generated by the CPU and the image data composed of the density value and the Z value stored in the frame memory are used. A first selection unit for selecting one of the above, the image data composed of the density value and the Z value selected by the first selection unit, and a graphic command generated by the CPU to generate a complement. Second selection for selecting a density value and a Z value as a source image from image data consisting of a density value and a Z value And a stage, the lattice point coordinates of the destination, the density value selected by the second selection means, the rendering processor and writes the source image consisting of Z values.
JP62187561A 1987-02-27 1987-07-29 Rendering processor Expired - Fee Related JP2804028B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP62187561A JP2804028B2 (en) 1987-07-29 1987-07-29 Rendering processor
US07/634,818 US5371839A (en) 1987-02-27 1991-01-02 Rendering processor
US08/715,472 US6088037A (en) 1987-02-27 1996-09-18 Rendering processor
US09/584,498 US6292196B1 (en) 1987-02-27 2000-06-01 Rendering processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62187561A JP2804028B2 (en) 1987-07-29 1987-07-29 Rendering processor

Publications (2)

Publication Number Publication Date
JPS6432393A JPS6432393A (en) 1989-02-02
JP2804028B2 true JP2804028B2 (en) 1998-09-24

Family

ID=16208238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62187561A Expired - Fee Related JP2804028B2 (en) 1987-02-27 1987-07-29 Rendering processor

Country Status (1)

Country Link
JP (1) JP2804028B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH067304B2 (en) * 1982-12-10 1994-01-26 株式会社日立製作所 Graphic processing device
JPS59229669A (en) * 1983-06-10 1984-12-24 Matsushita Electric Ind Co Ltd Picture data processor
JPS627087A (en) * 1985-07-03 1987-01-14 株式会社日立製作所 Display controller

Also Published As

Publication number Publication date
JPS6432393A (en) 1989-02-02

Similar Documents

Publication Publication Date Title
EP1566773B1 (en) Alpha blending based on a look-up table
EP1025558B1 (en) A method and apparatus for performing chroma key, transparency and fog operations
JPS61230477A (en) Picture converter
JPH05307610A (en) Texture mapping method and its device
EP0329101B1 (en) Three-dimensional graphic processing apparatus
US7075549B2 (en) Graphic image rendering apparatus
US6088037A (en) Rendering processor
JP2804028B2 (en) Rendering processor
JPH0412875B2 (en)
JPH09120278A (en) Apparatus and method for line scan conversion in computer graphics system
JPH064679A (en) Image processor
JP3099940B2 (en) 3D graphics controller
JP2836617B2 (en) Rendering processor
JP4622165B2 (en) Image memory control device, graphic operation device, and rendering processing method
JP3741053B2 (en) Image processing device
US5377316A (en) Line image generating apparatus
JP2606176B2 (en) Graphic processing unit
JP2621138B2 (en) Overlapping character generation method
JP2776957B2 (en) Image scaling method and apparatus
JP2782904B2 (en) Polygon fill method
JP3358891B2 (en) Z-value perspective transformation processing method and image processing apparatus
JP2511966B2 (en) Graphic processing device
JPH05324847A (en) Lsi for graphic drawing device
JP3159431B2 (en) Image processing system
JP2762768B2 (en) Outline data drawing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees