JPH03219378A - Graphic plotter - Google Patents

Graphic plotter

Info

Publication number
JPH03219378A
JPH03219378A JP1645190A JP1645190A JPH03219378A JP H03219378 A JPH03219378 A JP H03219378A JP 1645190 A JP1645190 A JP 1645190A JP 1645190 A JP1645190 A JP 1645190A JP H03219378 A JPH03219378 A JP H03219378A
Authority
JP
Japan
Prior art keywords
value
coordinate value
register
deltaz
deltax
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
Application number
JP1645190A
Other languages
Japanese (ja)
Inventor
Tomoaki Ueda
智章 上田
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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP1645190A priority Critical patent/JPH03219378A/en
Publication of JPH03219378A publication Critical patent/JPH03219378A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE:To secure the same degree of graphic plotting quality as Phongshading by using a data holding means shifted by prescribed quantity decided based on a reference coordinate value in a prescribed direction. CONSTITUTION:A (z) gradient DELTAz/DELTAx is calculated by performing division based on the difference DELTAz of a z-coordinate value and the difference DELTAx of an x- coordinate value at both endpoints at a host processor, etc., and the (z) gradient DELTAz/DELTAx is stored in a quotient register 2, and also, a (z) coordinate value zl at one endpoint is stored in an accumulative value register 1 by controlling a selector 4. Also, the (z) gradient DELTAz/DELTAx is supplied from the quotient register 2 to an incremental value shift register 5. The content DELTAz/DELTAx of the incremental value shift register 5 is right-shifted by the complement on 2 of a component xlP less than a decimal point in the x-coordinate value xl sequentially. Also, the selector 4 is set in a state to supply the output value of an adder 3 to the accumulative value register 1 after storing the value zl in the accumulative value register 1. In such a way, plotting with high quality same as that of the Phongshading can be performed.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 この発明は図形描画装置に関し、さらに詳細にいえば、
整数座標値のみに基づいて図形を描画するためのグロー
・シェーディングに代表される図形描画装置に関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a graphic drawing device, and more specifically,
The present invention relates to a graphic drawing device typified by glow shading for drawing a graphic based only on integer coordinate values.

〈従来の技術、および発明が解決しようとする課題〉 従来から図形描画方法として、 ■ ライン・シェーディング(Phong shadi
ng )に代表されるように、小数点以下のデータをも
含んで表現されるアドレスに基づく描画を行なう方法、
および ■ グロー・シェーディング(Gouraud sha
ding)に代表されるように、整数値のみで表現され
るアドレスに基づく描画を行なう方法 が広く知られている。
<Prior art and problems to be solved by the invention> As a conventional figure drawing method, ■ Line shading (Phong shadi)
ng), a method of drawing based on addresses expressed including data below the decimal point,
and ■ Glow shading (Gouraud sha
ding), a method of drawing based on addresses expressed only by integer values is widely known.

上記■の図形描画方法は、全てのアドレスが小数点以下
のデータをも含んで表現されているため、第5図(A)
に示すように、与えられた頂点データに基づいてポリゴ
ンのエツジ・ラインを正確に求めることができ、しかも
エツジ争ラインの内部に位置する画素のみを描画するこ
とができる。但し、エツジ・ラインがたまたま整数格子
と交差している画素については、特定の側のエツジ・ラ
イン上の画素のみを描画するようにしている。したかっ
て、何れの画素も隣接するポリゴンの画素と重複するこ
とがなくなり、高い図形描画品質を達成することができ
る。しかし、この方法では、全ての画素データの生成を
ソフトウェアで行なわななければならず、所要時間が著
しく長くなってしまうという不都合がある。
In the figure drawing method (■) above, all addresses are expressed including data below the decimal point, so as shown in Figure 5 (A)
As shown in FIG. 2, it is possible to accurately determine the edge line of a polygon based on the given vertex data, and moreover, it is possible to draw only the pixels located inside the edge conflict line. However, for pixels whose edge lines happen to intersect with the integer grid, only the pixels on the edge line on the specific side are drawn. Therefore, no pixel overlaps with a pixel of an adjacent polygon, and high graphic drawing quality can be achieved. However, this method has the disadvantage that all pixel data must be generated by software, which significantly increases the time required.

