JPH01155481A - Three-dimensional shape display device - Google Patents

Three-dimensional shape display device

Info

Publication number
JPH01155481A
JPH01155481A JP62314696A JP31469687A JPH01155481A JP H01155481 A JPH01155481 A JP H01155481A JP 62314696 A JP62314696 A JP 62314696A JP 31469687 A JP31469687 A JP 31469687A JP H01155481 A JPH01155481 A JP H01155481A
Authority
JP
Japan
Prior art keywords
intersection
edge line
polyhedron
edge
plane
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
JP62314696A
Other languages
Japanese (ja)
Inventor
Hirotaka Sekine
関根 弘隆
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 JP62314696A priority Critical patent/JPH01155481A/en
Publication of JPH01155481A publication Critical patent/JPH01155481A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE:To perform the animation display of the cut and eliminated image of a polyhedron even when a large number of ridge lines exist by suppressing a time required for a display processing by providing a means to decide whether or not the display processing and an erasing processing should be performed on each ridge line of the polyhedron, respectively. CONSTITUTION:A cross data generating means 103 decides a crossing state with the plane of each ridge line of the polyhedron, and outputs the state to a ridge line crossing state storage means 105. Also, the crossing state of the ridge line in the cut and eliminated image of one picture before is transferred to a ridge line old crossing state storage means 107 via a transfer means 106. A decision means 108 makes access to the storage means 105 and 107, and compares the present crossing state of every ridge line of the polyhedron with the crossing state of one picture before, and decides whether or not the erasing processing and a plotting processing on each ridge line is required. A shape display means 109 performs no erasing processing or plotting processing on an unrequired ridge line.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は対話的に3次元形状モデルの作成を行う3次元
図形処理システムにおいて、多面体形状が平面により切
断除去されている画像を高速に表示する3次元形状表示
装置に関する。
Detailed Description of the Invention (Industrial Application Field) The present invention is a three-dimensional graphic processing system that interactively creates a three-dimensional shape model, and is capable of rapidly displaying an image in which a polyhedral shape is cut and removed by a plane. The present invention relates to a three-dimensional shape display device.

(従来の技術) 多面体形状が平面により切断除去されている画像を表示
する方式としては特願昭62−014588号「図形表
示装置」に記載きれている方式があった。第2図はこの
方式の動作を説明した図である。多面体形状が平面を境
に切断後除去される側と残存する側に分けられており、
多面体の全ての稜線201が、除去きれる稜線202.
残存する稜線203、平面と交差する稜線204に分類
きれる。そして、残存する稜線203と、平面と交差す
る各稜線の残存側に属する部分205が画面に表示され
、さらに平面と多面体各面による交線206も画面に表
示される。このようにして多面体形状が切断除去きれて
いる画像207が画面上に完成することになる。
(Prior Art) As a method for displaying an image in which a polyhedral shape is cut and removed by a plane, there is a method fully described in Japanese Patent Application No. 1988-014588 entitled "Graphic Display Device." FIG. 2 is a diagram explaining the operation of this system. The polyhedral shape is divided into the side that will be removed after cutting and the side that will remain after cutting.
All edges 201 of the polyhedron are edges 202 that can be removed.
They can be classified into remaining ridgelines 203 and ridgelines 204 that intersect with the plane. Then, the remaining edge lines 203 and the portions 205 belonging to the remaining side of each edge line that intersect with the plane are displayed on the screen, and the intersection lines 206 between the plane and each face of the polyhedron are also displayed on the screen. In this way, an image 207 in which the polyhedral shape has been cut and removed is completed on the screen.

(発明が解決しようとする問題点) 切断に用いる平面を連続的に動かした場合には、表示さ
れる多面体の切断除去画像も変化していく、平面の動き
に遅れないようにアニメーション的に切断除去画像を変
化させようとすると、多面体の切断除去画像の表示を高
速に行わねばならない、さらに、表示するだけでなく、
直前に表示した画像の消去も必要になってくる。
(Problem to be solved by the invention) When the plane used for cutting is moved continuously, the displayed image of the polyhedron cut and removed also changes. In order to change the removed image, it is necessary to display the polyhedron cut and removed image at high speed.
It is also necessary to delete the image that was displayed just before.

ところが、上述した1図形表示装置」では、多面体の残
存する稜線203の全ての稜線を毎回表示する必要があ
り、多面体の稜線数が非常に多くなった場合には、表示
処理に要する時間も増加し、アニメーション的に画像を
連続的に変化きせることができないという問題点があっ
た。
However, in the above-described one-figure display device, it is necessary to display all of the remaining edges 203 of the polyhedron each time, and when the number of edges of the polyhedron becomes extremely large, the time required for display processing also increases. However, there was a problem in that the image could not be changed continuously in an animation style.

