JPH0223479A - Picture display method - Google Patents

Picture display method

Info

Publication number
JPH0223479A
JPH0223479A JP17474588A JP17474588A JPH0223479A JP H0223479 A JPH0223479 A JP H0223479A JP 17474588 A JP17474588 A JP 17474588A JP 17474588 A JP17474588 A JP 17474588A JP H0223479 A JPH0223479 A JP H0223479A
Authority
JP
Japan
Prior art keywords
segment
macro
segments
polygon
information
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
JP17474588A
Other languages
Japanese (ja)
Inventor
Hirobumi Ishida
博文 石田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP17474588A priority Critical patent/JPH0223479A/en
Publication of JPH0223479A publication Critical patent/JPH0223479A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE:To decrease the number of times of the longitudinal decision of a segment and to make faster picture displaying by composing a macro segment of the segments, which are included in the same polyhedron in each scanning line and connected to it. CONSTITUTION:The shape information and connecting information of plural polygons constituting the polyhedron are inputted, the coordinate values and luminance of the intersection between a rim constituting the polygon and a scanning line plane are obtained, and segment information is prepared 1. Next, macro information is prepared 2 from the connecting information and segment information of the polygon, longitudinal decision 3 is executed for the all macro segments included in the same scanning line, a section to be displayed on a picture out of the macro segments is obtained, based on a decision result and the luminance of the both edge points of the segment, luminance calculation 4 of each picture element on a drawing is executed, the plural polyhedrons in the three-dimensional space are hidden-surface-erased, and they are displayed on a picture.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、空間中の複数の多面体を2次元画像として表
示するための画像表示方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an image display method for displaying a plurality of polyhedra in space as a two-dimensional image.

(従来の技術) コンピュータ・グラフィックス等で行われるように、複
数の多面体をスキャンライン毎に隠れ面消去して陰影づ
けられた2次元画像として画面上に表示する場合、まず
各多面体を構成する各多角形の頂点を画面における座標
系に変換する。そして、各頂点の画面上における列番地
Xと行番地yおよび奥行きの値2と輝度iとを求める。
(Prior art) When displaying a plurality of polyhedra on a screen as a shaded two-dimensional image by removing hidden surfaces for each scan line, as is done in computer graphics, first, each polyhedron is constructed. Convert the vertices of each polygon to the screen coordinate system. Then, the column address X, row address y, depth value 2, and brightness i on the screen of each vertex are determined.

