JPH0632043B2 - Shading display method - Google Patents

Shading display method

Info

Publication number
JPH0632043B2
JPH0632043B2 JP61151045A JP15104586A JPH0632043B2 JP H0632043 B2 JPH0632043 B2 JP H0632043B2 JP 61151045 A JP61151045 A JP 61151045A JP 15104586 A JP15104586 A JP 15104586A JP H0632043 B2 JPH0632043 B2 JP H0632043B2
Authority
JP
Japan
Prior art keywords
patch
boundary
patches
divided
unit area
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
JP61151045A
Other languages
Japanese (ja)
Other versions
JPS638882A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP61151045A priority Critical patent/JPH0632043B2/en
Publication of JPS638882A publication Critical patent/JPS638882A/en
Publication of JPH0632043B2 publication Critical patent/JPH0632043B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Description

【発明の詳細な説明】 以下の順序で本発明を説明する。DETAILED DESCRIPTION OF THE INVENTION The present invention will be described in the following order.

A産業上の利用分野 B発明の概要 C従来の技術(第11図及び第12図) D発明が解決しようとする問題点(第6図〜第10図) E問題点を解決するための手段(第1図及び第2図) F作用(第1図及び第2図) G実施例 (G1)第1実施例(第1図及び第2図) (G2)第2実施例(第3図) (G3)陰影表示処理手順(第1図、第2図及び第4図) (G4)切出し領域の分割処理結果の検討(第1図、第2図
及び第5図) (G5)他の実施例 H発明の効果 A産業上の利用分野 本発明は陰影表示方法に関し、例えばCAD(computer
aided design)、又はCAM(computer aided manufa
cturing)などにおいて生成された自由曲面について、
陰影処理する場合に適用して好適なものである。
A Industrial field of use B Outline of the invention C Conventional technology (Figs. 11 and 12) D Problems to be solved by the invention (Figs. 6 to 10) E Means for solving problems (Figs. 1 and 2) F action (Figs. 1 and 2) G embodiment (G1) First embodiment (Figs. 1 and 2) (G2) Second embodiment (Fig. 3) ) (G3) Shading display processing procedure (Figs. 1, 2, and 4) (G4) Examination of division processing result of cutout area (Figs. 1, 2, and 5) (G5) Other Embodiment H Effect of the Invention A Field of Industrial Application The present invention relates to a shadow display method, for example, CAD (computer).
aided design) or CAM (computer aided manufa
cturing) and other free-form surfaces generated,
This is suitable when applied to the shading processing.

B発明の概要 本発明は、枠組み空間にそれぞれ張られたパツチから三
角形単位領域を切り出して陰影処理をするようになされ
た陰影表示方法において、1辺の境界線を介して複数の
第2のパツチに隣接するように接続された第1のパツチ
から三角形単位領域を切り出す際に、当該複数の第2の
パツチの対応するパツチにおいて用いられているパラメ
ータを用いるようにすることにより、第1のパツチ及び
第2のパツチ間に陰影処理をすることができない領域を
残さないようにし得る。
B Outline of the Invention The present invention provides a shadow display method in which a triangle unit area is cut out from patches that are respectively placed in a frame space and a shadow process is performed, and a plurality of second patches are provided via a boundary line of one side. When the triangular unit area is cut out from the first patch connected so as to be adjacent to the first patch, the parameters used in the corresponding patches of the plurality of second patches are used so that the first patch And it is possible to leave no area between the second patches that cannot be shaded.

C従来の技術 例えばCADの手法を用いて自由曲面をもつた物体の形
状をデザインする場合(giometric modeling)、一般に
デザイナは、曲面が通るべき3次元空間における複数の
点(これを節点と呼ぶ)を指定し、当該指定された複数
の節点を結ぶ境界曲線網を所定のベクトル関数を用いて
コンピユータによつて演算させることより、いわゆるワ
イヤフレームで表現された曲面を作成する。かくして境
界曲線によつて囲まれた多数の枠組み空間を形成するこ
とができる(このような処理を枠組み処理と呼ぶ)。
C Conventional Technology For example, when designing the shape of an object having a free-form surface using a CAD method (giometric modeling), a designer generally uses a plurality of points in a three-dimensional space through which the surface should pass (this is called a node). Is specified, and a boundary curve network connecting the specified plurality of nodes is calculated by a computer using a predetermined vector function, thereby creating a curved surface represented by a so-called wire frame. Thus, it is possible to form a large number of framework spaces surrounded by boundary curves (such processing is called framework processing).

かかる枠組み処理によつて形成された境界曲線網は、そ
れ自体デザイナがデザインしようとする大まかな形状を
有しており、各枠組み空間を囲む境界曲線を用いて所定
のベクトル関数によつて表現できる曲面を補間演算する
ことがでれば、全体としてデザイナがデザインした自由
曲面(2次関数で規定できないものを言う)を生成する
ことができる。ここで各枠組み空間に張られた曲面は全
体の曲面を構成する基本要素を形成し、これをパツチと
呼ぶ。
The boundary curve network formed by such framework processing itself has a rough shape that the designer intends to design, and can be represented by a predetermined vector function using the boundary curves surrounding each framework space. If the curved surface can be interpolated, it is possible to generate a free-form surface (which means one that cannot be defined by a quadratic function) designed by the designer as a whole. Here, the curved surface stretched in each frame space forms a basic element that constitutes the entire curved surface, and this is called a patch.

従来この種のCADシスステムにおいては、境界曲線網
を表現するベクトル関数として、計算が容易な例えばベ
ジエ(bezier)式、B−スプライン(B-spline)式でな
る3次のテンソル積が用いられており、例えば形状的に
特殊な特徴がないような自由曲面を数式表現するには最
適であると考えられている。
Conventionally, in this type of CAD system, a cubic tensor product, which is a Bezier equation or a B-spline equation, which is easy to calculate, is used as a vector function expressing a boundary curve network. Therefore, it is considered to be optimal for mathematical expression of a free-form surface having no special feature in terms of shape.

すなわち形状的に特殊な特徴がないような自由曲面は、
空間に与えられた点をxy平面上に投影したとき、当該
投影さた点が規則的にマトリクス状に並んでいることが
多く、この投影点の数がm×nで表されるとき、当該枠
組み空間を3次のベジエ式で表される四辺形パツチを用
いて容易に張ることができる。
That is, a free-form surface that has no special features in terms of shape
When the points given to the space are projected on the xy plane, the projected points are often regularly arranged in a matrix, and when the number of the projected points is represented by m × n, The framework space can be easily extended by using a quadrilateral patch represented by a cubic Bezier equation.

しかし形状的に特徴がある枠組み空間(例えば大きく歪
んだ形状をもつ)に滑らかな自由曲面を張ろうとする場
合には、パツチ相互間の接続方法に困難があり、高度な
数学的演算処理を実行する必要があるため、従来はコン
ピユータによる演算処理が複雑かつ膨大になると共に、
演算時間が長大になる問題があつた。
However, when trying to stretch a smooth free-form surface into a framework space (for example, having a large distorted shape) that is characteristic in terms of shape, it is difficult to connect the patches to each other, and sophisticated mathematical operation processing is executed. Since it is necessary to do so, the calculation processing by the computer has become complicated and huge in the past, and
There was a problem that the calculation time became long.

この問題を解決する方法として、隣合う枠組み空間の共
有境界について、接平面連続の条件を満足するような内
部の制御点を求め、当該内部の制御点によつて決まる自
由曲面を表すベクトル関数によつて、自由曲面でなるパ
ツチを張る方法が提案されている(特開昭60-277448
号、特開昭60-290849号、特願昭60-298638号、特願昭61
-33412号、特開昭61-59790号、特願昭61-64560号、特願
昭61-69368号、特願昭61-69385号)。
As a method of solving this problem, regarding the shared boundary of adjacent framework spaces, an internal control point that satisfies the condition of tangential plane continuity is obtained, and a vector function expressing a free-form surface determined by the internal control point is obtained. Therefore, a method of forming a patch with a free-form surface has been proposed (JP-A-60-277448).
No. 60-290849, Japanese Patent Application No. 60-298638, Japanese Patent Application No. 61
-33412, JP-A-61-59790, Japanese Patent Application No. 61-64560, Japanese Patent Application No. 61-69368, Japanese Patent Application No. 61-69385).

ところでこのような手法によつて生成された自由曲面デ
ータによつて表される自由曲面に対して、陰影処理を施
すことによつて陰影をつけることができれば、当該曲面
をデイスプレイ上に立体的に表示できることにより、グ
ラフイツク画像として高品位の画像を提供することがで
きると考えられ、従来かかる陰影処理を線形補間によつ
て実現する方法が提案されている(特願昭60-37077
号)。
By the way, if the free-form surface represented by the free-form surface data generated by such a method can be shaded by performing a shading process, the curved surface is three-dimensionally displayed on the display. It is considered that a high-quality image can be provided as a graphic image because it can be displayed, and a method for realizing such shading processing by linear interpolation has been conventionally proposed (Japanese Patent Application No. 60-37077).
issue).

この陰影処理方法は、例えば第11図及び第12図に示
すように、四辺形パツチ及び三辺形パツチS(u,v)につい
て、パツチS(u,v)の座標を表すu及びv方向について、
それぞれ所定の分割数で分割し(例えば4×4分割
し)、各分割領域ごとに、三角形単位領域UAを切り出
し、当該三角形単位領域UAの3つの頂点について自由
曲面の明るさを表すデータを求め、当該3つのデータに
よつて三角形単位領域に張つた輝度平面に基づいて、三
角形単位領域UAに含まれる全てのピクセルについての
輝度を線形輝度演算するようになされている。
This shading processing method is, for example, as shown in FIGS. 11 and 12, for the quadrilateral patch and the triangle patch S (u, v) , the u and v directions that represent the coordinates of the patch S (u, v). about,
Each is divided into a predetermined number of divisions (for example, 4 × 4 divisions), the triangular unit area UA is cut out for each divided area, and data representing the brightness of the free-form surface for the three vertices of the triangular unit area UA is obtained. The linear luminance calculation is performed on the luminances of all the pixels included in the triangular unit area UA based on the luminance plane extending over the triangular unit area by the three data.