本発明の目的は、このような問題点を解消し、多面体の
稜線数が多くなった場合にも、表示処理に要する時間を
抑えて、平面の動きに合わせて多面体の切断除去画像の
アニメーション表示を可能にする3次元形状表示装置の
提供にある。
The purpose of the present invention is to solve these problems and to reduce the time required for display processing even when the number of edges of a polyhedron increases, and to display an animation of an image of a polyhedron cut and removed in accordance with the movement of the plane. An object of the present invention is to provide a three-dimensional shape display device that makes it possible to display a three-dimensional shape.

(問題点を解決するための手段) 本発明の3次元形状表示装置は、多面体の形状データを
格納する形状データ格納手段と、多面体を切断する平面
の平面パラメータを入力する平面パラメータ入力手段と
、前記形状データ格納手段の内容と前記平面パラメータ
入力手段の出力から多面体形状と平面との交差データを
生成する交差データ生成手段と、前記交差データ生成手
段の出力を記憶する交差データ記憶手段と、前記交差デ
ータ生成手段の出力のうち多面体各稜線の平面との交差
状態を記憶する稜線交差状態記憶手段と、前記交差デー
タ生成手段から新しい交差状態データが出力されるごと
に前記稜線交差状態記憶手段の内容を退避転送する転送
手段と、前記転送手段より転送きれる多面体各稜線の交
差状態を記憶する稜線旧交差状態記憶手段と、前記稜線
交差状態記憶手段の内容と前記稜線旧交差状態記憶手段
の内容とを比較して多面体各稜線に表示処理と消去処理
をそれぞれ行うか否かを判定する判定手段と、前記形状
データ格納手段の内容と前記交差データ記憶手段の内容
と前記稜線交差状態記憶手段の内容と前記判定手段の出
力から多面体形状が平面によって切断除去されている画
像を線画表示する形状表示手段とから構成きれる。
(Means for Solving the Problems) A three-dimensional shape display device of the present invention includes: a shape data storage means for storing shape data of a polyhedron; a plane parameter input means for inputting plane parameters of a plane cutting the polyhedron; intersection data generation means for generating intersection data between a polyhedral shape and a plane from the contents of the shape data storage means and the output of the plane parameter input means; an intersection data storage means for storing the output of the intersection data generation means; An edge line intersection state storage means for storing the intersection state of each edge of the polyhedron with a plane among the outputs of the intersection data generation means; a transfer means for saving and transferring contents; an old edge intersection state storage means for storing the intersection state of each polyhedron edge line transferred by the transfer means; the contents of the edge intersection state storage means; and the contents of the old edge intersection state storage means. a determining means for determining whether display processing and erasing processing are to be performed on each edge of the polyhedron by comparing them; It consists of a shape display means for displaying a line drawing of an image in which a polyhedral shape is cut and removed by a plane based on the content and the output of the determination means.

(作用) 第1図は本発明の全体構成を示すブロック図である。(effect) FIG. 1 is a block diagram showing the overall configuration of the present invention.

第1図において101は形状データ格納手段であり、多
面体の形状データが格納されている。
In FIG. 1, 101 is a shape data storage means, in which shape data of a polyhedron is stored.

102は平面パラメータ入力手段であり、多面体を切断
する平面の平面パラメータが少しずつ変化しながら次々
と入力きれてくる。
Reference numeral 102 denotes a plane parameter input means, in which the plane parameters of the plane cutting the polyhedron are inputted one after another while changing little by little.

103は交差データ生成手段であり、平面パラメータ入
力手段102から平面パラメータを入力し、形状データ
格納手段101内の多面体形状データにアクセスして、
多面体と平面との交差データを生成する。交差データは
多面体の切断除去画像を表示するのに必要な多面体各稜
線の交差状態や交点座標などから構成きれる。
103 is an intersection data generation means, which inputs plane parameters from the plane parameter input means 102, accesses the polyhedral shape data in the shape data storage means 101,
Generate intersection data between a polyhedron and a plane. The intersection data can be composed of the intersection state of each edge line of the polyhedron and the coordinates of the intersection point, etc., which are necessary to display the cut and removed image of the polyhedron.

104は交差データ記憶手段であり、交差データ生成手
段103で生成された交差データを記憶する。
104 is an intersection data storage means, which stores the intersection data generated by the intersection data generation means 103.