通常、その座標変換は視点に基づく透視変換である。次
に、スキャンライン毎に多角形を構成する稜線との交わ
りを求め、セグメントを作成する。そして、スキャンラ
インアルゴリズムと呼ばれる方法により各セグメント間
で前後判定をして、各セグメントの画面に表示する区間
の輝度を求める。このスキャンラインアルゴリズムの詳
細は文献1:[コンピュータデイスプレィによる図形処
理工学」、山口富士夫著、日刊工業新聞社、第5章隠れ
面消去問題、に記載されている。
Typically, the coordinate transformation is a viewpoint-based perspective transformation. Next, for each scan line, the intersection with the ridge lines forming the polygon is determined, and a segment is created. Then, a method called a scan line algorithm is used to determine the front and back of each segment, and the brightness of the section to be displayed on the screen of each segment is determined. Details of this scan line algorithm are described in Document 1: [Graphic processing engineering using computer displays], written by Fujio Yamaguchi, published by Nikkan Kogyo Shimbun, Chapter 5, Hidden Surface Elimination Problem.

(発明が解決しようとする問題点) 従来の画像表示におけるスキャンライン単位の隠れ面消
去では、全てのセグメントの間で重なりを調べ、重なり
があるセグメント同士で前後判定を行う。したがって、
重なりを判定する回数はセグメントの数の2乗のオーダ
ーで増加してしまい、複雑な図形になるとセグメント同
士の前後判定の回数が膨大となり、処理時間が増大する
という問題点がある。
(Problems to be Solved by the Invention) In conventional hidden surface removal in units of scan lines in image display, overlaps are checked between all segments, and overlapping segments are judged before and after each other. therefore,
The number of times to determine overlap increases on the order of the square of the number of segments, and when the figure becomes complex, the number of times to determine the front and rear of each segment becomes enormous, resulting in an increase in processing time.

こうした問題点を解決するためにセグメントをソーティ
ングする方法が知られている。この詳細は、例えば文献
1に記載されている。セグメントをソーティングするこ
とによりセグメントの重なりを判定する回数を減少でき
る。さらにスキャンライン間の類似性を利用することが
でき、セグメント同士の前後判定の回数を減らすことが
できる。
A method of sorting segments is known to solve these problems. The details are described in document 1, for example. By sorting the segments, it is possible to reduce the number of times segment overlap is determined. Furthermore, it is possible to utilize the similarity between scan lines, and the number of times the segments are judged before and after each other can be reduced.

したがって処理時間を減少することができる。しかしな
がら、このソーティングを用いた方法を用いると処理自
体が非常に複雑となってしまい、実現する場合ハード規
模が膨大になるという問題がある。
Therefore, processing time can be reduced. However, if a method using this sorting is used, the processing itself becomes extremely complicated, and there is a problem that the hardware scale will be enormous if realized.

本発明は、接続しているいくつかのセグメントをまとめ
てマクロセグメントとすることにより、セグメント間の
前後判定の回数を単純な処理により減少させることので
きる画像表示方法を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide an image display method that can reduce the number of forward/backward determinations between segments through simple processing by combining several connected segments into a macro segment. .

(問題点を解決するための手段) 本発明の画像表示方法は、3次元空間中の複数の多面体
を画面上に表示するために、上記の多面体を構成する各
多角形を上記画面上に射影した時の上記画面上の各スキ
ャンラインにおける両端点に対応する上記多角形上の点
を結んだ線として定義されるセグメントを示す情報とし
て上記セグメントの両端点の座標値と輝度とを求め、上
記の各スキャンライン内で同一の多面体に含まれかつ接
続しているセグメントから構成されるマクロセグメント
を示す情報として上記マクロセグメントを構成するセグ
メントの接続情報を求め、上記マクロセグメントに含ま
れる複数のセグメントの両端点の座標値に基づき同一の
スキャンライン内に含まれるマクロセグメント同士の前
後判定を行い、この判定結果と上記セグメントの両端点
の輝度とに基づき画面上の各画素の輝度を求めることを
特徴とする。
(Means for Solving the Problems) The image display method of the present invention projects each polygon constituting the polyhedron onto the screen in order to display a plurality of polyhedra in a three-dimensional space on the screen. The coordinate values and brightness of both end points of the segment are determined as information indicating a segment defined as a line connecting the points on the polygon corresponding to the end points of each scan line on the screen when The connection information of the segments constituting the macro segment is obtained as information indicating a macro segment composed of connected segments contained in the same polyhedron in each scan line of Based on the coordinate values of both end points of the macro segments included in the same scan line, the front and back of each macro segment is determined, and the brightness of each pixel on the screen is determined based on this determination result and the brightness of both end points of the segment. Features.

(作用) 本発明の、多面体を表示するための画像表示方法につい
て説明する。スキャンライン毎の隠れ面消去による画像
表示において、まず多面体を構成する複数の多角形の形
状情報と接続情報により多面体を表現する。次に多角形
の形状情報からセグメント情報を求める。セグメントと
は、各多角形を画面上に射影した時の各スキャンライン
における両端点に対応する多角形上の点を結んだ線分で
ある。セグメント情報とはセグメントの両端点の座標値
とその両端点に対応する画面上の輝度とである。
(Function) An image display method for displaying a polyhedron according to the present invention will be described. In displaying an image by removing hidden surfaces for each scan line, a polyhedron is first expressed using shape information and connection information of a plurality of polygons constituting the polyhedron. Next, segment information is obtained from the polygon shape information. A segment is a line segment connecting points on a polygon corresponding to both end points of each scan line when each polygon is projected onto the screen. Segment information is the coordinate values of both end points of a segment and the brightness on the screen corresponding to the end points.

次に、多角形の接続情報に基づいてマクロセグメント情
報を求める。マクロセグメントは、各スキャンライン内
で同一の多面体に含まれかつ接続しているセグメントか
ら構成される折れ線によって定義される。マクロセグメ
ント情報はマクロセグメントを構成するセグメントの接
続情報である。
Next, macro segment information is obtained based on the polygon connection information. Macro segments are defined by polygonal lines made up of connected segments included in the same polyhedron within each scan line. Macro segment information is connection information of segments that constitute a macro segment.

次に、同一スキャンライン内に含まれる全てのマクロセ
グメント間で前後判定をする。前後判定とは、画面に対
して各マクロセグメントの前後を判定する処理で、これ
によりマクロセグメントのうちで画面に表示するための
見える範囲を求めることができる。処理にあたり、まず
重なりのあるマクロセグメントを選び出す。そして、各
マクロセグメントを構成するセグメントの内で重なりの
ある一組のセグメントを選び出す。そして選び出された
セグメント間で、各セグメントの両端点の座標値に基づ
いて前後判定を行うことにより、マクロセグメント間の
前後関係を求め、見える範囲を求める。
Next, front/back judgment is performed between all macro segments included in the same scan line. Front/back determination is a process of determining the front/back of each macro segment with respect to the screen, thereby making it possible to determine the visible range of the macro segment for display on the screen. In processing, first, macro segments with overlap are selected. Then, a set of overlapping segments is selected from among the segments constituting each macro segment. Then, by performing forward/backward determination between the selected segments based on the coordinate values of both end points of each segment, the forward/backward relationship between the macro segments is determined, and the visible range is determined.

そして、この判定結果とセグメントの両端点の輝度とに
基づいて、画面上の各画素の輝度を求める。このような
方法により、セグメント間の前後判定の回数を減らすこ
とができる。
Then, the brightness of each pixel on the screen is determined based on this determination result and the brightness at both end points of the segment. With this method, it is possible to reduce the number of times of forward/backward determination between segments.

(実施例) 以下、図面により本発明の一実施例を説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の処理の流れを示す流れ図である。入力
は多面体を構成する各多角形の形状情報と接続情報とす
る。多角形の形状情報とは多角形を構成する頂点の座標
値と輝度と各頂点の並びとである。ただしこれらの座標
値は、視点に基づく透視変換により画面に基づく座標系
に変換されているものとする。また、透視変換の代わり
に平行投影などにより座標変換されていてもよい。第2
図(aXb)は多角形の形状情報の一例を示す説明図で
ある。第2図(a)に示すように頂点の座標値は頂点番
号1(i=1.2.・・・)とそれに対応する座標値(
xi、 yi、 zi )とによって示される。第2図
(b)に示すように各多角形は、多角形番号j(j=1
.2.・・・)と頂点番号の並びPjk(k=1.2.
・・・)と各多角形jにおける各頂点kに対応する輝度
Ijkとによって示される。なお第2図(b)の頂点番
号は、それらを時計回りに結ぶことによって多角形が構
成されるように左から順に並べる。
FIG. 1 is a flowchart showing the process flow of the present invention. The input is the shape information and connection information of each polygon constituting the polyhedron. The shape information of a polygon includes the coordinate values and brightness of the vertices constituting the polygon, and the arrangement of the vertices. However, it is assumed that these coordinate values have been transformed into a coordinate system based on the screen by perspective transformation based on the viewpoint. Furthermore, instead of perspective transformation, coordinate transformation may be performed by parallel projection or the like. Second
Figure (aXb) is an explanatory diagram showing an example of polygonal shape information. As shown in Figure 2(a), the coordinate values of the vertices are the vertex number 1 (i=1.2...) and the corresponding coordinate value (
xi, yi, zi). As shown in FIG. 2(b), each polygon has a polygon number j (j=1
.. 2. ) and the sequence of vertex numbers Pjk (k=1.2.
) and the brightness Ijk corresponding to each vertex k in each polygon j. Note that the vertex numbers in FIG. 2(b) are arranged in order from the left so that a polygon is constructed by connecting them clockwise.

また各多角形の頂点番号と輝度は、三角形なら3つ四角
形なら4つと言う具合に多角形を構成する頂点の数だけ
記す。これらの形状情報により、多角形の形状を示すこ
とができる。多角形の接続情報は、ある多角形を構成し
ている稜線が別のどの多角形と接続しているかを示す情
報である。第3図(aXb)は多角形の接続情報の一例
を示す説明図である。第3図(a)に示すように各多角
形は、多角形番号1(i=1.2.・・・)と多角形の
左側を構成する稜線の番号並びLEij (j = 1
.2.・・・)と多角形の右側を構成する稜線の番号並
びREijとである。ここで多角形の左側とは、その多
角形を構成する頂点の内でy座標の値が最も小さい頂点
と大きい頂点とを結んだ線より左側にあるという意味で
あり、多角形の右側についても同様である。稜線の端点
の内でy座標の小さいものを始点、大きいものを終点と
するとき、第3図(a)の稜線の番号は始点のy座標の
小さい順に左から並べる。なお各多角形における上段と
下段には、それぞれの多角形の左側および右側にある稜
線の数だけ記す。第3図(b)に示すように各稜線は、
稜線番号iとその稜線の始点FPiと終点EPiと左側
に接続する多角形LPOLiと右側に接続する多角形R
POLiとによって示される。これらの接続情報によっ
て多角形間のつながりを示すことができる。
The vertex number and brightness of each polygon are recorded as many times as there are vertices forming the polygon, such as three for a triangle and four for a quadrilateral. These shape information can indicate the shape of a polygon. Polygon connection information is information indicating which other polygons an edge line forming a certain polygon is connected to. FIG. 3 (aXb) is an explanatory diagram showing an example of polygonal connection information. As shown in FIG. 3(a), each polygon has a polygon number 1 (i = 1.2...) and a number sequence LEij (j = 1) of the ridge line forming the left side of the polygon.
.. 2. ) and the number sequence REij of the edges forming the right side of the polygon. Here, the left side of a polygon means that it is on the left side of the line connecting the vertex with the smallest and largest y-coordinate values among the vertices that make up the polygon, and the right side of the polygon also applies. The same is true. When the end point of the edge line with the smallest y-coordinate is taken as the starting point and the one with the largest y-coordinate is taken as the end point, the numbers of the ridge lines in FIG. 3(a) are arranged from the left in descending order of the y-coordinate of the starting point. Note that the number of edges on the left and right sides of each polygon is written in the upper and lower rows of each polygon. As shown in Figure 3(b), each ridgeline is
Edge number i, the starting point FPi, the ending point EPi, the polygon LPOLi connected to the left side, and the polygon R connected to the right side
It is indicated by POLi. These connection information can indicate connections between polygons.

