JPS63271580A - Graphic data transfer system - Google Patents

Graphic data transfer system

Info

Publication number
JPS63271580A
JPS63271580A JP10420387A JP10420387A JPS63271580A JP S63271580 A JPS63271580 A JP S63271580A JP 10420387 A JP10420387 A JP 10420387A JP 10420387 A JP10420387 A JP 10420387A JP S63271580 A JPS63271580 A JP S63271580A
Authority
JP
Japan
Prior art keywords
command
display
data
shading
displaying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10420387A
Other languages
Japanese (ja)
Other versions
JP2528875B2 (en
Inventor
Seiichi Kanema
金間 誠一
Toshihisa Aoshima
青島 利久
Tooru Sakaihara
徹 酒井原
Shuichi Senda
仙田 修一
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP10420387A priority Critical patent/JP2528875B2/en
Publication of JPS63271580A publication Critical patent/JPS63271580A/en
Application granted granted Critical
Publication of JP2528875B2 publication Critical patent/JP2528875B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To reduce the amount of data transfer and to facilitate data control by providing a lane command for the shading display of the curved surface of a three-dimensional figure and a plane command for displaying a plane cut by a polygon, a curved surface, etc., as different commands. CONSTITUTION:A plane command for the brightness interpolating shading display of a curved surface, a plane command for normal interpolating shading display, a plane command for displaying a surface on an original plane cut by the polygon, curved surface, etc., with given brightness, and a plane command for calculating brightness from a given normal and performing display are provided as different commands, and geometric shape definition and display definition data are put together in one command. Namely, commands 2 and 3 are divided according to the kinds of the shading display method and display object surfaces and then a selection command for them is not necessary, thereby facilitating data control.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、コンピュータ・グラフィックス技術により電
子計算機内に定義した図形データをCRTなどを具備し
た表示装置へ転送する方式に係シ、特に曲面や平面の組
み合せで構成された三次元図形をシェーディング表示す
るのに好適な図形データ転送方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a method of transferring graphic data defined in a computer using computer graphics technology to a display device equipped with a CRT or the like, and in particular, The present invention relates to a graphic data transfer method suitable for shading display of a three-dimensional figure composed of a combination of planes and planes.

〔従来の技術〕[Conventional technology]

コンピュータ壷グラフィックス技術を利用して三次元面
を近似する多面体の各面をCRTなどの表示装置に表示
する方法として、従来、7オーレイ、パン・ダム著ファ
ンダメンタルズ・オプ拳インタラクティブ・コンピュー
タ・グラフィックス(1982年アディソン・ウニズリ
−・パブリッシング・カンパニー)の第580頁から第
584頁(J。
Conventionally, as a method of displaying each face of a polyhedron that approximates a three-dimensional surface using computer graphics technology on a display device such as a CRT, 7 Olay, Fundamentals Opken Interactive Computer Graphics by Pan Dam. (Addison Unisley Publishing Company, 1982), pp. 580-584 (J.

D 、 Fole7 and A、Van Dam :
 F’undamentalBof In−terao
tive Computer Graphics 、 
Addison −Wesle7Publishing
Company (1982)pp、5ao−584)
に記載のように、コンスタント、輝度補間、法線補間の
3種類のシェーディング法がある。
D, Fole7 and A, Van Dam:
F'undamentalBof In-terao
tive Computer Graphics,
Addison - Wesle7 Publishing
Company (1982)pp, 5ao-584)
As described in , there are three types of shading methods: constant, luminance interpolation, and normal interpolation.

一方、図形の表示や定義に必要な図形データの転送方式
については、規格化の作業が進められている。二次元図
形に関しては、現在、GKS(Gra−phical 
Kernel S7S75teが世界標準となっている
〇三次元図形の規格化に関しては、GKS−3DとPH
I G S (Programmer″’s Hler
arohical InteractiveGraph
iog 5tadard)の2案があるが、これらは現
在、審議中である。社団法人情報処理学会、グラフィッ
クスインターフェイスと標準化講習会資料@GKS−3
DとIQBS’(昭和60年9月17日)、第20頁か
ら第24頁、および同資料′″PHIGS”第10頁か
ら第14頁および第19頁から第20頁に記載のように
%GMS−5PとPHIGSでは二次元の考え方を引き
継ぎ、面の幾何形状を定義するコマンドと表示色などの
表示法を定義するコマンドは別とする案になっている。
On the other hand, work is underway to standardize the method for transmitting graphic data necessary for displaying and defining graphics. Regarding two-dimensional figures, currently GKS (Gra-physical
Kernel S7S75te is the world standard. Regarding the standardization of three-dimensional figures, GKS-3D and PH
I G S (Programmer'''s Hler
aromatic InteractiveGraph
There are two proposals (iog 5tard), which are currently under discussion. Information Processing Society of Japan, Graphics Interface and Standardization Seminar Materials @GKS-3
D and IQBS' (September 17, 1985), pages 20 to 24, and the same document 'PHIGS', pages 10 to 14 and pages 19 to 20. GMS-5P and PHIGS inherit the two-dimensional concept, and the idea is to separate the commands that define the geometry of the surface from the commands that define the display method such as display color.

なお、GKS−3DとPHIGSでは面の表示法はコン
スタント・シェーディングのみで、輝度補間と法線補間
シェーディングについては考慮されていない。
Note that in GKS-3D and PHIGS, the surface display method is only constant shading, and luminance interpolation and normal interpolation shading are not considered.

また、ダイキン工業株式会社著@GRIP−n概説書”
第5頁から第11頁および第18頁には、コンスタント
・シェーディングに加えて、輝度補間シェーディングの
データを転送する方式が示されている。ここでも、コン
スタント・シェーディングのデータは面の幾何形状デー
タとは分けて別のコマンドで転送し、どちらのシェーデ
ィング・データを転送するのかは選択コマンドで指定す
るようになっている。
In addition, “@GRIP-n overview book” written by Daikin Industries, Ltd.
Pages 5 to 11 and page 18 show a method of transferring luminance interpolation shading data in addition to constant shading. Again, the constant shading data is transferred using a separate command from the surface geometry data, and which shading data to transfer is specified using the selection command.

さらに特願響61−28024号では、曲面を輝度補間
や法線補間シェーディング表示するための多面体近似の
面コマンドを受領したあとで、平面性の判定を行ない、
平面とみなせる場合は別の処理を行い、表示処理を高速
化する方法が示されてい号・ 〔発明が解決しようとする問題点〕 まず、上記従来技術においては、幾何形状定義データと
表示法定義データは別のコマンドで転送するという考え
方に立っている。従来は主として二次元図形を対象とし
ており1図形のもつ意味(図形の表示対象)で表示法を
変更することが多いため、面の幾何形状を定義するコマ
ンドとその表示色などの表示法を定義するコマンドは別
になっている方が、データ量が少なくなったシ、表示法
の変更が容易であった。しかし、三次元図形を表示する
場合は、曲面では部分ごとに、平面では面ごとに面の方
向に応じて表示濃度が変化するのが一般的である。この
とき、幾何形状定義コマンドと表示法定義コマンドを別
のコマンドとすると、つねにそれらが対になって転送さ
れることになる。
Furthermore, in Japanese Patent Application No. 61-28024, after receiving a polyhedral approximation surface command for displaying a curved surface using brightness interpolation or normal interpolation shading, flatness is determined.
[Problem to be solved by the invention] First, in the above-mentioned prior art, geometric shape definition data and display method definition are used. The idea is that data is transferred using separate commands. Conventionally, the target was mainly two-dimensional figures, and the display method was often changed depending on the meaning of one figure (the figure's display object), so we defined the display method such as the command that defines the geometric shape of the surface and its display color. Separate commands would have reduced the amount of data and made it easier to change the display method. However, when displaying a three-dimensional figure, the display density generally changes for each part of a curved surface and for each surface of a plane depending on the direction of the surface. At this time, if the geometry definition command and display method definition command are separate commands, they will always be transferred as a pair.

また、それらが対であることを示すコマンドまたはデー
タを同時に転送することが必要となる。したがって、デ
ータ転送量が増加する。
It is also necessary to simultaneously transfer commands or data indicating that they are a pair. Therefore, the amount of data transferred increases.

また、コマンドを受領した側でこれを記憶できるように
し、図形の一部が修正されたとき、修正コマンドで記憶
コマンドを修正できるようにするには、幾何形状定義コ
マンドと表示法定義コマンドの両方を修正できるように
しなければならない。
Also, if you want the recipient of the command to be able to remember this, and then modify the memorize command with the modify command, both the geometry definition command and the representation definition command can be used. must be able to be corrected.

そのためには上記のように幾何形状定義コマンドと表示
法定義コマンドを対にするコマンドまたはデータが必要
であシ、また、それをもとに幾何形状定義コマンドと表
示法定義コマンドを修正する機能の実現が必要であって
、データ管理が複雑になる。
To do this, a command or data that pairs the geometry definition command and display method definition command is required as described above, and a function to modify the geometry definition command and display method definition command based on this is required. implementation is required, which complicates data management.

また、二次元図形の場合は平面上の図形のみであって、
幾何学的に意味の異なる図形はない。
In addition, in the case of two-dimensional figures, they are only figures on a plane,
There are no geometrically different shapes.

しかし、三次元図形の場合は、三次元曲面を近似表示す
るための面と、三次元平面内の面そのものを表示するた
めの面という幾何学的に意味の異なる2踵類の面が混在
して出現する。そのため、幾何形状定義コマンドと表示
法定義コマンドを別にすると、上記の従来の方法では、
そのいずれでおるかを示すために選択コマンドがその都
度転送されることになる。そのため転送データが増加す
る。また、転送データを受けて表示処理する側では、処
理プログラムへの分岐が幾何形状定義コマンドによるも
のと選択コマンドによるものの2段になシ、処理が複雑
になる。
However, in the case of three-dimensional figures, two types of surfaces with different geometric meanings coexist: a surface for approximating a three-dimensional curved surface and a surface for displaying the surface itself in a three-dimensional plane. appears. Therefore, apart from the geometry definition command and display method definition command, the above conventional method:
A selection command is transferred each time to indicate which one is available. Therefore, the amount of transferred data increases. Furthermore, on the side that receives the transferred data and performs display processing, there are two stages of branching to the processing program, one based on the geometry definition command and the other based on the selection command, which complicates the processing.

そこで、従来の方法でできるだけ処理が単純になるよう
に考えると、それはできるだけ少ない種類のコマンドで
全データを転送することである。
Therefore, in order to make the process as simple as possible using the conventional method, it is important to transfer all data using as few types of commands as possible.

これは、幾何形状定義コマンド1つと、輝度補間および
法線補間の表示法定義コマンド2つの合計3つのコマン
ドで実現できる。しかし、このときの表示法定義コマン
ドは平面表示の場合も曲面表示の表示法定義コマンドを
用いることになる。
This can be achieved with a total of three commands: one geometry definition command and two display method definition commands for brightness interpolation and normal interpolation. However, the display method definition command at this time is the display method definition command for curved surface display even in the case of flat display.

これでは無駄なデータを転送することになり、転送デー
タ量が多くなる。また、その鷹までは、平面表示と曲面
表示の処理が同じになり、表示処理時間も長くなる。処
理の高速化を図るためには、平面性の判定処理が必要と
なる。
This results in unnecessary data being transferred, which increases the amount of transferred data. Furthermore, up to that hawk, the processing for flat display and curved display is the same, and the display processing time becomes longer. In order to speed up the processing, flatness determination processing is required.

本発明は、データ転送量を削減することKよって、転送
時間を短かくし、データ記憶エリアを小さくすること、
また平面性判定の処理を不要とし、さらに表示法の選択
判定や記憶コマンドの部分修正のためのデータ管理を容
易にする図形データ転送方式を提供することを目的とす
る。
The present invention aims to reduce the amount of data transferred, thereby shortening the transfer time and reducing the data storage area.
Another object of the present invention is to provide a graphic data transfer method that eliminates the need for flatness determination processing and facilitates data management for display method selection determination and partial correction of storage commands.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、曲面を輝度補間シェーディング表示するた
めの面コマンド及び法線補間シェーディング表示するた
めの面コマンド、元来の多面体及び曲面などで切り取ら
れた平面上の面を与えられた輝度で表示するた込の面コ
マンド及び与えられた法線から輝度を計算して表示する
ための面コマンドをそれぞれ別のコマンドとすること、
及び幾何形状定義と表示法定義データを1つのコマンド
内にまとめることによって達成される。
The above purpose is to use the surface command to display a curved surface with brightness interpolation shading, the surface command to display normal interpolation shading, and to display a surface on a plane cut by an original polyhedron or curved surface with a given brightness. Separate commands are used for the surface command for folding and the surface command for calculating and displaying the brightness from the given normal.
This is accomplished by combining geometry definition and representation definition data into one command.

〔作用〕[Effect]

シェーディング表示方法と表示対象面の種類に応じてコ
マンドに分ける仁とによシ、それらの選択コマンドが不
要となシ、各コマンドととKその表示法に必要なデータ
を同一コマンドで転送する丸め、幾何形状定義コマンド
と表示法定義コマンドを対にするコマンドまたはデータ
が不要となる。
It is possible to divide the commands into commands according to the shading display method and the type of surface to be displayed, and there is also a method that eliminates the need for these selection commands, and a rounding method that transfers the data necessary for each command and its display method in the same command. , commands or data that pair geometry definition commands and display method definition commands are no longer required.

また、適切なコマンドを選定することによって、データ
転送量が削減でき、その結果、コマンド転送時間とコマ
ンド記憶エリアを削減できる。さらに、平面性の判定処
理が不要となると共に、幾何形状定義データと表示法定
義データが一括して扱えるから、表示や一部の図形コマ
ンド削除におけるデータ管理が容易となる。
Furthermore, by selecting appropriate commands, the amount of data transferred can be reduced, and as a result, the command transfer time and command storage area can be reduced. Furthermore, since flatness determination processing is not necessary and geometric shape definition data and display method definition data can be handled at once, data management in displaying and deleting some graphical commands is facilitated.

〔実施例〕〔Example〕

以下、本発明の実施例を図面を用いて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図、第2図は本発明による図形データ転送方式の一
実施例の説明図であって、第1図は輝度補間シェーディ
ング表示の場合の表示対象図形とデータ転送コマンドの
説明図、第2図は法線補間シェーディング表示の場合の
表示対象図形とデータ転送コマンドの説明図である。
1 and 2 are explanatory diagrams of an embodiment of the graphic data transfer method according to the present invention, in which FIG. The figure is an explanatory diagram of a figure to be displayed and a data transfer command in the case of normal interpolation shading display.

第1図、第2図において、1は球面を平行な2千面で切
断して作られる表示対象図形、2,3,4゜5はコマン
ド形式である。この球面部分を輝度補間および法線補間
シェーディング表示することを考える。そのために1球
面部分を多面体に分割して近似表示する。また、上下の
球面で切り取られた平面はそれぞれ多角形で近似表示す
る。
In FIGS. 1 and 2, 1 is a figure to be displayed created by cutting a spherical surface into 2,000 parallel planes, and 2, 3, 4.degree. 5 is a command format. Consider displaying this spherical part using luminance interpolation and normal interpolation shading. For this purpose, one spherical surface is divided into polyhedra and approximated. Further, the planes cut by the upper and lower spherical surfaces are each approximated and displayed as a polygon.

いま、たとえば第1図および第2図のように球面部分は
10面体で、上下の面は10角形で近似することを考え
る。ここでP、〜P、。sQ1〜Q、。ハ近似10面体
および10角形の頂点である。第1図において、工〜工
 およびJ、〜J、。はそれぞれ、点P、〜P、Imお
よびQ、〜Q、。における球面上の輝度である。
Now, let us consider, for example, that the spherical portion is a decahedron, and the upper and lower surfaces are approximated by decagons, as shown in FIGS. 1 and 2, for example. Here P, ~P,. sQ1~Q,. C is the approximate decahedron and the vertices of the decagon. In FIG. 1, engineering ~ engineering and J, ~J,. are the points P, ~P, Im and Q, ~Q, respectively. is the brightness on the spherical surface at .

またIおよびJはそれぞれ上下の平面の輝度である。ま
た、第2図においてs n1〜n、。およびm。
Further, I and J are the brightness of the upper and lower planes, respectively. Also, in FIG. 2, s n1 to n. and m.

〜m、。はそれぞれ点P、〜P、。およびQ、〜Q、。~m,. are the points P, ~P, respectively. and Q, ~Q,.

における球面の法線ベクトルである。またnおよびmは
それぞれ上下の平面の法線ベクトルである。
is the normal vector of the sphere at . Further, n and m are normal vectors of the upper and lower planes, respectively.

このとき、第1図および第2図において、4角形P1P
2Q2Q、は曲面を近似する10面体の1つの面を構成
する多角形である。10角形p、 p2〜P1゜は球面
で切り取られた平面の1つを近似する多角形である。こ
れらの多角形データの転送はそれぞれ第1図および第2
図に示すようにシェーディング表示方法に応じて次のよ
うなコマンド形式で行なう。
At this time, in FIGS. 1 and 2, the quadrilateral P1P
2Q2Q is a polygon that constitutes one face of a decahedron that approximates a curved surface. The decagon p, p2 to P1° is a polygon that approximates one of the planes cut by the spherical surface. The transfer of these polygon data is shown in Figures 1 and 2, respectively.
As shown in the figure, the following command format is used depending on the shading display method.

いま、輝度補間で工を表示することを考える。Now, let's consider displaying the image using luminance interpolation.

このとき、第1図のように4角形P1 ”2 q2q、
 の定義データはコマンド形式2で、10角形P、P2
9.。
At this time, as shown in Figure 1, the quadrilateral P1 ''2 q2q,
The definition data is command format 2, and the decagon P, P2
9. .

P、。の定義データはコマンド形式3で転送する。P. Definition data is transferred in command format 3.

コマンド2は、曲面近似の多角形であシ、各頂点の輝度
データを与え、そのデータから多角形内の各表示点の輝
1度データを線形補間して求めて表示する多角形、すな
わち頂点輝度付多角形であることを示す命令コードPV
I 、頂点数データ(この場合は4)および各頂点x、
y、z座標値とその頂点における輝度を示すデータ(X
l + Yl * Zl + K1)この場合は1=1
〜4 、 K、 =I、 、 K2=I2. K、=J
2゜K4=J1 )で構成される。一方、コマンド3は
、平面上の多角形であシ、与えられた輝度で多角形内の
各表示点を表示する多角形、すなわち1面輝度付多角形
であることを示す命令コードPS1.頂点数データ(こ
の場合は10)、平面輝度データ、各頂点のx、y、z
座標値(xi、y、、zi)(この場合は1=1〜10
)で構成される。
Command 2 is a polygon that approximates a curved surface, gives the brightness data of each vertex, and uses that data to linearly interpolate the brightness 1 degree data of each display point within the polygon to obtain and display the polygon, that is, the vertices. Instruction code PV indicating that it is a polygon with brightness
I, vertex number data (4 in this case) and each vertex x,
Data (X
l + Yl * Zl + K1) In this case, 1=1
~4, K, =I, , K2=I2. K,=J
2°K4=J1). On the other hand, command 3 is a polygon on a plane, and command code PS1. Vertex number data (10 in this case), plane brightness data, x, y, z of each vertex
Coordinate values (xi, y, zi) (in this case, 1 = 1 to 10
).

ただし、これは10角形p、 p2・・・P、。の大き
さに対して光源位置と視点位置は十分に遠くにあると仮
定し、10角形p、 p2・・・P、。は均一の輝度に
見えるとした場合である。三次元図形の形状を確認する
ための表示においては、一般的にこの仮定は実用上の制
限となるものではない。
However, this is a decagon p, p2...P,. Assuming that the light source position and the viewpoint position are sufficiently far apart for the size of the decagon p, p2...P,. This is the case where the brightness appears to be uniform. In general, this assumption is not a practical limitation when displaying for confirming the shape of a three-dimensional figure.

また、法線補間で表示対象図形1を表示するときは、第
2図のように別のコマンドとし、4角形”l P2 Q
2 Qlはコマンド形式4で、10角形p、p2・・・
”10はコマンド形式5で転送する。コマンド4は、曲
面近似の多角形であシ、各頂点の法線ベクトルデータを
与え、そのデータから多角形内の各表示座の法線ベクト
ルを線形補間して求め、光源と視点の方向からその点の
輝度を求めて表示する多角形、すなわち頂点法線ベクト
ル付多角形であることを示す命令コードPVN、頂点数
データ(この場合は4)および各頂点のX、Y、Z座標
値および法線ベクトルのX、Y、Z同成分データ(X、
、Yl。
Also, when displaying the display target figure 1 by normal interpolation, use a separate command as shown in Figure 2, and enter the square "l P2 Q
2 Ql is command format 4, with decagons p, p2...
"10 is transferred in command format 5. Command 4 is a polygon that approximates a curved surface, gives normal vector data of each vertex, and linearly interpolates the normal vector of each display locus within the polygon from that data. instruction code PVN indicating that the polygon is a polygon with vertex normal vectors, the number of vertices data (4 in this case), and each The X, Y, Z coordinate values of the vertex and the X, Y, Z co-component data of the normal vector (X,
, Yl.

Zl + xl t 71 + zl ) (この場合
はi=1〜4)で構成される。コマンド5は、平面上の
多角形であり、与えられた面の法線ベクトルと光源およ
び視点の方向から多角形内の各表示点の輝度を求めて表
示する多角形、すなわち面法線ベクトル付多角形である
ことを示す命令コードPSN、頂点数データ(この場合
は10)、面の法線ベクトルのx、y、z成分(xtL
z )、各頂点のX、Y、Z値(Xl、Yl。
Zl + xl t 71 + zl ) (in this case, i=1 to 4). Command 5 is a polygon on a plane, and the brightness of each display point within the polygon is determined and displayed from the normal vector of the given surface, the light source, and the direction of the viewpoint, that is, a polygon with surface normal vector. Instruction code PSN indicating that it is a polygon, number of vertices data (10 in this case), x, y, z components of the normal vector of the surface (xtL
z ), the X, Y, Z values of each vertex (Xl, Yl.

2□)(この場合は1=1〜10)で構成される。2□) (in this case, 1=1 to 10).

第1図、第2図では曲面と平面の組合せの場合を示した
が、三次元図形がもともと平面のみの組合せで構成され
ているときは、各面を定義する面コマンドはそのときの
シェーディング表示法に応じて第1図、第2図のコマン
ド形式3又は5を選択して転送する。
Figures 1 and 2 show the case of a combination of curved surfaces and planes, but when a three-dimensional figure is originally composed of a combination of only planes, the surface commands that define each surface are used to display the shading at that time. Select and transfer command format 3 or 5 in FIGS. 1 and 2 depending on the law.

また1曲面の曲率に比べて多面体分割が十分に細かく、
多面体の各面が平面と見なせる場合は、曲面表示の多角
形であっても、コマンド形式3又は5で転送する。
In addition, the polyhedral division is sufficiently finer than the curvature of a single surface,
If each face of the polyhedron can be regarded as a plane, it is transferred using command format 3 or 5 even if the polygon is a curved surface.

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

以上説明したように、本発明によれば、曲面を輝度補間
シェーディング表示および法線補間シ、ニーディング表
示するための面コマンドをそれぞれ別コマンドとするこ
とによって、従来の選択コマンドが不要となる。また、
曲面と平面に応じて適切なコマンドを選択することによ
って、表示法定義データの転送量を削減できる。その結
果、コマンド転送時間とコマンド記憶エリアを削減する
ことができる。この削減効果は多角形の頂点数が多いほ
ど大きく、輝度補間の場合は最大1/6、法線補間の場
合は1/2だけ転送データ量を削減できる。
As described above, according to the present invention, the surface commands for displaying a curved surface with brightness interpolation shading, normal interpolation, and kneading are made into separate commands, thereby eliminating the need for conventional selection commands. Also,
By selecting appropriate commands depending on the curved surface or plane, the amount of display method definition data transferred can be reduced. As a result, command transfer time and command storage area can be reduced. This reduction effect increases as the number of vertices of a polygon increases, and the amount of transferred data can be reduced by a maximum of 1/6 in the case of luminance interpolation and 1/2 in the case of normal interpolation.

さらに平面性判定処理が不要となると共に、幾何形状定
義データと表示方法定義データを一括して扱えるので、
図形の表示や一部の図形の削除などにおけるデータ管理
が容易になるなど、従来技術の欠点を除いて優れた機能
の図形データ転送方式を提供することができる。
Furthermore, flatness determination processing is no longer necessary, and geometric shape definition data and display method definition data can be handled all at once.
It is possible to provide a graphic data transfer method with excellent functions, such as facilitating data management in displaying graphics and deleting some graphics, while eliminating the drawbacks of the prior art.

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

第1図は本発明の一実施例における輝度補間シェーディ
ング表示の場合の表示対象図形とデータ転送コマンドの
説明図、第2図は法線補間シェーディング表示の場合の
表示対象図形とデータ転送コマンドの説明図である。 1・・・表示対象図形 2・・・頂点輝度付多角形コマンド 3・・・面輝度付多角形コマンド 4・・・頂点法線ベクトル付多角形コマンド5・・・面
法線ベクトル付多角形コマンドP、〜P、。+Q1〜Q
、。・・・多角形頂点工、〜工、。、J、〜J、。・・
・頂点輝度r、J・・・面輝度 m、〜m、。、n、〜n、。・・・頂点法線ベクトルm
、n・・・面法線ベクトル。
FIG. 1 is an explanatory diagram of a figure to be displayed and a data transfer command in the case of luminance interpolation shading display in an embodiment of the present invention, and FIG. 2 is an explanation of a figure to be displayed and a data transfer command in the case of normal interpolation shading display. It is a diagram. 1... Figure to be displayed 2... Polygon with vertex brightness command 3... Polygon with surface brightness command 4... Polygon with vertex normal vector command 5... Polygon with surface normal vector Command P, ~P,. +Q1~Q
,. ...Polygon vertex work, ~ work,. ,J,~J,.・・・
- Vertex brightness r, J... surface brightness m, ~m,. ,n,~n,. ... Vertex normal vector m
, n... Surface normal vector.

Claims (1)

【特許請求の範囲】 1、コンピュータ・グラフィックス技術を利用して、三
次元図形を表示装置に表示するための図形データ転送方
式において、前記三次元図形の曲面をシェーディング表
示するための面コマンドと、多面体および曲面などで切
り取られた平面を表示するための面コマンドを各々の別
のコマンドとすることによりデータ転送量を削減し、デ
ータ管理を容易にしたことを特徴とする三次元図形デー
タ転送方式。 2、特許請求の範囲第1項記載の図形データ転送方式に
おいて、幾何形状データとシェーディング表示のための
データを1つのコマンドに含ませることを特徴とする図
形データ転送方式。 3、特許請求の範囲第2項記載の図形データ転送方式に
おいて、さらに曲面を輝度補間シェーディング表示する
ための面コマンドと法線補間シェーディング表示するた
めの面コマンドを各々別のコマンドとすることを特徴と
する図形データ転送方式。 4、特許請求の範囲第2項記載の図形データ転送方式に
おいて、与えられた輝度で表示する平面を定義するコマ
ンドと与えられた面の法線ベクトルから輝度を求めて表
示する平面を定義するコマンドを各々別のコマンドとす
ることを特徴とする図形データ転送方式。
[Claims] 1. In a graphic data transfer method for displaying a three-dimensional figure on a display device using computer graphics technology, a surface command and a surface command for displaying a curved surface of the three-dimensional figure in shading are provided. , a three-dimensional figure data transfer characterized by reducing the amount of data transferred and facilitating data management by using separate commands for displaying planes cut by polyhedrons, curved surfaces, etc. method. 2. A graphic data transfer method according to claim 1, characterized in that geometric data and data for shading display are included in one command. 3. The graphic data transfer method according to claim 2, further characterized in that a surface command for displaying a curved surface in luminance interpolation shading and a surface command for displaying a curved surface in normal interpolation shading are separate commands. A graphic data transfer method that uses 4. In the graphic data transfer method described in claim 2, a command to define a plane to be displayed with a given brightness and a command to define a plane to be displayed by calculating the brightness from the normal vector of the given surface. A graphic data transfer method characterized by using each as a separate command.
JP10420387A 1987-04-30 1987-04-30 Shading display device for three-dimensional figures Expired - Lifetime JP2528875B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10420387A JP2528875B2 (en) 1987-04-30 1987-04-30 Shading display device for three-dimensional figures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10420387A JP2528875B2 (en) 1987-04-30 1987-04-30 Shading display device for three-dimensional figures

Publications (2)

Publication Number Publication Date
JPS63271580A true JPS63271580A (en) 1988-11-09
JP2528875B2 JP2528875B2 (en) 1996-08-28

Family

ID=14374413

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10420387A Expired - Lifetime JP2528875B2 (en) 1987-04-30 1987-04-30 Shading display device for three-dimensional figures

Country Status (1)

Country Link
JP (1) JP2528875B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4784279B2 (en) 2005-11-17 2011-10-05 王子製紙株式会社 Condenser film

Also Published As

Publication number Publication date
JP2528875B2 (en) 1996-08-28

Similar Documents

Publication Publication Date Title
US6600485B1 (en) Polygon data generation method and image display apparatus using same
CN105844711B (en) Engraving 2D images on subdivision surfaces
US4609917A (en) Three-dimensional display system
EP0116737A2 (en) Three-dimensional display system
US5877769A (en) Image processing apparatus and method
JPH05307610A (en) Texture mapping method and its device
JPS62231380A (en) Picture synthesizing device
JPH0785290A (en) Method and equipment for clipping of graphic polygon to clip region
US6791569B1 (en) Antialiasing method using barycentric coordinates applied to lines
CN109410213A (en) Polygon pel method of cutting out, computer readable storage medium, electronic equipment based on bounding box
US10403040B2 (en) Vector graphics rendering techniques
England A graphics system architecture for interactive application-specific display functions
EP0644509B1 (en) Method and apparatus for filling polygons
Fussell et al. A vlsi-oriented architecture for real-time raster display of shaded polygons
JPS63271580A (en) Graphic data transfer system
Sabella et al. Toward fast color-shaded images of CAD/CAM geometry
JPH02150975A (en) Drawing display system
JPS60246481A (en) Graphic display device
CN114913285B (en) Virtual engine-based rotating progress bar implementation method
JP3029553B2 (en) 3D graphics processor
CN101071509A (en) Computer drawing element describing method and device
JP3147391B2 (en) Method and apparatus for setting curved surface in three-dimensional boundary fitting mesh division
JP3511301B2 (en) Surface data generation method
JPS60256880A (en) Display device of 3-dimensional pattern
JPH05342368A (en) Method and device for generating three-dimensional picture