JP3304494B2 - Figure display method in figure creation system - Google Patents

Figure display method in figure creation system

Info

Publication number
JP3304494B2
JP3304494B2 JP9276193A JP9276193A JP3304494B2 JP 3304494 B2 JP3304494 B2 JP 3304494B2 JP 9276193 A JP9276193 A JP 9276193A JP 9276193 A JP9276193 A JP 9276193A JP 3304494 B2 JP3304494 B2 JP 3304494B2
Authority
JP
Japan
Prior art keywords
primitive
graphic
creation
data
created
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 - Fee Related
Application number
JP9276193A
Other languages
Japanese (ja)
Other versions
JPH06309422A (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.)
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 JP9276193A priority Critical patent/JP3304494B2/en
Publication of JPH06309422A publication Critical patent/JPH06309422A/en
Application granted granted Critical
Publication of JP3304494B2 publication Critical patent/JP3304494B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Digital Computer Display Output (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 display method in a graphic creation system for computer graphics or the like.

【0002】コンピュータグラフィックスは,データを
高速に処理し,描画した図形を迅速に画面表示する必要
がある。そして,作成図形の一部を修正し,再描画する
ような場合には,修正結果を早く確認するために,修正
した図形およびそれに関連する周辺の描画から先に表示
し,その後に他の部分が表示されるようにすることが望
まれる。
[0002] In computer graphics, it is necessary to process data at a high speed and display drawn figures on a screen quickly. When a part of the created figure is corrected and redrawn, the corrected figure and its related peripheral drawings are displayed first, and then other parts are displayed in order to check the correction result quickly. Is desired to be displayed.

【0003】[0003]

【従来の技術】図4は従来の図形処理装置における表示
方法を示す。図において,100は図形データ入力装置
であって,キーボード,マウス,ディスク装置等のデー
タ入力装置である。101は図形作成装置であって,入
力された図形データに基づいて,2次元,もしくは3次
元グラフィック処理し,図形を描画するものである。1
02は表示装置であって,描画図形を表示するディスプ
レイである。
2. Description of the Related Art FIG. 4 shows a display method in a conventional graphic processing apparatus. In the figure, reference numeral 100 denotes a graphic data input device, such as a keyboard, a mouse, and a disk device. Reference numeral 101 denotes a graphic creation device which performs two-dimensional or three-dimensional graphic processing based on input graphic data and draws a graphic. 1
A display device 02 is a display for displaying a drawing figure.

【0004】図形作成装置101において,110はプ
リミティブ編集部であって,例えば,入力データに基づ
いてプリミティブ(図形要素)を配置するものである。
111はプリミティブ1であって,最初に作成されたプ
リミティブのデータを表す。112はプリミティブ2で
あって,2番目に作成されたプリミティブのデータを表
す。113はプリミティブnであって,n番目に作成さ
れたプリミティブのデータを表す。114はペインティ
ング処理部であって,プリミティブの指定された面に色
を施す処理を行うものである。115はライティング処
理部であって,視点,光源の位置等に基づいて,プリミ
ティブに陰影をつける処理を行うものである。116は
作成図形保持部であって,作成された図形データを保持
するものであり,グラフィックメモリ等により構成され
るものである。117は格納領域1であって,プリミテ
ィブ1を描画処理(ペインティング処理,ライティング
処理等)したデータが格納されていることを表す。11
8は格納領域2であって,プリミティブ2を描画処理し
たデータが格納されていることを表す。119は格納領
域nであって,プリミティブnを描画処理したデータが
格納されていることを表す。120は表示処理部であっ
て,作成図形保持部116に保持されている描画図形
(各プリミティブの描画図形)を格納領域のアドレス順
に取り出して表示装置に出力するものである。
In the figure creating apparatus 101, reference numeral 110 denotes a primitive editing unit for arranging primitives (graphic elements) based on input data, for example.
Reference numeral 111 denotes a primitive 1, which represents data of a primitive created first. Reference numeral 112 denotes a primitive, which represents data of a primitive created second. Reference numeral 113 denotes a primitive n, which represents data of an n-th created primitive. Reference numeral 114 denotes a painting processing unit which performs a process of applying a color to a designated surface of a primitive. Reference numeral 115 denotes a lighting processing unit that performs a process of shading the primitive based on the viewpoint, the position of the light source, and the like. Reference numeral 116 denotes a created figure holding unit which holds created figure data, and is constituted by a graphic memory or the like. Reference numeral 117 denotes a storage area 1, which indicates that data obtained by performing a drawing process (a painting process, a writing process, etc.) on the primitive 1 is stored. 11
Reference numeral 8 denotes a storage area 2, which indicates that data obtained by rendering the primitive 2 is stored. Reference numeral 119 denotes a storage area n, which indicates that data obtained by performing a rendering process on the primitive n is stored. Reference numeral 120 denotes a display processing unit which extracts drawing figures (drawing figures of each primitive) held in the created figure holding unit 116 in the order of addresses of the storage areas and outputs the drawing figures to the display device.

【0005】図の構成の動作は後述する。図5は,従来
の図形処理における表示方法の説明図である。図におい
て,130はプリミティブであって,最初に作成され
たプリミティブである。131はプリミティブであっ
て,2番目に作成されたプリミティブである。132は
プリミティブであって,3番目に作成されたプリミテ
ィブである。133はプリミティブであって,4番目
に作成されたプリミティブである。
The operation of the configuration shown in the figure will be described later. FIG. 5 is an explanatory diagram of a display method in conventional graphic processing. In the figure, reference numeral 130 denotes a primitive, which is a primitive created first. Reference numeral 131 denotes a primitive, which is a second primitive. 132 is a primitive, which is a primitive created third. 133 is a primitive, which is a fourth created primitive.

【0006】図のように構成されたプリミティブに対し
て,それぞれの面(例えば円錐,の面,容器の面
等)にそれぞれ色を指定してペインティング処理を施
す。そして,光源の位置,視点を指定して,陰影および
視点に対して隠れて見えない面に対しては全面の面で隠
蔽する等の処理を施し描画する。
[0006] A painting process is performed on a primitive configured as shown in the figure by specifying a color for each surface (for example, the surface of a cone, the surface of a container, etc.). Then, the position and the viewpoint of the light source are designated, and a process such as concealing the entire surface from the shadow and the surface hidden behind the viewpoint is performed and rendered.

【0007】このように描画された図形データは,作成
された順番に格納領域の空いている領域のアドレスの小
さい方から順番に格納される。従って,プリミティブ
(130),プリミティブ(131),プリミティブ
(132),プリミティブ(133)の順番にアド
レスの小さいほうから大きい方に格納されているとする
と,プリミティブ(130),プリミティブ(13
1),プリミティブ(132),プリミティブ(1
33)の順番にディスプレイ表示される。また,作成さ
れた図形を一部修正等した場合には修正後のデータが作
成図形保持部(グラフィックメモリ)の格納領域の空い
ている領域に格納され,どの領域に格納するかは作成者
によって決めることはできない。
The graphic data thus drawn is stored in the order of creation in ascending order of the address of the empty area of the storage area. Therefore, assuming that the primitives (130), the primitives (131), the primitives (132), and the primitives (133) are stored in ascending order of address, the primitives (130) and the primitives (13) are stored.
1), primitive (132), primitive (1
The information is displayed on the display in the order of 33). If the created figure is partially modified, the modified data is stored in an empty area of the storage area of the created figure holding unit (graphic memory). I can't decide.

【0008】図4の構成の動作を説明する。図形データ
入力装置100により,図形を描画するための図形デー
タを入力する。プリミティブ編集部110はプリミティ
ブ1(111),プリミティブ2(112),・・・,
プリミティブn(113)を作成する。そして,作成さ
れた各作成データ番号のプリミティブはそれぞれペイン
ティング処理部114でペインティング処理を施され,
ペイティング処理部114でライティング処理をされ
る。そして,描画処理された各プリミティブは作成され
た順番に作成図形保持部116の空いているアドレスの
小さい方から順番に格納される。例えば,格納領域1
(117)にプリミティブ1(111)の描画データ,
格納領域2(118)にプリミティブ2(112)の描
画データ,格納領域n(119)にプリミティブn(1
13)の描画データが格納される。
The operation of the configuration shown in FIG. 4 will be described. The graphic data input device 100 inputs graphic data for drawing a graphic. The primitive editing unit 110 includes primitive 1 (111), primitive 2 (112),.
Create a primitive n (113). Each of the created primitives of the created data numbers is subjected to painting processing by the painting processing unit 114, respectively.
A writing process is performed by the payment processing unit 114. The primitives subjected to the drawing processing are stored in the order of creation in ascending order of free addresses in the created figure holding unit 116. For example, storage area 1
At (117), the drawing data of primitive 1 (111),
The drawing data of the primitive 2 (112) is stored in the storage area 2 (118), and the primitive n (1) is stored in the storage area n (119).
13) is stored.

【0009】表示処理部120は作成図形保持部116
から描画データを格納領域のアドレスの順番に取り出
し,表示装置に102に出力する。その結果,プリミテ
ィブ1の描画結果,プリミティブ2の描画結果,プリミ
ティブnの描画結果の順番に表示装置に表示される。
The display processing unit 120 includes a created figure holding unit 116
From the storage area in the order of the addresses of the storage areas, and outputs the data to the display device 102. As a result, the drawing result of the primitive 1, the drawing result of the primitive 2, and the drawing result of the primitive n are displayed on the display device in this order.