105は稜線交差状態記憶手段であり、交差データ生成
手段103で生成きれた交差データのうち多面体各稜線
の平面との交差状態を取り込み記憶する。交差状態とは
、平面を境にして稜線が除去側にあるのか残存側にある
のか平面と交差しているのかの区別である。
Reference numeral 105 denotes an edge line intersection state storage means, which captures and stores the intersection state of each polyhedral edge line with a plane from among the intersection data generated by the intersection data generation means 103. The intersecting state is a distinction between whether the edge line is on the removal side, the remaining side, or intersects with the plane, with the plane as the boundary.

106は稜線交差状態を転送する転送手段であり、稜線
交差状態記憶手段105に新しい交差状態データが入力
されるごとに1画面前の古い交差状態を退避転送する。
Reference numeral 106 denotes a transfer means for transferring the edge line crossing state, and each time new crossing state data is input to the edge line crossing state storage means 105, the old crossing state from one screen before is saved and transferred.

107は稜線旧交差状態記憶手段であり、転送手段10
6から転送される稜線の交差状態を記憶する。
Reference numeral 107 is a ridgeline old intersection state storage means, and a transfer means 10
The intersection state of the edges transferred from 6 is stored.

108は稜線の描画あるいは消去処理を行うかどうか判
定する判定手段であり、稜線交差状態記憶手段105か
も現在の交差状態を取り込み、稜線旧交差状態記憶手段
106から1画面前の交差状態を取り込み、それらを比
較して描画処理あるいは消去処理を行うかどうかの判定
信号を出力する。
Reference numeral 108 denotes a determining means for determining whether to perform edge line drawing or erasing processing; the edge line crossing state storage means 105 also takes in the current crossing state; the old edge crossing state storing means 106 takes in the crossing state one screen before; By comparing them, a determination signal is output as to whether to perform drawing processing or erasing processing.

109は形状表示手段であり、形状データ格納手段10
1内の形状データと、交差データ記憶手段104内の交
差データにアクセスし、さらに判定手段108から出力
される稜線の描画および消去処理を行うか否かの判定に
基づき、1画面前における多面体各稜線の消去、現画面
における各稜線の描画を行い、多面体の切断除去画像の
表示更新を行う。
109 is a shape display means, and shape data storage means 10
1 and the intersection data in the intersection data storage means 104, and based on the determination of whether or not to perform edge line drawing and erasure processing output from the determination means 108, each polyhedron in the previous screen is accessed. The edges are erased, each edge is drawn on the current screen, and the display of the polyhedron cut and removed image is updated.

切断に用いる平面を連続的に動かした場合、毎回の切断
除去画像が急激に変化することはない。
When the plane used for cutting is continuously moved, the cut-and-removed image does not change suddenly each time.

例えば、第3図(a)から第3図(b)に画像が変化し
たとする。両者の変化を、平面と立体表面との交線、除
去される稜線、残存する稜線、平面と交差する稜線に分
けて考える。除去される稜線のグループからは稜線30
1が外れるが、それ以外の稜線は何の変化も受けない。
For example, suppose that the image changes from FIG. 3(a) to FIG. 3(b). The changes in both are considered by dividing them into the intersection line between the plane and the three-dimensional surface, the edge line that is removed, the edge line that remains, and the edge line that intersects the plane. Edge 30 from the group of edges to be removed
1 will be removed, but the other ridge lines will not undergo any changes.

残存する稜線のグループは稜線302と稜線303が加
わるが、それ以外の稜線について何の変化も受けない、
平面と交差する稜線のグループは稜線304と稜線30
5が外れ、稜線306が加わり、それ以外の稜線307
と稜線308も端点の位置が変化する。平面と立体表面
との交線のグループ309は個数および端点の位置が変
化して交線のグループ310のようになる。
Edges 302 and 303 are added to the remaining edge group, but the other edges do not undergo any changes.
The group of edges intersecting the plane is edge 304 and edge 30.
5 is removed, ridgeline 306 is added, and other ridgelines 307
The position of the end point of the edge line 308 also changes. The group 309 of lines of intersection between the plane and the three-dimensional surface changes in number and position of end points to become a group 310 of lines of intersection.

この例から考察すると、多面体の切断除去画像を構成す
る線分のうち、変化するのは切断する平面と直接関係し
ている部分、すなわち平面と交差する稜線および交線の
みであり、それ以外の稜線は変化を受けないということ
がわかる。例えば、第3図において残存稜線のグループ
311の部分は変化を受けない。
Considering this example, of the line segments that make up the cut-and-remove image of a polyhedron, only the parts that are directly related to the plane to be cut, that is, the ridge lines and intersection lines that intersect with the plane, change; It can be seen that the ridgeline does not undergo any change. For example, in FIG. 3, portions of group 311 of residual edges remain unchanged.

