JPH0752468B2 - Multiprocessor for line drawing display - Google Patents
Multiprocessor for line drawing displayInfo
- Publication number
- JPH0752468B2 JPH0752468B2 JP61151493A JP15149386A JPH0752468B2 JP H0752468 B2 JPH0752468 B2 JP H0752468B2 JP 61151493 A JP61151493 A JP 61151493A JP 15149386 A JP15149386 A JP 15149386A JP H0752468 B2 JPH0752468 B2 JP H0752468B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- graphic
- distributor
- row
- 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.)
- Expired - Lifetime
Links
- 230000015654 memory Effects 0.000 claims description 31
- 238000006243 chemical reaction Methods 0.000 claims description 16
- 125000004122 cyclic group Chemical group 0.000 claims description 4
- 230000009466 transformation Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 13
- 238000000034 method Methods 0.000 description 8
- 238000000354 decomposition reaction Methods 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Image Generation (AREA)
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) 本発明はCRT等のラスター走査型表示器の表示画面上に
線画を表示するための線画表示用マルチプロセッサに関
する。TECHNICAL FIELD The present invention relates to a line drawing display multiprocessor for displaying a line drawing on a display screen of a raster scanning display such as a CRT.
(従来の技術) ラスター走査型CRTの表示画面上に2次元または3次元
の図形を表示する表示装置の基本構成を第2図(a)に
示す。同図(a)に示すように、表示装置は、装置全体
を制御する制御プロセッサ(CP)13、図形データを格納
する図形ファイルメモリ14、図形データの座標変換及び
走査変換(画素への分解)を行うグラフィックプロセッ
サ(GP)15、1画面分の画像を記憶するフレームバッフ
ァメモリ(FBM)16、フレームバッファメモリ16を常時
読み出しCRT18の表示画面上に表示するビデオ発生器1
7、ホストプロセッサとの通信用インターフェース19等
からなる。3次元図形表示装置では、画面(x−y面)
に垂直なz方向の深度を記憶するデプスバッファメモリ
(ZBM)20が設けられることがある。デプスバッファメ
モリ20を使用すれば、同一の画素に走査変換された2つ
以上の図形の深度を比較し、最も深度の小さい図形を選
び出すことにより隠れ面消去が容易に実行できる。(Prior Art) A basic configuration of a display device for displaying a two-dimensional or three-dimensional figure on a display screen of a raster scanning CRT is shown in FIG. As shown in FIG. 1A, the display device includes a control processor (CP) 13 for controlling the entire device, a graphic file memory 14 for storing graphic data, coordinate conversion and scan conversion of graphic data (decomposition into pixels). A graphics processor (GP) 15 for performing one, a frame buffer memory (FBM) 16 for storing images for one screen, a video generator 1 for constantly reading out the frame buffer memory 16 and displaying it on the display screen of a CRT 18.
7. The interface 19 for communication with the host processor. On a three-dimensional graphic display device, a screen (xy plane)
A depth buffer memory (ZBM) 20 may be provided to store depth in the z-direction perpendicular to the. If the depth buffer memory 20 is used, the hidden surface can be easily erased by comparing the depths of two or more figures scanned and converted into the same pixel and selecting the figure having the smallest depth.
得られた画像が線分や曲線の集まりであるものをワイヤ
フレーム画像あるいは線画と呼び、多角形や閉曲線の内
部を塗りつぶしたような図形の集まりであるものをシェ
ーディング画像あるいは画面と呼ぶ。The obtained image is a collection of line segments or curves is called a wireframe image or a line drawing, and the collection of figures that fill the inside of a polygon or a closed curve is called a shading image or screen.
通常、3次元のシェーディング画像を生成するのに処理
時間が最も多くかかる。画面生成時間あるいは表示性能
はグラフィックプロセッサ(GP)15 1台では限界があ
るので、グラフィックプロセッサ複数台使用したマルチ
プロセッサ構成により高速化する試みもある。Generally, it takes the most processing time to generate a three-dimensional shaded image. Since the screen generation time or display performance is limited with one graphics processor (GP) 151, there is also an attempt to increase the speed by using a multiprocessor configuration that uses multiple graphics processors.
従来のマルチプロセッサの構成図を第2図(b),
(c)に示す。同図(b)に示すようにグラフィックプ
ロセッサ(GP)15を単に複数個のGP1(15−1),GP2(1
5−2),…,GPn(15−n)にした構成ではフレームバ
ッファメモリ16への書き込みにおいてアクセス競合が起
こる。従って、GPの個数を増すことが困難となる。そこ
で、同図(c)に示すように、フレームバッファメモリ
(FBM)16(及びデプスバッファメモリ20)を複数個のF
BM1(16−1),FBM2(16−2),…,FBMn(16−n)に
分割し、各々に対応するGPを直結することにより性能の
増大を図るものがある。これは画面を領域分割すること
を意味する。A conventional multiprocessor configuration diagram is shown in FIG.
It shows in (c). As shown in FIG. 2B, the graphic processor (GP) 15 is simply provided with a plurality of GP 1 (15-1), GP 2 (1
In the configuration of 5-2), ..., GP n (15-n), access conflict occurs in writing to the frame buffer memory 16. Therefore, it becomes difficult to increase the number of GPs. Therefore, as shown in FIG. 3C, the frame buffer memory (FBM) 16 (and the depth buffer memory 20) is provided with a plurality of Fs.
There is a method in which the performance is increased by dividing into BM 1 (16-1), FBM 2 (16-2), ..., FBM n (16-n) and directly connecting the corresponding GPs. This means that the screen is divided into areas.
(発明が解決しようとする問題点) しかしながら、第2図(c)で説明したマルチプロセッ
サでは次のような問題点がある。(Problems to be Solved by the Invention) However, the multiprocessor described in FIG. 2C has the following problems.
複数の領域を覆う図形を描画する場合には、図形を領域
境界で分割する処理が必要となり、その分だけ性能が低
下する。この性能低下は画面生成では許容し得るが、線
画生成では許容限度を越える。When drawing a figure that covers a plurality of areas, it is necessary to divide the figure at the area boundaries, and the performance is reduced accordingly. This performance degradation can be tolerated in screen generation, but exceeds the permissible limit in line drawing generation.
従って、線画を高速に生成する場合には、第2図
(b),(c)で述べたいずれのマルチプロセッサで
も、不都合が生じる。このため、線分数が特に多い線画
を実時間の動画増(約30画面/秒)として得るためにマ
ルチプロセッサを使用することは従来行われていなかっ
た。Therefore, in the case of generating a line drawing at high speed, any of the multiprocessors shown in FIGS. 2B and 2C has a problem. Therefore, it has not been conventionally used to use a multiprocessor to obtain a line drawing with a particularly large number of line segments as a real time moving image increase (about 30 screens / second).
本発明は以上述べた問題点を解決し、線画の生成速度が
増大した線画表示用マルチプロセッサを提供するもので
ある。The present invention solves the above-mentioned problems and provides a multiprocessor for displaying a line drawing with an increased line drawing generation speed.
(問題点を解決するための手段) 本発明は前記問題点を解決するために、ラスター走査型
表示器の表示画面上に2次元又は3次元の線画を表示す
る線画表示用マルチプロセッサにおいて、表示すべき図
形ファイルを分割した部分図形ファイルを持ち、該部分
図形ファイル内の図形要素を座標変換した後、該図形要
素の線分についてx軸に対して急傾斜か緩傾斜かの分類
を行い、分類結果に基づいて始点と終点を決定し、x軸
に対して急傾斜ならばy座標が1ずつ変化する画素デー
タ列を求め、緩傾斜ならばx座標が1ずつ変化する画素
データ列を求めることにより線分の走査変換を行うm個
のグラフィックプロセッサと、一画面をM行N列(M≧
m,N≧m)の画素を持つ矩形領域で分割したときの矩形
領域内の各画素位置と対応するように2次元配列され、
各矩形領域の当該画素位置の画素データを格納する画像
メモリを持ち、前記グラフィックプロセッサからの画素
データを該画像メモリに書き込むM×N個のピクセルプ
ロセッサと、前記m個のグラフィックプロセッサの出力
を前記ピクセルプロセッサと接続するM本の行バスへ行
方向に巡回的にシフトして並列転送する行デストリビュ
ータと、前記m個のグラフィックプロセッサの出力を前
記ピクセルプロセッサと接続するN本の列バスへ列方向
に巡回的にシフトして並列転送する列デストリビュータ
とを具備し、前記m個のグラフィックプロセッサが一斉
に前記分類による急傾斜線分の走査変換を実行し、前記
行デストリビュータ及び前記M本の行バスを通じて画素
データを並列転送し、次に前記m個のグラフィックプロ
セッサが一斉に前記分類による緩傾斜線分の走査変換を
実行し、前記列デストリビュータ及び前記N本の列バス
を通じて画素データを並列転送し、各画素データを前記
M×N個のピクセルプロセッサの1つに転送し、各ピク
セルプロセッサの画像メモリの内容を表示器の表示画面
上に表示するものである。(Means for Solving Problems) In order to solve the above problems, the present invention provides a line drawing display multiprocessor for displaying a two-dimensional or three-dimensional line drawing on a display screen of a raster scanning type display. Having a partial graphic file obtained by dividing the graphic file to be processed, converting the coordinate of the graphic element in the partial graphic file, and classifying the line segment of the graphic element into steep slope or gentle slope with respect to the x-axis, The start point and the end point are determined based on the classification result, and if the gradient is steep with respect to the x-axis, a pixel data string in which the y coordinate changes by 1 is obtained, and if the gradient is gentle, a pixel data string in which the x coordinate changes by 1 is determined. As a result, m graphics processors that perform scan conversion of line segments, and one screen has M rows and N columns (M ≧
m, N ≧ m) are arranged two-dimensionally so as to correspond to each pixel position in the rectangular area when divided in a rectangular area having pixels
An image memory for storing pixel data at the pixel position of each rectangular area, M × N pixel processors for writing the pixel data from the graphic processor to the image memory, and outputs of the m graphic processors are output. A row distributor that cyclically shifts in parallel in the row direction to M row buses connected to the pixel processor, and columns of outputs of the m graphic processors to N column buses connected to the pixel processor. A column distributor that cyclically shifts in the direction and transfers in parallel, the m graphic processors simultaneously perform scan conversion of steep line segments according to the classification, and the row distributor and the M lines. Pixel data is transferred in parallel through the row bus of, and then the m graphic processors are simultaneously forwarded. Perform scan conversion of gently sloping line segments according to classification, transfer pixel data in parallel through the column distributor and the N column buses, and transfer each pixel data to one of the M × N pixel processors. The contents of the image memory of each pixel processor are displayed on the display screen of the display.
好ましくは、前記行デストリビュータ及び列デストリビ
ュータが、カウンタと巡回桁移動器で構成されるもので
ある。Preferably, the row distributor and the column distributor are composed of a counter and a cyclic digit mover.
(作用) 本発明によれば、以上のように線画表示用マルチプロセ
ッサを構成したので技術的手段は次のように作用する。
各グラフィックプロセッサ(GP)は異なる図形要素を独
立に処理する。即ち、各自の部分図形ファイル内の図形
要素の座標変換を行った後、図形要素を構成する線分を
急傾斜線分及び緩傾斜線分に分類する。各GPは急傾斜線
分を一斉に走査変換して画素データを行デストリビュー
タへ出力する。行デストリビュータは各画像データを行
方向に巡回的にシフトして当該画素データに対応するピ
クセルプロセッサ(PP)へ出力する。画素データを受け
取ったPPは当該画素データの示す画像メモリのアドレス
に書き込む。次に、各GPが緩傾斜線分を一斉に走査変換
して画素データを列デストリビュータを介して各PPへ並
列転送することにより、画素データに対応するPPの画像
メモリに画像データが書き込まれる。このように、各GP
は異なる図形要素を独立に処理し、線分の傾斜の大小に
より画像データを行デストリビュータ又は列デストリビ
ュータを介して並列転送できるので、GPの個数mを増大
させても転送性能を低下させることがない。従って、前
記従来技術の問題点を解決できるのである。(Operation) According to the present invention, since the line drawing display multiprocessor is configured as described above, the technical means operates as follows.
Each graphic processor (GP) processes different graphic elements independently. That is, after the coordinate conversion of the graphic element in each partial graphic file is performed, the line segments forming the graphic element are classified into a steeply sloping line segment and a gently sloping line segment. Each GP scan-converts the steep line segments all at once and outputs the pixel data to the row distributor. The row distributor cyclically shifts each image data in the row direction and outputs it to the pixel processor (PP) corresponding to the pixel data. The PP that has received the pixel data writes to the address of the image memory indicated by the pixel data. Next, each GP scan-converts the gently sloping line segments at the same time and transfers the pixel data in parallel to each PP via the column distributor, so that the image data is written in the image memory of the PP corresponding to the pixel data. . Like this, each GP
Processes different graphic elements independently, and image data can be transferred in parallel via a row distributor or a column distributor depending on the size of the slope of the line segment, so the transfer performance is degraded even if the number m of GPs is increased. There is no. Therefore, it is possible to solve the problems of the prior art.
(実施例) 第1図は本発明の実施例を示すブロック図であって、制
御プロセッサ1はバス2を経由してm個のグラフィック
プロセッサGP1(3−1),GP2(3−2),…,GPm(3
−m)に接続される。これらのグラフィックプロセッサ
3(m個のGPを総称する場合は参照符号3を用いる)の
出力線4−1,4−2,…,4−mはm入力M出力の行デスト
リビュータ5及びm入力N出力の列デストリビュータ7
に接続される。行デストリビュータ5のM個の出力端子
の内、1番目の出力端子は行バス6−1を経由してN個
のピクセルプロセッサPP11(9−1−1),PP12(9−
1−2),…,PP1N(9−1−N)に接続される。以下
同様にM番目の出力端子は行バス6−Mを経由してN個
のピクセルプロセッサPPM1(9−M−1),PPM2(9−
M−2),…,PPMN(9−M−N)に接続される。列デ
ストリビュータ7のN個の出力端子の内、1番目の出力
端子は列バス8−1を経由してM個のピクセルプロセッ
サPP11,PP21,…,PPM1に接続される。以下同様にN番目
の出力端子は列バス8−Nを経由してM個のピクセルプ
ロセッサPP1N,PP2N,…,PPMNに接続される。このように
本発明に係るマルチプロセッサはm個の1次元配列のグ
ラフィックプロセッサ3とM×N個の2次元配列のピク
セルプロセッサ9(M×N個のPPを総称する場合は参照
符号9を用いる)が行デストリビュータ及び列デストリ
ビュータの2つの経路で接続されている。データは常に
GP3からPP9の向きに流れる。M×N個のピクセルプロセ
ッサ9の出力端子はビデオバス10で1本化されてビデオ
発生器11を通じてCRT表示器12へ接続されている。(Embodiment) FIG. 1 is a block diagram showing an embodiment of the present invention, in which a control processor 1 passes a bus 2 to m graphic processors GP 1 (3-1), GP 2 (3-2). ),…, GP m (3
-M). The output lines 4-1, 4-2, ..., 4-m of these graphic processors 3 (the reference numeral 3 is used to collectively refer to m GPs) are m-input M-output row distributors 5 and m-inputs. N output column distributor 7
Connected to. Of the M output terminals of the row distributor 5, the first output terminal is the N pixel processors PP 11 (9-1-1), PP 12 (9-
1-2), ..., PP 1N (9-1-N). Similarly, the M-th output terminal is similarly connected to the N pixel processors PP M1 (9-M-1), PP M2 (9-) via the row bus 6-M.
M-2), ..., PP MN (9- MN ). Of the N output terminals of the column distributor 7, the first output terminal is connected to the M pixel processors PP 11 , PP 21 , ..., PP M1 via the column bus 8-1. Similarly, the Nth output terminal is connected to the M pixel processors PP 1N , PP 2N , ..., PP MN via the column bus 8-N. As described above, the multiprocessor according to the present invention uses m one-dimensionally arranged graphic processors 3 and M × N two-dimensionally arranged pixel processors 9 (in the case where M × N PPs are collectively referred to, reference numeral 9 is used). ) Are connected by two paths, a row distributor and a column distributor. Data is always
It flows from GP3 to PP9. The output terminals of the M × N pixel processors 9 are unified by a video bus 10 and connected to a CRT display 12 through a video generator 11.
各々のピクセルプロセッサは1画面を構成する全画素の
内、y方向にM画素毎に、x方向にN画素毎に飛び越し
たパターンに位置する画素を保有している。第3図はこ
の状態を説明するための画素の飛び越しパターン図であ
る。画面全体の画素数をymax×xmaxとし、ymax=M
×P,xmax=N×Q(P,Qは自然数)とすれば、ピクセル
プロセッサPP11(9−1−1)は第3図の黒丸で示すP
×Q個の画素をもっており、ピクセルプロセッサPP
ij(9−i−j)は黒丸の画素よりy座標がi−1だけ
大きく、x座標がj−1だけ大きい点に位置するP×Q
個の画素をもっている。ここにi=1,2,…,M;j=1,2,
…,Nである。これは第3図に示すように、黒丸の画素を
左上の端点とするP×Q個の矩形領域に分割すれば、各
矩形領域内のM×N個の画素とピクセルプロセッサの配
列とが1対1に対応することを意味する。Each pixel processor has pixels located in a pattern that skips every M pixels in the y direction and every N pixels in the x direction among all the pixels that configure one screen. FIG. 3 is a pixel jump pattern diagram for explaining this state. Let y max × x max be the number of pixels on the entire screen, and y max = M
If xP, x max = NxQ (P and Q are natural numbers), the pixel processor PP 11 (9-1-1) has P shown by a black circle in FIG.
Pixel processor PP with × Q pixels
ij (9-i-j) is P × Q located at a point where the y coordinate is larger by i−1 and the x coordinate is larger by j−1 than the black circle pixel.
It has pixels. Where i = 1,2, ..., M; j = 1,2,
…, N. As shown in FIG. 3, if a black circle pixel is divided into P × Q rectangular regions having the upper left end point, M × N pixels in each rectangular region and the array of pixel processors are 1 It means to correspond to one-to-one.
第4図はピクセルプロセッサPij(9−i−j)とビデ
オ発生器11の内部構成例を示すものである。PPijは行バ
ス6−i及び列バス8−jに接続されており、両バスの
いずれか一方から画素データ(xi,yi,zi,ci)が入力さ
れ、マルチプレク(MPX)21を経て4つのレジスタ22,2
3,25,24にロードされる。ここでM,Nをいずれも2のべき
乗数として、yi,xiを yi=yh×M+yl (0≦yh<P,0≦yl<M) … xi=xh×N+xl (0≦xh<Q,0≦xl<N) … となるように上位ビットと下位ビットに分ける。上位ビ
ットxh(レジスタ22の内容)及び上位ビットyh(レジ
スタ23の内容)はマルチプレクサ(MPX)26を経て、フ
レームバッファメモリ27及びデプスバッファメモリ28の
アドレスとして使われる。フレームバッファメモリ27、
及びデプスバッファメモリ28(これらを画像メモリと総
称する)はそれぞれP×Q個の画素について色情報
CM,及び深度ZMを記憶している。また下位ビットxl
(レジスタ22の内容)及びyl(レジスタ23の内容)は
M×N個のピクセルプロセッサ9のいずれかを選択する
ビットであって、PPijにおいてはi=yl+1,j=xl+
1の場合に限りメモリ27,28への書き込みを許す。この
条件判定は書込制御器29で行われる。3次元の隠面消去
を伴う画素の書き込みは、(xh,yh)番地のメモリ27,2
8の内容をCM(xh,yh),ZM(xh,yh)とすると、Zi<
ZM(xh,yh)のときに限りZM(xh,yh)をZiで、CM
(xh,yh)をCiで置き換えることにより遂行される。
ZiとZMの比較は比較器30で行われる。フレームバッフ
ァメモリ27の内容はバスドライバ31を通じてビデオバス
10に読み出される。FIG. 4 shows an example of the internal configuration of the pixel processor P ij (9-i-j) and the video generator 11. PP ij is connected to the row bus 6-i and the column bus 8-j, and pixel data (x i , y i , z i , c i ) is input from one of the two buses, and the multiplex (MPX ) 21 through 4 registers 22,2
Loaded at 3,25,24. Here, both M and N are powers of 2, and y i and x i are y i = y h × M + y l (0 ≦ y h <P, 0 ≦ y l <M) ... x i = x h × N + x l (0 ≦ x h <Q, 0 ≦ x l <N) ... The high-order bits x h (contents of the register 22) and the high-order bits y h (contents of the register 23) are used as addresses of the frame buffer memory 27 and the depth buffer memory 28 via the multiplexer (MPX) 26. Frame buffer memory 27,
The depth buffer memory 28 (collectively referred to as an image memory) stores color information C M and depth Z M for P × Q pixels, respectively. Also, the lower bit x l
(Contents of register 22) and y l (contents of register 23) are bits for selecting any of the M × N pixel processors 9, and in PP ij , i = y l + 1, j = x l +
Only in the case of 1, writing to the memories 27 and 28 is permitted. This condition determination is performed by the write controller 29. Pixel writing with three-dimensional hidden surface removal is performed at the memory 27,2 at the address (x h , y h ).
If the contents of 8 are C M (x h , y h ), Z M (x h , y h ), Z i <
Z M (x h, y h ) iff Z M (x h, y h ) with Z i, C M
This is accomplished by replacing (x h , y h ) with C i .
The comparison between Z i and Z M is performed by the comparator 30. The contents of the frame buffer memory 27 are transferred to the video bus via the bus driver 31.
Read out to 10.
ビデオ発生器11は、同期信号発生器32、画面アドレスカ
ウンタ33及び34、カラーテーブル35、DA変換器(DAC)3
6,37,38より構成される。画面アドレスカウンタ33及び3
4は(Nxh′+xl′,Myh′+yl′)が画面アドレスを示
すように、Q進カウンタxh′,N進カウンタxl′,P進カ
ウンタyh′,M進カウンタyl′から成る。xh′,yh′は
マルチプレクサ26を介してフレームバッファ(CM)27
の読み出しアドレスとして使われ、xl′,yl′はバスド
ライバ31に出力されM×N個のピクセルプロセッサ9の
いずれかを選択するために使われる。ビデオバス10に読
み出されたデータはカラーテーブル35で3原色R,G,Bの
輝度レベルに変換される。The video generator 11 includes a sync signal generator 32, screen address counters 33 and 34, a color table 35, and a DA converter (DAC) 3
It is composed of 6,37,38. Screen address counter 33 and 3
4 indicates a Q-adic counter x h ′, an N-adic counter x l ′, a P-adic counter y h ′, an M-adic counter y so that (Nx h ′ + x l ′, My h ′ + y l ′) indicates a screen address. It consists of l ′. x h ′, y h ′ is passed through the multiplexer 26 to the frame buffer ( CM ) 27
X l ′, y l ′ is output to the bus driver 31 and is used to select one of the M × N pixel processors 9. The data read onto the video bus 10 is converted by the color table 35 into the luminance levels of the three primary colors R, G, B.
行デストリビュータ5はm入力M出力のデータパスであ
って、カウンタで制御されたMビット幅の並列巡回桁移
動器(シフタ)である。m=4,M=4の場合の行デスト
リビュータ5のシフト状態を第5図に示す。同図
(a),(b),(c),(d)に示すように、シフト
カウンタ39の値CNにより4つのシフト状態がある。同図
(a)のように、CN=0のときは、GP1(3−1),GP2
(3−2),GP3(3−3),GP4(3−4)の出力線4−
1,4−2,4−3,4−4よりそれぞれ行バス6−1,6−2,6−
3,6−4へ並列にデータ転送することができる。CN=1,
2,3のときはCNビットだけy方向に巡回的にシフトした
状態で並列転送ができる(第5図(b),(c),
(d))。The row distributor 5 is a data path of m inputs and M outputs, and is a parallel cyclic digit shifter (shifter) of M bit width controlled by a counter. The shift state of the row distributor 5 when m = 4 and M = 4 is shown in FIG. As shown in (a), (b), (c) and (d) of the same figure, there are four shift states depending on the value CN of the shift counter 39. As shown in FIG. 7A, when CN = 0, GP 1 (3-1), GP 2
(3-2), GP 3 (3-3 ), the output lines of the GP 4 (3-4) 4-
Row buses 6-1, 6-2, 6- from 1,4-2,4-3,4-4 respectively
Data can be transferred in parallel to 3, 6-4. CN = 1,
In the case of 2 and 3, parallel transfer is possible with only CN bits cyclically shifted in the y direction (Figs. 5 (b), (c),
(D)).
第6図(a),(b)はグラフィックプロセッサGP
1(3−1)が線分ABを画素列に分解し、行デストリビ
ュータ5及び行バス6−1,6−2,6−3,6−4を通じて画
素データP0,P1,…,P8をそれぞれ行先のピクセルプロ
セッサ9に転送する方法を示している。第6図(a)に
示すように線分の両端点A(xA,yA),B(xB,yB)の座
標値は整数で、|yB-yA|≧|xB-xA|及びyB≧yAの2
つの条件を満足するものとする。第1の条件|yB-yA|
≧|xB-xA|は線分ABとx軸とが45°以上傾いているこ
とを示しており、このような線分を急傾斜線分と呼ぶ。
第2の条件yB≧yAはy座標の大きくない方の端点Aか
ら他方の端点Bに向って画素列を生成することを示す。
このように向きの付けられた急傾斜線分▲▼の画素
への分解処理は通常以下のように行われる。yA=yBの
場合はAとBは同一の点であるから1画素のみ生成す
る。yB>yAの場合は yi=yA+i(yA≦yi≦yB) … により画素系列Pi(xi,yi)を生成する。すなわち、
点Aより始めて、y座標は1づつ増加させ、x座標は
(xB-xA)/(yB-yA)づつ増加させ、x座標は4捨
5入して整数化したものを用いればよい。y座標が、y
Bに達したところで終了する。3次元の場合にはZ座標
を によって算出する。ここに、zA,zB,ziはそれぞれA,B,P
iのz座標である。6 (a) and 6 (b) are graphic processors GP.
1 (3-1) decomposes the line segment AB into pixel columns, and the pixel data P 0 , P 1 , ..., Through the row distributor 5 and the row buses 6-1, 6-2, 6-3, 6-4. A method of transferring P 8 to each destination pixel processor 9 is shown. Sixth both end points of the line segment as shown in Figure (a) A (x A, y A), B (x B, y B) coordinate values are integers, | y B -y A | ≧ | x B -x A | and y B ≧ y A 2
Two conditions shall be satisfied. First condition | y B -y A |
≧ | x B −x A | indicates that the line segment AB and the x-axis are inclined by 45 ° or more, and such a line segment is called a steep line segment.
The second condition y B ≧ y A indicates that a pixel row is generated from the end point A whose y coordinate is not large toward the other end point B.
The decomposition process of the steeply sloped line segment {circle around (3)} oriented in this way is usually performed as follows. When y A = y B , A and B are at the same point, so only one pixel is generated. If y B > y A The pixel series P i (x i , y i ) is generated by y i = y A + i (y A ≦ y i ≦ y B ). That is,
Starting from the point A, y-coordinate is increased one by one, x coordinate increases by one (x B -x A) / ( y B -y A), x -coordinate is used after integer by entering 4 disposable 5 Good. y coordinate is y
It ends when it reaches B. In the case of three dimensions, the Z coordinate Calculate by Where z A , z B , z i are A, B, P respectively
It is the z coordinate of i .
第6図(b)は、M=N=4の場合にグラフィックプロ
セッサGP1で発生されたピクセルデータP0,P1,…,P8を
それぞれどのピクセルプロセッサに転送すべきかを示し
ている。ここではP0がピクセルプロセッサPP22に転送
されるものと仮定し、ピクセルデータのy座標yiの下
位2ビットが行バスを選び、x座標xiの下位2ビット
が行バスに接続されたピクセルプロセッサを選ぶことか
ら第6図(a)と対照しつつ求めたものである。FIG. 6B shows to which pixel processor the pixel data P 0 , P 1 , ..., P 8 generated in the graphic processor GP 1 should be transferred when M = N = 4. Here, it is assumed that P 0 is transferred to the pixel processor PP 22 , and the lower 2 bits of the y coordinate y i of the pixel data selects the row bus, and the lower 2 bits of the x coordinate x i is connected to the row bus. This is obtained by contrasting with FIG. 6 (a) because the pixel processor is selected.
第7図(a),(b)はこれらのピクセルデータを行デ
ストリビュータ5を通じて転送する方法を示す。第7図
(a)に示すように、ピクセルデータP0,P1,…,P8は
行デストリビュータ5の入力端子4−1から入力され、
巡回的に連続する出力端子6−2,6−3,6−4,6−1,…,6
−2に出力される。これはシフトカウンタ39をCN=1→
2→3→0のように上昇カウントさせればよいことを示
す。1つのピクセルデータはyi,xi,zi,cの4ワードか
ら成り、1ワードづつ4クロックで転送するものとすれ
ば、第7図(a)のようにワードカウンタ(WN)40を設
け、1ワード転送する毎にクロック入力端子41よりパル
スを入力してWNをカウントすればよい。第7図(b)は
以上の転送のタイムチャートを示している。Tはクロッ
ク周期である。FIGS. 7A and 7B show a method of transferring these pixel data through the row distributor 5. As shown in FIG. 7A, the pixel data P 0 , P 1 , ..., P 8 are input from the input terminal 4-1 of the row distributor 5.
Output terminals 6-2, 6-3, 6-4, 6-1, ..., 6 that are cyclically continuous
-2 is output. This is the shift counter 39 CN = 1 →
It indicates that it is sufficient to increase the count like 2 → 3 → 0. One pixel data consists of 4 words of y i , x i , z i , c, and if word data is transferred at 4 clocks word by word, the word counter (WN) 40 is set as shown in FIG. 7 (a). A pulse may be input from the clock input terminal 41 to count WN every time one word is transferred. FIG. 7B shows a time chart of the above transfer. T is a clock period.
第8図(a),(b)は4台のグラフィックプロセッサ
がそれぞれ異なる線図形を発生する場合に、行デストリ
ビュータ5を通じて画素データの並列転送を行う場合を
示している。同図(b)に示すグラフィックプロセッサ
GP1は同図(a)の折れ線P0P10P30を発生させてい
る。同様に、GP2は線分Q0Q50を、GP3は線分R0R
30を、GP4は曲線S0S20及びS21S40をそれぞれ発生し
ている。各GPがy座標が1づつ増加する画素の系列を発
生する限り、シフトカウンタ39を上昇カウントさせるだ
けで行デストリビュータ5を通じて連続的に並列転送さ
れる。但し、P0、Q0、R0、S0及びS21は転送の開始
点あるいは再開始点であるから待ち時間を生ずる。ある
ピクセル転送サイクルにおいてピクセルを転送すべきか
どうかを判定するには、行デストリビュータ5の各入力
端子側にシフトカウンタの値CN、ピクセルデータの行先
番号(y座標の下位2ビット)、行デストリビュータ5
の入力端子番号を用いた判定回路を設ける必要がある。FIGS. 8A and 8B show a case where pixel data are transferred in parallel through the row distributor 5 when four graphic processors generate different line graphics. The graphic processor shown in FIG.
GP 1 generates the polygonal line P 0 P 10 P 30 shown in FIG. Similarly, GP 2 has a line segment Q 0 Q 50 , and GP 3 has a line segment R 0 R
30 and GP 4 generate curves S 0 S 20 and S 21 S 40 , respectively. As long as each GP generates a series of pixels in which the y-coordinate is incremented by 1, the shift counter 39 only counts up, and the rows are continuously transferred in parallel through the row distributor 5. However, since P 0 , Q 0 , R 0 , S 0 and S 21 are transfer start points or restart points, a waiting time is generated. To determine whether a pixel should be transferred in a certain pixel transfer cycle, the value CN of the shift counter, the destination number of the pixel data (the lower 2 bits of the y coordinate), the row distributor and the row distributor are connected to the respective input terminals of the row distributor 5. 5
It is necessary to provide a determination circuit using the input terminal number of.
列デストリビュータ7はm入力N出力のデータパスで、
カウンタで制御されたNビットの並列巡回シフタであ
る。m=4,N=4の場合の列デストリビュータ7のシフ
ト状態を第9図に示す。同図(a),(b),(c),
(d)に示すように、4つのシフト状態がある。列デス
トリビュータ7は行デストリビュータ5と同様の構成を
もち、GP1,GP2,GP3,GP4よりシフトカウンタ39のCNビッ
トだけx方向に巡回シフトをして列バス8−1,8−2,8−
3,8−4に並列転送する。シフトカウンタ39は行デスト
リビュータ5と共用している。M=Nの場合には行デス
トリビュータ5と列デストリビュータ7とが同一のシフ
タを共用することも考えられる。The column distributor 7 is a data path with m inputs and N outputs,
It is an N-bit parallel cyclic shifter controlled by a counter. The shift state of the column distributor 7 when m = 4 and N = 4 is shown in FIG. (A), (b), (c),
As shown in (d), there are four shift states. The column distributor 7 has a configuration similar to that of the row distributor 5, and cyclically shifts the CN bit of the shift counter 39 in the x direction from GP 1 , GP 2 , GP 3 , GP 4 by the column buses 8-1, 8. −2,8−
Transfer to 3,8-4 in parallel. The shift counter 39 is also used by the row distributor 5. When M = N, it is possible that the row distributor 5 and the column distributor 7 share the same shifter.
第10図はGP1が線分ABを画素列に分解し、列デストリビ
ュータ7及び列バス8−1,8−2,8−3,8−4を通じてピ
クセルプロセッサに転送する方法を示す。同図(a)に
示すように、線分ABとx軸とが45°以下の傾きを有する
場合、すなわち|xB-xA|≧|yB-yA|の場合には、これ
を緩傾斜線分と呼ぶ。緩傾斜線分は通常x座標が1づつ
増加する画素の系列を発生するから、次式によってPi
(xi,yi,zi)を求める。FIG. 10 shows how GP 1 decomposes the line segment AB into pixel columns and transfers them to the pixel processor through the column distributor 7 and column buses 8-1, 8-2, 8-3, 8-4. As shown in FIG. 7A, when the line segment AB and the x-axis have an inclination of 45 ° or less, that is, when | x B −x A | ≧ | y B −y A | It is called a gently sloping line segment. Since a gently sloping line segment usually produces a series of pixels in which the x coordinate increases by 1, P i
Find (x i , y i , z i ).
xi=xA+i(xA≦xi≦xB) … 第10図(b)はM=N=4の場合にGP1で発生されたピ
クセルP0,P1,…,P10をそれぞれどのピクセルプロセッ
サに転送すべきかを示している。ここではP0がピクセ
ルプロセッサPP22に転送されるものと仮定し、ピクセル
データのx座標の下位2ビットが列バスを選び、次にy
座標の下位2ビットが列バスに接続されたピクセルプロ
セッサを選ぶことから第10図(a)と対照しつつ求めた
ものである。x i = x A + i (x A ≤x i ≤x B ) ... FIG. 10 (b) shows to which pixel processor the pixels P 0 , P 1 , ..., P 10 generated in GP 1 should be transferred when M = N = 4. Here, it is assumed that P 0 is transferred to the pixel processor PP 22 , and the lower 2 bits of the x coordinate of the pixel data select the column bus, and then y
The lower 2 bits of the coordinates are obtained by contrasting with FIG. 10 (a) since the pixel processor connected to the column bus is selected.
第11図はピクセル系列を列デストリビュータ7を通じて
転送する方法を示している。なお、この場合、各ピクセ
ルデータはx座標を先頭に置く必要がある。FIG. 11 shows how to transfer a sequence of pixels through the column distributor 7. In this case, each pixel data needs to have the x coordinate at the head.
次にグラフィックプロセッサの処理内容を説明する。m
台のGPは異なる図形要素を独立に処理できるから、表示
すべき図形ファイルをm個の部分固形ファイルに分割
し、各GPに部分図形ファイルを保有させる。GPは自らの
部分図形ファイル内のすべての図形要素につき、最初に
座標変換を行い、次に線分の分類と初期化を行い、次に
急傾斜線分のみを一括して走査変換し、最後に緩傾斜線
分のみを一括して走査変換する。m台のグラフィックプ
ロセッサが一斉に急傾斜線分の走査変換を実行し、行デ
ストリビュータ5を通じて並列転送を行えるようにし、
次にm台のグラフィックプロセッサが一斉に緩傾斜線分
の走査変換を実行し、列デストリビュータ7を通じて並
列転送を行えるようにする必要がある。Next, the processing contents of the graphic processor will be described. m
Since each GP can process different graphic elements independently, the graphic file to be displayed is divided into m partial solid files, and each GP holds the partial graphic file. GP first performs coordinate conversion for all graphic elements in its partial graphic file, then classifies and initializes line segments, then scan-converts only steep line segments in batch, and finally The scan conversion is performed only on the gently sloping line segment. m graphics processors simultaneously perform scan conversion of steeply sloping line segments, enabling parallel transfer through the row distributor 5.
Next, it is necessary that the m graphic processors simultaneously perform scan conversion of the gently sloping line segment so that parallel transfer can be performed through the column distributor 7.
線分の分類と初期化の具体例を第12図(a),(b),
(c)に示す。いま、あるグラフィックプロセッサが直
方体A1A2A3A4A5A6A7A8の各頂点の座標変換を行
った結果、第12図(a)のように画面座標系に変換され
たものとする。頂点間を結ぶ計12本の線分の各々につい
て前述した方法で急傾斜と緩傾斜に分類し、線分に向き
を与え、x,y,zの初期値と増分を求める。その結果、急
傾斜線分は第12図(a)の太線を示した8本の有向線分
▲▼、▲▼、▲▼、▲
▼、▲▼、▲▼、▲▼、▲
▼であり、緩傾斜線分は残りの4本の有向線分
▲▼、▲▼、▲▼、▲
▼であることがわかり、急傾斜線分は第12図(b)、
緩傾斜線分は第12図(c)のような形式をもつデータが
得られる。ここでdx/dy,dz/dy,dy/dx,dz/dxは増分値
を、lは生成すべき画素数を示している。これらの初期
値と増分から累加計算を実行するとによって線分の走査
変換を行う。Specific examples of line segment classification and initialization are shown in FIGS. 12 (a), (b),
It shows in (c). Now, as a result of the coordinate conversion of each vertex of a rectangular parallelepiped A 1 A 2 A 3 A 4 A 5 A 6 A 7 A 8 by a certain graphic processor, it was converted into the screen coordinate system as shown in FIG. 12 (a). I shall. Each of the twelve line segments connecting the vertices is classified into a steep slope and a gentle slope by the method described above, the direction is given to the line segments, and the initial values and increments of x, y, z are obtained. As a result, the steeply sloping line segment is the eight directional line segments ▲ ▼, ▲ ▼, ▲ ▼, ▲ showing the thick line in Fig. 12 (a).
▼, ▲ ▼, ▲ ▼, ▲ ▼, ▲
▼, and the gently sloping line segment is the remaining four directed line segments ▲ ▼, ▲ ▼, ▲ ▼, ▲
▼ is shown, and the steeply sloping line segment is shown in FIG.
For the gently sloping line segment, data having the format as shown in FIG. 12 (c) can be obtained. Here, dx / dy, dz / dy, dy / dx, dz / dx are increment values, and l is the number of pixels to be generated. By performing cumulative calculation from these initial values and increments, scan conversion of line segments is performed.
(発明の効果) 以上詳細に説明したように、本発明のマルチプロセッサ
は、2次元または3次元の線画生成において、m台のグ
ラフィックプロセッサが並列処理を行い、これらの発生
する画素データが線分の傾斜の大小により行デストリビ
ュータまたは列デストリビュータのいずれかを通じて並
列転送するようにできるので、mを増大させても転送性
能を低下させることがなく、グラフィックプロセッサが
1台の場合に比べて表示処理の性能をm倍に増大するこ
とが期待できる。(Effects of the Invention) As described in detail above, in the multiprocessor of the present invention, in two-dimensional or three-dimensional line drawing generation, m graphic processors perform parallel processing, and the pixel data generated by these are line segments. Depending on the size of the slope of, the parallel transfer can be performed through either the row distributor or the column distributor, so even if m is increased, the transfer performance will not be degraded and the display will be larger than with one graphics processor. It can be expected to increase the processing performance by m times.
一画面分の画像メモリをM行N列おきに飛び越した画素
のパターンによって2次元的に分割し、2次元配列のピ
クセルプロセッサに分散して保有させているので、この
画像メモリを行デストリビュータを通してy方向にイン
ターリーブされたメモリシステムとして見せ、または列
デストリビュータを通してx方向にインターリーブされ
たメモリシステムとして見せ、いずれの場合もグラフィ
ックプロセッサ配列と1対1の対応をとることができ
る。The image memory for one screen is two-dimensionally divided by the pattern of pixels that skips every M rows and N columns, and is distributed and held in the pixel processors of the two-dimensional array. Therefore, this image memory is passed through the row distributor. It may appear as a memory system interleaved in the y-direction or as an interleaved memory system in the x-direction through the column distributor, in either case having a one-to-one correspondence with the graphics processor array.
実施例では線画を扱っているが、例えば行デストリビュ
ータのあるシフト状態で各グラフィックプロセッサが1
個の画素でなく複数のx方向に連続する画素を送ること
もでき、これにより多角形や曲面から構成された画面も
並列処理によって生成することができる。1台のグラフ
ィックプロセッサはデストリビュータのシフト状態を変
えることにより画像メモリの任意の画素に書き込みを行
うことができるから、任意形状の図形要素を描くことが
でき、1つの図形要素を複数のグラフィックプロセッサ
のために分割し、分配する処理は不要である。Although line drawings are handled in the embodiment, each graphic processor has one line in a shift state with a row distributor, for example.
It is also possible to send a plurality of consecutive pixels in the x direction instead of one pixel, and thereby a screen composed of polygons or curved surfaces can also be generated by parallel processing. Since one graphic processor can write to any pixel of the image memory by changing the shift state of the distributor, it is possible to draw a graphic element of any shape, and one graphic element can be used as a plurality of graphic processors. No need to split and distribute for
また、2次元配列をもつピクセルプロセッサは比較的単
純に構成できるからハードウェア化、LSI化が容易で配
列サイズを大きくすることができる。ピクセルプロセッ
サには画面上の飛び越しパターンを割り当てているの
で、アレイサイズを大きくしてもピクセルプロセッサ間
に均等な負荷分散が期待できる。グラフィックプロセッ
サは要求性能に応じてその個数mをアレイサイズMを上
限として増減することができる。In addition, since the pixel processor having a two-dimensional array can be configured relatively simply, it can be easily implemented as hardware and LSI and the array size can be increased. Since the interlaced pattern on the screen is assigned to the pixel processors, even load distribution can be expected among the pixel processors even if the array size is increased. The graphic processor can increase or decrease the number m depending on the required performance with the array size M being the upper limit.
従って、本発明のマルチプロセッサは画面も生成できる
が、線分数が特に多い線画を実時間の動画増として得る
のに適している。Therefore, the multiprocessor of the present invention can generate a screen, but is suitable for obtaining a line drawing with a particularly large number of line segments as a real-time moving image increase.
第1図は本発明に係る線画表示用マルチプロセッサのブ
ロック図、第2図(a)は従来の図形表示装置を示すブ
ロック図、第2図(b),(c)は従来のマルチプロセ
ッサを示すブロック図、第3図は画素の飛び越しパター
ンを示す図、第4図はピクセルプロセッサとビデオ発生
器の内部構成図、第5図(a)〜(d)は行デストリビ
ュータのシフト状態を示す図、第6図(a),(b)は
急傾斜線分の走査変換の説明図、第7図(a),(b)
は行デストリビュータの画像データ転送の説明図、第8
図(a),(b)は並列転送の説明図、第9図(a)〜
(d)は列デストリビュータのシフト状態を示す図、第
10図(a),(b)は緩傾斜線分の走査変換の説明図、
第11図は列デストリビュータの画素データ転送の説明
図、第12図は線分の分類と初期化の説明図である。 1……制御プロセッサ、2……バス、3(3−1,3−2,
…,3−m)……グラフィックプロセッサ(GP)、4−1,
4−2,…,4−m……出力線、5……行デストリビュー
タ、6−1,6−2,…,6−M……行バス、7……列デスト
リビュータ、8−1,8−2,…,8−N……列バス、9(9
−1−1,…,9−i−j,…,9−M−N)……ピクセルプロ
セッサ(PP)、10……ビデオバス、11……ビデオ発生
器、21,26……マルチプレクサ(MPX)、23〜25……レジ
スタ、27……フレームバッファメモリ、28……デプスバ
ッファメモリ、29……書込制御器、30……比較器、31…
…バスドライバ、32……同期信号発生器、33,34……カ
ウンタ、35……カラーテーブル、36〜38……DA変換器
(DAC)、39……シフトカウンタ、40……ワードカウン
タ、41……クロック入力端子。FIG. 1 is a block diagram of a multiprocessor for line drawing display according to the present invention, FIG. 2A is a block diagram showing a conventional graphic display device, and FIGS. 2B and 2C are conventional multiprocessors. FIG. 3 is a block diagram showing the pixel interlace pattern, FIG. 4 is an internal block diagram of the pixel processor and the video generator, and FIGS. 5 (a) to 5 (d) are shift states of the row distributor. 6 (a) and 6 (b) are explanatory diagrams of scan conversion of a steeply sloping line segment, and FIGS. 7 (a) and 7 (b).
Is an explanatory view of the image data transfer of the row distributor, 8th
FIGS. 9A and 9B are explanatory diagrams of parallel transfer, and FIGS.
(D) is a diagram showing a shift state of the column distributor,
FIGS. 10 (a) and 10 (b) are explanatory diagrams of scan conversion of a gently sloping line segment,
FIG. 11 is an explanatory diagram of pixel data transfer of the column distributor, and FIG. 12 is an explanatory diagram of classification and initialization of line segments. 1 ... Control processor, 2 ... Bus, 3 (3-1, 3-2,
…, 3-m) …… Graphic processor (GP), 4-1
4-2, ..., 4-m ... Output line, 5 ... Row distributor, 6-1, 6-2, ..., 6-M ... Row bus, 7 ... Column distributor, 8-1, 8-2, ..., 8-N ... Row bus, 9 (9
-1-1, ..., 9-i-j, ..., 9-MN) ... Pixel processor (PP), 10 ... Video bus, 11 ... Video generator, 21,26 ... Multiplexer (MPX ), 23 to 25 ... Register, 27 ... Frame buffer memory, 28 ... Depth buffer memory, 29 ... Write controller, 30 ... Comparator, 31 ...
Bus driver 32 Synchronous signal generator 33 34 Counter 35 Color table 36 to 38 DA converter (DAC) 39 Shift counter 40 Word counter 41 ...... Clock input terminal.
Claims (2)
元又は3次元の線画を表示する線画表示用マルチプロセ
ッサにおいて、 表示すべき図形ファイルを分割した部分図形ファイルを
持ち、該部分図形ファイル内の図形要素を座標変換した
後、該図形要素の線分についてx軸に対して急傾斜か緩
傾斜かの分類を行ない、分類結果に基づいて始点と終点
を決定し、x軸に対して急傾斜ならばy座標が1ずつ変
化する画素データ列を求め、緩傾斜ならばx座標が1ず
つ変化する画素データ列を求めることにより線分の走査
変換を行なうm個のグラフィックプロセッサと、 一画面をM行N列(M≧m,N≧m)の画素を持つ矩形領
域で分割したときの矩形領域内の各画素位置と対応する
ように2次元配列され、各矩形領域の当該画素位置の画
素データを格納する画像メモリを持ち、前記グラフィッ
クプロセッサからの画素データを該画像メモリに書き込
むM×N個のピクセルプロセッサと、 前記m個のグラフィックプロセッサの出力を前記ピクセ
ルプロセッサと接続するM本の行バスへ行方向に巡回的
にシフトして並列転送する行デストリビュータと、 前記m個のグラフィックプロセッサの出力を前記ピクセ
ルプロセッサと接続するN本の列バスへ列方向に巡回的
にシフトして並列転送する列デストリビュータとを具備
し、 前記m個のグラフィックプロセッサが一斉に前記分類に
よる急傾斜線分の走査変換を実行し、前記行デストリビ
ュータ及び前記M本の行バスを通じて画素データを並列
転送し、次に前記m個のグラフィックプロセッサが一斉
に前記分類による緩傾斜線分の走査変換を実行し、前記
列デストリビュータ及び前記N本の列バスを通じて画素
データを並列転送し、各画素データを前記M×N個のピ
クセルプロセッサの1つに転送し、各ピクセルプロセッ
サの画像メモリの内容を表示器の表示画面上に表示する
ことを特徴とする線画表示用マルチプロセッサ。1. A line drawing display multiprocessor for displaying a two-dimensional or three-dimensional line drawing on a display screen of a raster scanning type display device, which has a partial graphic file obtained by dividing a graphic file to be displayed. After the coordinate transformation of the graphic element in the figure, the line segment of the graphic element is classified into a steep slope or a gentle slope with respect to the x-axis, a start point and an end point are determined based on the classification result, and the If the slope is steep, a pixel data string whose y coordinate changes by 1 is obtained, and if the slope is gentle, a pixel data string whose x coordinate changes by 1 is calculated. When the screen is divided into rectangular areas having M rows and N columns (M ≧ m, N ≧ m), the pixels are arranged two-dimensionally so as to correspond to the respective pixel positions in the rectangular area. Pixel data of An M × N pixel processor having an image memory for storing the pixel data from the graphic processor and writing the pixel data from the graphic processor into the image memory, and M row buses connecting the outputs of the m graphic processors to the pixel processor. A row distributor that cyclically shifts in the row direction and performs parallel transfer, and an output of the m graphics processors that are cyclically shifted in the column direction and transferred in parallel to N column buses connected to the pixel processor. A column distributor, the m graphics processors simultaneously perform scan conversion of steep line segments according to the classification, and parallel transfer pixel data through the row distributor and the M row buses; Next, the m graphic processors simultaneously perform scan conversion of gently sloping line segments according to the classification. Then, the pixel data is transferred in parallel through the column distributor and the N column buses, each pixel data is transferred to one of the M × N pixel processors, and the contents of the image memory of each pixel processor are displayed. A multiprocessor for line drawing display, which is displayed on the display screen of the display.
ュータが、カウンタと巡回桁移動器で構成されることを
特徴とする特許請求の範囲第1項記載の線画表示用マル
チプロセッサ。2. The multiprocessor for line drawing display according to claim 1, wherein the row distributor and the column distributor are constituted by a counter and a cyclic digit shifter.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61151493A JPH0752468B2 (en) | 1986-06-30 | 1986-06-30 | Multiprocessor for line drawing display |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61151493A JPH0752468B2 (en) | 1986-06-30 | 1986-06-30 | Multiprocessor for line drawing display |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS638693A JPS638693A (en) | 1988-01-14 |
| JPH0752468B2 true JPH0752468B2 (en) | 1995-06-05 |
Family
ID=15519700
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61151493A Expired - Lifetime JPH0752468B2 (en) | 1986-06-30 | 1986-06-30 | Multiprocessor for line drawing display |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0752468B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000350236A (en) * | 2000-01-01 | 2000-12-15 | Casio Comput Co Ltd | Image display device |
| US11872727B2 (en) | 2020-04-07 | 2024-01-16 | Yi Hsuan Sung | Artificial botanicals and methods of making same |
-
1986
- 1986-06-30 JP JP61151493A patent/JPH0752468B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS638693A (en) | 1988-01-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5600346A (en) | Multiwindow display control method and apparatus | |
| EP0012173B1 (en) | Apparatus for picture processing with resolution conversion | |
| US5940087A (en) | Graphic processing apparatus and method | |
| JPH09245179A (en) | Computer graphics equipment | |
| JPS6158083A (en) | High speed memory system, data processing method and memory segment | |
| US5117468A (en) | Image processing system capable of carrying out local processing for image at high speed | |
| EP0235471B1 (en) | A transformation circuit to effect raster operations | |
| JPH0752468B2 (en) | Multiprocessor for line drawing display | |
| US5801670A (en) | Image generation system having a host based rendering element for generating seed pixel values and mesh address values for display having a rendering mesh for generating final pixel values | |
| US5589850A (en) | Apparatus for converting two dimensional pixel image into one-dimensional pixel array | |
| JPH0695959A (en) | Information processor | |
| US5309560A (en) | Data selection device | |
| JPS61133482A (en) | Multiprocessor for graphic display | |
| JPS5972568A (en) | Picture converter | |
| JPS6125192B2 (en) | ||
| US20050162438A1 (en) | System including address generator and address generator | |
| JPH06102842A (en) | Graphic display system including video random access memory having divided serial register and operation counter | |
| JP2913635B2 (en) | Drawing method in bitmap display system | |
| JPH0863595A (en) | Image rotation processing method and apparatus thereof | |
| JP2647073B2 (en) | Graphic display device | |
| JP2647379B2 (en) | Image processing device | |
| JPH0290246A (en) | Access system for stagger grating array memory | |
| JPH0268672A (en) | Address generating part for picture processing processor | |
| JPH10124657A (en) | Parallel writing memory and parallel writing memory system | |
| JPS6146979A (en) | Crt display unit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |