JPH0944696A - Polygon mesh connector - Google Patents

Polygon mesh connector

Info

Publication number
JPH0944696A
JPH0944696A JP7209219A JP20921995A JPH0944696A JP H0944696 A JPH0944696 A JP H0944696A JP 7209219 A JP7209219 A JP 7209219A JP 20921995 A JP20921995 A JP 20921995A JP H0944696 A JPH0944696 A JP H0944696A
Authority
JP
Japan
Prior art keywords
vertex
polygon
connection priority
new
vertices
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.)
Granted
Application number
JP7209219A
Other languages
Japanese (ja)
Other versions
JP2746214B2 (en
Inventor
Mikihiro Tanaka
幹大 田中
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP7209219A priority Critical patent/JP2746214B2/en
Publication of JPH0944696A publication Critical patent/JPH0944696A/en
Application granted granted Critical
Publication of JP2746214B2 publication Critical patent/JP2746214B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To connect solid forms (polygon meshes) expressed by polygon with each other when three-dimensional modes to be used in three-dimensional CAD and three-dimensional CG fields are prepared. SOLUTION: When polygon meshes are connected with each other, the distances between vertexes are determined and the shortest distance of them is determined. For instance, a vertex P1 is selected from the vertexes of a polygon mesh A, the distances up to all the vertexes of a polygon mesh B are determined from this vertex P1 , the shortest distance is determined from the distances and the distance is defined as a correspondence point P1 '. Also, for all other vertexes P2 , P3 ,..., correspondence points P2 ', P3 '... are determined. Next, at the middle point between the corresponded vertexes, new vertexes are generated. Namely, at the middle points between the vertexes P1 -P1 ', the vertexes P2 -P2 ' and the vertexes P3 -P3 ', new vertexes Q1 , Q2 and Q3 are generated, respectively. After the new vertexes are generated for all the correspondences, new polygons defining the new vertexes as vertexes are generated and the connection of polygon meshes is performed. Lastly, old vertexes are deleted.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ポリゴン(多角
形)で表現された立体形状(ポリゴンメッシュ)同士を
接続するためのポリゴンメッシュ接続装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a polygon mesh connection device for connecting three-dimensional shapes (polygon meshes) represented by polygons (polygons).

【0002】[0002]

【従来の技術】3次元CADや3次元コンピュータグラ
フィックス(CG)の分野において、3次元モデルを作
成する方法の1つとして、あるモデルを幾つかの方向か
ら撮影して部分形状を得て、これら複数の部分形状を接
続して3次元モデルの全体形状を作成する方法がある。
各部分形状は、ポリゴン(多角形)によって表現され、
ポリゴンメッシュ装置によって接続される。
2. Description of the Related Art In the field of three-dimensional CAD and three-dimensional computer graphics (CG), as one of methods for creating a three-dimensional model, a certain model is photographed from several directions to obtain a partial shape. There is a method of connecting the plurality of partial shapes to create the entire shape of the three-dimensional model.
Each partial shape is represented by a polygon (polygon),
Connected by a polygon mesh device.

【0003】ところが、以上のような3次元形状の接続
については、実用的な方法及び装置は未だ提案されてい
ない、というのが現状である。
[0003] However, at present, practical methods and devices have not yet been proposed for the three-dimensional connection as described above.

【0004】ちなみに、2次元形状(曲線)の接続技術
としては、1993年画像電子学会年次大会予稿集65
頁〜68頁に掲載の丸家・高島論文「テクスチャを手が
かりにした形状再構成」が知られている。この方法では
2次元の点列データから成る形状2つを接続する際に、
平均距離最小法により、重なり領域を求めた後、重なり
領域にある頂点間の対応付けを行ない、対応付けられた
頂点の間に新たな頂点を設けて形状接続を行なうもので
ある。
[0004] By the way, as a connection technique of a two-dimensional shape (curve), the 1993 Annual Conference of the Institute of Image Electronics Engineers of Japan, 65
Maruya and Takashima's paper "Shape Reconstruction Using Texture as a Clue", which is published on pages 68-68, is known. With this method, when connecting two shapes consisting of two-dimensional point sequence data,
After obtaining the overlapping area by the average distance minimum method, the vertices in the overlapping area are associated with each other, and a new vertex is provided between the associated vertices to perform shape connection.

【0005】この平均距離最小法では、まずある重なり
幅を仮定し、次にその重なり幅だけずらして順々に頂点
の対応付けを行ない、対応点間の距離の和の平均を求め
る。以上の処理をさまざまな重なり幅について行ない、
平均距離が最小となるものを見つけるものである。
In this average distance minimization method, a certain overlap width is first assumed, then vertices are sequentially associated with each other by shifting by the overlap width, and the average of the sum of the distances between corresponding points is obtained. Perform the above processing for various overlapping widths,
Find the one with the smallest average distance.

【0006】この平均距離最小法、およびその後の頂点
間の対応付けには頂点の順序関係が利用されている。2
次元形状においては、形状を構成するエッジ(辺)はす
べて2つの頂点をもち、かつその頂点において別のエッ
ジ1本とだけ接続しているので、その接続関係を用いて
すべての頂点を順序付けることができる。すなわち、あ
る端点の順位を1とすれば、その端点をもつエッジのも
う一つの頂点の順位を2とし、次は2の頂点で接続され
たもう1つのエッジの頂点の順位を3とし、以下同様の
操作を行なえばすべての頂点について順序を一意に定義
できる。
The order of vertices is used for the minimum average distance method and the subsequent correspondence between vertices. Two
In a two-dimensional shape, all edges (sides) constituting the shape have two vertices and are connected only to another edge at that vertex. Therefore, all vertices are ordered using the connection relation. be able to. That is, if the rank of a certain end point is 1, the rank of the other vertex of the edge having the end point is 2, the rank of the vertex of another edge connected by the 2 vertices is 3, and the following. By performing the same operation, the order can be uniquely defined for all vertices.

【0007】[0007]

【発明が解決しようとする課題】2次元形状の接続にお
いては、全ての頂点について順序付けが可能であるの
で、この順序関係を用いて重なり幅を導入し、後は一意
に頂点間の対応付けを行なうことが可能であった。
In the connection of the two-dimensional shape, all vertices can be ordered. Therefore, an overlapping width is introduced using this order relation, and the correspondence between vertices is uniquely determined thereafter. It was possible to do.

【0008】しかしポリゴンメッシュ接続を行なう際は
一般に頂点に対する順序付けは不可能であり、従来手法
をそのまま3次元に拡張することは困難である。仮に重
なり幅を導入できたとしても、重なり幅が決定したから
といって一意に対応付けを行なうことはできないという
問題点があった。
However, when connecting polygon meshes, it is generally impossible to order the vertices, and it is difficult to extend the conventional method to three dimensions as it is. Even if the overlap width can be introduced, there is a problem that the association cannot be uniquely determined just because the overlap width is determined.

【0009】本発明は以上の点にかんがみて成されたも
ので、ポリゴンメッシュを接続するための実用的な技術
を提供することを目的とする。
The present invention has been made in view of the above points, and has as its object to provide a practical technique for connecting polygon meshes.

【0010】[0010]

【課題を解決するための手段】上記の問題点を解決する
ため、請求項1の発明のポリゴンメッシュ接続装置は、
ポリゴンで表現された立体形状(ポリゴンメッシュ)同
士を接続する際に、接続する2つのポリゴンメッシュの
頂点間の対応付けを行なう対応決定手段と、上記対応決
定手段により対応付けられた頂点間に新たな頂点を生成
する新頂点生成手段と、上記新頂点生成手段により生成
された新頂点を頂点として新たにポリゴンを生成するポ
リゴン生成手段と、上記ポリゴン生成手段の結果不要と
なった頂点を削除する旧頂点削除手段とを備えている。
In order to solve the above-mentioned problems, a polygon mesh connection device according to the first aspect of the present invention comprises:
When connecting three-dimensional shapes (polygon meshes) represented by polygons, a correspondence determining means for associating the vertices of two polygon meshes to be connected, and a new between the vertices associated by the correspondence determining means, A new vertex generating means for generating a new vertex, a polygon generating means for generating a new polygon using the new vertex generated by the new vertex generating means as a vertex, and a vertex unnecessary as a result of the polygon generating means is deleted. Old vertex deleting means.

【0011】請求項2のポリゴンメッシュ接続装置は、
請求項1の装置において、新頂点の生成位置を制御する
パラメータである接続優先度をポリゴンの各頂点に設定
する接続優先度設定手段を設け、新頂点生成手段は前記
接続優先度に応じて新たに生成する頂点の位置を決定す
るようにした。
According to a second aspect of the present invention, there is provided a polygon mesh connecting apparatus,
2. The apparatus according to claim 1, further comprising connection priority setting means for setting a connection priority, which is a parameter for controlling a generation position of a new vertex, to each vertex of the polygon, wherein the new vertex generation means newly sets the connection priority according to the connection priority. The position of the vertex to be generated is determined.

【0012】請求項3のポリゴンメッシュ接続装置は、
請求項2の装置において、接続優先度設定手段を、ポリ
ゴンメッシュの端点を検索し、検索された端点にもっと
も低い接続優先度を設定する初期接続優先度設定手段
と、ポリゴンメッシュの各頂点に対し、すでに接続優先
度が設定されているかを判定した上で、すでに接続優先
度が設定されている頂点に隣接する、接続優先度が未設
定の頂点に、隣接する頂点より1段階高い接続優先度を
設定する次ランク接続優先度設定手段とよって構成し
た。
A polygon mesh connection device according to claim 3 is
3. The apparatus according to claim 2, wherein the connection priority setting means searches the end points of the polygon mesh and sets the lowest connection priority to the searched end points, and for each vertex of the polygon mesh. , After determining whether the connection priority has already been set, the connection priority that is adjacent to the vertex for which the connection priority has already been set and that has no connection priority is one step higher than the adjacent vertex. It is configured by the next rank connection priority setting means for setting.

【0013】請求項4のポリゴンメッシュ接続装置は、
請求項2の装置において、接続優先度設定手段を、ある
頂点が端点であるかどうかを判定する端点判定手段と、
ある頂点からポリゴンに沿った道のりが最も近い端点お
よびその道のりを求める端点到達距離算出手段と、上記
端点到達距離算出手段により算出された到達距離をもと
にその頂点の接続優先度を算出し、設定する接続優先度
算出手段とによって構成した。
According to a fourth aspect of the present invention, there is provided a polygon mesh connection device comprising:
3. The apparatus according to claim 2, wherein the connection priority setting means comprises: an endpoint determining means for determining whether a certain vertex is an endpoint;
Calculating the connection priority of the vertex based on the arrival point calculated by the end point arrival distance calculation means and the end point at which the distance along the polygon from the certain vertex along the polygon is the closest, and And a connection priority calculating means to be set.

【0014】[0014]

【発明の実施の形態】次に本発明の実施の形態について
説明する。図1は本発明のポリゴンメッシュ接続装置の
第1の実施例を示すブロック図であり、この装置は、図
1に示すように、接続する2つのポリゴンメッシュの頂
点間の対応付けを行なう対応決定手段11と、対応決定
手段11により対応付けられた頂点間に新たな頂点を生
成する新頂点生成手段12と、新頂点生成手段12によ
って生成された新頂点を頂点として新たにポリゴンを生
成するポリゴン生成手段13と、不要となった頂点を削
除する旧頂点削除手段14とによって構成される。な
お、本装置はCPUを含むコンピュータによって構成さ
れ、上記手段11〜14の諸機能は、コンピュータが所
定のプログラムに基づいて動作することにより実現され
る。
Next, an embodiment of the present invention will be described. FIG. 1 is a block diagram showing a first embodiment of a polygon mesh connection device according to the present invention. As shown in FIG. 1, this device determines correspondence between vertices of two connected polygon meshes. Means 11, a new vertex generating means 12 for generating a new vertex between the vertices associated by the correspondence determining means 11, and a polygon for newly generating a polygon with the new vertex generated by the new vertex generating means 12 as a vertex. It is composed of a generation unit 13 and an old vertex deletion unit 14 for deleting unnecessary vertices. The present device is constituted by a computer including a CPU, and the various functions of the means 11 to 14 are realized by the computer operating based on a predetermined program.

【0015】図2は、ポリゴンメッシュの接続について
説明するための図であり、接続すべきポリゴンメッシュ
A,Bを示す。これらのポリゴンメッシュA,Bは実際
は面形状であるが、図2においては、説明のため、その
断面で示してある。
FIG. 2 is a diagram for explaining connection of polygon meshes, and shows polygon meshes A and B to be connected. These polygon meshes A and B are actually surface shapes, but are shown in cross section in FIG. 2 for explanation.

【0016】対応決定手段11では、2つのポリゴンメ
ッシュA,Bの頂点間の対応付けを行なう。この対応付
けの手段としては、ポリゴンメッシュAのある頂点Pに
対し、ポリゴンメッシュBの全ての頂点までの距離を求
め、そのうち距離がもっとも近いポリゴンメッシュBの
頂点を頂点Pの対応点とする。ただしこの最短距離が、
あらかじめ定められたしきい値より大きい場合には、対
応付けを行なわない。以上の処理をポリゴンメッシュA
のすべての頂点に対して行なう。
The correspondence determining means 11 makes correspondence between the vertices of the two polygon meshes A and B. As a means of this association, the distance to all the vertices of the polygon mesh B with respect to a certain vertex P of the polygon mesh A is determined, and the vertex of the polygon mesh B having the shortest distance is set as the corresponding point of the vertex P. However, this shortest distance is
If it is larger than a predetermined threshold value, no association is performed. The above processing is performed for polygon mesh A
For all vertices of.

【0017】以上の処理を図2及び図3のフローチャー
トを用いて説明する。まず、ポリゴンメッシュAの頂点
のうちから1つの頂点(例えばP1)を選択する(ステ
ップ301)。次に、この頂点P1からポリゴンメッシ
ュBのすべての頂点までの距離を求める(ステップ30
2)。求められた距離の中から最短の距離を求め、これ
を対応点P1´とする(ステップ303)。更に、求め
られた最短距離を所定のしきい値と比較し(ステップ3
04)、しきい値より小さければ対応点として確定する
(ステップ305)。以上の処理をすべての頂点P1
2,P3,…について繰り返し行う(ステップ30
6)。ステップ304において、最短距離がしきい値以
上であれば対応点なしとして処理し(ステップ30
7)、ステップ306へ進む。
The above processing will be described with reference to the flowcharts of FIGS. First, one vertex (for example, P 1 ) is selected from the vertices of the polygon mesh A (step 301). Next, determine the distance to all vertices of the polygon mesh B from the apex P 1 (step 30
2). The shortest distance is obtained from the obtained distances and this is set as the corresponding point P 1 ′ (step 303). Further, the obtained shortest distance is compared with a predetermined threshold value (step 3).
04) If it is smaller than the threshold value, it is determined as a corresponding point (step 305). All the vertices P 1 ,
Are repeated for P 2 , P 3 ,.
6). If it is determined in step 304 that the shortest distance is equal to or greater than the threshold value, it is determined that there is no corresponding point.
7) Go to step 306.