上記■の図形描画方法は、全てのアドレスが整数値のみ
で表現されるのであるから直線補間演算器等のハードウ
ェアによる処理を簡単に達成でき、所要時間を著しく短
縮できる。しかし、全てのアドレスが整数値のみで表現
される関係上、小数点以下のデータについては切り捨て
、四捨五入等のまるめ処理が予め施されることになるた
め、第5図(B)に示すように、まるめら・れた頂点デ
ータに基づいてポリゴンのエツジ・ラインを求めること
によりエツジ・ラインが不正確になり、さらに、エツジ
・ライン上の画素についてもまるめ処理が施されたアド
レスになるのでポリゴンの外部の画素が描画されること
になる。したがって、エツジ部の画素が隣接するポリゴ
ンの画素と重複することになり、エツジ部において大巾
に図形描画品質を低下させることになる。特に、表面ポ
リゴンと裏面ポリゴンとの付き合せ部において描画順序
によっては裏面ポリゴンの色が表示されてしまうことに
なるので、著しく図形描画品質が損なわれてしまう。
In the graphic drawing method (2) above, since all addresses are expressed only by integer values, processing by hardware such as a linear interpolation calculator can be easily accomplished, and the required time can be significantly reduced. However, since all addresses are expressed only as integer values, data below the decimal point must be rounded off, rounded off, etc. in advance, so as shown in Figure 5 (B), Obtaining the edge line of a polygon based on rounded vertex data will make the edge line inaccurate, and furthermore, the pixels on the edge line will also have addresses that have been rounded, so the polygon's edge line will be inaccurate. External pixels will be drawn. Therefore, the pixels of the edge portion overlap with the pixels of the adjacent polygon, and the graphic drawing quality at the edge portion is greatly reduced. In particular, depending on the drawing order, the color of the back polygon may be displayed at the matching portion of the front polygon and the back polygon, resulting in a significant loss of graphic drawing quality.

さらに、マルチ・ウィンドウ表示描画を行なう場合等に
おいて■による図形描画と■による図形描画とを混在さ
せる要求が強くなる可能性があるが、ポリゴンの表示位
置、ポリゴン内の画素数が異なるのであるから実際には
混在表示を行なうことが不可能である。
Furthermore, when performing multi-window display drawing, etc., there may be a strong demand to mix figure drawing with ■ and figure drawing with ■, since the display position of the polygon and the number of pixels within the polygon are different. In reality, mixed display is impossible.

〈発明の目的〉 この発明は上記の問題点に鑑みてなされたものであり、
整数値のみからなるアドレスを直線補間手段から出力し
て図形の描画を行ない、しかもフォノ・シェーディング
と同程度の図形描画品質を達成できる新規な図形描画装
置を提供することを目的としている。
<Object of the invention> This invention was made in view of the above problems,
To provide a new figure drawing device capable of drawing figures by outputting addresses consisting only of integer values from linear interpolation means and achieving figure drawing quality comparable to that of phono shading.

く課題を解決するための手段〉 上記の目的を達成するための、この発明の図形描画装置
は、直線補間手段が、累積加算値に順次加算すべき増分
値を保持しておく増分値保持手段として、補間演算を行
なうべき基準座標値に基づいて定まる所定量だけ所定方
向にシフトされるデータ保持手段を用いている。この場
合において、シフト量としては、補間演算を行なうべき
基準座標値の小数値の2の補数であることが好ましい。
Means for Solving the Problems> In order to achieve the above object, in the graphic drawing device of the present invention, the linear interpolation means includes an increment value holding means for holding increment values to be sequentially added to the cumulative addition value. As such, data holding means is used that is shifted in a predetermined direction by a predetermined amount determined based on reference coordinate values on which interpolation calculations are to be performed. In this case, the shift amount is preferably a two's complement of the decimal value of the reference coordinate value on which the interpolation calculation is to be performed.

