JPH03252874A - Stereoscopic display processing system for plane - Google Patents

Stereoscopic display processing system for plane

Info

Publication number
JPH03252874A
JPH03252874A JP5131090A JP5131090A JPH03252874A JP H03252874 A JPH03252874 A JP H03252874A JP 5131090 A JP5131090 A JP 5131090A JP 5131090 A JP5131090 A JP 5131090A JP H03252874 A JPH03252874 A JP H03252874A
Authority
JP
Japan
Prior art keywords
plane
generatrix
point
display
dimensional
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
JP5131090A
Other languages
Japanese (ja)
Inventor
Kazuyuki Harada
一幸 原田
Toshiro Shibanuma
敏郎 柴沼
Koji Hirashima
平嶋 孝治
Toru Kanamori
金盛 亨
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP5131090A priority Critical patent/JPH03252874A/en
Publication of JPH03252874A publication Critical patent/JPH03252874A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To display stereoscopically a given plane figure at high speed by drawing a virtual line in a generatrix direction, and drawing only a necessary line based on the relation between the line and the original plane figure. CONSTITUTION:When plane figure data 11 showing the outline of the plane figure is given, and it is displayed stereoscopically, the stereoscopic figure to be outputted to a display 16 is generated by a generatrix display processing part 13 to display a part to show the external form of the generatrix and a base outline display processing part 14 to display the visible part of the outline of the base. Then, by the generatrix display processing part 13 and the base outline display processing part 14, the virtual lines are drawn in the generatrix direction, and the line to be displayed and the line not to be displayed are distinguished from each other on the basis of the relation between these lines and the original plane figure, and only the necessary lines are selected and drawn. Thus, high-speed stereoscopic display can be realized.

Description

【発明の詳細な説明】 〔概要〕 文字を含む平面図形を立体的に表示する計算機システム
における平面図形の立体化表示処理方式与えられた平面
図形を立体的に高速に表示できるようにすることを目的
とし。
[Detailed Description of the Invention] [Summary] A three-dimensional display processing method for a two-dimensional figure in a computer system that three-dimensionally displays a two-dimensional figure including characters. With a purpose.

元の平面図形における母線の引ける候補点から下ろされ
る母線方向線について、候補点のすぐ下の点が元の平面
図形の内部でないときに2元の平面図形と交わる点また
は底面となる図形の対応点のうち、近い方の点まで、候
補点からの母線を引く母線表示処理部と9元の平面図形
に対応する底面となる図形の各候補点間の輪郭上の点か
ら、母線方向に線を引き上げ、すぐ上の点が元の平面図
形の内部でないときに1元の平面図形の対応点まで仮想
的に引いた母線と元の平面図形との交点がないことを条
件として、対応する底面となる図形の輪郭を表示する底
面輪郭表示処理部とを備え。
Regarding the generatrix direction line drawn from the candidate point where the generatrix can be drawn in the original plane figure, when the point immediately below the candidate point is not inside the original plane figure, the correspondence between the point that intersects with the two-dimensional plane figure or the figure that becomes the base The generatrix display processing unit draws a generatrix from the candidate point to the closest point among the points, and a line is drawn in the generatrix direction from the point on the outline between each candidate point of the figure that becomes the base corresponding to the 9-dimensional plane figure. , and if the point immediately above is not inside the original plane figure, then the corresponding bottom plane is drawn on the condition that there is no intersection between the generatrix virtually drawn to the corresponding point of the 1-dimensional plane figure and the original plane figure. and a bottom contour display processing section that displays the contour of the figure.

与えられた平面図形を立体化して表示するように槽底す
る。
The bottom of the tank is created so that a given planar figure is displayed in three dimensions.

〔産業上の利用分野〕[Industrial application field]

本発明は3文字を含む平面図形を立体的に表示する計算
機システムにおける平面図形の立体化表示処理方式に関
する。
The present invention relates to a three-dimensional display processing method for a two-dimensional figure in a computer system that three-dimensionally displays a two-dimensional figure containing three characters.

