JPS63200276A - Picking processor - Google Patents

Picking processor

Info

Publication number
JPS63200276A
JPS63200276A JP62033065A JP3306587A JPS63200276A JP S63200276 A JPS63200276 A JP S63200276A JP 62033065 A JP62033065 A JP 62033065A JP 3306587 A JP3306587 A JP 3306587A JP S63200276 A JPS63200276 A JP S63200276A
Authority
JP
Japan
Prior art keywords
specific area
depth
register
clipping
polygon
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
Application number
JP62033065A
Other languages
Japanese (ja)
Inventor
Yuji Kamiyama
神山 祐史
Teiji Nishizawa
西澤 貞次
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP62033065A priority Critical patent/JPS63200276A/en
Publication of JPS63200276A publication Critical patent/JPS63200276A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To select a 3-dimensional pattern at a high speed by controlling the depth of a specific area defined after a cursor with use of a 2-split searching method. CONSTITUTION:A conversion matrix generating part 14 outputs a conversion matrix to define a specific area around a cursor moving over a 2-dimensional space of a display screen and to convert the specific area into a normal device space. A coordinate transforming circuit 3 performs matrix arithmetic by means of said transforming matrix. While a clipping circuit 4 performs clipping jobs. A depth control part 13-6 decides the clipping identification signal outputted from the circuit 4 and updates both a depth minimum register 13-1 and a depth maximum register 13-2. Then a specific area depth register 9 is updated by the output of an average value arithmetic circuit 13-1.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は3次元グラフィックス表示装置のピッキング処
理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a picking processing device for a three-dimensional graphics display device.

従来の技術 3次元グラフィックス表示装置のピッキング処理につい
て直接的に記載した文献はない。ピッキング処理は原理
的にはカーソル周辺の微小領域でクリッピングしたとき
、新たな頂点を発生する(以下、クリップされると表現
する)図形を判別することにより処理されることは公知
であり、例えば次の文献に示されている。「コンピュー
タディスプレイによる図形処理工学」、山口著 日刊工
業新聞社、PP138−145゜第2図に2次元グラフ
ィックス表示装置のピッキングの様子を示す。カーソル
周辺の微小領域でクリッピングを行うと、多角形1はク
リップされ多角形2はクリップされないので両者の区別
が容易にできる。このようにカーソル周辺の微小領域に
よるクリッピングを行い、クリップされる多角形を判別
する方法は有効である。
BACKGROUND OF THE INVENTION There is no literature that directly describes the picking process of a three-dimensional graphics display device. It is well known that the picking process is carried out in principle by determining the shape that generates a new vertex (hereinafter referred to as being clipped) when clipping is performed in a minute area around the cursor. This is shown in the literature. "Graphic Processing Engineering Using Computer Displays" by Yamaguchi, Nikkan Kogyo Shimbun, PP138-145. Figure 2 shows the picking process of a two-dimensional graphics display device. When clipping is performed in a minute area around the cursor, polygon 1 is clipped and polygon 2 is not clipped, making it easy to distinguish between the two. This method of performing clipping using a minute area around the cursor and determining the polygon to be clipped is effective.

この方法を3次元グラフィックスに適用すると、カーソ
ル周辺の微小立体によるクリッピングを行い、クリップ
される多角形を判別する方法となる。
When this method is applied to three-dimensional graphics, clipping is performed using minute solids around the cursor, and the polygon to be clipped is determined.

カーソル周辺の微小立体によるクリッピングおよびクリ
ップされた多角形を識別出力する従来のシステムが次の
文献に示されている。ジェー・エッチ会クラーク、ザ 
ジオメトリエンジン:アブイニルニスアイ ジオメトリ
 システム フォー グラフィックス” 、 comp
uter  Graphics 。
A conventional system for identifying and outputting clipping by minute solids around a cursor and clipped polygons is shown in the following document. J Erotic Club Clark, The
Geometry Engine: Abinirnisai Geometry System for Graphics”, comp
uter Graphics.

人CM 、Mol 1 e  、$3 、pp127−
133.19820具体的なピッキング処理装置の構成
図は記載されていないが、容易に推測できる構成図を第
3図に示す。1は3次元ワールド座標系で定義された多
角形の各頂点座標データを格納する多角形頂点メモリ、
2は3次元ワールド座標系から3次元正規・デバイス座
標系へ変換する4行4列マトリクスを格納する変換マト
リクス格納メモリ、3は変換マトリクス格納メモリ2に
格納される4行4列マトリクスを用いて多角形頂点メモ
リ1に格納される各頂点を座標変換する座標変換回路で
ある。4は正規デバイス空間(−1≦X≦1.−1≦Y
≦1゜0≦2≦1)でクリッピングするクリッピング回
路で、平面x=−1及び平面x=1でクリッピングする
Xクリッピング回路5、平面Y=−1及び平面Y=1で
クリッピングするYクリッピング回路6、平面Z=o及
びz=1でりIJ 、ピンクする2クリッピング回路7
の縦続接続で構成される。
Human CM, Mol 1 e, $3, pp127-
133.19820 Although a specific configuration diagram of the picking processing device is not described, a configuration diagram that can be easily inferred is shown in FIG. 1 is a polygon vertex memory that stores the coordinate data of each vertex of a polygon defined in the three-dimensional world coordinate system;
2 is a transformation matrix storage memory that stores a 4-by-4 matrix for converting from a 3-dimensional world coordinate system to a 3-dimensional normal/device coordinate system, and 3 is a 4-by-4 matrix stored in the transformation matrix storage memory 2. This is a coordinate conversion circuit that converts the coordinates of each vertex stored in the polygon vertex memory 1. 4 is the regular device space (-1≦X≦1.-1≦Y
≦1゜0≦2≦1), an X clipping circuit 5 that clips on the plane x=-1 and the plane x=1, and a Y clipping circuit that clips on the plane Y=-1 and the plane Y=1. 6. Plane Z=o and z=1 and IJ, pink 2 clipping circuit 7
It consists of a cascade of .

8はカーソル座標を格納するカーソル座標レジスタテ、
X、Y、Z座標値(Xc、 Yc、 Zc )を格納す
る3ケのレジスタ8−1〜8−3で構成される。
8 is a cursor coordinate register for storing cursor coordinates;
It is composed of three registers 8-1 to 8-3 that store X, Y, and Z coordinate values (Xc, Yc, Zc).

9はカーソル周辺に定義する特定領域の大きさを格納す
る特定領域レジスタで、横幅(ΔX)を格納する特定領
域横幅レジスタ9−1、高さくΔy)を格納する特定領
域高さレジスタ9−2、奥行き(Δ2)を格納する特定
領域奥行きレジスタ9−3で構成される。1Qは3次元
ワールド座標系に定義した図形を見る視点座標を格納す
る視点座標レジスタでX、Y、Z座標値(Xs 、 Y
e 、 Ze )を格納する3ケのレジスタ1o−1〜
1o−3で構成される。11はカーソル座標レジスタ8
と特定領域レジスタ9と視点座標レジスタ10から4行
4列の座標変換マトリクスを生成する変換マトリクス生
成部である。
9 is a specific area register that stores the size of a specific area defined around the cursor, a specific area width register 9-1 that stores the width (ΔX), and a specific area height register 9-2 that stores the height (Δy). , depth (Δ2) are stored in a specific area depth register 9-3. 1Q is a viewpoint coordinate register that stores the viewpoint coordinates for viewing a figure defined in the 3D world coordinate system, and the X, Y, Z coordinate values (Xs, Y
e, Ze) are stored in three registers 1o-1~
Consists of 1o-3. 11 is the cursor coordinate register 8
This is a transformation matrix generation unit that generates a coordinate transformation matrix of 4 rows and 4 columns from the specific area register 9 and viewpoint coordinate register 10.

以上の構成において、3次元空間の多角形を表示するに
は視点座標レジスタ10の内容から変換マトリクス生成
部10が視野変換、透視変換のだめの4行4列マトリク
スを生成し、変換マトリクス格納メモリ2へ格納する。
In the above configuration, in order to display a polygon in a three-dimensional space, the transformation matrix generation unit 10 generates a 4-by-4 matrix for visual field transformation and perspective transformation from the contents of the viewpoint coordinate register 10, and converts the matrix into a transformation matrix storage memory 2. Store it in

座標変換回路3では変換マトリクス格納メモリ2に格納
される4行4列マh IJクスを用いて多角形頂点メモ
リ1に格納される各頂点データを(1)式に示すように
変換する。
The coordinate transformation circuit 3 transforms each vertex data stored in the polygon vertex memory 1 as shown in equation (1) using the 4 rows and 4 columns matrix hIJ stored in the transformation matrix storage memory 2.

但し、X、Y、Zは変換前の座標値、X’、Y’。However, X, Y, and Z are coordinate values before conversion, X', Y'.

