JPS63167977A - Three-dimensional shape picking method - Google Patents

Three-dimensional shape picking method

Info

Publication number
JPS63167977A
JPS63167977A JP61313131A JP31313186A JPS63167977A JP S63167977 A JPS63167977 A JP S63167977A JP 61313131 A JP61313131 A JP 61313131A JP 31313186 A JP31313186 A JP 31313186A JP S63167977 A JPS63167977 A JP S63167977A
Authority
JP
Japan
Prior art keywords
pick
coordinate values
segment
polygon
dimensional shape
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
JP61313131A
Other languages
Japanese (ja)
Inventor
Emi Shiio
椎尾 恵美
Akio Yajima
矢島 章夫
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.)
Hitachi ULSI Engineering Corp
Hitachi Ltd
Original Assignee
Hitachi ULSI Engineering Corp
Hitachi 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 Hitachi ULSI Engineering Corp, Hitachi Ltd filed Critical Hitachi ULSI Engineering Corp
Priority to JP61313131A priority Critical patent/JPS63167977A/en
Publication of JPS63167977A publication Critical patent/JPS63167977A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To specify part of a three-dimensional shape by obtaining a Z coordinate from picked X and Y coordinates and then searching for a segment where a polygon which contains the pick point belongs by a specific method, and thus selecting the picked segment. CONSTITUTION:The three-dimensional coordinate values of the pick point are obtained from a Z coordinate value left in an area of a Z buffer 103 corresponding to X and Y coordinate values at the time of display processing by implicit- surface elimination based upon the X and Y coordinate of the picking on a screen. Then, sign bits obtained by subtracting the X-Z coordinate values of the pick point from the X-Z coordinate values of the vertexes of respective polygons in a primitive set and sign bits obtained by subtracting the coordinate values of the vertexes from the pick point coordinate values are stored in specific bits of flags consisting of 6-bit areas, and the flags as to all vertexes of the individual polygons are ANDed. Then a pane system for a plane containing a polygon whose AND result is zero is found to check whether the pick point is contained or not in detail.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、隠面消去されグラフィックディスプレイ上に
表示された3次元形状の編集方法に係り、特に、3次元
形状の一部分をディスプレイ上で対話的に選択するのに
好適な3次元形状ピック方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for editing a three-dimensional shape displayed on a graphic display after hidden surfaces have been removed. This invention relates to a three-dimensional shape picking method suitable for selecting three-dimensional shapes.

〔従来の技術〕[Conventional technology]

従来、2次元形状のピック処理については、コンピュー
タグラフィックX (FOLEY VANDAM著、今
宮淳美訳1日本コンピュータ協会出版)第5章5゜3節
第209頁に記載されているように、ピックされた画面
上のX、Y座標が、セグメントを囲む垂直矩形であるス
クリーン範囲に含まれるか否かによってピックされたセ
グメントを選択している。
Conventionally, pick processing of two-dimensional shapes has been carried out using the picked screen as described in Computer Graphics The picked segment is selected depending on whether the upper X and Y coordinates are included in the screen range, which is a vertical rectangle surrounding the segment.

また、ピック点が複数のセグメントに含まれていた場合
、ピック点とセグメント中のプリミティブ間の距離を比
較し、ピック点に最も近いプリミティブを含むセグメン
トをピックされたセグメントとして選択していた。
Furthermore, when a pick point is included in multiple segments, the distance between the pick point and a primitive in the segment is compared, and the segment that includes the primitive closest to the pick point is selected as the picked segment.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術は、2次元形状のピックを対象としており
、ピック点の情報として画面上のX、Y座標しか考慮さ
れていない、このため、従来技術を3次元形状のピック
に利用した場合、画面奥行き方向に重なる複数のセグメ
ントのうち、どのセグメントを選択すればよいのか不明
であるといった問題が生じる。また、ピック点とプリミ
ティブ間の距離を求める計算も、3次元に適用した場合
、ポリゴンの平面方程式を求める必要があり、計算量が
多いという問題があった。
The above conventional technology is aimed at picking two-dimensional shapes, and only the X and Y coordinates on the screen are taken into account as pick point information. Therefore, when the conventional technology is used for picking three-dimensional shapes, the screen A problem arises in that it is unclear which segment to select from a plurality of segments that overlap in the depth direction. Furthermore, when the calculation for determining the distance between a pick point and a primitive is applied to a three-dimensional system, it is necessary to determine a plane equation for a polygon, which poses a problem in that the amount of calculation is large.