く作用〉 以上の図形描画装置であれば、直線補間手段の増分値保
持手段が、補間演算を行なうべき基準座標値に基づいて
定まる所定量だけ所定方向にシフトされるデータ保持手
段であるから、線分の一方の端点の基準側座標値が小数
点以下のデータを含んでいても、予め設定された側に最
も近い格子点の基準側座標値に対応する他の座標値を得
(以下、基準側座標値が整数である場合における座標値
を得ることを補整と称する)、その後、所定方向に順次
位置している格子点の基準側座標値に対応する他の座標
値を順次前ることができる。即ち、線分の端点のアドレ
スが小数点以下のデータを含む状態であり、この線分が
ポリゴンのエツジ・ラインである場合には、従来のグロ
ー・シェーディングのようにエツジ・ラインがシフトす
るという不都合は解消される。そして、ポリゴンをスキ
ャン・ラインに分解する場合にも、データ保持手段のシ
フト方向を、スキャン・ラインの端点がポリゴンに含ま
れる方向に設定しておくことにより、フォノ・シェーデ
ィングと同様の図形描画を達成できる。そして、シフト
量が補間演算を行なうべき基準座標値の小数値の2の補
数である場合には、シフト量を簡単に設定できる。さら
に、ポリゴンの表示位置、ポリゴン内の画素数がフォノ
・シェーディング方式による描画の場合と等しくなるの
であるから、マルチ・ウィンドウ表示描画等を行なう場
合においてグロー・シェーディング方式による描画とフ
ォノ・シェーディング方式による描画とを混在させるこ
とができる。
In the graphic drawing device described above, the incremental value holding means of the linear interpolation means is a data holding means that is shifted in a predetermined direction by a predetermined amount determined based on the reference coordinate values on which interpolation calculations are to be performed. Even if the reference side coordinate value of one end point of the line segment contains data below the decimal point, other coordinate values corresponding to the reference side coordinate value of the grid point closest to the preset side are obtained (hereinafter referred to as the reference side coordinate value). Obtaining coordinate values when the side coordinate values are integers is called compensation), and then other coordinate values corresponding to the reference side coordinate values of grid points located sequentially in a predetermined direction can be sequentially moved forward. can. In other words, if the address of the end point of a line segment contains data below the decimal point, and this line segment is an edge line of a polygon, there is the disadvantage that the edge line shifts like in conventional glow shading. will be resolved. When polygons are broken down into scan lines, the shift direction of the data holding means is set in the direction in which the end points of the scan lines are included in the polygons, allowing figure drawing similar to phono shading to be performed. It can be achieved. If the shift amount is a two's complement of the decimal value of the reference coordinate value on which interpolation is to be performed, the shift amount can be easily set. Furthermore, since the display position of the polygon and the number of pixels within the polygon are the same as when drawing using the phono shading method, when performing multi-window display drawing, etc. Can be mixed with drawing.

X座標値を基準側座標値とし、2座標値を他の座標値と
仮定して第1図に示す線分PI P2において補整する
場合についてさらに詳細に説明する。
The case where the correction is performed on the line segment PI P2 shown in FIG. 1, assuming that the X coordinate value is the reference side coordinate value and the second coordinate value is another coordinate value, will be described in more detail.

但し、補整方法としては、一方の端点PiからX座標の
増加方向にもよりの整数のX座標値に補整する方法と、
他方の端点P2からX座標の減少方向にもよりの整数の
X座標値に補整する方法とが存在するので、以下におい
ては前者の方法についてのみ説明する。
However, as a compensation method, there is a method of compensating to an integer X coordinate value depending on the increasing direction of the X coordinate from one end point Pi,
Since there is a method of compensating to an integer X coordinate value in the decreasing direction of the X coordinate from the other end point P2, only the former method will be described below.

先ず、端点PiのX座標値x1の整数成分をxll、小
数点以下の成分をxlPとし、2座標値を21とし、線
分Pi P2の2勾配を△2/△Xと定めておけば(第
1図参照)、もよりの整数のX座標値はx Ll+1で
あり、X座標値xll+1に対応する2座標値2は、 z −z l + (1−x IP)  (Δ2/ΔX
)により得られる。
First, if we define the integer component of the X coordinate value x1 of the end point Pi as xll, the component below the decimal point as xlP, the 2nd coordinate value as 21, and the 2nd slope of the line segment Pi P2 as △2/△X (the 1), the X coordinate value of the integer is x Ll+1, and the 2 coordinate value 2 corresponding to the X coordinate value xll+1 is z −z l + (1−x IP) (Δ2/ΔX
) is obtained.