〔従来の技術〕[Conventional technology]

第6図は従来技術の例を示す。 FIG. 6 shows an example of the prior art.

例えば2文字図形編集装置において、立体的な文字・図
形を表示する場合に、従来9元の平面図形(平面図形は
文字の図形を含むものとする)を。
For example, when displaying three-dimensional characters and figures in a two-character figure editing device, conventional nine-dimensional plane figures (plane figures include character figures) are used.

幾層にも重ねることにより、立体的に見せるようにして
いた。すなわち、第6図に示すように、平面図形Xを立
体的に表示する場合に、その平面図形Xに対応する底面
図形Yから、順番に同じ図形を1ドツトずつ上に重ねて
、最上位の平面図形Xまで積み上げ、立体的に見せるよ
うな処理を行っていた。
By stacking many layers, it was made to look three-dimensional. That is, as shown in FIG. 6, when displaying a planar figure X three-dimensionally, starting from the bottom figure Y corresponding to the plane figure They were stacked up to plane figure X and processed to make it look three-dimensional.

また、取り扱う平面図形が、特定の形に限られている場
合には、その立体表示を行うためのすべての輪郭に関す
る座標情報を、あらかじめ標準的に用意するようにされ
ていた。
Furthermore, when the planar figure to be handled is limited to a specific shape, coordinate information regarding all contours for displaying the figure in three-dimensional form is prepared in advance as a standard.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

第6図に示すように、平面図形を幾層にも重ねて立体的
に表示する方式は、立体柱の高さが低い場合には、それ
ほど問題にはならないが、高い場合に2図形を1ドツト
ずつ積み上げるため2表示が遅くなるという問題があっ
た。
As shown in Figure 6, the method of stacking plane figures in multiple layers to display them three-dimensionally does not pose much of a problem when the height of the three-dimensional column is low, but when the height of the three-dimensional column is high, two figures are combined into one. There was a problem in that 2 display was slow because the dots were stacked one by one.

また2あらかじめ立体表示を行うためのすべての輪郭に
関する情報を用意しておく方式は、不特定多数の平面図
形を立体表示することはできず。
In addition, the method of preparing all contour information in advance for 3D display cannot display an unspecified number of planar figures in 3D.

またデータ量が多くなるという問題があった。Another problem was that the amount of data increased.

本発明は上記問題点の解決を図り、与えられた平面図形
を立体的に高速に表示できるようにすることを目的とし
ている。
An object of the present invention is to solve the above-mentioned problems and to enable a given planar figure to be displayed three-dimensionally and at high speed.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の構成例を示す。 FIG. 1 shows an example of the configuration of the present invention.

第1図において、10はCPUおよびメモリなどからな
る処理装置、11は立体表示の対象となる平面図形デー
タ、12は立体表示のための編集処理を行う図形編集処
理部、13は母線表示処理部、14は底面輪郭表示処理
部、15は立体表示のデータが格納される出力バッファ
、16はデイスプレィを表す。
In FIG. 1, 10 is a processing device including a CPU and memory, 11 is planar graphic data to be displayed in 3D, 12 is a graphic editing processing unit that performs editing processing for 3D display, and 13 is a generatrix display processing unit. , 14 represents a bottom contour display processing section, 15 represents an output buffer in which data for stereoscopic display is stored, and 16 represents a display.

本発明では、平面図形の輪郭を示す平面図形データ11
が与えられ、これの立体表示を行うときに、母線の外形
を示す部分を表示する母線表示処理部13と、底面の輪
郭で見える部分を表示する底面輪郭表示処理部14とに
より、デイスプレィ16に出力する立体的な図形を生成
する。
In the present invention, planar figure data 11 indicating the outline of a planar figure
is given, and when performing a three-dimensional display of this, a generatrix display processing section 13 that displays the part showing the outline of the generatrix, and a bottom contour display processing section 14 that displays the part that can be seen as the outline of the bottom surface, display it on the display 16. Generate a three-dimensional figure to output.