【0018】次に新頂点作成手段12において、対応決
定手段11で対応付けられた頂点間の中点に新たな頂点
を生成する。すなわち、図2(a)に示すように、頂点
1−P1´間、頂点P2−P2´間、頂点P3−P3´間の
中点に、新たな頂点Q1,Q 2,Q3をそれぞれ生成す
る。
Next, in the new vertex creating means 12, the corresponding decision is made.
A new vertex at the midpoint between the vertices associated by the
Generate That is, as shown in FIG.
P1−P1´, vertex P2−P2´, vertex PThree−PThreeAmong
At the midpoint, a new vertex Q1, Q 2, QThreeGenerate
You.

【0019】すべての対応について新頂点を作成した
ら、ポリゴン生成手段13において、新頂点作成手段1
2において作成された新頂点を頂点とする新たなポリゴ
ンを生成し、ポリゴンメッシュの接続を行なう。その後
旧頂点削除手段14において、接続の結果不要となった
頂点を削除し一連の接続処理を完了する(図2(b)参
照)。
When new vertices are created for all the correspondences, the new vertex creating means 1
A new polygon having the new vertex created in 2 as a vertex is generated, and a polygon mesh is connected. Thereafter, the old vertex deleting means 14 deletes the vertex which is no longer required as a result of the connection, and completes a series of connection processing (see FIG. 2B).