このようにすれば、三角形単位領域UAに含まれる全て
のピクセルについて逐一輝度を演算するような処理をす
る場合と比較して、格段的に陰影処理を短時間の間に実
行することができる。
By doing so, it is possible to dramatically execute the shadowing process in a short time, as compared with the case where the brightness is calculated for every pixel included in the triangular unit area UA.

D発明が解決しようとする問題点 ところがこの手法によつて陰影処理をする場合、隣合う
パツチの境界位置に枠組み処理が不適当なために陰影処
理ができない部分(これをギヤツプと呼ぶ)が生ずるお
それがある。
D. Problem to be solved by the invention However, when shading processing is performed by this method, a portion (this is called a gear tap) that cannot be shading occurs at the boundary position of adjacent patches due to improper framework processing. There is a risk.

その原因を種々検討したところ、枠組み空間を枠組みす
る際に、互いに隣接する2つの枠組み空間について、そ
の共有境界のセグメントが互いに一致しないことにある
と考えられる。
As a result of various studies on the cause, it is considered that when the framework space is framed, the segments of the shared boundary of two adjacent framework spaces do not match each other.

例えば互いに隣接する4つの枠組み空間に3次のベジエ
式で表される4つの四辺形パツチS(u,v)1、S(u,v)2、S
(u,v)3、S(u,v)4を張る場合、先ず、第6図に示すよう
に、第1及び第2のパツチS(u,v)1及びS(u,v)2を共有境
界COM1を介して接平面連続の条件が成り立つように
内部の制御点を設定することによつて2つのパツチS
(u,v)1及びS(u,v)2を接続したとする。
For example, four quadrilateral patches S (u, v) 1 , S (u, v) 2 , S represented by cubic Bezier equations in four adjacent framework spaces
When (u, v) 3 and S (u, v) 4 are stretched, first, as shown in FIG. 6, first and second patches S (u, v) 1 and S (u, v) 2 are provided. By setting the internal control points so that the condition of tangential plane continuity is established via the shared boundary COM1, two patches S
Assume that (u, v) 1 and S (u, v) 2 are connected.

ところが第2のパツチS(u,v)2は、その1辺を構成する
境界曲線でなる共有境界COM2及びCOM3を介して
第3及び第4のパツチS(u,v)3及びS(u,v)4に隣接してお
り、これら2つのパツチS(u,v)3及びS(u,v)4に対してそ
れぞれ共有境界COM2及びCOM3について接平面連
続の条件を満足させながらパツチS(u,v)2を接続するた
めには、第7図に示すように、第2のパツチS(u,v)2
共有境界COM4によつて2つの四辺形パツチS(u,v)21
及びS(u,v)22に分割した後、当該分割した一方のパツチ
S(u,v)21を共有境界COM2を介して第3のパツチS
(u,v)3に接続し、かつ分割した他方のパツチS(u,v)22
共有境界COM3を介して第4のパツチS(u,v)4に接続
すると共に、共有境界COM4を介して分割した2つの
パツチS(u,v)21及びS(u,v)22を接続すれば良く、このよ
うにすれば、実用上滑らかな自由曲面を枠組み処理によ
つて得られた4つの枠組み空間に張ることができると考
えられる。
However, the second patch S (u, v) 2 has the third and fourth patches S (u, v) 3 and S (u , v) via the shared boundaries COM2 and COM3 which are boundary curves that form one side thereof. , v) 4 adjacent to each other, and with respect to these two patches S (u, v) 3 and S (u, v) 4 , the patch S In order to connect (u, v) 2, as shown in FIG. 7, the second patch S (u, v) 2 is connected to two quadrilateral patches S (u, v) by the shared boundary COM4. twenty one
And S (u, v) 22 and then one of the divided patches.
S (u, v) 21 is shared by the third boundary S2 via the boundary COM2.
The other partition S (u, v) 22 which is connected to (u, v) 3 and is also connected to the fourth patch S (u, v) 4 via the shared boundary COM3, and the shared boundary COM4 is connected. It suffices to connect the two patches S (u, v) 21 and S (u, v) 22 that are divided via the above-mentioned method. In this way, a practically smooth free-form surface can be obtained by frame processing. It is thought that it can be set up in one framework space.

ところが第7図のようにして形成された自由曲面につい
て、三角形単位領域を切り出して線形補間の手法を用い
て陰影処理をしようとすると、共有境界COM1を介し
て接続された第1及び第2のパツチS(u,v)1及びS(u,v)2
の間に、陰影処理ができない部分(これをギヤツプと呼
ぶ)が生ずるおそれがある。
However, if the triangular unit area is cut out and the shading processing is performed using the linear interpolation method for the free-form surface formed as shown in FIG. 7, the first and second connected areas are connected via the shared boundary COM1. Patches S (u, v) 1 and S (u, v) 2
There is a possibility that a portion (which is called a gear gap) where the shading processing cannot be performed occurs during the period.

すなわち第8図において、第1のパツチS(u,v)1と、2
つに分割したパツチS(u,v)21及びS(u,v)22との間の共有
境界COM1についての三角形単位領域の切出しは、各
パツチS(u,v)1、S(u,v)21、S(u,v)22において、それぞ
れ別個に実行される。
That is, in FIG. 8, the first patch S (u, v) 1 and 2
The cutout of the triangular unit area with respect to the shared boundary COM1 between the patches S (u, v) 21 and S (u, v) 22 divided into two is performed by dividing each patch S (u, v) 1 , S (u, v) 21 and S (u, v) 22 are executed separately.

第1のパツチS(u,v)1においては、共有境界COM1上
に例えば3つの分割点(P11、P12、P13)をパラメータ
vについて設定し、かくして4分割された分割範囲から
それぞれ4つの三角形単位領域UA1を切り出して陰影
処理をする。
In the first patch S (u, v) 1 , for example, three division points (P 11 , P 12 , P 13 ) are set on the shared boundary COM1 for the parameter v, and thus each of the four division ranges is divided. The four triangular unit areas UA1 are cut out and subjected to shading processing.

これに対して第2のパツチS(u,v)2を分割して得られた
2つのパツチS(u,v)21及びS(u,v)22においては、それぞ
れ共有境界COM11及びCOM12上に3つの分割点
(P211、P212、P213)及び(P221、P222、P223)を設定
して4つの三角形単位領域UA21及びUA22を切り
出して陰影処理をする。
On the other hand, in the two patches S (u, v) 21 and S (u, v) 22 obtained by dividing the second patch S (u, v) 2 , on the shared boundaries COM11 and COM12, respectively. Are set to three division points (P 211 , P 212 , P 213 ) and (P 221 , P 222 , P 223 ) and four triangle unit areas UA21 and UA22 are cut out and subjected to shading processing.

ここで三角形単位領域UA1、UA21、UA22は、
それぞれのパツチにおけるv方向のパラメータvを用い
てv=0〜1の間等間隔に0.25ずつ分割して切り出され
る。
Here, the triangle unit areas UA1, UA21, UA22 are
Using the parameter v in the v direction in each patch, 0.25 is divided at even intervals between v = 0 to 1 and cut out.

ところがこのようにすると、第1のパツチS(u,v)1の三
角形単位領域UA1の切り出しは、枠組み処理によつて
形成された共有境界COM1の両端位置の節点P00〜P03
間1つのセグメントとして4分割している。これに対し
てパツチを接続する必要性から新たに分割されたパツチ
S(u,v)21及びS(u,v)22は、その共有境界COM4が共有
境界COM1と突き当たる点PMを境として点PM〜P03
の共有境界COM11を第1のセグメントとすると共
に、点PM〜P00間の共有境界COM12を第2のセグメ
ントとして分割処理を実行する。
However, in this way, the cutout of the triangular unit area UA1 of the first patch S (u, v) 1 is performed by the nodes P 00 to P 03 at both ends of the shared boundary COM1 formed by the frame processing.
It is divided into four as one segment. On the other hand, because of the need to connect patches
S (u, v) 21 and S (u, v) 22 have a shared boundary COM11 between points P M and P 03 as a first segment with a point P M where the shared boundary COM4 abuts the shared boundary COM1 as a boundary. At the same time, the division processing is executed with the shared boundary COM12 between the points P M and P 00 as the second segment.

このようにすると節点P00〜P03間の共有境界COM1に
ついて、第1のパツチS(u,v)1側においては4つの三角
形単位領域UA1を切り出すのに対して、新たなパツチ
S(u,v)21及びS(u,v)22側においては、共有境界COM1
の線分でなる共有境界COM11及びCOM12をそれ
ぞれ4分割した三角形単位領域UA21及びUA22を
切り出すことになり、結局共有境界COM1に対して合
計8分割した大きさの三角形単位領域UA21及びUA
22を切り出す結果になる。
For sharing boundary COM1 between node P 00 to P 03 In this way, the first Patsuchi S (u, v) with respect to cutting out four triangular unit areas UA1 in 1 side, new Patsuchi
On the S (u, v) 21 and S (u, v) 22 sides, the shared boundary COM1
The triangles UA21 and UA22 are formed by dividing the shared boundaries COM11 and COM12, which are line segments, into four, respectively, so that the shared boundary COM1 is divided into eight triangle unit areas UA21 and UA.
The result is to cut out 22.