まず第1図のセグメント情報作成1で多角形の形状情報
からセグメント情報を求める。第4図はセグメントを示
す説明図である。第4図に示すように21.22.23
は多角形であり、11はあるスキャンラインを含みXZ
平面に平行なスキャンライン平面である。セグメントは
スキャンライン平面11と多角形21.22.23との
交線で31.32.33である。セグメント情報をセグ
メントに対応する多角形を示す情報とセグメントの端点
の座標値とその端点の画面上に対応する点での輝度とす
る。第5図はセグメント情報の一例を示す説明図である
。第5図に示すように各セグメントは、セグメント番号
1(i=1゜22.・、)とそのセグメントに対応する
多角形番号Tiとそのセグメントの左端のX座標値LX
iと2座標値LZiと輝度LIiおよび右端X座標値R
Xiと2座標値RZiと輝度RIiとによって示される
。セグメント情報は、多角形を構成する稜線とスキャン
ライン平面との交点における座標値と輝度とを求めるこ
とにより作成できる。この詳細は、例えば文献1に記載
されている。
First, in segment information creation 1 in FIG. 1, segment information is obtained from polygon shape information. FIG. 4 is an explanatory diagram showing the segments. 21.22.23 as shown in Figure 4
is a polygon, 11 contains a certain scan line and XZ
It is a scan line plane parallel to the plane. The segment is 31.32.33 at the intersection of scan line plane 11 and polygon 21.22.23. The segment information includes information indicating the polygon corresponding to the segment, the coordinate values of the end points of the segments, and the brightness at points corresponding to the end points on the screen. FIG. 5 is an explanatory diagram showing an example of segment information. As shown in Fig. 5, each segment consists of a segment number 1 (i=1゜22..), a polygon number Ti corresponding to the segment, and an X coordinate value LX of the left end of the segment.
i, 2 coordinate value LZi, luminance LIi, and right end X coordinate value R
It is represented by Xi, two coordinate values RZi, and luminance RIi. Segment information can be created by determining the coordinate values and brightness at the intersections between the edges of the polygon and the scan line plane. The details are described in document 1, for example.