本発明の構成においては、交差データ生成手段において
多面体の各稜線の平面との交差状態、すなわち除去側か
残存側か交差するのかという状態が判定され、稜線交差
状態記憶手段に出力される。また、転送手段を介して、
1画面前の切断除去画像における稜線の交差状態が稜線
旧交差状態記憶手段に転送される。判定手段においては
、稜線交差状態記憶手段と稜線旧交差状態記憶手段をア
クセスして、多面体の各稜線ごとの現在の交差状態と1
画面前の交差状態を比較することによって、各稜線の消
去処理と描画処理が必要か否かを判定する。形状表示手
段では、不必要な稜線については消去処理、描画処理を
行わないようにする。
In the configuration of the present invention, the intersection data generation means determines the intersection state of each edge of the polyhedron with a plane, that is, whether the edge intersects on the removal side or the remaining side, and outputs it to the edge intersection state storage means. Also, via transfer means,
The intersection state of the edges in the cut-and-removed image one screen before is transferred to the old edge intersection state storage means. The determination means accesses the edge crossing state storage means and the old edge crossing state storage means, and calculates the current crossing state and one for each edge of the polyhedron.
By comparing the intersection state in front of the screen, it is determined whether each edge line needs erasing processing and drawing processing. The shape display means does not perform erasing or drawing processing on unnecessary edges.

このような構成をとることにより、表示上変化のない大
分部の稜線については、従来行っていた消去、描画処理
を省くことになるので、画像書き換えに要する時間を稜
線数の増加にたいしても抑えることができ、多面体の切
断除去画像のアニメーション表示が可能となる。
By adopting this configuration, the erasing and drawing processes that were conventionally performed for most of the ridge lines that do not change on the display can be omitted, so the time required to rewrite the image can be suppressed even when the number of ridge lines increases. This makes it possible to display animations of polyhedral cut and removed images.

(実施例) 第4図は本発明の一実施例を示す回路ブロック図である
(Embodiment) FIG. 4 is a circuit block diagram showing an embodiment of the present invention.

401は平面パラメータ入力回路であり、例えば特願昭
61−185558号「平面入力装置」に記載されてい
るような回路構成により、平面のパラメータを外部より
入力し一時的に記憶する処理が繰り返し行われる。
Reference numeral 401 denotes a plane parameter input circuit, which has a circuit configuration as described in, for example, Japanese Patent Application No. 185558/1982 "Plane Input Device", and repeatedly performs the process of inputting plane parameters from the outside and temporarily storing them. be exposed.

402は形状データメモリであり、多面体形状における
頂点、稜線および面のデータが記憶されている。それぞ
れ頂点ID、稜線1.Dおよび面IDによってアクセス
可能となっている。
A shape data memory 402 stores data on vertices, edges, and faces in a polyhedral shape. Vertex ID, edge 1. D and surface ID.

403は稜線判定回路であり、平面パラメータ入力回路
から送られる平面パラメータを入力し、形状データメモ
リをアクセスして、多面体各稜線が平面の除去側にある
のか残存側にあるのか交差するのかを判定し、判定結果
を数値表現したものを出力する。きらに交差する場合に
はその交点の投影位置データも出力する。
403 is an edge line determination circuit which inputs the plane parameters sent from the plane parameter input circuit, accesses the shape data memory, and determines whether each edge line of the polyhedron is on the removed side of the plane, on the remaining side, or intersects. and outputs a numerical representation of the judgment result. If it intersects with Kira, the projected position data of the intersection is also output.

404は交差稜線対応づけ回路であり、多面体各稜線の
うち多面体の同一面を共有する交差稜線の組を全て算出
し記憶する。
404 is a crossing edge matching circuit which calculates and stores all sets of crossing edges that share the same face of the polyhedron among the edges of the polyhedron.

なお、形状データメモリ402.稜線判定回路4o3゜
交差稜線対応づけ回路404は特願昭62−01458
8号1図形表示装置Jに記載されている回路構成で実現
できる。
Note that the shape data memory 402. The ridge line determination circuit 4o3° cross ridge line matching circuit 404 is based on Japanese Patent Application No. 62-01458.
This can be realized using the circuit configuration described in No. 8 1 Graphic Display Device J.

405は稜線描画用の稜線ID発生カウンタであり、順
に全ての稜線IDを発生する。
Reference numeral 405 is an edge line ID generation counter for edge line drawing, which generates all edge line IDs in order.

406は交差状態転送用の稜線ID発生カウンタであり
、順に全ての稜線IDを発生する。
Reference numeral 406 is an edge line ID generation counter for transferring the crossing state, which generates all edge line IDs in order.