本発明の目的は、端末画面上の一点をピックすることに
よって、画面上に表示された3次元形状の一部分を指定
することを可能にすることである。
An object of the present invention is to make it possible to specify a portion of a three-dimensional shape displayed on the screen by picking a point on the terminal screen.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、3次元形状の一部分がピックされた場合、
画面奥行方向で最も手順のセグメント上の一点がピック
されたとみなし、ピックされた画面上のX、Y座標をも
とにZバッファー内からピック点のz座標を得た後、こ
のピック点を含むポリゴンの属するセグメントを、セグ
メントバッファー中からコーヘン・サザランドのクリッ
ピング技法を応用した手法でサーチして、ピックされた
セグメントとして選択することによって可能となる。
The above purpose is that when a part of the 3D shape is picked,
It is assumed that one point on the most proximal segment in the screen depth direction has been picked, and after obtaining the z coordinate of the pick point from within the Z buffer based on the picked X and Y coordinates on the screen, this pick point is included. This is possible by searching the segment buffer for the segment to which the polygon belongs using a method applying the Cohen-Sutherland clipping technique and selecting it as the picked segment.

〔作用〕[Effect]

Zバッファー中には現在画面上に表示されているセグメ
ント上の各点のZ座標が格納されている。
The Z-coordinate of each point on the segment currently displayed on the screen is stored in the Z-buffer.

このため、ピックされたX、Y座標に対応するZバッフ
ァ中のZ座標を利用することによって、ピック点のX、
Y、Z座標値を得ることができる。
Therefore, by using the Z coordinate in the Z buffer that corresponds to the picked X, Y coordinate,
Y and Z coordinate values can be obtained.

また、コーヘン・サザランドのクリッピング技法を3次
元に応用した3次元領域のクリッピング方法において、
3次元領域の最小、!&大座標の双方をピック点の座標
でおきかえることにより、ポリゴンの全頂点がピック点
の上側、下側、右側。
In addition, in a 3D area clipping method that applies Cohen-Sutherland's clipping technique to 3D,
Minimum of 3D area,! By replacing both &major coordinates with the coordinates of the pick point, all vertices of the polygon are above, below, and to the right of the pick point.

左側又は後側に存在するものを、明らかにピック点を含
まないポリゴンとして除くことができる。
Those existing on the left side or the rear side can be removed as polygons that clearly do not include pick points.

このため、比較的少ない計算量でピックされたセグメン
トを選択することが可能となる。
Therefore, it is possible to select a picked segment with a relatively small amount of calculation.

〔実施例〕〔Example〕

以下、本発明の一実施例を図に示って説明する。 Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は、本発明を3次元グラフィックCADシステム
に応用した一例のブロック図である。第2図は、第1図
中の101のピック処理部で行なわれる処理内容を示す
PADである。第1図において101はピック操作に伴
う処理を行なうピック処理部。102は、ピック操作の
入力機器となるピックデバイスである。103は、隠面
消去を施した表示処理において用いられるZバッファー
であり、現在表示中の画面上の各点について、最も手順
に存在する表示物の2座標値が格納されている。104
は、表示されている3次元形状の形状データがセグメン
ト単位で格納されているセグメントバッファーである。
FIG. 1 is a block diagram of an example in which the present invention is applied to a three-dimensional graphic CAD system. FIG. 2 is a PAD showing the processing contents performed in the pick processing section 101 in FIG. In FIG. 1, reference numeral 101 denotes a pick processing unit that performs processing associated with pick operations. A pick device 102 serves as an input device for a pick operation. Reference numeral 103 denotes a Z buffer used in display processing that performs hidden surface removal, and stores the two coordinate values of the display object that is most present in the procedure for each point on the currently displayed screen. 104
is a segment buffer in which shape data of the displayed three-dimensional shape is stored in units of segments.