次に第1図のマクロセグメント情報作成2で、多角形の
接続情報とセグメント情報からマクロセグメント情報を
求める。結合しているセグメントで構成される折れ線に
よってマクロセグメントを定義する。例えば第4図では
、セグメント31.32.33を結んだ折れ線である。
Next, in macro segment information creation 2 in FIG. 1, macro segment information is obtained from polygon connection information and segment information. Define macro segments by polylines made up of connecting segments. For example, in FIG. 4, it is a polygonal line connecting segments 31, 32, and 33.

マクロセグメント情報を、マクロセグメントを構成する
セグメントの並びとする。第6図はマクロセグメント情
報の一例を示す説明図である。第6図に示すように各マ
クロセグメントは、マクロセグメント番号i(i =1
.2.・・・)とそのマクロセグメントの左端と右端の
X座標値LXi、 RXiおよびそのマクロセグメント
を構成する各セグメント5EGijθ=1.2.・・・
)を、左端のX座標値の小さい順い並べることによって
示される。マクロセグメント情報は、1つのセグメント
に対応する多角形からその両端の稜線を求め、その稜線
に接続する多角形に対応するセグメントを求めるという
具合に、次々と隣合うセグメントを求めることによって
構成できる。なおマクロセグメント情報は、あるスキャ
ンラインと次のスキャンラインとで類似していることか
ら、この類似性を利用して高速に求めることもできる。
Let macro segment information be a sequence of segments that make up a macro segment. FIG. 6 is an explanatory diagram showing an example of macro segment information. As shown in FIG. 6, each macro segment has a macro segment number i (i = 1
.. 2. ...) and the X coordinate values LXi, RXi of the left end and right end of the macro segment, and each segment 5EGijθ = 1.2 . ...
) are shown by arranging them in descending order of the leftmost X coordinate value. Macro segment information can be constructed by finding adjacent segments one after another, such as finding edges at both ends of a polygon corresponding to one segment, and finding segments corresponding to polygons connected to the edges. Note that since the macro segment information is similar between one scan line and the next scan line, it is also possible to obtain the macro segment information at high speed by utilizing this similarity.