【0020】次にポリゴン形状接続装置の第2の実施例
について、図4,5を参照して説明する。
Next, a second embodiment of the polygon shape connecting device will be described with reference to FIGS.

【0021】本ポリゴンメッシュ接続装置では、滑らか
なポリゴンメッシュ接続を実現するために、第1実施例
のポリゴンメッシュ接続装置に加えて接続優先度設定手
段21を備えている。接続優先度設定手段21は、ポリ
ゴンメッシュの各頂点に「接続優先度」を設定する。こ
の「接続優先度」は、ポリゴンの各頂点に与えられるパ
ラメータであり、一般に端に行くほど低く、中心に行く
に従って高くなるように設定する。例えば、図5(a)
に示すように、ポリゴンメッシュA,Bの端の部分には
優先度の低い「1」を設定し、中心部分には優先度の高
い「3」、その中間領域には優先度「2」を設定してあ
る。
This polygon mesh connection device includes a connection priority setting means 21 in addition to the polygon mesh connection device of the first embodiment in order to realize smooth polygon mesh connection. The connection priority setting means 21 sets “connection priority” for each vertex of the polygon mesh. The “connection priority” is a parameter given to each vertex of the polygon, and is generally set so as to be lower toward the end and higher toward the center. For example, FIG.
As shown in the figure, low-priority "1" is set at the end portions of the polygon meshes A and B, high-priority "3" is set at the central portion, and priority "2" is set at the intermediate region. It has been set.