従つて、節点P00〜P03間を4分割する三角形単位領域U
A1の共有境界COM1に沿う1辺が通る位置は、同様
に節点P00〜P03間を8分割する三角形単位領域UA21
及びUA22の共有境界COM11及びCOM12に沿
う1辺が通る位置と同じになることはなく、その間にギ
ヤツプGUPXが生ずることになる。
Therefore, the triangular unit area U that divides the nodes P 00 to P 03 into four
Sharing boundary COM1 position one side passes along the A1 likewise node P 00 to P 03 triangular unit areas between which is divided into eight UA21
The position where one side along the shared boundaries COM11 and COM12 of UA22 and UA22 does not become the same, and a gap GUPX occurs between them.

そこでこのギヤツプGUPXの部分については、陰影処
理がされないことになり、結局陰影がつかない部分が生
じることによりいわゆる穴があくことになる。
Therefore, the gear GUPX portion is not shaded, so that there is a portion that is not shaded so that a so-called hole is formed.

第6図〜第8図においては、第1のパツチS(u,v)1を第
2のパツチS(u,v)2に接平面連続の条件の下に接続した
場合について述べたが、第6図に対応させて第9図に示
すように、第1のパツチS(u,v)1を第2のパツチS(u,v)2
に接平面連続の条件が成り立たない条件の下に接続した
状態において、第7図に対応させて第10図に示すよう
に、第2のパツチS(u,v)2を2つのパツチS(u,v)21及びS
(u,v)22に分割して接平面連続の条件の下に隣接するパ
ツチと接続する場合についても、第8図について上述し
たと同様にして、ギヤツプGUPXが生じる結果にな
る。
In FIGS. 6 to 8, the case where the first patch S (u, v) 1 is connected to the second patch S (u, v) 2 under the condition of continuous tangential plane is described. As shown in FIG. 9 corresponding to FIG. 6, the first patch S (u, v) 1 is replaced with the second patch S (u, v) 2.
As shown in FIG. 10 corresponding to FIG. 7, the second patch S (u, v) 2 is connected to the two patches S ( u, v) 21 and S
Also in the case of dividing into (u, v) 22 and connecting to adjacent patches under the condition of tangential plane continuity, the result is that the gear GUPX is generated in the same manner as described above with reference to FIG.

このように陰影処理ができない部分が生ずると、陰影を
つけた自由曲面が不自然に見える不都合が生ずる。
If there is a portion that cannot be shaded in this way, the shaded free-form surface will appear unnatural.

本発明は以上の点を考慮してなされたもので、第8図に
ついて上述したようなギヤツプGUPXが生じないよう
に陰影処理のための三角形単位領域を切り出すことがで
きるようにした陰影表示方法を提案しようとするもので
ある。
The present invention has been made in consideration of the above points, and provides a shadow display method capable of cutting out a triangle unit area for shadow processing so that the gear GUPX as described above with reference to FIG. 8 does not occur. It is a proposal.

E問題点を解決するための手段 かかる問題点を解決するため本発明においては、枠組み
処理によつて境界曲線で囲まれた多数の枠組み空間を形
成し、この枠組み空間にそれぞれ位置を表すパラメータ
を有するベクトル関数で表されるパツチを張ることによ
り生成された自由曲面について、枠組み空間にそれぞれ
張られたパツチから三角形単位領域を切り出し、当該三
角形単位領域の3つの頂点位置の輝度情報に基づいて、
三角形単位領域に含まれているピクセルについての輝度
情報を補間することにより、自由曲面に陰影をつけるよ
うになされた陰影表示方法において、1辺の境界曲線C
OM1を介して複数の第2のパツチS(u,v)21、S(u,v)22
に隣接するように接続された第1のパツチS(u,v)1から
三角形単位領域を切り出すに先立つて、第1のパツチS
(u,v)1を複数の第2のパツチS(u,v)21、S(u,v)22に対応
する複数の切出し領域に分割し、当該分割された各切出
し領域において複数の第2のパツチS(u,v)21、S(u,v)22
のうち対応するパツチにおいて用いられているパラメー
タvを用いて三角形単位領域の切出しを実行するように
する。
E Means for Solving the Problems In order to solve the problems, according to the present invention, a large number of frame spaces surrounded by boundary curves are formed by the frame processing, and parameters representing positions are respectively set in the frame spaces. With respect to the free-form surface generated by stretching the patch represented by the vector function, the triangular unit area is cut out from the respective patches stretched in the frame space, and based on the luminance information of the three vertex positions of the triangular unit area,
In the shading display method in which the luminance information about the pixels included in the triangular unit area is interpolated to shade the free-form surface, the boundary curve C of one side is
A plurality of second patches S (u, v) 21 , S (u, v) 22 via OM1.
Prior to cutting out the triangular unit area from the first patch S (u, v) 1 connected so as to be adjacent to the first patch S
(u, v) 1 is divided into a plurality of cutout regions corresponding to the plurality of second patches S (u, v) 21 and S (u, v) 22, and a plurality of cutout regions are divided in each of the divided cutout regions. 2 patches S (u, v) 21 , S (u, v) 22
The triangle unit area is cut out using the parameter v used in the corresponding patch.

F作用 第1のパツチS(u,v)1において分割形成された切出し領
域において、対応する第2のパツチS(u,v)21、S(u,v)22
において用いられているパラメータvを用いて三角形単
位領域の切出しを実行するようにしたことにより、第1
のパツチS(u,v)1及び第2のパツチS(u,v)21、S(u,v)22
間の共有境界COM1においてギヤツプを生じさせない
ように三角形単位領域を切り出すことができる。
F action In the cut-out region divided and formed in the first patch S (u, v) 1 , the corresponding second patches S (u, v) 21 , S (u, v) 22
By cutting out the triangular unit area using the parameter v used in
Patches S (u, v) 1 and second patches S (u, v) 21 , S (u, v) 22
Triangular unit regions can be cut out so as not to cause a gear gap at the shared boundary COM1 between them.

かくして自由曲面について陰影処理ができない部分を穴
として残すことなく自由曲面全体について自然な陰影を
つけることができる。
In this way, it is possible to give a natural shadow to the entire free-form surface without leaving a portion of the free-form surface that cannot be shaded as a hole.

G実施例 以下図面について本発明の一実施例を詳述する。G Embodiment One embodiment of the present invention will be described in detail below with reference to the drawings.

(G1)第1実施例 第1図は第6図及び第7図について上述したようにして
形成された自由曲面について本発明を適用した場合の実
施例を示すもので、パツチS(u,v)21及びS(u,v)22の陰影
処理については、第8図について上述したと同様にして
三角形単位領域UA21及びUA22を切り出す。
(G1) First Embodiment FIG. 1 shows an embodiment in which the present invention is applied to a free-form surface formed as described above with reference to FIGS. 6 and 7, and a patch S (u, v ) 21 and S (u, v) 22 , the triangular unit areas UA21 and UA22 are cut out in the same manner as described above with reference to FIG.

これに対して第1のパツチS(u,v)1の陰影処理を実行す
る際には、第1のパツチS(u,v)1と隣接する2つのパツ
チS(u,v)21及びS(u,v)22と同じパラメータを用いて三角
形単位領域を切り出すように、2つの切出し領域S
(u,v)11及びS(u,v)12に分割する。すなわち第8図に対
応させて第2図に示すように、2つのパツチS(u,v)21
びS(u,v)22間の共有境界COM4が共有境界COM1に
突き当たる点PMを通つて延長する共有境界COM5によ
つて第1のパツチS(u,v)1を2つの切出し領域S(u,v)11
及びS(u,v)12に分割する。
When executing the first Patsuchi S (u, v) 1 of shading cope with this, the first Patsuchi S (u, v) 1 and two adjacent Patsuchi S (u, v) 21 and Two cutout areas S are cut out so that a triangle unit area is cut out using the same parameters as S (u, v) 22.
It is divided into (u, v) 11 and S (u, v) 12 . That is, as shown in FIG. 2 corresponding to FIG. 8, the common boundary COM4 between the two patches S (u, v) 21 and S (u, v) 22 passes through the point P M where the common boundary COM1 abuts. The first boundary S (u, v) 1 is divided into two cut-out regions S (u, v) 11 by the shared boundary COM5 extending in the vertical direction.
And S (u, v) 12 .

第1の切出し領域S(u,v)11は、共有境界COM11を介
して隣接するパツチS(u,v)21のパラメータと同じパラメ
ータvを用いて、節点P03から点PMまでの範囲を、4分
割され、各分割範囲について三角形単位領域UA11が
切り出される。
The first cut-out region S (u, v) 11 is the range from the node P 03 to the point P M , using the same parameter v as the parameter of the patch S (u, v) 21 adjacent to the shared boundary COM11. Is divided into four, and the triangular unit area UA11 is cut out for each divided range.

また第2の切出し領域S(u,v)12は、共有境界COM12
を介して隣接するパツチS(u,v)22と同じパラメータvを
用いて、節点P00から点PMまでの範囲を4分割され、各
分割範囲について三角形単位領域UA12が切り出され
る。
Further, the second cutout area S (u, v) 12 is the shared boundary COM12.
The range from the node P 00 to the point P M is divided into four parts by using the same parameter v as that of the patch S (u, v) 22 adjacent to each other via the triangle unit area UA12.

このようにすれば、共有境界COM11を境にしてパツ
チS(u,v)21側において切り出された三角形単位領域UA
21について、その共有境界COM11に沿う方向の1
辺が通る位置は、第1の切出し領域S(u,v)11側において
切り出された三角形単位領域UA11について、その共
有境界COM11に沿う方向の1辺が通る位置と全く同
じ位置になる。
By doing so, the triangular unit area UA cut out on the patch S (u, v) 21 side with the shared boundary COM 11 as a boundary.
21 in the direction along the shared boundary COM11
The position where the side passes is exactly the same as the position where one side passes in the direction along the shared boundary COM11 of the triangular unit area UA11 that is cut out on the first cutout area S (u, v) 11 side.