【0010】[0010]

【発明が解決しようとする課題】従来の作成図形のディ
スプレイ表示は,作成されたプリミティブの順番に従い
グラフィックメモリのアドレスに順次格納され,作成順
にプリミティブが表示された。また,編集過程において
グラフィックメモリの空いている領域にランダムに格納
され,作成順に関係なくどのプリミティブから表示出力
されるか全く分からないものであった。
In the conventional display display of a created graphic, the primitives are sequentially stored in addresses of a graphic memory in accordance with the order of created primitives, and the primitives are displayed in the order of creation. In addition, during the editing process, the data is stored at random in an empty area of the graphic memory, and it is not known at all from which primitive to display and output regardless of the order of creation.

【0011】特に,ライティング処理は,一回の描画処
理では終了せず,何度も同じ部分を繰り返し再現して修
正する等の煩雑な処理をしなければならない。そのた
め,修正した後に,修正したプリミティブおよびそれに
関連する周辺のプリミティブが先に表示し,そこで,修
正結果を確認して,表示処理を打ち切り,再度修正を施
す等の迅速に修正結果が判明され,次の修正ができるよ
うになることが望ましい。
In particular, the lighting process does not end with one drawing process, but requires complicated processes such as repeatedly reproducing and correcting the same portion many times. Therefore, after the correction, the corrected primitive and the related primitives are displayed first, where the correction result is confirmed, the display processing is terminated, and the correction result is quickly found, such as performing the correction again. It would be desirable to be able to make the following modifications:

【0012】しかし,従来の表示方法では,作成順に描
画図形が表示されるか,あるいは,ランダムに表示され
るので,編集後の描画作成図形を再現して出力する時
に,最後に描画したプリミティブ(以後,ペインティン
グ等の描画処理をされたプリミティブもプリミティブと
する)を早く見たくても,そのプリミティブがいつ出力
されるのかわからないので,作業者はそのプリミティブ
が表示されるまで待たなければならなかった。
However, in the conventional display method, the drawing figures are displayed in the order of creation or are displayed at random, so that when the edited drawing creation figure is reproduced and output, the primitive (the last drawn) is used. After that, even if primitives that have been subjected to drawing processing such as painting are to be viewed as soon as possible, the operator must wait until the primitive is displayed because it is not known when the primitive will be output. Was.

【0013】そのため,従来の図形処理装置の出力方法
ではライティング処理等の煩雑な操作を必要とする処理
に対して能率の悪いものであった。本発明は,最後に作
成したプリミティブおよびそれに関連する周辺のプリミ
ティブから順番に表示出力できる図形作成システムにお
ける図形表示方法を提供することを目的とする。
For this reason, the output method of the conventional graphic processing apparatus is inefficient for processing that requires complicated operations such as lighting. SUMMARY OF THE INVENTION It is an object of the present invention to provide a graphic display method in a graphic creation system capable of displaying and outputting a primitive created last and peripheral primitives related thereto in order.

【0014】[0014]

【課題を解決するための手段】本発明は,プリミティブ
に作成データ番号を附与し,図形の描画処理が終了した
後に最後に作成されたプリミティブが作成データ番号
1,およびそのプリミティブに関連するプリミティブが
若い番号となるように作成データ番号を変更し,作成デ
ータ番号順に表示出力するようにした。
SUMMARY OF THE INVENTION According to the present invention, a primitive is given a creation data number, and a primitive created last after drawing processing of a graphic is completed is a creation data number 1 and a primitive related to the primitive. The created data numbers are changed so that the numbers become smaller numbers, and are displayed and output in the order of the created data numbers.

【0015】図1は本発明の基本構成を示すものであ
る。図において,1は図形データ入力装置であって,キ
ーボード,マウス,磁気ディスク装置等の図形データを
入力するものである。2は図形作成装置であって,入力
された図形データに基づいて図形を描画するものであ
る。3は表示装置である。
FIG. 1 shows the basic configuration of the present invention. In the figure, reference numeral 1 denotes a graphic data input device for inputting graphic data from a keyboard, a mouse, a magnetic disk device, or the like. Reference numeral 2 denotes a figure creating device for drawing figures based on input figure data. 3 is a display device.

【0016】図形作成装置において,10は図形作成部
であって,プリミティブの作成,ペインティング処理,
ライティング処理等を行うものである。11はプリミテ
ィブ編集部であって,作成されたプリミティブに対して
作成データ番号を附与するものである。12は表示処理
部であって,図形作成部10で作成されて描画されたプ
リミティブの作成データ番号を変更するものである。
In the figure creating apparatus, reference numeral 10 denotes a figure creating unit, which creates primitives, performs a painting process,
It performs lighting processing and the like. Reference numeral 11 denotes a primitive editing unit for assigning a created data number to the created primitive. Reference numeral 12 denotes a display processing unit for changing the creation data number of a primitive created and drawn by the figure creation unit 10.