そのため、母線表示処理部13は2元の平面図形におけ
る母線の引ける候補点から下ろされる母線方向線につい
て、候補点のすぐ下の点が元の平面図形の内部でないと
きに9元の平面図形と交わる点または底面となる図形の
対応点のうち、近い方の点まで、候補点からの母線を引
く処理を行う。
Therefore, regarding the generatrix direction line drawn from a candidate point at which a generatrix can be drawn in a two-dimensional plane figure, when the point directly below the candidate point is not inside the original plane figure, the generatrix display processing unit 13 converts it into a nine-dimensional plane figure. A process is performed to draw a generatrix from the candidate point to the closest point among the intersection points or the corresponding points of the figures serving as the base.

また、底面輪郭表示処理部14は2元の平面図形に対応
する底面となる図形の各候補点間の点から、母線方向に
線を引き上げ、すぐ上の点が元の平面図形の内部でない
ときに1元の平面図形の対応点まで仮想的に引いた母線
と元の平面図形との交点がないことを条件として、対応
する底面となる図形の輪郭を表示する処理を行う。
In addition, the bottom contour display processing unit 14 pulls up a line in the generatrix direction from the points between the candidate points of the bottom figure corresponding to the binary plane figure, and when the point immediately above is not inside the original plane figure, Processing is performed to display the contour of the corresponding bottom figure on the condition that there is no intersection between the generatrix virtually drawn to the corresponding point of the one-dimensional plane figure and the original plane figure.

L作用〕 平面図形を立体的に表示するためには、底面や母線のう
ちの隠れ線が表示されないようにする必要かある。
L Effect] In order to display a planar figure three-dimensionally, it is necessary to prevent hidden lines among the base and generatrix lines from being displayed.

本発明では、母線表示処理部13および底面輪郭表示処
理部工4において、母線方向に仮想的な線を引き、それ
と元の平面図形との関係から1表示すべき線と表示しな
い線とを区別して、必要な線だけを選択して描くように
するので、高速な立体表示が可能になる。
In the present invention, the generatrix display processing section 13 and the bottom contour display processing section 4 draw virtual lines in the direction of the generatrix, and distinguish between lines that should be displayed and lines that should not be displayed based on the relationship between the virtual lines and the original planar figure. Separately, since only the necessary lines are selected and drawn, high-speed stereoscopic display becomes possible.

〔実施例〕〔Example〕

第2図は本発明の一実施例に係る母線表示処理部の処理
フロー、第3図は本発明の一実施例に係る底面輪郭表示
処理部の処理フロー、第4図は本発明の一実施例による
母線表示処理の例、第5図は本発明の一実施例による底
面輪郭表示処理の例を示す。
FIG. 2 is a processing flow of a generatrix display processing section according to an embodiment of the present invention, FIG. 3 is a processing flow of a bottom contour display processing section according to an embodiment of the present invention, and FIG. 4 is an embodiment of the present invention. Example of generatrix display processing according to example FIG. 5 shows an example of bottom contour display processing according to an embodiment of the present invention.

第1図に示す母線表示処理部13の処理を、第2図およ
び第4図に従って説明する。以下の説明における■〜■
は、第2図に示す処理■〜■に対応する。
The processing of the busbar display processing section 13 shown in FIG. 1 will be explained with reference to FIGS. 2 and 4. ■~■ in the following explanation
corresponds to processes ① to ② shown in FIG.

■ 第4図(イ)に示すような平面図形χの輪郭情報が
与えられたとする。まず1表示される母線の候補となる
候補点を選ぶ、候補点は、母線方向の線と平面図形Xと
の接点Aおよび線が折れ曲がる屈曲点B、C,Dである
。各候補点ごとに以下の処理を行う。
(2) Assume that contour information of a plane figure χ as shown in FIG. 4(a) is given. First, candidate points are selected as candidates for the generatrix to be displayed.The candidate points are the contact point A between the line in the generatrix direction and the planar figure X, and the bending points B, C, and D where the line bends. The following processing is performed for each candidate point.

