JPH0740310B2 - Cross-section drawing device - Google Patents

Cross-section drawing device

Info

Publication number
JPH0740310B2
JPH0740310B2 JP22514586A JP22514586A JPH0740310B2 JP H0740310 B2 JPH0740310 B2 JP H0740310B2 JP 22514586 A JP22514586 A JP 22514586A JP 22514586 A JP22514586 A JP 22514586A JP H0740310 B2 JPH0740310 B2 JP H0740310B2
Authority
JP
Japan
Prior art keywords
pixel data
value
buffer
section
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP22514586A
Other languages
Japanese (ja)
Other versions
JPS6380377A (en
Inventor
耕一 石田
大川  誠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP22514586A priority Critical patent/JPH0740310B2/en
Publication of JPS6380377A publication Critical patent/JPS6380377A/en
Publication of JPH0740310B2 publication Critical patent/JPH0740310B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> この発明は断面図描画装置に関し、さらに詳細にいえ
ば、3次元グラフィックディスプレイ装置において3次
元図形の所望箇所を切断した状態を表示するための断面
図描画装置に関する。
Description: TECHNICAL FIELD The present invention relates to a sectional view drawing apparatus, and more specifically, for displaying a state in which a desired portion of a three-dimensional figure is cut in a three-dimensional graphic display apparatus. The present invention relates to a cross-sectional drawing device.

<従来の技術> 従来から3次元グラフィックディスプレイ装置において
は、隠面処理機能、および断面処理機能が重要な役割を
果たすので、上記両機能を具備させることが必須になっ
てきている。
<Prior Art> Conventionally, in a three-dimensional graphic display device, since the hidden surface processing function and the cross-section processing function play important roles, it is essential to have both of the above functions.

第2図は隠面処理機能、および断面処理機能を具備する
3次元グラフィックディスプレイ装置の従来例を示すブ
ロック図であり、図示しないホストコンピュータから座
標データが供給される座標変換プロセッサ(11)と、座
標変換プロセッサ(11)により変換が施されたデバイス
座標データが供給されるクリッププロセッサ(12)と、
クリッププロセッサ(12)によりクリッピングが施され
たプリミティブデータが供給される描画プロセッサ(1
3)と、描画プロセッサ(13)から出力されるピクセル
データが供給される描画メモリ(14)と、描画プロセッ
サ(13)から出力されるピクセルデータが供給されるこ
とにより、以前に設定されている座標データとに基いて
描画メモリ(14)に書込み許可信号を供給するZバッフ
ァ(15)と、描画メモリ(14)に格納されているピクセ
ルデータに基いて可視的表示を行なわせるモニタ(16)
とを具備している。尚、第2図の説明において、Zバッ
ファ(15)とは、z値を保持する機能と、Zバッファア
ルゴリズムに基づく処理を行なう機能とを有するものと
して使用されている。
FIG. 2 is a block diagram showing a conventional example of a three-dimensional graphic display device having a hidden surface processing function and a cross-section processing function, and a coordinate conversion processor (11) to which coordinate data is supplied from a host computer (not shown), A clip processor (12) to which the device coordinate data converted by the coordinate conversion processor (11) is supplied,
The drawing processor (1) to which the primitive data clipped by the clip processor (12) is supplied.
3), the drawing memory (14) to which the pixel data output from the drawing processor (13) is supplied, and the pixel data output from the drawing processor (13) are supplied so that they have been set previously. A Z buffer (15) for supplying a write enable signal to the drawing memory (14) based on the coordinate data, and a monitor (16) for performing visual display based on the pixel data stored in the drawing memory (14).
It has and. In the description of FIG. 2, the Z buffer (15) is used as having a function of holding the z value and a function of performing processing based on the Z buffer algorithm.

