Nova Patents
JPH0247784A

Graphic shading device

Abstract

PURPOSE:To speed up a processing by calculating the interpolation of a normal vector with the use of a level difference based on a parametric curve, and also calculating the operation of an inner product at each point on a line segment with the use of the level difference based on the parametric curve. CONSTITUTION:A first arithmetic means 2 operates and generates the normal vector to have respectively intermpolated the respective terminations of the line segment of a polygon dissolved along a scanning line based on the normal vector of the two known points on the graphic with the use of the parametric curve and by using the level difference. A second arithmetic means 3 respectively regards the vector directed to a light source direction and the vector directed to a view point direction as the constant vectors, and the inner product of the vectors and the normal vector, which is obtained by further interpolating the normal vector interpolated at both terminations of the line segment dissolved along the scanning line, is operated and generated by a (n)-th degree polynominal. A color calculating means 4 calculates colors at the respective points in the displayed three-dimensional graphic, and displays a calculation result to a display device 1.

Term

Term ended

Projected expiry passed 9 August 2008, 18.1 years ago.

  1. Priority and filed
  2. Published
  3. Projected expiry
  4. Today

1 claim: 1 independent, 0 dependent

  1. 1
    [Claim(s)] 【特許請求の範囲】 In a figure shading device showing correlation of the Normal direction and the direction of a light source in each point of a display three-dimensional figure which corresponds luminosity of each pixel on a scan line of a display (1), and the direction of a viewpoint which computes as a function of an inner product of a vector and performs shading, Each polygon of a patch group of a polygon which approximates a three-dimensional indicator chart form is decomposed into said scan line at a Along line segment sequence, The 1st calculating means (2) that uses a parametric curve based on a Normal vector (@N_1@, @N_2@) of a point of known respectively of a Normal vector of a both-ends point of the line segment, and carries out operation generation of the Interpolated method line vector (@N@) using difference, It is the n-th polynomial (however) about an inner product with the Interpolated method line vector (@N_p@) further in a Normal vector (@N@) of a both-ends point of a line segment which considered that a vector which goes in said light source direction, and a vector which goes in said viewpoint direction were respectively fixed vectors, and interpolated [ said ] with those vectors. n performs color calculation of each point of said display three-dimensional figure based on output data of the 2nd calculating means (3) that carries out operation generation for an integer greater than or equal to 2, and said 2nd calculating means (3), A figure shading device possessing a color calculating means (4) which outputs the calculation result to said display (1). 表示装置(1)のスキャンライン上の各画素の輝度を対応する表示三次元図形の各点における法線方向と光源方向と視点方向の相互関係を表わすベクトルの内積の関数として算出してシェーディングを行なう図形シェーディング装置において、三次元の表示図形を近似する多角形のパッチ群の各多角形を前記スキャンラインに沿つた線分列に分解し、その線分の両端点の法線ベクトルの夫々既知の点の法線ベクトル(@N_1@、@N_2@)をもとにパラメトリック曲線を用いて補間した法線ベクトル(@N@)を、階差を利用して演算生成する第1の演算手段(2)と、 前記光源方向に向かうベクトルと前記視点方向に向かうベクトルとを夫々一定のベクトルとみなしてそれらのベクトルと前記補間した線分の両端点の法線ベクトル(@N@)をさらに補間した法線ベクトル(@N_p@)との内積をn次多項式(ただし、nは2以上の整数)により演算生成する第2の演算手段(3)と、 前記第2の演算手段(3)の出力データに基づいて前記表示三次元図形の各点の色計算を行ない、その計算結果を前記表示装置(1)へ出力する色計算手段(4)とを具備することを特徴とする図形シェーディング装置。