次に第1図のマクロセグメント間の前後判定3で、同一
のスキャンラインに含まれる全てのマクロセグメント間
で前後判定をする。前後判定により、マクロセグメント
のうちで画面に表示するための見える範囲を求める。こ
のため、まずマクロセグメント間に重なりがあるかをマ
クロセグメントの両端点のX座標値により判定する。そ
して重なりがあるとき次のようにして前後判定をする。
Next, in the front/back judgment 3 between macro segments shown in FIG. 1, front/back judgment is performed between all macro segments included in the same scan line. By determining the front and back, the visible range of the macro segment to be displayed on the screen is determined. For this reason, first, it is determined whether there is an overlap between macro segments based on the X coordinate values of both end points of the macro segments. When there is an overlap, the front and back judgments are made as follows.

ただしここではマクロセグメント間に交差がないものと
する。
However, here it is assumed that there is no intersection between macro segments.

1)2つのマクロセグメントMSL MS2で重なりの
ある区間からスキャンライン上での1点aを選ぶ2) 
MSI、MS2のそれぞれからaを含むセグメントS1
、S2を選ぶ 3)Sl、S2の間で前後判定をして、前にあるセグメ
ントをSとする 4) Sを含むマクロセグメントが前にあると判定され
る なお、3)の2つのセグメント間の前後判定はセグメン
ト情報から種々の方法でできる。例えば、前記のaにお
けるSl、S2の奥行きの値z1、z2をSl、S2の
端点のX座標値と2座標値とからそれぞれ求めて、Zl
、z2の大小から81、S2の前後を判定する等があげ
られる。
1) Select one point a on the scan line from the overlapping section with two macro segments MSL MS2 2)
Segment S1 containing a from each of MSI and MS2
, select S2 3) Perform front/back judgment between Sl and S2, and select the preceding segment as S. 4) It is determined that a macro segment containing S is in front. Furthermore, between the two segments in 3) The preceding and following judgments can be made using various methods from the segment information. For example, the depth values z1 and z2 of Sl and S2 at the above a are obtained from the X coordinate values and 2 coordinate values of the end points of Sl and S2, respectively, and Zl
, 81, determining before and after S2 from the magnitude of z2.

そして、各マクロセグメントの内で画面に表示する区間
を求める。
Then, the section to be displayed on the screen within each macro segment is determined.

次に第1図の各画素の輝度計算4で、各マクロセグメン
トの画面に表示する区間に含まれる画素の輝度を求める
。第7図はその表示の仕方を示す説明図である。第7図
に示すように、まずマクロセグメント42の画面に表示
する区間41における両端点43.47の輝度を求める
。その方法は、両端点43.47を含むセグメントS1
、S2を選び出し、Sl、S2の両端点のX座標値と輝
度とから線形補間などをすることにより求める。そして
、両端点43.47と画面に表示する区間41に含まれ
るセグメントの端点44.45.46とにおけるX座標
値と輝度とに基づいて、画面に表示する区間41に含ま
れる各画素の輝度を線形補間して求める。
Next, in brightness calculation 4 for each pixel in FIG. 1, the brightness of the pixels included in the section of each macro segment to be displayed on the screen is calculated. FIG. 7 is an explanatory diagram showing how to display it. As shown in FIG. 7, first, the brightness of both end points 43 and 47 in the section 41 of the macro segment 42 to be displayed on the screen is determined. The method is to
, S2, and perform linear interpolation or the like from the X coordinate values and brightness of both end points of Sl and S2. The brightness of each pixel included in the section 41 to be displayed on the screen is then determined based on the X coordinate value and brightness at both end points 43.47 and the end points 44, 45, 46 of the segment included in the section 41 to be displayed on the screen. is obtained by linear interpolation.

このように全てのマクロセグメントについて、画面に表
示する区間に含まれる各画素の輝度を求めることにより
、3次元空間中の複数の多面体を隠れ面消去して画面上
に表示できる。
In this way, by determining the brightness of each pixel included in the section to be displayed on the screen for all macro segments, hidden surfaces of a plurality of polyhedra in the three-dimensional space can be removed and displayed on the screen.

(発明の効果) 以上述べたように、本発明の画像表示方法を用いること
によって、空間中の多面体を表示する際のセグメント間
の前後判定の回数を減らすことができるので、従来の画
像表示方法に比べて簡単な方法で高速に画像を表示する
ことができる。
(Effects of the Invention) As described above, by using the image display method of the present invention, it is possible to reduce the number of front/rear judgments between segments when displaying a polyhedron in space, so that it is possible to reduce the number of front/rear judgments between segments. It is possible to display images faster and in a simpler way.

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

第1図は本発明の実施例を示す流れ図、第2図(aXb
)は多角形の形状情報の一例を示す説明図、第3図(a
Xb)は多角形の接続情報の一例を示す説明図、第4図
はセグメントを示す説明図、第5図はセグメント情報の
一例を示す説明図、第6図はマクロセグメント情報の一
例を示す説明図、第7図はマクロセグメントの表示法を
示す説明図である。 図において、 1・・・セグメント情報作成、2・・・マクロセグメン
ト情報作成、3・・・マクロセグメント間の前後判定、
4・・・各画素の輝度計算、11・・・スキャンライン
平面、21.22.23・・・多角形、31.32.3
3・・・セグメント、41・・・区間、43,47・・
・端点、44.45.46・・・セグメントの端点。
FIG. 1 is a flowchart showing an embodiment of the present invention, and FIG. 2 (aXb
) is an explanatory diagram showing an example of polygon shape information, and Fig. 3 (a
Xb) is an explanatory diagram showing an example of polygon connection information, Fig. 4 is an explanatory diagram showing a segment, Fig. 5 is an explanatory diagram showing an example of segment information, and Fig. 6 is an explanatory diagram showing an example of macro segment information. 7 are explanatory diagrams showing a method of displaying macro segments. In the figure, 1... Segment information creation, 2... Macro segment information creation, 3... Front/back judgment between macro segments,
4... Brightness calculation of each pixel, 11... Scan line plane, 21.22.23... Polygon, 31.32.3
3... Segment, 41... Section, 43, 47...
- End point, 44.45.46... End point of the segment.

Claims (1)

【特許請求の範囲】[Claims] 3次元空間中の複数の多面体を画面上表示するために、
上記の多面体を構成する各多角形を上記画面上に射影し
た時の上記画面上の各スキャンラインにおける両端点に
対応する上記多角形上の点を結んだ線分として定義され
るセグメントを示す情報として上記セグメントの両端点
の座標値と輝度とを求め、上記の各スキャンライン内で
同一の多面体に含まれかつ接続しているセグメントから
構成されるマクロセグメントを示す情報として上記マク
ロセグメントを構成するセグメントの接続情報を求め、
上記マクロセグメントに含まれる複数のセグメントの両
端点の座標値に基づき同一のスキャンライン内に含まれ
るマクロセグメント同士の前後判定を行い、この判定結
果と上記セグメントの両端点の輝度とに基づき画面上の
各画素の輝度を求めることを特徴とする画像表示方法。
In order to display multiple polyhedra in three-dimensional space on the screen,
Information indicating a segment defined as a line segment connecting points on the polygon corresponding to both end points of each scan line on the screen when each polygon constituting the polyhedron is projected onto the screen. The coordinate values and brightness of both end points of the segment are determined as follows, and the macro segment is constructed as information indicating a macro segment composed of connected segments included in the same polyhedron within each scan line. Ask for segment connection information,
Based on the coordinate values of both end points of multiple segments included in the above-mentioned macro segment, judgment is made between macro segments included in the same scan line, and based on this judgment result and the brightness of both end points of the above-mentioned segments, the screen An image display method characterized by determining the brightness of each pixel.
JP17474588A 1988-07-12 1988-07-12 Picture display method Pending JPH0223479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17474588A JPH0223479A (en) 1988-07-12 1988-07-12 Picture display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17474588A JPH0223479A (en) 1988-07-12 1988-07-12 Picture display method

Publications (1)

Publication Number Publication Date
JPH0223479A true JPH0223479A (en) 1990-01-25

Family

ID=15983940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17474588A Pending JPH0223479A (en) 1988-07-12 1988-07-12 Picture display method

Country Status (1)

Country Link
JP (1) JPH0223479A (en)

Similar Documents

Publication Publication Date Title
JP3313221B2 (en) Image generation method and image generation device
US7884825B2 (en) Drawing method, image generating device, and electronic information apparatus
US6600488B1 (en) Tessellation system, method and computer program product with interior and surrounding meshes
US6292192B1 (en) System and method for the direct rendering of curve bounded objects
JP2612260B2 (en) Texture mapping equipment
US6897863B2 (en) System and method for hidden object removal
US5719598A (en) Graphics processor for parallel processing a plurality of fields of view for multiple video displays
WO1989001206A1 (en) Quadratic interpolation for shaded image generation
JP2738588B2 (en) 3D model drawing method
JP2957511B2 (en) Graphic processing unit
JP4081304B2 (en) Drawing processing program, storage medium storing drawing processing program, drawing processing apparatus, and drawing processing method
JPH0223479A (en) Picture display method
JP2001148028A (en) Device and method for displaying graphic
JPH1125286A (en) Shadowing method
JP7455546B2 (en) Image processing device, image processing method, and program
JPH0285978A (en) Method for processing hidden-surface of solid
JPH02127785A (en) Picture display device
JPS63113785A (en) Graphic pattern displaying method
JP2952585B1 (en) Image generation method
JPH0496186A (en) Method for mapping basic pattern on free curved surface
JP3517982B2 (en) Drawing device
JPH0664621B2 (en) Image generation method
JPH11306381A (en) Method and device for graphic operation
JP3718888B2 (en) Three-dimensional polygon drawing method and apparatus
WO2001056268A1 (en) Method for rapid smoothing of object edges in computer graphics