JPS62243078A - Hidden-surface erasing method for graphic display - Google Patents
Hidden-surface erasing method for graphic displayInfo
- Publication number
- JPS62243078A JPS62243078A JP61086564A JP8656486A JPS62243078A JP S62243078 A JPS62243078 A JP S62243078A JP 61086564 A JP61086564 A JP 61086564A JP 8656486 A JP8656486 A JP 8656486A JP S62243078 A JPS62243078 A JP S62243078A
- Authority
- JP
- Japan
- Prior art keywords
- area
- address
- circuit
- image
- hidden
- 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
Links
- 238000000034 method Methods 0.000 title claims description 4
- 238000010586 diagram Methods 0.000 description 6
- 238000007792 addition Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Landscapes
- Image Generation (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、三次元グラフィックディスプレイ装置により
描画された三次元画像の隠れた面を消去する方法に関す
る。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a method for erasing hidden surfaces of a three-dimensional image rendered by a three-dimensional graphic display device.
(発明の概要)
複数に分割された画像表示領域のうち任意の領域の7ア
ドレスメモリの値を7 に設定する事laX
により、通常書込モード及び強制書込モードなど違った
モードでの画像の追加を行なっても、正しくZアドレス
メモリの値を比較処理が出来るようにするものである。(Summary of the invention) By setting the value of the 7 address memory in any area of the divided image display area to 7, it is possible to write images in different modes such as normal write mode and forced write mode. This allows the values in the Z address memory to be compared correctly even if additions are made.
(従来の技術)
三次元図形′をリアルタイムに動画表示する場合には、
同出願人が既に提案した特願昭60−19995号のよ
うに、画素発生回路により発生された三次元画像データ
を順次隠面消去回路に入力し、1画素毎の7アドレスを
既にZアドレスメモリに格納されているZアドレスを大
小比較し、その結果によりZアドレスメモリの内容を更
新又はそのままにするかを決定し画像を表示していた。(Prior art) When displaying a three-dimensional figure in real time as a video,
As in Japanese Patent Application No. 1999-1999, which was already proposed by the same applicant, the three-dimensional image data generated by the pixel generation circuit is sequentially input to the hidden surface elimination circuit, and seven addresses for each pixel are already stored in the Z address memory. The Z addresses stored in the memory are compared in size, and based on the results, it is determined whether to update or leave the contents of the Z address memory as is, and the image is displayed.
(発明が解決しようとする問題点)
第3図(a)に示すように、複数に分割した表示領域(
ビューボート■1〜Va)に図形を表示した場合に、あ
る表示領域(■4)に7アドレスメモリの値に関係なく
画像を強制的に追加描画した後に別の表示領域(Vl)
に2アドレスの大小比較を行う通常の追加115画を行
うと、前記強制的追加描画時に行なった2アドレスの2
■a×設定が表示領域の全面にわたって行なわれる為そ
の次に行なった通常の追加描画には初め画像が持ってい
た2アドレス値とは違ったZ値(Z )によっaX
て大小比較が行なわれ、第3図(d)で示す描画が行な
われていた。(Problems to be solved by the invention) As shown in FIG. 3(a), the display area divided into multiple parts (
When a figure is displayed on the view board ■1 to Va), an image is forcibly added to a certain display area (■4) regardless of the value of the 7 address memory, and then another display area (Vl) is displayed.
When the normal additional 115 strokes are performed to compare the size of two addresses, the two addresses of the two addresses performed during the forced additional drawing
■Since the ax setting is performed over the entire display area, the next normal additional drawing will be compared in size using ax using a Z value (Z) that is different from the two address values that the image originally had. The drawing shown in FIG. 3(d) was performed.
(問題点を解決するための手段)
Zアドレスメモリの初期化を、複数に分割した表示領域
毎に行なえるようにして、隠面処理を行なうための2ア
ドレスメモリの値が、それぞれの表示領域での追加描画
を行なっても、他の表示領域へ影響を与えないようにし
た。(Means for solving the problem) The Z address memory can be initialized for each divided display area, so that the value of the 2 address memory for performing hidden surface processing is Even if additional drawing is done in , other display areas are not affected.
(作用)
隠面消去部の制御回路は、イレーズカウンタによって強
制書込みを行なうビューボートの領域に対応するZアド
レスメモリの2値をZ に設定1lax
する。(Function) The control circuit of the hidden surface erasing section sets the binary value of the Z address memory corresponding to the view port area to be forcibly written to Z 1 lax by the erase counter.
(実施例) 以下に、本発明の実施例を図面にもとづいて説明する。(Example) Embodiments of the present invention will be described below based on the drawings.
第1図は、本発明の隠面消去部のブロック図であり、プ
ロセッサ回路から画像データが入力された画素発生回路
は、Ii!i像に対応した画素を発生し、出力ラッチを
介して画像メモリへ入力する。この時に2アドレスメモ
リと書込制御回路によって隠面消去処理が行なわれる。FIG. 1 is a block diagram of the hidden surface erasing section of the present invention, and the pixel generating circuit to which image data is input from the processor circuit is Ii! Pixels corresponding to the i image are generated and input to the image memory via the output latch. At this time, hidden surface erasing processing is performed by the 2-address memory and the write control circuit.
さらに、本発明である隠面消去方法を制御する制御回路
とイレーズカウンタが、強制書込みを行うビューボート
領域に対応する2アドレスメモリの2値をZ、axに設
定し正常な隠面消去処理を実行する。Furthermore, the control circuit and erase counter that control the hidden surface erasing method of the present invention set the binary values of the 2-address memory corresponding to the view boat area to be forcibly written to Z and ax to perform normal hidden surface erasing processing. Execute.
第2図は、複数に分割された表示領域(ビューボートv
1〜V4)で、強制書込みモードで画像が書込まれるビ
ューボート(■4)における部分イレーズを示す図であ
り、制御回路7は、強制書込みを行うビューポート■4
の座標値P1とP2をイレーズカウンタに入力し2アド
レスメモリ5のPlとP2に対応する領域の2値をZl
aXに設定する。このPlとP2の領域は制御回路によ
り自由に設定できることは言うまでもない。Figure 2 shows a display area divided into multiple parts (view board v
1 to V4), the view port (■4) in which an image is written in the forced write mode is a diagram illustrating partial erase in the view port (■4), and the control circuit 7 is a diagram showing partial erase in the view port (■4) in which an image is written in the forced write mode.
input the coordinate values P1 and P2 of
Set to aX. It goes without saying that the regions of P1 and P2 can be freely set by the control circuit.
g53図の表示例及び第4図の制御回路のモードと隠面
消去の処理を示すフローチャートによって実際に行なわ
れる隠面処理を説明する。The hidden surface processing that is actually performed will be explained using the display example shown in FIG.
制御回路7は、プロセッサ回路9により通常の隠面消去
処理を行う通常モードと画素発生回路1より入力された
2アドレス値を強制的に2アドレスメモリ5に書込む強
制書込みモードに設定される。強制書込モードの場合に
は、制御回路7は出力ラッチに対し画像メモリへデータ
が出力されないように出力ラッチへ禁止フラグを出力す
る。The control circuit 7 is set to a normal mode in which the processor circuit 9 performs normal hidden surface erasing processing and a forced write mode in which the two address values input from the pixel generation circuit 1 are forcibly written into the two address memory 5. In the case of forced write mode, the control circuit 7 outputs a prohibition flag to the output latch so that the output latch does not output data to the image memory.
(1)通常モード
■最初に画像を表示するために、Zアドレスメモリの全
ての値をZlaXに設定する。(全面イレーズ)
■各ビューボートに図形を描画する。以上により第3図
(a)が表示される。(1) Normal mode - To display an image for the first time, set all values in the Z address memory to ZlaX. (Full erase) ■Draw shapes on each view boat. As a result of the above, FIG. 3(a) is displayed.
(2)強l111I込みモード
■描画を行うピユーボートv4の2アドレスをZ に
設定する。(部分イレーズ)
―ax
■制御回路は出力ラッチへ禁止フラグを出力し、データ
が画像メモリへ入力されないようにする。(2) Strong l111I included mode - Set the 2nd address of PyuBoat v4 for drawing to Z. (Partial erase) -ax ■The control circuit outputs a prohibition flag to the output latch to prevent data from being input to the image memory.
(3)通常モード
■ピユーボート領域v4に“ABC”の図形データを画
素発生回路より入力する。(VaのZアドレスはZ
に設定し初期化されているので、aX
どんなZ値を持った図形でも表示される。)以上により
第3図(b)が表示される。(3) Normal mode ■ Input the graphic data of "ABC" into the pewboard area v4 from the pixel generation circuit. (Va's Z address is Z
Since it is initialized by setting aX, any figure with any Z value will be displayed. ) Through the above steps, FIG. 3(b) is displayed.
■さらに、別のビューボート領域v1に新たに画素発生
回路より円柱のデータを入力する。(2) Further, new cylinder data is input from the pixel generation circuit to another view board area v1.
■通常の隠面消去処理を行う。以上により第3図(C)
が表示される。■Perform normal hidden surface removal processing. As a result of the above, Figure 3 (C)
is displayed.
(発明の効果)
本発明は以上説明したように、三次元図形を表示する際
に使用する隠面消去回路の2アドレスメモリを部分的に
Z に設定することにより、画ax
面の一部に強制的に図形を描き加えた後も、他の画面領
域への影響を全く与えず三次元図形のアップデートを行
うことができる。(Effects of the Invention) As explained above, the present invention partially sets the 2-address memory of the hidden surface erasing circuit used when displaying a three-dimensional figure to Z, thereby Even after a figure is forcibly drawn, the three-dimensional figure can be updated without affecting other screen areas at all.
第1図は、隠面消去部のブロック図、第2図は、部分イ
レーズを示す説明図、第3図は表示例を示ず説明図、第
4図は、ailIw1回路のモードと隠面消去の処理を
表すフローチャートである。
1・・・画素発生回路
5・・・Zアドレスメモリ
6・・・出力ラッチ
7・・・制御回路
8・・・イレーズカウンタ
出願人 セイコー電子工業株式会社
円(x2.Y2)
IP+レシス゛°1し臀T壽ヒ哨図
第2図
(a)
、u、1へBσ′警mオロ
(b)
廿 円n’rt邊〃p
(C)
(d)Fig. 1 is a block diagram of the hidden surface erasing unit, Fig. 2 is an explanatory diagram showing partial erase, Fig. 3 is an explanatory diagram without display examples, and Fig. 4 is a mode of the ailIw1 circuit and hidden surface erasing. 3 is a flowchart showing the processing of FIG. 1... Pixel generation circuit 5... Z address memory 6... Output latch 7... Control circuit 8... Erase counter Applicant Seiko Electronics Co., Ltd. Yen (x2.Y2) IP + Ratio 1 Figure 2 (a) , u, 1 to Bσ' watch (b) 廿 circle n'rt side 〃p (C) (d)
Claims (1)
メモリと プロセッサ回路により複数に分割された表示領域のそれ
ぞれに画像を表示し、 前記プロセッサ回路により分割された表示領域に対応す
るZアドレスを記憶するアドレスメモリの値を初期化(
Z_m_a_x)に設定するイレーズカウンタと、 プロセッサ回路のデータにより前記イレーズカウンタを
制御する制御回路とからなり、前記イレーズカウンタに
より初期化されたZアドレスメモリ領域へ、奥行き方向
のZアドレス値を強制的に書込むことを特徴とするグラ
フィックディスプレイの隠面消去方法。[Scope of Claims] An image is displayed in each of a plurality of display areas divided by a Z-address memory that stores data in the depth direction of a three-dimensional image and a processor circuit, and corresponds to the display area divided by the processor circuit. Initialize the address memory value that stores the Z address to be used (
It consists of an erase counter that is set to Z_m_a_x), and a control circuit that controls the erase counter using data from a processor circuit, and forcibly sets the Z address value in the depth direction to the Z address memory area initialized by the erase counter. A method for erasing hidden surfaces of a graphic display characterized by writing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61086564A JPS62243078A (en) | 1986-04-15 | 1986-04-15 | Hidden-surface erasing method for graphic display |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61086564A JPS62243078A (en) | 1986-04-15 | 1986-04-15 | Hidden-surface erasing method for graphic display |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62243078A true JPS62243078A (en) | 1987-10-23 |
Family
ID=13890508
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61086564A Pending JPS62243078A (en) | 1986-04-15 | 1986-04-15 | Hidden-surface erasing method for graphic display |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62243078A (en) |
-
1986
- 1986-04-15 JP JP61086564A patent/JPS62243078A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6191777A (en) | Video image forming apparatus | |
US5157385A (en) | Jagged-edge killer circuit for three-dimensional display | |
JP2952780B2 (en) | Computer output system | |
JPS59114632A (en) | Display unit | |
JPS59231591A (en) | Image generator | |
JPS62243078A (en) | Hidden-surface erasing method for graphic display | |
US20040174367A1 (en) | System and method for processing real-time video streams | |
JPS6016634B2 (en) | Graphic generation method in display devices | |
JPH08220510A (en) | Display controller | |
JP3110975B2 (en) | Display with character mask function | |
JP3354725B2 (en) | Display device | |
JPS61187083A (en) | Storage device of picture element information | |
JPS60114970A (en) | Graphic processing unit | |
JPS6242280A (en) | Graphic display device | |
JP4195953B2 (en) | Image processing device | |
JP2761220B2 (en) | 3D graphic display system | |
JP3400175B2 (en) | Display device | |
JPS6242281A (en) | Graphic display device | |
JPH02166573A (en) | Hidden surface processor | |
JPS6242279A (en) | Graphic display device | |
JP3264941B2 (en) | Image display control method and apparatus | |
JP2000076480A (en) | Image generating device, image generating method, and storage medium | |
JPH0816147A (en) | Information display device | |
JPH06289833A (en) | Color image display device | |
JPH01297698A (en) | Display screen synthesizing circuit |