105は、セグメントバッファー中のデータに、座標変
換、クリッピング。
105 performs coordinate transformation and clipping on data in the segment buffer.

隠面消去、隠線消去及び輝度計算の処理を施して端末両
面上に3次元形状を表示する表示処理部である。106
は、アプリケーションプログラムを実行し、CAr)シ
ステム全体の動作を制御する中央処理装置である。
This is a display processing unit that performs hidden surface removal, hidden line removal, and brightness calculation processing to display a three-dimensional shape on both sides of the terminal. 106
is a central processing unit that executes application programs and controls the operation of the entire CAr system.

次に第2図のPADに従い、101のピック処理部の動
作について説明する。まず、ピック処理部では、ピック
デバイスを用いてユーザが入力したピック点のX、Y座
4!?I (Xp 、 Yp )を受は取って処理を開
始する。次に、Zバッファー内の座5(Xp 、Yp 
)に対応するエリアからピック点のZ座標値ZPを取り
出し、ピック点の3次元座標(Xp p Yp e Z
p )を決定する。第3図にピック点及びZバッファー
の関係を示す1次に、ピックされたセグメントの識別番
号を示すピックセグメント番号を初期化する。ピック処
理の終了時に、ピックセグメント番号が初期値のままで
あれば、ピックに失敗したものとみなす。このため。
Next, the operation of the pick processing section 101 will be explained according to the PAD shown in FIG. First, in the pick processing section, the pick point X, Y position 4! inputted by the user using the pick device! ? The receiver receives I (Xp, Yp) and starts processing. Next, locus 5 (Xp, Yp
), extract the Z coordinate value ZP of the pick point from the area corresponding to
p) is determined. FIG. 3 shows the relationship between pick points and Z buffers. First, a pick segment number indicating the identification number of the picked segment is initialized. If the pick segment number remains at the initial value at the end of the pick process, it is assumed that the pick has failed. For this reason.

ピックセグメント番号の初期値としては、セグメント識
別番号として存在しえないものを選ぶ必要がある。次に
、セグメントバッファー中の表示属性がオンとなってい
る全セグメントについて、以下の処理を繰り返す。まず
、セグメントデータを読み出し、セグメントに属する各
ポリゴンの頂点座標を得る。次に、表示処理部に含まれ
る機能を利用し、セグメントデータに対して座標変換処
理及びクリッピング処理を施す。そして、クリッピング
の結果、表示される各ポリゴンについて以下の処理を行
う。まず、6ビットからなるチェックフラグの全ビット
を1にセットする。次に、ポリゴンの各頂点(座標値を
(XV 、 Yv 、 Zv )とする)について、Y
p −Yv 、 Yv −Yp 、 Xp−Xv 、 
Xv −Xp e Zp −Zv 、 Zv−Zpの減
算を計算し、減算結果の符号ビットと、チェックフラグ
の所定のビットの論理積を計算し、結果をチェックフラ
グに格納する。第4図に、以上の処理のモデル図を示す
。また、第5図に、Xp。
As the initial value of the pick segment number, it is necessary to select a number that cannot exist as a segment identification number. Next, the following process is repeated for all segments whose display attributes are turned on in the segment buffer. First, the segment data is read and the vertex coordinates of each polygon belonging to the segment are obtained. Next, using the functions included in the display processing section, coordinate transformation processing and clipping processing are performed on the segment data. Then, the following processing is performed for each polygon displayed as a result of clipping. First, all bits of a check flag consisting of 6 bits are set to 1. Next, for each vertex of the polygon (coordinate values are (XV, Yv, Zv)), Y
p-Yv, Yv-Yp, Xp-Xv,
Calculate the subtraction of Xv - Xp e Zp - Zv , Zv - Zp, calculate the AND of the sign bit of the subtraction result and a predetermined bit of the check flag, and store the result in the check flag. FIG. 4 shows a model diagram of the above processing. Also, in FIG. 5, Xp.