即ち、端点のX座標値z1に対してX座標値の小数部の
2の補数値に2勾配Δ2/ΔXを乗算した値を加算し、
その後は通常の補間演算を行なえばよく、ライン・シェ
ーディングの場合と同様の画素データを高速に得、高品
質かつ高速の図形描画を達成できる。尚、上記式から明
らかなように、xlP−0であれば、端点の画素は描画
されないことになる。
That is, to the X coordinate value z1 of the end point, add the value obtained by multiplying the 2's complement value of the decimal part of the X coordinate value by 2 slope Δ2/ΔX,
After that, normal interpolation calculations can be performed, pixel data similar to that in the case of line shading can be obtained at high speed, and high-quality and high-speed graphic drawing can be achieved. Note that, as is clear from the above equation, if xlP-0, the endpoint pixel will not be drawn.

〈実施例〉 以下、実施例を示す添付図面によって詳細に説明する。<Example> Hereinafter, embodiments will be described in detail with reference to the accompanying drawings showing examples.

第2図はこの発明の図形描画装置の要部の一実施例を示
すブロック図であり、従来の直線補間装置と同様に初期
値または累積加算値を保持する累算値レジスタ(1)、
一方の座標値の差分を他方の座標値の差分て除算して得
た商を保持する商レジスタ(2)と、加算器(3)と、
セレクタ(4)とを有しているとともに、従来の直線補
間装置の増分値レジスタに代えて右シフト可能な増分値
シフト・レジスタ(5)を有している。尚、(SEL)
はセレクタ(4)を制御するための信号であり、(CK
)は累算値レジスタ(1)に供給されるクロック信号で
あり、(WE)は増分値シフト・レジスタ(5)に対す
るライト9イネーブル信号であり、(MODE)は右シ
フト状態とシフトしていない状態とを選択するための信
号である。また、この装置は、2座標値を補間するため
の装置として示されているので、累算値レジスタ(1)
からの出力値は加算器(3)に供給されるとともに、隠
面処理のためのデプス・バッファ(6)に供給される。
FIG. 2 is a block diagram showing an embodiment of the essential parts of the graphic drawing device of the present invention, in which, like the conventional linear interpolation device, an accumulated value register (1) that holds an initial value or a cumulative addition value;
a quotient register (2) that holds a quotient obtained by dividing the difference between one coordinate value by the difference between the other coordinate values; an adder (3);
It also has an increment value shift register (5) which can be shifted to the right in place of the increment value register of the conventional linear interpolation device. Furthermore, (SEL)
is a signal for controlling the selector (4), and (CK
) is the clock signal fed to the accumulated value register (1), (WE) is the write 9 enable signal for the incremental value shift register (5), and (MODE) is the right-shifted and unshifted states. This is a signal for selecting the state. Also, since this device is shown as a device for interpolating two coordinate values, the cumulative value register (1)
The output value from is supplied to an adder (3) and also to a depth buffer (6) for hidden surface processing.

上記の構成の直線補間装置の動作は次のとおりである。The operation of the linear interpolation device having the above configuration is as follows.

描画すべき線分が第1図に示すように定まれば、図示し
ない上位プロセッサ等において両端点における2座標値
の差分△ZとX座標値の差分△Xに基づく除算を行なう
ことにより2勾配△2/ΔXを算出し、Z勾配△2/△
Xを商レジスタ(2)に格納するとともに、セレクタ(
4)を制御して一方の端点の2座標値z1を累算値レジ
スタ(1)に格納する。
Once the line segment to be drawn is determined as shown in Figure 1, a high-level processor (not shown) performs division based on the difference △Z between the two coordinate values and the difference △X between the Calculate △2/ΔX, and calculate Z slope △2/△
While storing X in the quotient register (2), selector (
4) to store the two coordinate values z1 of one end point in the cumulative value register (1).

尚、上記2勾配△2/△Xは商レジスタ(2)から増分
値シフト・レジスタ(5)に供給されている。そして・
この増分値シフト・レジスタ(5)の内容Δ2/ΔXは
、一方の端点のX座標値x1の小数点以下の成分xlP
の2の補数だけ順次右シフトされる。
Note that the two gradients Δ2/ΔX are supplied from the quotient register (2) to the increment value shift register (5). and·
The content Δ2/ΔX of this incremental value shift register (5) is the component xlP below the decimal point of the X coordinate value x1 of one end point.
are sequentially shifted to the right by the two's complement of .

また、セレクタ(4)はzlを累算値レジスタ(1)に
格納した後、直ちに逆に制御され、加算器(3)からの
出力値を累算値レジスタ(1)に供給する状態になる。
In addition, after the selector (4) stores zl in the accumulated value register (1), it is immediately controlled in the opposite direction and becomes in a state of supplying the output value from the adder (3) to the accumulated value register (1). .

したがって、最初に累算値レジスタ(1)の内容z1と
所定数ビットだけ右シフトさせた増分値シフト・レジス
タ(5)の内容2−j(△2/Δx)  (jは整数)
とを加算器(3)に供給すれば、端点PiからX座標値
の増加方向に少しだけX座標値が変化した点に対応する
2座標値z−zl+2−j(Δ2/ΔX)を得ることが
できる。その後、xlPの2の補数の値が“1”のビッ
トに対応して順次増分値シフト・レジスタ(5)の内容
を右シフトさせ、累算値レジスタ(1)の内容に加算す
ることにより、最終的にX座標値がx3の点P3におけ
る2座標値z3−zl +(1−xlP)  (△2/
ΔX)を得ることができる。その後は、商レジスタ0に
保持されている2勾配Δ2/ΔXを再び増分値シフト・
レジスタ(5)に供給し、右シフトさせることなくその
まま保持させておけばよく、上記2座標値z3を基準値
として順次2勾配Δ2/ΔXを累積加算し、整数のX座
標値に対応する正確な2座標値を順次得ることができる
Therefore, first, the content z1 of the accumulated value register (1) and the content 2-j (△2/Δx) of the incremental value shift register (5) shifted to the right by a predetermined number of bits (j is an integer)
By supplying this to the adder (3), we can obtain the 2-coordinate value z-zl+2-j (Δ2/ΔX) corresponding to the point where the X-coordinate value has changed slightly in the increasing direction of the X-coordinate value from the end point Pi. I can do it. After that, by sequentially shifting the contents of the incremental value shift register (5) to the right corresponding to the bits whose two's complement value of xlP is "1" and adding them to the contents of the cumulative value register (1), Finally, the two coordinate values z3-zl + (1-xlP) (△2/
ΔX) can be obtained. After that, the two slopes Δ2/ΔX held in quotient register 0 are shifted again by the increment value.
It is sufficient to supply it to the register (5) and hold it as it is without shifting it to the right. Using the above two coordinate value z3 as a reference value, the two gradients Δ2/ΔX are sequentially cumulatively added to obtain the accurate value corresponding to the integer X coordinate value. Two coordinate values can be obtained sequentially.

く具体例〉 上記座標値x1.zlおよび2勾配Δ2/ΔXがそれぞ
れ2進数で“0011.0101”  “00110.
10110”  ”00001.01101’であり、
座標値x3が2進数で“0100.0000”であれば
、座標値がXlの点とx3の点との間のスキャン・ライ
ン方向の距離Jxは、Xlの小数部xlP−“0.01
01”の逆数“0.1010°の最下位ビットに“1”
を加算する(2の補数をとる)ことにより得られ、J 
x−“0゜1011”となる。したがって、JXのビッ
トが“1”の桁に対応して2勾配Δ2/ΔXを右シフト
させた値“0000.101101“00゜00101
101”0.000101101”を2座標値z1に加
算することにより、X座標値がx3の点に対応する2座
標値z3−“00111.101001111”を得る
ことができる。
Specific example> The above coordinate value x1. zl and two gradients Δ2/ΔX are respectively "0011.0101" and "00110.
10110""00001.01101',
If the coordinate value x3 is "0100.0000" in binary, the distance Jx in the scan line direction between the point with the coordinate value Xl and the point x3 is the decimal part xlP of Xl - "0.01
“1” in the least significant bit of the reciprocal “0.1010°” of “01”
(take two's complement), J
x-“0°1011”. Therefore, the value “0000.101101”00°00101 obtained by right-shifting the 2 slope Δ2/ΔX corresponding to the digit where the bit of JX is “1”
By adding 101"0.000101101" to the two-coordinate value z1, it is possible to obtain the two-coordinate value z3-"00111.101001111" corresponding to the point whose X coordinate value is x3.

その後は、X座標値が“1″ずつ増加するのであるから
、増分値シフト・レジスタ(5)に2勾配Δ2/ΔX−
00001,01101″をそのまま保持させて上記2
座標値z3に順次累積加算することにより、整数のX座
標値に対応する2座標値を順次得ることができる。
After that, the X coordinate value increases by "1", so the increment value shift register (5) is filled with 2 slopes Δ2/ΔX-
00001,01101″ is kept as is and the above 2
By sequentially cumulatively adding the coordinate value z3, two coordinate values corresponding to the integer X coordinate value can be sequentially obtained.

なお、上記実施例は、X座標値に基づいて2座標値を直
線補間しているが、X座標値に基づいてX座標値、輝度
値等を直線補間する場合にも同様に適用できることは勿
論である。
Note that in the above embodiment, two coordinate values are linearly interpolated based on the X coordinate value, but it is of course applicable to linear interpolation of the X coordinate value, luminance value, etc. based on the X coordinate value. It is.

第3図はこの実施例の図形描画装置により隣接する3つ
のポリゴンを描画した状態を示す概略図であり、何れの
エツジ・ラインにおいても画素の共有が確実に解消され
ているので、図形描画品質が著しく向上している。また
、第4図に示す、表面ポリゴンと裏面ポリゴンとのエツ
ジ−ラインにおいては、偶然に整数格子に一致した画素
のみが裏面ポリゴンの色で描画されるだけであり、残り
の画素は表面ポリゴンの色で描画されるので、裏面ポリ
ゴンを後から描画する場合であっても裏面ポリゴンの色
は殆ど描画されず、図形描画品質を著しく高めることが
できる。
FIG. 3 is a schematic diagram showing the state in which three adjacent polygons are drawn by the figure drawing device of this embodiment. Since pixel sharing is reliably eliminated in any edge line, the figure drawing quality is improved. has improved significantly. In addition, in the edge line between the front polygon and the back polygon shown in Figure 4, only the pixels that coincidentally match the integer grid are drawn in the color of the back polygon, and the remaining pixels are drawn in the color of the front polygon. Since it is drawn in color, even if the back polygon is drawn later, the color of the back polygon is hardly drawn, and the graphic drawing quality can be significantly improved.

上記実施例においては、増分値シフト・レジスタ(5)
が右シフトのみ可能なものとして説明されているが、左
シフトも可能なものを用いれば、クリップ・ウィンドウ
によるクリ・ノブ領域を求めるための1次方程式を解く
ために用いることができる。
In the above embodiment, the incremental value shift register (5)
is described as being capable of only being shifted to the right, but if it is also capable of being shifted to the left, it can be used to solve the linear equation for determining the clip/knob area using the clip window.

〈発明の効果〉 以上のようにこの発明は、グロー・シェーディング方式
による描画を行ないながらフォノ・シェーディング方式
と同程度の高品質の描画を達成でき、しかもグローやシ
ェーディング方式による描画と7オン争シ工−デイング
方式による描画とを混在させることができるという特有
の効果を奏する。
<Effects of the Invention> As described above, the present invention is capable of achieving high-quality drawing comparable to that of the phono shading method while performing drawing using the glow shading method, and moreover, it is capable of achieving a high quality drawing comparable to that of the phono shading method, and is also superior to drawing using the glow or shading method. This has the unique effect of being able to coexist with drawing based on the engineering method.

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

第1図はこの発明による図形描画動作を説明するための
概略図、 第2図はこの発明の図形描画装置の要部の一実施例を示
すブロック図、 第3図は第2図の実施例の図形描画装置により隣接する
3つのポリゴンを描画した状態を示す概略図、 第4図は表面ポリゴンと裏面ポリゴンとの突き合せ状態
を説明する図、 第5図(A)はフォノ・シェーディングを説明する概略
図、 第5図(B)はグロー・シェーディングを説明する概略
図。 (5)・・・データ保持手段としての増分値シフト・レ
ジスタ
FIG. 1 is a schematic diagram for explaining the graphic drawing operation according to the present invention, FIG. 2 is a block diagram showing an embodiment of the main part of the graphic drawing device of the present invention, and FIG. 3 is an embodiment of the diagram shown in FIG. A schematic diagram showing a state in which three adjacent polygons are drawn by a graphic drawing device, FIG. 4 is a diagram illustrating a state in which a front polygon and a back polygon are matched, and FIG. 5 (A) explains phono shading. FIG. 5(B) is a schematic diagram explaining glow shading. (5)...Incremental value shift register as data holding means

Claims (1)

【特許請求の範囲】[Claims] 1、直線補間手段を用いてアドレスを順次生成し、生成
されたアドレスに基づいて画素データを画像メモリに書
き込む図形描画装置において、直線補間手段が、累積加
算値に順次加算すべき増分値を保持しておく増分値保持
手段として、補間演算を行なうべき基準座標値に基づい
て定まる所定量だけ所定方向にシフトされるデータ保持
手段(5)を用いることを特徴とする図形描画装置。
1. In a graphic drawing device that sequentially generates addresses using linear interpolation means and writes pixel data to an image memory based on the generated addresses, the linear interpolation means holds increment values to be sequentially added to cumulative addition values. A graphic drawing device characterized in that the data holding means (5) is shifted in a predetermined direction by a predetermined amount determined based on a reference coordinate value on which an interpolation calculation is to be performed as an increment value holding means.
JP1645190A 1990-01-25 1990-01-25 Graphic plotter Pending JPH03219378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1645190A JPH03219378A (en) 1990-01-25 1990-01-25 Graphic plotter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1645190A JPH03219378A (en) 1990-01-25 1990-01-25 Graphic plotter

Publications (1)

Publication Number Publication Date
JPH03219378A true JPH03219378A (en) 1991-09-26

Family

ID=11916611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1645190A Pending JPH03219378A (en) 1990-01-25 1990-01-25 Graphic plotter

Country Status (1)

Country Link
JP (1) JPH03219378A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62274473A (en) * 1986-05-23 1987-11-28 Hitachi Ltd Straight line generating method
JPS6376062A (en) * 1986-09-19 1988-04-06 Matsushita Electric Ind Co Ltd Digital differential analyzing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62274473A (en) * 1986-05-23 1987-11-28 Hitachi Ltd Straight line generating method
JPS6376062A (en) * 1986-09-19 1988-04-06 Matsushita Electric Ind Co Ltd Digital differential analyzing device

Similar Documents

Publication Publication Date Title
JP2621568B2 (en) Graphic drawing method and apparatus
US5625768A (en) Method and apparatus for correcting errors in pixel characteristics when interpolating polygons into a pixel grid
US5684941A (en) Interpolation rendering of polygons into a pixel grid
JPH05307610A (en) Texture mapping method and its device
JPH07101462B2 (en) Display method and device in computer graphics system
US5528738A (en) Method and apparatus for antialiasing raster scanned, polygonal shaped images
US6317133B1 (en) Graphics processor with variable performance characteristics
CA2050651A1 (en) Integrated hardware generator for area fill, conics and vectors in a graphics rendering processor
WO1996028794A1 (en) Three-dimensional graphic display device
US7015930B2 (en) Method and apparatus for interpolating pixel parameters based on a plurality of vertex values
JPH07182526A (en) Display method of graphics display device
GB2226936A (en) Method and apparatus for implementing adaptive forward differencing using integer arithmetic
JPH03219378A (en) Graphic plotter
US5299299A (en) Scan line full figure filling device for display units and printers
JPH03144782A (en) Three-dimensional processor
JPH09120278A (en) Apparatus and method for line scan conversion in computer graphics system
US6693634B1 (en) Reduction rate processing circuit and method with logarithmic operation and image processor employing same
US6460063B1 (en) Division circuit and graphic display processing apparatus
KR0165464B1 (en) Apparatus and method of span rendering for graphics
US5946003A (en) Method and apparatus for increasing object read-back performance in a rasterizer machine
JP4325038B2 (en) Image processing device
JP2668863B2 (en) Cross-section drawing device
JP2668864B2 (en) Cross-section drawing device
JP2668867B2 (en) Cross-section drawing device
JP4244444B2 (en) Data processing device, division circuit, and image processing device