Z′は変換後の座標値である。座標変換回路3の出力を
クリッピング回路4でクリッピングすることにより正規
デバイス空間内の表示データを得る。
Z' is the coordinate value after transformation. By clipping the output of the coordinate conversion circuit 3 with a clipping circuit 4, display data in the regular device space is obtained.

次に、表示された多角形のうちの1つを選択するピッキ
ング処理時にはカーソル周辺に定義する微小な特定領域
でクリップされる多角形を求めることになる。第4図に
ピッキングの様子を示す。ディスプレイ画面上では多角
形1.2.3が重なって表示されているが、第4図に示
すカーソル位置では多角形1がカーソル周辺の特定領域
でクリップされるため多角形1を選択する必要がある。
Next, during picking processing to select one of the displayed polygons, a polygon that is clipped by a minute specific area defined around the cursor is determined. Figure 4 shows the picking process. Polygons 1, 2, and 3 are displayed overlapping each other on the display screen, but at the cursor position shown in Figure 4, polygon 1 is clipped in a specific area around the cursor, so it is necessary to select polygon 1. be.

これを実現するためカーソル周辺の特定領域を正規デバ
イス空間へ変換する座標変換を更に行い、正規デバイス
空間でクリップされる多角形を選択することになる。こ
こで必要な座標変換はカーソル位置を原点に変換する変
換マトリクス と、特定領域を正規デバイス空間へ拡大する変換マトリ
クス との績を求めればよい。従って座標変換は(4)式に示
すように実行すればよい。
To achieve this, a coordinate transformation is further performed to convert the specific area around the cursor into the normal device space, and a polygon to be clipped in the normal device space is selected. The necessary coordinate transformation here can be accomplished by calculating the result of a transformation matrix that transforms the cursor position to the origin and a transformation matrix that expands the specific area into the regular device space. Therefore, coordinate transformation may be performed as shown in equation (4).

第3図に示す構成ではピンキング処理要求が発生すると
変換マトリクス生成部11は、カーソル座標レジスタ8
と特定領域レジスタ9の内容から(4)式に相当する変
換マトリクスを生成する。(4)式のマトリクス演算が
座標変換回路3で実行され、クリッピング回路4でクリ
ッピングされる。このときクリッピング回路4はクリッ
プされた多角形について、それを識別するクリッピング
識別信号を出力する。従って、クリッピング識別信号を
観測することにより所望の多角形を選択することができ
る。
In the configuration shown in FIG. 3, when a pinking process request occurs, the conversion matrix generation unit 11 generates a cursor coordinate register 8.
A conversion matrix corresponding to equation (4) is generated from the contents of the specific area register 9. The matrix calculation of equation (4) is executed by the coordinate conversion circuit 3, and clipped by the clipping circuit 4. At this time, the clipping circuit 4 outputs a clipping identification signal for identifying the clipped polygon. Therefore, a desired polygon can be selected by observing the clipping identification signal.

発明が解決しようとする問題点 しかしながらこのような構成では、第4図に示す位置に
微小な特定領域を設定しないと多角形1が選択できない
が、同−X、Y座標上に多数の多角形が存在することが
あるため、特定領域の太きさはあまり大きくできない。
Problems to be Solved by the Invention However, with such a configuration, polygon 1 cannot be selected unless a minute specific area is set at the position shown in FIG. Therefore, the thickness of the specific area cannot be made too large.

そのため、使用者が所望する多角形を選択するにはカー
ソルの3次元位置を微妙に調整する必要があり、ピッキ
ングの使い勝手が悪いという問題点を有していた。
Therefore, in order for the user to select a desired polygon, it is necessary to delicately adjust the three-dimensional position of the cursor, resulting in a problem that picking is not easy to use.

本発明は前記問題点に鑑み、カーソルをディスプレイ画
面の2次元空間上でのみ移動させることにより使用者の
使い勝手を向上させ、あわせてディスプレイ画面で一番
手前に表示される多角形を自動的に高速に選択すること
ができるピッキング処理装置を提供することを目的とす
る。
In view of the above-mentioned problems, the present invention improves the usability of the user by moving the cursor only in the two-dimensional space of the display screen, and also automatically moves the polygon that is displayed in the foreground on the display screen. It is an object of the present invention to provide a picking processing device that can perform selection at high speed.