【0017】表示処理部12において,13はソート処
理部1であって,最後に作成されたプリミティブを作成
データ番号1とするものである。14はソート処理部2
であって,ソート処理部1(13)のソート処理で作成デー
タ番号1とされたプリミティブとの相関の高いプリミテ
ィブに若い番号が附与されるように作成データ番号を変
更するものである。15は表示出力部であって,描画さ
れたプリミティブを作成データ番号の順に表示出力する
ものである。
In the display processing unit 12, reference numeral 13 denotes a sort processing unit 1, which sets the last created primitive to the created data number 1. 14 is a sort processing unit 2
In this case, the created data number is changed so that a primitive having a high correlation with the primitive set as the created data number 1 in the sort processing of the sort processing section 1 (13) is assigned a lower number. Reference numeral 15 denotes a display output unit for displaying and outputting drawn primitives in the order of creation data numbers.

【0018】[0018]

【作用】図の構成の動作を説明する。図形データ入力装
置よりプリミティブを構成する三角形,四角形等の図形
データを入力する。図形作成部10は,入力された図形
データに基づいてプリミティブを構成する。そして,プ
リミティブ編集部11はプリミティブに対して作成され
た順に作成データ番号を附与する。プリミティブを指定
して図形データ入力装置1によりペインティングする
面,色等を指定しペインティング処理をする。さらに,
光源の位置,視点を定めてライティング処理等をする。
The operation of the configuration shown in the figure will be described. Graphic data such as triangles and quadrangles constituting primitives is input from a graphic data input device. The graphic creation unit 10 forms a primitive based on the input graphic data. Then, the primitive editing unit 11 gives creation data numbers in the order in which the primitives were created. The painting process is performed by designating a primitive, designating a surface, a color, and the like to be painted by the graphic data input device 1. further,
Lighting processing and the like are performed by determining the position and viewpoint of the light source.

【0019】次に,ソート処理部1(13)は,最後に描画
したプリミティブの作成データ番号を1とするように番
号を変更する。さらにソート処理部2(14)は最後に作成
されたプリミティブ(ソート処理部1(13)で作成データ
番号1とされたプリミティブ)に対して,相関の大きい
プリミティブ程,作成データ番号が小さくなるように作
成データ番号を変更する。
Next, the sort processing section 1 (13) changes the number so that the creation data number of the primitive drawn last is set to 1. Further, the sort processing unit 2 (14) sets the created data number to be smaller for the primitive created last (the primitive set to the created data number 1 in the sort processing unit 1 (13)) for a primitive having a higher correlation. Change the created data number to.

【0020】例えば,最後に作成されたプリミティブと
他のプリミティブとの距離(各プリミティブの重心間の
距離)を求め,最後に作成されたプリミティブとの距離
の近いもの程作成データ番号を小さくする。
For example, the distance between the primitive created last and another primitive (the distance between the centers of gravity of the primitives) is determined, and the created data number decreases as the distance between the primitive created last and the primitive becomes shorter.

【0021】表示出力部15はソート処理部2(14) で
ソートされた作成データ番号の順にプリミティブを取り
出し,その順番で表示出力する。表示装置3は表示出力
部15の出力するプリミティブの順にプリミティブを表
示する。
The display output section 15 takes out the primitives in the order of the created data numbers sorted by the sort processing section 2 (14), and outputs and outputs the primitives in that order. The display device 3 displays the primitives in the order of the primitives output from the display output unit 15.

【0022】本発明によれば,最後に作成したプリミテ
ィブおよびそれに関連する周辺のプリミティブから順番
に表示出力されるので,プリミティブの修正結果の確認
が迅速にできるようになる。そのため,ライティング処
理等の煩雑な処理でも能率的に行うことができるように
なる。
According to the present invention, since the primitive created last and the primitives related thereto are displayed and output in order, the correction result of the primitive can be quickly checked. Therefore, even complicated processing such as writing processing can be efficiently performed.

【0023】[0023]

【実施例】図2は本発明のシステム構成実施例を示す。
図において,21はCPU,22は主メモリであって,
プログラム,図形データ等を格納するものである。23
はグラフィックメモリであって,描画された作成図形デ
ータを格納するものである。24は図形データ入力装
置,25はディスプレイである。
FIG. 2 shows an embodiment of the system configuration of the present invention.
In the figure, 21 is a CPU, 22 is a main memory,
It stores programs, graphic data, and the like. 23
Is a graphic memory for storing the drawn graphic data. 24 is a graphic data input device, and 25 is a display.