同様にして共有境界COM12について、パツチS
(u,v)22側において切り出された三角形単位領域UA2
2の共有境界COM12に沿う方向の1辺が通る位置
は、第2の切出し領域S(u,v)12側において切り出された
三角形単位領域UA12の共有境界COM12に沿う方
向の1辺が通る位置と同一となる。その結果それぞれ、
共有境界COM11及びCOM12を挟んで両側に切り
出された三角形単位領域UA21及びUA11間、UA
22及びUA12間にギヤツプが生ずることはない。
Similarly, for the shared boundary COM12, the patch S
Triangle unit area UA2 cut out on the (u, v) 22 side
The position where one side in the direction along the shared boundary COM12 of 2 passes is the position where one side in the direction along the shared boundary COM12 of the triangular unit area UA12 cut out on the second cutout area S (u, v) 12 side passes. Is the same as As a result,
Between the triangular unit areas UA21 and UA11 cut out on both sides of the shared boundary COM11 and COM12, UA
There is no gear gap between 22 and UA12.

かくして第1及び第2の切出し領域S(u,v)11及びS
(u,v)12に分割された第1のパツチS(u,v)1に張られたパ
ツチと、隣接する2つのパツチS(u,v)21及びS(u,v)22
間に陰影がつかないいわゆる穴が生じることはない。
Thus, the first and second cutout regions S (u, v) 11 and S
Between the first patch S (u, v) 1 that is divided into (u, v) 12 and two adjacent patches S (u, v) 21 and S (u, v) 22 . There is no so-called hole that is not shaded.

上述の実施例によれば、隣合うパツチの一方が、枠組み
空間上にパツチを張る条件に基づいて分割されたとき、
分割されないパツチ及び隣接する分割されたパツチに対
して陰影処理を施したとき、両者の境界位置にいわゆる
穴があくおそれを未然に防止することにより、自由曲面
上の陰影が不自然に見えるような結果になるおそれを有
効に防止し得る。
According to the above-mentioned embodiment, when one of the adjacent patches is divided based on the condition for putting the patch on the frame space,
When shading is applied to undivided patches and adjacent divided patches, the shadow on the free-form surface looks unnatural by preventing the possibility of forming a so-called hole at the boundary position between them. It is possible to effectively prevent the possibility of a result.

(G2)第2実施例 第3図は、第10図について上述したようにして生成さ
れた自由曲面に陰影処理をする場合の実施例を示すもの
で、この場合にも第1図の場合と同様にして第1のパツ
チS(u,v)1を共有境界COM11及びCOM12を介し
て隣接するパツチS(u,v)21及びS(u,v)22のパラメータと
おなじパラメータを用いて第1及び第2の切出し領域S
(u,v)11及びS(u,v)12に分割する。
(G2) Second Embodiment FIG. 3 shows an embodiment in which shading processing is performed on the free-form surface generated as described above with reference to FIG. 10, and in this case as well as in the case of FIG. Similarly, the first patch S (u, v) 1 is set to the first patch S (u, v) 1 using the same parameters as those of the adjacent patches S (u, v) 21 and S (u, v) 22 via the shared boundaries COM11 and COM12. 1st and 2nd cut-out area S
It is divided into (u, v) 11 and S (u, v) 12 .

このようにすれば、第1図について上述したと同様の効
果を得ることができる。
By doing so, the same effect as described above with reference to FIG. 1 can be obtained.

(G3)陰影表示処理手順 このような陰影処理に伴う三角形切出し領域の分割処理
は、コンピユータによつて第4図に示す陰影表示処理手
順を実行することにより実現し得る。
(G3) Shading display processing procedure The division processing of the triangle cutout region associated with such shading processing can be realized by executing the shading display processing procedure shown in FIG. 4 by a computer.

第4図において、ステツプSP1において陰影表示処理
プログラムが開始されると、コンピユータはステツプS
P2においてパツチデータを読み込んでワイヤフレーム
表示をする。このパツチデータは例えばデザイナが自由
曲面をデザインする際に、別途3次元空間に境界曲線網
を枠組みすることによつて得られる。
In FIG. 4, when the shadow display processing program is started in step SP1, the computer is in step S.
At P2, the patch data is read and wire frame display is performed. This patch data can be obtained by, for example, separately designing a free-form surface by a designer by framing a boundary curve network in a three-dimensional space.

この表示状態においてオペレータはワイヤフレーム表示
された自由曲面について、陰影処理をするに際して不適
当なパツチを含む不具合(第6図又は第9図のような)
があるか否かをステツプSP3において目視確認し、不
具合があるとの判断結果が得られたとき、ステツプSP
4に移つて当該不具合があるパツチを複数の切出し領域
に分割した後ステツプSP5に移る。
In this display state, the operator has an inconvenient patch when performing shadow processing on the free-form surface displayed in wireframe (as shown in FIG. 6 or 9).
If it is determined that there is a defect by visually checking in Step SP3 whether there is any, Step SP3
After moving to step 4, the defective patch is divided into a plurality of cutout regions, and then the process proceeds to step SP5.

このステツプSP3及びSP4の処理手順は第7図及び
第10図ついて上述したように、隣合う2つのパツチが異
なるパラメータによつて三角形単位領域の切り出しをす
るように構成されている場合に、そのまま各パツチにつ
いて陰影処理をすれば隣合うパツチの境界曲線の位置に
陰影処理をすることができない領域が穴となつて残る場
合があるので、このパツチ相互間の穴を発生させないよ
うに防止する。
As described above with reference to FIGS. 7 and 10, the processing procedure of steps SP3 and SP4 remains unchanged when two adjacent patches are configured to cut out a triangular unit area by different parameters. If shading processing is performed on each patch, a region where shading processing cannot be performed may be left as a hole at the position of the boundary curve of adjacent patches. Therefore, it is prevented that a hole between the patches is generated.

ステツプSP3において不具合なパツチが発見できなか
つたときには、直ちにステツプSP5に移る。
If no defective patch can be found at step SP3, the process immediately proceeds to step SP5.

このステツプSP5は、共有境界と、切り出される三角
形単位領域の共有境界に沿う1辺との間の誤差δの値を
指定するステツプで、オペレータがこの誤差δを指定す
ると、コンピユータはステツプSP6に移つて当該誤差
δに対する三角形単位領域の分割数を決定して分割処理
を実行する。
This step SP5 is a step for designating the value of the error δ between the shared boundary and one side along the shared boundary of the triangle unit area to be cut out. When the operator designates the error δ, the computer moves to step SP6. Then, the number of divisions of the triangular unit area with respect to the error δ is determined and the division processing is executed.

このステツプSP5及びSP6の処理は、1つのパツチ
から三角形単位領域を切り出す際に当該パツチが本来境
界曲線にもつている曲線感を失わせないようにするため
再分割処理をするもので、コンピユータはこの処理結果
をステツプSP7においてオペレータに目視確認させ、
実用上未だ曲線感を失わせせるような状態にある場合に
は、上述のステツプSP5に戻つて誤差δの値を再指定
すると共に、当該誤差δに対する三角形単位領域の分割
処理を繰り返す。
The processing of steps SP5 and SP6 is a subdivision processing so that the patch does not lose the curvilinear feeling originally possessed by the boundary curve when the triangular unit area is cut out from one patch. The operator visually confirms the processing result at step SP7,
If the curve is still lost in practical use, the process returns to step SP5 to re-specify the value of the error δ, and the triangular unit area division processing for the error δ is repeated.

このような処理が終了したとき、コンピユータはステツ
プSP8に移つて当該陰影表示処理プログラムを終了す
る。
When such processing ends, the computer moves to step SP8 and ends the shade display processing program.

(G4)切出し領域の分割処理結果の検討 (G4-1)境界曲線COM12について 第1図及び第2図について上述したように、第1のパツ
チS(u,v)1のパラメータvを0から1まで変化させるこ
とにより指定される共有境界COM1について、これを
2つの共有境界COM11及びCOM12に分割し、そ
れぞれ隣接するパツチS(u,v)21及びS(u,v)22のパラメー
タvを用いてこれを0から1まで変化させるまでの間に
それぞれ4つの三角形単位領域UA11及びUA12を
切り出したとき、その切出し結果は直接元の共有境界C
OM1についてパツチS(u,v)1のパラメータvを用いて
0から1まで変化させる間に8つの三角形単位領域を切
り出した場合と同じ結果になる。このことは、次のよう
にして確認し得る。
(G4) Examination of division processing result of cutout area (G4-1) Boundary curve COM12 As described above with reference to FIGS. 1 and 2, the parameter v of the first patch S (u, v) 1 is changed from 0 to 0. For the shared boundary COM1 designated by changing it to 1, the shared boundary COM1 is divided into two shared boundaries COM11 and COM12, and the parameters v of the adjacent patches S (u, v) 21 and S (u, v) 22 are respectively divided. When four triangular unit areas UA11 and UA12 are respectively cut out while changing the value from 0 to 1, the cutout result is directly the original shared boundary C.
The same result is obtained as when eight triangular unit areas are cut out while changing from 0 to 1 using the parameter v of the patch S (u, v) 1 for OM1. This can be confirmed as follows.

各枠組み空間に張るパツチS(u,v)を次式 S(u,v)=(1−u+uE)3 (1−v+vF)P(00) ……(1) のように3次のベジエ式で表すとすると、第1図及び第
2図のパツチS(u,v)1の共有境界COM1は、次式 R(t)=(1−t+tE)3P0 ……(2) で表されるように、パラメータtが0から1まで変化す
る間に第5図に示すように、節点P0からP3までの共有境
界COM1を、xyz座標空間における空間曲線R
(t)として表すことができる。
The patch S (u, v) that extends in each frame space is expressed by the following formula S (u, v) = (1-u + uE) 3 (1-v + vF) 3 P (00) ... (1) If it is expressed by an equation, the common boundary COM1 of the patch S (u, v) 1 in FIGS. 1 and 2 is represented by the following equation R (t) = (1-t + tE) 3 P 0 (2) As shown in FIG. 5, while the parameter t changes from 0 to 1, the shared boundary COM1 from the nodes P 0 to P 3 is set to the space curve R in the xyz coordinate space.
It can be represented as (t).