【0022】まず、対応決定手段11では、第1の実施
例の装置と同様の処理を行なう。
First, the correspondence determining means 11 performs the same processing as that of the apparatus of the first embodiment.

【0023】次に、対応点決定手段11で求めた対応点
に対し、新たな頂点を新頂点作成手段12において作成
するが、このとき接続優先度設定手段21において設定
した接続優先度に応じて重み付けを行なう。すなわち、
ポリゴンメッシュAの対応点の接続優先度をa、ポリゴ
ンメッシュBの対応点の接続優先度をbとしたとき、対
応点を結ぶ線分をb:aに内分する点を新たな頂点とし
て作成する。なお、この重み付けについては他にも接続
部分のポリゴンメッシュ、距離に応じてn,mを任意の
実数としてbm:anに内分する方法などが考えられる。
Next, a new vertex is created by the new vertex creating means 12 for the corresponding point obtained by the corresponding point determining means 11, and at this time, according to the connection priority set by the connection priority setting means 21. Weighting is performed. That is,
Assuming that the connection priority of the corresponding point of the polygon mesh A is a and the connection priority of the corresponding point of the polygon mesh B is b, a point that internally divides the line connecting the corresponding points into b: a is created as a new vertex. I do. Incidentally, polygon meshes also connecting portion to the other, b n according to the distance, the m as any real number m for this weighting: a method which internally divides a n are conceivable.

【0024】具体的には、図5の(a)に示すように、
新たな頂点Q4は、ポリゴンメッシュAの頂点の優先度
「1」、ポリゴンメッシュBの頂点の優先度「3」のと
きの新しい頂点であり、頂点Q4は、両者の距離が3:
1に内分されて、優先度の高いポリゴンメッシュB寄り
に設定される。また頂点Q6は、両者の距離が1:3に
内分されて、優先度の高いポリゴンメッシュA寄りに設
定される。頂点Q5はポリゴンメッシュA,Bの頂点の
優先度が同じ「2」であるから、両者の中点に設定され
ている。
More specifically, as shown in FIG.
The new vertex Q 4 is a new vertex when the priority of the vertex of the polygon mesh A is “1” and the priority of the vertex of the polygon mesh B is “3”. The vertex Q 4 has a distance of 3:
1, which is set closer to the polygon mesh B having a higher priority. The vertex Q 6 is set so that the distance between the two is internally divided into 1: 3, and is closer to the polygon mesh A having a higher priority. Vertex Q 5 is because polygon mesh A, the priority of the vertices of B are the same "2" is set to both the midpoint.