【0024】主メモリ22において,30は図形作成部
であって,図形作成をする格納プログラムである。31
は表示処理部であって,表示処理をする格納プログラム
である。32は図形データであって,入力されて格納さ
れた図形データである。
In the main memory 22, reference numeral 30 denotes a figure creating unit, which is a storage program for creating figures. 31
Is a display processing unit, which is a storage program for performing display processing. Numeral 32 denotes graphic data which is inputted and stored.

【0025】グラフィックメモリ(作成図形保持部)2
3において,33は作成図形データであって,描画され
た図形データを表わす。図形データ入力装置24におい
て,40は磁気ディスク,41はキーホード,42はマ
ウスである。
Graphic memory (created figure holding unit) 2
In FIG. 3, reference numeral 33 denotes created graphic data, which represents drawn graphic data. In the graphic data input device 24, 40 is a magnetic disk, 41 is a key board, and 42 is a mouse.

【0026】図3は本発明の実施例構成を示す。図にお
いて,23’作成図形保持部(図2グラフィックメモリ
23),24は図形データ入力装置,25は表示装置
(ディスプレイ)である。30は図形作成部,31は表
示処理部である。
FIG. 3 shows an embodiment of the present invention. In the figure, reference numeral 23 'denotes a figure holding unit (graphic memory 23 in FIG. 2), reference numeral 24 denotes a graphic data input device, and reference numeral 25 denotes a display device (display). Reference numeral 30 denotes a graphic creation unit, and 31 denotes a display processing unit.

【0027】図形作成部30において,50はプリミテ
ィブ編集部であって,プリミティブを作成し,作成順に
作成データ番号を附与するものである。51は作成デー
タ番号1のプリミティブ,52は作成データ番号2のプ
リミティブ,53は作成データ番号nのプリミティブを
表わす。54はペインティング部,55はライティング
処理部である。56は作成図形編集部であって,作成さ
れた描画図形(描画されたプリミティブ)を修正するも
のである。
In the figure creating section 30, reference numeral 50 denotes a primitive editing section which creates primitives and gives created data numbers in the order of creation. Reference numeral 51 denotes a primitive of the created data number 1, 52 denotes a primitive of the created data number 2, and 53 denotes a primitive of the created data number n. 54 is a painting unit, and 55 is a lighting processing unit. Reference numeral 56 denotes a created figure editing unit for correcting a created drawn figure (a drawn primitive).

【0028】作成図形保持部23’において,60は格
納領域1であって,作成データ番号1のプリミティブ
(描画されたプリミティブ)が格納されていることを表
わす。61は格納領域2であって,作成データ番号2の
プリミティブが格納されていることを表わす。62は格
納領域nであって,作成データ番号nのプリミティブが
格納されていることを表わす。作成データ番号1のプリ
ミティブ,作成データ番号2のプリミティブ,・・・,
作成データ番号nのプリミティブの順番に描画処理され
たものとする。
In the created figure holding unit 23 ', reference numeral 60 denotes a storage area 1, which indicates that a primitive of the created data number 1 (a drawn primitive) is stored. Reference numeral 61 denotes a storage area 2, which indicates that the primitive of the creation data number 2 is stored. Reference numeral 62 denotes a storage area n, which indicates that a primitive of the creation data number n is stored. Primitive of creation data number 1, primitive of creation data number 2, ...
It is assumed that the drawing processing is performed in the order of the primitives with the creation data number n.

【0029】表示処理部31において,70はソート処
理部1であって,最後に描画処理されたプリミティブ
(作成データ番号n)を作成データ番号1に変更するも
のである。71は作成データ番号nのプリミティブを作
成データ番号1に変更することを表わす。72は作成デ
ータ番号1のプリミティブを作成データ番号2とするこ
とを表わす。73は作成データ番号(n−1)のプリミ
ティブを作成データ番号nとすることを表わす。
In the display processing section 31, reference numeral 70 denotes a sort processing section 1 for changing a primitive (creation data number n) subjected to the last drawing processing to a creation data number 1. Reference numeral 71 indicates that the primitive of the creation data number n is changed to the creation data number 1. Reference numeral 72 indicates that the primitive of the creation data number 1 is to be the creation data number 2. Reference numeral 73 indicates that the primitive of the creation data number (n-1) is the creation data number n.

【0030】74は距離算出部であって,各プリミティ
ブの距離を算出するものである。75は重心算出部であ
って,各プリミティブの重心を算出するものである。7
6は重心間の距離算出部であって,各プリミティブの重
心間の距離を算出するものである。
Numeral 74 denotes a distance calculator for calculating the distance of each primitive. Reference numeral 75 denotes a center-of-gravity calculator for calculating the center of gravity of each primitive. 7
Reference numeral 6 denotes a distance calculating unit for calculating the distance between the centers of gravity of the primitives.