407は稜線交差状態メモリであり、稜線判定回路40
3から送られる稜線の交差状態を数値化したものを稜線
IDごとに記憶する。きらに稜線ID発生カウンタ40
5あるいは稜線ID発生カウンタ406から稜線IDを
入力しその稜線の交差状態の値を出力する。
407 is an edge line crossing state memory, and the edge line determination circuit 40
The numerical value of the intersection state of the edges sent from 3 is stored for each edge ID. Kirani ridgeline ID generation counter 40
5 or input the edge line ID from the edge line ID generation counter 406 and output the value of the intersection state of the edge line.

408はデータ転送回路であり、稜線交差状態メモリ4
07から出力される稜線の交差状態の値を稜線旧交差状
態メモリ409に送る。
408 is a data transfer circuit, and the edge line crossing state memory 4
The edge line intersection state value output from 07 is sent to the edge line old intersection state memory 409.

409は稜線旧交差状態メモリであり、データ転送回路
408から転送される稜線の交差状態の値を稜線IDカ
ウンタ406かも入力した稜線IDに従って記憶する。
Reference numeral 409 denotes an edge line old intersection state memory, which stores the value of the edge line intersection state transferred from the data transfer circuit 408 according to the edge line ID inputted to the edge line ID counter 406 as well.

410は描画判定回路であり、稜線交差状態メモリ40
7と稜線旧交差状態メモリ409かも稜線の現在の交差
状態の値と1画面前の交差状態の値を入力して、1画面
前の各稜線を消去するかしないか、現画面において残存
稜線として稜線の両端を結ぶ線分を描画するかしないか
、現画面において交差稜線として稜線の一端と交点を結
ぶ線分を描画するかしないかを判定する0判定の結果、
消去オンオフ信号、残存稜線描画オンオフ信号、交差稜
線オンオフ信号を出力する。
410 is a drawing determination circuit, and an edge line intersection state memory 40
7 and edge line old intersection state memory 409 Input the value of the current intersection state of the edge line and the value of the intersection state one screen ago, and select whether or not to delete each edge line from one screen ago as a remaining edge line on the current screen. The result of the 0 judgment that determines whether or not to draw a line segment that connects both ends of the edge line, or whether or not to draw a line segment that connects one end of the edge line and the intersection point as an intersecting edge line on the current screen,
Outputs an erase on/off signal, a residual edge drawing on/off signal, and an intersecting edge line on/off signal.

411は残存稜線描画回路であり、稜線ID発生カウン
タ405から稜線IDが入力され、描画判定回路410
から残存稜線描画オンの信号が送られている場合に、形
状データメモリ402をアクセスして稜線両端の頂点の
投影位置を得て、それを結ぶ線分を描く。
Reference numeral 411 denotes a remaining edge line drawing circuit, into which the edge line ID is input from the edge line ID generation counter 405, and the drawing judgment circuit 410
When a remaining edge line drawing ON signal is sent from , the shape data memory 402 is accessed to obtain the projected positions of the vertices at both ends of the edge line, and a line segment connecting them is drawn.

412は交差稜線描画回路であり、稜線ID発生カウン
タ405から稜線IDが入力され、描画判定回路410
から交差稜線描画オンの信号が送られている場合に、形
状データメモリ402をアクセスして稜線の残存側の頂
点の投影位置を得て、さらに稜線判定回路403をアク
セスして交点の投影位置を得て、両者を結ぶ線分を描く
Reference numeral 412 denotes a crossing edge line drawing circuit, into which the edge line ID is input from the edge line ID generation counter 405, and the drawing judgment circuit 410
When an intersecting edge line drawing ON signal is sent from , the shape data memory 402 is accessed to obtain the projected position of the vertex on the remaining side of the edge line, and the edge line determination circuit 403 is further accessed to determine the projected position of the intersection point. and draw a line segment connecting the two.

413は稜線描画メモリであり、稜線ID発生カウンタ
405から稜線IDを入力し、残存稜線描画回路411
および交差稜線描画回路412において描画した稜線の
両端点の投影位置を入力し、稜線IDごとに記憶する。
Reference numeral 413 denotes an edge line drawing memory, which inputs the edge line ID from the edge line ID generation counter 405 and outputs the remaining edge line drawing circuit 411.
Then, the projected positions of both end points of the edge drawn in the intersecting edge drawing circuit 412 are inputted and stored for each edge ID.

414は稜線消去回路であり、稜線ID発生カウンタ4
05から稜線IDを入力し、描画判定回路410から消
去オンの信号が送られている場合に、稜線描画稜線メモ
リ413をアクセスして、画面上に既に描画されている
稜線の両端点の投影位置を得て、稜線を画面から消去す
る。
414 is an edge line erasing circuit, and the edge line ID generation counter 4
When the edge line ID is input from 05 and an erase-on signal is sent from the drawing determination circuit 410, the edge drawing edge memory 413 is accessed and the projection position of both end points of the edge line that has already been drawn on the screen is calculated. and erase the edge from the screen.