【0025】また、前述のbm:anに内分する方法によ
れば、n=1,m=2とすると、頂点Q4は、両者の距
離が32:11(即ち、9:1)に内分されて、よりポリ
ゴンメッシュB寄りに設定される。
Further, the above-mentioned b m: According to the method which internally divides a n, When n = 1, m = 2, the vertex Q 4 are, the distance therebetween is 3 2: 1 1 (i.e., 9: 1) and is set closer to the polygon mesh B.

【0026】その後は、ポリゴン生成手段13、旧頂点
削除手段14により、第1の実施例と同様の処理を行な
う。
After that, the polygon generating means 13 and the old vertex deleting means 14 perform the same processing as in the first embodiment.

【0027】次に、図6はポリゴンメッシュ接続装置の
第3の実施例を示すブロック図であり、本実施例は、接
続優先度設定手段に関して、優先度の設定方法の一例を
示したのもので、その他の構成部分は第2の実施例と同
じである。
Next, FIG. 6 is a block diagram showing a third embodiment of the polygon mesh connection device. This embodiment shows an example of a method of setting the priority with respect to the connection priority setting means. Other components are the same as those of the second embodiment.

【0028】本実施例では、接続優先度の設定する際、
図7(a)に示すように、ポリゴンメッシュの端部分に
最も優先度の低い「1」を設定する。次に、図7(b)
(c)に示すように、ポリゴンメッシュの内側に向って
優先度を高くして「2」、「3」というように設定して
いく。
In this embodiment, when setting the connection priority,
As shown in FIG. 7A, “1” having the lowest priority is set at the end of the polygon mesh. Next, FIG.
As shown in (c), the priority is increased toward the inside of the polygon mesh and set to “2”, “3”, and the like.

【0029】本実施例の接続優先度設定手段22は、段
階的に接続優先度の設定を行なうものであり、図6に示
すように、ポリゴンメッシュの端点を検索し、検索され
た端点にもっとも低い接続優先度を設定する初期接続優
先度設定手段31と、ある頂点に対しすでに接続優先度
が設定されているかを判定した上で、すでに接続優先度
が設定されている頂点に隣接する接続優先度が未設定の
頂点に隣接する頂点より1段階高い接続優先度を設定す
る次ランク接続優先度設定手段32とから構成される。
The connection priority setting means 22 of this embodiment sets the connection priority step by step. As shown in FIG. 6, an end point of the polygon mesh is searched, and the searched end point is Initial connection priority setting means 31 for setting a low connection priority, and determining whether or not a connection priority has already been set for a certain vertex, and then determining a connection priority adjacent to the vertex for which a connection priority has already been set. And a next-rank connection priority setting means 32 for setting a connection priority one level higher than a vertex adjacent to a vertex whose degree has not been set.

【0030】各処理部の動作について図8のフローチャ
ートを用いて説明する。初期接続優先度設定手段31で
は、まずポリゴンメッシュの頂点のうち、ある頂点を選
択し(ステップ71)、その頂点が端点であるかどうか
を判定する(ステップ72)。その頂点が端点と判定さ
れたら、最低ランクの接続優先度(例えば図7において
は「1」)を設定し(ステップ73)、端点でない頂点
に対しては接続優先度の設定を行わない(ステップ7
4)。以上の処理をすべての頂点について行う(ステッ
プ75。
The operation of each processing unit will be described with reference to the flowchart of FIG. The initial connection priority setting means 31 first selects a vertex from among the vertices of the polygon mesh (step 71), and determines whether or not the vertex is an end point (step 72). If the vertex is determined to be the end point, the connection priority of the lowest rank (for example, “1” in FIG. 7) is set (step 73), and the connection priority is not set for the vertex that is not the end point (step 73). 7
4). The above processing is performed for all vertices (step 75).

【0031】なお、ここでは、ある頂点を構成点とする
ポリゴンの中で、他のポリゴンとエッジ(辺)を共有し
ないものが存在するとき、その頂点を「端点」と定義す
る。例えば、図2(a)の頂点P1,P3´は端点であ
る。
Here, when there is a polygon having a vertex as a constituent point and not sharing an edge (side) with another polygon, the vertex is defined as an "end point". For example, the vertices P 1 and P 3 ′ in FIG. 2A are end points.

【0032】ステップ72の端点判定の方法は色々ある
が、例えば以下の方法を用いることができる。すなわ
ち、その頂点を構成点とするポリゴンをすべて求め、次
にそれぞれのポリゴンを構成する頂点をすべてリストア
ップする。こうしてリストアップされた頂点のうち、頂
点の個数が奇数のものが一つでも存在したら、もとの頂
点はポリゴンメッシュの端点であると判定される。
There are various methods for determining the end point in step 72. For example, the following method can be used. That is, all polygons having the vertices as constituent points are obtained, and then all vertices forming each polygon are listed. If any of the vertices thus listed has an odd number of vertices, the original vertex is determined to be an end point of the polygon mesh.