【0031】77はソート処理部2であって,距離算出
部74の算出結果に基づいて作成データ番号1(ソート
処理部1でソートした結果の作成データ番号1)のプリ
ミティブとの距離の小さい順にソートするものである。
78はソート処理部1でソートした結果の作成データ番
号1のプリミティブを表わす。79は作成データ番号2
であって,作成データ番号1のプリミティブとの距離が
一番小さいプリミティブを表わす。80は作成データ番
号nであって,作成データ番号1のプリミティブとの距
離が2番目に小さいプリミティブを表わす。
Reference numeral 77 denotes a sort processing unit 2, which is based on the calculation result of the distance calculation unit 74, in ascending order of the distance of the created data number 1 (created data number 1 as a result of sorting by the sort processing unit 1) from the primitive. It is something to sort.
Reference numeral 78 denotes a primitive of creation data number 1 as a result of sorting by the sort processing unit 1. 79 is created data number 2
Represents a primitive whose distance from the primitive of the creation data number 1 is the shortest. Reference numeral 80 denotes a created data number n, which represents a primitive whose distance from the primitive of the created data number 1 is the second smallest.

【0032】図の構成の動作を説明する。図形データ入
力装置24から入力された図形データに基づいて,プリ
ミティブ編集部50はプリミティブを編集する。そし
て,作成された順番に作成データ番号を附与する。ペイ
ンティング部54において指定された面,色でペインテ
ィング処理する。ライティング処理部55において,指
定された光源の位置,視点でライティング処理をする。
The operation of the configuration shown in FIG. The primitive editing unit 50 edits the primitive based on the graphic data input from the graphic data input device 24. Then, the created data numbers are given in the order of creation. The painting process is performed on the designated surface and color in the painting unit 54. The lighting processing unit 55 performs lighting processing at the designated light source position and viewpoint.

【0033】作成図形保持部23’において描画処理さ
れたプリミティブの順番に各格納領域(格納領域1(6
0),格納領域2(61),・・・,格納領域n(6
2))に格納される(図は,作成データ番号1のプリミ
ティブ,作成データ番号2のプリミティブ,・・・,作
成データ番号nのプリミティブの順番に描画処理された
ことを表わす)。
Each storage area (storage area 1 (6
0), storage area 2 (61),..., Storage area n (6
2)) (the drawing shows that the drawing processing is performed in the order of the primitive of the creation data number 1, the primitive of the creation data number 2, ..., the primitive of the creation data number n).

【0034】ソート処理部1(70)は最後に描画され
たプリミティブ(図の場合,作成データ番号nのプリミ
ティブ)を作成データ番号1に変更し,他はそれ以降の
番号に変更する。
The sort processing unit 1 (70) changes the last rendered primitive (in the case of the drawing, the primitive of the created data number n) to the created data number 1, and changes the others to subsequent numbers.

【0035】重心算出部75は各プリミティブの重心位
置を算出する。重心間の距離算出部76は各プリミティ
ブの重心の距離を算出する。ソート処理部2(77)は
ソート処理部1(70)で作成データ番号1としたプリ
ミティブの作成データ番号は変更せず,それ以外のプリ
ミティブに対しては作成データ番号1のプリミティブと
の距離が小さい順に作成データ番号を変更する。
The center of gravity calculator 75 calculates the position of the center of gravity of each primitive. The distance calculating unit 76 calculates the distance between the centers of gravity of the primitives. The sort processing unit 2 (77) does not change the creation data number of the primitive whose creation data number is 1 in the sort processing unit 1 (70), and the distance between the other primitives and the primitive of the creation data number 1 is different. Change the created data numbers in ascending order.