問題点を解決するだめの手段 本発明は、4行4列マトリクスのマトリクス演算を行う
座標変換回路と、3次元正規デバイス空間で多角形をク
リッピングするクリッピング回路と、クリッピング回路
から出力されるクリッピング識別信号を用いて、カーソ
ル周辺に定義する特定領域の奥行きを更新する特定領域
奥行き出力部と、カーソル座標と特定領域の大きさから
特定領域を正規デバイス空間に変換する4行4列マトリ
クスを生成する変換マトリクス生成部とを具備するピッ
キング処理装置である。
Means for Solving the Problems The present invention provides a coordinate conversion circuit that performs matrix operations of a 4-by-4 matrix, a clipping circuit that clips polygons in a three-dimensional regular device space, and a clipping identification output from the clipping circuit. A specific area depth output unit that uses signals to update the depth of a specific area defined around the cursor, and a 4-by-4 matrix that converts the specific area into normal device space from the cursor coordinates and the size of the specific area. The picking processing device includes a conversion matrix generation section.

作用 本発明はこのような構成により、ディスプレイ画面の2
次元空間上を移動するカーソルの周辺に特定領域を定義
し、その特定領域を正規デバイス空間に変換する変換マ
トリクスを変換マトリクス生成部が出力する。これを用
いて座標変換回路がマトリクス演算をし、クリッピング
回路でクリッピングする。このときクリッピング識別信
号を特定領域奥行き出力部が観測し、クリップされる多
角形が1ケになるまで特定領域の奥行きを制御すること
により、カーソルの移動をディスプレイ画面上に限定し
たままで、表示されている一番手前の多角形を自動的に
選択できる。しかも、特定領域の奥行きは2分探索法に
より制御するため高速な選択が可能となる。
Function The present invention has such a configuration, so that two parts of the display screen can be
A conversion matrix generation unit defines a specific area around a cursor that moves on a dimensional space, and outputs a conversion matrix for converting the specific area into a regular device space. Using this, a coordinate transformation circuit performs matrix calculations, and a clipping circuit performs clipping. At this time, the clipping identification signal is observed by the specific area depth output unit, and the depth of the specific area is controlled until only one polygon is clipped. The closest polygon in the list can be automatically selected. Moreover, since the depth of the specific area is controlled by the binary search method, high-speed selection is possible.

実施例 第1図は本発明の一実施例におけるピッキング処理装置
の構成図である。第1図において、1は多角形頂点メモ
リ、2は変換マトリクス格納メモリ、3は座標変換回路
、4はクリッピング回路、5はXクリッピング回路、6
はYクリッピング回路、7はZクリッピング回路、9は
特定領域レジスタ、10は視点座標レジスタで、以上は
第3図に示すのと同一構成である。12はカーソルの表
示位置を格納するカーソル座標レジスタであるが、第3
図の構成とは違って、X座標値(Xc)とY座標値(Y
c)を格納する2ケのレジスタ12−1゜12−2で構
成される。13は特定領域奥行き出力部で、奥行き変動
範囲の最小値(ΔZmin)を格納する奥行き最小レジ
スタ13−1、奥行き変動範囲の最大値(ΔZmax 
)を格納する奥行き最大レジスタ13−2、ΔZ wi
nとΔz wax o平均値を演算する平均値演算回路
13−3、奥行き最小レジスタ13−1への入力バッフ
ァ13−4、奥行き最大レジスタ13−2への入力バッ
ファ13−6、特定領域奥行き出力部13全体の制御を
行う奥行き制御部13−6で構成される。14はカーソ
ル座標レジスタ12と特定領域レジスタ9と視点座標レ
ジスタ1oから4行4列の座標変換マトリクスを生成す
る変換マトリクス生成部である。
Embodiment FIG. 1 is a block diagram of a picking processing apparatus in an embodiment of the present invention. In FIG. 1, 1 is a polygon vertex memory, 2 is a transformation matrix storage memory, 3 is a coordinate transformation circuit, 4 is a clipping circuit, 5 is an X clipping circuit, 6
7 is a Y clipping circuit, 7 is a Z clipping circuit, 9 is a specific area register, and 10 is a viewpoint coordinate register, which have the same configuration as shown in FIG. 3. 12 is a cursor coordinate register that stores the display position of the cursor;
Unlike the configuration in the figure, the X coordinate value (Xc) and Y coordinate value (Y
It consists of two registers 12-1 and 12-2 that store c). Reference numeral 13 denotes a specific area depth output unit, which includes a minimum depth register 13-1 for storing the minimum value of the depth variation range (ΔZmin), a minimum depth register 13-1 for storing the minimum value of the depth variation range (ΔZmax);
), the maximum depth register 13-2 stores ΔZ wi
Average value calculation circuit 13-3 that calculates the average value of n and Δz wax o, input buffer 13-4 to the minimum depth register 13-1, input buffer 13-6 to the maximum depth register 13-2, specific area depth output The depth control section 13-6 controls the entire section 13. 14 is a transformation matrix generation unit that generates a coordinate transformation matrix of 4 rows and 4 columns from the cursor coordinate register 12, the specific area register 9, and the viewpoint coordinate register 1o.