Yp 、ZpとXv 、Yv 、Zvの大小関係によっ
て分割される9つの領域と各領域における減算結果の符
号ビットを示す。第4図から明らかなように、たとえば
ポリゴンの全頂点がピック点の上側にある場合、全頂点
座標についてYp<Yvの関係が一貫して成立するため
、上記チェックフラグの第1ビットは1となる。また、
ポリゴンの頂点が、例えばピック点の上側と下側の双方
に存在する場合は、上記チェックフラグの全ビットはゼ
ロとなる。従って、チェックフラグのうち少なくとも1
ビットが非ゼロであるようなポリゴンは、全頂点がピッ
ク点の上側、下側、右側、左側、前側又は後側のいずれ
かに属するため、明らかにピック点を含まないポリゴン
として、これ以後の検査の対象から除外できる。これは
、コーヘン・サザランドのクリッピング技法を応用した
3次元領域クリッピング方法において、3次元領域の最
小。
9 shows nine regions divided according to the magnitude relationship between Yp, Zp and Xv, Yv, and Zv, and the sign bit of the subtraction result in each region. As is clear from FIG. 4, for example, if all vertices of a polygon are above the pick point, the relationship Yp < Yv is consistently held for all vertex coordinates, so the first bit of the check flag is set to 1. Become. Also,
If the vertices of the polygon exist, for example, both above and below the pick point, all bits of the check flag will be zero. Therefore, at least one of the check flags
A polygon whose bit is non-zero has all vertices above, below, right, left, front, or behind the pick point, so it is clearly treated as a polygon that does not include the pick point, and will be used from now on. Can be excluded from inspection. This is the minimum of a three-dimensional area in a three-dimensional area clipping method that applies the Cohen-Sutherland clipping technique.

最大座標をピック座標でおきかえたものである(前述の
参考文献:コンピュータ・グラフィックス第302頁参
照)。
The maximum coordinates are replaced with the pick coordinates (see the above-mentioned reference: Computer Graphics, page 302).

次にチェックフラグの全ビットがゼロであったポリゴン
についてピック点を含むか否かの詳細な検査を行う、ま
ず、平面Y=Ypとポリゴンの各辺の線分との交点を求
める。結果の交点をXの昇順にソートし、X座標がXp
よりも小さい交点が奇数個存在すれば、ピック点がポリ
ゴンに含まれる可能性がある。上記交点数が偶数個の場
合は、ピック点は明らかにポリゴンの外であるため、こ
れ以後のチェックは行なわない。ピック点を含む可能性
のあるポリゴンに対してはポリゴンを含む平面方程式 %式% を求める。そして本方程式にX=Xp 、Y=Ypを代
入して得られるZ座標値とZPとの差が所定の許容誤差
より小さければポリゴンはピック点を含む。上記Z座標
値とZpの差が許容誤差より大きければ、ポリゴンはピ
ック点を含まないことがわかる。
Next, a detailed check is performed on the polygon for which all bits of the check flag are zero to see if it contains a pick point. First, the intersections of the plane Y=Yp and the line segments on each side of the polygon are found. Sort the resulting intersection points in ascending order of X, and the X coordinate is
If there is an odd number of intersection points smaller than , there is a possibility that the pick point is included in the polygon. If the number of intersections is an even number, the pick point is clearly outside the polygon, so no further checks are performed. For polygons that may include pick points, a plane equation that includes the polygons is determined. Then, if the difference between the Z coordinate value obtained by substituting X=Xp and Y=Yp into this equation and ZP is smaller than a predetermined tolerance, the polygon includes a pick point. If the difference between the above Z coordinate value and Zp is larger than the allowable error, it can be seen that the polygon does not include a pick point.

以上述べた様な検査によってピック点を含むポリゴンが
発見された場合は、直ちにそのポリゴンの属するセグメ
ントの識別番号をピックセグランl一番号としてセット
し、ピンクエラーフラグをオフにしてピック処理を終了
する。全セグメントを検査してもピック点を含むポリゴ
ンが検出されなかった場合は、ピックエラーフラグをオ
ンにしてピック処理を終了する6 本実施例によれば、グラフィック画面上に表示された3
次元形状の一部分を画面上の一点をピックすることによ
って指定できるため、3次元形状の編集処理においてセ
グメント識別番号の入力によってセグメントを指定する
といったわずられしさが無いといった利点がある。また
、ピックセグメントの検出処理において、減算と論理積
の組み合わせによる簡単な計算によって、明らかにピッ
ク点を含まないポリゴンを検出対象から除外できるため
、検出処理の高速化が可能となるという効果がある。
When a polygon including a pick point is found through the above-described inspection, the identification number of the segment to which the polygon belongs is immediately set as the pick segment number, the pink error flag is turned off, and the pick process is terminated. If a polygon including a pick point is not detected even after inspecting all segments, the pick error flag is turned on and the pick process is terminated.6 According to this embodiment, the 3
Since a part of the dimensional shape can be specified by picking a point on the screen, there is an advantage that there is no need to specify a segment by inputting a segment identification number in the editing process of the three-dimensional shape. In addition, in pick segment detection processing, polygons that obviously do not include pick points can be excluded from detection targets by simple calculations using a combination of subtraction and logical product, which has the effect of speeding up the detection processing. .

また、上記実施例では、セグメントデータにクリッピン
グを施してからチェックフラグによるチェックを行なっ
ていた。しかし、クリッピング処理によって表示対象か
ら除外されるポリゴンは。
Further, in the above embodiment, the check flag is checked after clipping the segment data. However, polygons that are excluded from display by clipping processing.

チェックフラグによるチェックによって除外されるポリ
ゴンの集合に含まれるものであるため、クリッピング処
理は省略可能である。上記省略によって、ピックセグメ
ンI・検出処理の高速化が可能である。
Since it is included in the set of polygons that are excluded by checking with the check flag, the clipping process can be omitted. By omitting the above, it is possible to speed up the pick segment I/detection process.

また、上記実施例では、ポリゴンの個々の頂点について
の、Yp −Yv 、 Yv −Yp 、 Xp −X
v 、Xv −Xp * Zp −Zv e Zv−Z
pの計算結果については検討していない、上記計算結果
の符号ビットが全てゼロである場合は、ピック点座標と
頂点座標が等しいため、それ以降のチェック処理を省略
することが可能である。上記省略によって、ピックセグ
メント検出処理の高速化が可能である。
Furthermore, in the above embodiment, Yp - Yv , Yv - Yp , Xp -X for each vertex of the polygon
v , Xv −Xp * Zp −Zv e Zv−Z
The calculation result of p has not been considered. If the sign bits of the calculation result are all zero, the pick point coordinates and the vertex coordinates are equal, so the subsequent check process can be omitted. By omitting the above, it is possible to speed up the pick segment detection process.

また、前述実施例においては、全セグメントに対して無
条件にピックセグメン1へ検出処理を施していた。しか
し、各セグメントについて第6図に示すようなセグメン
ト全体を囲むような3次元領域の最小、最大座標値をセ
グメントバッファー中に記憶しておき、上記3次元領域
にピック点が含まれないようなセグメントについては、
ピックセグメントの検出処理を省略することが可能であ
る。
Furthermore, in the embodiment described above, the detection process was unconditionally applied to pick segment 1 for all segments. However, for each segment, the minimum and maximum coordinate values of a three-dimensional area that surrounds the entire segment as shown in Figure 6 are stored in the segment buffer, so that the three-dimensional area does not include pick points. Regarding the segment,
It is possible to omit the pick segment detection process.

上記省略によって、ピックセグメント検出処理の高速化
が可能である。
By omitting the above, it is possible to speed up the pick segment detection process.

また、前述の実施例では、ピックされた3次元形状の一
部分のセグメント識別番号を検出していたが、本発明が
、セグメントバッファー中のピック識別子の検出にも利
用できることはいうまでもない。
Further, in the above embodiment, the segment identification number of a portion of the picked three-dimensional shape was detected, but it goes without saying that the present invention can also be used to detect the pick identifier in the segment buffer.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、グラフィック画面上に表示された3次
元形状の一部分を、画面上の一点をピックすることによ
って指定でき、また、減算と論理積を組み合わせた簡単
な計算でピックセグメントの検出処理の簡易化が可能で
あるため、3次元形状データの編集処理を対話形式で高
速に行なえるといった効果がある。
According to the present invention, a part of a three-dimensional shape displayed on a graphic screen can be specified by picking a single point on the screen, and a picked segment can be detected by a simple calculation that combines subtraction and logical product. Since it is possible to simplify the process, there is an effect that editing processing of three-dimensional shape data can be performed interactively and at high speed.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図中のピック処理部の処理内容を示すPAD、第3図は
ピック点とZバッファーの関係図。第4図は、コーヘン
・サザランドのクリッピング技法を応用した、ピックセ
グメント検出方法のモデル図、第5図は、上記検出方法
におけるチェックフラグの状態図。第6図は、セグメン
トを囲む3次元領域を示す図。 101・・・ピック処理部、102・・・ピックデバイ
ス、103・・・Zバッファー、104・・・セグメン
トバッファー、105・・・表示処理部、106・・・
中央処理装置。 第30 ′1.4図 ピ1.7り1倍、座標        T!!、!度標
第 1;ZP ((j 2v > Zp
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
PAD showing the processing contents of the pick processing section in the figure, and FIG. 3 is a relationship diagram between pick points and Z buffer. FIG. 4 is a model diagram of a picked segment detection method applying the Cohen-Sutherland clipping technique, and FIG. 5 is a state diagram of check flags in the detection method. FIG. 6 is a diagram showing a three-dimensional area surrounding a segment. 101... Pick processing unit, 102... Pick device, 103... Z buffer, 104... Segment buffer, 105... Display processing unit, 106...
Central processing unit. Figure 30'1.4 P1.7ri1x, coordinate T! ! ,! Degree standard 1st; ZP ((j 2v > Zp

Claims (1)

【特許請求の範囲】 1、ポリゴンを主としたプリミティブの集合であるセグ
メントによって構成され、Zバッファーを用いて隠面消
去を施してグラフィック端末上に表示された3次元形状
の一部分をピックする3次元形状ピック方法において、
ピックされた画面上のX、Y座標値と、上記隠面消去に
よる表示の際にZバッファーの上記X、Y座標値に対応
するエリアに残されたZ座標値から、ピック点の3次元
座標値を得た後、上記プリティブ集合中の各ポリゴンの
各頂点のX、Y、Z座標値から、ピック点のそれぞれX
、Y、Z座標値を減算した結果の符号ビットと、ピック
点のX、Y、Z座標値から、上記頂点のそれぞれX、Y
、Z座標値を減算した結果の符号ビットを、6ビットの
エリアからなるフラグの所定のビットにそれぞれ格納し
、個々のポリゴンの全頂点についての上記フラグの論理
積を計算し、上記論理積が非ゼロであるポリゴンは、明
らかにピック点を含まないものとして除外し、上記論理
積がゼロであるポリゴンについてのみ、ポリゴンを含む
平面の平面方程式を求めることによって、ピック点を含
むか否かのより詳細なチェックを行なうことを特徴とす
る3次元形状ピック方法。 2、前記3次元形状ピック方法において、各セグメント
を囲むような3次元領域の最小、最大座標値をセグメン
トバッファー中に記憶しておき、各セグメントの上記最
小、最大座標値とピック点の3次元座標値を比較し、ピ
ック点を含むような3次元領域を持つようなセグメント
についてのみ、ピック点を含むようなポリゴンの有無を
検査することを特徴とする、特許請求の範囲第1項記載
の3次元形状ピック方法。
[Claims] 1. Picking a part of a three-dimensional shape displayed on a graphics terminal by performing hidden surface removal using a Z buffer, which is composed of segments that are a collection of primitives mainly consisting of polygons. In the dimensional shape pick method,
The three-dimensional coordinates of the picked point are calculated from the picked X, Y coordinate values on the screen and the Z coordinate values left in the area corresponding to the above X, Y coordinate values of the Z buffer when displayed by hidden surface removal. After obtaining the values, from the X, Y, and Z coordinate values of each vertex of each polygon in the primitive set,
, Y, Z coordinate values of the pick point and the X, Y, Z coordinate values of the above vertices, respectively.
, the sign bit of the result of subtracting the Z coordinate value is stored in a predetermined bit of a flag consisting of a 6-bit area, and the logical product of the above flags for all vertices of each polygon is calculated, and the logical product is Non-zero polygons are clearly excluded as not containing pick points, and only for polygons for which the above logical product is zero, it is possible to determine whether or not they contain pick points by finding the plane equation of the plane containing the polygons. A three-dimensional shape picking method characterized by performing a more detailed check. 2. In the above three-dimensional shape picking method, the minimum and maximum coordinate values of the three-dimensional area surrounding each segment are stored in a segment buffer, and the minimum and maximum coordinate values of each segment and the three-dimensional shape of the pick point are The method according to claim 1, wherein the coordinate values are compared and the presence or absence of a polygon that includes the pick point is checked only for segments that have a three-dimensional area that includes the pick point. 3D shape picking method.
JP61313131A 1986-12-29 1986-12-29 Three-dimensional shape picking method Pending JPS63167977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61313131A JPS63167977A (en) 1986-12-29 1986-12-29 Three-dimensional shape picking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61313131A JPS63167977A (en) 1986-12-29 1986-12-29 Three-dimensional shape picking method

Publications (1)

Publication Number Publication Date
JPS63167977A true JPS63167977A (en) 1988-07-12

Family

ID=18037480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61313131A Pending JPS63167977A (en) 1986-12-29 1986-12-29 Three-dimensional shape picking method

Country Status (1)

Country Link
JP (1) JPS63167977A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0546777A (en) * 1991-08-08 1993-02-26 Fujitsu Ltd Graphic processing system
JP2002092651A (en) * 1999-11-16 2002-03-29 Hitachi Kokusai Electric Inc Image data editing method and computer-readable storage medium storing image data editing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0546777A (en) * 1991-08-08 1993-02-26 Fujitsu Ltd Graphic processing system
JP2002092651A (en) * 1999-11-16 2002-03-29 Hitachi Kokusai Electric Inc Image data editing method and computer-readable storage medium storing image data editing program

Similar Documents

Publication Publication Date Title
Isenberg et al. A developer's guide to silhouette algorithms for polygonal models
KR960016886B1 (en) Apparatus and method for relating point of selection to object in graphics display system
JP3390463B2 (en) Shadow test method for 3D graphics
US6529207B1 (en) Identifying silhouette edges of objects to apply anti-aliasing
US6456285B2 (en) Occlusion culling for complex transparent scenes in computer generated graphics
Greene Detecting Intersection of a Rectangular Solid and a Convex Polyhedron.
WO2000011562B1 (en) Apparatus and method for performing setup operations in a 3-d graphics pipeline using unified primitive descriptors
CN100399358C (en) Image processing apparatus and method of same
EP0780798A3 (en) Method and apparatus for object indentification and collision detection in three dimensional graphics space
EP0376181B1 (en) Method and apparatus for three dimensional display with cross section
US6774897B2 (en) Apparatus and method for drawing three dimensional graphics by converting two dimensional polygon data to three dimensional polygon data
JP4209129B2 (en) How to render a mesh with multiple polygons representing a graphics model
JPS63167977A (en) Three-dimensional shape picking method
JPH07114650A (en) Method and device for displaying three-dimensional image
KR100300969B1 (en) Method for extracting crossfoot test area in ray tracing and rendering device thereof
JP2001273523A (en) Device and method for reducing three-dimensional data
KR0151483B1 (en) High speed ray tracing apparatus
JP3718888B2 (en) Three-dimensional polygon drawing method and apparatus
JPH06215133A (en) Equipment and method for data processing
JPH09282486A (en) Image processor
KR100219587B1 (en) Block data structure and hidden face removal method for three-dimension computer graphics
JPH11203486A (en) Translucent object display method and image display device using the method
JPS625482A (en) Hidden-line processing method for three-dimensional wire frame model
Yuan et al. P-buffer: a hidden-line algorithm in image-space
JPH0146915B2 (en)