■ 各候補点から母線方向に半直線を仮想的に引く、そ
して、その半直線と元の図形との交点を求める。すなわ
ち、第4図(ロ)に示すように。
■ Virtually draw a half-line from each candidate point in the direction of the generatrix, and find the intersection of the half-line and the original figure. That is, as shown in FIG. 4 (b).

母線方向に半直線11.f2.ff13.  I!、4
を引いて、平面図形Xとの交点を求める。この例では、
候補点Cから引いた線13が、平面図形Xと交点Mで交
わることになる。
Half line in the direction of the generatrix11. f2. ff13. I! , 4
Find the intersection with the plane figure X by subtracting . In this example,
A line 13 drawn from candidate point C intersects planar figure X at intersection M.

■ 交点の数が奇数か偶数かを判定する。0は偶数とす
る。また、母線方向の線と平面図形Xとが交差しないで
、1点で接しているだけのときは、それを交点としてカ
ウントしない、交点が奇数個のとき、その候補点は、平
面図形Xの内部にあることになる。したがって、母線を
表示しないで、処理■へ移る。第4図に示す例では。
■ Determine whether the number of intersections is odd or even. 0 is an even number. Also, if the line in the generatrix direction and the plane figure It will be inside. Therefore, the process moves to process (2) without displaying the bus line. In the example shown in FIG.

候補点Cから下ろす母線を表示対象から外すことになる
The generatrix drawn down from candidate point C is removed from the display target.

■ 交点が偶数個の場合2次のように1表示する母線を
引く、候補点から、母線方向の半直線と元の平面図形と
の最も近い交点までの距離と。
■ If there is an even number of intersections, draw a generatrix that is displayed as 1 as shown in quadratic order.The distance from the candidate point to the closest intersection between the half line in the generatrix direction and the original planar figure.

候補点から、底面図形の対応点までの距離を計算し、近
い方の点までの母線を引く、これにより、第4図(ハ)
に示すように、母IKfll!2.14が表示されるこ
とになる。
Calculate the distance from the candidate point to the corresponding point on the bottom figure, and draw the generating line to the closest point. This results in Figure 4 (C)
As shown in the mother IKflll! 2.14 will be displayed.

■ 以上の処理を各候補点ごとに行い、すべての候補点
についての処理が終了したならば1次の底面輪郭表示処
理に移る。
(2) The above process is performed for each candidate point, and when the process for all candidate points is completed, the process moves to the primary bottom contour display process.

次に、第1図に示す底面輪郭表示処理部14の処理を、
第3図および第5図に従って説明する。
Next, the processing of the bottom contour display processing section 14 shown in FIG.
This will be explained according to FIGS. 3 and 5.

以下の説明における■〜■は、第3図に示す処理■〜■
に対応する。
■~■ in the following explanation refers to the processes ■~■ shown in Figure 3.
corresponds to

■ 母線表示処理が終了した時点では2表示する図形の
状態は、第5図(イ)に示す状態になっている。そこで
、まず平面図形Xに対めする底面図形Yの位置を求める
。そして、平面図形Xにおける候補点A、B、C,Dに
対応する底面図形Yにおける候補点A’、B’、C’、
D’および母線表示処理で描いた母線と、底面図形Yと
の交点E、Fを求める。
(2) When the busbar display process is completed, the state of the figure to be displayed in two is as shown in FIG. 5(a). Therefore, first, the position of the bottom figure Y with respect to the plane figure X is determined. Then, candidate points A', B', C' in the bottom figure Y corresponding to the candidate points A, B, C, D in the plane figure X,
Intersection points E and F between D' and the generatrix drawn in the generatrix display process and the bottom figure Y are determined.