本実施例の動作を以下に説明する。表示された多角形の
うちの一つを選択するピッキングの様子を第6図に示す
。ディスプレイ画面上では多角形1.2.3が重なって
表示されているが、第5図に示すカーソル位置では、カ
ーソルの後方にある多角形のうち一番手前の多角形1を
選択する必要がある。これを実現する泥めカーソル周辺
に横幅ΔX、高さΔyの微小な領域を考え、奥行きΔ2
を持つ特定領域でクリップされる多角形を選択する。こ
こで必要な座標変換は(4)式と同一形式となるが、カ
ーソルの移動をディスプレイ画面上(Zc=O)に限定
しているので(5)式のようになる。
The operation of this embodiment will be explained below. FIG. 6 shows the picking process for selecting one of the displayed polygons. Polygons 1, 2, and 3 are displayed overlapping each other on the display screen, but at the cursor position shown in Figure 5, it is necessary to select polygon 1, which is the closest polygon behind the cursor. be. To achieve this, consider a small area around the mud cursor with width ΔX and height Δy, and depth Δ2.
Select polygons that are clipped at a specific area with . The coordinate transformation required here has the same format as equation (4), but since the movement of the cursor is limited to the area on the display screen (Zc=O), it becomes equation (5).

第1図に示す構成ではピッキング処理要求が発生すると
変換マトリクス生成部14は、カーソル座標レジスタ1
2と特定領域レジスタ9の内容から(5)式に相当する
変換マトリクスを生成する。(5)式のマトリクス演算
が座標変換回路3で実行され、クリッピング回路4でク
リッピングされる。このときクリッピング回路4はクリ
ップされた多角形について、それを識別するりIJ ソ
ビング識別信号を出力する。クリッピング識別信号は特
定領域奥行き出力部13へ入力され、新たな奥行きを特
定領域奥行きレジスタ9−3へ設定して、再び(6)式
に相当する4行4列マトリクスを変換マトリクス生成部
14が生成する。以上の一連の動作を、クリップされる
多角形が1ケになるまで特定領域奥行き出力部13が繰
返し制御する。
In the configuration shown in FIG. 1, when a picking process request occurs, the conversion matrix generation unit 14 generates a cursor coordinate register 1.
2 and the contents of the specific area register 9, a conversion matrix corresponding to equation (5) is generated. The matrix calculation of equation (5) is executed by the coordinate conversion circuit 3, and clipped by the clipping circuit 4. At this time, the clipping circuit 4 identifies the clipped polygon and outputs an IJ sobbing identification signal. The clipping identification signal is input to the specific area depth output unit 13, a new depth is set in the specific area depth register 9-3, and the conversion matrix generation unit 14 again converts the 4 rows and 4 columns matrix corresponding to equation (6). generate. The above series of operations are repeatedly controlled by the specific area depth output unit 13 until the number of polygons to be clipped is one.

次に、特定領域奥行き出力部13の動作を詳しく説明す
る。ピッキング処理要求が発生すると奥行き制御部13
−6は奥行き最小レジスタ13−1には「o」を、奥行
き最大レジスタ13−2には「1」を設定するように、
2ケの入カバソファ13−4 、13−5を制御する。
Next, the operation of the specific area depth output section 13 will be explained in detail. When a picking processing request occurs, the depth control unit 13
-6, set "o" in the minimum depth register 13-1 and "1" in the maximum depth register 13-2.
Controls two input cover sofas 13-4 and 13-5.