【0033】次ランク接続優先度設定手段32では、ま
ず、ポリゴンメッシュのある頂点を選択し(ステップ7
6)、これに対して既に接続優先度が設定されているか
を判定する(ステップ77)。既に接続優先度が設定さ
れているときは、すべての頂点が接続優先度設定済みか
どうかチェックし(ステップ78)、済んでいなければ
ステップ76に戻って同様の処理を行う。ステップ77
において、接続優先度が設定済みでなければ、隣接頂点
をチェックして、接続優先度が設定済みの隣接頂点が一
つでもあった場合には(ステップ79)、その隣接頂点
より1段階高い接続優先度を設定する(ステップ8
0)。例えば図7(a)の場合の頂点Pを考えると、頂
点Pに隣接する頂点の優先度が「1」であるから、頂点
Pの優先度は図7(b)に示すように「2」となる。同
様に、図7(c)に示すように、「2」の次に「3」が
設定される。
The next rank connection priority setting means 32 first selects a vertex having a polygon mesh (step 7).
6) It is determined whether a connection priority has already been set for this (step 77). If connection priorities have already been set, it is checked whether connection priorities have been set for all vertices (step 78). If not, the process returns to step 76 and performs the same processing. Step 77
If the connection priority has not been set, the adjacent vertices are checked. If there is at least one adjacent vertex for which the connection priority has been set (step 79), the connection is higher by one level than the adjacent vertex. Set priority (step 8
0). For example, considering the vertex P in the case of FIG. 7A, the priority of the vertex adjacent to the vertex P is “1”, and the priority of the vertex P is “2” as shown in FIG. Becomes Similarly, as shown in FIG. 7C, “3” is set after “2”.

【0034】以上の処理を、接続優先度未設定の頂点が
なくなるまで繰り返し、すべての頂点に接続優先度を設
定する。なお本実施例の接続優先度設定手段22は、2
次元形状を接続する際にも用いることができる。
The above processing is repeated until there are no vertices for which connection priority has not been set, and connection precedence is set for all vertices. Note that the connection priority setting means 22 of the present embodiment
It can also be used when connecting dimensional shapes.

【0035】次に、本発明の第4の実施例について、図
9を参照して説明する。本実施例は、接続優先度設定手
段の別の例を示したのもので、その他の構成部分は第2
の実施例と同じである。
Next, a fourth embodiment of the present invention will be described with reference to FIG. In this embodiment, another example of the connection priority setting means is shown.
Is the same as the embodiment described above.

【0036】本実施例の接続優先度設定手段23は、段
階的な処理を行なわず端点までの最短の道のりをもとに
接続優先度を設定するものであり、頂点が端点であるか
どうかを判定する端点判定手段51と、頂点から端点ま
での最短の道のりを求める端点到達距離算出手段52
と、端点到達距離から接続優先度を設定する接続優先度
設定手段53とから構成される。
The connection priority setting means 23 of this embodiment sets the connection priority based on the shortest route to the end point without performing stepwise processing, and determines whether the vertex is an end point. Endpoint determining means 51 for determining, and endpoint reaching distance calculating means 52 for obtaining the shortest path from the vertex to the endpoint
And connection priority setting means 53 for setting the connection priority based on the end point reach distance.

【0037】次に各部の動作について説明する。端点判
定手段51では、図6の初期接続優先度設定手段31に
おける端点判定法と同様の処理を行ない、ポリゴンメッ
シュのすべての頂点に対し、各頂点が端点であるかどう
かを判定する。次に端点到達距離算出手段52におい
て、接続優先度設定対象のある頂点から、前記端点判定
手段51によって端点と判定された頂点までのポリゴン
メッシュに沿った道のりを求め、その道のりがもっとも
短い端点およびその最短の道のりを算出する。
Next, the operation of each section will be described. The end point judging means 51 performs the same processing as the end point judging method in the initial connection priority setting means 31 of FIG. 6, and judges whether or not each vertex is an end point for all the vertices of the polygon mesh. Next, in the end point arrival distance calculation means 52, a route along the polygon mesh from the certain vertex for which the connection priority is to be set to the vertex determined as the end point by the end point determination means 51 is obtained. Calculate the shortest path.

【0038】そして接続優先度算出手段53において、
上記端点到達距離算出手段52より算出された最短の到
達距離にある実数(0でもよい)を加えたものを接続優
先度として算出し、その頂点に設定する。
Then, in the connection priority calculating means 53,
A value obtained by adding a real number (may be 0) to the shortest reach distance calculated by the end point reach distance calculating means 52 is calculated as the connection priority, and set to the vertex thereof.

【0039】端点到達距離算出手段52および接続優先
度算出手段53による処理を、ポリゴンメッシュのすべ
ての頂点に対し行なうことによって、接続優先度を設定
する。なお実施例4の接続優先度設定手段23は、2次
元形状を接続する際にも用いることができる。
The processing by the end point reach distance calculation means 52 and the connection priority calculation means 53 is performed on all the vertices of the polygon mesh to set the connection priority. Note that the connection priority setting unit 23 of the fourth embodiment can also be used when connecting two-dimensional shapes.

【0040】[0040]

【発明の効果】本発明では、対応点決定部において頂点
の順序関係を用いず頂点間の対応付けを行なうことで、
ポリゴンメッシュ接続を実現した。
According to the present invention, the correspondence between the vertices is determined by the corresponding point determination unit without using the order relation of the vertices.
Polygon mesh connection was realized.

【0041】また、接続優先度設定手段で設定した接続
優先度を用い、重み付けをした上で接続を行なっている
ので、より滑らかなポリゴンメッシュ接続を行なうこと
ができる。ポリゴンメッシュ間の距離が大きい場合は、
特に有効である。
Further, since the connection is made after weighting using the connection priority set by the connection priority setting means, a smoother polygon mesh connection can be performed. If the distance between polygon meshes is large,
Especially effective.

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

【図1】本発明の第1の実施例の構成を示すブロック
図。
FIG. 1 is a block diagram showing a configuration of a first exemplary embodiment of the present invention.

【図2】図1の装置の動作を説明する図。FIG. 2 is a view for explaining the operation of the apparatus of FIG. 1;

【図3】図1の装置の動作を説明するフローチャート。FIG. 3 is a flowchart explaining the operation of the apparatus of FIG.

【図4】本発明の第2の実施例の構成を示す示すブロッ
ク図。
FIG. 4 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図5】図4の装置の動作を説明する図。FIG. 5 is a view for explaining the operation of the device in FIG. 4;

【図6】本発明の第3の実施例の構成を示す図。FIG. 6 is a diagram showing a configuration of a third embodiment of the present invention.

【図7】接続優先度の決め方を説明する図。FIG. 7 is a view for explaining how to determine a connection priority;

【図8】図6の装置の動作を説明するフローチャート。FIG. 8 is a flowchart for explaining the operation of the apparatus in FIG. 6;

【図9】本発明の第4の実施例の構成を示す図。FIG. 9 is a diagram showing a configuration of a fourth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

11 対応決定手段 12 新頂点作成手段 13 ポリゴン生成手段 14 旧頂点削除手段 21,22,23 接続優先度設定手段 31 初期接続優先度設定手段 32 次ランク接続優先度設定手段 51 端点判定手段 52 端点到達距離算出手段 53 接続優先度算出手段 11 Correspondence determination means 12 New vertex creation means 13 Polygon generation means 14 Old vertex deletion means 21, 22, 23 Connection priority setting means 31 Initial connection priority setting means 32 Secondary rank connection priority setting means 51 Endpoint determination means 52 End point arrival Distance calculation means 53 Connection priority calculation means

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ポリゴンで表現された立体形状同士を接
続するポリゴンメッシュ接続装置であって、接続する2
つのポリゴンメッシュの頂点間の対応付けを行なう対応
決定手段と、前記対応決定手段によって対応付けられた
頂点間に新たな頂点を生成する新頂点生成手段と、前記
新頂点生成手段によって生成された新頂点を頂点として
新たにポリゴンを生成するポリゴン生成手段と、不要に
なった頂点を削除する旧頂点削除手段とを備えたポリゴ
ンメッシュ接続装置。
1. A polygon mesh connecting device for connecting three-dimensional shapes expressed by polygons, wherein
Correspondence determining means for associating the vertices of the two polygon meshes, new vertex generating means for generating a new vertex between the vertices associated by the correspondence determining means, and a new vertex generating means generated by the new vertex generating means. A polygon mesh connection device, comprising: a polygon generating means for generating a new polygon with vertices as vertices; and an old vertex deleting means for deleting unnecessary vertices.
【請求項2】 新頂点の生成位置を制御するパラメータ
である接続優先度をポリゴンの各頂点に設定する接続優
先度設定手段を設け、前記新頂点生成手段は前記接続優
先度に応じて新たに生成する頂点の位置を決定する請求
項1に記載のポリゴンメッシュ接続装置。
2. A connection priority setting means for setting a connection priority, which is a parameter for controlling a generation position of a new vertex, to each vertex of a polygon, wherein the new vertex generation means newly generates a new vertex according to the connection priority. The polygon mesh connection device according to claim 1, wherein a position of a vertex to be generated is determined.
【請求項3】 前記接続優先度設定手段は、 ポリゴンメッシュの端点を検索し、検索された端点にも
っとも低い接続優先度を設定する初期接続優先度設定手
段と、 ポリゴンメッシュの各頂点に対し、すでに接続優先度が
設定されているかを判定した上で、すでに接続優先度が
設定されている頂点に隣接する、接続優先度が未設定の
頂点に、前記接続優先度が設定されている頂点より1段
階高い接続優先度を設定する次ランク接続優先度設定手
段と、 を備えた請求項2に記載のポリゴンメッシュ接続装置。
3. An initial connection priority setting means for searching for an end point of a polygon mesh and setting a lowest connection priority to the searched end point; and for each vertex of the polygon mesh, After judging whether the connection priority has already been set, adjacent to the vertex for which the connection priority has already been set, to the vertex for which the connection priority has not been set, from the vertex for which the connection priority has been set 3. The polygon mesh connection device according to claim 2, further comprising: a next rank connection priority setting means for setting a connection priority one level higher.
【請求項4】 前記接続優先度設定手段は、 ある頂点が端点であるかどうかを判定する端点判定手段
と、 ある頂点からポリゴンに沿った道のりが最も近い端点お
よびその道のりを求める端点到達距離算出手段と、 前記端点到達距離算出手段によって算出された到達距離
をもとにその頂点の接続優先度を算出し、設定する接続
優先度算出手段とを備えた請求項2に記載のポリゴンメ
ッシュ接続装置。
4. An end point determining means for determining whether a certain vertex is an end point, an end point closest to a polygonal path from a certain vertex, and an end point reach distance calculation for obtaining the end point. 3. The polygon mesh connection device according to claim 2, further comprising: a connection priority calculating unit configured to calculate and set a connection priority of the vertex based on the arrival distance calculated by the end point arrival distance calculation unit. .
【請求項5】 ポリゴンで表現された立体形状同士を接
続するポリゴンメッシュ接続方法であって、接続する2
つの立体形状の頂点間の対応付けを行い、対応付けられ
た頂点間に新たな頂点を生成し、前記新たな頂点を頂点
として新たにポリゴンを生成し、不要となった頂点を削
除することを特徴とするポリゴンメッシュ接続方法。
5. A polygon mesh connecting method for connecting three-dimensional shapes represented by polygons, which comprises connecting 2
Performing the correspondence between the vertices of the three-dimensional shapes, generating a new vertex between the associated vertices, generating a new polygon with the new vertex as a vertex, and deleting the unnecessary vertex. Characteristic polygon mesh connection method.
JP7209219A 1995-07-25 1995-07-25 Polygon mesh connection device Expired - Fee Related JP2746214B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7209219A JP2746214B2 (en) 1995-07-25 1995-07-25 Polygon mesh connection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7209219A JP2746214B2 (en) 1995-07-25 1995-07-25 Polygon mesh connection device

Publications (2)

Publication Number Publication Date
JPH0944696A true JPH0944696A (en) 1997-02-14
JP2746214B2 JP2746214B2 (en) 1998-05-06

Family

ID=16569325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7209219A Expired - Fee Related JP2746214B2 (en) 1995-07-25 1995-07-25 Polygon mesh connection device

Country Status (1)

Country Link
JP (1) JP2746214B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2410459A (en) * 2004-02-02 2005-08-03 Peter David Hurley Three dimensional model making
US20140355828A1 (en) * 2013-05-31 2014-12-04 Canon Kabushiki Kaisha Setting apparatus, setting method, and storage medium
CN110704561A (en) * 2019-09-24 2020-01-17 武汉汉达瑞科技有限公司 Map edge pasting method, terminal device and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2410459A (en) * 2004-02-02 2005-08-03 Peter David Hurley Three dimensional model making
US20140355828A1 (en) * 2013-05-31 2014-12-04 Canon Kabushiki Kaisha Setting apparatus, setting method, and storage medium
US9904865B2 (en) * 2013-05-31 2018-02-27 Canon Kabushiki Kaisha Setting apparatus which sets a detection region for a detection process
CN110704561A (en) * 2019-09-24 2020-01-17 武汉汉达瑞科技有限公司 Map edge pasting method, terminal device and storage medium
CN110704561B (en) * 2019-09-24 2022-04-22 武汉汉达瑞科技有限公司 Map edge pasting method, terminal device and storage medium

Also Published As

Publication number Publication date
JP2746214B2 (en) 1998-05-06

Similar Documents

Publication Publication Date Title
JP2753085B2 (en) Shape modeling method and apparatus
Xia et al. Dynamic view-dependent simplification for polygonal models
US7212205B2 (en) Curved surface image processing apparatus and curved surface image processing method
US6016153A (en) Method to convert non-manifold polyhedral surfaces into manifold surfaces
JP2010176347A (en) Shortest path retrieval method and device
US6578189B2 (en) Hexahedral mesh generation method and device
JPH08194840A (en) Graphic input and output device
US6781582B1 (en) Mesh generator for and method of generating meshes in an extrusion process
JP3650355B2 (en) Computer system, method and computer program for accelerating rendering of geometric models
JP2003132099A (en) Method and apparatus for creating analytical model
CN112221144A (en) Three-dimensional scene path finding method and device and three-dimensional scene map processing method and device
CN115481497A (en) Volume parameterization modeling method based on feature framework
JP2011133930A (en) Shape optimization program, method and device
JP2746214B2 (en) Polygon mesh connection device
JP2003030254A (en) Method for deforming three-dimensional shape model
JP4771807B2 (en) Computer-aided design apparatus, program and method thereof
KR20010046823A (en) Automatic CAD Model Synthesis From Unorganized 3-D Range Data
JP2594212B2 (en) Adaptive and hierarchical grid representation generator for images
JP2737132B2 (en) Object surface shape data creation method
Bedregal et al. A study on size-optimal longest edge refinement algorithms
JP7077913B2 (en) Centerline simplification device, network data generation system, and program
JP2003346177A (en) Radiosity geometric processing method using triangular patch
JP3251877B2 (en) Three-dimensional grid generation method and system
JP2828759B2 (en) Free-form surface division method
Szymczak et al. NURBS-Based Geometry Repair in Capstone

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees