JPH0244077B2 - - Google Patents

Info

Publication number
JPH0244077B2
JPH0244077B2 JP56194157A JP19415781A JPH0244077B2 JP H0244077 B2 JPH0244077 B2 JP H0244077B2 JP 56194157 A JP56194157 A JP 56194157A JP 19415781 A JP19415781 A JP 19415781A JP H0244077 B2 JPH0244077 B2 JP H0244077B2
Authority
JP
Japan
Prior art keywords
data
display
line
scanning
storage means
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 - Lifetime
Application number
JP56194157A
Other languages
Japanese (ja)
Other versions
JPS5894872A (en
Inventor
Masahiro Ootake
Katsuya Nakagawa
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.)
Nintendo Co Ltd
Original Assignee
Nintendo Co 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 Nintendo Co Ltd filed Critical Nintendo Co Ltd
Priority to JP56194157A priority Critical patent/JPS5894872A/en
Publication of JPS5894872A publication Critical patent/JPS5894872A/en
Publication of JPH0244077B2 publication Critical patent/JPH0244077B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Closed-Circuit Television Systems (AREA)

Description

【発明の詳細な説明】 この発明は走査形デイスプレイの表示制御装置
に関し、特に三次元的に変化する線を走査形デイ
スプレイのスクリーン上に表示させるための表示
制御装置の改良に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a display control device for a scanning display, and more particularly to an improvement in a display control device for displaying three-dimensionally changing lines on the screen of a scanning display.

最近、ゲームセンタなどにおいては、Cathode
Ray Tube(以下CRT)デイスプレイなどのよう
な走査形デイスプレイを用いて各種のゲームを行
うビデオゲーム装置が設置されている。従来のビ
デオゲーム装置は、平面的な表示に限られ、立体
的な表示ができないという問題点があつた。この
ため、従来のビデオゲーム装置は、ゲーム内容が
平面的なものに限られ、おもしろさに欠けるとい
う問題点を含む。そこで、ビデオ業界では、
CRTデイスプレイのような平面的な表示装置を
用いて、立体的または三次元的な表示を行える技
術の開発が要望されている。
Recently, in game centers etc., Cathode
Video game devices are installed that play various games using a scanning display such as a Ray Tube (hereinafter referred to as CRT) display. Conventional video game devices have had the problem of being limited to two-dimensional displays and not capable of three-dimensional displays. For this reason, conventional video game devices have the problem that the game content is limited to two-dimensional games and lacks fun. Therefore, in the video industry,
There is a demand for the development of a technology that can display three-dimensional or three-dimensional images using a flat display device such as a CRT display.

ところで、従来では、走査形デイスプレイを用
いて立体的な表示を行う技術として、特開昭54−
51644号公報に記載された「パターン発生のため
の電子回路装置」が知られている。ところが、特
開昭54−54644号公報に記載された発明は、パイ
ロツトの養成のために開発されたもので、面また
は物体を三次元的に表示するものである。しか
し、これは極めて複雑な構成をとるため、1台の
価格が数億円もして極めて高価になるという問題
点を含む。このような先に提案された発明は、1
台の価格が数十万円程度で製作しなければならな
いビデオゲーム装置にはとても適用できなかつ
た。また、先に提案された発明は、面または物を
立体的に表示する場合、複数の境界線で囲まれる
面を表示するためにその面の境界線のデータを多
数個のカウンタまたはメモリに記憶させているの
で、メモリの個数を少なくしていくらか価格を安
くしようとすれば、複数の境界線の交わる点で面
が不所望に分割され表示したい物体とは異なる物
体または面が表示されるという問題点を含む。
By the way, in the past, as a technology for displaying three-dimensional images using a scanning display, there was
``Electronic circuit device for pattern generation'' described in Japanese Patent No. 51644 is known. However, the invention described in Japanese Patent Application Laid-Open No. 54-54644 was developed for the purpose of training pilots, and displays surfaces or objects three-dimensionally. However, since this has an extremely complicated configuration, it has the problem of being extremely expensive, costing several hundred million yen. Such previously proposed inventions are: 1.
This method could not be applied to video game devices that had to be manufactured for a price of several hundred thousand yen. In addition, in the case of displaying a surface or an object three-dimensionally, the previously proposed invention stores boundary line data of a surface in a large number of counters or memories in order to display a surface surrounded by a plurality of boundary lines. Therefore, if you try to reduce the price by reducing the number of memories, the surface will be undesirably divided at the intersection of multiple boundary lines, and a different object or surface than the one you want to display will be displayed. Contains problems.

それゆえに、この発明の目的は、比較的簡単な
構成かつ安価にして走査形デイスプレイを用いて
三次元的な表示を行えるような、走査形デイスプ
レイの表示制御装置を提供することである。
SUMMARY OF THE INVENTION Therefore, it is an object of the present invention to provide a display control device for a scanning type display that is relatively simple in structure and inexpensive and can perform three-dimensional display using a scanning type display.

この発明は要約すれば、走査形デイスプレイの
スクリーン上に投射した線を表示させるためのそ
の線の座標データおよび勾配データに基づいて、
線と水平走査線とが交わる交点位置データを求
め、交点で表示すべき線の種類を識別するデータ
を走査形デイスプレイの1水平走査期間に表示す
べき線のデータとして記憶手段に書込む際に、交
点位置データを書込アドレスとして用いるもので
ある。
In summary, the present invention provides a method for displaying a projected line on the screen of a scanning display based on the coordinate data and slope data of the line.
When determining the intersection position data where the line intersects with the horizontal scanning line and writing the data identifying the type of line to be displayed at the intersection into the storage means as the data of the line to be displayed in one horizontal scanning period of the scanning display. , the intersection position data is used as a write address.

以下に、図面を参照してこの発明の具体的な実
施例を説明する。
Hereinafter, specific embodiments of the present invention will be described with reference to the drawings.

第1図はこの発明の概略を表わすブロツク図で
ある。構成において、この実施例の表示制御装置
10は、三次元的に変化する線を走査形デイスプ
レイ11に表示させるために、視点データ発生装
置12、データプロセツサ13、コンピユータ
(またはマイクロコンピユータ)14、クロツク
発生器15およびイメージゼネレータ20を含
む。
FIG. 1 is a block diagram showing an outline of the invention. In the configuration, the display control device 10 of this embodiment includes a viewpoint data generator 12, a data processor 13, a computer (or microcomputer) 14, in order to display three-dimensionally changing lines on the scanning display 11. It includes a clock generator 15 and an image generator 20.

前記走査形デイスプレイ11は、たとえばラス
タスキヤン方式のCRTデイスプレイが用いられ
る。なお、以下の実施例では、各種の線を色で表
示するために、カラー表示可能なCRTデイスプ
レイを用いた場合について説明する。
As the scanning display 11, for example, a raster scan type CRT display is used. In the following embodiments, a case will be described in which a CRT display capable of color display is used to display various lines in color.

前記視点データ発生装置12は、操作部12a
およびシユミレーシヨンコンピユータ12bを含
む。操作部12aはプレーヤの操作によつて視点
となる移動体(たとえば航空機)の表示位置を変
化させるためのデータをシユミレーシヨンコンピ
ユータ12bに与える。シユミレーシヨンコンピ
ユータ12bは、操作部12aの操作状態に基づ
いて、視点データたとえば航空機のフライトデー
タを発生してデータプロセツサ13に与える。こ
こで、航空機のフライトデータは、プレーヤの操
縦によつて表示位置が変化される航空機の位置デ
ータおよび姿勢データを含む。
The viewpoint data generation device 12 includes an operation section 12a.
and a simulation computer 12b. The operation unit 12a provides the simulation computer 12b with data for changing the display position of a moving object (for example, an aircraft) serving as a viewpoint according to the player's operation. The simulation computer 12b generates viewpoint data, for example, aircraft flight data, based on the operating state of the operating section 12a, and provides it to the data processor 13. Here, the flight data of the aircraft includes position data and attitude data of the aircraft whose display position is changed by the player's operation.

前記コンピユータ14は、メモリおよび中央処
理装置(CPU)を含む。このコンピユータ14
は、外部記憶装置(図示せず)に記憶されている
視覚対象モデルのモデルデータを前記データプロ
セツサ13に含まれるメモリへ書込むための制
御、および予め記憶しているデータに基づいてモ
デルの表示位置を変化させるための制御を行な
う。
The computer 14 includes memory and a central processing unit (CPU). This computer 14
controls for writing model data of a visual object model stored in an external storage device (not shown) into the memory included in the data processor 13, and writes model data based on pre-stored data. Performs control to change the display position.

前記クロツク発生器15は、走査形デイスプレ
イ11、データプロセツサ13およびイメージゼ
ネレータ20の動作のためのクロツク信号を発生
する。
The clock generator 15 generates clock signals for the operation of the scanning display 11, data processor 13, and image generator 20.

前記データプロセツサ13は、シユミレーシヨ
ンコンピユータ12bから与えられる視点データ
とコンピユータ14から与えられるモデルデータ
とに基づいて、後述のイメージゼネレータ20が
走査形デイスプレイ11に三次元的な線を表示さ
せるためのビデオ信号を発生するのに必要なデー
タをイメージゼネレータ20へ供給する。ここ
で、データプロセツサ13が行う演算は、視点デ
ータに基づく視点座標とモデルデータに基づくモ
デル座標の2つの座標からモデルの面との境界線
データを決定するものである。この境界線データ
の演算には、輪郭線の計算および輪郭線で囲まれ
る面の可視または不可視の計算の2つがある。こ
のような境界線データの演算は、特開昭54−
51644号と同じ計算方法が用いられる。
The data processor 13 allows an image generator 20 (described later) to display three-dimensional lines on the scanning display 11 based on viewpoint data provided from the simulation computer 12b and model data provided from the computer 14. The image generator 20 is supplied with the data necessary to generate the video signal. Here, the calculation performed by the data processor 13 is to determine boundary line data with respect to the surface of the model from two coordinates: viewpoint coordinates based on viewpoint data and model coordinates based on model data. There are two calculations for this boundary line data: calculation of the contour line and calculation of whether the surface surrounded by the contour line is visible or invisible. Calculation of such boundary line data is described in Japanese Patent Application Laid-open No. 1983-
The same calculation method as No. 51644 is used.

そこで、以下の説明では、この発明の理解に必
要な範囲内で視点データおよびモデルデータから
座標変換する場合を簡単に説明する。
Therefore, in the following explanation, a case in which coordinate transformation is performed from viewpoint data and model data will be briefly explained within the scope necessary for understanding the present invention.

コンピユータ14は三次元の絶対座標上の空間
にモデルを描くために、絶対座標上におけるモデ
ルの輪郭線のそれぞれの式を求め、絶対座標の原
点から各モデルの輪郭線に向かつて垂直な線を引
き、その交点の座標(X,Y,Z)および各輪郭
線の方向余弦をメモリに記憶しておく。この場
合、1本の線については、三次元の交点座標およ
び余弦のデータ、すなわち6つのデータが必要と
なる。これらのデータに基づいてモデルのデータ
が計算によつて求められる。したがつて、コンピ
ユータ14は絶対座標上にモデルを描く場合にお
けるモデル座標を記憶しておき、各モデルのデー
タをデータプロセツサ13に与えることになる。
一方、データプロセツサ13は、視点を原点とす
る座標(すなわち視点座標)を想定したとき、モ
デルの空間となる絶対座標を視点座標に置換える
ための演算すなわち座標変換を行う。この場合、
視点が移動すれば、視点に対するモデルの表示位
置が変化するので、画面ごと(換言すれば走査形
デイスプレイのフレームごと)に座標変換を行う
必要がある。また、視点の位置を少しずつ移動さ
せた場合は、モデルが動くように見える。なお、
モデルの輪郭線を表わす複数の線のそれぞれの計
算は、走査形デイスプレイ11の1フレームの時
間内、すなわち1/30秒以内に行う必要がある。
この場合、この実施例のデータプロセツサ13
は、計算用CPUを2個含みかつ制御用CPUを1
個含んでいるので、計算用CPUの一般的な処理
速度を考慮すれば1フレームで16本の線を演算で
きるので、1フレーム時間内に32本の線の計算を
行える。なお、データプロセツサ13に含まれる
計算用CPUの個数を増せば、1フレームで表示
できる線の数を増加できることはもちろんであ
る。
In order to draw a model in a three-dimensional absolute coordinate space, the computer 14 calculates an equation for each contour of the model in absolute coordinates, and draws a perpendicular line from the origin of the absolute coordinates to the contour of each model. The coordinates (X, Y, Z) of the intersection and the direction cosine of each contour are stored in memory. In this case, for one line, three-dimensional intersection coordinates and cosine data, that is, six pieces of data are required. Model data is calculated based on these data. Therefore, the computer 14 stores model coordinates when drawing a model on absolute coordinates, and provides data for each model to the data processor 13.
On the other hand, assuming coordinates with the viewpoint as the origin (ie, viewpoint coordinates), the data processor 13 performs a calculation, that is, coordinate transformation, to replace the absolute coordinates of the model space with the viewpoint coordinates. in this case,
If the viewpoint moves, the display position of the model relative to the viewpoint changes, so it is necessary to perform coordinate transformation for each screen (in other words, for each frame of a scanning display). Furthermore, if the position of the viewpoint is moved little by little, the model appears to move. In addition,
The calculation of each of the plurality of lines representing the contour of the model must be performed within the time of one frame of the scanning display 11, that is, within 1/30 second.
In this case, the data processor 13 of this embodiment
includes two calculation CPUs and one control CPU.
Since 16 lines can be calculated in one frame considering the general processing speed of a calculation CPU, 32 lines can be calculated in one frame time. It goes without saying that by increasing the number of calculation CPUs included in the data processor 13, the number of lines that can be displayed in one frame can be increased.

第2A図〜第2C図はこの発明の原理を説明す
るための走査形デイスプレイ11の表示態様を図
解的に示した図であり、特に第2A図は1本の線
を走査形デイスプレイ11のスクリーン上に表示
する場合においてそのスクリーンを平面的な座標
で表わした状態を示し、第2B図および第2C図
は線が走査形デイスプレイ11のスクリーン上の
座標すなわち輪郭線からはみ出した三次元空間に
存在する場合の処理を図解的に示した図である。
2A to 2C are diagrams schematically showing the display mode of the scanning display 11 for explaining the principle of the present invention. In particular, FIG. 2A shows one line on the screen of the scanning display 11. 2B and 2C show lines existing in a three-dimensional space beyond the coordinates on the screen of the scanning display 11, that is, the outline. FIG. 3 is a diagram schematically showing processing when

次に、第1図ないし第2C図を参照して、この
発明の原理を簡単に説明する。前述のようにデー
タプロセツサ13によつて求められた座標変換の
データは、三次元の空間に存在する線のデータで
ある。しかし、走査形デイスプレイ11で表示で
きるのは、二次元の座標であり、しかも表示装置
がラスタスキヤン方式のものである。そこで、デ
ータプロセツサ13によつて求められた線のデー
タは、走査形デイスプレイ11の表示画面の左上
を二次元の表示座標の原点(xO,yO)に置換え
る必要がある。そこで、データプロセツサ13は
先に求めたモデルの輪郭線の線データから二次元
の表示座標に適合する境界線データを次のように
して求める。すなわち、走査形デイスプレイ11
のスクリーンの左上を二次元の表示座標の原点
(xO,yO)としたとき、モデルの輪郭線を表わ
す線がスクリーンの輪郭線(特に第2A図に示す
上辺、左辺または右辺)を切る点(すなわち、表
示すべき1本の線の中でy座標値が最も小さい
点;以下、切点という)の座標データ(AHN,
AVN)と傾きデータ(△x,△y)を求める。
ここで、切点の座標データに含まれるデータ
AHNは、表示座標の横方向の位置、換言すれば
走査形デイスプレイ11の電子ビームが水平走査
しているときの水平位置に対してどの水平位置か
ら線を表示すべきかを表わす横方向軸(x軸)の
起点の位置データである。データAVNは、表示
すべき線がスクリーンの輪郭線と交差する点の縦
方向の位置、すなわち電子ビームの垂直位置であ
る。たとえば、走査形デイスプレイ11のスクリ
ーンが横方向に256ドツト、縦方向に256ドツト
(すなわち256本の水平走査線)とすれば、横軸ま
たは水平方向の位置データがx=0ないし255か
らなり、縦方向または垂直方向の位置データがy
=0〜255からなる。たとえば、スクリーン上に
表示される線が第2A図に示すようにスクリーン
の輪郭線の左辺と交差する場合は、AHN=0、
AVN=0〜255である。また、スクリーン上に
表示される線が右辺と交差する場合は、AHN=
255,AVN=0〜255である。また、スクリーン
上に表示される線が上辺と交差する場合は、
AHN=0〜255,AVN=0である。
Next, the principle of the present invention will be briefly explained with reference to FIGS. 1 to 2C. The coordinate transformation data obtained by the data processor 13 as described above is data of lines existing in a three-dimensional space. However, the scanning display 11 can only display two-dimensional coordinates, and moreover, the display device is of a raster scan type. Therefore, in the line data obtained by the data processor 13, it is necessary to replace the upper left of the display screen of the scanning display 11 with the origin (xO, yO) of the two-dimensional display coordinates. Therefore, the data processor 13 obtains boundary line data that matches the two-dimensional display coordinates from the previously obtained line data of the contour line of the model in the following manner. That is, the scanning display 11
When the upper left of the screen is the origin of the two-dimensional display coordinates (xO, yO), the point where the line representing the model outline cuts the screen outline (especially the upper, left, or right side shown in Figure 2A) is the point ( In other words, the coordinate data (AHN,
AVN) and slope data (△x, △y).
Here, the data included in the coordinate data of the cutting point
AHN is the horizontal position of the display coordinates, in other words, the horizontal axis (x This is the position data of the starting point of the axis). The data AVN is the vertical position of the point where the line to be displayed intersects the screen contour, ie the vertical position of the electron beam. For example, if the screen of the scanning display 11 has 256 dots in the horizontal direction and 256 dots in the vertical direction (that is, 256 horizontal scanning lines), the horizontal axis or horizontal position data consists of x=0 to 255, Vertical or vertical position data is y
= Consists of 0 to 255. For example, if a line displayed on the screen intersects the left side of the screen outline as shown in Figure 2A, then AHN=0,
AVN=0-255. Also, if the line displayed on the screen intersects the right side, then AHN=
255, AVN=0 to 255. Also, if the line displayed on the screen intersects the top edge,
AHN=0 to 255, AVN=0.

ところで、三次元のモデル座標に存在するモデ
ルの輪郭線を表わす線が視界内にない場合は、ス
クリーン上に表示されず、第2B図または第2C
図に示すようにスクリーンの輪郭線の外に存在す
ることになる。この場合は、スクリーンの外に存
在する線をスクリーンの輪郭線の右辺または左辺
に存在するものとみなす。
By the way, if the line representing the outline of the model that exists in the three-dimensional model coordinates is not within the field of view, it will not be displayed on the screen and will not be displayed on the screen in Figure 2B or 2C.
As shown in the figure, it will exist outside the outline of the screen. In this case, the line existing outside the screen is considered to be on the right or left side of the screen outline.

ところで、順次走査方式の走査形デイスプレイ
11でモデルの輪郭線を表示する場合は、垂直単
位△yが1水平走査線の幅(すなわち△y=1)
となる。そこで、傾きデータBNは、1水平走査
線ごとに横方向へどれだけ移動した水平位置であ
るかを示す△xのみで表わすことができる。ま
た、走査形デイスプレイ11が飛越走査方式の場
合は、垂直単位△yが2となる。
By the way, when displaying the outline of a model on a scanning display 11 using a progressive scanning method, the vertical unit Δy is the width of one horizontal scanning line (that is, Δy=1).
becomes. Therefore, the tilt data BN can be expressed only by Δx, which indicates how far the horizontal position has moved in the horizontal direction for each horizontal scanning line. Further, when the scanning display 11 is of an interlaced scanning type, the vertical unit Δy is 2.

なお、スクリーン上に表示される線は、必ずし
もスクリーンの輪郭線の左辺、右辺または上辺を
切るものでなく、線の延長線上のある点で左辺、
右辺または上辺と交差する場合がある。その場合
は、線のうちの不要な部分を消す必要がある。そ
こで、データプロセツサ13は、実際には切点座
標データ(AHN,AVNおよび傾きデータBN)
に加えて、線の可視または不可視を表わす信号
(たとえば可視を論理「1」とし、不可視を論理
「0」とする信号)を発生する。この場合は、ス
クリーン上に表示される線は、左辺、右辺または
上辺の切点位置から表示すべき縦方向位置までの
部分について不可視であることを表わす信号が付
加され、表示すべき部分について可視であること
を表わす信号が付加されることになる。
Note that the line displayed on the screen does not necessarily cut the left side, right side, or top side of the screen outline; it cuts the left side,
It may intersect with the right side or the top side. In that case, it is necessary to erase unnecessary parts of the lines. Therefore, the data processor 13 actually uses cut point coordinate data (AHN, AVN and slope data BN).
In addition, a signal indicating whether the line is visible or invisible (eg, a signal with visible as logic "1" and invisible as logic "0") is generated. In this case, a signal is added to the line displayed on the screen to indicate that the part from the cut point on the left, right, or top side to the vertical position to be displayed is invisible, and the part to be displayed is visible. A signal indicating that this is the case will be added.

次に、この発明の特徴となるイメージゼネレー
タ20の詳細を説明する。
Next, details of the image generator 20, which is a feature of the present invention, will be explained.

第3図はイメージゼネレータ20の詳細な回路
図である。構成において、データプロセツサ13
は走査形デイスプレイ11の垂直ブランキング期
間において、次の1フレームで表示すべき複数の
線の境界線データ、すなわち切点位置データ
AHN,AVNおよび傾きデータをランダムアク
セスメモリ(以下RAM)21aに与えるととも
に、書込アドレスデータ(WA)をセレクタ22
aに与える。RAM21aは1フレームで表示す
べき最大数の線の境界線データを記憶できる記憶
容量を有する。セレクタ22aは垂直ブランキン
グ期間においてデータプロセツサ13から与えら
れる書込アドレスをRAM21aに与え、水平走
査期間において水平位置データ(HA)を読出ア
ドレスデータ(RA)としてRAM21aに与え
る。ここで、水平位置データとは、走査形デイス
プレイ11の電子ビームが水平走査している位置
をいう。水平位置データは、電子ビームの水平走
査に同期して計数動作する水平カウンタ(図示せ
ず)によつて発生される。なお、以下の説明で
は、水平位置を水平アドレスと称する。RAM2
1aは1フレームで表示すべき複数の線(最大32
本の直線)ごとに切点位置データ(AHN,
AVN)および傾きデータ(BN)を記憶し、電
子ビームの1回の水平走査ごとにその記憶内容を
水平アドレスに同期して順次読出すものである。
RAM21aから読出された切点位置データ
AHN,AVN、傾きデータBNは、それぞれ対応
するレジスタ23b,23a,23cに与えられ
ロードされる。レジスタ23cは傾きデータBN
を加算器24に与える。レジスタ23bは横方向
の切点位置データAHNをセレクタ22bに与え
る。レジスタ23aは縦方向の切点位置データ
AVNを比較器25に与える。比較器25には、
電子ビームの垂直方向の位置、すなわち垂直位置
データ(VA)が与えられる。ここで、垂直位置
データは、電子ビームの垂直位置を指定するため
の垂直同期カウンタの計数値であり、以下の説明
では垂直アドレスと称す。比較器25は、垂直ア
ドレスVAがデータAVN以上になつたことを検
出するものであつて、その検出状態を表わす信号
をセレクタ22bに与える。セレクタ22bは、
比較器25が検出信号を導出しないときレジスタ
23bの内容(AHN)をRAM21bに与え、
比較器25が検出信号を導出したとき加算器24
の計数値をRAM21bに与える。ここで、加算
器24はレジスタ23cの内容(BN)とレジス
タ23dの内容(HCN)とを水平走査期間にお
ける一定時間ごとに加算動作するものである。こ
の一定時間は、1水平走査期間に相当する時間を
1フレームで表示可能な線の最大数(32)で除算
した時間に等しい。ここで、データHCNは、ス
クリーン上に表示すべき線が各水平走査線と交差
する水平位置データすなわち交点位置データであ
る。
FIG. 3 is a detailed circuit diagram of the image generator 20. In the configuration, the data processor 13
is the boundary line data of a plurality of lines to be displayed in the next frame during the vertical blanking period of the scanning display 11, that is, the cutting point position data.
AHN, AVN and slope data are given to the random access memory (hereinafter referred to as RAM) 21a, and write address data (WA) is given to the selector 22.
give to a. The RAM 21a has a storage capacity capable of storing boundary line data of the maximum number of lines to be displayed in one frame. The selector 22a provides the write address given from the data processor 13 to the RAM 21a during the vertical blanking period, and provides the horizontal position data (HA) as read address data (RA) to the RAM 21a during the horizontal scanning period. Here, the horizontal position data refers to the position where the electron beam of the scanning display 11 is horizontally scanning. The horizontal position data is generated by a horizontal counter (not shown) that performs counting operations in synchronization with the horizontal scanning of the electron beam. Note that in the following description, the horizontal position will be referred to as a horizontal address. RAM2
1a is for multiple lines to be displayed in one frame (up to 32
Cut point position data (AHN,
AVN) and tilt data (BN) are stored, and the stored contents are sequentially read out in synchronization with the horizontal address for each horizontal scan of the electron beam.
Cut point position data read from RAM21a
AHN, AVN, and slope data BN are applied to and loaded into corresponding registers 23b, 23a, and 23c, respectively. Register 23c is slope data BN
is given to the adder 24. The register 23b provides horizontal cut point position data AHN to the selector 22b. Register 23a is vertical cut point position data.
AVN is given to the comparator 25. The comparator 25 has
The vertical position of the electron beam, ie vertical position data (VA), is given. Here, the vertical position data is a count value of a vertical synchronization counter for specifying the vertical position of the electron beam, and will be referred to as a vertical address in the following explanation. Comparator 25 detects that vertical address VA has exceeded data AVN, and provides a signal representing the detected state to selector 22b. The selector 22b is
When the comparator 25 does not derive a detection signal, the contents (AHN) of the register 23b are given to the RAM 21b,
When the comparator 25 derives the detection signal, the adder 24
The count value is given to the RAM 21b. Here, the adder 24 adds the contents (BN) of the register 23c and the contents (HCN) of the register 23d at fixed time intervals during the horizontal scanning period. This fixed time is equal to the time equivalent to one horizontal scanning period divided by the maximum number of lines (32) that can be displayed in one frame. Here, the data HCN is horizontal position data where a line to be displayed on the screen intersects each horizontal scanning line, ie, intersection position data.

RAM21bは、1フレームで表示可能な最大
数の各線ごとにデータHCNを記憶するための記
憶エリアを含む。このRAM21bには、水平ア
ドレス(HA)が書込アドレス(WA)および読
出アドレス(RA)として与えられるとともに、
書込制御回路26aから書込パルス(WP)が与
えられる。そして、RAM21bは、スクリーン
上に表示すべき線ごとに、水平走査線と交差する
交点位置データHCNを記憶する。
The RAM 21b includes a storage area for storing data HCN for each of the maximum number of lines that can be displayed in one frame. A horizontal address (HA) is given to this RAM 21b as a write address (WA) and a read address (RA), and
A write pulse (WP) is applied from the write control circuit 26a. The RAM 21b stores intersection position data HCN that intersects with the horizontal scanning line for each line to be displayed on the screen.

RAM21bから読出された交点位置データ
HCNはレジスタ23dおよびセレクタ22cに
与えられる。セレクタ22cには、さらに水平ア
ドレスHAが与えられる。セレクタ22cは、水
平ブランキング信号期間においてRAM21bか
ら読出された交点位置データHCNを書込アドレ
スとしてRAM21cに与え、水平走査期間にお
いて水平アドレスを読出アドレスとしてRAM2
1cに与える。
Intersection position data read from RAM21b
HCN is applied to register 23d and selector 22c. The selector 22c is further given a horizontal address HA. The selector 22c supplies the intersection position data HCN read from the RAM 21b as a write address to the RAM 21c during the horizontal blanking signal period, and supplies the horizontal address as a read address to the RAM 21c during the horizontal scanning period.
Give to 1c.

したがつて、RAM21a、セレクタ22aお
よび22b、レジスタ23a〜23d、加算器2
4ならびに比較器25は、表示すべきモデルの輪
郭線または線が水平走査線と交わる交点位置を求
める交点位置演算手段として働く。そして、
RAM21bは交点位置演算手段によつて求めら
れた交点位置データを記憶しておき、その交点位
置データでRAM21cの書込アドレスを指定す
る働きをする。
Therefore, RAM 21a, selectors 22a and 22b, registers 23a to 23d, adder 2
4 and the comparator 25 function as an intersection point calculation means for determining the intersection point where the outline or line of the model to be displayed intersects with the horizontal scanning line. and,
The RAM 21b stores the intersection position data obtained by the intersection position calculation means, and functions to designate the write address of the RAM 21c using the intersection position data.

前記RAM21cには第2の記憶手段の一例の
リードオンリメモリ(以下ROM)27から線
(またはモデルの輪郭を表わす線)の種類を識別
するデータが与えられる。このROM27は1フ
レームで表示可能な複数の線ごとに線の種類を識
別するデータを記憶している。たとえば、走査形
デイスプレイ11がカラー表示可能なものであれ
ば、ROM27は線の種類別に表示すべき色に相
当する色コードを記憶している。なお、走査形デ
イスプレイ11が白黒テレビの場合であれば、
ROM27は色コードに代えて明度コードを予め
設定記憶しておく。このROM27は水平アドレ
スによつて読出アドレスが指定される。さらに、
RAM21cには書込回路26bから書込パルス
が与えられる。したがつて、RAM21cは表示
すべき水平走査線との交点位置データHCNによ
つて指定されたアドレスに、ROM27から読出
された線の種類の識別データを書込パルスに同期
して順次記憶するものである。
The RAM 21c is given data for identifying the type of line (or line representing the contour of the model) from a read-only memory (hereinafter referred to as ROM) 27, which is an example of second storage means. This ROM 27 stores data that identifies the type of line for each of a plurality of lines that can be displayed in one frame. For example, if the scanning display 11 is capable of color display, the ROM 27 stores color codes corresponding to the colors to be displayed for each type of line. Note that if the scanning display 11 is a black and white television,
The ROM 27 stores a brightness code in place of the color code. The read address of this ROM 27 is designated by a horizontal address. moreover,
A write pulse is applied to the RAM 21c from the write circuit 26b. Therefore, the RAM 21c sequentially stores line type identification data read from the ROM 27 in synchronization with the write pulse at the address specified by the intersection position data HCN with the horizontal scanning line to be displayed. It is.

前記RAM21cから読出されたデータすなわ
ちスクリーン上に表示すべき線と水平走査線との
交点位置に表示すべき色コードが、レジスタ23
eに与えられロードされる。レジスタ23eにロ
ードされている色コードは色発生回路28に与え
られる。色発生回路28は、色コードに基づいて
走査形デイスプレイ11でカラー表示するための
色信号を含むビデオ信号を発生し、走査形デイス
プレイ11に与える。
The data read from the RAM 21c, that is, the color code to be displayed at the intersection of the line to be displayed on the screen and the horizontal scanning line, is stored in the register 23.
e and is loaded. The color code loaded into the register 23e is given to the color generation circuit 28. The color generation circuit 28 generates a video signal containing a color signal for color display on the scanning display 11 based on the color code, and supplies it to the scanning display 11.

第4A図〜第4C図はこの発明の動作を説明す
るためのデータの流れを図解的に示した回路図で
あり、特に第4A図は垂直ブランキング信号期間
の場合を示し、第4B図は水平走査期間の場合を
示し、第4C図は水平ブランキング信号期間の場
合を示す。なお、図中において白抜きの線がデー
タの流れを示し、実線がデータの流れていない回
路接続状態を示すものとする。
4A to 4C are circuit diagrams schematically showing the flow of data to explain the operation of the present invention. Particularly, FIG. 4A shows the case of the vertical blanking signal period, and FIG. 4B shows the case of the vertical blanking signal period. The case of the horizontal scanning period is shown, and FIG. 4C shows the case of the horizontal blanking signal period. Note that in the figure, white lines indicate the flow of data, and solid lines indicate a circuit connection state in which no data flows.

第5図はこの発明の動作を説明するための走査
形デイスプレイ11の表示状態を図解的に示した
図である。たとえば、第1の線LN1はスクリー
ンの右辺と交差するものであつて、切点位置デー
タをAHN=255,AVN=3とし、傾きデータを
BN=−3とした場合を示す。第2の線LN2は、
スクリーンの左辺を交差するものであつて、切点
位置データをAHN=0,AVN=6とし、傾き
データをBN=1とした場合を示す。なお、1フ
レームでは最大32本の線を表示できるが、以下の
動作説明では説明の簡略化のために2本の線LN
1およびLN2を表示する場合を説明するものと
する。
FIG. 5 is a diagram schematically showing the display state of the scanning display 11 for explaining the operation of the present invention. For example, the first line LN1 intersects the right side of the screen, the cut point position data is AHN = 255, AVN = 3, and the slope data is
The case where BN=-3 is shown. The second line LN2 is
A case is shown in which the left side of the screen is crossed, the cut point position data is AHN=0, AVN=6, and the slope data is BN=1. Note that a maximum of 32 lines can be displayed in one frame, but in the following operation explanation, two lines LN are used to simplify the explanation.
The case where 1 and LN2 are displayed will be explained.

(1) 垂直ブランキング信号期間の動作 前記データプロセツサ13、は書込アドレス
としてRAM21aの先頭アドレスをセレクタ
22aを介してRAM21aに与えるととも
に、線LN1の境界線データすなわち切点位置
データ(255,3)および傾きデータ(−3)
をRAM21aに与える。応じて、RAM21
aの先頭番地には、線LN1の境界線データ
(AHN=255,AVN=3,BN=−3)が書込
まれる。つづいて、データプロセツサ13は、
線LN2を2番地に書込むための書込アドレス
をセレクタ22aを介してRAM21aに与え
るとともに、線LN2の境界線データ(AHN
=0、AVN=6、BN=1)をRAM21aに
与える。応じて、RAM21aは2番地に線
LN2の境界線データ(AHN=0、AVN=
6、BN=1)を書込み記憶する。
(1) Operation during the vertical blanking signal period The data processor 13 provides the start address of the RAM 21a as a write address to the RAM 21a via the selector 22a, and also writes the boundary line data of the line LN1, that is, the cut point position data (255, 3) and slope data (-3)
is given to the RAM 21a. RAM21 depending on
Boundary line data (AHN=255, AVN=3, BN=-3) of line LN1 is written to the first address of a. Next, the data processor 13
The write address for writing line LN2 to address 2 is given to RAM 21a via selector 22a, and the boundary line data (AHN
=0, AVN=6, BN=1) is given to the RAM 21a. Accordingly, RAM21a has a line at address 2.
LN2 boundary line data (AHN=0, AVN=
6, BN=1) is written and stored.

(2) 水平走査期間および水平ブランキング信号期
間の動作 今、電子ビームの垂直位置が0、すなわち1
本めの水平走査を開始した場合を想定すると、
電子ビームの水平アドレスがセレクタ22を介
して読出アドレスとしてRAM21aに与えら
れる。このとき、RAM21aは各線を記憶し
ている番地領域が1水平走査期間において電子
ビームの水平位置に同期して順次アドレス指定
されて、その記憶内容が読出される。まず最初
に、線LN1の境界線データAVN,AHN,
BNが読出され、それぞれ対応するレジスタ2
3a,23b,23cに与えられロードされ
る。このとき、垂直アドレスが0であるため、
比較器25は垂直アドレス(VA=0)が縦方
向の切点位置データ(AVN=3)よりも小さ
いことを判断し、その検出信号をセレクタ22
bに与える。応じて、セレクタ22bはレジス
タ23bに記憶されている横方向の切点位置デ
ータ(AHN=255)を選択し、交点位置デー
タとしてRAM21bに与える。RAM21b
はそのときの水平アドレス(HA=0〜7)で
指定される記憶エリアに書込制御回路26aか
ら与えられる書込パルスに同期して線LN1の
交点位置データ(HCN=255)として記憶す
る。
(2) Operation during horizontal scanning period and horizontal blanking signal period Now, the vertical position of the electron beam is 0, that is, 1
Assuming that we start the main horizontal scan,
The horizontal address of the electron beam is given to the RAM 21a via the selector 22 as a read address. At this time, address areas in the RAM 21a storing each line are sequentially addressed in synchronization with the horizontal position of the electron beam during one horizontal scanning period, and the stored contents are read out. First of all, the boundary line data AVN, AHN,
BN is read and the corresponding register 2
3a, 23b, 23c and is loaded. At this time, since the vertical address is 0,
The comparator 25 determines that the vertical address (VA=0) is smaller than the vertical cut point position data (AVN=3), and sends the detection signal to the selector 22.
give to b. In response, the selector 22b selects the horizontal cut point position data (AHN=255) stored in the register 23b and supplies it to the RAM 21b as the intersection point position data. RAM21b
is stored as the intersection position data (HCN=255) of the line LN1 in synchronization with the write pulse given from the write control circuit 26a in the storage area specified by the horizontal address (HA=0 to 7) at that time.

つづいて、水平アドレスHAが8〜15の期間
において、RAM21aに記憶されている線
LN2の境界線データAVN,AHN,BNが読
出され、それぞれ対応するレジスタ23a,2
3b,23cに与えられロードされる。この場
合においても、比較器25は垂直アドレスVA
が線LN2の切点位置データAVNよりも小さ
いことを検出し、その検出信号をセレクタ22
bに与える。応じて、セレクタ22bはレジス
タ23bにロードされているデータAHN(=
0)をRAM21bに与える。RAM21bは
水平アドレス(HA=8〜15)に対応する記憶
エリアに線LN2のデータAHNを交点位置デ
ータ(HCN=0)として記憶する。このよう
な動作が垂直アドレス(VA=0)の水平走査
期間中、RAM21aに記憶されている線ごと
に行われる。
Next, in the period when the horizontal address HA is 8 to 15, the line stored in the RAM 21a is
Boundary line data AVN, AHN, BN of LN2 are read out, and the corresponding registers 23a, 2
3b and 23c and loaded. In this case as well, the comparator 25 outputs the vertical address VA.
is smaller than the cut point position data AVN of the line LN2, and the detection signal is sent to the selector 22.
give to b. Accordingly, the selector 22b selects the data AHN (=
0) is given to the RAM 21b. The RAM 21b stores data AHN of the line LN2 as intersection position data (HCN=0) in a storage area corresponding to the horizontal address (HA=8 to 15). Such an operation is performed for each line stored in the RAM 21a during the horizontal scanning period of the vertical address (VA=0).

前述の動作が垂直アドレスVA=1,2のそ
れぞれの水平走査期間中行われる。この場合は
いずれも比較器25がデータAVNよりも垂直
アドレスの小さいことの検出信号を導出するの
で1本めの水平走査線の水平走査期間と同様の
動作が行われることになる。
The above-described operation is performed during each horizontal scanning period for vertical addresses VA=1 and 2. In both cases, the comparator 25 derives a detection signal indicating that the vertical address is smaller than the data AVN, so the same operation as in the horizontal scanning period of the first horizontal scanning line is performed.

なお、垂直アドレスVAが0〜2の間は、画面
の左端または右端に線を表示するためのデータが
RAM21cに書込まれるので、走査形デイスプ
レイ11は線が表示されない。
Note that when the vertical address VA is between 0 and 2, the data for displaying a line on the left or right edge of the screen is
Since the data is written to the RAM 21c, no lines are displayed on the scanning display 11.

そして、垂直アドレスVAが3の場合は、線
LN1の境界線データAVN,AHN,BNが読出
されたタイミングにおいて、比較器25が一致出
力を導出する。応じて、セレクタ22bは加減算
カウンタ24の計数値を選択する。このとき、加
減算カウンタ24は、レジスタ23cから与えら
れる傾きデータBN(=−3)とレジスタ23d
から与えられる交点位置データHCN(=AHN=
255)とを加算し、その加算値(252)をセレクタ
22bに与えている。このため、RAM21bは
線LN1に対応する記憶エリアに次の水平走査線
と線LN1とが交差する交点P11の交点位置デ
ータHCN(=252)を記憶する。なお、線LN2の
場合は、比較器25がデータAVNよりも垂直ア
ドレスVAの大きいことを検出しないので、デー
タAHN(=0)が交点位置データHCNとして線
LN2に対応するRAM21bのエリアに記憶さ
れることになる。
And if the vertical address VA is 3, the line
At the timing when the boundary line data AVN, AHN, and BN of LN1 are read, the comparator 25 derives a coincidence output. Accordingly, the selector 22b selects the count value of the addition/subtraction counter 24. At this time, the addition/subtraction counter 24 receives the slope data BN (=-3) given from the register 23c and the register 23d.
The intersection position data HCN (=AHN=
255), and the added value (252) is given to the selector 22b. Therefore, the RAM 21b stores the intersection position data HCN (=252) of the intersection P11 where the next horizontal scanning line and the line LN1 intersect in the storage area corresponding to the line LN1. In the case of line LN2, the comparator 25 does not detect that the vertical address VA is larger than the data AVN, so the data AHN (=0) is used as the intersection position data HCN for the line.
It will be stored in the area of RAM 21b corresponding to LN2.

そして、次の水平ブランキング信号期間におい
ては、前の水平走査期間においてRAM21bに
書込まれた線LN1およびLN2の交点位置デー
タHCNに基づいてRAM21cの書込アドレス
が指定される。このため、RAM21cはそのと
きROM27から読出されている線LN1に対応
する色コードLCを、線LN1に対応するエリアに
記憶する。なお、線LN2に対応するRAM21
cのエリアには、画面の左端または右端に線を表
示するためのデータが書込まれることになる。
Then, in the next horizontal blanking signal period, the write address of the RAM 21c is specified based on the intersection position data HCN of the lines LN1 and LN2 written in the RAM 21b in the previous horizontal scanning period. Therefore, the RAM 21c stores the color code LC corresponding to the line LN1 read from the ROM 27 at that time in the area corresponding to the line LN1. In addition, RAM21 corresponding to line LN2
Data for displaying a line at the left or right end of the screen will be written in area c.

この水平ブランキング信号期間において、色発
生回路27は黒レベル(BL)を表わす信号を走
査形デイスプレイ11に与えている。
During this horizontal blanking signal period, the color generating circuit 27 provides a signal representing the black level (BL) to the scanning display 11.

次に垂直アドレスがVA=4の水平走査期間に
おいては、垂直アドレスが5の水平走査期間にお
いて線LN1と交差する交点位置P12の交点位
置データHCN(=249)がRAM21bの線LN1
に対応するエリアに書込まれる。このとき、線
LN2に対応するRAM21bのエリアには、交
点位置データHCNとしてデータAHN(=0)が
前述の場合と同様にして書込まれる。
Next, in the horizontal scanning period when the vertical address is VA=4, the intersection position data HCN (=249) of the intersection position P12 that intersects with the line LN1 in the horizontal scanning period when the vertical address is 5 is the line LN1 of the RAM 21b.
is written to the area corresponding to. At this time, the line
In the area of the RAM 21b corresponding to LN2, data AHN (=0) is written as intersection position data HCN in the same manner as in the above case.

これと同時に、垂直アドレスVA(=4)の水
平走査期間においては、セレクタ22cが垂直ア
ドレスHAを読出アドレスとしてRAM21cに
与える。このため、RAM21cは水平アドレス
HAが交点位置P1に対応するアドレスのタイミ
ングで線LN1の交点位置P11で表示すべき色
コードをレジスタ23eに与えてロードさせる。
この線LN1の交点位置P11で表示すべき色コ
ードが色発生回路27で色信号に変換されて走査
形デイスプレイ11に与えられる。この結果、線
LN1の一部が表示されることになる。
At the same time, during the horizontal scanning period of vertical address VA (=4), selector 22c provides vertical address HA as a read address to RAM 21c. Therefore, RAM21c has horizontal address
At the timing of the address corresponding to the intersection position P1, HA gives the color code to be displayed at the intersection position P11 of the line LN1 to the register 23e and causes it to be loaded.
The color code to be displayed at the intersection point P11 of this line LN1 is converted into a color signal by the color generation circuit 27 and is applied to the scanning display 11. As a result, the line
Part of LN1 will be displayed.

以後同様にして、垂直アドレスがVA=5にお
ける水平走査期間において、比較器25は線LN
1のデータAVNよりも垂直アドレスVAの方が
大きいことを検出してセレクタ22bに加算器2
4の出力を選択させる。このため、RAM21b
には新たな交点位置P13の交点位置データ
HCN(=246)が線LN1に対応するRAM21b
のエリアに書込まれる。
Thereafter, in the same way, during the horizontal scanning period when the vertical address is VA=5, the comparator 25 selects the line LN.
It is detected that the vertical address VA is larger than the data AVN of 1, and the adder 2 is sent to the selector 22b.
Select output 4. For this reason, RAM21b
is the intersection position data of the new intersection position P13.
RAM21b where HCN (=246) corresponds to line LN1
is written in the area.

一方、垂直アドレスがVA=6の水平走査期間
においては、線LN2の境界線データが読出され
たタイミングにおいて、比較器25が加算器24
を選択させるための信号をセレクタ22bに与え
る。これによつて、線LN2に対応するRAM2
1bのエリアには、次の水平走査期間において線
LN2と交差する交点位置P21の交点位置デー
タHCN(=1)が書込まれる。
On the other hand, in the horizontal scanning period when the vertical address is VA=6, the comparator 25 is connected to the adder 24 at the timing when the boundary line data of line LN2 is read.
A signal for selecting is given to the selector 22b. By this, RAM2 corresponding to line LN2
In area 1b, there will be a line in the next horizontal scanning period.
Intersection position data HCN (=1) of intersection position P21 intersecting LN2 is written.

以後同様にして、線LN1およびLN2が次の
水平走査線と交差する水平アドレスHAに基づい
て、その線の色コードが表示すべき水平アドレス
HAに対応するRAM21cのエリアに記憶され
る。そして、RAM21cに記憶された色コード
に基づいて次の水平走査期間において、線の種類
に対応する色が走査形デイスプレイ11で表示さ
れる。
Thereafter, in the same way, based on the horizontal address HA where lines LN1 and LN2 intersect with the next horizontal scanning line, the horizontal address where the color code of that line should be displayed is determined.
It is stored in the area of RAM 21c corresponding to HA. Then, in the next horizontal scanning period, the color corresponding to the type of line is displayed on the scanning display 11 based on the color code stored in the RAM 21c.

このように、データプロセツサ13から供給さ
れる境界線データに基づいて、表示すべき線と水
平走査線との交点位置データを求め、この交点位
置データをRAM11cの書込データとして用い
ているので、RAM21cの書込アドレスの指定
を行うための回路構成が簡単かつ安価に製作でき
る利点がある。また、モデルを面で表示すること
なく、モデルの輪郭を線で表示しているため、
RAM21cの記憶容量を大幅に低減でき、安価
に製作できる利点がある。
In this way, the intersection position data between the line to be displayed and the horizontal scanning line is obtained based on the boundary line data supplied from the data processor 13, and this intersection position data is used as data to be written in the RAM 11c. , there is an advantage that the circuit configuration for specifying the write address of the RAM 21c can be easily and inexpensively manufactured. Also, because the outline of the model is displayed as a line rather than as a surface,
This has the advantage that the storage capacity of the RAM 21c can be significantly reduced and it can be manufactured at low cost.

ところで、走査形デイスプレイ11のスクリー
ン上に表示すべき線が多数ある場合は、スクリー
ン上のある1点で集中する場合がある。このよう
な場合において、モデルを面で表示しようとすれ
ば、RAM21cに相当するメモリが線ごとに必
要となる。なぜならば、モデルの輪郭線が交差す
る場合は、その交点については後書き優先になる
ので、先の線のデータが消えることになり、先の
線と交差する部分で囲まれる輪郭線のデータ(す
なわち面)がなくなつてしまい、不連続になる。
このため、モデルの面が不要な線によつて切られ
たり、不要な線が追加されて本来表示すべき形状
でない面が表示されることになる。これを防止す
るためには、モデルの輪郭線ごとに位置データを
記憶しておき、他の線によつて影響を受けないよ
うにする必要がある。この場合、この実施例の
RAM21cに対応するメモリが走査形デイスプ
レイ11のスクリーン上に表示される線の数だけ
必要となり、部品点数が大幅に増加し極めて高価
となる。
By the way, when there are many lines to be displayed on the screen of the scanning display 11, the lines may be concentrated at one point on the screen. In such a case, if the model is to be displayed as a surface, a memory equivalent to the RAM 21c is required for each line. This is because when the contour lines of the model intersect, the intersection takes precedence over writing afterward, so the data of the previous line disappears, and the data of the contour line surrounded by the part that intersects with the previous line (i.e. (surface) disappears and becomes discontinuous.
As a result, surfaces of the model may be cut by unnecessary lines, or unnecessary lines may be added, resulting in surfaces that are not originally intended to be displayed. In order to prevent this, it is necessary to store position data for each contour line of the model so that it is not influenced by other lines. In this case, in this example
Memory corresponding to the RAM 21c is required for the number of lines displayed on the screen of the scanning display 11, which greatly increases the number of parts and makes it extremely expensive.

これに対してこの実施例では、面を表示するこ
となく線を表示し、しかも線を表示するために境
界線データに基づいて演算された交点位置データ
でRAM21cの書込アドレスを指定しているの
で、三次元的に線を表示する場合であつても、簡
単な回路構成であり、少ない部品点数で線の切れ
を生じることなく表示制御できる利点がある。こ
れによつて、この実施例によれば、三次元的に変
化する線を簡単な構成かつ安価にして表示できる
ので、ビデオゲーム装置のような低価格のものに
も適用でき、ビデオゲーム内容が立体的な表示を
必要とするものにも適用できる。
On the other hand, in this embodiment, lines are displayed without displaying surfaces, and in order to display the lines, the write address of the RAM 21c is specified by intersection position data calculated based on boundary line data. Therefore, even when displaying lines three-dimensionally, the circuit configuration is simple, and there is an advantage that the display can be controlled with a small number of parts without causing line breaks. As a result, according to this embodiment, lines that change three-dimensionally can be displayed with a simple configuration and at low cost, so that it can be applied to low-cost devices such as video game devices, and the content of video games can be improved. It can also be applied to things that require three-dimensional display.

以上のように、この発明によれば、画像表現能
力が多少劣るが、構成を簡略化でき、安価となる
ので、低価格化が要請されるビデオゲーム機にも
適用できる。また、スクリーンの左辺、上辺また
は右辺を切る点のデータを線の開始点としている
ので、始点座標がスクリーンの表示画面内に限ら
れず、見かけ上スクリーンの枠外の空間から延び
るような線を表示できる。
As described above, the present invention has a somewhat inferior image representation ability, but the structure can be simplified and the cost can be reduced, so that it can be applied to video game machines that require lower prices. Also, since the data of the point that cuts the left side, top side, or right side of the screen is used as the starting point of the line, the starting point coordinates are not limited to the display screen of the screen, and it is possible to display a line that appears to extend from space outside the screen frame. .

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

第1図はこの発明の原理を表わすブロツク図で
ある第2A図、第2B図および第2C図はこの発
明の原理を説明するための走査形デイスプレイの
表示状態を図解的に示した図である。第3図はこ
の発明の一実施例の具体的な回路図である。第4
A図、第4B図および第4C図はこの発明の動作
を説明するための垂直ブランキング信号期間、水
平走査期間および水平ブランキング信号期間別の
データの流れを図解的に示した図である。第5図
は第3図の動作を説明するための走査形デイスプ
レイ11の表示状態を図解的に示した図である。 図において、11は走査形デイスプレイ、12
は視点データ発生装置、12aは操作部、12b
はシユミレーシヨンコンピユータ、13はデータ
プロセツサ、14はコンピユータ、15はクロツ
ク発生器、20はイメージゼネレータ、21a〜
21cはRAM、22a〜22cはセレクタ、2
3a〜23eはレジスタ、24は加算器、25は
比較器、26a,26bは書込制御回路、27は
ROM、28は色発生回路を示す。
FIG. 1 is a block diagram showing the principle of this invention. FIGS. 2A, 2B and 2C are diagrams schematically showing the display state of a scanning display for explaining the principle of this invention. . FIG. 3 is a specific circuit diagram of an embodiment of the present invention. Fourth
FIGS. 4A, 4B, and 4C are diagrams schematically showing the data flow for each vertical blanking signal period, horizontal scanning period, and horizontal blanking signal period to explain the operation of the present invention. FIG. 5 is a diagram schematically showing the display state of the scanning display 11 for explaining the operation of FIG. 3. In the figure, 11 is a scanning display; 12 is a scanning display;
12a is a viewpoint data generator, 12a is an operation unit, and 12b is a viewpoint data generator.
13 is a simulation computer; 13 is a data processor; 14 is a computer; 15 is a clock generator; 20 is an image generator;
21c is RAM, 22a to 22c are selectors, 2
3a to 23e are registers, 24 is an adder, 25 is a comparator, 26a and 26b are write control circuits, and 27 is a
ROM, 28 indicates a color generation circuit.

Claims (1)

【特許請求の範囲】 1 三次元的に変化する線を走査形デイスプレイ
のスクリーン上に表示させるための表示制御装置
であつて、 前記走査形デイスプレイの垂直ブランキング期
間において、1フレームで表示すべき複数の線ご
とに、スクリーンの輪郭を切る点の垂直位置また
は水平位置を示す切点データを含む座標データ
と、各線の勾配データとを発生するデータ発生手
段、 前記データ発生手段によつて発生された或る垂
直単位に表示すべき前記各線の切点データと前記
勾配データとを記憶する第1の記憶手段、 前記走査形デイスプレイの電子ビームの垂直位
置を示す垂直走査アドレスが前記各線の切点デー
タの垂直位置よりも大きいことを順次検出する検
出手段、 前記検出手段出力に応答して、前記走査形デイ
スプレイの水平走査期間に、前記各線の切点デー
タと前記勾配データとに基づいて演算して、表示
すべき各線と次の水平走査線との交点位置データ
を更新的に順次求める演算手段、 前記演算手段によつて求められた各線の交点位
置データを記憶する第2の記憶手段、 前記走査形デイスプレイの次の水平走査期間に
表示すべき前記各線の識別データを一時記憶する
第3の記憶手段、 前記交点で表示されるべき線の種類を識別する
データを予め記憶する第4の記憶手段、 前記走査形デイスプレイの水平ブランキング期
間において、前記交点位置データを書込アドレス
として、前記第4の記憶手段に記憶されている前
記識別データを前記第3の記憶手段に書込む書込
手段、および 前記走査形デイスプレイの水平走査期間におい
て、前記第3の記憶手段に記憶されている識別デ
ータに基づいて、前記各線を示すドツトを前記走
査形デイスプレイに表示させる表示駆動手段を備
えた、走査形デイスプレイの表示制御装置。 2 前記走査形デイスプレイは、水平ブランキン
グ信号を発生する手段を含み、 前記書込手段は、前記水平ブランキング信号期
間中に前記第4の記憶手段に記憶されている識別
データを前記第3の記憶手段に書込む、特許請求
の範囲第1項記載の走査形デイスプレイの表示制
御装置。 3 前記書込手段は、前記水平ブランキング信号
期間を前記線の数で分割した所定時間ごとに、時
分割的に前記第4の記憶手段に記憶されている識
別データを読出して前記第3の記憶手段に書込
む、特許請求の範囲第2項記載の走査形デイスプ
レイの表示制御装置。 4 前記走査形デイスプレイは、カラー表示可能
なものであつて、 前記第4の記憶手段は、前記識別データとして
前記表示すべき線の色を表わす色コードを記憶
し、 前記表示駆動手段は、前記色コードに基づいて
色信号を発生する色信号発生手段を含む、特許請
求の範囲第1項ないし第3項のいずれかに記載の
走査形デイスプレイの表示制御装置。
[Scope of Claims] 1. A display control device for displaying three-dimensionally changing lines on the screen of a scanning display, which display should be displayed in one frame during the vertical blanking period of the scanning display. data generating means for generating, for each of a plurality of lines, coordinate data including cutting point data indicating the vertical or horizontal position of a point cutting the outline of the screen, and slope data for each line; a first storage means for storing cut point data and the slope data of each line to be displayed in a certain vertical unit; a vertical scanning address indicating the vertical position of the electron beam of the scanning display is a cut point of each line; a detection means for sequentially detecting that the data is larger than the vertical position; and in response to the output of the detection means, calculates based on the cutting point data of each line and the slope data during the horizontal scanning period of the scanning display. a calculation means that updates and sequentially obtains the intersection position data of each line to be displayed and the next horizontal scanning line; a second storage means that stores the intersection position data of each line obtained by the calculation means; a third storage means for temporarily storing identification data of each line to be displayed in the next horizontal scanning period of the scanning display; and a fourth storage means for pre-storing data identifying the type of line to be displayed at the intersection point. Means: writing means for writing the identification data stored in the fourth storage means into the third storage means using the intersection position data as a write address during the horizontal blanking period of the scanning display; , and a display drive means for displaying dots indicating each of the lines on the scanning display during a horizontal scanning period of the scanning display, based on identification data stored in the third storage means. Display control device with shaped display. 2. The scanning display includes means for generating a horizontal blanking signal, and the writing means writes the identification data stored in the fourth storage means to the third storage means during the period of the horizontal blanking signal. A display control device for a scanning display according to claim 1, wherein the information is written in a storage means. 3. The writing means reads the identification data stored in the fourth storage means in a time-division manner at predetermined time intervals obtained by dividing the horizontal blanking signal period by the number of lines, and writes the identification data to the third storage means. 3. A display control device for a scanning display according to claim 2, wherein the information is written in a storage means. 4. The scanning display is capable of color display, the fourth storage means stores a color code representing the color of the line to be displayed as the identification data, and the display driving means A display control device for a scanning display according to any one of claims 1 to 3, comprising color signal generating means for generating a color signal based on a color code.
JP56194157A 1981-12-01 1981-12-01 Display control apparatus of scanning type display Granted JPS5894872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56194157A JPS5894872A (en) 1981-12-01 1981-12-01 Display control apparatus of scanning type display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56194157A JPS5894872A (en) 1981-12-01 1981-12-01 Display control apparatus of scanning type display

Publications (2)

Publication Number Publication Date
JPS5894872A JPS5894872A (en) 1983-06-06
JPH0244077B2 true JPH0244077B2 (en) 1990-10-02

Family

ID=16319862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56194157A Granted JPS5894872A (en) 1981-12-01 1981-12-01 Display control apparatus of scanning type display

Country Status (1)

Country Link
JP (1) JPS5894872A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4727565B2 (en) * 2006-12-20 2011-07-20 京三電機株式会社 Diesel filter

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54157041A (en) * 1978-06-01 1979-12-11 Sony Corp Picture generation unit

Also Published As

Publication number Publication date
JPS5894872A (en) 1983-06-06

Similar Documents

Publication Publication Date Title
JP2533278B2 (en) Display device and display method for displaying non-hidden pixels
US4725831A (en) High-speed video graphics system and method for generating solid polygons on a raster display
US6411294B1 (en) Image display apparatus and image display method
CA1283980C (en) Display generator circuitry for personal computer system
US5848201A (en) Image processing system and its method and electronic system having an image processing system
US5566285A (en) Image processing apparatus capable of mapping texture to each polygon of a three dimensional image
EP0270771A2 (en) Collision detection system for video system
US4951038A (en) Apparatus for displaying a sprite on a screen
US20040075735A1 (en) Method and system for producing a pseudo three-dimensional display utilizing a two-dimensional display device
US4529978A (en) Method and apparatus for generating graphic and textual images on a raster scan display
US4747042A (en) Display control system
JPH0634209B2 (en) Display figure detection method
EP0887768A2 (en) A graphic processor and a graphic processing method
CA1200025A (en) Graphic and textual image generator for a raster scan display
US7847754B2 (en) Image processing program and image display device
JPH0244077B2 (en)
US5926184A (en) Polygon sorting ordered by grouping according to distances in sorting groups
US4656468A (en) Pattern data processing apparatus
US7522166B2 (en) Video game processing method, video game processing apparatus and computer readable recording medium storing video game program
US5566286A (en) Method and apparatus for verifying dimensional values of a drawing
JPS6057355B2 (en) Collision detection method between a moving object and an obstacle on a CRT display
JP3467085B2 (en) Image display device
JPH07105409A (en) Collision detection device for three-dimensional moving body
JPH09319893A (en) Method and device for image display
JP2007295977A (en) Game machine