平均値演算回路13−3からは入力値には無関係に「1
」を出力するように制御し、特定領域奥行きレジスタ9
−3へ「1」を設定して変換マトリクス生成部14に演
算開始信号を送出する。一画面すべての多角形について
奥行き「1」の特定領域でクリッピングしたとき、クリ
ップされる多角形がない場合、1ケだけある場合、2ケ
以上ある場合の3通りが存在する。それぞれの場合につ
いてカーソル位置のY座標できまる平面Y=Ycの断面
でできるX−Z平面図を第6図に示す。第6図では多角
形はY=Ycとの交線で、特定領域は横幅ΔX、奥行き
Δ2の斜線部長方形で示す。奥行きが「1」のときにク
リップされる多角形がない場合(第6図a)には選択さ
れる多角形がなく、クリップされる多角形が1ケだけあ
る場合(第6図b)にはりIJ ツブされた多角形が選
択すべき多角形で、どちらの場合も1回の処理でピッキ
ング処理は終了する。クリップされる多角形が2ケ以上
ある場合(第6図C)には、特定領域奥行きレジスタ9
−3の内容を奥行き最大レジスタ13−2へ格納し、平
均値演算回路13−3を起動し奥行き最小レジスタ13
−1と奥行き最大レジスタ13−2の内容の平均値を演
算して特定領域奥行きレジスタ9−3の内容を更新する
。クリップされる多角形が1ケになるまで以上の制御を
繰返すが、途中クリップされる多角形がなくなる場合が
発生する。そのときには特定領域奥行きレジスタ9−3
の内容を奥行き最小レジスタ13−1へ格納し、以後の
制御を行う。この奥行き制御の様子を第6図C−1〜Q
 −4に示す。
The average value calculation circuit 13-3 outputs “1” regardless of the input value.
” is output, and the specified area depth register 9
-3 is set to "1" and a computation start signal is sent to the conversion matrix generation section 14. When all polygons on one screen are clipped in a specific area with a depth of "1", there are three cases: when there is no polygon to be clipped, when there is only one polygon, and when there are two or more polygons. FIG. 6 shows an X-Z plan view formed by a cross section of the plane Y=Yc defined by the Y coordinate of the cursor position in each case. In FIG. 6, the polygon is a line of intersection with Y=Yc, and the specific area is indicated by a diagonally shaded rectangle with a width ΔX and a depth Δ2. When the depth is "1" and there is no polygon to be clipped (Figure 6a), there is no polygon to be selected, and when there is only one polygon to be clipped (Figure 6b) Beam IJ The polygon that has been removed is the polygon to be selected, and in either case, the picking process is completed in one process. If there are two or more polygons to be clipped (FIG. 6C), the specific area depth register 9
-3 is stored in the maximum depth register 13-2, the average value calculation circuit 13-3 is activated, and the minimum depth register 13-3 is activated.
-1 and the average value of the contents of the maximum depth register 13-2 are calculated to update the contents of the specific area depth register 9-3. The above control is repeated until there is only one polygon to be clipped, but there may be cases where there is no more polygon to be clipped. In that case, the specific area depth register 9-3
The contents of are stored in the minimum depth register 13-1, and subsequent control is performed. This depth control is shown in Figure 6 C-1 to Q.
-4.

以上のように、本実施例によればクリッピング回路4か
ら出力されるクリッピング識別信号を奥行き制御部13
−6が判断し、奥行き最小レジスタ13−1と奥行き最
大レジスタ13−2を更新し、平均値演算回路13−3
の出力により特定領域奥行きレジスタ9−3を更新する
。従って、ディスプレイ画面上を移動するカーソルの後
方に定義する特定領域の奥行きを2分探索法で自動的に
制御し、一番手前に表示される多角形1ケのみを選択す
ることができる。
As described above, according to this embodiment, the clipping identification signal output from the clipping circuit 4 is transmitted to the depth controller 13.
-6 makes a judgment, updates the minimum depth register 13-1 and the maximum depth register 13-2, and average value calculation circuit 13-3
The specific area depth register 9-3 is updated by the output. Therefore, the depth of a specific area defined behind the cursor moving on the display screen can be automatically controlled using the binary search method, and only the one polygon displayed in the foreground can be selected.

発明の効果 以上説明したように、本発明によればカーソルをディス
プレイ画面上で移動させて一番手前に表示されている多
角形を選択でき、使用者の使い勝手のよいピッキング処
理装置を実現できる。さらに、カーソル後方に定義する
特定領域の奥行きを2分探索法で制御するため高速な選
択が可能となる。3次元グラフィックス表示装置を用い
た対話型システムに対する要求がますます大きくなって
きた今日、使い勝手がよく、高速な3次元図形選択が可
能となる本発明のピッキング処理装置は、その実用的効
果が大きい。
Effects of the Invention As described above, according to the present invention, it is possible to move the cursor on the display screen and select the polygon displayed in the foreground, thereby realizing a picking processing device that is easy for the user to use. Furthermore, since the depth of a specific area defined behind the cursor is controlled using a binary search method, high-speed selection is possible. Nowadays, there is an increasing demand for interactive systems using 3D graphics display devices, and the picking processing device of the present invention, which is easy to use and enables high-speed 3D figure selection, has a practical effect. big.

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

第1図は本発明の一実施例におけるピッキング処理装置
の構成図、第2図は2次元グラフィックス表示装置のピ
ッキングの説明図、第3図は従来のピッキング処理装置
の構成図、第4図は従来のピッキング処理装置でのピッ
キングの説明図、第5図は本発明の一実施例におけるピ
ッキング処理装置でのピッキングの説明図、第6図は特
定領域出力部による奥行き制御の説明図である。 1・・・・・・多角形頂点メモリ、2・・・・・・変換
マトリクス格納メモリ、3・・・・・・座標変換回路、
4・・・・・・クリッピング回路、9−1・・・・・・
特定領域横幅レジスタ、9−2・・・・・・特定領域高
さレジスタ、9−3・・・・・・特定領域奥行きレジス
タ、12・・・・・・カーソル座標レジスタ、13・・
・・・・特定領域奥行き出力部、13−1・・・・・・
奥行き最小レジスタ、13−2・・・・・・奥行き最大
レジスタ、13−3・・・・・・平均値演算回路、13
−6・・・・・・奥行き制御部、14・・・・・・変換
マ) IJクス生成部。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
図 第2図 第3図 第4図 第5図 ガ勺し面画(と−0) 第6図 (撫絢−X秩鉤−Z)
FIG. 1 is a block diagram of a picking processing device according to an embodiment of the present invention, FIG. 2 is an explanatory diagram of picking in a two-dimensional graphics display device, FIG. 3 is a block diagram of a conventional picking processing device, and FIG. 4 5 is an explanatory diagram of picking in a conventional picking processing device, FIG. 5 is an explanatory diagram of picking in a picking processing device according to an embodiment of the present invention, and FIG. 6 is an explanatory diagram of depth control by a specific area output unit. . 1... Polygon vertex memory, 2... Transformation matrix storage memory, 3... Coordinate transformation circuit,
4... Clipping circuit, 9-1...
Specific area width register, 9-2... Specific area height register, 9-3... Specific area depth register, 12... Cursor coordinate register, 13...
...Specific area depth output section, 13-1...
Minimum depth register, 13-2...Maximum depth register, 13-3...Average value calculation circuit, 13
-6...Depth control section, 14...Conversion mask) IJ space generation section. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
Fig. 2 Fig. 3 Fig. 4 Fig. 5 Gakoshishimenga (and -0) Fig. 6 (Fushen-X Chichibari-Z)

Claims (2)