ところで共有境界COM4(第2図)が共有境界COM
1に突き当たる点PMにおいて、第1のパツチS(u,v)1
共有境界COM5によつて分割されたと考えたとき、パ
ラメータtが0からt0まで変化したとき、指定し得る節
点P0から点PMまでの線分でなる共有境界COM12は、
次式 R1(t1)=(1−t1+t1E)3P(0)1 ……(3) のように、パラメータt1(=0〜1)を変数とする空間
曲線R1(t1)によつて表すことができる。
By the way, the common boundary COM4 (Fig. 2) is the common boundary COM.
When it is considered that the first patch S (u, v) 1 is divided by the shared boundary COM5 at the point P M that abuts 1, the node P that can be designated when the parameter t changes from 0 to t 0 The common boundary COM12 consisting of the line segment from 0 to the point P M is
A space curve R 1 having a parameter t 1 (= 0 to 1 ) as a variable, as in the following equation R 1 (t 1 ) = (1-t 1 + t 1 E) 3 P (0) 1 (3) It can be represented by (t 1 ).

ここで共有境界COM12は、共有境界COM1の線分
であるので、分割後の空間曲線R1(t1)は分割前の空間
曲線R(t)と等しいはずであり、(2)式及び(3)
式から (1−t1+t1E)3P(0)1=(1−t+tE)3P0 ……
(4) の関係が成り立つ。
Since the shared boundary COM12 is a line segment of the shared boundary COM1, the space curve R 1 (t 1 ) after the division should be equal to the space curve R (t) before the division, and the equation (2) and ( 3)
From the formula, (1-t 1 + t 1 E) 3 P (0) 1 = (1-t + tE) 3 P 0 ......
The relationship of (4) holds.

ここで分割後の空間曲線R1(t1)のパラメータt1は、共
有境界COM12を節点P0から点PMまで指定する際に、
0から1まで変化するのに対して、同様に節点P0からPM
までの範囲を空間曲線R(t)の位置を指定するにはパ
ラメータtを0からt0まで変化させる関係にある。この
関係を比例式で表せば t:4=t:t0 ……(5) となり、パラメータt及びt1の関係は t=t0t1 ……(6) で表し得る。
Here, the parameter t 1 of the space curve R 1 (t 1 ) after the division is as follows when the shared boundary COM12 is specified from the node P 0 to the point P M.
Similarly, while changing from 0 to 1, nodes P 0 to P M
In order to specify the position of the space curve R (t), the parameter t is changed from 0 to t 0 . If this relation is expressed by a proportional expression, t: 4 = t: t 0 (5), and the relation between the parameters t and t 1 can be expressed by t = t 0 t 1 (6).

(6)式を(4)式の右辺に代入すると共に、式の形を
整えて展開すると、 (1−t−tE)3P0 =(1−t0t1+t0t1E)3P0 ={(1−t1+t1(1−t0+t0E)}3P0 =(1−t13P0 +3(1−t12t1(1−t0+t0E)P0 +3(1−t1)t1 2(1−t0+t0E)2P0 +t1 3(1−t0+t0E)3P0 ……(7) のように、パラメータt1について(t−t1)3の項と、3
(1−t1)2t1の項と、3(1−t1)t1 の項とt1 の項
との和として表し得る。
By substituting the equation (6) into the right side of the equation (4) and adjusting the form of the equation and expanding it, (1-t-tE) 3 P 0 = (1-t 0 t 1 + t 0 t 1 E) 3 P 0 = {(1-t 1 + t 1 (1-t 0 + t 0 E)} 3 P 0 = (1-t 1 ) 3 P 0 +3 (1-t 1 ) 2 t 1 (1-t 0 + t 0 E) P 0 +3 (1-t 1 ) t 1 2 (1-t 0 + t 0 E) 2 P 0 + t 1 3 (1-t 0 + t 0 E) 3 P 0 (7) , For the parameter t 1 the term (t−t 1 ) 3 and 3
It may represent a sum of the (1-t 1) of 2 t 1 claim, and 3 (1-t 1) t 1 2 term and t 1 3 sections.

これに対して(4)式の左辺を展開すると、次式 (1−t1+t1E)3P(0)1 =(1−t03P(0) +3(1−t12t1EP(0)1 +3(1−t1)t1 2E2P(0)1 +t1 3E3P(0)1 =(1−t13P(0)1 +3(1−t12t1P(1)1 +3(1−t1)t1 2P(2)1 +t1 3P(3)1 ……(8) のように(7)式の各項に対応する項を有する式が得ら
れる。
Expanding the left side of the hand (4), the following equation (1-t 1 + t 1 E) 3 P (0) 1 = (1-t 0) 3 P (0) +3 (1-t 1) 2 t 1 EP (0) 1 +3 (1-t 1 ) t 1 2 E 2 P (0) 1 + t 1 3 E 3 P (0) 1 = (1-t 1 ) 3 P (0) 1 +3 ( 1-t 1 ) 2 t 1 P (1) 1 +3 (1-t 1 ) t 1 2 P (2) 1 + t 1 3 P (3) 1・ ・ ・ Equation (7) as shown in (8) An expression having a term corresponding to the term is obtained.

(8)式においてP(0)1、P(1)1、P(2)1、P(3)1は第5図
に示すように、共有境界COM12を規定する制御点
で、 P(1)1=EP(0)1 ……(9) P(2)1=E2P(0)1 ……(10) P(3)1=E3P(0)1 ……(11) の関係がある。従つて(4)式を満足するためには、
(7)式及び(8)式の対応する項がそれぞれ互いに等
しければ良い。そこで(1−t13の項について P(0)1=P0 ……(12) の関係が成り立ち、このことは第5図において、共有境
界COM1の節点P0と共有境界COM12の制御点P
(0)1とが等しいことを表している。
In (8) P (0) 1, P ( 1) 1, P (2) 1, P (3) 1 , as shown in FIG. 5, the control points that define the shared boundary COM12, P (1 ) 1 = EP (0) 1 …… (9) P (2) 1 = E 2 P (0) 1 …… (10) P (3) 1 = E 3 P (0) 1 …… (11) I have a relationship. Therefore, in order to satisfy the equation (4),
It suffices if the corresponding terms of the expressions (7) and (8) are equal to each other. Then, the relation of P (0) 1 = P 0 ...... (12) holds for the term of (1-t 1 ) 3 and this means that in FIG. 5, the control of the node P 0 of the common boundary COM1 and the common boundary COM12 is performed. Point P
Indicates that (0) 1 is equal.

次に、3(1−t12t1の項について P(1)1=(1−t0)P0+t0P1 ……(13) が成り立つ。(13)式においてP0、P1はP2、P3と共に、第
5図において共有境界COM1を規定する制御点を構成
し、 P1=EP0 ……(14) P2=E2P0 ……(15) P3=E3P0 ……(16) の関係がある。従つて(13)式は、共有境界COM12の
制御点P(1)1は、共有境界COM1の制御P0及びP1をパ
ラメータ(1−t0)及びt0によつて内分した点であるこ
とを表している(第5図)。
Next, for the term of 3 (1-t 1 ) 2 t 1 , P (1) 1 = (1-t 0 ) P 0 + t 0 P 1 (13) holds. In the equation (13), P 0 and P 1 together with P 2 and P 3 form a control point defining the common boundary COM1 in FIG. 5, and P 1 = EP 0 (14) P 2 = E 2 P 0 …… (15) P 3 = E 3 P 0 …… (16) Therefore, in the equation (13), the control point P (1) 1 of the common boundary COM 12 is a point where the control P 0 and P 1 of the common boundary COM 1 are internally divided by the parameters (1-t 0 ) and t 0 . It means that there is (Fig. 5).

また3(1−t1)t1 2の項について P(2)1(1−t0+t0E)2P0 ……(17) が成り立つ。(17)式の右辺を展開して変形すれば (1−t0+t0E)2P0 =(1−t02P0+2(1−t0)t0P1+t0 2P0 =(1−t0){(1−t0)P0+t0P1} +t0{(1−t0)P1+t0P2} …(18) のように変形できる。(18)式において(1−t0)P0+t0
P1は、(13)式について上述したように、制御点P0及びP1
間を内分した点P(1)1である。また(1−t0)P1+t0P2
は、第5図に示すように、共有境界COM1の制御点P1
及びP2間をパラメータ(1−t0)及びt0で内分した点Q
を表し、従つて次式 (1−t0)P1+t0P2≡Q ……(19) で表すことができる。従つて(17)式は P(2)1=(1−t0)P(1)1+t0Q ……(20) と表し得、結局共有境界COM12の第2の制御点P
(2)1は、制御点P(1)1及び内分した点Qをさらにパラメ
ータ(1−t0)及びt0で内分した位置にあることが分か
る。
The 3 (1-t 1) t 1 for 2 term P (2) 1 (1- t 0 + t 0 E) 2 P 0 ...... (17) holds. If it deformed by expanding the right hand side of (17) (1-t 0 + t 0 E) 2 P 0 = (1-t 0) 2 P 0 +2 (1-t 0) t 0 P 1 + t 0 2 P 0 = (1-t 0) can be modified as {(1-t 0) P 0 + t 0 P 1} + t 0 {(1-t 0) P 1 + t 0 P 2} ... (18). In formula (18), (1-t 0 ) P 0 + t 0
P 1 is the control point P 0 and P 1 as described above for the equation (13).
It is the point P (1) 1 that divides the space internally. Also, (1-t 0 ) P 1 + t 0 P 2
Is the control point P 1 of the common boundary COM1 as shown in FIG.
And P 2 are internally divided by the parameter (1-t 0 ) and t 0
Therefore, it can be expressed by the following equation (1-t 0 ) P 1 + t 0 P 2 ≡Q (19). Therefore, Eq. (17) can be expressed as P (2) 1 = (1-t 0 ) P (1) 1 + t 0 Q ...... (20), and eventually the second control point P of the shared boundary COM12
It can be seen that (2) 1 is at a position where the control point P (1) 1 and the internally divided point Q are further internally divided by the parameters (1-t 0 ) and t 0 .

さらに(7)式及び(8)式においてt1 3の項について
次式 P(3)1=(1−t0+t0E)3P0 ……(21) が成り立ち、その右辺を展開して整理すれば、 (1−t0+t0E)3P0 =(1−t03P0+3(1−t02t0P1 +3(1−t0)t0 2P2+t0 3P3 =(1−t02{(1−t0)P0+t0P1} +2(1−t0)t0{(1−t0)P1+t0P2} +t0 2{1−t0)P2+t0P3} ……(22) のように変形し得る。(22)式において、第1項の(1−
t0)P0+t0P1は(13)式から制御点P(1)1であり、また第
2項の(1−t0)P1+t0P2は(19)式について上述したよ
うに内分した点Qであることが分かる。
Further, in the expressions (7) and (8), the following expression P (3) 1 = (1-t 0 + t 0 E) 3 P 0 (21) holds for the term of t 1 3 and expands the right side thereof. In summary, (1-t 0 + t 0 E) 3 P 0 = (1-t 0 ) 3 P 0 +3 (1-t 0 ) 2 t 0 P 1 +3 (1-t 0 ) t 0 2 P 2 + t 0 3 P 3 = (1-t 0 ) 2 {(1-t 0 ) P 0 + t 0 P 1 } +2 (1-t 0 ) t 0 {(1-t 0 ) P 1 + t 0 P 2 } + T 0 2 {1-t 0 ) P 2 + t 0 P 3 } ... (22) It can be transformed. In equation (22), the first term (1-
t 0 ) P 0 + t 0 P 1 is the control point P (1) 1 from the equation (13), and the second term (1-t 0 ) P 1 + t 0 P 2 is the equation (19) described above. It can be seen that the point Q is internally divided.

これに対して第3項の(1−t0)P2+t0P3は、第5図に
示すように、共有境界COM1の制御点P2及びP3間をパ
ラメータ(1−t0)及びt0で内分した点を表し、これを
次式 (1−t0)P2+t0P3≡P(2)2 ……(23) で表すように、共有境界COM11の第2番目の制御点
P(2)2とする。
On the other hand, the third term (1-t 0 ) P 2 + t 0 P 3 has a parameter (1-t 0 ) between the control points P 2 and P 3 of the shared boundary COM 1 as shown in FIG. and it represents a point obtained by internally dividing at t 0, which following equation as represented by (1-t 0) P 2 + t 0 P 3 ≡P (2) 2 ...... (23), the second shared boundary COM11 Control point
Let P (2) 2 .

このようにすると、(21)式の制御点P(3)1は次式 P(3)1=(1−t0){(1−t0)P(1)1+t0Q} +t0{(1−t0)Q+t0P(2)2} ……(24) のように整理することができる。ところがこの(24)式に
おいて、第1項の(1−t0)P(1)1+t0Qは(20)式で上
述したように制御点P(2)1であり、また第2項の(1−t
0)Q+t0P(2)2は、第図において内分した点Q及び制御
P(2)2間をパラメータ(1−t0)及びt0で内分した点を
表し、これを (1−t0)Q+t0P(2)2≡P(1)2 ……(25) で表すように、共有境界COM11の第1番目の制御点
P(1)2とする。
By doing so, the control point P (3) 1 in the equation (21) is expressed by the following equation P (3) 1 = (1-t 0 ) {(1-t 0 ) P (1) 1 + t 0 Q} + t 0 {(1-t 0 ) Q + t 0 P (2) 2 } …… (24) can be arranged. However, in this equation (24), the first term (1-t 0 ) P (1) 1 + t 0 Q is the control point P (2) 1 as described above in equation (20), and the second term Of (1-t
0 ) Q + t 0 P (2) 2 is the internally divided point Q and control in FIG.
P (2) 2 between the parameters (1-t 0) represents a point obtained by internally dividing at and t 0, which (1-t 0) Q + t 0 P (2) 2 ≡P (1) 2 ...... (25 ), The first control point of the shared boundary COM11
Let P (1) 2 .

このようにすれば(24)式の制御点P(3)1は結局 P(3)1=(1−t0)P(2)1+t0P(1)2 ……(26) で表すように、共有境界COM12の第2番目の制御点
P(2)1と、共有境界COM11の第1番目の制御点P(1)2
との間をパラメータ(1−t0)及びt0で内分した点にな
ることが分かる。
In this way, the control point P (3) 1 in Eq. (24) is eventually expressed as P (3) 1 = (1-t 0 ) P (2) 1 + t 0 P (1) 2 …… (26) , The second control point of the shared boundary COM12
P (2) 1 and the first control point P (1) 2 of the shared boundary COM11
It can be seen that the point between and is internally divided by the parameter (1-t 0 ) and t 0 .

このようにして共有境界COM12は、パラメータt1
0から1まで変化する間に、4つの制御点P(0)1
P(1)1、P(2)1、P(3)1によつて規定される曲線として規
定することができ、このように規定すれば、(4)式の
条件を満足できることになり、結局パラメータt1が0か
ら1まで変化する間に表される共有境界COM12は、
分割前の共有境界COM1についてパラメータtを0か
らt0まで変化させたときに表す境界曲線と一致すること
になる。
In this way, the shared boundary COM12 has four control points P (0) 1 , while the parameter t 1 changes from 0 to 1 .
It can be defined as a curve defined by P (1) 1 , P (2) 1 , and P (3) 1 , and if specified in this way, the condition of equation (4) can be satisfied, Eventually, the shared boundary COM12 represented while the parameter t 1 changes from 0 to 1 is
The shared boundary COM1 before division coincides with the boundary curve represented when the parameter t is changed from 0 to t 0 .

(G4-2)境界上記COM11について 次に分割前の共有境界COM1について、パラメータt
をt0から1まで変化させたときに指定される曲線と、分
割後の共有境界COM11についてパラメータt2を0か
ら1まで変化させたときに指定される曲線とが一致する
ことを次に確認する。
(G4-2) Boundary Regarding COM11 above, regarding the common boundary COM1 before division, the parameter t
Then verify the curve designated when changing from t 0 to 1, that the curve designated matches when the parameter t 2 for sharing boundary COM11 after division is changed from 0 to 1 To do.

分割後の共有境界COM11を表す空間曲線R2(t2)を次
式 R2(t2)=(1−t2−t2E)3P(0)2 ……(27) で表すとき、この曲線R2(t2)が次式について上述した共
有境界COM1を表す上記R(t)と等しくなるために
は次式 (1−t2−t2E)3P(0)2 =(1−t−tE)3P0 ……(28) が成り立つことが必要である。
When the space curve R 2 (t 2 ) representing the shared boundary COM11 after division is represented by the following equation R 2 (t 2 ) = (1-t 2 −t 2 E) 3 P (0) 2 …… (27) In order for this curve R 2 (t 2 ) to be equal to the above R (t) representing the shared boundary COM1 described above for the following equation, the following equation (1-t 2 −t 2 E) 3 P (0) 2 = It is necessary that (1-t-tE) 3 P 0 (28) holds.

ここでパラメータtとt2との間には、パラメータt2が0
から1ま変化したしたとき共有境界COM11の点P
(0)2から点P(3)2までの曲線が指定されるのに対して、
同じ曲線をパラメータtをt0から1まで変化させること
によつて指定することができる関係にある。そこで次式 t2:1=(1−t0) ……(29) の比例式が得られ、この比例式からパラメータtは次式 t=(1−t0)t2 ……(30) のようにパラメータt2で表すことができる。
Here, the parameter t 2 is 0 between the parameters t and t 2.
Point P of common boundary COM11 when changing from 1 to 1
While the curve from (0) 2 to the point P (3) 2 is specified,
The same curve has a relationship that can be specified by changing the parameter t from t 0 to 1. Therefore, the proportional equation of the following equation t 2 = 1 = (1-t 0 ) ... (29) is obtained, and from this proportional equation, the parameter t is the following equation t = (1-t 0 ) t 2 ...... (30) Can be represented by the parameter t 2 .

(30)式を(28)式の右辺に代入して整理すると(28)式の右
辺は (1−t+tE)3P0 =〔1−{t0+(1−t0)t2} +{t0(1−t0)t2}E〕3P0 =1−t0−t2+t0t2+t0E +t2E−t0t2E)3P0 ={(1−t2)−(1−t2)t0 +(1−t2)t0E+t2E}3P0 ={(1−t2)(1−t0+t0E) +t2E}3P0 ={(1−t23(1−t0+t0E)3 +3(1−t22(1−t0+t0E)2t2E +3(1−t2)(1−t0+t0E)t2 2E2 +t2 3E3}P0 ……(31) のように展開することができる。
(30) Equation (28) and rearranging are substituted into the right side of equation (28) the right side of the equation (1-t + tE) 3 P 0 = [1- {t 0 + (1- t 0) t 2} + {t 0 (1-t 0 ) t 2} E ] 3 P 0 = 1-t 0 -t 2 + t 0 t 2 + t 0 E + t 2 E-t 0 t 2 E) 3 P 0 = {(1- t 2) - (1-t 2) t 0 + (1-t 2) t 0 E + t 2 E} 3 P 0 = {(1-t 2) (1-t 0 + t 0 E) + t 2 E} 3 P 0 = {(1-t 2) 3 (1-t 0 + t 0 E) 3 +3 (1-t 2) 2 (1-t 0 + t 0 E) 2 t 2 E +3 (1-t 2) ( 1-t 0 + t 0 E) t 2 2 E 2 + t 2 3 E 3 } P 0 ... (31) can be expanded.

これに対して(28)式の左辺を展開すれば (1−t2+t2E)3P(0)2 =(1−t23P(0)2 +3(1−t2t2P(1)2 +3(1−t2)t2 2P(2)2+t2 3P(3)2 ……(32) のように(1−t23の項と、3(1−t22t2の項と、
3(1−t2)t2 2の項と、t2 3の項との和の形に整理する
ことができ、この各項が(31)式の対応する項と等しいと
置くことにより、共有境界COM11の曲線を規定する
制御点P(0)2、P(1)2、P(2)2、P(3)2をそれぞれ求めるこ
とができる。ここで(32)式において P(1)2=EP(0)2 ……(33) P(2)2=E2P(0)2 ……(34) P(3)2=E3P(0)2 ……(35) の関係がある。
On the other hand, if the left side of Eq. (28) is expanded, (1-t 2 + t 2 E) 3 P (0) 2 = (1-t 2 ) 3 P (0) 2 +3 (1-t 2 ) 2 t 2 P (1) 2 +3 (1-t 2 ) t 2 2 P (2) 2 + t 2 3 P (3) 2 …… (32) and (1-t 2 ) 3 term and 3 (1-t 2 ) 2 t 2 term,
3 (1-t 2 ) t 2 2 term and t 2 3 term can be arranged in the form of a sum, and by setting each term equal to the corresponding term in Eq. (31), The control points P (0) 2 , P (1) 2 , P (2) 2 , and P (3) 2 that define the curve of the common boundary COM11 can be obtained, respectively. Here, in equation (32), P (1) 2 = EP (0) 2 …… (33) P (2) 2 = E 2 P (0) 2 …… (34) P (3) 2 = E 3 P There is a relationship of (0) 2 …… (35).

先ず(31)式及び(32)式の(1−t23の項から次式 P(0)2=(1−t0+t0E)3P0 ……(36) が成り立つ。その右辺を展開すれば (1−t0+t0E)P0 =(1−t03P0+3(1−t02t0P0 +3(1−t0)t0 2P2+t0 3P3 =(1−t02{(1−t0)P0+t0P1} +2(1−t0)t0{(1−t0)P1+t0P2} +t0 2{(1−t0)P2+t0P3} ……(37) のように表すことができ、第1項の(1−t0)P0+t0P1
は、(13)式について上述したように制御点P(1)1であ
り、第2項の(1−t0)P1+t0P2は(19)式について上述
したように内分した点Qであり、さらに第3項の(1−
t0)P2+t0P3は(23)式について上述したように制御点P
(2)2である。
First, the following equation P (0) 2 = (1-t 0 + t 0 E) 3 P 0 (36) is established from the terms (1-t 2 ) 3 in the equations (31) and (32). By deploying the right side (1-t 0 + t 0 E) P 0 = (1-t 0) 3 P 0 +3 (1-t 0) 2 t 0 P 0 +3 (1-t 0) t 0 2 P 2 + t 0 3 P 3 = (1-t 0 ) 2 {(1-t 0 ) P 0 + t 0 P 1 } +2 (1-t 0 ) t 0 {(1-t 0 ) P 1 + t 0 P 2 } + T 0 2 {(1-t 0 ) P 2 + t 0 P 3 } ... (37) can be expressed and (1-t 0 ) P 0 + t 0 P 1 of the first term
Is the control point P (1) 1 as described above with respect to equation (13), and (1-t 0 ) P 1 + t 0 P 2 of the second term is internally divided as described above with respect to equation (19). Point Q, and further the third term (1-
t 0 ) P 2 + t 0 P 3 is the control point P as described above for Eq. (23).
(2) It is 2 .

従つて(36)式の制御点P(0)2は P(0)2=(1−t0){(1−t0)P(1)1 +t0Q}+t0{(1−t0)Q +t0P(2)2} ……(38) のように書き直すことができる。ところが(38)式におい
てさらに第1項の(1−t0)P(1)1+t0Qは(20)式につ
いて上述したように制御点P(2)1であり、また第2項の
(1−t0)Q+t0P(2)2は(25)式について上述したよう
に制御点P(1)2である。従つて(38)式の制御点P(0)2は次
式 P(0)2=(1−t0)P(2)1+t0P(1)2 ……(39) で表されるように、共有境界COM12の制御点P(2)1
と共有境界COM11の制御点P(1)2間をパラメータ
(1−t0)及びt0によつて内分した点として求めること
ができる。
Therefore, the control point P (0) 2 in Eq. (36) is P (0) 2 = (1-t 0 ) {(1-t 0 ) P (1) 1 + t 0 Q} + t 0 {(1-t 0 ) Q + t 0 P (2) 2 } ...... (38) can be rewritten. However, in the equation (38), the first term (1-t 0 ) P (1) 1 + t 0 Q is the control point P (2) 1 as described above for the equation (20), and the second term (1-t 0 ) Q + t 0 P (2) 2 is the control point P (1) 2 as described above for the equation (25). Therefore, the control point P (0) 2 in equation (38) is expressed by the following equation P (0) 2 = (1-t 0 ) P (2) 1 + t 0 P (1) 2 ...... (39) , The control point P (2) 1 of the shared boundary COM12
And the control point P (1) 2 of the common boundary COM11 can be obtained as a point internally divided by the parameters (1-t 0 ) and t 0 .

次に(31)式及び(32)式の3(1−t22P2の項から P(1)2=(1−t0+t0E)2P1 ……(40) が成り立つ。その右辺を展開すれば (1−t0+t0E)2P1 =(1−t02P1+2(1−t0)t0P2+t0 2P3 =(1−t0){(1−t0)P1+t0P2} +t0{(1−t0)P2+t0P3} ……(41) のように整理することができ、その第1項の(1−t0
P1+t0P2は(19)式から内分した点Qであり、また第2項
の(1−t0)P2+t0P3は(23)式から制御点P(2)2であ
る。そこで(40)式の制御点P(1)2は次式 P(1)2=(1−t0)Q+t0P(2)2 ……(42) で表されるように、内分した点Qと制御点P(2)2間を
(1−t0)及びt0で内分した点であることが分かる。
Next, from the term of 3 (1-t 2 ) 2 P 2 in Eqs. (31) and (32), P (1) 2 = (1-t 0 + t 0 E) 2 P 1 ...... (40) . By deploying the right side (1-t 0 + t 0 E) 2 P 1 = (1-t 0) 2 P 1 +2 (1-t 0) t 0 P 2 + t 0 2 P 3 = (1-t 0 ) {(1-t 0 ) P 1 + t 0 P 2 } + t 0 {(1-t 0 ) P 2 + t 0 P 3 } ... (41) (1-t 0 )
P 1 + t 0 P 2 is the point Q internally divided from Eq. (19), and the second term (1-t 0 ) P 2 + t 0 P 3 is the control point P (2) 2 from Eq. (23). Is. Therefore, the control point P (1) 2 in Eq. (40) is internally divided as shown in the following equation P (1) 2 = (1-t 0 ) Q + t 0 P (2) 2 (42) It can be seen that the point Q and the control point P (2) 2 are internally divided by (1-t 0 ) and t 0 .

さらに(31)式及び(32)式の3(1−t2)t2 3の項から P(2)2=(1−t0+t0E)P2 =(1−t0)P2+t0P3 ……(43) の関係が成り立ち、結局制御点P(2)2は、制御点P2及びP
3間をパラメータ(1−t0)及びt0によつて内分した点
であることが分かる。
Further, from the term of 3 (1-t 2 ) t 2 3 in the equations (31) and (32), P (2) 2 = (1-t 0 + t 0 E) P 2 = (1-t 0 ) P 2 + t 0 P 3 …… (43) is established, and the control point P (2) 2 is finally the control points P 2 and P.
3 while it is a parameter (1-t 0) and a point have been conducted under the internal division in t 0 can be seen.

さらに(31)式及び(32)式のt2 3の項から P(3)2=P3 ……(44) が成り立つ。これにより制御点P(3)2は共有境界COM
1の節点P3であることが分かる。
Furthermore, P (3) 2 = P 3 (44) holds from the term t 2 3 in Eqs. (31) and (32). As a result, the control point P (3) 2 becomes a common boundary COM.
It can be seen that it is node P 3 of 1.

かくして共有境界COM11は、制御点P(0)2P(1)2、P
(2)2、P(3)2によつてパラメータt2を0から1まで変化
させることによつて得ることができる。そしてこの空間
曲線は、共有境界COM1の制御点P0、P1、P2、P3に基
づいて、これを内分した点として表すことができ、かく
して共有境界COM1についてパラメータtをt0から1
まで変化させたときに描く空間曲線と一致させることが
できる。
Thus, the common boundary COM11 is the control point P (0) 2 P (1) 2 , P
It can be obtained by changing the parameter t 2 from 0 to 1 according to (2) 2 and P (3) 2 . Then, this space curve can be expressed as an internally divided point based on the control points P 0 , P 1 , P 2 , P 3 of the shared boundary COM1, and thus the parameter t for the shared boundary COM1 from t 0. 1
It is possible to match the space curve drawn when changing up to.

(G4-3)総合評価 上述のようにパラメータt1及びt2をそれぞれ0から1ま
で変化化させたときに描く共有境界COM12及びCO
M11の空間曲線は、パラメータtを0から1まで変化
させたときに描く共有境界COM1の空間曲線と一致す
るようにし得、かくして第2図について上述したように
共有境界COM12及びCOM11についてそれぞれ三
角形単位領域を切り出す際に用いたパラメータと同じパ
ラメータを用いて、第1のパツチS(u,v)1の切出し領域S
(u,v)12及びS(u,v)11から三角形単位領域を切り出した
ときに、その効果は共有境界COM1の線分について三
角形単位領域を切り出したと同じ効果を生じさせること
ができる。その結果共有境界COM1の位置に陰影処理
されない穴があくことを有効に防止し得る。
(G4-3) Comprehensive evaluation Shared boundaries COM12 and CO drawn when the parameters t 1 and t 2 are changed from 0 to 1 as described above.
The spatial curve of M11 can be made to coincide with the spatial curve of the shared boundary COM1 drawn when the parameter t is changed from 0 to 1, thus, as described above with reference to FIG. Using the same parameters as those used when cutting out the area, the cut-out area S of the first patch S (u, v) 1
When a triangle unit area is cut out from (u, v) 12 and S (u, v) 11 , the effect can produce the same effect as cutting out the triangle unit area about the line segment of the shared boundary COM1. As a result, it is possible to effectively prevent that there is a hole that is not shaded at the position of the shared boundary COM1.

(G5)他の実施例 (1) なお、上述の実施例においては、枠組み空間に3
次のベジエ式で表されるパツチを張る場合について述べ
たが、数式の次数はこれに限らず4次以上にしても良
い。
(G5) Other Embodiments (1) In the above-mentioned embodiment, the frame space is set to 3
Although the case where the patch represented by the following Bezier formula is put up has been described, the order of the formula is not limited to this and may be a fourth order or higher.

(2) さらに上述の実施例においては、ベジエ式によつ
て表されるパツチを張るようにした場合について述べた
が、これに限らず、スプライン式、クーンズ(Coons)
式、フオーガソン(Furgason)式など他のベクトル関数を
用いるようにしても良い。
(2) Furthermore, in the above-mentioned embodiment, the case where the patch represented by the Bezier formula is stretched is described, but the present invention is not limited to this, and the spline type, Coons
Other vector functions such as a formula and a Furgason formula may be used.

(3) また、上述の実施例においては、四辺形パツチ間
を接続する場合について述べたが、これに限らず、他の
形状のパツチを接続する場合にも同様にして本発明を適
用し得る。
(3) Further, in the above-mentioned embodiment, the case of connecting between the quadrilateral patches was described, but the present invention is not limited to this, and the present invention can be similarly applied to the case of connecting patches of other shapes. .

H発明の効果 以上のように本発明によれば、1本の境界曲線を介して
複数のパツチと接続されているパツチについて陰影処理
のための三角形パツチを切り出す際に、当該隣接するパ
ツチにおいて用いられたパラメータを用いて三角形単位
領域を切り出すようにしたことにより、陰影処理をでき
ないような穴を生じさせることなく、自由曲面全体につ
いて陰影処理をすることができる陰影表示方法を容易に
実現し得る。
H Effect of the Invention As described above, according to the present invention, when a triangle patch for shading processing is cut out from a patch connected to a plurality of patches via one boundary curve, it is used in the adjacent patch. Since the triangular unit area is cut out using the given parameters, it is possible to easily realize the shading display method that can perform shading processing on the entire free-form surface without creating a hole where shading processing cannot be performed. .

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

第1図は本発明による陰影表示方法の一実施例を示す略
線図、第2図はその三角形単位領域の切出し手順を示す
略線図、第3図は他の応用例を示す略線図、第4図は陰
影表示処理手順を示すフローチヤート、第5図は分割さ
れた共有境界について異なるパラメータで三角形切出し
処理をした場合の結果の確認の説明に供する略線図、第
6図及び第7図は従来の陰影処理方法の説明に供する略
線図、第8図はその三角形単位領域の切出し手順を示す
略線図、第9図及び第10図は他の自由曲面についての
陰影処理方法の説明に供する略線図、第11図及び第1
2図はパツチからの三角形単位領域の切出し方法を示す
略線図である。 S(u,v)1……第1のパツチ、S(u,v)11、S(u,v)12……切
出し領域、S(u,v)21、S(u,v)22……分割されたパツチ、
UA、UA11、UA12、UA21、UA22……三
角形単位領域、COM1、COM11、COM12、C
OM4、COM5……共有境界。
FIG. 1 is a schematic diagram showing an embodiment of a shading display method according to the present invention, FIG. 2 is a schematic diagram showing a procedure for cutting out a triangular unit area, and FIG. 3 is a schematic diagram showing another application example. , FIG. 4 is a flow chart showing the shade display processing procedure, and FIG. 5 is a schematic diagram, FIG. 6 and FIG. 6 used for explaining the confirmation of the result when the triangular cut-out processing is performed on the divided shared boundary with different parameters. FIG. 7 is a schematic diagram used for explaining a conventional shading processing method, FIG. 8 is a schematic diagram showing a procedure for cutting out the triangular unit area, and FIGS. 9 and 10 are shading processing methods for other free-form surfaces. Schematic diagram, FIG. 11 and FIG.
FIG. 2 is a schematic diagram showing a method of cutting out a triangular unit area from a patch. S (u, v) 1 …… First patch, S (u, v) 11 , S (u, v) 12 …… Crop area, S (u, v) 21 , S (u, v) 22 … … Split patches,
UA, UA11, UA12, UA21, UA22 ... Triangular unit area, COM1, COM11, COM12, C
OM4, COM5 ... Sharing boundaries.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】枠組み処理によつて境界曲線で囲まれた多
数の枠組み空間を形成し、上記枠組み空間にそれぞれ位
置を表すパラメータを有するベクトル関数で表されるパ
ツチを張ることにより生成された自由曲面について、上
記枠組み空間にそれぞれ張られたパツチから三角形単位
領域を切り出し、当該三角形単位領域の3つの頂点位置
の輝度情報に基づいて、上記三角形単位領域に含まれて
いるピクセルについての輝度情報を補間することによ
り、上記自由曲面に陰影をつけるようになされた陰影表
示方法において、 1辺の境界曲線を介して複数の第2のパツチに隣接する
ように接続された第1のパツチから三角形単位領域を切
り出すに先立つて、上記第1のパツチを上記複数の第2
のパツチに対応する複数の切出し領域に分割し、当該分
割された各切出し領域において上記複数の第2のパツチ
のうち対応するパツチにおいて用いられているパラメー
タを用いて上記三角形単位領域の切出しを実行する ようにしたことを特徴とする陰影表示方法。
1. A freedom generated by forming a large number of frame spaces surrounded by boundary curves by a frame process and applying a patch represented by a vector function having a parameter representing a position to each frame space. With respect to the curved surface, a triangle unit area is cut out from the patches respectively set in the framework space, and based on the brightness information of the three vertex positions of the triangle unit area, the brightness information about the pixels included in the triangle unit area is obtained. In the shading display method in which the free curved surface is shaded by interpolation, in a triangle unit from a first patch connected so as to be adjacent to a plurality of second patches via a boundary curve on one side. Prior to cutting out the area, the first patch is divided into the plurality of second patches.
Is divided into a plurality of cutout areas corresponding to each patch, and the triangle unit areas are cut out using the parameters used in the corresponding patch of the plurality of second patches in each of the divided cutout areas. A shading display method characterized in that
JP61151045A 1986-06-27 1986-06-27 Shading display method Expired - Fee Related JPH0632043B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61151045A JPH0632043B2 (en) 1986-06-27 1986-06-27 Shading display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61151045A JPH0632043B2 (en) 1986-06-27 1986-06-27 Shading display method

Publications (2)

Publication Number Publication Date
JPS638882A JPS638882A (en) 1988-01-14
JPH0632043B2 true JPH0632043B2 (en) 1994-04-27

Family

ID=15510093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61151045A Expired - Fee Related JPH0632043B2 (en) 1986-06-27 1986-06-27 Shading display method

Country Status (1)

Country Link
JP (1) JPH0632043B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2518712B2 (en) * 1990-03-16 1996-07-31 正毅 東 Method and apparatus for producing high quality rendering drawing in computer graphic
CA2055587A1 (en) * 1990-11-26 1992-05-27 Liangpin Chen Enhanced computer aided design shading
US7274364B2 (en) * 2003-03-26 2007-09-25 Brigham Young University System and method for defining T-spline and T-NURCC surfaces using local refinements

Also Published As

Publication number Publication date
JPS638882A (en) 1988-01-14

Similar Documents

Publication Publication Date Title
CA2052767A1 (en) System and method for displaying trimmed surfaces using bitplane masking
US5579464A (en) Free-form surface creation method and apparatus thereof
JPH0632043B2 (en) Shading display method
US6147689A (en) Displaying 2D patches with foldover
JP3463843B2 (en) Free-form surface generation apparatus and free-form surface generation method
JP3187808B2 (en) Object surface shape data creation device
Sussner et al. Interactive examination of surface quality on car bodies
JPH11195139A (en) Sculptured surface generating device, method therefor and providing medium
JP3187810B2 (en) Object surface shape data creation device
CA2372882C (en) System and method for the industrialization of parts
JP3187815B2 (en) Object surface shape data creation method
JP2737132B2 (en) Object surface shape data creation method
JP3187809B2 (en) Object surface shape data creation method
JP2701252B2 (en) Object surface shape data creation method
JP3187811B2 (en) Object surface shape data creation method
JP2000172742A (en) Method and processor for curve deformation, storage medium stored with curve forming program, method and processor for curved surface deformation, and storage medium stored with curved surface deforming program
JP3187814B2 (en) Method and apparatus for creating surface shape data of object
JP2600670B2 (en) Free-form surface creation method
JP2600671B2 (en) Free-form surface creation method
JPH0327950B2 (en)
JPH06176168A (en) Computer graphics preparing device
Sussner et al. Generating High Quality Meshes for Interactive Examination of Surface Quality on Car Bodies.
JP3823596B2 (en) Data compression method for motion simulation
JP2696914B2 (en) Mold making method
JP2832939B2 (en) Graphic data display method and apparatus

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees