JPH08212387A - Three-dimensional figure generation processing device - Google Patents
Three-dimensional figure generation processing deviceInfo
- Publication number
- JPH08212387A JPH08212387A JP1451595A JP1451595A JPH08212387A JP H08212387 A JPH08212387 A JP H08212387A JP 1451595 A JP1451595 A JP 1451595A JP 1451595 A JP1451595 A JP 1451595A JP H08212387 A JPH08212387 A JP H08212387A
- Authority
- JP
- Japan
- Prior art keywords
- mapping
- dimensional
- perturbation
- color
- patch
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Processing Or Creating Images (AREA)
- Image Generation (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
(57)【要約】
【目的】 3次元形状の表面を多角形平面の集まりとし
て近似し、多角形平面の内部の色または輝度を連続的に
変化させて陰影の付いた立体感、および多角形平面にマ
ッピングを施して材質感を有する3次元図形の表示を高
速で実現する。
【構成】 カラールックアップテーブル14と色情報算
出手段13とにより陰影付けされた立体感のある3次元
図形を生成し、マッピングデータ16とマッピング処理
手段15とにより多角形平面にマッピングを施して材質
感を有する3次元図形を生成し、描画すべき3次元図形
のピクセル情報を算出してフレームバッファ18に書き
込むピクセル情報算出手段17により3次元図形に陰影
を施す装置において、離散関数に摂動項を導入したダイ
ナミックな関数処理を行なう摂動処理手段22を各手段
131、132、151、152、17のいずれかが設
けることにより、高速処理を実現する。
(57) [Abstract] [Purpose] A three-dimensional surface is approximated as a collection of polygonal planes, and the color or brightness inside the polygonal planes is continuously changed to create a shaded stereoscopic effect, and a polygonal shape. By mapping on a flat surface, it is possible to display a three-dimensional figure with a sense of material at high speed. A three-dimensional figure having a three-dimensional effect is generated by a color look-up table 14 and a color information calculating means 13, and a polygonal plane is mapped by a mapping data 16 and a mapping processing means 15. In a device that generates a three-dimensional figure having a feeling, calculates pixel information of the three-dimensional figure to be drawn, and writes the pixel information in the frame buffer 18, the perturbation term is added to the discrete function in the device that shades the three-dimensional figure. By providing the introduced perturbation processing means 22 for performing the dynamic function processing by any one of the means 131, 132, 151, 152 and 17, high speed processing is realized.
Description
【0001】[0001]
【産業上の利用分野】本発明は、コンピュータグラフィ
ックス(CG)において、3次元形状の表面を多角形平
面の集まりとして近似し、多角形平面の内部の色または
輝度を連続的に変化させて陰影の付いた立体感、ならび
に多角形平面にマッピングを施して材質感を有する3次
元図形の表示を行なう3次元図形生成処理装置に関す
る。BACKGROUND OF THE INVENTION The present invention, in computer graphics (CG), approximates the surface of a three-dimensional shape as a collection of polygonal planes, and continuously changes the color or brightness inside the polygonal planes. The present invention relates to a three-dimensional figure generation processing device for displaying a three-dimensional figure having a three-dimensional effect with shading and a material appearance by mapping a polygonal plane.
【0002】[0002]
【従来の技術】従来、CGにおいて3次元形状の表面を
多角形平面の集まりとして近似し、多角形平面の内部の
色を連続的に変化させて陰影の付いた立体感のある3次
元図形を生成する方法は、スムーズシェーディング法と
呼ばれ、この方法は、多角形に分割した各頂点の色を計
算し、その色を面内部で補間することによってディスプ
レイ表示画素の明るさを求め、それを面内部で計算する
ことによって滑らかな濃淡を得る方法である。そして、
面内部での補間方法としては、Grourand Shadingと Pho
ng Shadingが良く知られている。2. Description of the Related Art Conventionally, in CG, the surface of a three-dimensional shape is approximated as a collection of polygonal planes, and the color inside the polygonal planes is continuously changed to create a three-dimensional figure with a three-dimensional effect. The generation method is called the smooth shading method.This method calculates the color of each vertex divided into polygons and interpolates the color inside the surface to obtain the brightness of the display pixel and displays it. This is a method to obtain smooth shading by calculating inside the surface. And
As the interpolation method inside the surface, there are Grourand Shading and Pho.
ng Shading is well known.
【0003】スムーズシェーディング法における各多角
形頂点の色の算出においては種々のシェーディングモデ
ルが提案されており、代表的なシェーディングモデルと
しては、Lanbert Model と Cook-Torrance Modelが有名
であるが、Lanbert Model では、鏡面反射光成分を考慮
しないため色の算出のための処理時間は少なくて済む
が、ハイライト部分が生成されないという問題があり、
Cook-Torrance Model では、より高度な光源モデルを持
ち込み、ハイライト部分が生成されるため、実際のもの
と一致するが、色の算出は非常に処理時間がかかること
になる。Various shading models have been proposed for calculating the color of each polygonal vertex in the smooth shading method. As typical shading models, the Lanbert Model and Cook-Torrance Model are famous. Then, the processing time for color calculation is short because the specular reflection light component is not taken into consideration, but there is a problem that the highlight part is not generated,
The Cook-Torrance Model brings in a more sophisticated light source model, and the highlights are generated, so it matches the actual one, but the color calculation is very time-consuming.
【0004】これらの問題を解決するために、各多角形
頂点における色計算を行なわず輝度値を算出し、この輝
度値と色情報の関係をテーブルとして記述したカラール
ックアップテーブルをあらかじめ用意しておき、算出さ
れた輝度値からカラールックアップテーブルを用いて色
を決定することにより処理時間を速くする方法が取られ
ている。さらに特開平1−263886号公報のよう
に、カラールックアップテーブルを生成する際に用いる
シェーディングモデルそのものを、Cook-Torrance Mode
l を簡略化することにより、カラールックアップテーブ
ル生成処理時間を速くする手法がある。In order to solve these problems, a brightness value is calculated without performing color calculation at each polygon vertex, and a color lookup table in which the relationship between the brightness value and color information is described as a table is prepared in advance. Then, a method is adopted in which the processing time is shortened by determining the color from the calculated luminance value using a color lookup table. Furthermore, as in Japanese Patent Laid-Open No. 1-263886, the shading model itself used when generating a color lookup table is referred to as Cook-Torrance Mode.
There is a method of shortening the color lookup table generation processing time by simplifying l.
【0005】カラールックアップテーブルを用いること
により、カラールックアップテーブルで設定されている
色成分の情報(例えばRGBの場合はRとGとB)各々
に対して、相対的な寄与率を変更する場合は、参照する
カラールックアップテーブルの参照方法をR、G、B各
々に対応して変更することにより、3次元図形の色を変
更することができる。By using the color lookup table, the relative contribution rate is changed with respect to each of the color component information (for example, R, G, and B in the case of RGB) set in the color lookup table. In this case, the color of the three-dimensional figure can be changed by changing the reference method of the color lookup table to be referred to for each of R, G, and B.
【0006】また、従来、多角形平面にマッピングを施
して材質感を有する3次元図形の表示を行なう方法とし
ては、テクスチャ・マッピング、リフレクション・マッ
ピング、バンプ・マッピングが良く知られている。これ
らマッピング処理においては、あらかじめマッピングす
べきデータを作成しておき、各多角形内部にそれらマッ
ピングデータから対応する色あるいはベクトルデータを
参照することにより、材質感を施すものである。Further, conventionally, texture mapping, reflection mapping, and bump mapping are well known as methods for performing mapping on a polygonal plane to display a three-dimensional figure having a material appearance. In these mapping processes, data to be mapped is created in advance, and the texture is given by referring to the corresponding color or vector data from the mapping data inside each polygon.
【0007】テクスチャ・マッピングおよびバンプ・マ
ッピングにおいては、マッピングのためのデータ量をで
きるだけ削減し、ハードウェア規模を少なくするため、
マッピングデータを小規模にして繰り返し利用すること
が行なわれる。しかし、繰り返し利用することにより、
マッピングされた各多角形平面上で境目が目立つという
問題が発生する。これらの問題を解決する方法として、
特開平6−507031号公報のように、表面テクスチ
ャパターンの任意のランダムサンプルを、所望のどのよ
うな表面領域も覆うように境目なしに接合することがで
きるテクスチャデータを生成する方法がある。In texture mapping and bump mapping, the amount of data for mapping is reduced as much as possible and the hardware scale is reduced.
The mapping data is made small and repeatedly used. However, by using it repeatedly,
There arises a problem that a boundary is conspicuous on each mapped polygonal plane. To solve these problems,
As in Japanese Patent Laid-Open No. 6-507031, there is a method of generating texture data capable of seamlessly joining any random sample of a surface texture pattern so as to cover any desired surface area.
【0008】また、マッピング処理によって施された材
質感には陰影は付かないため、シェーディングモデルに
よる光源計算によって算出する各多角形平面の輝度値に
おいて、ある輝度値のレベルに対して、マッピング処理
で算出した色情報を100%対応させ、シェーディング
モデルを用いて算出する各多角形平面の輝度値に応じ
て、マッピング処理で算出した各多角形平面の色情報の
輝度レベルを調整することにより陰影付けする方法があ
る。Further, since the material appearance obtained by the mapping process is not shaded, in the brightness value of each polygonal plane calculated by the light source calculation by the shading model, the mapping process is performed with respect to a certain brightness value level. Shading is performed by making the calculated color information 100% correspondent and adjusting the brightness level of the color information of each polygonal plane calculated by the mapping processing according to the brightness value of each polygonal plane calculated using the shading model. There is a way to do it.
【0009】[0009]
【発明が解決しようとする課題】本発明が解決しようと
する第1の課題として、従来の技術では、カラールック
アップテーブルを用いて各多角形平面での色を決定する
際に、表示する3次元図形に対して、光源の位置の微小
な変更などに伴う部分的な色の変更の場合は、新たに変
更すべきカラールックアップテーブルを作成するか、あ
らかじめ作成しておいた別のカラールックアップテーブ
ルに変更しなくてはならず、カラールックアップテーブ
ルを所定のメモリ領域にストアすることになり、いかな
る場合もデータ転送時間が発生し、処理効率の低減を招
くという問題があった。また、カラールックアップテー
ブルを変更しない場合には、光源の位置の微小な変更に
伴う各多角形頂点での輝度値算出を再計算することにな
り、関係する多角形平面が多数の場合は、計算時間を要
することとなり、同じく処理効率の低減を招くという問
題があった。これは、特にアニメーションのように時系
列に表示する3次元図形の部分的な色を変更する場合に
おいて、非常に処理時間がかかるという問題を発生させ
る。As a first problem to be solved by the present invention, in the prior art, when a color on each polygonal plane is determined by using a color lookup table, a display is performed. For a partial color change due to a slight change in the position of the light source, etc., for a three-dimensional figure, create a color lookup table that should be newly changed, or create a different color look The color look-up table must be changed to the up table, and the color look-up table is stored in a predetermined memory area, which causes a data transfer time in any case, resulting in a reduction in processing efficiency. Also, if the color lookup table is not changed, the brightness value calculation at each polygon apex due to a slight change in the position of the light source will be recalculated, and if there are many related polygon planes, There is also a problem that the calculation time is required and the processing efficiency is also reduced. This causes a problem that it takes a very long processing time, especially when changing a partial color of a three-dimensional figure displayed in time series such as animation.
【0010】第2の課題として、従来の技術では、多角
形平面にマッピングを施して材質感を有する3次元図形
の表示を行なう際に、良く似た材質感を表現する場合に
は、用いているマッピングデータを変更するか、あらか
じめメモリ領域に数種類の良く似たマッピングデータを
ストアしておかなくてはならず、データの転送時間が発
生し、処理効率の低減を招くか、ストアすべきメモリ量
が多くなるという問題があった。As a second problem, the conventional technique is used when a similar texture is expressed when a three-dimensional figure having a texture is displayed by mapping a polygonal plane. You must either change the existing mapping data or store several similar mapping data in the memory area in advance. There was a problem that the amount increased.
【0011】第3の課題として、従来の技術では、マッ
ピング処理によって施された材質感に陰影を付ける際
に、最終的な各多角形平面の色情報を微妙に変化させる
ためには、設定したマッピング処理で算出した色情報を
100%対応させる各多角形平面での輝度値のレベルを
変更しなければならいという問題があった。As a third problem, in the conventional technique, when the material appearance obtained by the mapping process is shaded, the final color information of each polygonal plane is set to be slightly changed. There has been a problem that the level of the brightness value in each polygonal plane that corresponds to 100% of the color information calculated by the mapping process must be changed.
【0012】本発明は、上記問題を解決するために、表
示する3次元図形に対して、光源の位置の微小な変更な
どに伴う部分的な色の変更に対しても、カラールックア
ップテーブルの変更ならびに各多角形頂点での輝度値算
出のための再計算を行なわずに実現することを可能と
し、さらにマッピング処理において、良く似た材質感を
表現する場合においても、マッピングデータの変更を行
なわずに実現することを可能とし、マッピングのための
データ量をできるだけ削減しハードウェア規模を少なく
するためにマッピングデータを小規模にし繰り返し利用
した場合にも、境目なしに接合することを可能とし、さ
らにマッピング処理によって施された材質感に陰影を付
ける処理において、最終的な各多角形平面の色情報を微
妙に変化させる場合においても、設定したマッピング処
理で算出した色情報を100%対応させる各多角形平面
での輝度値のレベルを変更することなしに実現すること
を可能とする3次元図形生成処理装置を提供することを
目的とする。In order to solve the above problems, the present invention uses a color look-up table even for a partial change in color of a three-dimensional figure to be displayed due to a slight change in the position of a light source. It is possible to realize without changing and recalculating the brightness value calculation at each polygon vertex, and further changing the mapping data when expressing a similar material feeling in the mapping process. It is possible to realize without the need for a small amount of data for mapping and to reduce the hardware scale, even when the mapping data is made small and repeatedly used, it is possible to join seamlessly. Further, when the final color information of each polygonal plane is subtly changed in the process of shading the material appearance given by the mapping process. Also, a three-dimensional graphic generation processing device that can realize the color information calculated by the set mapping processing without changing the level of the luminance value on each polygonal plane that makes 100% correspondence is provided. The purpose is to
【0013】[0013]
【課題を解決するための手段】上記目的を達成させるた
めに、本発明の3次元図形生成処理装置は次のような技
術的手段を採用している。すなわち、インデックス値を
もって色情報を指定するカラールックアップテーブル
と、3次元形状の表面を多角形平面の集まりとして近似
し、多角形平面の各頂点のインデックス値を、多角形平
面のグラフィックス情報を設定するグラフィックス情報
設定手段とシェーディングモデルとに従って求めるパッ
チ頂点インデックス値算出手段とパッチ頂点インデック
ス値算出手段で算出された各多角形平面の各頂点のイン
デックス値を用いて多角形内部のインデックス値を内挿
により決定する内挿処理手段とからなる色情報算出手段
とにより、陰影付けされた立体感のある3次元図形を生
成し、マッピング座標値をもってマッピングすべき情報
を指定するマッピングデータと、グラフィックス情報設
定手段により設定された多角形平面のグラフィックス情
報を用いて多角形平面の各頂点のマッピング座標値を設
定するパッチ頂点マッピング座標設定手段とパッチ頂点
マッピング座標設定手段により設定された多角形頂点の
マッピング座標値を用いて多角形内部のマッピング座標
値を算出するパッチ内部マッピング座標算出手段とから
なるマッピング処理手段とにより、多角形平面にマッピ
ングを施して材質感を有する3次元図形を生成し、色情
報算出手段で算出された多角形内部のインデックス値と
マッピング処理手段によって算出された多角形内部の色
情報とを用いて、描画すべき3次元図形のピクセル情報
を算出してフレームバッファに書き込むピクセル情報算
出手段と、フレームバッファに蓄えられたピクセル情報
をもとにディスプレイ装置に陰影の付いた立体感のある
3次元図形を表示する表示制御手段と、図形生成に際し
て離散関数に摂動項を導入したダイナミックな関数処理
を行なう摂動処理手段とを備えたものである。In order to achieve the above object, the three-dimensional figure generation processing apparatus of the present invention employs the following technical means. That is, a color lookup table that specifies color information using index values and a surface of a three-dimensional shape are approximated as a set of polygonal planes, and the index values of each vertex of the polygonal planes are converted into graphics information of the polygonal planes. The index value inside the polygon is calculated by using the patch vertex index value calculating means and the index value of each vertex of each polygon plane calculated by the patch vertex index value calculating means, which is obtained according to the graphics information setting means to be set and the shading model. A mapping data for generating a shaded three-dimensional figure having a three-dimensional effect by a color information calculation means including an interpolation processing means determined by interpolation and designating information to be mapped with mapping coordinate values, and a graphic. Graphics of polygonal plane set by the information setting means The mapping inside the polygon using the mapping coordinate values of the polygon vertices set by the patch vertex mapping coordinate setting means and the patch vertex mapping coordinate setting means for setting the mapping coordinate values of the respective vertices of the polygon plane using the shadow information. The inside of the polygon calculated by the color information calculation means is generated by the mapping processing means including the inside-patch mapping coordinate calculation means for calculating the coordinate values to generate a three-dimensional figure having a material appearance by mapping the polygonal plane. The pixel information of the three-dimensional figure to be drawn is calculated by using the index value of 1 and the color information of the inside of the polygon calculated by the mapping processing means, and is stored in the frame buffer. 3D image with a three-dimensional effect in which the display device is shaded based on the pixel information Display control means for displaying a, in which a perturbation processing means for performing dynamic function processing using the perturbation terms in discrete function upon figure generating.
【0014】そして、上記第1の課題を解決するため
に、摂動処理手段をパッチ頂点インデックス値算出手段
で算出されたインデックス値に対して処理するように設
けたものである。In order to solve the above first problem, the perturbation processing means is provided so as to process the index value calculated by the patch vertex index value calculation means.
【0015】また、第1の課題を解決するための別の手
段として、摂動処理手段を多角形内部のインデックス値
を内挿により決定する内挿処理手段で算出されたインデ
ックス値に対して処理するように設けたものである。As another means for solving the first problem, the perturbation processing means processes the index value calculated by the interpolation processing means for determining the index value inside the polygon by interpolation. It is provided as follows.
【0016】そして、上記第2の課題を解決するため
に、摂動処理手段を多角形平面の各頂点のマッピング座
標値を設定するパッチ頂点マッピング座標設定手段で設
定されたマッピング座標値に対して処理するように設け
たものである。In order to solve the second problem, the perturbation processing means processes the mapping coordinate value set by the patch vertex mapping coordinate setting means for setting the mapping coordinate value of each vertex of the polygonal plane. It is provided to do so.
【0017】また、第2の課題を解決するための別の手
段として、摂動処理手段を多角形内部のマッピング座標
を算出するパッチ内部マッピング座標算出手段で算出さ
れたマッピング座標に対して処理するように設けたもの
である。As another means for solving the second problem, the perturbation processing means processes the mapping coordinates calculated by the patch internal mapping coordinate calculating means for calculating the mapping coordinates inside the polygon. It was installed in.
【0018】そして、上記第3の課題を解決するため
に、摂動処理手段を描画すべき3次元図形のピクセル情
報を算出しフレームバッファに書き込むピクセル情報算
出手段で算出されたピクセル情報に対して処理するよう
に設けたものである。In order to solve the third problem, the perturbation processing means calculates pixel information of a three-dimensional figure to be drawn and writes it in the frame buffer. The pixel information calculated by the pixel information calculation means is processed. It is provided to do so.
【0019】[0019]
【作用】本発明では、離散関数に摂動項を導入したダイ
ナミックな関数処理を行なう摂動処理手段を設け、第1
の課題に対しては、パッチ頂点インデックス値算出手段
で算出された各多角形平面の頂点のインデックス値が摂
動処理手段に渡され、摂動処理手段において、光源の位
置の微小な変更などに伴う部分的な色の変更に対応する
ために、渡されたインデックス値に対して、離散関数に
摂動項を導入したダイナミックな関数処理により、イン
デックス値を変更する。この場合、摂動項の大きさと用
いる離散関数のパラメータの値により、様々な変更処理
を実現することが可能となっており、変更された各多角
形平面の頂点のインデックス値を用いて内挿処理手段に
より多角形内部のインデックス値を内挿により算出し、
カラールックアップテーブルから対応する色情報を取り
出し、多角形内部の色を決定する。このことにより、微
妙に各多角形平面の頂点でのインデックス値を変更する
ことによる3次元図形の部分的な色の変更を与えること
が可能となり、カラールックアップテーブルを変更する
ことなく、また、各多角形頂点での輝度値算出を再計算
することもなく処理でき、処理効率の低減を招かないと
いう効果が得られる。In the present invention, the perturbation processing means for performing the dynamic function processing in which the perturbation term is introduced into the discrete function is provided, and the first
In order to solve the above problem, the index values of the vertices of each polygonal plane calculated by the patch vertex index value calculation means are passed to the perturbation processing means, and the perturbation processing means causes a portion associated with a slight change in the position of the light source. In order to deal with the dynamic color change, the index value is changed by the dynamic function processing in which the perturbation term is introduced into the discrete function for the passed index value. In this case, it is possible to realize various modification processes depending on the size of the perturbation term and the parameter value of the discrete function used, and the interpolation process is performed using the modified index values of the vertices of each polygon plane. Calculate the index value inside the polygon by means of interpolation,
The corresponding color information is retrieved from the color lookup table to determine the color inside the polygon. As a result, it is possible to give a partial color change of the three-dimensional figure by subtly changing the index values at the vertices of each polygonal plane, without changing the color lookup table, and It is possible to obtain the effect that the calculation of the brightness value at each polygon vertex can be processed without recalculation, and the reduction of the processing efficiency is not caused.
【0020】また、多角形内部のインデックス値を内挿
により決定する内挿処理手段で算出された各多角形平面
内部のインデックス値が摂動処理手段に渡され、摂動処
理手段において、光源の位置の微小な変更などに伴う部
分的な色の変更に対応するために、渡されたインデック
ス値に対して、離散関数に摂動項を導入したダイナミッ
クな関数処理により、インデックス値を変更する。この
場合においても、摂動項の大きさと用いる離散関数のパ
ラメータの値により、様々な変更処理を実現することが
可能であり、変更された各多角形内部のインデックス値
に対応する色情報がカラールックアップテーブルから取
り出され、多角形平面内部の色を決定する。このことに
より、微妙に各多角形平面の内部でのインデックス値を
変更することによる3次元図形の部分的な色の変更を与
えることが可能となり、同様にカラールックアップテー
ブルを変更することなく、また、各多角形頂点での輝度
値算出を再計算することもなく処理でき、処理効率の低
減を招かないという効果が得られる。Further, the index value inside each polygon plane calculated by the interpolation processing means for determining the index value inside the polygon by interpolation is passed to the perturbation processing means, and the perturbation processing means determines the position of the light source. In order to deal with a partial change in color due to a minute change, the index value is changed by a dynamic function process in which a perturbation term is introduced in the discrete function for the passed index value. Even in this case, various modification processes can be realized depending on the size of the perturbation term and the value of the parameter of the discrete function to be used, and the color information corresponding to the index value inside each modified polygon is the color look-up. Taken from the up table and determines the color inside the polygon plane. This makes it possible to give a partial color change of the three-dimensional figure by subtly changing the index value in each polygon plane, and similarly without changing the color lookup table, Further, it is possible to obtain the effect that the calculation of the brightness value at each polygon vertex can be performed without recalculation, and the reduction of the processing efficiency is not caused.
【0021】第2の課題に対しては、多角形平面の各頂
点のマッピング座標値を設定するパッチ頂点マッピング
座標設定手段で設定されたマッピング座標値が摂動処理
手段に渡され、摂動処理手段において、良く似た材質感
を表現するために、渡されたマッピング座標値に対し
て、離散関数に摂動項を導入したダイナミックな関数処
理により、マッピング座標値を変更する。この場合にお
いても、摂動項の大きさと用いる離散関数のパラメータ
の値により、様々な変更処理を実現することが可能であ
り、変更された各多角形平面の頂点のマッピング座標値
を用いてパッチ内部マッピング座標算出手段が多角形内
部のマッピング座標を算出し、マッピングデータから対
応するマッピング情報を決定する。このことにより、微
妙に各多角形平面の頂点でのマッピング座標値を変更す
ることによる3次元図形の良く似た材質感を表現するこ
とが可能となり、用いているマッピングデータを変更す
ることもなく、あらかじめメモリ領域に数種類の良く似
たマッピングデータをストアしておくこともなく処理で
き、データの転送時間が発生することによる処理効率の
低減を招かず、ストアすべきメモリ量も削減できるとい
う効果が得られる。For the second problem, the mapping coordinate value set by the patch vertex mapping coordinate setting means for setting the mapping coordinate value of each vertex of the polygonal plane is passed to the perturbation processing means, and the perturbation processing means. , In order to express a very similar material appearance, the mapping coordinate value is changed by a dynamic function process in which a perturbation term is introduced into the discrete function with respect to the passed mapping coordinate value. Even in this case, various modification processes can be realized depending on the size of the perturbation term and the value of the parameter of the discrete function to be used, and the inside of the patch is modified by using the modified mapping coordinate values of the vertices of each polygon plane. The mapping coordinate calculating means calculates the mapping coordinates inside the polygon and determines the corresponding mapping information from the mapping data. This makes it possible to subtly change the mapping coordinate values at the vertices of each polygonal plane to express a material appearance that is very similar to that of a three-dimensional figure, without changing the mapping data used. The effect that processing can be performed without storing several types of similar mapping data in the memory area in advance, the processing efficiency does not decrease due to the data transfer time, and the amount of memory to be stored can also be reduced. Is obtained.
【0022】また、多角形内部のマッピング座標を算出
するパッチ内部マッピング座標算出手段で算出されたマ
ッピング座標が摂動処理手段に渡され、摂動処理手段に
おいて、良く似た材質感を表現するために、渡されたマ
ッピング座標値に対して、離散関数に摂動項を導入した
ダイナミックな関数処理により、マッピング座標値を変
更する。この場合においても、摂動項の大きさと用いる
離散関数のパラメータの値により、様々な変更処理を実
現することが可能であり、変更された各多角形平面内部
のマッピング座標値に対応するマッピング情報がマッピ
ングデータから取り出され、多角形平面内部のマッピン
グ情報を決定する。このことにより、微妙に各多角形平
面の内部のマッピング座標値を変更することによる3次
元図形の良く似た材質感を表現することが可能となり、
用いているマッピングデータを変更することもなく、あ
らかじめメモリ領域に数種類の良く似たマッピングデー
タをストアしておくこともなく処理でき、データの転送
時間が発生することによる処理効率の低減を招かず、ス
トアすべきメモリ量も削減できるという効果が得られ
る。また、多角形平面内部のマッピング座標を摂動処理
手段により変更する際に、多角形平面の輪郭部分に対し
ては摂動項の振れる範囲をゼロとするか極めて微小な範
囲にとどめることにより、マッピングデータを小規模に
し、境目なしに接合できるテクスチャーデータを生成し
て繰り返し利用することを行なう場合においても、境目
なしに接合することが可能となる。Further, the mapping coordinates calculated by the patch internal mapping coordinate calculating means for calculating the mapping coordinates inside the polygon are passed to the perturbation processing means, and the perturbation processing means expresses a similar texture. With respect to the passed mapping coordinate value, the mapping coordinate value is changed by a dynamic function process in which a perturbation term is introduced in the discrete function. Even in this case, various modification processes can be realized depending on the size of the perturbation term and the value of the parameter of the discrete function to be used, and the mapping information corresponding to the modified mapping coordinate value in each polygon plane is obtained. Determined from the mapping data, the mapping information inside the polygonal plane is determined. As a result, it becomes possible to subtly change the mapping coordinate values inside each polygonal plane to express a material feeling similar to that of a three-dimensional figure.
It can be processed without changing the mapping data used and without storing several similar mapping data in the memory area in advance, without reducing the processing efficiency due to the data transfer time. The advantage is that the amount of memory to be stored can be reduced. Further, when the mapping coordinates inside the polygonal plane are changed by the perturbation processing means, the range in which the perturbation term swings to zero is set to the contour part of the polygonal plane, or the range is kept to a very small range to obtain the mapping data. Even when the texture data that can be joined seamlessly is made small and is repeatedly used, it is possible to join seamlessly.
【0023】第3の課題に対しては、描画すべき3次元
図形のピクセル情報を算出しフレームバッファに書き込
むピクセル情報算出手段で算出されたピクセル情報が摂
動処理手段に渡され、摂動処理手段において、マッピン
グ処理によって施された材質感に陰影を付ける際に、シ
ェーディングモデルによる光源計算によって算出する各
多角形平面の輝度値において、ある輝度値のレベルに対
して、マッピング処理で算出した色情報を100%対応
させ、シェーディングモデルを用いて算出する各多角形
平面の輝度値に応じて、マッピング処理で算出した各多
角形平面の色情報の輝度レベルを調整する方法において
は、最終的な各多角形平面の色情報を微妙に変化させる
ために、渡されたピクセル情報に対して、離散関数に摂
動項を導入したダイナミックな関数処理により、マッピ
ング処理で算出した色情報を100%対応させる各多角
形平面での輝度値のレベルを変更する。この場合におい
ても、摂動項の大きさと用いる離散関数のパラメータの
値により、様々な変更処理を実現することが可能であ
り、変更されたマッピング処理で算出した色情報を10
0%対応させる各多角形平面での輝度値のレベルを用い
て、描画すべき3次元図形のピクセル情報を算出してフ
レームバッファに書き込むピクセル情報算出手段によ
り、マッピング処理を施された3次元図形に陰影を施
す。このことにより、マッピング処理によって施された
材質感に陰影を付ける処理において、最終的な各多角形
平面の色情報を微妙に変化させることが可能となり、設
定したマッピング処理で算出した色情報を100%対応
させる各多角形平面での輝度値のレベルを変更すること
なしに実現できるという効果が得られる。For the third problem, the pixel information calculated by the pixel information calculation means for calculating the pixel information of the three-dimensional figure to be drawn and writing it in the frame buffer is passed to the perturbation processing means, and the perturbation processing means. When the shading model is used to shade the texture, the color information calculated by the mapping process is calculated for the brightness level of each polygonal plane calculated by the light source calculation using the shading model. In the method of adjusting the luminance level of the color information of each polygonal plane calculated by the mapping processing according to the luminance value of each polygonal plane calculated by using the shading model with 100% correspondence, In order to subtly change the color information of the polygonal plane, a perturbation term is introduced in the discrete function for the passed pixel information. The Namikku function processing, to change the level of brightness values in each polygon plane to associate the color information calculated by the mapping process 100%. Even in this case, various modification processes can be realized depending on the size of the perturbation term and the parameter values of the discrete function used, and the color information calculated by the modified mapping process is 10
Using the level of the luminance value on each polygonal plane corresponding to 0%, the pixel information of the three-dimensional figure to be drawn is calculated and written in the frame buffer. Shading the. This makes it possible to delicately change the color information of each final polygonal plane in the process of shading the material appearance performed by the mapping process, and the color information calculated by the set mapping process is set to 100. % It is possible to achieve the effect that the level can be realized without changing the level of the brightness value in each polygonal plane.
【0024】[0024]
【実施例】まず、本発明の離散関数に摂動項を導入し
た、ダイナミックな関数処理を行なう摂動処理につい
て、図面を参照しながら説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS First, a perturbation process for introducing a perturbation term into a discrete function of the present invention for performing a dynamic function process will be described with reference to the drawings.
【0025】離散関数とは、fn+1(x)=fn
(x)で表されるものであり、図8(a)に非常に簡単な
離散関数の一例を示す。摂動項とは、雑音関数により表
現されるものであり、その一例として制御工学において
よく用いられる白色雑音がある。本発明での摂動処理と
は、離散関数に摂動項を導入したものであり、本実施例
の説明では、摂動項の与え方としては、加法的に導入し
た加法型摂動系関数と乗法的に導入した乗法型摂動系関
数の2種類を用いてそのダイナミカルな関数処理につい
て説明する。The discrete function is fn + 1 (x) = fn
This is represented by (x), and FIG. 8A shows an example of a very simple discrete function. The perturbation term is expressed by a noise function, and an example thereof is white noise often used in control engineering. The perturbation processing in the present invention is the introduction of a perturbation term in a discrete function, and in the description of the present embodiment, the method of giving the perturbation term is that the additive type perturbation system function and the multiplicatively introduced The dynamical function processing will be described using the two types of introduced multiplicative perturbation system functions.
【0026】図8(a) に対して摂動項を加法的に導入し
た加法型摂動系関数を図9(a) に示し、摂動項を乗法的
に導入した乗法型摂動系関数を図9(b) に示す。図9で
の波線部分の関数は、摂動項に用いる雑音関数の大きさ
によりその振れ幅が変化するものである。そして、図9
での摂動項を0にした場合は図8(a) と一致する。摂動
系関数のn番目の値からn+1番目の値を順に生成する
離散関数として取り扱う場合の挙動を、簡単のために図
8(a) の場合で示したものが図8(b) である。そして、
離散関数の形状を変えることにより図10で示すような
様々な挙動が実現できる。すなわち、図10(a) では0
の値に収束し、図10(b) ではある0以外の値に収束
し、図10(c) では3周期点を形成し、図10(d) では
一般にカオスと呼ばれる不規則な挙動となる。FIG. 9A shows an additive type perturbation system function in which a perturbation term is additively introduced to FIG. 8A, and FIG. 9A shows a multiplicative perturbation system function in which a perturbation term is multiplicatively introduced. Shown in b). The wavy line function in FIG. 9 has a fluctuation range that varies depending on the size of the noise function used for the perturbation term. And in FIG.
When the perturbation term in is set to 0, it agrees with Fig. 8 (a). FIG. 8 (b) shows the behavior in the case of FIG. 8 (a) for the sake of simplification, in the case of treating it as a discrete function that sequentially generates the nth value to the (n + 1) th value of the perturbation system function. And
Various behaviors as shown in FIG. 10 can be realized by changing the shape of the discrete function. That is, 0 in FIG.
10 (b) converges to a value other than 0, forms 3 periodic points in FIG. 10 (c), and becomes irregular behavior commonly called chaos in FIG. 10 (d). .
【0027】なお、本発明において、図8や図10で示
すような関数形状を与えるパラメータを変えることでそ
の関数自身が非常にダイナミックな関数処理を行う離散
関数に対し、摂動項をさらに加えるのは、一般に本発明
の利用分野での3次元図形生成処理装置のようにディジ
タル処理を用いる場合は必ず切り捨て誤差が発生し、数
学的には不規則な挙動となるものも、必ずある点に収束
するか周期点に陥ることになってしまい、その課題を解
決することも含んでいる。In the present invention, a perturbation term is further added to a discrete function in which the function itself performs extremely dynamic function processing by changing the parameters that give the function shape as shown in FIG. 8 and FIG. Generally, when digital processing is used as in the three-dimensional figure generation processing device in the field of use of the present invention, a truncation error always occurs, and a mathematically irregular behavior always converges to a certain point. If you do so, you will end up falling into the periodic point, and it will also include solving that problem.
【0028】以下、図面を参照しながら各実施例につい
て説明するが、説明の簡単のため、シェーディングモデ
ルとしては(数1)で示される Lanbert Modelを、スム
ーズシェーディング法としては Grourand Shading 用
い、多角形平面は三角形で、内挿処理をスキャンライン
ごとに行ない、カラールックアップテーブルのインデッ
クスとしては輝度値を使用し、マッピング処理について
はテクスチャマッピングの場合についてのみ説明する。Each embodiment will be described below with reference to the drawings. For simplicity of description, a Lanbert Model shown in (Equation 1) is used as a shading model, and Grourand Shading is used as a smooth shading method. The plane is a triangle, the interpolation process is performed for each scan line, the luminance value is used as the index of the color lookup table, and the mapping process will be described only in the case of texture mapping.
【0029】I=Ia Ka +Il Kd cosθ I :反射光の強度 Ia :周囲光の強度 Il :入射光の強度 Ka :周囲光の拡散反射係数 Kd :入射光の拡散反射係数 θ :光線の向きと法線方向とのなす角度I = I a K a + I l K d cos θ I: intensity of reflected light I a : intensity of ambient light I l : intensity of incident light K a : diffuse reflection coefficient of ambient light K d : diffusion of incident light Reflection coefficient θ: Angle between the direction of the ray and the normal direction
【0030】(実施例1)図1は本発明の第1の実施例
における3次元画像生成処理装置のブロック図である。
図1において、11は3次元形状の表面を多角形平面の
集まりとして近似し、その多角形平面のグラフィックス
情報を設定するグラフィックス情報設定手段である。1
2は上記多角形平面の内部の色を連続的に変化させて陰
影の付いた立体感のある3次元図形を生成するためのシ
ェーディングモデルである。131は上記多角形平面の
各頂点のインデックス値をグラフィックス情報設定手段
11とシェーディングモデル12とに従って求めるパッ
チ頂点インデックス値算出手段である。132はパッチ
頂点インデックス値算出手段131で算出された各多角
形平面の各頂点のインデックス値を用いて多角形平面の
内部のインデックス値を内挿により決定する内挿処理手
段である。これらパッチ頂点インデックス値算出手段1
31と内挿処理手段132とにより色情報算出手段13
が構成されている。14は各多角形頂点における色情報
をインデックス値をもって指定するカラールックアップ
テーブルである。151はグラフィックス情報設定手段
11により設定された多角形平面のインデックス情報を
用いて多角形平面の各頂点のマッピング座標値を設定す
るパッチ頂点マッピング座標設定手段である。152は
パッチ頂点マッピング座標設定手段151により設定さ
れた多角形頂点のマッピング座標値を用いて多角形内部
のマッピング座標値を算出するパッチ内部マッピング座
標算出手段である。これらパッチ頂点マッピング座標設
定手段151とパッチ内部マッピング座標算出手段15
2とによりマッピング処理手段15が構成されている。
16はマッピング座標値をもってマッピングすべき情報
を指定するマッピングデータである。17は色情報算出
手段13で算出された多角形内部のインデックス値とマ
ッピング処理手段15により算出された多角形内部の色
情報とを用いて、描画すべき3次元図形のピクセル情報
を算出してフレームバッファ18に書き込むピクセル情
報算出手段である。19はフレームバッファ18の内容
をディスプレイ装置20に表示するための表示制御処理
手段である。そして21はパッチ頂点インデックス値算
出手段131に接続されて、離散関数に摂動項を導入し
たダイナミックな関数処理を行なう摂動処理手段であ
る。(Embodiment 1) FIG. 1 is a block diagram of a three-dimensional image generation processing apparatus according to a first embodiment of the present invention.
In FIG. 1, 11 is a graphics information setting means for approximating the surface of a three-dimensional shape as a set of polygonal planes and setting the graphics information of the polygonal planes. 1
Reference numeral 2 denotes a shading model for continuously changing the color inside the polygonal plane to generate a three-dimensional figure having a three-dimensional effect with shading. Reference numeral 131 is a patch vertex index value calculating means for obtaining the index value of each vertex of the polygonal plane according to the graphics information setting means 11 and the shading model 12. Reference numeral 132 denotes an interpolation processing unit that determines the index value inside the polygonal plane by interpolation using the index value of each vertex of each polygonal plane calculated by the patch vertex index value calculation unit 131. These patch vertex index value calculation means 1
31 and the interpolation processing means 132, the color information calculating means 13
Is configured. Reference numeral 14 is a color lookup table that specifies the color information at each polygon vertex with an index value. Reference numeral 151 denotes patch vertex mapping coordinate setting means for setting the mapping coordinate value of each vertex of the polygon plane using the index information of the polygon plane set by the graphics information setting means 11. Reference numeral 152 denotes a patch internal mapping coordinate calculation means for calculating mapping coordinate values inside the polygon using the mapping coordinate values of the polygon vertices set by the patch vertex mapping coordinate setting means 151. These patch vertex mapping coordinate setting means 151 and patch internal mapping coordinate calculating means 15
Mapping processing means 15 is constituted by 2 and.
Reference numeral 16 is mapping data that specifies information to be mapped with mapping coordinate values. Reference numeral 17 calculates the pixel information of the three-dimensional figure to be drawn by using the index value inside the polygon calculated by the color information calculating means 13 and the color information inside the polygon calculated by the mapping processing means 15. It is a pixel information calculation means to be written in the frame buffer 18. Reference numeral 19 is a display control processing means for displaying the contents of the frame buffer 18 on the display device 20. Reference numeral 21 is a perturbation processing unit that is connected to the patch vertex index value calculation unit 131 and performs a dynamic function process in which a perturbation term is introduced into a discrete function.
【0031】本実施例では、グラフィック情報設定手段
11、シェーディングモデル12、色情報算出手段13
およびカラールックアップテーブル14のまとまりをシ
ェーディング処理装置と呼び、グラフィック情報設定手
段11、マッピング処理手段15およびマッピングデー
タ16のまとまりをマッピング処理装置と呼び、ピクセ
ル情報算出手段17とフレームバッファ18のまとまり
をレンダリング装置と呼ぶことにする。In this embodiment, graphic information setting means 11, shading model 12, color information calculating means 13
And the group of the color lookup table 14 is called a shading processing device, the group of the graphic information setting means 11, the mapping processing means 15 and the mapping data 16 is called a mapping processing apparatus, and the group of the pixel information calculating means 17 and the frame buffer 18 is called. We will call it a rendering device.
【0032】以上のように構成された3次元画像生成処
理装置について、図2を用いてその動作の一例を説明す
る。説明の簡単のため、図2(a) に示すような3次元タ
イトルの各多角形平面(以後パッチ面と呼ぶ)22を処
理対象として考え、陰影付けされた立体感のある3次元
図形を生成するシェーディング処理装置と、多角形平面
にマッピングを施して材質感を有する3次元図形を生成
するマッピング処理装置と、マッピング処理を施された
3次元図形に陰影を施すレンダリング処理装置とにおけ
る動作について説明する。An example of the operation of the three-dimensional image generation processing apparatus configured as described above will be described with reference to FIG. For simplicity of explanation, each polygonal plane (hereinafter referred to as a patch plane) 22 of a three-dimensional title as shown in FIG. 2 (a) is considered as a processing target, and a three-dimensional figure with a three-dimensional effect shaded is generated. The operations in the shading processing device, the mapping processing device that performs mapping on the polygonal plane to generate a three-dimensional figure having a texture, and the rendering processing device that shades the three-dimensional figure that has been subjected to the mapping process will be described. To do.
【0033】シェーディング処理装置においては、パッ
チ頂点インデックス値算出手段131が、グラフィック
ス情報設定手段11から渡される各パッチ面22ならび
に光源、視点の3次元の座標情報を用いて、各パッチ面
22の各頂点の法線ベクトルから(数1)を用いて各頂
点の輝度値i1を算出する。内挿処理手段132は、各
パッチ面22の各頂点の輝度値i2に基づいて、図2
(b) に示すように、最終的に2次元図形として表示する
場合に視線の方向に垂直な面に各パッチ面22を投影し
た図形に対し、先ず頂点と頂点とを通る直線とスキャン
ラインとの2つの交点における輝度を、頂点の輝度値と
頂点の輝度値とに基づき線形補間により算出する。そし
て、スキャンラインとパッチ面との両端の交点の輝度値
に基づいて、パッチ面内部の各点の輝度値i3を同様に
線形補間により算出する。本処理は、Grourand Shading
と呼ばれる方法に基づいたものである。そして、算出さ
れた各パッチ面22の内部の各点の輝度値i3をインデ
ックス値として色情報算出手段13が図3(a) に示すよ
うなカラールックアップテーブル14から対応する色情
報を参照することにより、各パッチ面22の色情報c1
を得、陰影付けされた立体感のある3次元図形を生成す
る。In the shading processing apparatus, the patch vertex index value calculating means 131 uses each patch surface 22 and the three-dimensional coordinate information of the light source and the viewpoint passed from the graphics information setting means 11 for each patch surface 22. The brightness value i1 of each vertex is calculated using (Equation 1) from the normal vector of each vertex. The interpolation processing unit 132 uses the brightness value i2 of each vertex of each patch surface 22 as shown in FIG.
As shown in (b), when a patch plane 22 is projected on a plane perpendicular to the direction of the line of sight when it is finally displayed as a two-dimensional figure, first, a straight line passing through the vertices and a scan line The brightness at the two intersections of is calculated by linear interpolation based on the brightness value of the vertex and the brightness value of the vertex. Then, based on the brightness values at the intersections of both ends of the scan line and the patch surface, the brightness value i3 of each point inside the patch surface is similarly calculated by linear interpolation. This process is performed by Grourand Shading
It is based on a method called. Then, the color information calculator 13 refers to the corresponding color information from the color lookup table 14 as shown in FIG. 3A, using the calculated brightness value i3 of each point inside each patch surface 22 as an index value. Thus, the color information c1 of each patch surface 22
To obtain a three-dimensional figure with a three-dimensional effect.
【0034】マッピング処理装置においては、パッチ頂
点マッピング座標設定手段151が、グラフィックス情
報設定手段11から渡される各パッチ面22の頂点の3
次元の座標情報を用いて、マッピングデータ16に格納
されている図3(b) で示すようなテクスチャ・マッピン
グ用のデータをある規則に基づき各パッチ面22に貼り
付けるために、各パッチ面22の各頂点に対応するマッ
ピングデータ16の座標データm1(s,t) を設定する。
テクスチャ・マッピングにおいては、1つの3次元図形
にマッピングデータを貼り付けた後は、アニメーション
などにより3次元図形の見え方が変更されても、各パッ
チ頂点に対応するマッピングデータの座標値は変更され
ない。パッチ内部マッピング座標算出手段162は、内
挿処理手段132での処理と同様の処理を各パッチ面2
2の各頂点のマッピング座標m1(s,t) に対して行な
い、各パッチ面22の内部の各点に対応するマッピング
データの座標値m2(s,t) を算出する。そして、算出さ
れた各パッチ面22の内部の各点に対応するマッピング
データの座標値m2(s,t) を用いて、マッピング処理手
段15がマッピングデータ16から対応する色情報mc
を算出することにより、マッピングを施した材質感を有
する3次元図形を生成する。In the mapping processing device, the patch vertex mapping coordinate setting means 151 has three vertexes of each patch surface 22 passed from the graphics information setting means 11.
In order to attach the data for texture mapping stored in the mapping data 16 as shown in FIG. 3 (b) to each patch surface 22 based on a certain rule using the coordinate information of the dimension, each patch surface 22 The coordinate data m1 (s, t) of the mapping data 16 corresponding to each vertex of is set.
In texture mapping, after pasting the mapping data to one 3D figure, the coordinate value of the mapping data corresponding to each patch vertex is not changed even if the appearance of the 3D figure is changed by animation or the like. . The patch internal mapping coordinate calculation means 162 performs the same processing as that of the interpolation processing means 132 on each patch surface 2.
The coordinate value m2 (s, t) of the mapping data corresponding to each point inside each patch surface 22 is calculated by performing the mapping coordinate m1 (s, t) of each vertex 2. Then, using the calculated coordinate values m2 (s, t) of the mapping data corresponding to each point inside each patch surface 22, the mapping processing means 15 uses the mapping data 16 to obtain the corresponding color information mc.
Is calculated to generate a three-dimensional figure having a material appearance that has been subjected to mapping.
【0035】レンダリング処理装置においては、色情報
算出手段で扱うパッチ面22の内部の各点の輝度値i3
とマッピング処理手段15で扱う各パッチ面22の内部
の各点に対応するマッピングデータ16から算出した色
情報mcを用いて、ピクセル情報算出手段17が、色情
報mcを100%対応させる輝度値のレベルlに対応し
て、各パッチ面22の内部の輝度値i3を用いて各パッ
チ面22の内部の各点のマッピングデータ16から算出
した色情報mcの輝度レベルを調整することにより、マ
ッピング処理によって施された材質感を持つ3次元図形
に陰影を付ける。In the rendering processing device, the luminance value i3 of each point inside the patch surface 22 handled by the color information calculating means.
And the pixel information calculation unit 17 uses the color information mc calculated from the mapping data 16 corresponding to each point inside each patch surface 22 handled by the mapping processing unit 15, and the pixel information calculation unit 17 sets the luminance value corresponding to 100% of the color information mc. The mapping process is performed by adjusting the brightness level of the color information mc calculated from the mapping data 16 of each point inside each patch surface 22 using the brightness value i3 inside each patch surface 22 corresponding to the level 1. Add a shade to the three-dimensional figure with the texture that was applied by.
【0036】請求項2記載の3次元図形生成処理装置
は、パッチ頂点輝度値算出手段131で算出された各パ
ッチ面22の頂点の輝度値i1が摂動処理手段21に渡
され、摂動処理手段21において、光源の位置の微小な
変更などに伴う部分的な色の変更に対応するために、渡
された輝度値i1に対して、図10で示すような離散関
数に摂動項を導入したダイナミックな関数処理により、
輝度値i1を変更する。したがって、摂動項の大きさと
用いる離散関数のパラメータの値により、様々な変更処
理を実現することが可能となり、変更された各パッチ面
22の頂点の輝度値i2を用いて内挿処理手段132に
より各パッチ面22の内部の輝度値i3を内挿により算
出する。算出された輝度値i3をインデックス値として
色情報算出手段13が、カラールックアップテーブル1
4から対応する色情報c1を取り出し、各パッチ面22
の内部の色として決定する。このことにより、微妙に各
パッチ面22の頂点での輝度値i1を摂動処理手段21
により変更することにより、3次元図形の部分的な色の
変更を与えることが可能となり、カラールックアップテ
ーブル14を変更することなく、また、各パッチ面22
の頂点での輝度値算出を再計算することもなく処理で
き、処理効率の低減を招かないという効果が得られる。In the three-dimensional figure generation processing device according to the second aspect, the brightness value i1 of the vertex of each patch surface 22 calculated by the patch vertex brightness value calculation means 131 is passed to the perturbation processing means 21, and the perturbation processing means 21. In order to deal with a partial change in color due to a slight change in the position of the light source, a dynamic perturbation term is introduced to the passed luminance value i1 as shown in FIG. By function processing,
The brightness value i1 is changed. Therefore, various modification processes can be realized depending on the size of the perturbation term and the value of the parameter of the discrete function to be used, and the interpolation processing unit 132 uses the modified brightness value i2 of the vertex of each patch surface 22. The brightness value i3 inside each patch surface 22 is calculated by interpolation. The color information calculation means 13 uses the calculated luminance value i3 as an index value to determine the color lookup table 1
The corresponding color information c1 is extracted from the
Determined as the color inside. As a result, the brightness value i1 at the apex of each patch surface 22 is delicately perturbed.
It is possible to change the partial color of the three-dimensional figure by changing the color look-up table 14 without changing the color look-up table 14.
It is possible to perform processing without recalculating the brightness value calculation at the apex of, and there is an advantage that the processing efficiency is not reduced.
【0037】(実施例2)次に、本発明の第2の実施例
について、図面を参照しながら説明する。図4は本発明
の第2の実施例における3次元画像生成処理装置のブロ
ック図であり、摂動処理手段21が内挿処理手段132
に接続されているとことを除いては、実施例1と同じ構
成を持つ。説明の簡単のため、図2(a) に示すような3
次元タイトルの各パッチ面22を処理対象して説明す
る。(Embodiment 2) Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 4 is a block diagram of a three-dimensional image generation processing device according to the second embodiment of the present invention, in which the perturbation processing means 21 is an interpolation processing means 132.
It has the same configuration as that of the first embodiment except that it is connected to. For the sake of simplicity of explanation, 3 as shown in FIG.
A description will be given by processing each patch surface 22 of the dimensional title.
【0038】請求項3記載の3次元図形生成処理装置
は、パッチ面22の内部の輝度値を内挿により決定する
内挿処理手段132で算出された各パッチ面22の内部
の輝度値i3が摂動処理手段21に渡され、摂動処理手
段21において、光源の位置の微小な変更などに伴う部
分的な色の変更に対応するために、渡された輝度値i3
に対して、図10で示すような離散関数に摂動項を導入
したダイナミックな関数処理により、輝度値i3を変更
する。この場合においても、摂動項の大きさと用いる離
散関数のパラメータの値により、様々な変更処理を実現
することが可能となり、変更された各パッチ面22の内
部の輝度値をインデックス値として色情報算出手段13
が、カラールックアップテーブル14から対応する色情
報c1を取りだし、各パッチ面22の内部の色を決定す
る。このことにより、微妙に各パッチ面22の内部での
輝度値を変更することによる3次元図形の部分的な色の
変更を与えることが可能となり、同様にカラールックア
ップテーブル14を変更することなく、また、各パッチ
面22の頂点での輝度値算出を再計算することもなく処
理でき、処理効率の低減を招かないという効果が得られ
る。In the three-dimensional graphic generation processing apparatus according to the third aspect, the internal brightness value i3 of each patch surface 22 calculated by the interpolation processing means 132 for determining the internal brightness value of the patch surface 22 is calculated. The brightness value i3 is passed to the perturbation processing means 21, and the perturbation processing means 21 passes the brightness value i3 in order to deal with a partial change in color due to a minute change in the position of the light source.
On the other hand, the brightness value i3 is changed by the dynamic function processing in which the perturbation term is introduced into the discrete function as shown in FIG. Even in this case, it is possible to realize various modification processes depending on the size of the perturbation term and the value of the parameter of the discrete function used, and the color information is calculated using the modified brightness value inside each patch surface 22 as an index value. Means 13
Takes out the corresponding color information c1 from the color lookup table 14 and determines the color inside the patch surface 22. This makes it possible to change the color of the three-dimensional figure partially by subtly changing the luminance value inside each patch surface 22, and similarly without changing the color lookup table 14. In addition, the brightness value calculation at the vertices of each patch surface 22 can be processed without recalculation, and the effect of not reducing the processing efficiency is obtained.
【0039】(実施例3)次に、本発明の第3の実施例
について、図面を参照しながら説明する。図5は本発明
の第3の実施例における3次元画像生成処理装置のブロ
ック図であり、摂動処理手段21がパッチ頂点マッピン
グ座標設定手段151に接続されていることを除いて
は、実施例1と同じ構成を持つ。説明の簡単のため、図
2(a) に示すような3次元タイトルの各パッチ面22を
処理対象して説明する。(Third Embodiment) Next, a third embodiment of the present invention will be described with reference to the drawings. FIG. 5 is a block diagram of a three-dimensional image generation processing apparatus according to a third embodiment of the present invention, except that the perturbation processing means 21 is connected to the patch vertex mapping coordinate setting means 151. It has the same structure as. For the sake of simplicity of explanation, each patch surface 22 of the three-dimensional title as shown in FIG.
【0040】請求項4記載の3次元図形生成処理装置
は、パッチ面22の各頂点のマッピング座標値を設定す
るパッチ頂点マッピング座標設定手段151で設定され
たマッピング座標値m1(s,t) が摂動処理手段21に渡
され、摂動処理手段21において、良く似た材質感を表
現するために、渡されたマッピング座標値m1(s,t) に
対して、図10で示すような離散関数に摂動項を導入し
たダイナミックな関数処理により、マッピング座標値m
1(s,t) を変更する。この場合においても、摂動項の大
きさと用いる離散関数のパタメータの値により、様々な
変更処理を実現することが可能であり、変更された各パ
ッチ面22の頂点のマッピング座標値を用いてパッチ内
部マッピング座標算出手段152がパッチ面22の内部
のマッピング座標m2(s,t) を算出し、マッピング処理
手段15がマッピングデータ16から対応するマッピン
グ情報mcを決定する。このことにより、微妙に各パッ
チ面22の頂点でのマッピング座標値m1(s,t) を変更
することにより3次元図形の良く似た材質感を表現する
ことが可能となり、用いているマッピングデータ16を
変更することもなく、あらかじめメモリ領域に数種類の
良く似たマッピングデータ16をストアしておくことも
なく処理でき、データの転送時間が発生し処理効率の低
減を招かず、ストアすべきメモリ量も削減できるという
効果が得られる。In the three-dimensional figure generation processing apparatus according to the fourth aspect, the mapping coordinate value m1 (s, t) set by the patch vertex mapping coordinate setting means 151 for setting the mapping coordinate value of each vertex of the patch surface 22 is set. To the perturbation processing means 21, the perturbation processing means 21 transforms the passed mapping coordinate value m1 (s, t) into a discrete function as shown in FIG. 10 in order to express a similar material feeling. By the dynamic function processing that introduces the perturbation term, the mapping coordinate value m
Change 1 (s, t). Even in this case, it is possible to realize various modification processes depending on the size of the perturbation term and the value of the parameter of the discrete function to be used. The mapping coordinate calculation means 152 calculates the mapping coordinates m2 (s, t) inside the patch surface 22, and the mapping processing means 15 determines the corresponding mapping information mc from the mapping data 16. This makes it possible to subtly change the mapping coordinate values m1 (s, t) at the vertices of each patch surface 22 to express a material appearance that is similar to that of a three-dimensional figure. 16 can be processed without changing 16 or storing similar mapping data 16 of a similar type in the memory area in advance, data transfer time does not occur, and processing efficiency is not reduced. The effect is that the amount can be reduced.
【0041】(実施例4)次に、本発明の第4の実施例
について、図面を参照しながら説明する。図6は本発明
の第4の実施例における3次元画像生成処理装置のブロ
ック図であり、摂動処理手段21がパッチ内部マッピン
グ座標算出手段152に接続されていることを除いて
は、実施例1と同じ構成を持つ。説明の簡単のため、図
2(a) に示すような3次元タイトルの各パッチ面22を
処理対象して説明する。(Fourth Embodiment) Next, a fourth embodiment of the present invention will be described with reference to the drawings. FIG. 6 is a block diagram of a three-dimensional image generation processing apparatus according to the fourth embodiment of the present invention, except that the perturbation processing means 21 is connected to the patch internal mapping coordinate calculation means 152. It has the same structure as. For the sake of simplicity of explanation, each patch surface 22 of the three-dimensional title as shown in FIG.
【0042】請求項5記載の3次元図形生成処理装置
は、パッチ面22の内部のマッピング座標を算出するパ
ッチ内部マッピング座標算出手段152で算出されたマ
ッピング座標m2(s,t) が摂動処理手段21に渡され、
摂動処理手段21において、良く似た材質感を表現する
ために、渡されたマッピング座標値m2(s,t) に対し
て、図10で示すような離散関数に摂動項を導入したダ
イナミックな関数処理により、マッピング座標値m2
(s,t) を変更する。この場合においても、摂動項の大き
さと用いる離散関数のパタメータの値により、様々な変
更処理を実現することが可能であり、変更された各パッ
チ面22の内部のマッピング座標値に対応するマッピン
グ情報がマッピング処理手段15によりマッピングデー
タ16から取り出され、パッチ面22の内部のマッピン
グ情報mcを決定する。このことにより、微妙に各パッ
チ面22の内部のマッピング座標値m2(s,t) を変更す
ることによる3次元図形の良く似た材質感を表現するこ
とが可能となり、用いているマッピングデータ16を変
更することもなく、あらかじめメモリ領域に数種類の良
く似たマッピングデータ16をストアしておくこともな
く処理でき、データの転送時間が発生し処理効率の低減
を招かず、ストアすべきメモリ量も削減できるという効
果が得られる。また、パッチ面22の内部のマッピング
座標m2(s,t) を摂動処理手段21により変更する際
に、パッチ面22の輪郭部分に対しては摂動項の振れる
範囲をゼロとするか極めて微小な範囲にとどめることに
より、マッピングデータを小規模にし、境目なしに接合
できるテクスチャーデータ16を生成し繰り返し利用す
ることを行なう場合においても、継目部分のマッピング
データの変化を0もしくは極微小に抑えるられ、境目な
しに接合することが可能となる。In the three-dimensional figure generation processing device according to the fifth aspect, the mapping coordinates m2 (s, t) calculated by the patch internal mapping coordinate calculation means 152 for calculating the mapping coordinates inside the patch surface 22 are perturbation processing means. 21 was passed to
In the perturbation processing means 21, in order to express a similar texture, a dynamic function in which a perturbation term is introduced into the discrete function as shown in FIG. 10 with respect to the passed mapping coordinate value m2 (s, t). Depending on the processing, the mapping coordinate value m2
Change (s, t). Even in this case, various modification processes can be realized depending on the size of the perturbation term and the value of the parameter of the discrete function used, and the mapping information corresponding to the modified mapping coordinate value inside each patch surface 22. Are extracted from the mapping data 16 by the mapping processing means 15 to determine the mapping information mc inside the patch surface 22. This makes it possible to subtly change the mapping coordinate value m2 (s, t) inside each patch surface 22 to express a material appearance similar to that of a three-dimensional figure, and to use the mapping data 16 The amount of memory to be stored can be processed without changing several types of mapping data 16 that are similar to each other in advance in the memory area and does not reduce the processing efficiency due to data transfer time. The effect is that it can be reduced. Further, when the mapping coordinate m2 (s, t) inside the patch surface 22 is changed by the perturbation processing means 21, the range in which the perturbation term swings to the contour portion of the patch surface 22 is set to zero or is extremely small. By keeping the range to a small range, even when the texture data 16 that can be joined seamlessly is generated and repeatedly used, the change in the mapping data at the joint can be suppressed to 0 or very small. It is possible to join without a border.
【0043】(実施例5)次に、本発明の第5の実施例
について、図面を参照しながら説明する。図7は本発明
の第5の実施例における3次元画像生成処理装置のブロ
ック図であり、摂動処理手段21がピクセル情報算出手
段17に接続されていることを除いては、実施例1と同
じ構成を持つ。説明の簡単のため、図2(a) に示すよう
な3次元タイトルの各パッチ面22を処理対象して説明
する。(Fifth Embodiment) Next, a fifth embodiment of the present invention will be described with reference to the drawings. FIG. 7 is a block diagram of a three-dimensional image generation processing device according to a fifth embodiment of the present invention, which is the same as the first embodiment except that the perturbation processing means 21 is connected to the pixel information calculation means 17. Have a configuration. For the sake of simplicity of explanation, each patch surface 22 of the three-dimensional title as shown in FIG.
【0044】請求項6記載の3次元図形生成処理装置
は、色情報算出手段13で算出されたパッチ面22の内
部の各点の輝度値i3が摂動処理手段21に渡され、最
終的な各パッチ面22の色情報を微妙に変化させるため
に、図10で示すような離散関数に摂動項を導入したダ
イナミックな関数処理により、渡された輝度値i3を変
更する。そして、マッピング処理手段15で扱う各パッ
チ面22の内部の各点に対応するマッピングデータ16
から算出した色情報mcを用いて、ピクセル情報算出手
段17が、色情報mcを100%対応させる輝度値のレ
ベルlに対応して、各パッチ面22の内部の摂動処理手
段21により変更された輝度値を用いて各パッチ面22
の内部の各点のマッピングデータ16から算出した色情
報mcの輝度レベルを調整する。この場合においても、
摂動項の大きさと用いる離散関数のパタメータの値によ
り、様々な変更処理を実現することが可能となり、マッ
ピング処理によって施された材質感に陰影を付ける処理
において、最終的な各パッチ面22の内部の各点の色情
報mcでの輝度レベルを微妙に変化させることが可能と
なり、設定したマッピング処理で算出した色情報を10
0%対応させる各パッチ面22平面での輝度値のレベル
を変更することなしに実現できるという効果が得られ
る。In the three-dimensional figure generation processing device according to the sixth aspect, the brightness value i3 of each point inside the patch surface 22 calculated by the color information calculation means 13 is passed to the perturbation processing means 21, and finally each In order to subtly change the color information of the patch surface 22, the passed luminance value i3 is changed by a dynamic function process in which a perturbation term is introduced into a discrete function as shown in FIG. Then, the mapping data 16 corresponding to each point inside each patch surface 22 handled by the mapping processing means 15
Using the color information mc calculated from the above, the pixel information calculation means 17 is changed by the perturbation processing means 21 inside each patch surface 22 in correspondence with the level 1 of the luminance value which makes the color information mc correspond 100%. Each patch surface 22 using the brightness value
The brightness level of the color information mc calculated from the mapping data 16 of each point inside is adjusted. Even in this case,
Depending on the size of the perturbation term and the value of the parameter of the discrete function used, it is possible to realize various modification processes, and in the process of shading the material appearance performed by the mapping process, the inside of each final patch surface 22 is processed. It is possible to subtly change the luminance level in the color information mc of each point of, and the color information calculated by the set mapping process is set to 10
There is an effect that it can be realized without changing the level of the luminance value on the plane of each patch surface 22 corresponding to 0%.
【0045】[0045]
【発明の効果】以上のように、本発明は次のような効果
を有する。すなわち、微妙に各多角形平面の頂点でのイ
ンデックス値を変更することによる3次元図形の部分的
な色の変更を与えることが可能となり、カラールックア
ップテーブルを変更することなく、また、各多角形頂点
での輝度値算出を再計算することもなく処理でき、処理
効率の低減を招かないという効果が得られる。As described above, the present invention has the following effects. In other words, it is possible to change the color of the three-dimensional figure partially by changing the index value at the vertex of each polygonal plane subtly, without changing the color look-up table. It is possible to perform processing without recalculating the calculation of the brightness value at the apex of the polygon, and it is possible to obtain an effect that the processing efficiency is not reduced.
【0046】さらに、微妙に各多角形平面の内部でのイ
ンデックス値を変更することによる3次元図形の部分的
な色の変更を与えることが可能となり、同様にカラール
ックアップテーブルを変更することなく、また、各多角
形頂点での輝度値算出を再計算することもなく処理で
き、処理効率の低減を招かないという効果が得られる。Further, it is possible to give a partial color change of the three-dimensional figure by subtly changing the index value within each polygonal plane, and similarly without changing the color lookup table. In addition, the brightness value calculation at each polygon vertex can be processed without recalculation, and the effect that the processing efficiency is not reduced is obtained.
【0047】さらに、微妙に各多角形平面の頂点でのマ
ッピング座標値を変更することによる3次元図形の良く
似た材質感を表現することが可能となり、用いているマ
ッピングデータを変更することもなく、あらかじめメモ
リ領域に数種類の良く似たマッピングデータをストアし
ておくこともなく処理でき、データの転送時間が発生し
処理効率の低減を招かず、ストアすべきメモリ量も削減
できるという効果が得られる。Furthermore, it is possible to subtly change the mapping coordinate values at the vertices of each polygonal plane to express a material feeling similar to that of a three-dimensional figure, and it is also possible to change the mapping data used. Without having to store several kinds of similar mapping data in advance in the memory area, data transfer time will not occur and processing efficiency will not be reduced, and the amount of memory to be stored can be reduced. can get.
【0048】さらに、微妙に各多角形平面の内部のマッ
ピング座標値を変更することによる3次元図形の良く似
た材質感を表現することが可能となり、用いているマッ
ピングデータを変更することもなく、あらかじめメモリ
領域に数種類の良く似たマッピングデータをストアして
おくこともなく処理でき、データの転送時間が発生し処
理効率の低減を招かず、ストアすべきメモリ量も削減で
きるという効果が得られる。また、多角形平面内部のマ
ッピング座標を摂動処理手段により変更する際に、多角
形平面の輪郭部分に対しては摂動項の振れる範囲をゼロ
とするか極めて微小な範囲にとどめることにより、マッ
ピングデータを小規模にし境目なしに接合できるテクス
チャーデータを生成し繰り返し利用することを行なう場
合においても、境目なしに接合することが可能となる。Furthermore, it is possible to subtly change the mapping coordinate values inside each polygonal plane to express a material feeling similar to that of a three-dimensional figure, without changing the mapping data used. , Processing can be performed without storing several kinds of similar mapping data in the memory area beforehand, data transfer time will not occur and processing efficiency will not be reduced, and the amount of memory to be stored can be reduced. To be Further, when the mapping coordinates inside the polygonal plane are changed by the perturbation processing means, the range in which the perturbation term swings to zero is set to the contour part of the polygonal plane, or the range is kept to a very small range to obtain the mapping data. Even in the case of generating texture data that can be seamlessly connected to a small size and repeatedly used, it is possible to seamlessly bond.
【0049】さらに、マッピング処理によって施された
材質感に陰影を付ける処理において、最終的な各多角形
平面の色情報を微妙に変化させることが可能となり、設
定したマッピング処理で算出した色情報を100%対応
させる各多角形平面での輝度値のレベルを変更すること
なしに実現できるという効果が得られる。Further, in the process of shading the material appearance given by the mapping process, it becomes possible to delicately change the color information of each final polygonal plane, and the color information calculated by the set mapping process can be changed. The effect that it can be realized without changing the level of the brightness value in each polygonal plane that is made to correspond 100% is obtained.
【図1】本発明の第1の実施例における3次元図形生成
処理装置のブロック図FIG. 1 is a block diagram of a three-dimensional graphic generation processing device according to a first embodiment of the present invention.
【図2】(a)、(b)実施例の動作を説明するための
模式図2A and 2B are schematic diagrams for explaining the operation of the embodiment of FIGS.
【図3】(a)実施例におけるカラールックアップテー
ブルの一例を示す模式図 (b)実施例におけるマッピングデータの一例を示す模
式図FIG. 3A is a schematic diagram showing an example of a color lookup table in the embodiment. FIG. 3B is a schematic diagram showing an example of mapping data in the embodiment.
【図4】本発明の第2の実施例における3次元図形生成
処理装置のブロック図FIG. 4 is a block diagram of a three-dimensional figure generation processing device according to a second embodiment of the present invention.
【図5】本発明の第3の実施例における3次元図形生成
処理装置のブロック図FIG. 5 is a block diagram of a three-dimensional figure generation processing device according to a third embodiment of the present invention.
【図6】本発明の第4の実施例における3次元図形生成
処理装置のブロック図FIG. 6 is a block diagram of a three-dimensional graphic generation processing device according to a fourth embodiment of the present invention.
【図7】本発明の第5の実施例における3次元図形生成
処理装置のブロック図FIG. 7 is a block diagram of a three-dimensional figure generation processing device according to a fifth embodiment of the present invention.
【図8】(a)、(b)離散関数に摂動項を導入したダ
イナミックな関数処理の一例を示す特性図8A and 8B are characteristic diagrams showing an example of dynamic function processing in which a perturbation term is introduced into a discrete function.
【図9】(a)摂動項を加法的に導入した加法型摂動系
関数の一例を示す特性図 (b)摂動項を乗法的に導入した乗法型摂動系関数の一
例を示す特性図9A is a characteristic diagram showing an example of an additive type perturbation system function in which a perturbation term is additively introduced. FIG. 9B is a characteristic diagram showing an example of a multiplicative perturbation system function in which a perturbation term is multiplicatively introduced.
【図10】(a)、(b)、(c)、(d)離散関数に
摂動項を導入したダイナミックな関数処理の挙動例を示
す特性図10 (a), (b), (c), (d) A characteristic diagram showing an example of behavior of dynamic function processing in which a perturbation term is introduced in a discrete function.
11 グラフィックス情報設定手段 12 シェーディングモデル 13 色情報算出手段 131 パッチ頂点インデックス値算出手段 132 内挿処理手段 14 カラールックアップテーブル 15 マッピング処理手段 151 パッチ頂点マッピング座標設定手段 152 パッチ内部マッピング座標算出手段 16 マッピングデータ 17 ピクセル情報算出手段 18 フレームバッファ 19 表示制御手段 20 ディスプレイ装置 21 摂動処理手段 22 パッチ面 11 graphics information setting means 12 shading model 13 color information calculating means 131 patch vertex index value calculating means 132 interpolation processing means 14 color lookup table 15 mapping processing means 151 patch vertex mapping coordinate setting means 152 patch internal mapping coordinate calculating means 16 Mapping data 17 Pixel information calculation means 18 Frame buffer 19 Display control means 20 Display device 21 Perturbation processing means 22 Patch surface
Claims (6)
るカラールックアップテーブルと、3次元形状の表面を
多角形平面の集まりとして近似し、多角形平面の各頂点
の前記インデックス値を、多角形平面のグラフィックス
情報を設定するグラフィックス情報設定手段とシェーデ
ィングモデルとに従って求めるパッチ頂点インデックス
値算出手段と前記パッチ頂点インデックス値算出手段で
算出された各多角形平面の各頂点のインデックス値を用
いて多角形内部のインデックス値を内挿により決定する
内挿処理手段とからなる色情報算出手段と、マッピング
座標値をもってマッピングすべき情報を指定するマッピ
ングデータと、前記グラフィックス情報設定手段により
設定された多角形平面のグラフィックス情報を用いて多
角形平面の各頂点の前記マッピング座標値を設定するパ
ッチ頂点マッピング座標設定手段と前記パッチ頂点マッ
ピング座標設定手段により設定された多角形頂点のマッ
ピング座標値を用いて多角形内部のマッピング座標値を
算出するパッチ内部マッピング座標算出手段とからなる
マッピング処理手段と、前記色情報算出手段で算出され
た多角形内部のインデックス値と前記マッピング処理手
段によって算出された多角形内部の色情報とを用いて、
描画すべき3次元図形のピクセル情報を算出してフレー
ムバッファに書き込むピクセル情報算出手段と、前記フ
レームバッファに蓄積されたピクセル情報をもとにディ
スプレイ装置に陰影の付いた立体感のある次元図形を表
示する表示制御手段と、図形生成に際して離散関数に摂
動項を導入したダイナミックな関数処理を行なう摂動処
理手段とを備えた3次元図形生成処理装置。1. A color lookup table that specifies color information by index values, and a surface of a three-dimensional shape is approximated as a set of polygonal planes, and the index values of each vertex of the polygonal planes are set to the polygonal planes. A polygon is formed by using a patch vertex index value calculating means obtained according to a graphics information setting means for setting graphics information and a shading model, and an index value of each vertex of each polygon plane calculated by the patch vertex index value calculating means. Color information calculating means including interpolation processing means for determining internal index values by interpolation, mapping data for specifying information to be mapped with mapping coordinate values, and polygons set by the graphics information setting means. Of each vertex of the polygonal plane using the graphics information of the plane A patch vertex mapping coordinate setting unit that sets the mapping coordinate value and a patch internal mapping coordinate calculation that calculates the mapping coordinate value inside the polygon using the mapping coordinate values of the polygon vertices set by the patch vertex mapping coordinate setting unit Using mapping processing means including means, index values inside the polygon calculated by the color information calculating means, and color information inside the polygon calculated by the mapping processing means,
Pixel information calculation means for calculating pixel information of a three-dimensional figure to be drawn and writing it in the frame buffer, and a three-dimensional figure with a three-dimensional effect shaded on the display device based on the pixel information accumulated in the frame buffer. A three-dimensional graphic generation processing device comprising display control means for displaying and perturbation processing means for performing dynamic functional processing in which a perturbation term is introduced into a discrete function when generating a graphic.
ス値算出手段で算出されたインデックス値に対して処理
するように設けられた請求項1記載の3次元図形生成処
理装置。2. The three-dimensional figure generation processing apparatus according to claim 1, wherein the perturbation processing means is provided so as to process the index value calculated by the patch vertex index value calculation means.
れたインデックス値に対して処理するように設けられた
請求項1記載の3次元図形生成処理装置。3. The three-dimensional graphic generation processing apparatus according to claim 1, wherein the perturbation processing means is provided so as to process the index value calculated by the interpolation processing means.
座標設定手段で設定されたマッピング座標値に対して処
理するように設けられた請求項1記載の3次元図形生成
処理装置。4. The three-dimensional graphic generation processing apparatus according to claim 1, wherein the perturbation processing means is provided so as to process the mapping coordinate values set by the patch vertex mapping coordinate setting means.
座標算出手段で算出されたマッピング座標に対して処理
するように設けられた請求項1記載の3次元図形生成処
理装置。5. The three-dimensional figure generation processing apparatus according to claim 1, wherein the perturbation processing means is provided so as to process the mapping coordinates calculated by the patch internal mapping coordinate calculation means.
で算出されたピクセル情報に対して処理するように設け
られた請求項1記載の3次元図形生成処理装置。6. The three-dimensional figure generation processing apparatus according to claim 1, wherein the perturbation processing means is provided so as to process the pixel information calculated by the pixel information calculation means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1451595A JPH08212387A (en) | 1995-01-31 | 1995-01-31 | Three-dimensional figure generation processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1451595A JPH08212387A (en) | 1995-01-31 | 1995-01-31 | Three-dimensional figure generation processing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH08212387A true JPH08212387A (en) | 1996-08-20 |
Family
ID=11863233
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1451595A Pending JPH08212387A (en) | 1995-01-31 | 1995-01-31 | Three-dimensional figure generation processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH08212387A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100647323B1 (en) * | 2004-09-03 | 2006-11-23 | 삼성전자주식회사 | Apparatus and method for processing 3-dimesional object using perturbation function |
-
1995
- 1995-01-31 JP JP1451595A patent/JPH08212387A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100647323B1 (en) * | 2004-09-03 | 2006-11-23 | 삼성전자주식회사 | Apparatus and method for processing 3-dimesional object using perturbation function |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5745666A (en) | Resolution-independent method for displaying a three-dimensional model in two-dimensional display space | |
US5808619A (en) | Real-time rendering method of selectively performing bump mapping and phong shading processes and apparatus therefor | |
US6593924B1 (en) | Rendering a non-photorealistic image | |
US6532013B1 (en) | System, method and article of manufacture for pixel shaders for programmable shading | |
US5377313A (en) | Computer graphics display method and system with shadow generation | |
US6922193B2 (en) | Method for efficiently calculating texture coordinate gradient vectors | |
US6593923B1 (en) | System, method and article of manufacture for shadow mapping | |
JPH06348864A (en) | Image display apparatus, computer graphic system and image display method | |
JPH07120436B2 (en) | Shading method in graphics display system | |
US7777745B2 (en) | Edge effect | |
KR20050030595A (en) | Image processing apparatus and method | |
WO2000002165A1 (en) | Method for generating polygon data and image display using the same | |
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 | |
US6184893B1 (en) | Method and system for filtering texture map data for improved image quality in a graphics computer system | |
US7158133B2 (en) | System and method for shadow rendering | |
JP2003256865A (en) | Method and program for generating 2D image of cartoon expression from 3D object data | |
US6791569B1 (en) | Antialiasing method using barycentric coordinates applied to lines | |
US5704025A (en) | Computer graphics system having per pixel depth cueing | |
Nienhaus et al. | Sketchy drawings | |
JP4060375B2 (en) | Spotlight characteristic forming method and image processing apparatus using the same | |
JPH08212387A (en) | Three-dimensional figure generation processing device | |
JP3258286B2 (en) | Drawing method and drawing apparatus for displaying image data of a plurality of objects in which translucent and opaque objects are mixed on a computer display screen | |
JP3261832B2 (en) | Image generation device | |
JP2004054634A (en) | Picture processor and its method | |
JP2000057372A (en) | Image processor, image processing method and storage medium |