【特許請求の範囲】[Claims] (1)3次元ワールド座標系で定義された多角形の各頂
点座標データを格納する多角形頂点メモリと、3次元ワ
ールド座標系から3次元正規デバイス座標系へ変換する
4行4列マトリクスを格納する変換マトリクス格納メモ
リと、前記多角形頂点メモリの内容と前記変換マトリク
ス格納メモリの内容とから座標変換のためのマトリクス
演算を行う座標変換回路と、前記座標変換回路から出力
される3次元正規デバイス座標系で定義される多角形を
正規デバイス空間でクリッピングし、新たな頂点が発生
した多角形についてクリッピング識別信号を出力するク
リッピング回路と、ディスプレイ画面上を移動するカー
ソルの表示位置を格納するカーソル座標レジスタと、カ
ーソル周辺に定義する特定領域の横幅を格納する特定領
域横幅レジスタと、前記特定領域の高さを格納する特定
領域高さレジスタと、前記特定領域の奥行きを格納する
特定領域奥行きレジスタと、前記クリッピング回路から
出力されるクリッピング識別信号を用いて前記特定領域
奥行きレジスタの値を更新する特定領域奥行き出力部と
、前記カーソル座標レジスタの内容と前記特定領域横幅
レジスタの内容と前記特定領域高さレジスタの内容と前
記特定領域奥行きレジスタの内容とから前記特定領域を
正規デバイス空間に変換する4行4列マトリクスを生成
し前記変換マトリクス格納メモリへ格納する変換マトリ
クス生成部とを具備することを特徴とするピッキング処
理装置。
(1) A polygon vertex memory that stores the coordinate data of each vertex of a polygon defined in the 3D world coordinate system, and a 4-by-4 matrix that converts from the 3D world coordinate system to the 3D regular device coordinate system. a coordinate transformation circuit that performs a matrix operation for coordinate transformation from the contents of the polygon vertex memory and the contents of the transformation matrix storage memory; and a three-dimensional regular device output from the coordinate transformation circuit. A clipping circuit that clips a polygon defined by a coordinate system in regular device space and outputs a clipping identification signal for the polygon with new vertices, and a cursor coordinate that stores the display position of a cursor that moves on the display screen. a specific area width register that stores the width of a specific area defined around the cursor, a specific area height register that stores the height of the specific area, and a specific area depth register that stores the depth of the specific area. , a specific area depth output unit that updates the value of the specific area depth register using the clipping identification signal output from the clipping circuit; and the content of the cursor coordinate register, the content of the specific area width register, and the specific area height. and a conversion matrix generation unit that generates a 4-by-4 matrix for converting the specific area into a regular device space from the contents of the depth register and the specific area depth register, and stores the matrix in the conversion matrix storage memory. Features of picking processing equipment.
(2)特定領域奥行き出力部は、奥行き変動範囲の最小
値を格納する奥行き最小レジスタと、奥行き変動範囲の
最大値を格納する奥行き最大レジスタと、前記奥行き最
小レジスタの値と前記奥行き最大レジスタの値との平均
値を演算し前記特定領域奥行きレジスタへ格納する平均
値演算回路と、前記クリッピング回路から出力されるク
リッピング識別信号から2ケ以上の多角形が前記特定領
域で新たな頂点を発生した場合には前記奥行き最大レジ
スタへ前記特定領域奥行きレジスタの内容を格納し、前
記特定領域で新たな頂点を発生する多角形がない場合に
は前記奥行き最小レジスタへ前記特定領域奥行きレジス
タの内容を格納して、それぞれ新たに特定領域奥行きを
更新し、前記特定領域で新たな頂点を発生する多角形が
1ケになるまで前記特定領域奥行きレジスタの内容を更
新する奥行き制御部とを具備する特許請求の範囲第1項
記載のピッキング処理装置。
(2) The specific area depth output unit includes a minimum depth register that stores the minimum value of the depth variation range, a maximum depth register that stores the maximum value of the depth variation range, and a value of the minimum depth register and the maximum depth register. An average value calculation circuit that calculates an average value and stores it in the specific area depth register, and a clipping identification signal output from the clipping circuit indicate that two or more polygons have generated new vertices in the specific area. If there is no polygon that generates a new vertex in the specific area, the contents of the specific area depth register are stored in the minimum depth register. and a depth control unit that updates the depth of the specific area, respectively, and updates the contents of the specific area depth register until the number of polygons that generate new vertices in the specific area is one. The picking processing device according to item 1.
JP62033065A 1987-02-16 1987-02-16 Picking processor Pending JPS63200276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62033065A JPS63200276A (en) 1987-02-16 1987-02-16 Picking processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62033065A JPS63200276A (en) 1987-02-16 1987-02-16 Picking processor

Publications (1)

Publication Number Publication Date
JPS63200276A true JPS63200276A (en) 1988-08-18

Family

ID=12376333

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62033065A Pending JPS63200276A (en) 1987-02-16 1987-02-16 Picking processor

Country Status (1)

Country Link
JP (1) JPS63200276A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02150968A (en) * 1988-12-02 1990-06-11 Hitachi Ltd Three-dimensional cursor controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02150968A (en) * 1988-12-02 1990-06-11 Hitachi Ltd Three-dimensional cursor controller

Similar Documents

Publication Publication Date Title
JP3240157B2 (en) Method of operating a system for generating a control perception of movement of an object in a three-dimensional working area
US6141015A (en) Method and apparatus for determining collision between virtual objects in a virtual space
JPS6297012A (en) Robot teaching device
JP2006503365A (en) Method and system for generating a pseudo 3D display using a 2D display device
GB2226219A (en) Method for three-dimensional clip checking for computer graphics
US5917494A (en) Two-dimensional image generator of a moving object and a stationary object
JPH02173878A (en) Display device for three-dimensional section
JPH08249502A (en) Method and apparatus for improved graphics picking using auxiliary buffer information
JPH06222899A (en) Multiwindow display system
JPS63200276A (en) Picking processor
JP2892360B2 (en) 3D cursor control device
JP3337608B2 (en) Analysis simulation device
JPH11144063A (en) Image generating device and information storage medium
JP2001266175A (en) Device/method for processing three-dimensional model and program providing method
JPH05101150A (en) Analytic result data display system
JP2568217B2 (en) Character processor
JPH07141522A (en) Artificial visual field image generating device
JP3931691B2 (en) Image generating apparatus and program
JP3691105B2 (en) 3D image processing system
JPS63244271A (en) Picking processor
JP2786098B2 (en) Figure enlargement editing method
JPH0580017B2 (en)
JPH0734234B2 (en) Figure instruction method
JPH0580832A (en) Magnification plotting method in numerical controller
JPH0944697A (en) Graphic plotting device