415は交線描画回路であり、交差稜線対応づけ回路4
04から出力される対応する交差稜線IDに組のデータ
をもとに稜線判定手段403をアクセスして各交差稜線
の交点の投影位置を得て、両者を結ぶ線分を描く。
415 is an intersection line drawing circuit, and intersection edge line matching circuit 4
The edge line determination means 403 is accessed based on the corresponding intersecting edge ID set data output from 04 to obtain the projected position of the intersection of each intersecting edge line, and a line segment connecting the two is drawn.

416は交線描画メモリであり、交線描画回路415に
おいて描画した交線の両端点の投影位置を入力し順に記
憶する。
Reference numeral 416 denotes an intersection line drawing memory, which inputs and sequentially stores the projected positions of both end points of the intersection line drawn in the intersection line drawing circuit 415.

417は交線消去回路であり、交線描画メモリ416を
アクセスして画面上に既に描画されている交線の両端点
の投影位置を得て、全ての交線を画面から消去する。
An intersection line erasing circuit 417 accesses the intersection line drawing memory 416 to obtain the projected positions of both end points of the intersection lines already drawn on the screen, and erases all the intersection lines from the screen.

418は残存稜線描画回路411.交差稜線描画回路4
12、稜線消去回路414.交線描画回路415.交線
消去回路417において描画あるいは消去きれる線分を
表示するデイスプレィ画面である。
418 is a remaining edge line drawing circuit 411. Intersecting edge drawing circuit 4
12. Edge line erasure circuit 414. Intersection line drawing circuit 415. This is a display screen that displays line segments that can be drawn or erased by the intersection line erasing circuit 417.

以上の韮うな構成の3次元形状表示装置において、多面
体形状の切断除去画像が更新表示きれる動作を説明する
In the three-dimensional shape display device having the above-described similar configuration, the operation of updating and displaying a polyhedral-shaped cut-and-removed image will be described.

(1)稜線ID発生カウンタ406から順に全ての稜!
lIDが発生し、稜線交差状態メモリ407内の稜線の
交差状態の値が、データ転送回路408を介して、稜線
旧交差状態メモリ409へ転送きれる。
(1) All edges in order from the edge ID generation counter 406!
lID is generated, and the value of the edge crossing state in the edge crossing state memory 407 is transferred to the old edge crossing state memory 409 via the data transfer circuit 408.

これで1画面前の稜線の交差状態が稜線旧交差状態メモ
リ409に退避きれる。
This allows the edge line intersection state from one screen ago to be saved in the edge line old intersection state memory 409.

(2)平面パラメータ入力回路401において新しい平
面パラメータが入力される。
(2) New plane parameters are input into the plane parameter input circuit 401.

(3)稜線判定回路403において、新しい平面による
多面体各稜線の交差状態を算出し稜線交差状態メモリ4
07に出力する。また、交点の投影位置も算出し記憶す
る。
(3) The edge line determination circuit 403 calculates the intersection state of each edge line of the polyhedron by the new plane, and stores the intersection state in the edge line intersection state memory 4.
Output on 07. The projected position of the intersection is also calculated and stored.

(4)交差稜線対応づけ回路404において、対応する
交差稜線の組を算出し記憶する。
(4) The intersecting edge matching circuit 404 calculates and stores a set of corresponding intersecting edges.

(5)稜線ID発生カウンタ405から順に稜線IDが
発生する。
(5) Edge line IDs are generated in order from the edge line ID generation counter 405.

(6)(5)で発生した稜線IDの稜線について稜線交
差状態メモリ407および稜線旧交差状態メモリ409
内における現在の交差状態と1画面前の交差状態の値が
描画判定回路410へ送られる。
(6) Edge line intersection state memory 407 and edge line old intersection state memory 409 for the edge line with the edge ID that occurred in (5)
The values of the current intersecting state and the intersecting state of one screen before are sent to the drawing determination circuit 410.

(7)描画判定回路410では稜線の交差状態のデータ
に基づき、その稜線の消去処理及び描画処理を行うか否
かを判定し、消去オンオフ信号、残存稜線描画オンオフ
信号、交差稜線描画オンオフ信号を発生する。なお、判
定処理は次の表に示す論理に従って論理回路化きれてい
る。
(7) The drawing determination circuit 410 determines whether or not to perform erasure processing and drawing processing for the edge line based on data on the intersecting state of the edge line, and outputs an erasure on/off signal, a remaining edge drawing on/off signal, and an intersecting edge drawing on/off signal. Occur. Note that the determination process is implemented in a logic circuit according to the logic shown in the table below.

