JPH03100885A - Three-dimensional graphic display device - Google Patents

Three-dimensional graphic display device

Info

Publication number
JPH03100885A
JPH03100885A JP23716789A JP23716789A JPH03100885A JP H03100885 A JPH03100885 A JP H03100885A JP 23716789 A JP23716789 A JP 23716789A JP 23716789 A JP23716789 A JP 23716789A JP H03100885 A JPH03100885 A JP H03100885A
Authority
JP
Japan
Prior art keywords
section
clipping
coordinate system
data
display device
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
JP23716789A
Other languages
Japanese (ja)
Inventor
Toshiya Mitoi
美問 俊哉
Hiromichi Iwase
岩瀬 洋道
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP23716789A priority Critical patent/JPH03100885A/en
Publication of JPH03100885A publication Critical patent/JPH03100885A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE:To accelerate the display processing of a three-dimensional graphic by cutting data in the unrequired part of a graphic displayed on a plotting part at early stages by arranging a clipping part prior to a visual field conversion part. CONSTITUTION:The clipping part 3 of an image processing part 20 is equipped with a clipping boundary plane reverse conversion part 32 to perform the reverse conversion of each clipping boundary plane which forms the boundary of an area set in the coordinate system of a display plane to a fundamental coordinate system, and a cutting part 33 to cut the graphic when it protrudes from each reverse-converted clipping boundary plane, and also, it is arranged prior to the visual field conversion part 5. Thereby, a wasteful processing in a three- dimensional graphic display device which displays the three-dimensional graphic in CG or CAD, etc., can be eliminated, which attains the acceleration of the display processing.

Description

【発明の詳細な説明】 (概要) 三次元図形表示装置に係り、特にCGやCADなどで三
次元図形を表示する三次元図形表示装置の処理速度の改
良に関し、 無駄な処理を排除し、表示処理の高速化を達成すること
を目的とし、 表示手段に表示すべき図形データを基本座標系に基づい
て保存しているデータ格納部と、このデータ格納部に保
存された図形データを表示手段の表示面に表示すべき図
形の仮想視点及び視野データに基づき表示面座標系に変
換する視野変換処理部及び表示すべき画像データ以外の
画像データを刈り取るクリップ部とを含む画像処理部と
、画像処理部が処理した画像データを表示手段に表゛示
させる描画部とを有する三次元画像表示装置において、
上記画像処理部のクリップ部は表示面の座標系において
設定される領域の境界を形成する各クリップ境界平面を
基本座標系に逆変換するクリップ境界平面逆変換部と、
逆変換された各クリップ境界平面に対して図形がはみで
る場合これを刈り取る刈り込部とを備えると共に、上記
視野変換部に先行して配置して構成する。
[Detailed Description of the Invention] (Summary) This invention relates to a three-dimensional figure display device, and in particular, to improving the processing speed of a three-dimensional figure display device that displays three-dimensional figures using CG, CAD, etc., by eliminating unnecessary processing and displaying. In order to achieve high-speed processing, there is a data storage section that stores the graphic data to be displayed on the display means based on the basic coordinate system, and a data storage section that stores the graphic data to be displayed on the display means. an image processing unit including a visual field conversion processing unit that converts a figure to be displayed on a display screen into a display surface coordinate system based on a virtual viewpoint and visual field data; and a clip unit that clips image data other than the image data to be displayed; A three-dimensional image display device comprising: a drawing section for displaying image data processed by the section on a display means;
The clip unit of the image processing unit includes a clip boundary plane inverse transformation unit that inversely transforms each clip boundary plane forming the boundary of the area set in the coordinate system of the display surface to the basic coordinate system;
The present invention includes a pruning section that cuts off any graphics that protrude from each of the inversely transformed clip boundary planes, and is arranged prior to the visual field conversion section.

(産業上の利用分野) 本発明は三次元図形表示装置に係り、特にCG(Com
puter  Graphics)やCAD(Comp
uter  Aided  De−s i gn)など
で三次元図形を表示する三次元図形表示装置の処理速度
の改良に関するものである。
(Industrial Application Field) The present invention relates to a three-dimensional graphic display device, and particularly to a CG (Com
Puter Graphics) and CAD (Comp
The present invention relates to an improvement in the processing speed of a three-dimensional figure display device that displays three-dimensional figures, such as by using ``Uter Aided Design''.

(従来の技術) 図形表示装置において図形を表示する際には、表示画面
が有限であるため、表示画面からはみ出る部分を刈り取
る作業を施す。
(Prior Art) When displaying a figure on a figure display device, since the display screen is limited, the portions that protrude from the display screen are cropped.

このため、通常図形表示装置では図形のある領域外の部
分を刈り取り、新たな図形を生成する作業としてクリッ
ピングという処理がなされている。このクリッピング処
理によって第6図(a)の図形aや図形すを境界Cに従
って刈り取り、第6図(b)の図形a* 、btを出力
することができる。
For this reason, in normal graphic display devices, a process called clipping is performed to generate a new graphic by cutting off a portion of the graphic outside of a certain area. By this clipping process, the figures a and s in FIG. 6(a) can be clipped according to the boundary C, and the figures a* and bt in FIG. 6(b) can be output.

図形をクリッピングするアルゴリズムは、既に対象図形
ごとに開発されている。クリッピング処理を行なう領域
は一般に境界が平面から構成される凸領域であり、普通
は各平面が座標軸に垂直な直方体が用いられる。
Algorithms for clipping figures have already been developed for each target figure. The region to be clipped is generally a convex region whose boundaries are composed of planes, and usually a rectangular parallelepiped is used, each plane of which is perpendicular to the coordinate axis.

従来一般的に用いられている図形表示装置の構成を第5
図に示す、  (ISO、”Informaition
 pro−cessing systems −Com
puter graphics −Pro−gramm
er”s Hierachical Interact
ive GraphicsSystem −(PHIG
S) −、”Dis 9592−1参照)この例によれ
ば、図形表示装置は、データ管理部lO、モデリング変
換部11.色計算部12、視野変換部13、クリップ部
14、及び描画部15から構成される。
The configuration of a graphic display device commonly used in the past is described in the fifth section.
As shown in the figure, (ISO, “Information
processing systems-Com
puter graphics -Pro-gram
er”s Hierarchical Interact
ive Graphics System - (PHIG
According to this example, the graphic display device includes a data management unit IO, a modeling conversion unit 11, a color calculation unit 12, a visual field conversion unit 13, a clip unit 14, and a drawing unit 15. It consists of

ここで、データ管理部10は表示すべき物体を表現する
図形の形状データを保存・管理する部分であり、クリッ
ピング処理用の境界情報もここで管理される。通常、物
体は形状定義の容易さやメモリ量の節約などのために、
構成する部品ごとにそれぞれ独自のモデリング座標系(
MC)で定義し、組立時にそれらを参照する方法がとら
れる。
Here, the data management section 10 is a section that stores and manages shape data of figures representing objects to be displayed, and boundary information for clipping processing is also managed here. Usually, objects are
Each component has its own modeling coordinate system (
MC) and refer to them during assembly.

モデリング変換部11は、データ管理部10に保存され
る図形データを共通の世界座標系(WC)に変換する部
分である。図形データはそれぞれ独自のMCで定義され
ているため、WCに変換するためのモデリング変換行列
もそれぞれ独自の行列を使用する。なお、面の色を決定
するための光源や視点の情報もこのWCで定義されてい
る。
The modeling conversion section 11 is a section that converts graphic data stored in the data management section 10 into a common world coordinate system (WC). Since each graphic data is defined by its own MC, each model uses its own modeling conversion matrix for converting to WC. Note that information on the light source and viewpoint for determining the color of the surface is also defined in this WC.

色計算部12は、WCに変換された図形の色を光源と視
点の情報をもとに計算する部分である。
The color calculation unit 12 is a part that calculates the color of the figure converted into WC based on information about the light source and viewpoint.

視野変換部13は、色が計算された図形の座標を、仮想
的な視点もしくはカメラの位置や視点のデータをもとに
、WCから表示面に平行な座標系である正規化投影座標
系(NPC)に変換する部分である。
The visual field conversion unit 13 converts the coordinates of the figure whose color has been calculated into a normalized projected coordinate system (which is a coordinate system parallel to the display surface) from the WC based on the virtual viewpoint or the data of the camera position and viewpoint. This is the part that converts to NPC).

クリップ部14は、予め設定しである表示領域からはみ
出た部分を刈り取る部分である。領域は凸なので、各境
界の平面に対するクリッピングを順次行なうことによっ
て領域に対するクリッピングが完了する。
The clip section 14 is a section that cuts off a portion that protrudes from a preset display area. Since the region is convex, clipping for the region is completed by sequentially performing clipping for each boundary plane.

描画部15は、クリッピング後の図形を表示手段(図示
していない)の表示面に投影し、表示する。
The drawing unit 15 projects the clipped figure onto the display surface of a display means (not shown) and displays it.

このように、従来一般的に用いられている図形表示装置
では、データ管理部10で保存・管理される図形のデー
タを、モデリング変換部11でモデリング座標系から世
界座標系に変換し、その図形の色を色計算部12で計算
した後に視野変換部13において世界座標系から正規化
投影座標系に変換する。その後、表示領域からはみ出る
部分なクリップ部14で刈り取り、描画部15によって
表示面に表示するようになっている。
In this manner, in conventionally commonly used graphic display devices, the data of figures stored and managed in the data management section 10 is converted from the modeling coordinate system to the world coordinate system in the modeling conversion section 11, and the figure data is converted from the modeling coordinate system to the world coordinate system. After the color calculation unit 12 calculates the color, the visual field conversion unit 13 converts the world coordinate system to the normalized projected coordinate system. Thereafter, the portion protruding from the display area is clipped by the clip section 14 and displayed on the display screen by the drawing section 15.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、このような図形表示装置では、データ管理部で
保存・管理された図形のデータの全てが、クリップ部ま
での間の変換、計算処理対象となり、クリップ部で刈り
取られてはじめて表示に必要な部分のみを処理するよう
になる。従って、クリッピング処理で刈り取られてしま
う部分のデータにも色計算、視野変換という処理がなさ
れ、処理時間の長時間化の原因となっていた。
However, in such graphic display devices, all of the graphic data stored and managed in the data management section is subject to conversion and calculation processing up to the clipping section, and it is not necessary for display until it is harvested at the clipping section. Only parts will be processed. Therefore, processing such as color calculation and visual field conversion is also performed on the data that would be cropped in the clipping process, which causes an increase in processing time.

本発明は、上述した無駄な処理を排除し、表示処理の高
速化を達成することを目的とする。
An object of the present invention is to eliminate the above-mentioned wasteful processing and achieve high-speed display processing.

(課題を解決するための手段) 本発明において上記の課題を解決するための手段は、第
1図に示すように、三次元図形表示装置において、表示
手段に表示すべき図形データを基本座標系に基づいて保
存しているデータ格納部21と、このデータ格納部21
に保存された図形データを表示手段の表示面に表示すべ
き図形の仮想視点及び視野データに基づき表示面座標系
に変換する視野変換処理部5及び表示すべき画像データ
以外の画像データを刈り取るクリップ部3とを含む画像
処理部20と、画像処理部20が処理した画像データを
表示手段に表示させる描画部6とを有する三次元画像表
示装置において、上記画像処理部のクリップ部3は表示
面の座標系において設定される領域の境界を形成する各
クリップ境界平面を基本座標系に逆変換するクリップ境
界平面逆変換部32と、逆変換された各クリップ境界平
面に対して図形かはみでる場合これを刈り取る刈り込み
部33とを備えると共に1.上記視野変換部5に先行し
て配置したことである。
(Means for Solving the Problems) Means for solving the above problems in the present invention are as shown in FIG. The data storage unit 21 that stores data based on the data storage unit 21
A visual field conversion processing unit 5 converts the graphic data stored in the display device into a display surface coordinate system based on the virtual viewpoint and visual field data of the graphic to be displayed on the display surface of the display means, and a clip that clips image data other than the image data to be displayed. In the three-dimensional image display device, the clipping section 3 of the image processing section has an image processing section 20 that includes an image processing section 3, and a drawing section 6 that displays the image data processed by the image processing section 20 on a display means. A clip boundary plane inverse transformation unit 32 that inversely transforms each clip boundary plane forming the boundary of an area set in the coordinate system to the basic coordinate system; and a pruning section 33 for reaping.1. This is because it is arranged prior to the visual field converting section 5 described above.

(作用) 本発明においては、視野変換部において先行してクリッ
プ部が配置されているので、描画部において表示される
図形の不必要な部分のデータな早い段階て刈り取ること
ができる。
(Function) In the present invention, since the clipping section is arranged in advance of the visual field conversion section, data of unnecessary portions of the figure displayed in the drawing section can be clipped at an early stage.

そのため、処理に時間がかかる視野変換を必要最小限の
データに対してのみ行ない、三次元図形の表示処理を高
速に行なうことができる。
Therefore, visual field conversion, which takes time to process, is performed only on the minimum necessary data, and three-dimensional figure display processing can be performed at high speed.

(実施例) 以下、添付図面に示す実施例に基づいて本発明の詳細な
説明する。
(Examples) Hereinafter, the present invention will be described in detail based on examples shown in the accompanying drawings.

第2図は本発明に係る三次元図形表示装置の一実施例を
示すブロック図である。本実施例においては、クリップ
部3を除いたデータ管理部11、モデリング変換部2、
色計算部4、視野変換部5及び描画部6は従来装置と同
じものを使用しており、新たなりリップ部3をモデリン
グ変換部2と色計算部4との間に配置して構成されてい
る。
FIG. 2 is a block diagram showing an embodiment of a three-dimensional graphic display device according to the present invention. In this embodiment, the data management section 11 excluding the clipping section 3, the modeling conversion section 2,
The color calculation section 4, visual field conversion section 5, and drawing section 6 are the same as those used in the conventional device, and a new lip section 3 is arranged between the modeling conversion section 2 and the color calculation section 4. There is.

ここでデータ管理部1とモデリング変換部2とは基本座
標系をWCとするデータ格納部として機能し、クリップ
部3、色計算部4及び視野変換部5は画像処理部として
機能する。
Here, the data management section 1 and the modeling conversion section 2 function as a data storage section whose basic coordinate system is WC, and the clip section 3, color calculation section 4, and visual field conversion section 5 function as an image processing section.

上述したクリップ部3の構成を第3図に示す。The configuration of the clip section 3 described above is shown in FIG. 3.

このクリップ部3は1.コマンド解釈部31と、クリッ
プ境界平面逆変換部32と、刈り込み部33とからなる
This clip part 3 is 1. It consists of a command interpretation section 31, a clip boundary plane inverse transformation section 32, and a pruning section 33.

ここで、コマンド解釈部31はモデリング変換部2から
流れてくるデータの先頭に付随しているコマンドヘッダ
を解析し、そのデータの種類を判断してクリッピング処
理に関連するものを識別する。クリッピング処理に関す
るデータとしては、視野変換行列、クリッピング境界値
及び図形データがあげられる・。
Here, the command interpreter 31 analyzes the command header attached to the beginning of the data flowing from the modeling converter 2, determines the type of data, and identifies those related to the clipping process. Data related to clipping processing include a visual field transformation matrix, clipping boundary values, and graphic data.

クリップ境界平面逆変換部32はNPCでの境界値とし
て定義されるクリッピング境界平面なWCに逆変換する
。この逆変換は以下のEE行なうことができる。
The clipping boundary plane inverse transformation unit 32 inversely transforms the WC into a clipping boundary plane WC defined as a boundary value in NPC. This inverse transformation can be performed as follows.

WCの点Pを座標変換してNPCの点P′とする変換式
は、 これをNPCの平面に変換する式は、 PY’、PZ’、PW’lはソレソれPとp’の同次座
標(Homogenious Coordinate)
表現である0通常座標[px*pyspzlと同次座標
との関係は、px=PX/PW    prPY/PW
     pz=PZ/PWとなっている。(1)X 
spy 19Z’lについても同様である。同次座標系
ではWの項にOでないどのような数値を掛けても同じ通
常の座標の点と対応するという性質がある。
The conversion formula to coordinate coordinate transform the point P of WC to the point P' of NPC is: The formula to convert this to the plane of NPC is: PY', PZ', PW'l are homogeneous of P and p' Homogeneous Coordinate
The relationship between the expression 0 normal coordinate [px*pyspzl and homogeneous coordinates is px=PX/PW prPY/PW
pz=PZ/PW. (1)X
The same applies to spy 19Z'l. In a homogeneous coordinate system, there is a property that even if the term W is multiplied by any numerical value other than O, it corresponds to a point with the same normal coordinates.

ここで、点[LLZ]を取り、ベクトル[a、b、c]
に垂直な平面の方程式、 ax+by+cz+dmO(2) を同次座標表現された点[x*y#Z#W]を用いて表
すると、 ax+by+cz+dwmO(3) となる。この平面がWCの平面であるとすると、(4) である。(James F、 B111nn、”A H
omogeneousFormulation for
 Lines in 3Space、”Compute
rGraphics、 Vol、11. No、2. 
pp、237−241. (1977)。
Here, take the point [LLZ] and create the vector [a, b, c]
When the equation of the plane perpendicular to , ax+by+cz+dmO(2), is expressed using the point [x*y#Z#W] expressed in homogeneous coordinates, it becomes ax+by+cz+dwmO(3). If this plane is the plane of WC, then (4). (James F, B111nn, “A H
omogeneous Formula for
Lines in 3Space,”Compute
rGraphics, Vol. 11. No, 2.
pp, 237-241. (1977).

参照) 変換後の平面の方程式は、 a” x” +b” y’ +d” w’ mO(5)
となる、(4)式を書き換えると、NPCの平面をWC
の平面に逆変換する式は、 (6) となる。
Reference) The equation of the plane after conversion is a” x” + b” y’ + d” w’ mO (5)
Rewriting equation (4), the plane of NPC is WC
The formula for inverse transformation to the plane of is (6).

従って、クリラッピング境界を構成する平面をNPCか
らWCに逆変換するには(6)式を用いればよい。
Therefore, equation (6) can be used to inversely transform the plane forming the clip-wrapping boundary from NPC to WC.

即ち、ある境界面についてクリップ領域の内部となる条
件式が、 a’x’+b″、e◆cIzI◆d″W°≧0であると
き、これを、 [a’ sb’ 、C”、dol で表す。対応するWCのクリップ境界平面は、ax+b
y+cz+dw≧0(7) をWCのクリップ境界平面に対する条件式とする。
That is, when the conditional expression for a certain boundary surface to be inside the clip area is a'x'+b'', e◆cIzI◆d''W°≧0, this can be expressed as [a'sb',C'', dol The clip boundary plane of the corresponding WC is ax+b
Let y+cz+dw≧0(7) be a conditional expression for the WC clip boundary plane.

よって、クリップ境界平面の一面がX°≧xminの時
、このパラメタは、 [a’ * b’ *c’ * d’ ]−[1eOm
O# −xmtnl     (8)で表示されるので
、対応するWCのクリップ平面は、 (9) で計算することができる。
Therefore, when one side of the clip boundary plane is X°≧xmin, this parameter is [a' * b' * c' * d' ] - [1eOm
O# −xmtnl (8), so the clipping plane of the corresponding WC can be calculated as (9).

刈り込み部33ではWCに変換されたクリッピング境界
平面のパラメタを用いて図形を刈り込む。この刈り込み
は、以下のようにして行なうことができる。
The pruning unit 33 pruns the figure using the parameters of the clipping boundary plane converted to WC. This pruning can be performed as follows.

通常、クリッピングの境界は座標軸に垂直な平面から構
成されるが、(9)式でWCへ逆変換した境界面は座標
軸に垂直とは限らない。従って、本発明においては任意
の平面に対するクリッピングを用いる必要がある。この
任虚籍平面に対するクリッピングは、通常の座標軸に垂
直な平面に対するクリッピングを拡張したものとなる。
Normally, a clipping boundary is composed of a plane perpendicular to the coordinate axes, but the boundary surface converted back to WC using equation (9) is not necessarily perpendicular to the coordinate axes. Therefore, in the present invention, it is necessary to use clipping on an arbitrary plane. Clipping on this arbitrary plane is an extension of clipping on a plane perpendicular to the normal coordinate axes.

通常のクリッピングは、 (a)図形の形状の定義に用いられる点、たとえば多角
形の頂点や線分の端点が領域内部か外部かを判定する部
分 (b)図形と境界面との交差部分を求める部分から構成
される。
Normal clipping consists of (a) determining whether a point used to define the shape of a figure, such as a vertex of a polygon or an end point of a line, is inside or outside the area; (b) determining the intersection of a figure and a boundary surface; It consists of the desired parts.

例えば、線分に対するクリッピングでは、(a)線分の
両端点について領域の内外を判定する部分 (b)判定より線分が境界と交わる場合にはその交点を
求める部分 となるが、この場合(b)はさらに、 (b−1)線分上での交点の内分比を求める(b−2)
その比に従って交点の座標を計算する。
For example, when clipping a line segment, (a) the part that determines whether or not the end points of the line are inside or outside the area; and (b) the part that determines the intersection point if the line segment intersects with the boundary, but in this case ( (b-1) Find the internal division ratio of the intersection on the line segment (b-2)
Calculate the coordinates of the intersection according to the ratio.

の2つに分離できる。(b−2)の部分は境界平面の向
きに依存しないので、本発明においても従来と変わらな
い。そこで(a)と(b−1)についてより詳細に説明
する。
It can be separated into two parts. Since the part (b-2) does not depend on the direction of the boundary plane, the present invention is also the same as the conventional one. Therefore, (a) and (b-1) will be explained in more detail.

(a)の線分の両端点Pi、P2に関する領域の内外判
定については、(7)のWCでのクリップ境界平面に対
する条件式の計算結果を用いて、Dmax+by+cz
+dw≧0 で表される判別式を計算し、Dの値の正負によって内外
判定を行なう。
Regarding the inside/outside determination of the area regarding both endpoints Pi and P2 of the line segment in (a), use the calculation result of the conditional expression for the clip boundary plane in WC in (7) to calculate Dmax+by+cz
A discriminant expressed as +dw≧0 is calculated, and an inside/outside determination is made based on the sign or negative of the value of D.

(b−1)の線分上での交点ptの内分比の計算につい
ては、上で計算した判別式りの値が境界平面からの距離
に比例することを用いて、 1 に雪 1−02 によって交点の比kを計算することができる。ここで、
DI、D2はそれぞれ線分の端点Pi、P2に対する判
別式の値である。
Regarding the calculation of the internal division ratio of the intersection point pt on the line segment in (b-1), using the fact that the value of the discriminant calculated above is proportional to the distance from the boundary plane, 1 to snow 1 - The intersection ratio k can be calculated by 02. here,
DI and D2 are the values of the discriminant for the end points Pi and P2 of the line segment, respectively.

このようにして交点ptの内分比が求められると、交点
ptの座標p t(x、y、z)は、Pt(x、y、z
)■(1−k)Pi(x、y、z)+kP2(x、y、
z)で計算することができる。
When the internal division ratio of the intersection point pt is obtained in this way, the coordinates p t (x, y, z) of the intersection point pt become Pt (x, y, z
) ■ (1-k) Pi (x, y, z) + kP2 (x, y,
z) can be calculated.

第4図にptとPi、P2の関係を示す。FIG. 4 shows the relationship between pt, Pi, and P2.

以上は線分の場合であるが、多角形などの他の図形に関
しても同様の方法が使用でき、任意の平面のクリッピン
グを実現することができる。
Although the above is a case of line segments, a similar method can be used for other figures such as polygons, and clipping of any plane can be realized.

更に、多角形などは各頂点に座標値以外のデータ、例え
ば、法線ベクトルのように色に関するデータが付加され
ている場合があるが、この場合にも交点でのデータを座
標値と同様に内分比より線形補間で計算すればよい。
Furthermore, for polygons, data other than coordinate values may be attached to each vertex, such as data related to color such as a normal vector. It can be calculated by linear interpolation from the internal division ratio.

なお、本実施例ではクリッピングをWCにおいて行なっ
ているが、このクリッピングはWCとは別の座標系にお
いて行なうことも可能である。
Note that although clipping is performed in the WC in this embodiment, it is also possible to perform the clipping in a coordinate system different from the WC.

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

第1図は本発明の原理図、第2図は本発明に係る三次元
図形表示装置の一実施例を示すブロック図、第3図はク
リップ部の具体的構成を示すブロック図、第4図は交点
と端点の関係を示す説明図、第5図は従来の三次元図形
表示装置の構成を示すブロック図、第6図(a)、(b
)はクリッピング処理の説明図である。 〔発明の効果〕 以上の毎く、本発明に係る三次元表示装置によれば、ク
リッピング処理を色計算、視野変換に先駆けて行なうこ
とが可能となるので、クリッピング処理によって刈り取
られてしまう図形の部分に対して色計算や視野変換とい
りた処理を行なう必要がなくなる。このため、処理量を
減少することができ、三次元表示をより高速に行なうこ
とが可能となる。 6・・・描画部 20・・・画像処理部 21・・・データ格納部 32・・・クリップ境界平面逆変換部 33・・・刈り込み部
Fig. 1 is a principle diagram of the present invention, Fig. 2 is a block diagram showing an embodiment of the three-dimensional graphic display device according to the invention, Fig. 3 is a block diagram showing the specific configuration of the clip section, and Fig. 4 5 is an explanatory diagram showing the relationship between intersection points and end points, FIG. 5 is a block diagram showing the configuration of a conventional three-dimensional graphic display device, and FIGS. 6(a) and (b)
) is an explanatory diagram of clipping processing. [Effects of the Invention] As described above, according to the three-dimensional display device of the present invention, it is possible to perform clipping processing prior to color calculation and visual field conversion, so that it is possible to perform clipping processing prior to color calculation and visual field conversion. There is no need to perform processing such as color calculation or visual field conversion on the part. Therefore, the amount of processing can be reduced, and three-dimensional display can be performed at higher speed. 6...Drawing section 20...Image processing section 21...Data storage section 32...Clip boundary plane inverse transformation section 33...Pruning section

Claims (1)

【特許請求の範囲】 表示手段に表示すべき図形データを基本座標系に基づい
て保存しているデータ格納部(21)と、 このデータ格納部(21)に保存された図形データを表
示手段の表示面に表示すべき図形の仮想視点及び視野デ
ータに基づき表示面座標系に変換する視野変換処理部(
5)及び表示すべき画像データ以外の画像データを刈り
取るクリップ部(3)とを含む画像処理部(20)と、 画像処理部(20)が処理した画像データを表示手段に
表示させる描画部(6)とを有する三次元画像表示装置
において、 上記画像処理部のクリップ部(3)は表示面の座標系に
おいて設定される領域の境界を形成する各クリップ境界
平面を基本座標系に逆変換するクリップ境界平面逆変換
部(32)と、 逆変換された各クリップ境界平面に対して図形がはみで
る場合これを刈り取る刈り込部(33)とを備えると共
に、 上記視野変換部(5)に先行して配置したことを特徴と
する三次元図形表示装置。
[Claims] A data storage section (21) that stores graphic data to be displayed on a display means based on a basic coordinate system; A visual field conversion processing unit that converts the figure to the display surface coordinate system based on the virtual viewpoint and visual field data of the figure to be displayed on the display surface (
5) and a clipping section (3) that clips image data other than the image data to be displayed; and a drawing section (20) that displays the image data processed by the image processing section (20) on a display means. 6) In the three-dimensional image display device, the clipping unit (3) of the image processing unit converts each clip boundary plane forming the boundary of the area set in the coordinate system of the display surface back to the basic coordinate system. It includes a clip boundary plane inverse conversion unit (32), a pruning unit (33) that cuts off the figure if it protrudes from each of the inversely converted clip boundary planes, and a pruning unit (33) which precedes the field of view conversion unit (5). A three-dimensional graphic display device characterized in that the three-dimensional graphic display device is arranged as follows.
JP23716789A 1989-09-14 1989-09-14 Three-dimensional graphic display device Pending JPH03100885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23716789A JPH03100885A (en) 1989-09-14 1989-09-14 Three-dimensional graphic display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23716789A JPH03100885A (en) 1989-09-14 1989-09-14 Three-dimensional graphic display device

Publications (1)

Publication Number Publication Date
JPH03100885A true JPH03100885A (en) 1991-04-25

Family

ID=17011373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23716789A Pending JPH03100885A (en) 1989-09-14 1989-09-14 Three-dimensional graphic display device

Country Status (1)

Country Link
JP (1) JPH03100885A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9081539B2 (en) 2012-05-14 2015-07-14 Calsonic Kansei Corporation Holding mechanism for display device and assembling method of the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9081539B2 (en) 2012-05-14 2015-07-14 Calsonic Kansei Corporation Holding mechanism for display device and assembling method of the same

Similar Documents

Publication Publication Date Title
US5808619A (en) Real-time rendering method of selectively performing bump mapping and phong shading processes and apparatus therefor
US5377313A (en) Computer graphics display method and system with shadow generation
Bishop et al. Fast phong shading
US5745666A (en) Resolution-independent method for displaying a three-dimensional model in two-dimensional display space
KR0156052B1 (en) Texture mapping method and apparatus
US5357599A (en) Method and apparatus for rendering polygons
EP2051533B1 (en) 3D image rendering apparatus and method
JPH0855239A (en) Method and apparatus for judgment of visibility of graphicalobject
JP3704734B2 (en) Texture mapping method and apparatus
Van Wijk Ray tracing objects defined by sweeping planar cubic splines
US6529194B1 (en) Rendering method and apparatus, game system, and computer readable program product storing program for calculating data relating to shadow of object in virtual space
CN109934893A (en) Display methods, device and the electronic equipment of solid arbitrary section
EP1190393B1 (en) Method and apparatus for rendering images
JPH03100885A (en) Three-dimensional graphic display device
Crocker Screen-area coherence for interactive scanline display algorithms
JP2000057372A (en) Image processor, image processing method and storage medium
KR930003811B1 (en) Apparatus for 3-dimension design and processing method therefor
JP2518712B2 (en) Method and apparatus for producing high quality rendering drawing in computer graphic
US6489958B1 (en) Method and device for graphic representation of an object defined by a plurality of triangles on a display surface
JPH05342368A (en) Method and device for generating three-dimensional picture
JP2668863B2 (en) Cross-section drawing device
KR100277546B1 (en) Computation Method Using Lookup Tables in Geometry for Surface Model Rendering
JPH11154244A (en) Image processor and method for processing image information
JPH04155592A (en) Parametric curved surface display device by glow shading
JPH0664621B2 (en) Image generation method