JPH0346826B2 - - Google Patents

Info

Publication number
JPH0346826B2
JPH0346826B2 JP60001227A JP122785A JPH0346826B2 JP H0346826 B2 JPH0346826 B2 JP H0346826B2 JP 60001227 A JP60001227 A JP 60001227A JP 122785 A JP122785 A JP 122785A JP H0346826 B2 JPH0346826 B2 JP H0346826B2
Authority
JP
Japan
Prior art keywords
data
cursor
storage means
circuit
axis direction
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
Application number
JP60001227A
Other languages
Japanese (ja)
Other versions
JPS61159688A (en
Inventor
Koichi Ishida
Masahiro Kodama
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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries 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 Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP60001227A priority Critical patent/JPS61159688A/en
Publication of JPS61159688A publication Critical patent/JPS61159688A/en
Publication of JPH0346826B2 publication Critical patent/JPH0346826B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 この発明はCRTデイスプレイ装置の3次元カ
ーソル表示回路に関し、特に、フレームメモリに
CRT画面上の各画素のデータを記憶しておき、
フレームメモリの内容を読出して、ラスタスキヤ
ン方式によりCRT画面上に画像を表示するCRT
デイスプレイ装置において、カーソルを3次元で
表示するような3次元カーソル表示回路に関す
る。
[Detailed Description of the Invention] Industrial Application Field This invention relates to a three-dimensional cursor display circuit for a CRT display device, and in particular to a frame memory.
Memorize the data of each pixel on the CRT screen,
A CRT that reads the contents of frame memory and displays an image on a CRT screen using the raster scan method.
The present invention relates to a three-dimensional cursor display circuit that displays a cursor three-dimensionally in a display device.

発明の概要 この発明はラスタスキヤン方式のCRTデイス
プレイ装置において、カーソルデータのz軸方向
の値と表示されている画像のz軸方向の値とを比
較して、カーソルデータのメモリへの書込みを制
御して隠面処理を行ない、カーソルを3次元表示
する。
Summary of the Invention The present invention controls writing of cursor data to memory in a raster scan type CRT display device by comparing the value of cursor data in the z-axis direction with the value of the displayed image in the z-axis direction. Performs hidden surface processing and displays the cursor in three dimensions.

従来の技術 第3図は従来のCRTデイスプレイ装置のブロ
ツク図である。まず、第3図を参照して、従来の
CRTデイスプレイ装置について簡単に説明する。
ホストコンピユータ1から通信制御回路2を介し
てデータがデイスプレイプロセツサ3に与えられ
る。デイスプレイプロセツサ3はホストコンピユ
ータ1から伝送されてきたデータを登録する。デ
イスプレイプロセツサ3はホストコンピユータ1
から伝送されてきたデータを登録する。デイスプ
レイプロセツサ3に関連して、キーボード5とプ
ログラムROM6とデータRAM7とが設けられ
ている。
Prior Art FIG. 3 is a block diagram of a conventional CRT display device. First, with reference to Figure 3, the conventional
A brief explanation of the CRT display device will be given below.
Data is provided from a host computer 1 to a display processor 3 via a communication control circuit 2. The display processor 3 registers data transmitted from the host computer 1. Display processor 3 is host computer 1
Register the data transmitted from. Associated with the display processor 3 are a keyboard 5, a program ROM 6, and a data RAM 7.

キーボード5はデイスプレイプロセツサ3に登
録されたデータのうち、任意のデータを表示する
ために、その指令を与えるものである。プログラ
ムROM6はデイスプレイプロセツサ3が動作す
るのに必要なプログラムを記憶するものである。
データRAM7は表示のための命令やデータを記
憶するものである。デイスプレイプロセツサ3に
登録されたデータは座標変換用高速演算回路4に
与えられる。この座標変換用高速演算回路4はデ
イスプレイプロセツサ3から出力された表示デー
タ(x,y,z)に対して、拡大や縮小や回転や
平行移動などを行なう場合に、必要なマトリツク
スとそのデータの乗算を行なつて、新しいデータ
(x′,y′,z′)を出力するものである。この座標
変換用高速演算回路4からの出力されたデータは
クリツプ回路8に与えられる。
The keyboard 5 is used to give commands to display arbitrary data among the data registered in the display processor 3. The program ROM 6 stores programs necessary for the display processor 3 to operate.
The data RAM 7 stores commands and data for display. The data registered in the display processor 3 is given to a high speed calculation circuit 4 for coordinate transformation. This high-speed coordinate conversion calculation circuit 4 calculates the necessary matrix and its data when enlarging, reducing, rotating, or translating the display data (x, y, z) output from the display processor 3. It performs multiplication of , and outputs new data (x', y', z'). The data output from this high-speed calculation circuit for coordinate transformation 4 is given to a clip circuit 8.

クリツプ回路8はCRTデイスプレイ画面上の
図形の一部を枠で囲つたときに、その枠からはみ
出た図形をクリツプする。クリツプ回路8の出力
は塗りつぶし回路9と直線発生回路10とに与え
られる。塗りつぶし回路9は図形を塗りつぶす場
合に、クリツプ回路8から与えられた原点の座標
から内側のラインに分解して線分を発生し、それ
によつて塗りつぶしデータを求めるものである。
また、直線発生回路10はクリツプ回路8から出
力された始点と終点の各座標データに基づいて、
その始点と終点とを結ぶベクトルにおける途中の
座標を演算し、その演算結果を、ゲート回路11
を介してフレームメモリ12に展開して直線とす
る。
When a part of a figure on the CRT display screen is surrounded by a frame, the clipping circuit 8 clips the figure that protrudes from the frame. The output of the clipping circuit 8 is applied to a filling circuit 9 and a straight line generating circuit 10. When filling in a figure, the filling circuit 9 generates line segments by decomposing the coordinates of the origin given from the clip circuit 8 into inner lines, thereby obtaining filling data.
Further, the straight line generation circuit 10 uses the coordinate data of the starting point and the ending point outputted from the clipping circuit 8 to
The intermediate coordinates of the vector connecting the starting point and the ending point are calculated, and the calculation result is sent to the gate circuit 11.
It is developed into the frame memory 12 via the . . .

フレームメモリ12は直線発生回路10で発生
された直線上の各ドツトを保存するものである。
フレームメモリ12に記憶された各ドツトのデー
タはモニタインターフエイス13に与えられる。
モニタインターフエイス13はフレームメモリ1
2上のドツトデータを読出して、周期信号ととも
にカラーモニタ14に与える。カラーモニタ14
はフレームメモリ12から読出されたデータに基
づく図形を表示する。
The frame memory 12 stores each dot on a straight line generated by the straight line generating circuit 10.
The data of each dot stored in the frame memory 12 is provided to a monitor interface 13.
Monitor interface 13 is frame memory 1
The dot data on the dot 2 is read out and applied to the color monitor 14 together with the periodic signal. Color monitor 14
displays a graphic based on data read from the frame memory 12.

第4図ないし第6図は従来のCRTデイスプレ
イ装置による隠面処理を説明するための図であ
る。
FIGS. 4 to 6 are diagrams for explaining hidden surface processing by a conventional CRT display device.

前述の第3図に示したCRTデイスプレイ装置
においては、CRT図面は第1の軸(x軸)方向
と、この第1の軸に直交する第2の軸(y軸)方
向とで表わされる2次元平面となる。このような
2次元平面のCRT画面上で第4図に示したよう
な3次元の立方体の画像を表示する場合がある。
ところが、CRTデイスプレイ装置では、デイス
プレイプロセツサ3から新たなデータが座標変換
用高速演算回路4に与えられると、直線発生回路
10はフレームメモリ12の内容を必ず更新する
ため、常に後で描かれた図形データが優先して表
示されることになる。すなわち、第4図に示す立
方体の画像を表示する場合に、立方体の奥の部分
(斜線部分)を最初に書込んで隠面処理をしなけ
ればならず、後で書込むと、第5図に示すような
図形になつてしまう。また、常に後書き優先とな
るため、何か1つの図形を新たに加える場合や、
表示されている図形に対して、回転などの処理を
行なう場合でも、新たにすべての図形データに対
して奥行方向のデータの並び替えが必要となる。
このため、第6図に示すような比較的複雑な図形
を3次元で表示する場合には不向きであつた。
In the CRT display device shown in FIG. 3 described above, the CRT drawing is expressed by a first axis (x-axis) direction and a second axis (y-axis) direction perpendicular to the first axis. It becomes a dimensional plane. A three-dimensional cubic image as shown in FIG. 4 may be displayed on such a two-dimensional CRT screen.
However, in a CRT display device, when new data is given from the display processor 3 to the high-speed coordinate conversion calculation circuit 4, the straight line generation circuit 10 always updates the contents of the frame memory 12, so that the data drawn later is always Graphical data will be displayed with priority. That is, when displaying the image of the cube shown in Figure 4, the inner part of the cube (the shaded part) must be written first to remove hidden surfaces, and if it is written later, the image shown in Figure 5 will be displayed. The shape will look like the one shown in the figure. Also, since last writing is always given priority, when adding a new shape,
Even when processing such as rotation is performed on a displayed figure, it is necessary to newly rearrange all the figure data in the depth direction.
For this reason, it is not suitable for three-dimensionally displaying a relatively complex figure as shown in FIG.

そこで、図形を隠面処理をしながら3次元的に
表示するために、図形におけるz軸方向のデータ
の管理をハード構成で行なうことが知られてい
る。すなわち、第3図に示したクリツプ回路8と
塗りつぶし回路9のそれぞれの出力をz座標補間
回路15に与える。z座標補間回路15は直線発
生回路10と同期して、始点と終点の座標値に基
づいて、その間におけるz座標値を補間してデプ
スバツフアメモリ18に書込むものである。z座
標補間回路15は、補間したz座標値を比較回路
17に与える。一方、デプスバツフアメモリ18
からは、z座標補間回路15から出力されたz座
標値に該当する座標zの座標値が読出されて比較
回路17に与えられる。比較回路17はz座標補
間回路15からのz座標値と、デプスバツフアメ
モリ18からのz座標値とを比較し、z座標補間
回路15から出力された書込むべきz座標値の方
がデプスバツフアメモリ18から読出されたz座
標値よりも小さいとき、すなわちz方向において
手前側にあるかあるいは一致しているとき、ゲー
ト回路11,16を能動化して、直線発生回路1
0で発生される画像データをフレームメモリ12
に書込むとともに、その画像データに対応するz
座標値をデプスバツフアメモリ18に書込む。
Therefore, in order to display a figure three-dimensionally while performing hidden surface processing, it is known to manage data in the z-axis direction of the figure using a hardware configuration. That is, the respective outputs of the clipping circuit 8 and the filling circuit 9 shown in FIG. 3 are applied to the z-coordinate interpolation circuit 15. The z-coordinate interpolation circuit 15 interpolates the z-coordinate value between the starting point and the ending point based on the coordinate values of the starting point and the ending point in synchronization with the straight line generating circuit 10, and writes the interpolated z-coordinate value in the depth buffer memory 18. The z-coordinate interpolation circuit 15 provides the interpolated z-coordinate value to the comparison circuit 17. On the other hand, depth buffer memory 18
From there, the coordinate value of the coordinate z corresponding to the z coordinate value output from the z coordinate interpolation circuit 15 is read out and given to the comparison circuit 17. The comparison circuit 17 compares the z-coordinate value from the z-coordinate interpolation circuit 15 and the z-coordinate value from the depth buffer memory 18, and determines that the z-coordinate value to be written output from the z-coordinate interpolation circuit 15 has a greater depth. When the z-coordinate value is smaller than the z-coordinate value read from the buffer memory 18, that is, when it is on the near side in the z-direction or coincides with it, the gate circuits 11 and 16 are activated, and the linear generation circuit 1
The image data generated at 0 is stored in the frame memory 12.
z corresponding to the image data.
Write the coordinate values to the depth buffer memory 18.

しかし、比較回路17は書込もうとするz座標
値がデプスバツフアメモリ18から読出したz座
標よりも大きい値であるとき、すなわちz方向に
おいて奥にあるとき、ゲート回路11,16に禁
止信号を与えて、フレームメモリ12およびデプ
スバツフアメモリ18への書込みを禁止する。こ
れを各画素単位について、z座標値の比較処理を
行ないながら、フレームメモリ12への書込みを
行なうことによつて隠面処理が実現できる。
However, when the z-coordinate value to be written is larger than the z-coordinate read from the depth buffer memory 18, that is, when it is located further in the z-direction, the comparison circuit 17 sends a prohibition signal to the gate circuits 11 and 16. is given to prohibit writing to the frame memory 12 and depth buffer memory 18. Hidden surface processing can be realized by writing this into the frame memory 12 while comparing the z-coordinate values for each pixel.

発明が解決しようとする問題点 第7図および第8図は従来のCRTデイスプレ
イ装置によつてカーソルを表示する方法を説明す
るための図である。
Problems to be Solved by the Invention FIGS. 7 and 8 are diagrams for explaining a method of displaying a cursor using a conventional CRT display device.

ところで、CRTデイスプレイ装置では、表示
されている画像の任意の点を指定するために、第
7図に示すようなカーソルを表示することがあ
る。このようなカーソルを表示する場合、カーソ
ルの画像データはフレームメモリ12とは独立し
たたとえばRAMなどによつて構成された回路
(図示せず)によつて発生され、このカーソルの
画像データはモニタインターフエイス13に入力
されて、カラーモニタ14に表示される。このた
め、画像を3次元表示したとしても、カーソルは
第8図に示すようにその表示された図形から浮き
上がつたように表示される。したがつて、従来の
CRTデイスプレイ装置では、x軸,y軸平面上
の任意の点をカーソルで指定することができて
も、表示されている図形の奥行方向すなわちz軸
方向の任意の点を指定することができないという
欠点があつた。
Incidentally, in a CRT display device, a cursor as shown in FIG. 7 may be displayed in order to specify an arbitrary point on the displayed image. When displaying such a cursor, the image data of the cursor is generated by a circuit (not shown) constituted by, for example, RAM, independent of the frame memory 12, and the image data of the cursor is generated by a circuit (not shown) that is independent of the frame memory 12, and is generated by a circuit (not shown) that is independent of the frame memory 12. The image is input to the face 13 and displayed on the color monitor 14. Therefore, even if the image is displayed three-dimensionally, the cursor appears to be floating above the displayed figure, as shown in FIG. Therefore, the conventional
With CRT display devices, even if you can specify any point on the x-axis and y-axis plane with the cursor, you cannot specify any point in the depth direction of the displayed figure, that is, in the z-axis direction. There were flaws.

それゆえに、この発明の主たる目的は、表示さ
れている図形データを破壊することなく、隠面処
理を行ないながらカーソルを3次元的に表示でき
るようなCRTデイスプレイ装置の3次元カーソ
ル表示回路を提供することである。
Therefore, the main object of the present invention is to provide a three-dimensional cursor display circuit for a CRT display device that can display a cursor three-dimensionally while performing hidden surface processing without destroying displayed graphic data. That's true.

問題点を解決するための手段 この発明は第1および第2の軸方向の2次元平
面上の複数の画素データを記憶する画像記憶手段
と、各画素データについての第3の軸方向のデー
タを記憶する奥行記憶手段と、新たに書込むべき
図形データにおける奥行方向の値と奥行記憶手段
に記憶している各画素の第3の軸方向のデータと
比較することによつて、画像記憶手段と奥行記憶
手段のそれぞれのデータの書込みを制御して3次
元隠面処理を行なう制御手段とを備えたCRTデ
イスプレイ装置において、カーソルデータを記憶
するためのカーソル記憶手段を設け、カーソルデ
ータの第3の軸方向のデータと奥行記憶手段に記
憶している各画素の第3の軸方向のデータとを制
御手段によつて比較し、その比較結果に基づい
て、カーソル記憶手段の書込みを制御して隠面処
理を行ない、カーソルの3次元表示を行なう。
Means for Solving the Problems The present invention provides image storage means for storing a plurality of pixel data on a two-dimensional plane in first and second axial directions, and data for each pixel data in a third axial direction. By comparing the value in the depth direction in the depth storage means to be stored and the new graphic data to be written with the data in the third axis direction of each pixel stored in the depth storage means, the image storage means and A CRT display device is provided with a control means for controlling the writing of each data in the depth storage means to perform three-dimensional hidden surface processing. The data in the axial direction and the data in the third axis direction of each pixel stored in the depth storage means are compared by the control means, and based on the comparison result, writing in the cursor storage means is controlled and hidden. Performs surface processing and displays the cursor in three dimensions.

作 用 この発明では、カーソル記憶手段に記憶してい
るカーソルデータの第3の軸方向の値と奥行記憶
手段に記憶している各画素の第3の軸方向のデー
タとを比較し、カーソルデータの第3の軸方向の
値が大きいときにはカーソル記憶手段へのカーソ
ルデータの書込みを禁止し、カーソルデータの第
3の軸方向のデータが小さい場合には、カーソル
データをカーソル記憶手段に書込むとともに、そ
のカーソルデータに対応する画像記憶手段および
奥行記憶手段の記憶領域のデータの更新を禁止す
るようにする。したがつて、3次元表示された図
形の任意の点をカーソルで指定するとき、その図
形の2次元平面上だけではなく、第3の軸方向す
なわち奥行方向の任意の点も指定することができ
る。
Operation In this invention, the value in the third axis direction of the cursor data stored in the cursor storage means is compared with the data in the third axis direction of each pixel stored in the depth storage means, and the cursor data is When the value of the cursor data in the third axis direction is large, writing of the cursor data to the cursor storage means is prohibited, and when the data of the cursor data in the third axis direction is small, the cursor data is written to the cursor storage means and the cursor data is written to the cursor storage means. , updating of data in the storage areas of the image storage means and depth storage means corresponding to the cursor data is prohibited. Therefore, when specifying an arbitrary point on a three-dimensionally displayed figure with the cursor, you can specify not only an arbitrary point on the two-dimensional plane of the figure, but also an arbitrary point in the third axis direction, that is, the depth direction. .

実施例 第1図はこの発明の一実施例のブロツク図であ
る。この第1図に示す実施例は、以下の点を除い
て前述の第3図と同じである。すなわち、ホスト
コンピユータ1からカーソルのためのデータが発
生され、デイスプレイプロセツサ3に登録され
る。座標変換用高速演算回路4はデイスプレイプ
ロセツサ3に登録されたカーソルのための座標デ
ータ(x,y,z)に対して、新しいデータ
(x′,y′,z′)を出力する。さらに、3次元ドラ
ツギング制御を行なうためのゲート回路20と、
直線発生回路10で発生されたカーソルデータの
z座標値を記憶するためのドラツギングプレーン
22と、そのz座標値をドラツギングプレーン2
2に与えるためのゲート回路21と、フレームメ
モリ12およびドラツギングプレーン22の出力
をモニタインターフエイス13に与えるための
ORゲート23とが新たに設けられる。
Embodiment FIG. 1 is a block diagram of an embodiment of the present invention. The embodiment shown in FIG. 1 is the same as the embodiment shown in FIG. 3 above, except for the following points. That is, data for the cursor is generated from the host computer 1 and registered in the display processor 3. The coordinate conversion high-speed calculation circuit 4 outputs new data (x', y', z') for the coordinate data (x, y, z) for the cursor registered in the display processor 3. Furthermore, a gate circuit 20 for performing three-dimensional dragging control,
A dragging plane 22 for storing the z-coordinate value of cursor data generated by the straight line generation circuit 10;
2, and a gate circuit 21 for providing the outputs of the frame memory 12 and dragging plane 22 to the monitor interface 13.
An OR gate 23 is newly provided.

第2図はこの発明の一実施例によつて隠面処理
されるカーソルを示す図である。
FIG. 2 is a diagram showing a cursor subjected to hidden surface processing according to an embodiment of the present invention.

次に、第2図を参照して、第1図に示したこの
発明の一実施例の具体的な動作について説明す
る。まず、この発明の実施例では、カーソルの3
次元表示とドラツギング処理とを併用している。
すなわち、ドラツギング処理とは、対象図形デー
タのみを更新することによつて、他の図形データ
を更新することなく動的表現を行なうものであ
る。
Next, with reference to FIG. 2, the specific operation of the embodiment of the present invention shown in FIG. 1 will be described. First, in the embodiment of this invention, the cursor's 3
Dimensional display and dragging processing are used together.
That is, the dragging process is a process in which dynamic expression is performed by updating only target graphic data without updating other graphic data.

直線発生回路10からのカーソルのx,y平面
上の座標データがゲート回路21を介してドラツ
ギングプレーン22に書込まれるとともに、カー
ソルのz座標値がz座標補間回路15を介して比
較回路19に与えられる。また、この比較回路1
9には、デプスバツフアメモリ18からフレーム
メモリ12に書込んだ2次元平面の画像データの
z座標値が読出されて与えられる。そして、比較
回路19はカーソルのz座標値と2次元平面画像
データのz座標値のいずれが大きいか否かを判断
する。比較回路19はカーソルのz座標値が2次
元平面画像データのz座標値よりも大きいとき、
すなわちカーソルが画像よりも奥側にあることを
判別したときには、ゲート回路21を閉じ、カー
ソルのz座標値がドラツギングプレーン22に書
込まれるのを禁止する。
Coordinate data of the cursor on the x, y plane from the straight line generation circuit 10 is written to the dragging plane 22 via the gate circuit 21, and the z coordinate value of the cursor is written to the comparison circuit via the z coordinate interpolation circuit 15. given to 19. Also, this comparison circuit 1
9, the z coordinate value of the two-dimensional plane image data written in the frame memory 12 from the depth buffer memory 18 is read out and given. Then, the comparison circuit 19 determines which of the z-coordinate value of the cursor and the z-coordinate value of the two-dimensional planar image data is larger. When the z-coordinate value of the cursor is larger than the z-coordinate value of the two-dimensional plane image data, the comparison circuit 19
That is, when it is determined that the cursor is on the back side of the image, the gate circuit 21 is closed and the z-coordinate value of the cursor is prohibited from being written on the dragging plane 22.

しかし、比較回路19が、カーソルのz座標値
が2次元平面画像データのz座標値よりも小さい
ことを判別したときすなわちカーソルが画像より
も手前側にあることを判別したときには、カーソ
ルのz座標値をドラツギングプレーン22に書込
む。このとき、3次元ドラツギング制御信号がゲ
ート回路20に与えられ、このゲート回路20の
出力によりゲート回路11と16が閉じられて、
フレームメモリ12およびデプスバツフアメモリ
18への書込みが禁止される。
However, when the comparison circuit 19 determines that the z-coordinate value of the cursor is smaller than the z-coordinate value of the two-dimensional plane image data, that is, when it determines that the cursor is on the front side of the image, the z-coordinate value of the cursor Write the value to the dragging plane 22. At this time, a three-dimensional dragging control signal is given to the gate circuit 20, and the output of this gate circuit 20 closes the gate circuits 11 and 16.
Writing to frame memory 12 and depth buffer memory 18 is prohibited.

これは、隠面処理モードにおいては、カーソル
のデータが、そのとき表示されている3次元図形
よりも手前にあれば、フレームメモリ12および
デプスバツフアメモリ18に書込まれているデー
タを更新してしまうため、表示図形の上をカーソ
ルが動くことにより、本来フレームメモリ12に
書込まれるべき3次元図形の2次元データおよび
デプスバツフアメモリ18に書込まれるべき3次
元図形のz座標値がそれぞれカーソルの2次元デ
ータおよびz座標値に書換えられてしまうので、
これらの書換えを禁止するためである。そして、
ドラツギングプレーン22に書込まれたカーソル
の2次元データまたはフレームメモリ12に書込
まれた図形の2次元データはORゲート23を介
してモニタインターフエイス13に与えられ、カ
ラーモニタ14に表示される。
In hidden surface processing mode, if the cursor data is in front of the currently displayed three-dimensional figure, the data written in the frame memory 12 and depth buffer memory 18 is updated. Therefore, when the cursor moves over the displayed figure, the two-dimensional data of the three-dimensional figure that should originally be written to the frame memory 12 and the z-coordinate value of the three-dimensional figure that should be written to the depth buffer memory 18 are Each will be rewritten to the two-dimensional data and z coordinate value of the cursor, so
This is to prohibit these rewrites. and,
The two-dimensional data of the cursor written on the dragging plane 22 or the two-dimensional data of the figure written on the frame memory 12 is given to the monitor interface 13 via the OR gate 23 and displayed on the color monitor 14. Ru.

このように、ドラツギングプレーン22にカー
ソルのデータを書込むときには、デプスバツフア
メモリ18およびドラツギングプレーン22への
データの書込みを禁止するようにしているので、
通常の隠面処理とドラツギング対象図形に対する
隠面処理とが可能となる。そして、第2図に示す
ように、3次元図形にカーソルを表示した場合、
カーソルが3次元図形よりも手前にある場合に
は、カーソルの全体が表示され、3次元図形のz
方向の任意の点をカーソルで指定したとき、3次
元図形内にカーソルが入つたならば、その部分の
み隠面処理により消去され、3次元図形からはみ
出た部分のみ表示されることになる。
In this way, when writing cursor data to the dragging plane 22, writing of data to the depth buffer memory 18 and the dragging plane 22 is prohibited.
It becomes possible to perform normal hidden surface processing and hidden surface processing for dragging target figures. Then, as shown in Figure 2, when the cursor is displayed on a three-dimensional figure,
If the cursor is in front of the 3D figure, the entire cursor is displayed, and the 3D figure's z
When specifying an arbitrary point in a direction with a cursor, if the cursor enters a three-dimensional figure, only that part will be erased by hidden surface processing, and only the part that protrudes from the three-dimensional figure will be displayed.

また、カーソルのz座標値によつて、3次元図
形のうちそのカーソルが指示しているz方向の値
を読取ることも可能となる。
Further, depending on the z-coordinate value of the cursor, it is also possible to read the value in the z-direction of the three-dimensional figure that the cursor is pointing to.

発明の効果 以上のように、この発明によれば、カーソルデ
ータを記憶するためのカーソル記憶手段を設け、
カーソルデータの奥行方向の座標値と表示図形の
奥行方向の座標値とを比較し、その比較結果に基
づいて、カーソルの奥行方向の座標値が表示図形
の奥行方向の座標値よりも手前にあつたときに
は、そのカーソルデータをカーソル記憶手段に書
込むとともに、画像記憶手段および奥行記憶手段
に書込まれているデータの更新を禁止し、カーソ
ルの奥行方向の座標値が画像データの奥行方向の
座標値よりも奥にある場合には、カーソル記憶手
段への書込みを禁止するようにしたので、カーソ
ルを隠面処理によつて3次元表示することができ
る。
Effects of the Invention As described above, according to the present invention, a cursor storage means for storing cursor data is provided,
The depth direction coordinate value of the cursor data is compared with the depth direction coordinate value of the display shape, and based on the comparison result, the depth direction coordinate value of the cursor is located in front of the depth direction coordinate value of the display shape. When the cursor data is written to the cursor storage means, updating of the data written to the image storage means and the depth storage means is prohibited, and the coordinate value in the depth direction of the cursor is changed to the coordinate value in the depth direction of the image data. Since writing to the cursor storage means is prohibited when the cursor is located further back than the value, the cursor can be displayed three-dimensionally by hidden surface processing.

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

第1図はこの発明の一実施例のブロツク図であ
る。第2図はこの発明の一実施例によつて隠面処
理されるカーソルを示す図である。第3図は従来
のCRTデイスプレイ装置のブロツク図である。
第4図ないし第6図は従来のCRTデイスプレイ
装置による隠面処理を説明するための図である。
第7図および第8図は従来のCRTデイスプレイ
装置によつてカーソルを表示する方法を説明する
ための図である。 図において、4は座標変換用高速演算回路、8
はクリツプ回路、9は塗りつぶし回路、10は直
線発生回路、11,16,20,21はゲート回
路、12はフレームメモリ、13はモニタインタ
ーフエイス、14はカラーモニタ、15はz座標
補間回路、18はデプスバツフアメモリ、19は
比較回路、22はドラツギングプレーン、23は
ORゲートを示す。
FIG. 1 is a block diagram of one embodiment of the present invention. FIG. 2 is a diagram showing a cursor subjected to hidden surface processing according to an embodiment of the present invention. FIG. 3 is a block diagram of a conventional CRT display device.
FIGS. 4 to 6 are diagrams for explaining hidden surface processing by a conventional CRT display device.
FIGS. 7 and 8 are diagrams for explaining a method of displaying a cursor using a conventional CRT display device. In the figure, 4 is a high-speed calculation circuit for coordinate transformation, 8
is a clip circuit, 9 is a fill circuit, 10 is a straight line generation circuit, 11, 16, 20, 21 are gate circuits, 12 is a frame memory, 13 is a monitor interface, 14 is a color monitor, 15 is a z coordinate interpolation circuit, 18 is a depth buffer memory, 19 is a comparison circuit, 22 is a dragging plane, and 23 is a
An OR gate is shown.

Claims (1)

【特許請求の範囲】 1 第1の軸方向および前記第1の軸方向と直交
する第2の軸方向とにより表わされるCRT画面
上の各画素のそれぞれについて複数の画素データ
を記憶する画像記憶手段と、 前記各画素のそれぞれに対して、前記第1およ
び第2の軸に直交する第3の軸方向に複数ビツト
のデータを記憶する奥行記憶手段と、 新たに書込まれるべき図形データにおける前記
第3の軸方向の値と、前記奥行記憶手段に記憶さ
れている各画素の前記第3の軸方向のデータとを
比較することによつて、前記画像記憶手段および
前記奥行記憶手段のそれぞれへのデータの書込み
を制御して3次元隠面処理を行なう制御手段とを
備えたCRTデイスプレイ装置において、さらに 前記CRT画面上に表示されるカーソルデータ
を記憶するためのカーソル記憶手段を含み、 前記制御手段は前記カーソルデータの前記第3
の軸方向の値と、前記奥行手段に記憶されている
各画素の前記第3の軸方向のデータとを比較し
て、前記カーソルデータの前記カーソル記憶手段
への書込みを制御し、当該カーソルに対して隠面
処理を行なうとともに、当該カーソルデータに対
応する前記画像記憶手段および前記奥行記憶手段
の記憶領域のデータの更新を禁止するようにし
た、CRTデイスプレイ装置の3次元カーソル表
示回路。
[Scope of Claims] 1. Image storage means for storing a plurality of pixel data for each pixel on a CRT screen represented by a first axis direction and a second axis direction orthogonal to the first axis direction. and depth storage means for storing, for each of the pixels, a plurality of bits of data in a third axis direction perpendicular to the first and second axes; By comparing the value in the third axis direction with the data in the third axis direction of each pixel stored in the depth storage means, the information is stored in each of the image storage means and the depth storage means. A CRT display device comprising a control means for controlling data writing to perform three-dimensional hidden surface processing, further comprising a cursor storage means for storing cursor data displayed on the CRT screen, the control means for storing cursor data displayed on the CRT screen, The means includes the third data of the cursor data.
and the data in the third axis direction of each pixel stored in the depth means to control writing of the cursor data to the cursor storage means, and A three-dimensional cursor display circuit for a CRT display device, wherein the three-dimensional cursor display circuit performs hidden surface processing on the cursor data and prohibits updating of data in storage areas of the image storage means and the depth storage means corresponding to the cursor data.
JP60001227A 1985-01-07 1985-01-07 3-d cursor display circuit for crt display unit Granted JPS61159688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60001227A JPS61159688A (en) 1985-01-07 1985-01-07 3-d cursor display circuit for crt display unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60001227A JPS61159688A (en) 1985-01-07 1985-01-07 3-d cursor display circuit for crt display unit

Publications (2)

Publication Number Publication Date
JPS61159688A JPS61159688A (en) 1986-07-19
JPH0346826B2 true JPH0346826B2 (en) 1991-07-17

Family

ID=11495581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60001227A Granted JPS61159688A (en) 1985-01-07 1985-01-07 3-d cursor display circuit for crt display unit

Country Status (1)

Country Link
JP (1) JPS61159688A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05338494A (en) * 1992-06-05 1993-12-21 Tokyo Tokushu Glass Kk Back mirror, head lamp, window for vehicle and vehicle
US5321809A (en) * 1992-09-11 1994-06-14 International Business Machines Corporation Categorized pixel variable buffering and processing for a graphics system

Also Published As

Publication number Publication date
JPS61159688A (en) 1986-07-19

Similar Documents

Publication Publication Date Title
US4974177A (en) Mapping circuit of a CRT display device
US4679041A (en) High speed Z-buffer with dynamic random access memory
US4475104A (en) Three-dimensional display system
US6587112B1 (en) Window copy-swap using multi-buffer hardware support
US5274760A (en) Extendable multiple image-buffer for graphics systems
US5040130A (en) Computer graphics boundary--defined area clippping and extraneous edge deletion method
GB2226479A (en) Method and apparatus for fractional double buffering
WO1996031844A1 (en) Graphics system
CA2053947A1 (en) High performance triangle interpolator
US6172687B1 (en) Memory device and video image processing apparatus using the same
JPH0916806A (en) Stereoscopic image processor
US4970499A (en) Apparatus and method for performing depth buffering in a three dimensional display
US6952217B1 (en) Graphics processing unit self-programming
US6275241B1 (en) High speed image drawing apparatus for displaying three dimensional images
JPH04246790A (en) Vector/conic section/area file primitive generator
KR19980702733A (en) 3D graphic display
JPH0371277A (en) Method and device for plotting surface model
KR100420402B1 (en) Graphics drawing device of processing drawing data including rotation target object and non-rotation target object
JPH0346826B2 (en)
JPH0544063B2 (en)
JP3132220B2 (en) 3D model shape creation method
JPS61187083A (en) Storage device of picture element information
JP3502901B2 (en) Three-dimensional graphics image display apparatus and method
JPS595905B2 (en) Surface brightness generation method in display devices
JP4482996B2 (en) Data storage apparatus and method and image processing apparatus

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term