■ 処理■で求めたA°〜D°およびE、Fの各中間の
点をP1〜P6とする。これらの底面図形Yにおける輪
郭上の点が、平面図形Xの内部にあるかどうかを調べる
ために、第5図(口〉に示すように、母線方向に仮想的
な線を引き上げ1元の平面図形Xとの交点を求める。
(2) Let the intermediate points of A° to D°, E, and F obtained in process (2) be P1 to P6. In order to check whether these points on the outline of the bottom figure Y are inside the plane figure Find the intersection with figure X.

■ 交点の数が奇数か偶数かを判定する。奇数の場合、
その輪郭上の点は、平面図形Xの内部にあることになる
ので、その輪郭を表示しないで。
■ Determine whether the number of intersections is odd or even. If the number is odd,
The points on the outline will be inside the plane figure X, so do not display the outline.

処理■へ移る。Move on to processing ■.

■ 交点の数が偶数の場合、底面図形Yにおける各輪郭
上の点P1〜P6から1元の平面図形Xにおける対応点
まで、仮想的な線を引き、その線が平面図形Xの他の部
分と交差するかどうかを調べる。
■ If the number of intersection points is even, draw a virtual line from the points P1 to P6 on each contour of the base figure Y to the corresponding point in the one-dimensional plane figure Check if it intersects with

■ 交点があれば、その輪郭は隠れたところにあること
になるので1表示を行わず、処理■へ移る。第5@(ロ
)では1点P2.P3.P5゜P6を含む底面図形Yの
輪郭が2表示対象から外されることになる。
■ If there is an intersection, it means that the outline is hidden, so one is not displayed and the process moves to process (■). In the 5th @(b), 1 point P2. P3. The outline of the bottom figure Y including P5 and P6 is excluded from the display target.

■ 元の平面図形Xとの交点がない部分の底面図形にお
ける輪郭を表示する。この例では1点P1を含むA゛か
らBoまでの輪郭および点P4を含むEからDoまでの
輪郭が表示されることになる。
■Display the contour of the bottom figure of the part that does not intersect with the original plane figure X. In this example, the contour from A' to Bo, including one point P1, and the contour from E to Do, including point P4, are displayed.

■ 以上の処理を、各輪郭の点P1〜P6について行い
、すべて処理したならば、立体表示処理を終了する。以
上の処理により、最終的に第5図(ハ)に示すような立
体表示の図形が作成されることになる。
(2) The above processing is performed for the points P1 to P6 of each contour, and when all the processing is completed, the stereoscopic display processing is ended. Through the above processing, a three-dimensional display figure as shown in FIG. 5(c) is finally created.

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

以上説明したように1本発明によれば、平面図形が与え
られ左ヒきに、その立体表示を高速に実行することがで
きるようになる。
As explained above, according to the present invention, a two-dimensional figure is given and its three-dimensional display can be performed at high speed.

処理部の処理フロー 第4図は本発明の一実施例による母線表示処理の例。Processing flow of processing section FIG. 4 is an example of bus line display processing according to an embodiment of the present invention.

第5図は本発明の一実施例による底面輪郭表示処理の例
FIG. 5 is an example of bottom contour display processing according to an embodiment of the present invention.

第6図は従来技術の例を示す。FIG. 6 shows an example of the prior art.

図中、10は処理装置、11は平面図形データ12は図
形編集処理部、13は母線表示処理部14ば底面輪郭表
示処理部、15は出力バッファ。
In the figure, 10 is a processing device, 11 is a plane graphic data 12 is a graphic editing processing section, 13 is a generatrix display processing section 14, a bottom contour display processing section, and 15 is an output buffer.

16はデイスプレィを表す。16 represents a display.

Claims (1)

【特許請求の範囲】 文字を含む平面図形を立体的に表示する計算機システム
における平面図形の立体化表示処理方式において、 元の平面図形における母線の引ける候補点から下ろされ
る母線方向線について、候補点のすぐ下の点が元の平面
図形の内部でないときに、元の平面図形と交わる点また
は底面となる図形の対応点のうち、近い方の点まで、候
補点からの母線を引く母線表示処理部(13)と、 元の平面図形に対応する底面となる図形の各候補点間の
輪郭上の点から、母線方向に線を引き上げ、すぐ上の点
が元の平面図形の内部でないときに、元の平面図形の対
応点まで仮想的に引いた母線と元の平面図形との交点が
ないことを条件として、対応する底面となる図形の輪郭
を表示する底面輪郭表示処理部(14)とを備え、 与えられた平面図形を立体化して表示するようにしたこ
とを特徴とする平面図形の立体化表示処理方式。
[Claims] In a three-dimensional display processing method for a two-dimensional figure in a computer system that three-dimensionally displays a two-dimensional figure including characters, a candidate point is determined for a generatrix direction line drawn from a candidate point at which a generatrix can be drawn in the original two-dimensional figure. When the point immediately below is not inside the original planar figure, a generating line display process that draws the generating line from the candidate point to the closest point of the point that intersects with the original planar figure or the corresponding point of the figure that becomes the base. Part (13) and a line is pulled up in the generatrix direction from a point on the outline between each candidate point of the figure that becomes the base corresponding to the original plane figure, and when the point immediately above is not inside the original plane figure, , a bottom contour display processing unit (14) that displays the contour of the corresponding bottom figure on the condition that there is no intersection between the generatrix virtually drawn to the corresponding point of the original plane figure and the original plane figure; A three-dimensional display processing method for a planar figure, characterized in that a given planar figure is displayed in three-dimensional form.
JP5131090A 1990-03-02 1990-03-02 Stereoscopic display processing system for plane Pending JPH03252874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5131090A JPH03252874A (en) 1990-03-02 1990-03-02 Stereoscopic display processing system for plane

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5131090A JPH03252874A (en) 1990-03-02 1990-03-02 Stereoscopic display processing system for plane

Publications (1)

Publication Number Publication Date
JPH03252874A true JPH03252874A (en) 1991-11-12

Family

ID=12883345

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5131090A Pending JPH03252874A (en) 1990-03-02 1990-03-02 Stereoscopic display processing system for plane

Country Status (1)

Country Link
JP (1) JPH03252874A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2006092853A1 (en) * 2005-03-02 2008-08-07 株式会社ナビタイムジャパン Map display device and map display method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2006092853A1 (en) * 2005-03-02 2008-08-07 株式会社ナビタイムジャパン Map display device and map display method
US8040343B2 (en) 2005-03-02 2011-10-18 Navitime Japan Co., Ltd. Map display device and map display method
JP4964762B2 (en) * 2005-03-02 2012-07-04 株式会社ナビタイムジャパン Map display device and map display method

Similar Documents

Publication Publication Date Title
JPH05342310A (en) Method and device for three-dimensional conversion of linear element data
US20040036674A1 (en) Apparatus and method for associating voxel information with display positions
JP2907105B2 (en) 3D display device
US6774897B2 (en) Apparatus and method for drawing three dimensional graphics by converting two dimensional polygon data to three dimensional polygon data
JP2659372B2 (en) 3D display method for structures
JPH03252874A (en) Stereoscopic display processing system for plane
JP3586871B2 (en) 3D CT image display method
JP3626793B2 (en) Conversion method from 2D CAD diagram to 3D CAD diagram
JP2001266175A (en) Device/method for processing three-dimensional model and program providing method
JPH01291379A (en) Method and device for interference check of three-dimensional object
JP2599930B2 (en) 3D processing system
JPS6042986B2 (en) Figure three-dimensional processing method
EP0594337A2 (en) A data processing system
JP3791915B2 (en) 3D graphics display
JP3973868B2 (en) Parametric modeling system
JPH07302353A (en) Method for automatically generating three-dimensional graphic
JP2001092992A (en) Three-dimensional shape processing method and recording medium recording program for executing the same
JPS63167977A (en) Three-dimensional shape picking method
JPH08161383A (en) Drawing preparing device
JPH06266328A (en) Display method for three-dimensional position
JPH04125787A (en) Method and device for displaying three-dimensional graphic
JPS63261468A (en) Graphic processing system
JPH0241791B2 (en)
JPH0634220B2 (en) Bird's eye view creation method
JP2002042160A (en) Device and method for processing three-dimensional shape and storage medium storing program for performing this method