したがって、ホストコンピュータから供給されてきた座
標データを座標変換プロセッサ(11)によりデバイス座
標データに変換し、ユーザが指定する領域の外にあるプ
リミティブデータをクリッププロセッサ(12)によりク
リッピングし、描画プロセッサ(13)に供給する。そし
て、描画プロセッサ(13)においては、上記指定領域内
にあるプリミティブデータの各点をx,y,zの各方向に補
間しながらZバッファ(15)に(x,y,z)データを供給
するとともに、描画メモリ(14)に(x,y)データを供
給する。
Accordingly, the coordinate data supplied from the host computer is converted into device coordinate data by the coordinate conversion processor (11), and the primitive data outside the area designated by the user is clipped by the clip processor (12), and the rendering processor ( Supply to 13). Then, the drawing processor (13) supplies (x, y, z) data to the Z buffer (15) while interpolating each point of the primitive data in the designated area in each direction of x, y, z. (X, y) data is supplied to the drawing memory (14).

上記Zバッファ(15)においては、(x,y)データ毎の
z値を記憶し、ピクセルデータ(x,y,z1)と現在記憶し
ている(x,y,z0)とを比較し、0≦z1≦z0の状態であれ
ば、(x,y,z1)を表示させるべく描画メモリ(14)に書
込み許可信号を供給し、z1を新たなz0としてセットす
る。逆に、z0<z1の場合には、書込み許可信号を出力し
ない。したがって、Zバッファ(15)を使用してz0値を
順次更新してゆくことにより、隠面処理を行なうことが
できる。
In the Z buffer (15), the z value for each (x, y) data is stored, and the pixel data (x, y, z1) is compared with the currently stored (x, y, z0), If 0 ≦ z1 ≦ z0, a write enable signal is supplied to the drawing memory (14) to display (x, y, z1), and z1 is set as a new z0. Conversely, when z0 <z1, the write enable signal is not output. Therefore, the hidden surface processing can be performed by sequentially updating the z0 value using the Z buffer (15).

また、断面表示を行なう場合には、上記クリッププロセ
ッサ(12)に断面のz値を供給しておき、x,yに関して
クリッピングが施された各プリミティブデータを再びク
リッププロセッサ(12)に供給しながら、上記z値より
手前のプリミティブデータを排除するとともに、交差す
る場合にはクリップし、得られたプリミティングデータ
を描画プロセッサに供給すればよく、3次元図形の断面
表示を行なうことができる。
Further, when the cross-section is displayed, the z value of the cross section is supplied to the clip processor (12) in advance, and each primitive data clipped with respect to x and y is supplied to the clip processor (12) again. The primitive data before the z value is eliminated, and when intersecting, the clipping data is clipped, and the obtained limiting data may be supplied to the drawing processor to display the cross section of the three-dimensional figure.

<発明が解決しようとする問題点> 上記の構成の断面表示機能を実行する場合には、断面と
の交差点を得るために中点分割法、直線方程式代入法が
使用されるのであるが、何れもソフトウェア、ハードウ
ェアが複雑であり、しかも処理時間が長くなってしまう
という問題がある。即ち、中点分割法においては、収束
が遅いため結果的に処理が遅くなるのであり、直線方程
式代入法においては乗算、および除算を行なわなければ
ならないので、処理が複雑化するとともに、処理が遅く
なるのである。
<Problems to be Solved by the Invention> When the cross-section display function of the above configuration is executed, the midpoint division method and the linear equation substitution method are used to obtain the intersection with the cross section. However, there is a problem in that the software and hardware are complicated and the processing time becomes long. That is, in the midpoint division method, the processing is slowed down as a result of slow convergence, and in the linear equation substitution method, since multiplication and division must be performed, the processing becomes complicated and the processing becomes slow. It will be.

また、クリッププロセッサ(12)に対して断面のz値を
供給しておくのであるから、平面1枚程度の切断面しか
定義することができず、自由曲面に基く断面表示は到底
行なうことができないという問題もある。
Further, since the z value of the cross section is supplied to the clip processor (12), only one cut plane of the plane can be defined, and cross section display based on the free curved surface cannot be performed at all. There is also a problem.

<発明の目的> この発明は上記の問題点に鑑みてなされたものであり、
システム構成を簡素化することができるとともに、多種
多様の切断面に基くある程度の精度の断面表示を簡単に
行なうことができる断面図描画装置を提供することを目
的としている。
<Objects of the Invention> The present invention has been made in view of the above problems,
An object of the present invention is to provide a cross-section drawing device that can simplify the system configuration and can easily perform cross-section display with a certain degree of accuracy based on various cut surfaces.

<問題点を解決するための手段> 上記の目的を達成するための、この発明の断面図描画装
置は、 Zバッファと、 描画プロセッサから出力されるピクセルデータに含まれ
るz値と、該当するピクセルデータの処理以前にZバッ
ファに書込まれているz値のうち、描画プロセッサから
出力されるピクセルデータに含まれるx,y値に対応する
z値との大小を比較して、ピクセルデータに含まれるz
値が手前にあるか否かを判別するとともに、ピクセルデ
ータに含まれるz値が手前にあることを条件として上記
Zバッファに書込まれているz値を上記ピクセルデータ
に含まれるz値で更新するZバッファアルゴリズム処理
手段と、 断面を規定するZ値を保持するセクショニングバッファ
と、 描画プロセッサから出力されるピクセルデータに含まれ
るz値と、セクショニングバッファに予め書込まれてい
る、断面を規定するz値のうち、描画プロセッサから出
力されるピクセルデータに含まれるx,y値に対応するz
値との大小を比較して、ピクセルデータに含まれるz値
が奥側にあるか否かを判定する比較論理演算処理手段
と、 Zバッファアルゴリズム処理手段から上記ピクセルデー
タに含まれるz値が手前にあることを示す判別結果信号
が出力され、比較論理演算処理手段から上記ピクセルデ
ータに含まれるz値が奥側にあることを示す比較結果信
号が出力されたことに応答して描画メモリへのピクセル
データの書込みを許可する書込み制御手段と を有するものである。
<Means for Solving Problems> To achieve the above object, a cross-sectional view drawing apparatus of the present invention includes a Z buffer, az value included in pixel data output from a drawing processor, and a corresponding pixel. Of the z values written to the Z buffer before data processing, the size is compared with the z value corresponding to the x, y value included in the pixel data output from the drawing processor, and included in the pixel data. Z
It is determined whether or not the value is in front, and the z value written in the Z buffer is updated with the z value included in the pixel data, provided that the z value included in the pixel data is in front. Z buffer algorithm processing means, a sectioning buffer that holds a Z value that defines a section, a z value included in pixel data output from the drawing processor, and a section that is written in advance in the sectioning buffer. Of z values, z corresponding to x, y values included in pixel data output from the drawing processor
The z value included in the pixel data is forwarded by the comparison logical operation processing means for comparing the magnitude with the value to determine whether or not the z value included in the pixel data is on the back side. To the drawing memory in response to the comparison result signal indicating that the z value included in the pixel data is on the back side is output from the comparison logic operation processing means. And a writing control means for permitting writing of pixel data.

但し、セクショニングバッファに予め書込まれている、
断面を規定するz値としては、自由曲面を規定するz値
であってもよい。
However, it is written in the sectioning buffer in advance,
The z value that defines the cross section may be a z value that defines a free-form surface.

<作用> 以上の構成の断面図描画装置であれば、描画すべきピク
セルデータを描画プロセッサから描画メモリに伝送し、
描画メモリの内容に基いてディスプレイ上に3次元図形
を表示する場合において、描画プロセッサから出力され
るピクセルデータに含まれるz値と、該当するピクセル
データの処理以前にZバッファに書込まれているz値の
うち、描画プロセッサから出力されるピクセルデータに
含まれるx,y値に対応するz値との大小のZバッファア
ルゴリズム処理手段により比較して、ピクセルデータに
含まれるz値が手前にあるか否かを判別するとともに、
ピクセルデータに含まれるz値が手前にあることを条件
として上記Zバッファに書込まれているz値を上記ピク
セルデータに含まれるz値で更新する。また、描画プロ
セッサから出力されるピクセルデータに含まれるz値
と、セクショニングバッファに予め書込まれている、断
面を規定するz値のうち、描画プロセッサから出力され
るピクセルデータに含まれるx,y値に対応するz値との
大小を比較論理演算処理手段により比較して、ピクセル
データに含まれるz値が奥側にあるか否かを判別する。
そして、Zバッファアルゴリズム処理手段から上記ピク
セルデータに含まれるz値が手前にあることを示す判別
結果信号が出力され、比較論理演算処理手段から上記ピ
クセルデータに含まれるz値が奥側にあることを示す比
較結果信号が出力されたことに応答して書込み制御手段
により描画メモリへのピクセルデータの書込みを許可す
る。したがって、描画プロセッサから描画メモリへのピ
クセルデータの書込みを行なうことができる。
<Operation> In the case of the cross-section drawing apparatus having the above configuration, the pixel data to be drawn is transmitted from the drawing processor to the drawing memory,
When displaying a three-dimensional figure on the display based on the contents of the drawing memory, the z value included in the pixel data output from the drawing processor and the z value written in the Z buffer before the corresponding pixel data is processed. Of the z values, the z value corresponding to the x and y values included in the pixel data output from the drawing processor is compared by the Z buffer algorithm processing means of the size, and the z value included in the pixel data is in front. Whether to determine whether or not
The z value written in the Z buffer is updated with the z value included in the pixel data on condition that the z value included in the pixel data is in front. Further, among the z value included in the pixel data output from the drawing processor and the z value that is written in the sectioning buffer in advance and defines the cross section, x, y included in the pixel data output from the drawing processor. The magnitude of the z value corresponding to the value is compared by the comparison logical operation processing means to determine whether or not the z value included in the pixel data is on the back side.
Then, the Z-buffer algorithm processing means outputs a discrimination result signal indicating that the z value included in the pixel data is in front, and the comparison logical operation processing means outputs the z value included in the pixel data in the back side. In response to the output of the comparison result signal indicating, the writing control unit permits writing of the pixel data in the drawing memory. Therefore, it is possible to write the pixel data from the drawing processor to the drawing memory.

即ち、Zバッファアルゴリズム処理手段において、Zバ
ッファに書込まれているz値よりも手前側に位置すると
判別され、かつ比較論理演算手段において、予めセクシ
ョニングバッファに書込まれている、断面を規定するz
値よりも奥側に位置すると判別されたピクセルデータの
みを描画メモリに書込むことができ、描画メモリの内容
に基づいてディスプレイ上に3次元図形を表示するだけ
で、隠面処理が施されたある程度の精度の断面図を表示
することができる。
That is, the Z-buffer algorithm processing means defines a section which is determined to be located on the front side of the z-value written in the Z-buffer and which is previously written in the sectioning buffer by the comparison logical operation means. z
Only the pixel data determined to be located deeper than the value can be written in the drawing memory, and the hidden surface treatment is performed only by displaying the three-dimensional figure on the display based on the contents of the drawing memory. It is possible to display a sectional view with a certain degree of accuracy.

また、セクショニングバッファに予め書込まれている、
断面を規定するz値が、自由曲面を規定するz値である
場合にも、比較論理演算処理手段によって比較論理演算
を行なうことにより比較結果信号を生成することがで
き、描画メモリに断面図に対応するピクセルデータのみ
が格納される。
It is also pre-written in the sectioning buffer,
Even when the z value defining the cross section is the z value defining the free-form surface, the comparison result signal can be generated by performing the comparison logic operation by the comparison logic operation processing means, and the comparison result signal can be displayed in the drawing memory. Only the corresponding pixel data is stored.

<実施例> 以下、実施例を示す添付図面によって詳細に説明する。<Example> Hereinafter, detailed description will be given with reference to the accompanying drawings illustrating an example.

第1図はこの発明の断面図表示装置を含むグラフィック
ディスプレイ装置の一実施例を示すブロック図であり、
図示しないホストコンピュータから座標データが供給さ
れる座標変換プロセッサ(1)と、座標変換プロセッサ
(1)により変換が施されたデバイス座標データが供給
されるクリッププロセッサ(2)と、クリッププロセッ
サ(2)によりクリッピングが施されたプリミティブデ
ータが供給される描画プロセッサ(3)と、描画プロセ
ッサ(3)から出力されるピクセルデータが供給される
描画メモリ(4)と、描画プロセッサ(3)から出力さ
れるピクセルデータが供給されることにより、ピクセル
データに含まれるz値と、既にZバッファに格納されて
いるz値とに基づいてZバッファアルゴリズムに基づく
処理を行なって、ピクセルデータに含まれるz値が手前
側であることに応答して描画メモリ(4)に対する書込
み許可信号を出力するとともに、ピクセルデータに含ま
れるz値が手前にあることを条件として上記Zバッファ
に書込まれているz値を上記ピクセルデータに含まれる
z値で更新するZバッファアルゴリズム処理部(5)
と、描画プロセッサ(3)から出力されるピクセルデー
タが供給されることにより、ピクセルデータに含まれる
z値と、予め設定されている、断面を規定するz値との
大小を比較して、ピクセルデータに含まれるz値が奥側
であることに応答して描画メモリ(4)に対する書込み
許可信号を出力する比較論理演算処理部(6)と、描画
メモリ(4)に格納されているピクセルデータに基いて
可視的表示を行なわせるモニタ(7)とを具備してい
る。そして、上記Zバッファアルゴリズム処理部(5)
から出力される書込み許可信号、および上記比較論理演
算処理部(6)から出力される書込み許可信号が、AND
ゲート(8)を介して上記描画メモリ(4)の制御端子
に供給されている。
FIG. 1 is a block diagram showing an embodiment of a graphic display device including a sectional view display device of the present invention.
A coordinate conversion processor (1) to which coordinate data is supplied from a host computer (not shown), a clip processor (2) to which device coordinate data converted by the coordinate conversion processor (1) is supplied, and a clip processor (2) The drawing processor (3) to which the primitive data clipped by is supplied, the drawing memory (4) to which the pixel data output from the drawing processor (3) is supplied, and the drawing processor (3) are output. By supplying the pixel data, a process based on the Z buffer algorithm is performed based on the z value included in the pixel data and the z value already stored in the Z buffer, and the z value included in the pixel data is calculated. Outputs a write enable signal to the drawing memory (4) in response to being on the front side Rutotomoni, Z-buffer algorithm processor for updating the z value z values contained in the pixel data is written to the Z buffer on condition that in front with z values contained in the pixel data (5)
And the pixel data output from the drawing processor (3) are supplied to compare the z value included in the pixel data with the preset z value that defines the cross section, A comparison logic operation processing unit (6) that outputs a write enable signal to the drawing memory (4) in response to the z value included in the data being on the back side, and pixel data stored in the drawing memory (4). And a monitor (7) for making a visual display based on the above. Then, the Z buffer algorithm processing unit (5)
AND the write enable signal output from the comparison logic operation processing unit (6)
It is supplied to the control terminal of the drawing memory (4) through the gate (8).

上記の構成のグラフィックディスプレイ装置の動作は次
のとおりである。
The operation of the graphic display device having the above configuration is as follows.

図示しないホストコンピュータから供給された座標デー
タは、座標変換プロセッサ(1)によりデバイス座標デ
ータに変換された後、クリッププロセッサ(2)に供給
されることにより、ユーザが指定した領域の外にあるプ
リミティブデータを排除、またはクリップし、描画プロ
セッサ(3)に供給する。そして、描画プロセッサ
(3)においては、上記指定領域内にあるプリミティブ
データの各点をx,y,zの各方向に補間しながらZバッフ
ァアルゴリズム処理部(5)、または比較論理演算処理
部(6)に(x,y,z)データを供給するとともに、描画
メモリ(4)に(x,y)データを供給する。
The coordinate data supplied from a host computer (not shown) is converted into device coordinate data by the coordinate conversion processor (1) and then supplied to the clip processor (2), so that the primitive outside the area designated by the user. The data is eliminated or clipped and supplied to the drawing processor (3). Then, in the drawing processor (3), the Z buffer algorithm processing unit (5) or the comparison logical operation processing unit (5) while interpolating each point of the primitive data in the designated area in each direction of x, y, z 6) is supplied with (x, y, z) data, and the drawing memory (4) is supplied with (x, y) data.

上記Zバッファアルゴリズム処理部(5)においては、
(x,y)データ毎のZ値がZバッファに記憶されている
のであるから、ピクセルデータ(x,y,z1)と現在Zバッ
ファに記憶している(x,y,z0)とを比較し、0≦z1≦z0
の状態であれば、(x,y,z1)を表示させるべく書込み許
可信号を出力し、z1を新たなz0としてZバッファにセッ
トする。逆に、z0<z1の場合には、書込み許可信号を出
力しない。したがって、Zバッファアルゴリズム処理部
(5)を使用してz0値を順次更新してゆくことにより、
隠面処理を行なうことができる。
In the Z buffer algorithm processing section (5),
Since the Z value for each (x, y) data is stored in the Z buffer, the pixel data (x, y, z1) is compared with (x, y, z0) currently stored in the Z buffer. , 0 ≦ z1 ≦ z0
In the state of, the write enable signal is output to display (x, y, z1), and z1 is set in the Z buffer as a new z0. Conversely, when z0 <z1, the write enable signal is not output. Therefore, by sequentially updating the z0 value using the Z buffer algorithm processing unit (5),
Hidden surface treatment can be performed.

また、上記比較論理演算処理部(6)においては、予め
セクショニングバッファに断面を規定する断面データ
(x,y,z0)が記憶されているのであるから、ピクセルデ
ータ(x,y,z1)と断面データ(x,y,z0)とを比較し、0
≦z0≦z1の状態であれば、(x,y,z1)を表示させるべく
書込み許可信号を出力し、逆に、z1<z0の場合には、書
込み許可信号を出力しない。したがって、比較論理演算
処理部(6)を使用して断面処理を行なうことができ
る。
Further, in the comparison logical operation processing section (6), since the section data (x, y, z0) defining the section is stored in advance in the sectioning buffer, the pixel data (x, y, z1) is stored. Compare with cross-section data (x, y, z0) and
In the case of ≤z0≤z1, the write enable signal is output to display (x, y, z1), and conversely, in the case of z1 <z0, the write enable signal is not output. Therefore, the cross-section processing can be performed using the comparison logical operation processing unit (6).

そして、上記Zバッファアルゴリズム処理部(5)から
出力される書込み許可信号、および比較論理演算処理部
(6)から出力される書込み許可信号が共に出力された
場合にのみANDゲート(8)から書込み許可信号が描画
メモリ(4)に供給されるので、描画プロセッサ(3)
から出力されるピクセルデータが描画メモリ(4)に書
込まれる。
The AND gate (8) writes only when the write enable signal output from the Z buffer algorithm processing unit (5) and the write enable signal output from the comparison logic operation processing unit (6) are both output. Since the permission signal is supplied to the drawing memory (4), the drawing processor (3)
The pixel data output from is written in the drawing memory (4).

その後は、描画メモリ(4)に格納されたピクセルデー
タをモニタ(7)に供給することにより、隠面処理、お
よびある程度の精度の断面処理が施された断面図を表示
することができる。
After that, by supplying the pixel data stored in the drawing memory (4) to the monitor (7), it is possible to display a cross-sectional view which has been subjected to the hidden surface treatment and the cross-section treatment with a certain degree of accuracy.

尚、上記セクションニングバッファに予め記憶されてい
る断面データとしては、必ずしも単一の平面データに限
定されるものではなく、任意の自由曲面であってもよ
く、しかも、断面データの如何に拘わらず、同一の比較
論理演算を行なうのみでよいから、断面処理を簡単に行
なうことができる。即ち、従来の断面処理においては、
クリッププロセッサによりクリッピング処理を行なう必
要があるので、z値が一定の単一平面の場合には処理を
簡単に行なうことができるのであるが、自由曲面等であ
る場合には著しく処理が複雑化するのと比較して、大幅
に処理を簡素化することができ、しかも自由度が著しく
高い断面処理を行なうことができるという利点を有する
ことになる。
The cross-section data stored in advance in the sectioning buffer is not limited to single plane data, and may be any free-form surface, and regardless of the cross-section data. Since it is only necessary to perform the same comparison logic operation, cross-section processing can be easily performed. That is, in the conventional cross-section processing,
Since the clipping process needs to be performed by the clip processor, the process can be easily performed in the case of a single plane where the z value is constant, but the process becomes significantly complicated in the case of a free-form surface or the like. Compared with the above, there is an advantage that the processing can be greatly simplified and the cross-section processing having a significantly high degree of freedom can be performed.

また、描画プロセスと並行して断面処理を行なうことが
できるので、クリッピングされたデータをクリッププロ
セッサにフィードバックさせる処理を全く不要にするこ
とができるとともに、全てのピクセルデータのz値が正
であると判っている場合には、断面処理と隠面処理をz
方向のクリッピングに転用することにより、クリッププ
ロセッサの負荷をx方向、およびy方向のみに軽減する
ことができる。
Further, since the cross-section processing can be performed in parallel with the drawing process, it is possible to completely eliminate the processing of feeding back the clipped data to the clip processor, and the z values of all pixel data are positive. If you know, z and
By diversion to direction clipping, the load on the clip processor can be reduced only in the x and y directions.

<発明の効果> 以上のようにこの発明は、セクショニングバッファを用
いて簡単な比較論理演算を行なうのみである程度の精度
の断面処理が可能となり、システム構成を簡素化するこ
とができるとともに、多種多様の切断面に基くある程度
の精度の断面表示を簡単に行なうことができるという特
有の効果を奏する。
<Effects of the Invention> As described above, according to the present invention, cross-section processing with a certain degree of accuracy is possible only by performing a simple comparison logical operation using a sectioning buffer, and the system configuration can be simplified and various The unique effect that the cross-section display with a certain degree of accuracy based on the cut surface can be easily performed.

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

第1図はこの発明の断面図描画装置の一実施例を示すブ
ロック図、 第2図は従来例を示すブロック図。 (3)……描画プロセッサ、(4)……描画メモリ、 (5)……Zバッファアルゴリズム処理部、(6)……
比較論理演算処理部、 (8)……ANDゲート
FIG. 1 is a block diagram showing an embodiment of a sectional view drawing apparatus of the present invention, and FIG. 2 is a block diagram showing a conventional example. (3) …… Drawing processor, (4) …… Drawing memory, (5) …… Z buffer algorithm processing section, (6) ……
Comparison logic operation processing unit, (8) ... AND gate

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】描画すべきピクセルデータを描画プロセッ
サから描画メモリに伝送し、描画メモリの内容に基いて
ディスプレイ上に3次元図形を表示する3次元グラフィ
ックディスプレイ装置において、 Zバッファと、 描画プロセッサから出力されるピクセルデータに含まれ
るz値と、該当するピクセルデータの処理以前にZバッ
ファに書込まれているz値のうち、描画プロセッサから
出力されるピクセルデータに含まれるx,y値に対応する
z値との大小を比較して、ピクセルデータに含まれるz
値が手前にあるか否かを判別するとともに、ピクセルデ
ータに含まれるz値が手前にあることを条件として上記
Zバッファに書込まれているz値を上記ピクセルデータ
に含まれるz値で更新するZバッファアルゴリズム処理
手段と、 断面を規定するZ値を保持するセクショニングバッファ
と、 描画プロセッサから出力されるピクセルデータに含まれ
るz値と、セクショニングバッファに予め書込まれてい
る、断面を規定するz値のうち、描画プロセッサから出
力されるピクセルデータに含まれるx,y値に対応するz
値との大小を比較して、ピクセルデータに含まれるz値
が奥側にあるか否かを判定する比較論理演算処理手段
と、 Zバッファアルゴリズム処理手段から上記ピクセルデー
タに含まれるz値が手前にあることを示す判別結果信号
が出力され、比較論理演算処理手段から上記ピクセルデ
ータに含まれるz値が奥側にあることを示す比較結果信
号が出力されたことに応答して描画メモリへのピクセル
データの書込みを許可する書込み制御手段と を有することを特徴とする図形描画装置。
1. A three-dimensional graphic display device for transmitting pixel data to be drawn from a drawing processor to a drawing memory and displaying a three-dimensional figure on a display based on the contents of the drawing memory. Corresponds to the z value included in the output pixel data and the x and y values included in the pixel data output from the drawing processor, of the z values written to the Z buffer before the processing of the corresponding pixel data. Z value included in the pixel data
It is determined whether or not the value is in front, and the z value written in the Z buffer is updated with the z value included in the pixel data, provided that the z value included in the pixel data is in front. Z buffer algorithm processing means, a sectioning buffer that holds a Z value that defines a section, a z value included in pixel data output from the drawing processor, and a section that is written in advance in the sectioning buffer. Of z values, z corresponding to x, y values included in pixel data output from the drawing processor
The z value included in the pixel data is forwarded by the comparison logical operation processing means for comparing the magnitude with the value to determine whether or not the z value included in the pixel data is on the back side. To the drawing memory in response to the comparison result signal indicating that the z value included in the pixel data is on the back side is output from the comparison logic operation processing means. And a writing control unit for permitting writing of pixel data.
【請求項2】セクショニングバッファに予め書込まれて
いる、断面を規定するz値が、自由曲面を規定するz値
である上記特許請求の範囲第1項記載の断面図描画装
置。
2. The cross sectional drawing drawing apparatus according to claim 1, wherein the z value preliminarily written in the sectioning buffer and defining the cross section is the z value defining the free-form surface.
JP22514586A 1986-09-24 1986-09-24 Cross-section drawing device Expired - Fee Related JPH0740310B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22514586A JPH0740310B2 (en) 1986-09-24 1986-09-24 Cross-section drawing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22514586A JPH0740310B2 (en) 1986-09-24 1986-09-24 Cross-section drawing device

Publications (2)

Publication Number Publication Date
JPS6380377A JPS6380377A (en) 1988-04-11
JPH0740310B2 true JPH0740310B2 (en) 1995-05-01

Family

ID=16824652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22514586A Expired - Fee Related JPH0740310B2 (en) 1986-09-24 1986-09-24 Cross-section drawing device

Country Status (1)

Country Link
JP (1) JPH0740310B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03269687A (en) * 1990-03-19 1991-12-02 Nec Corp Sectioning system by multi z buffer
US8881582B2 (en) 2005-01-31 2014-11-11 Waters Technologies Corporation Method and apparatus for sample injection in liquid chromatography

Also Published As

Publication number Publication date
JPS6380377A (en) 1988-04-11

Similar Documents

Publication Publication Date Title
US5734806A (en) Method and apparatus for determining graphical object visibility
US4679041A (en) High speed Z-buffer with dynamic random access memory
US4475104A (en) Three-dimensional display system
US7292242B1 (en) Clipping with addition of vertices to existing primitives
CA1264879C (en) Data transformation and clipping in a graphics display system
US4970499A (en) Apparatus and method for performing depth buffering in a three dimensional display
US20030011621A1 (en) Method and apparatus for performing a perspective projection in a graphics device of a computer graphics display system
JPH0740310B2 (en) Cross-section drawing device
US6831660B1 (en) Method and apparatus for graphics window clipping management in a data processing system
JPH0778266A (en) Image processor
US6628281B1 (en) Method and system for computing the intersection of a bounding volume and screen-aligned plane
US6429866B1 (en) Three-dimensional graphics drawing apparatus calculating tone of pixel based on tones of pixels at prescribed intervals, method thereof and medium recorded with program therefor
JP2668867B2 (en) Cross-section drawing device
US5946003A (en) Method and apparatus for increasing object read-back performance in a rasterizer machine
JPH0567219A (en) Three-dimensional graphic hidden-surface elimination processing system
JP2545886B2 (en) Graphic data management device
JPH03252885A (en) Section displaying system
JPS62100878A (en) Hidden face processor
JPH0346826B2 (en)
JPS61187083A (en) Storage device of picture element information
JP2001092992A (en) Three-dimensional shape processing method and recording medium recording program for executing the same
JPH064681A (en) Plotting processing method for three-dimensional curve surface
JP2783090B2 (en) Drawing method
JPH02189693A (en) Three-dimensional display device
JPH0644385A (en) Z buffer control circuit

Legal Events

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