JPH01209576A - Pattern indicating system - Google Patents
Pattern indicating systemInfo
- Publication number
- JPH01209576A JPH01209576A JP3270488A JP3270488A JPH01209576A JP H01209576 A JPH01209576 A JP H01209576A JP 3270488 A JP3270488 A JP 3270488A JP 3270488 A JP3270488 A JP 3270488A JP H01209576 A JPH01209576 A JP H01209576A
- Authority
- JP
- Japan
- Prior art keywords
- buffer
- index
- patterns
- display
- display device
- 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
- 239000000872 buffer Substances 0.000 claims abstract description 33
- 238000000034 method Methods 0.000 claims description 5
- 230000015654 memory Effects 0.000 abstract description 6
- 230000000694 effects Effects 0.000 description 2
- 230000004043 responsiveness Effects 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は図形表示装置に係り、特に図形の指示に好適な
図形指示方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a graphic display device, and particularly to a graphic indicating method suitable for indicating a graphic.
従来の図形表示装置の情報管理はセグメントバッファ、
フレームメモリー、デプスバッファを備える構成となつ
いた。なお、この種の装置として関連するものには例え
ば特開昭60−46443号等が挙げられる。Information management in conventional graphics display devices uses segment buffers,
It has a familiar configuration with frame memory and depth buffer. Incidentally, related devices of this type include, for example, Japanese Patent Application Laid-Open No. 60-46443.
従来の図形表示装置は情報の管理のためセグメントバッ
ファ、フレーメモリー、デプスバッファを備えている。Conventional graphics display devices are equipped with segment buffers, frame memories, and depth buffers for information management.
このような装置ではCRT上に表示された図形を選択す
るにはCRTの点をタブレットまたはマウスにより指示
しその座標値(xty)からセグメントバッファを検索
し、指示された座標値に最も近い図形を検索する方法が
とられており、図形選択までに多くの処理を必要とする
ため、応答性などに大きな問題があった。In such devices, to select a figure displayed on a CRT, specify a point on the CRT with a tablet or mouse, search the segment buffer based on its coordinates (xty), and select the figure closest to the indicated coordinates. This method uses a search method, and requires a lot of processing before selecting a figure, which poses major problems in terms of responsiveness.
本発明の目的は図形の選択を効率よく行う図形指示方式
の提供にある。An object of the present invention is to provide a figure instruction method for efficiently selecting figures.
上記目的は、従来の図形表示装置にインデックスバッフ
ァを設けることにより達成される。The above object is achieved by providing an index buffer in a conventional graphics display device.
インデックスバッファはフレームメモリーに対応する図
形のインデックスを保存する。これによって、CRT上
の点の座標値が指示されると、CRTの座標値に対応す
るインデックスバッファを調べれば表糸されている図形
についてのインデックスを取り出せ、高速に図形の指示
ができる。The index buffer stores the index of the figure corresponding to the frame memory. As a result, when the coordinate value of a point on the CRT is specified, the index of the figure on the front side can be retrieved by checking the index buffer corresponding to the coordinate value of the CRT, and the figure can be specified at high speed.
以下、本発明の一実施例を第1図により説明す机
第1図は本発明のハード構成を示したものであり、3次
元図形表示装置の構成を示している。コントローラ1は
図形表示装置全体のコントロールを司るものであり、キ
ーボード2、マウス3などもこのコントローラ1に接続
される。また、コントローラ1は表示図形の情報管理も
行っており。Hereinafter, one embodiment of the present invention will be explained with reference to FIG. 1. FIG. 1 shows the hardware configuration of the present invention, and shows the configuration of a three-dimensional graphic display device. A controller 1 is responsible for controlling the entire graphic display device, and a keyboard 2, mouse 3, etc. are also connected to this controller 1. The controller 1 also manages information about displayed figures.
表示図形の情報はセグメントバッファ4を用いて行われ
る。キーボード2等より、図形表示のコマンドが投入さ
れると、コントローラ1はコマンドの指示に従い、セグ
メントバッファ4より図形情報を検索し、座標変換プロ
セッサー5で図形の座標変化を行い、表示プロセッサー
6では図形の表示データを作成する0表示プロセッサー
6では図形を画素単位に量子化し、表示データを作成す
る。Display graphic information is provided using the segment buffer 4. When a command to display a figure is input from the keyboard 2 or the like, the controller 1 searches the segment buffer 4 for figure information according to the command instructions, changes the coordinates of the figure in the coordinate transformation processor 5, and displays the figure in the display processor 6. The display processor 6 quantizes the figure pixel by pixel to create display data.
表示データはフレームバッファ7に保存される。Display data is stored in a frame buffer 7.
このとき、フレームバッファ7の書き込みの可否はデプ
スバッファ8内の2値を比較してZ値が小さい場合のみ
フレームバッファ7に書き込むと同時にデプスバッファ
8内の2値も小さい値に変更する。このような書き込み
を行う場合、表示図形のインデックスも同時にインデッ
クスバッファ9に保存する。すべての表示図形について
同様な操作が繰り返し行われ、・表示のための最終結果
はフレームバッファ7、デプスバッファ8、インデック
スバッファ9に出来る。CRTコントローラ10はフレ
ームバッファ7の内容を具体的な色情報にしてCRTl
lに表示する。At this time, whether the frame buffer 7 can be written is determined by comparing the two values in the depth buffer 8, and only when the Z value is small, the data is written to the frame buffer 7, and at the same time, the two values in the depth buffer 8 are also changed to a smaller value. When such writing is performed, the index of the displayed figure is also stored in the index buffer 9 at the same time. Similar operations are repeated for all displayed figures, and the final results for display are available in the frame buffer 7, depth buffer 8, and index buffer 9. The CRT controller 10 converts the contents of the frame buffer 7 into concrete color information and transfers it to the CRT l.
Display on l.
図形表示′装置の利用者はCRTIIの表示された結果
を見て各種図形処理を加える。CRTIIの画面とマウ
ス3の移動範囲は対応しており、CRTIIに表示され
た結果に対してマウス3を用いることにより図形の選択
が行える。利用者はマウス3によりCRTll上に表示
されている図形の近傍の座標値を指示する。コントロー
ラ1はマウス3から入力された座標値に対応する画素の
アドレスを計算し、インデックスバッファ9の内容を取
り出すことにより図形のインデックスを検索できる。The user of the graphic display device views the displayed results of the CRT II and performs various graphic processing. The screen of the CRT II corresponds to the movement range of the mouse 3, and a graphic can be selected by using the mouse 3 on the results displayed on the CRT II. The user uses the mouse 3 to indicate coordinate values in the vicinity of the figure displayed on the CRTll. The controller 1 calculates the address of the pixel corresponding to the coordinate value inputted from the mouse 3, and retrieves the contents of the index buffer 9 to retrieve the index of the figure.
以上、3次元図形表示について述べてきたが、2次元で
も同様である。また、ハード的に説明を行ったが、各バ
ッファは一般の計算機内のメモリーを使うことによりソ
フト的にも実現可能である。The above description has been about three-dimensional graphic display, but the same applies to two-dimensional display. Furthermore, although the explanation has been given in terms of hardware, each buffer can also be implemented in software by using memory within a general computer.
本実施例によれば、インデックスバッファを設けること
により2表示図形の選択を高速に実現できる。According to this embodiment, by providing an index buffer, selection of two display figures can be realized at high speed.
(発明の効果〕
本発明によれば表示図形の選択が簡単にできるので形状
作成などの対話処理の応答性を向上できる。(Effects of the Invention) According to the present invention, it is possible to easily select a display figure, thereby improving the responsiveness of interactive processing such as shape creation.
第1図は本発明の一実施例のハード構成の説明図である
。
1・・・コントローラ、2・・・キーボード、3・・・
マウス。
4・・・セグメントバッファ、5・・・座標変換プロセ
ッサー、6・・・表示処理プロセッサー、7・・・フレ
ームバッファ、8・・・デプスバッファ、9・・・イン
デックスバッファ、10・・・CRTコントローラ、1
1・・・CRT。FIG. 1 is an explanatory diagram of the hardware configuration of an embodiment of the present invention. 1... Controller, 2... Keyboard, 3...
mouse. 4... Segment buffer, 5... Coordinate transformation processor, 6... Display processing processor, 7... Frame buffer, 8... Depth buffer, 9... Index buffer, 10... CRT controller ,1
1...CRT.
Claims (1)
ンデックスバッファを設けることにより、表示図形の指
示を高速に行うことを特徴とする図形指示方式。1. In a graphic display device for displaying figures, etc., a graphic designation method is characterized in that display graphics can be designated at high speed by providing an index buffer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3270488A JPH01209576A (en) | 1988-02-17 | 1988-02-17 | Pattern indicating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3270488A JPH01209576A (en) | 1988-02-17 | 1988-02-17 | Pattern indicating system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01209576A true JPH01209576A (en) | 1989-08-23 |
Family
ID=12366233
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3270488A Pending JPH01209576A (en) | 1988-02-17 | 1988-02-17 | Pattern indicating system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01209576A (en) |
-
1988
- 1988-02-17 JP JP3270488A patent/JPH01209576A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5574836A (en) | Interactive display apparatus and method with viewer position compensation | |
US4910683A (en) | Method and apparatus for fractional double buffering | |
KR970707515A (en) | COMPUTER SYSTEM FOR RECONSTRUCTING 3D OBJECT USING TRANSFORMATIONS BETWEEN SCREEN AND MODEL SPACE FOR CONFIGURING A 3D OBJECT USING A CONVERSION BETWEEN SCREEN SPACE AND MODEL SPACE | |
JPH07200218A (en) | Method and equipment for interlocking of graphical object | |
JPH08249502A (en) | Method and apparatus for improved graphics picking using auxiliary buffer information | |
JP3599198B2 (en) | Figure editing device | |
JPH06222899A (en) | Multiwindow display system | |
JPH01209576A (en) | Pattern indicating system | |
GB2238215A (en) | Computer display system with a three dimensional cursor shadow | |
JPS63181074A (en) | Form depicting method | |
JP2897441B2 (en) | Image processing method and apparatus | |
JPH07271998A (en) | Method and device for three-dimensional display | |
JPH02189693A (en) | Three-dimensional display device | |
JPS6340967A (en) | Plane input device | |
JP3074912B2 (en) | 3D image generation device | |
JP2822672B2 (en) | Graphic drawing method and apparatus | |
JPH05274441A (en) | Image display device | |
JPH0346826B2 (en) | ||
JPH01320583A (en) | Plotting editor | |
JPH02166573A (en) | Hidden surface processor | |
JPH04247587A (en) | Graphic display device | |
JPH0358220A (en) | Window display device | |
JPH02183293A (en) | Scrolling control system of display device | |
JPH02133882A (en) | Image data editing device | |
JPS6139160A (en) | Graphic element retrieval processing system |