(8)描画判定回路410から消去オンの信号が出力さ
れた場合には、稜線消去回路414において、稜線ID
発生カウンタ405による稜線IDに基づき、稜線描画
メモリ413をアクセスしてデイスプレィ画面418か
ら1画面前の該当する稜線を消去する。
(8) When the drawing determination circuit 410 outputs an erase-on signal, the edge line erase circuit 414 selects the edge line ID.
Based on the edge line ID determined by the generation counter 405, the edge line drawing memory 413 is accessed to erase the corresponding edge line one screen before from the display screen 418.

(9)描画判定回路410から残存稜線描画オンの信号
が出力された場合に、は、残存稜線描画回路411にお
いて、稜線ID発生カウンタ405による稜線IDに基
づき、稜線の両端の頂点の投影位置を形状データメモリ
402から入力し、稜線描画メモリ413に書き込み、
それを結ぶ線分をデイスプレィ画面418に描画する。
(9) When the remaining edge drawing ON signal is output from the drawing determination circuit 410, the remaining edge drawing circuit 411 calculates the projected position of the vertices at both ends of the edge based on the edge ID by the edge ID generation counter 405. Input from shape data memory 402 and write to edge line drawing memory 413,
A line segment connecting them is drawn on the display screen 418.

(10)描画判定回路410から交差稜線描画オンの信
号が出力された場合には、交差稜線描画回路411にお
いて、稜線ID発生カウンタ405による稜線IDに基
づき、稜線の一端の頂点と交点の投影位置を形状データ
メモリ402および稜線判定回路403から入力し、稜
線描画メモリ413に書き込み、それを結ぶ線分をデイ
スプレィ画面418に描画する。
(10) When the intersecting edge drawing ON signal is output from the drawing determination circuit 410, the intersecting edge drawing circuit 411 determines the projected position of the apex of one end of the ridgeline and the intersection point based on the ridgeline ID by the ridgeline ID generation counter 405. is input from the shape data memory 402 and the edge line determination circuit 403, written into the edge line drawing memory 413, and a line segment connecting them is drawn on the display screen 418.

(11)交線消去回路417は交線描画メモリ416を
アクセスしてデイスプレィ画面418から1画面前の全
ての交線を消去する。
(11) The intersection line erasing circuit 417 accesses the intersection line drawing memory 416 and erases all the intersection lines one screen before from the display screen 418.

(12)交線描画回路415は交差稜線対応づけ回路4
04から平面と多面体の面による各交線の両端に位置す
る交差稜線の稜線IDの組を入力し、稜線判定手段40
3にアクセスして交線の端点となるべき交点投影位置を
得て、交線描画メモリ416に書き込み、それを結ぶ線
分をデイスプレィ画面418に描画する。
(12) The intersecting line drawing circuit 415 is the intersecting edge line matching circuit 4
04, a set of edge line IDs of intersecting edges located at both ends of each intersection line between a plane and a polyhedral surface is input, and the edge line determining means 40
3 to obtain the intersection projection position which should be the end point of the intersection line, write it into the intersection line drawing memory 416, and draw the line segment connecting it on the display screen 418.

(発明の効果) 以上の説明で明らかなように、この発明によると、多面
体の平面による切断除去画像の連続的な表示において、
表示上変化しない稜線については描画処理、消去処理が
省かれるから、多面体の稜線数が多くなった場合でも表
示に要する時間を抑えることができ、切断面が徐々に動
いていくような切断除去画像のアニメーション表示が可
能となる。さらにこのような機能によって、画面上の切
断除去表示を見ながら、3次元空間において平面を連続
的に動かして位置ぎめすることが可能となる。
(Effects of the Invention) As is clear from the above description, according to the present invention, in the continuous display of images cut and removed by planes of a polyhedron,
Since the drawing and erasing processes are omitted for edges that do not change on display, it is possible to reduce the display time even when the number of edges of a polyhedron increases, and it is possible to create a cut-and-remove image in which the cut plane gradually moves. Animation display is possible. Furthermore, such a function makes it possible to continuously move and position the plane in three-dimensional space while viewing the cutting/removal display on the screen.

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

第1図は本発明の全体構成を示すブロック図、第2図は
多面体形状を平面により切断するときに従来の3次元形
状表示装置で行う表示の概念を示す図、第3図は多面体
形状を切断する平面が変化するときに本発明で行う表示
の概念を示す図、第4図は本発明の一実施例を示す回路
ブロック図である。
FIG. 1 is a block diagram showing the overall configuration of the present invention, FIG. 2 is a diagram showing the concept of display performed by a conventional three-dimensional shape display device when cutting a polyhedral shape by a plane, and FIG. FIG. 4 is a diagram showing the concept of display performed in the present invention when the cutting plane changes, and is a circuit block diagram showing an embodiment of the present invention.

Claims (1)

【特許請求の範囲】 多面体の形状データを格納する形状データ格納手段と、 多面体を切断する平面の平面パラメータを入力する平面
パラメータ入力手段と、 前記形状データ格納手段の内容と前記平面パラメータ入
力手段の出力から多面体形状と平面との交差データを生
成する交差データ生成手段と、前記交差データ生成手段
の出力を記憶する交差データ記憶手段と、 前記交差データ生成手段の出力のうち多面体各稜線の平
面との交差状態を記憶する稜線交差状態記憶手段と、 前記交差データ生成手段から新しい交差状態データが出
力されるごとに前記稜線交差状態記憶手段の内容を退避
転送する転送手段と、 前記転送手段より転送される多面体各稜線の交差状態を
記憶する稜線旧交差状態記憶手段と、前記稜線交差状態
記憶手段の内容と前記稜線旧交差状態記憶手段の内容と
を比較して多面体各稜線に表示処理と消去処理をそれぞ
れ行うか否かを判定する判定手段と、 前記形状データ格納手段の内容と前記交差データ記憶手
段の内容と前記稜線交差状態記憶手段の内容と前記判定
手段の出力から多面体形状が平面によって切断除去され
ている画像を線画表示する形状表示手段と からなることを特徴とする3次元形状表示装置。
[Scope of Claims] Shape data storage means for storing shape data of a polyhedron; Plane parameter input means for inputting plane parameters of a plane cutting the polyhedron; Contents of the shape data storage means and the plane parameter input means. Intersection data generation means for generating intersection data between a polyhedron shape and a plane from the output; intersection data storage means for storing the output of the intersection data generation means; and a plane of each polyhedron edge among the outputs of the intersection data generation means. ridgeline crossing state storage means for storing the crossing state of the ridgeline crossing state; transfer means for saving and transferring the contents of the ridgeline crossing state storage means each time new crossing state data is output from the crossing data generation means; an edge line old intersection state storage means for storing the intersection state of each edge line of the polyhedron; the contents of the edge line intersection state storage means and the contents of the edge line old intersection state storage means are compared to display and erase each edge line of the polyhedron; a determining means for determining whether or not to perform each of the processes; A three-dimensional shape display device comprising shape display means for displaying a line drawing of an image that has been cut and removed.
JP62314696A 1987-12-11 1987-12-11 Three-dimensional shape display device Pending JPH01155481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62314696A JPH01155481A (en) 1987-12-11 1987-12-11 Three-dimensional shape display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62314696A JPH01155481A (en) 1987-12-11 1987-12-11 Three-dimensional shape display device

Publications (1)

Publication Number Publication Date
JPH01155481A true JPH01155481A (en) 1989-06-19

Family

ID=18056449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62314696A Pending JPH01155481A (en) 1987-12-11 1987-12-11 Three-dimensional shape display device

Country Status (1)

Country Link
JP (1) JPH01155481A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008269659A (en) * 2001-02-08 2008-11-06 Imagination Technologies Ltd Volume clipping in computer 3d graphic

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008269659A (en) * 2001-02-08 2008-11-06 Imagination Technologies Ltd Volume clipping in computer 3d graphic

Similar Documents

Publication Publication Date Title
JPH11259678A (en) Image display device and image display method by the same
JPH03139777A (en) Graphic display system and method
CN116310135B (en) Curved surface display method and system based on multi-resolution LOD model
JP3605317B2 (en) Image drawing method, image drawing apparatus, and recording medium
JPH01155481A (en) Three-dimensional shape display device
JPH11338456A (en) Map display system and image scroll processing method in it
JPH07271998A (en) Method and device for three-dimensional display
JP3899977B2 (en) Drawing apparatus, method and program
JPH11203486A (en) Translucent object display method and image display device using the method
JP2503222B2 (en) Image processing device
JPS61133481A (en) Graph processing unit
JPS62152077A (en) Segment managing device
JP3267536B2 (en) 3D image processing device
JPS63178372A (en) Polyhedral shape forming device
JPH0259867A (en) Display device for deformation of polyhedral shape
JP2780384B2 (en) Contour editing device
JPS6380376A (en) Z sorting device
JPH0644345A (en) Data processing method for computer graphics
JPH0417082A (en) Picture element information accumulating system for graphic display device
JPH04125787A (en) Method and device for displaying three-dimensional graphic
JPH03214268A (en) Graphic restoring/displaying system
JPH03217977A (en) Drawing device
JP2001052198A (en) Device and method for generating image and recording medium
JPS6159484A (en) Segment control system
JPH04367988A (en) Z butter system for graphic processor