【0036】表示装置25はソート処理部2(77)で
変更された作成データ番号の順番に表示装置に出力す
る。その結果,表示装置1には,ソート処理部2(7
7)の作成データ番号1(最後に描画されたプリミティ
ブが最初に表示され,次いで,そのプリミティブとの距
離が一番近い作成データ番号2(ソート処理部2(7
7)のソート結果の作成データ番号)のプリミティブが
表示される。最後に作成データ番号nのプリミティブが
表示される。
The display device 25 outputs to the display device in the order of the created data numbers changed by the sort processing section 2 (77). As a result, the display device 1 displays the sort processing unit 2 (7
7) (created data number 1 (the primitive drawn last is displayed first, and then the created data number 2 (the sort processing unit 2 (7
The primitive of (7) creation data number of the sorting result) is displayed. Finally, the primitive of the created data number n is displayed.

【0037】次に,表示された描画図形を修正する場合
の動作を説明する。図形データ入力装置24より入力さ
れる修正データに基づいて,作成図形編集部56は修正
対象となるプリミティブを修正データに基づいて修正す
る。修正されたプリミティブは作成図形保持部23’の
空いている格納領域に格納される(この時の作成データ
番号は,ソート処理部2(77)で附与された作成デー
タ番号である)。
Next, the operation for correcting the displayed drawing figure will be described. Based on the correction data input from the graphic data input device 24, the created graphic editing unit 56 corrects a primitive to be corrected based on the correction data. The modified primitive is stored in an empty storage area of the created figure holding unit 23 '(the created data number at this time is the created data number given by the sort processing unit 2 (77)).

【0038】そして,ソート処理部1(70)は最後に
修正して描画したプリミティブの作成データ番号を作成
データ番号1に変更し,それにともない他のプリミティ
ブの作成データ番号を変更する。重心算出部75は各プ
リミティブの重心を求め,重心間の距離算出部76は各
プリミティブの重心間の距離を求める。ソート処理部2
(77)はソート処理部1で作成データ番号1としたプ
リミティブの作成データ番号は変更せず,それ以外のプ
リミティブに対しては作成データ番号1のプリミティブ
との距離が小さい順に作成データ番号が附与されるよう
に番号を変更する。
Then, the sort processing unit 1 (70) changes the creation data number of the primitive corrected and drawn to the creation data number 1 and changes the creation data number of the other primitive accordingly. The center-of-gravity calculator 75 calculates the center of gravity of each primitive, and the distance calculator 76 calculates the distance between the centers of gravity of each primitive. Sort processing unit 2
Step (77) does not change the created data number of the primitive whose creation data number is 1 in the sort processing unit 1, and assigns created data numbers to other primitives in ascending order of the distance from the created data number 1 primitive. Change the number as given.

【0039】表示装置25はソート処理部2(77)で
変更された作成データ番号の順番に表示装置に出力す
る。
The display device 25 outputs to the display device in the order of the created data numbers changed by the sort processing section 2 (77).

【0040】[0040]

【発明の効果】本発明によれば,最後に作成したプリミ
ティブおよびそれに関連する周辺のプリミティブから順
番に表示出力されるので,修正したプリミティブの修正
結果の確認が迅速にできるようになる。そのため,修正
結果に基づいてさらに修正を必要とする場合には,描画
図形を全部表示することなく,表示処理を打ち切り,再
度の修正処理を行うことができるので,ライティング処
理等の煩雑な操作を必要とする処理でも能率的に描画処
理を行うことができるようになる。
According to the present invention, since a primitive created last and peripheral primitives related thereto are displayed and output in order, the correction result of the corrected primitive can be quickly confirmed. Therefore, when further correction is required based on the correction result, the display processing can be terminated and the correction processing can be performed again without displaying the entire drawing figure. The drawing process can be efficiently performed even with the necessary process.

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

【図1】本発明の基本構成を示す図である。FIG. 1 is a diagram showing a basic configuration of the present invention.

【図2】本発明のシステム構成実施例を示す図である。FIG. 2 is a diagram showing a system configuration example of the present invention.

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

【図4】従来の図形処理装置における表示方法を示す図
である。
FIG. 4 is a diagram showing a display method in a conventional graphic processing device.

【図5】従来の図形処理装置の表示方法の説明図であ
る。
FIG. 5 is an explanatory diagram of a display method of a conventional graphic processing device.

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

1:図形データ入力装置 2:図形作成装置 3:表示装置 10:図形作成部 11:プリミティブ編集部 12:表示処理部 13:ソート処理部1 14:ソート処理部2 15:表示出力部 1: Graphic data input device 2: Graphic creation device 3: Display device 10: Graphic creation unit 11: Primitive editing unit 12: Display processing unit 13: Sort processing unit 14: Sort processing unit 2 15: Display output unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 G06F 3/153 G06T 11/20 G09G 5/36 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) G06T 1/00 G06F 3/153 G06T 11/20 G09G 5/36

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 図形データ入力装置(1) と,図形データ
に基づいて図形を描画する図形作成装置(2) と,描画図
形を表示する表示装置(3) とを備えた図形作成システム
における図形表示方法において,図形作成装置(2) は図
形要素であるプリミティブを作成し,描画されたプリミ
ティブに対して作成番号を附与し,作成データ番号の順
番に表示装置に出力するものであって,最後に描画処理
されたプリミティブに対して最初に表示出力する作成デ
ータ番号を附与し,最初に表示出力されるプリミティブ
と他のプリミティブとの相関を求め,相関の強いプリミ
ティブ程先に表示出力されるように作成データ番号を附
与し,最後に作成されたプリミティブおよび該プリミテ
ィブとの相関の強いプリミティブが先に表示されるよう
に表示出力することを特徴とする図形作成システムにお
ける図形表示方法。
1. A graphic forming system comprising a graphic data input device (1), a graphic forming device (2) for drawing a graphic based on graphic data, and a display device (3) for displaying a drawn graphic. In the display method, the graphic creation device (2) creates a primitive which is a graphic element, assigns a creation number to the drawn primitive, and outputs the primitive to the display device in the order of the creation data number. Lastly, the primitive that has been rendered is given a creation data number that is displayed and output first. The primitive that is displayed and output first is correlated with other primitives. Primitives with higher correlation are displayed and output first. Data to be displayed in such a way that the last primitive created and the primitive with a strong correlation with the primitive are displayed first. Graphic display method in the graphics creation system to be.
【請求項2】 請求項1において,図形作成装置(2) は
図形データに基づいてプリミティブを作成し,作成され
た順番に作成データ番号を附与するプリミティブ編集部
(11)と,最後に描画されたプリミティブの作成データ番
号を作成データ番号1に変更し,作成データ番号1の該
プリミティブとの相関が強い順番に作成データ番号2番
目以降の作成データ番号が附与されるように作成データ
番号を変更する表示処理部(12)とを備え,表示処理部(1
2)が変更した作成データ番号の順番に表示装置に出力す
ることを特徴とする図形作成システムにおける図形表示
方法。
2. A primitive editing unit according to claim 1, wherein the graphic creating device (2) creates primitives based on the graphic data, and assigns created data numbers in the order of creation.
(11), the creation data number of the last primitive drawn is changed to creation data number 1, and the creation data numbers of the second and subsequent creation data numbers are added in the order of strong correlation between creation data number 1 and the primitive. And a display processing unit (12) for changing the created data number so as to be given.
A graphic display method in a graphic generating system, wherein the graphic data is output to a display device in the order of the generated data numbers changed in 2).
【請求項3】 請求項1において,表示処理部(12)は作
成データ番号1に変更されたプリミティブと各プリミテ
ィブとの距離を算出し,該距離の順に作成データ番号が
附与されるように作成データ番号を変更することを特徴
とする図形作成システムにおける図形表示方法。
3. The display processing unit according to claim 1, wherein the display processing unit calculates a distance between the primitive changed to the creation data number 1 and each primitive, and assigns the creation data number in the order of the distance. A figure display method in a figure creation system, wherein a creation data number is changed.
JP9276193A 1993-04-20 1993-04-20 Figure display method in figure creation system Expired - Fee Related JP3304494B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9276193A JP3304494B2 (en) 1993-04-20 1993-04-20 Figure display method in figure creation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9276193A JP3304494B2 (en) 1993-04-20 1993-04-20 Figure display method in figure creation system

Publications (2)

Publication Number Publication Date
JPH06309422A JPH06309422A (en) 1994-11-04
JP3304494B2 true JP3304494B2 (en) 2002-07-22

Family

ID=14063418

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9276193A Expired - Fee Related JP3304494B2 (en) 1993-04-20 1993-04-20 Figure display method in figure creation system

Country Status (1)

Country Link
JP (1) JP3304494B2 (en)

Also Published As

Publication number Publication date
JPH06309422A (en) 1994-11-04

Similar Documents

Publication Publication Date Title
JPH04233672A (en) Image generating apparatus
JPH1097648A (en) Method for updating 3d object display, computer execution system for correcting visual characteristic of 3d object, method for re-rendering 3d object on display and product
JPH05114032A (en) Shadow testing method in three-dimensional graphics
JPS61288276A (en) Image display method and apparatus
JP3448816B2 (en) Sorting device
US5295234A (en) Apparatus for displaying a three dimensional object which appears substantially the same in different display directions by modifying stored image data by a scale factor
US20080211811A1 (en) Drawing Apparatus for Displaying Image Data About a Plurality of Objects Including Semitransparent Object and Opaque Object on Computer Display Screen
JP3304494B2 (en) Figure display method in figure creation system
JPH0969163A (en) Method for extracting overlap of polygons in computer graphic model and method and device for grouping polygons
KR970071296A (en) Volume rendering devices and suitable methods
JPS6129973A (en) Generation of plane projection image
JP3305395B2 (en) Figure division device
JP2747822B2 (en) Graphic display device
JPH09305791A (en) Device and method for generating three-dimensional image
JPS60163162A (en) Definition method of shape of three-dimensional connecting body
JPH0544063B2 (en)
JP3733493B2 (en) Image composition circuit
JPH07271998A (en) Method and device for three-dimensional display
JP3275277B2 (en) Graphic drawing creation apparatus and method
JP3251744B2 (en) Image generation method by intersection tracking method
JPS63196988A (en) Three-dimensional object displaying system
JPH05189203A (en) Sorting device
JP3267536B2 (en) 3D image processing device
JPH06295343A (en) Graphic processor
JPH0752466B2 (en) Raster operation device and method

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: 20020416

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080510

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090510

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090510

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100510

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100510

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110510

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees