JP2740484B2 - Graphic processing method - Google Patents

Graphic processing method

Info

Publication number
JP2740484B2
JP2740484B2 JP7249342A JP24934295A JP2740484B2 JP 2740484 B2 JP2740484 B2 JP 2740484B2 JP 7249342 A JP7249342 A JP 7249342A JP 24934295 A JP24934295 A JP 24934295A JP 2740484 B2 JP2740484 B2 JP 2740484B2
Authority
JP
Japan
Prior art keywords
dimensional
roll
roll surface
graphic processing
shape data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP7249342A
Other languages
Japanese (ja)
Other versions
JPH0991411A (en
Inventor
茂幸 村山
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 Software Chubu Ltd
Original Assignee
NEC Software Chubu 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 NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP7249342A priority Critical patent/JP2740484B2/en
Publication of JPH0991411A publication Critical patent/JPH0991411A/en
Application granted granted Critical
Publication of JP2740484B2 publication Critical patent/JP2740484B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、図形処理方式に関
し、特に二次元の平面図形と三次元のロール形状図形と
の図形変換方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic processing system, and more particularly, to a graphic conversion system between a two-dimensional plane figure and a three-dimensional roll figure.

【0002】[0002]

【従来の技術】従来、この種の図形処理方式は、二次元
の形状データから三次元の曲面データに変換して表示す
る曲面データ変換方式と、複数の三次元平面をつなげる
ことによってロール曲面を近似して表示する方式であっ
て、曲面データ変換方式に比して計算量を削減すること
ができるがロール図形の自然性で劣る三次元平面近似方
式がある。
2. Description of the Related Art Conventionally, this type of graphic processing system converts a two-dimensional shape data into a three-dimensional surface data by converting the two-dimensional shape data into a three-dimensional surface data and displaying the roll surface by connecting a plurality of three-dimensional planes. There is a three-dimensional plane approximation method which approximates and displays the data, which can reduce the amount of calculation as compared with the curved surface data conversion method, but is inferior in the naturalness of the roll figure.

【0003】図7は、上記従来技術の概念図であり、
(a)は平面図、(b)は曲面データ変換方式により表
示されたロール形状、(c)は三次元平面近似方式によ
り表示されたロール形状である。
FIG. 7 is a conceptual diagram of the above-mentioned prior art.
(A) is a plan view, (b) is a roll shape displayed by a curved surface data conversion method, and (c) is a roll shape displayed by a three-dimensional plane approximation method.

【0004】曲面データ変換方式は、二次元のデータが
ロール曲面のどの位置にあるかを微分方程式を解いて求
め、三次元の曲線データを作成表示する。また、三次元
平面近似方式では、図8に示すように、接続する平面の
接続先(稜線)がロール曲面上にある接触平面群として
近似表現する。
In the curved surface data conversion method, the position of two-dimensional data on a roll surface is determined by solving a differential equation, and three-dimensional curve data is created and displayed. In the three-dimensional plane approximation method, as shown in FIG. 8, a connection destination (ridge line) of a plane to be connected is approximately expressed as a group of contact planes on a roll curved surface.

【0005】[0005]

【発明が解決しようとする課題】上述した従来の方式
は、曲面データ変換方式では、二次元の平面から三次元
の曲面データに変換する場合、あるいは逆に三次元デー
タから平面形状に戻す場合、微分方程式を解いて変換を
行うので、計算量が多くなり、高性能なコンピュータが
必要になるという欠点があり、一方、三次元平面近似方
式では、三次元の近似ロール形状はロール曲面に稜線が
接触する平面の連結によって作成されるため、近似され
た接触平面群のロール方向の長さが、実際のロール形状
の長さよりも小さくなり、作成された三次元平面から二
次元平面に戻す場合は、長さの補正が必要になるという
欠点があった。
In the conventional method described above, the curved surface data conversion method is used for converting a two-dimensional plane into three-dimensional curved surface data, or conversely, for converting a three-dimensional data back to a planar shape. Since the transformation is performed by solving the differential equation, there is a disadvantage that the calculation amount is large and a high-performance computer is required.On the other hand, in the three-dimensional plane approximation method, the three-dimensional approximate roll shape has ridge lines on the roll surface. When the length of the approximated contact plane group in the roll direction is smaller than the actual roll shape length because it is created by connecting the contacting planes, and when returning from the created 3D plane to the 2D plane, However, there is a disadvantage that the length needs to be corrected.

【0006】[0006]

【課題を解決するための手段】第1の発明は、二次元の
平面図形を三次元のロール曲面に変換し変換された前記
三次元ロール曲面を三次元図形処理装置を介して表示装
置に表示する場合の図形処理方式において、前記二次元
の平面図形の展開図形状データを記憶する展開図形状デ
ータ記憶手段と、前記展開図形状データで定義される前
記二次元の平面図形を第1のアルゴリズムによりロール
方向と垂直な方向に分割するロール曲面分割手段と、分
割された前記二次元の平面図形を第2のアルゴリズムに
より前記三次元のロール曲面に近似する分割面接続処理
手段と、近似された前記三次元のロール曲面を前記三次
元図形処理装置を介し表示装置に表示する展開図制御装
置とを備えたことを特徴とする。
A first invention converts a two-dimensional plane figure into a three-dimensional roll surface and displays the converted three-dimensional roll surface on a display device via a three-dimensional figure processing device. In the graphic processing method in the case where the two-dimensional plane figure is developed, the developed figure shape data storage means for storing the developed figure shape data of the two-dimensional plane figure; Roll surface dividing means for dividing the two-dimensional planar figure into a three-dimensional roll curved surface by a second algorithm by a second algorithm. And a development control device for displaying the three-dimensional roll curved surface on a display device via the three-dimensional graphic processing device.

【0007】また、第2の発明は第1の発明において、
前記第1のアルゴリズムが、前記展開図形状データ対応
に予め用意された展開図作成情報に基き、予め用意され
た分割個数算出式を用いて前記ロール方向と垂直な方向
の分割個数とその時の分割長を算出する方法であり、前
記第2のアルゴリズムが、前記分割個数と前記分割長を
用いて前記展開図形状データで定義された前記ロール曲
面を近似する方法であることを特徴とする。
[0007] The second invention is based on the first invention.
The first algorithm is based on the development view creation information prepared in advance corresponding to the development view shape data, and calculates the number of divisions in the direction perpendicular to the roll direction and the division at that time using a division number calculation formula prepared in advance. A method of calculating a length, wherein the second algorithm is a method of approximating the roll surface defined by the developed view shape data using the number of divisions and the division length.

【0008】[0008]

【発明の実施の形態】次に、本発明について図面を参照
して説明する。
Next, the present invention will be described with reference to the drawings.

【0009】図1は本発明の一実施例を示すブロック
図、図2は図1におけるロール形状近似装置1の動作を
示すフロー図、図3は平面に展開したロール曲面とロー
ル形状の断面を示す図、図4は図3に示した展開平面を
複数面に分割したイメージ図、図5は図4に示した分割
平面をロール形状に近似した時の断面図、図6は本発明
により処理した結果の表示例を示す図である。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a flowchart showing the operation of the roll shape approximating apparatus 1 in FIG. 1, and FIG. 3 is a roll curved surface developed on a plane and a cross section of the roll shape. FIG. 4, FIG. 4 is an image diagram in which the developed plane shown in FIG. 3 is divided into a plurality of surfaces, FIG. 5 is a cross-sectional view when the divided plane shown in FIG. 4 is approximated to a roll shape, and FIG. It is a figure showing an example of a display of a result.

【0010】本実施例の図形処理方式は、図1に示すよ
うに、ロール形状指示装置1と三次元図形処理装置2と
表示装置21と展開図データ作成装置3と展開図形状デ
ータ31と展開図作成情報4と展開図制御装置5とから
構成される。
As shown in FIG. 1, the graphic processing method of the present embodiment comprises a roll shape designating device 1, a three-dimensional graphic processing device 2, a display device 21, a developed view data creating device 3, a developed view shape data 31, It is composed of diagram creation information 4 and a development diagram control device 5.

【0011】ロール形状近似装置1は、ロール曲面分割
手段11と分割面接続処理手段12とを含んで構成され
る。
The roll shape approximating apparatus 1 includes a roll curved surface dividing means 11 and a divided surface connection processing means 12.

【0012】次に、図1〜図6を参照しながら本実施例
の図形処理方式の動作について説明する。
Next, the operation of the graphic processing system of this embodiment will be described with reference to FIGS.

【0013】展開図データ作成装置3からロール形状近
似装置1が起動されると、ロール曲面分割手段11が起
動される。ロール曲面分割手段11は起動されると、図
6のロール曲面情報取得処理201にて、展開図データ
作成装置3で作成された展開図形状データ31に記憶さ
れている図3に示すような展開図平面形状を表す要素デ
ータD1〜D4と、断面形状を表すロール中心角Θ1と
ロール半径Rを読み込み、分割長計算処理202にて、
展開図作成情報4に記憶されている分割長L1と分割基
準角度Aを読み込み、図4に示す分割個数Nと分割長L
2を次式に基いて計算する。尚、分割基準角度Aは、シ
ステムで予め定めた分割に際して基準となる角度であっ
て、経験則などから決定される値である。
When the roll shape approximating device 1 is started from the developed view data creating device 3, the roll curved surface dividing means 11 is started. When the roll surface dividing means 11 is activated, in the roll surface information acquisition processing 201 in FIG. 6, the development as shown in FIG. 3 stored in the development view shape data 31 created by the development view data creation device 3 The element data D1 to D4 representing the figure plane shape, the roll center angle Θ1 representing the sectional shape, and the roll radius R are read.
The division length L1 and division reference angle A stored in the development view creation information 4 are read, and the division number N and division length L shown in FIG.
2 is calculated based on the following equation. Note that the division reference angle A is an angle serving as a reference at the time of division predetermined by the system, and is a value determined from an empirical rule or the like.

【0014】分割個数N=((Θ1*R−2*L1)/
(R*A*2))+2 分割長 =(Θ1*R−2*L1)/(N−2) NとL2が計算されると、分割面作成処理203にて、
前処理で読み込んだ分割長L1と計算した分割長L2か
ら図4に示すようにロール方向と垂直になるように要素
D1を基準としてH1からH(N−1)の線分により、
展開平面をF1〜FNまで分割し、分割平面データを作
成する。以上の処理が終了すると、ロール曲面分割手段
11は、分割面接続処理手段12に制御を渡す。
The number of divisions N = ((Θ1 * R-2 * L1) /
(R * A * 2)) + 2 division length = (Θ1 * R−2 * L1) / (N−2) When N and L2 are calculated, division plane creation processing 203
From the division length L1 read in the pre-processing and the division length L2 calculated, a line segment from H1 to H (N-1) with respect to the element D1 so as to be perpendicular to the roll direction as shown in FIG.
The developed plane is divided into F1 to FN, and divided plane data is created. When the above processing is completed, the roll curved surface dividing means 11 transfers control to the divided surface connection processing means 12.

【0015】分割面接続処理手段12は、分割面接続処
理204にて、図5に示すように図4におけるF1とF
Nの両端がロール曲面の両端に接するようにして、F1
とFNの他の両端間をN個の面F2により接続しロール
曲面の近似断面を作成する。
As shown in FIG. 5, F1 and F1 in FIG.
F1 so that both ends of N are in contact with both ends of the roll curved surface.
And the other ends of FN are connected by N surfaces F2 to create an approximate cross section of a roll curved surface.

【0016】分割面接続処理手段12は、処理が終了す
ると展開図制御装置5に制御を渡す。展開図制御装置5
は、図4の分割データおよび図5の断面データを用い
て、従来技術である三次元図形処理装置2を介して図6
に示すような三次元近似ロール形状を表示装置21に表
示する。
When the processing is completed, the split plane connection processing means 12 transfers control to the developed view control device 5. Development view control device 5
Is obtained by using the divided data of FIG. 4 and the cross-sectional data of FIG.
Is displayed on the display device 21 as shown in FIG.

【0017】上述したように、本発明は図5に示すよう
に、図3に示す二次元展開平面を図4のように分割し、
そのままの大きさでロール曲面近似するため、図6によ
うに作成された三次元形状を元の二次元平面に戻す場合
は長さの補正が不要になる効果がある。
As described above, the present invention divides the two-dimensional development plane shown in FIG. 3 as shown in FIG.
Since the roll surface is approximated with the size as it is, when the three-dimensional shape created as shown in FIG. 6 is returned to the original two-dimensional plane, there is an effect that the length correction becomes unnecessary.

【0018】[0018]

【発明の効果】以上説明したように、本発明は、二次元
平面を複数の平面に分割し、分割された平面から三次元
のロール形状を近似するようにしたことにより、三次元
のロール形状から二次元平面に戻す場合も、ロール方向
の長さの補正が不要になるという効果がある。
As described above, the present invention divides a two-dimensional plane into a plurality of planes and approximates the three-dimensional roll shape from the divided planes. Also, when returning to the two-dimensional plane from the above, there is an effect that the correction of the length in the roll direction becomes unnecessary.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】図1におけるロール形状近似装置1の動作を示
すフロー図である。
FIG. 2 is a flowchart showing an operation of the roll shape approximating apparatus 1 in FIG.

【図3】本実施例の平面に展開したロール曲面とロール
形状の断面を示す図である。
FIG. 3 is a diagram illustrating a roll curved surface developed on a plane and a cross section of a roll shape according to the present embodiment.

【図4】図3に示した展開平面を複数面に分割したイメ
ージ図である。
FIG. 4 is an image diagram in which the development plane shown in FIG. 3 is divided into a plurality of planes.

【図5】図4に示した分割平面をロール形状に近似した
時の断面図である。
5 is a cross-sectional view when the divided plane shown in FIG. 4 is approximated to a roll shape.

【図6】本発明により処理した結果の表示例を示す図で
ある。
FIG. 6 is a diagram showing a display example of a result processed according to the present invention.

【図7】従来技術の概念図である。FIG. 7 is a conceptual diagram of a conventional technique.

【図8】従来技術の説明図である。FIG. 8 is an explanatory diagram of a conventional technique.

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

1 ロール形状近似装置 2 三次元図形処理装置 3 展開図データ作成装置 4 展開図作成情報 5 展開図制御装置 11 ロール曲面分割手段 12 分割面接続処理手段 21 表示装置 31 展開図形状データ DESCRIPTION OF SYMBOLS 1 Roll shape approximation apparatus 2 3D graphic processing apparatus 3 Development view data creation apparatus 4 Development view creation information 5 Development view control apparatus 11 Roll surface division means 12 Division plane connection processing means 21 Display device 31 Development view shape data

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 二次元の平面図形を三次元のロール曲面
に変換し変換された前記三次元ロール曲面を三次元図形
処理装置を介して表示装置に表示する場合の図形処理方
式において、前記二次元の平面図形の展開図形状データ
を記憶する展開図形状データ記憶手段と、前記展開図形
状データで定義される前記二次元の平面図形を第1のア
ルゴリズムによりロール方向と垂直な方向に分割するロ
ール曲面分割手段と、分割された前記二次元の平面図形
を第2のアルゴリズムにより前記三次元のロール曲面に
近似する分割面接続処理手段と、近似された前記三次元
のロール曲面を前記三次元図形処理装置を介し表示装置
に表示する展開図制御装置とを備えたことを特徴とする
図形処理方式。
1. A graphic processing method for converting a two-dimensional planar graphic into a three-dimensional roll surface and displaying the converted three-dimensional roll surface on a display device via a three-dimensional graphic processing device. A developed shape data storage unit for storing developed shape data of the two-dimensional planar figure; and dividing the two-dimensional planar figure defined by the developed shape data into a direction perpendicular to the roll direction by a first algorithm. Roll surface dividing means; dividing surface connection processing means for approximating the divided two-dimensional plane figure to the three-dimensional roll surface by a second algorithm; and converting the approximated three-dimensional roll surface to the three-dimensional roll surface. A graphic processing system, comprising: a developed view control device for displaying on a display device via the graphic processing device.
【請求項2】 前記第1のアルゴリズムが、前記展開図
形状データ対応に予め用意された展開図作成情報に基
き、予め用意された分割個数算出式を用いて前記ロール
方向と垂直な方向の分割個数とその時の分割長を算出す
る方法であり、前記第2のアルゴリズムが、前記分割個
数と前記分割長を用いて前記展開図形状データで定義さ
れた前記ロール曲面を近似する方法であることを特徴と
する請求項1記載の図形処理方式。
2. The method according to claim 1, wherein the first algorithm divides the image in a direction perpendicular to the roll direction using a division number calculation formula prepared in advance, based on development drawing creation information prepared in advance corresponding to the development drawing shape data. A method of calculating the number and the division length at that time, wherein the second algorithm is a method of approximating the roll surface defined by the developed view shape data using the division number and the division length. 2. The graphic processing method according to claim 1, wherein:
JP7249342A 1995-09-27 1995-09-27 Graphic processing method Expired - Lifetime JP2740484B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7249342A JP2740484B2 (en) 1995-09-27 1995-09-27 Graphic processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7249342A JP2740484B2 (en) 1995-09-27 1995-09-27 Graphic processing method

Publications (2)

Publication Number Publication Date
JPH0991411A JPH0991411A (en) 1997-04-04
JP2740484B2 true JP2740484B2 (en) 1998-04-15

Family

ID=17191602

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7249342A Expired - Lifetime JP2740484B2 (en) 1995-09-27 1995-09-27 Graphic processing method

Country Status (1)

Country Link
JP (1) JP2740484B2 (en)

Also Published As

Publication number Publication date
JPH0991411A (en) 1997-04-04

Similar Documents

Publication Publication Date Title
EP0360155B1 (en) Image transformation method and device
JP3466661B2 (en) Image processing apparatus and method
US4974177A (en) Mapping circuit of a CRT display device
US7924278B2 (en) Real-time GPU rendering of piecewise algebraic surfaces
JP2925587B2 (en) Rasterization method
US5844567A (en) Computer graphics system and method for texture mapping using triangular interpolation
JP2740484B2 (en) Graphic processing method
KR950006644A (en) Image processing apparatus and method
JP3905182B2 (en) Image conversion method and apparatus
JPH06274149A (en) Method and device for varying width of outline font
JP3194779B2 (en) Filling device
JPH08194816A (en) Segment approximation method and its system
JP3229384B2 (en) Vector shape editing device
JP2787497B2 (en) Graphic drawing method and apparatus
JPH03144781A (en) Computer graphic apparatus and method
JPH068988B2 (en) Spline interpolation method
JP2586473B2 (en) Image conversion device
JP2854588B2 (en) Raster vector conversion method and line figure input device
JPS59188761A (en) Write system of picture memory
EP1308900A2 (en) Device for texture processing and mapping
JPH08335273A (en) Image generating device
JPH0683972A (en) Curve generating device
JP2000090260A (en) Method and device for converting image and record medium recording procedure for image conversion
JPH01125672A (en) Input device for three-dimensional graphic
JPS62154177A (en) Image converter

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19971216