JPH08110954A - Picture processing method, picture processor and circuit - Google Patents

Picture processing method, picture processor and circuit

Info

Publication number
JPH08110954A
JPH08110954A JP24508194A JP24508194A JPH08110954A JP H08110954 A JPH08110954 A JP H08110954A JP 24508194 A JP24508194 A JP 24508194A JP 24508194 A JP24508194 A JP 24508194A JP H08110954 A JPH08110954 A JP H08110954A
Authority
JP
Japan
Prior art keywords
image
vertices
command
image processing
circuit
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.)
Withdrawn
Application number
JP24508194A
Other languages
Japanese (ja)
Inventor
Shuji Hori
修司 堀
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.)
Sega Corp
Original Assignee
Sega Enterprises 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 Sega Enterprises Ltd filed Critical Sega Enterprises Ltd
Priority to JP24508194A priority Critical patent/JPH08110954A/en
Publication of JPH08110954A publication Critical patent/JPH08110954A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE: To provide a picture processor and circuits capable of processing different plotting setting contents specified by various plotting commands by the use of the same plotting circuit based upon a more flexible and optional picture plotting function without expanding circuit size. CONSTITUTION: A RAM access circuit 100 defines various plotting commands in a command RAM 210. A plotting circuit 101 executes various read plotting commands. In this case, a common procedure for all the plotting commands is adopted and a foreground picture is developed in a frame buffer 211. In the case of processing a 2nd plotting command, a lacking part in specified contents is automatically generated by a coordinate generating circuit 102. In the case of executing a 3rd plotting command, the inside of a rectangular polygon is painted out with a specified color and plotted in the frame buffer 211.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画像処理装置における
前景キャラクタパターンの描画装置の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement of a foreground character pattern drawing device in an image processing device.

【0002】[0002]

【従来の技術】近年、TVゲーム機における画像処理の
分野においては、モニタ画面上に遊戯者の興味を喚起す
る臨場感や面白みに溢れた画像を表示するため、前記画
像を描画する際に、上下あるいは左右反転、拡大縮小、
伸縮等の様々な描画機能を施すことがより一般的になっ
ている。このような描画機能を備える画像処理装置の従
来例としては、図6に示すようなものが知られている。
2. Description of the Related Art In recent years, in the field of image processing in a TV game machine, in order to display an image full of a sense of realism and fun that arouses a player's interest on a monitor screen, when drawing the image, Upside down or horizontal flipping, scaling,
It is becoming more common to apply various drawing functions such as stretching. As a conventional example of an image processing apparatus having such a drawing function, one shown in FIG. 6 is known.

【0003】図6において、記憶装置3およびRAM4
と接続されているCPU1は、CPUインターフェース
5を介してビデオプロセッサ2に接続され、さらにビデ
オプロセッサ2は、CRTディスプレイ17に接続され
ている。CPU1は、記憶装置3からゲームを実行する
ためのプログラムやゲーム用の画像を表示するための画
像データをRAM4に読み込んで、ビデオプロセッサ2
へ転送する。この画像データは画素(ピクセル)と呼ば
れる最小単位から構成されており、情報として出力の際
の色を指定する所定のビット数のカラーコードを含んで
いる。
In FIG. 6, a storage device 3 and a RAM 4
The CPU 1 connected to the CPU 1 is connected to the video processor 2 via the CPU interface 5, and the video processor 2 is connected to the CRT display 17. The CPU 1 loads a program for executing a game and image data for displaying an image for the game from the storage device 3 into the RAM 4, and the video processor 2
Transfer to This image data is composed of a minimum unit called a pixel, and includes, as information, a color code having a predetermined number of bits for designating a color at the time of output.

【0004】CPU1により読み出された画像データの
うち、前景画用の画像データは画像処理部6で、背景画
用の画像データは画像処理部7で、それぞれ必要な画像
処理を施されたのち、同期回路11が生成する同期信号
に従った適切なタイミングでそれぞれ読み出されて、表
示制御部12へ転送される。ここで、優先順位回路13
が、画像データ中で、出力の優先順位の高い画素を選択
する。また、カラー化回路14が、前記優先順位の最も
高い画素をカラーRAM15を用いてカラー化し、さら
に3原色(赤・緑・青)の配合率を示すRGBデータに
変換する。このRGBデータは、さらに、映像信号作成
回路16によって、アナログの映像信号に変換され、標
準TVスクリーン等のディスプレイ17に表示される。
上記のような手続きにより、背景画面に、ゲームのキャ
ラクタなどから成る前景画が重ね合わせられた、1画面
分の表示用画面が形成されている。
Of the image data read by the CPU 1, the image data for the foreground image is processed by the image processing unit 6, and the image data for the background image is processed by the image processing unit 7, respectively. , And are read at appropriate timings according to the synchronization signal generated by the synchronization circuit 11 and transferred to the display control unit 12. Here, the priority circuit 13
However, in the image data, a pixel having a higher output priority is selected. Further, the colorization circuit 14 colorizes the pixel with the highest priority using the color RAM 15 and further converts it into RGB data indicating the mixing ratio of the three primary colors (red, green, blue). The RGB data is further converted into an analog video signal by the video signal creating circuit 16 and displayed on the display 17 such as a standard TV screen.
According to the procedure as described above, a one-screen display screen in which a foreground image including a game character is superimposed on the background screen is formed.

【0005】画像処理部6および7には、CPU1より
転送された画像データを格納するために、それぞれ所定
の記憶領域が設定されている。画像処理部6には、RA
M8およびフレームバッファ9が接続されている。RA
M8には、CPU1によって読み込まれた前景画用の画
像データを一旦格納する。フレームバッファ9には、R
AM8から読み出され、座標計算や拡大縮小、色演算等
の処理を施された前景画用の画像データを展開して出力
まで保持する。一方、画像処理部7には、CPU1より
転送される背景画用の画像データに画像処理を施した
後、格納するためのビデオRAM10(以下、VRA
M)が接続されている。
Predetermined storage areas are set in the image processing units 6 and 7 in order to store the image data transferred from the CPU 1. The image processing unit 6 has an RA
The M8 and the frame buffer 9 are connected. RA
The image data for the foreground image read by the CPU 1 is temporarily stored in M8. In the frame buffer 9, R
The image data for the foreground image read out from the AM 8 and subjected to processing such as coordinate calculation, enlargement / reduction, and color calculation is expanded and held until output. On the other hand, the image processing unit 7 includes a video RAM 10 (hereinafter, referred to as VRA) for storing the image data for the background image transferred from the CPU 1 after the image processing.
M) is connected.

【0006】「前景キャラクタパターン用の画像データ
に対する描画処理」上記のような構成を有する画像処理
装置の画像処理部6において、RAM8から前景画用の
画像データが読み出されてフレームバッファ9に展開さ
れる際には、各種描画コマンドによる指定が与えられて
いる。描画コマンドには、前景画用の画像データに対し
て上下反転や左右反転する、拡大縮小するなどの、所定
の描画機能を施すために必要な所定の指定内容が設定さ
れている。描画コマンドによって指定される内容は、前
記画像データに対してどのような描画機能が施されるか
によってそれぞれ異なる。描画コマンドによって、所定
の描画機能を施すための指定が与えられると、画像処理
部6は、この指定に基づいてRAM8から読み出された
前景画用の画像データに処理を施し、前記キャラクタパ
ターンとして前記フレームバッファ9に描画する。
"Drawing Process for Image Data for Foreground Character Pattern" In the image processing unit 6 of the image processing apparatus having the above-mentioned configuration, the image data for foreground image is read from the RAM 8 and expanded in the frame buffer 9. At this time, designation by various drawing commands is given. The drawing command is set with predetermined designation contents necessary for performing a predetermined drawing function such as upside down, left and right inversion, and enlargement / reduction with respect to the foreground image data. The contents specified by the drawing command differ depending on what kind of drawing function is applied to the image data. When the drawing command gives a designation for performing a predetermined drawing function, the image processing unit 6 processes the foreground image data read from the RAM 8 based on the designation to obtain the character pattern. Drawing on the frame buffer 9.

【0007】「ポリゴンに対する描画処理」一方、上述
したような前景キャラクタパターン以外に、前景画とし
てフレームバッファ9に描画される画像として、前景画
面に図形パターンを表示するポリゴンがある。前景キャ
ラクタパターンでは、元絵となる画像データが存在し、
描画コマンドの指定に基づき、この元絵データを用いた
描画が成されるのに対し、このポリゴンには、元絵とな
る画像データは存在しない。このようなポリゴンの描画
では、画像処理部6は、ポリゴン用の描画コマンドによ
る指定に基づき、ポリゴンの内部を指定された単色に塗
り潰すことにより、前記フレームバッファ9に描画す
る。従来、このポリゴンを描画する手法としては、一般
に、図7に示すような水平方向の直線だけを用いるラス
タライズによる方式が知られている。
"Drawing Process for Polygons" On the other hand, in addition to the foreground character pattern as described above, as an image drawn in the frame buffer 9 as a foreground image, there is a polygon for displaying a graphic pattern on the foreground screen. In the foreground character pattern, there is image data that is the original picture,
Drawing is performed using this original picture data based on the designation of the drawing command, whereas image data that is the original picture does not exist in this polygon. In the drawing of such a polygon, the image processing unit 6 draws in the frame buffer 9 by filling the inside of the polygon with the specified single color based on the specification by the drawing command for the polygon. Conventionally, as a method for drawing this polygon, a method by rasterization using only horizontal straight lines as shown in FIG. 7 is generally known.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記の
ような従来の描画コマンドの指定方法に関しては、目的
とする描画機能に応じて、それぞれ異なる指定方法が用
いられており、これらの相違に応じて個々の回路を設定
するのは、作業的にも回路的にも無駄が多かった。ま
た、ゲームにおけるアクション性や現実性に関して、高
まる一方のゲーム消費者のニーズに応えるために、前景
キャラクタパターンに対し、従来の描画機能よりもさら
に柔軟かつ自由な描画設定を行うための手法が必要とな
ってきた。
However, with respect to the conventional drawing command designating methods as described above, different designating methods are used depending on the target drawing function, and depending on these differences. Setting individual circuits was wasteful both in terms of work and circuits. Moreover, in order to meet the ever-increasing needs of game consumers in terms of action and reality in games, a method for more flexible and free drawing settings for the foreground character pattern is required compared to conventional drawing functions. Has become.

【0009】本発明は、上記のような問題に鑑みてなさ
れたものであり、その第1の目的は、回路の規模を肥大
化することなく、それぞれ異なる指定内容によって描画
機能を指定する各種描画コマンドを処理する画像処理方
法を提供することにある。
The present invention has been made in view of the above problems, and a first object of the present invention is to perform various drawing operations for specifying a drawing function according to different specification contents without enlarging the circuit scale. An object is to provide an image processing method for processing a command.

【0010】本発明の第2の目的は、第1の目的を達成
するために、より柔軟で自由に画像の描画を行う描画手
続きにより、各種描画コマンドの指定内容の相違を統一
する画像処理方法を提供することにある。
A second object of the present invention is, in order to achieve the first object, an image processing method for unifying differences in the designated contents of various drawing commands by a drawing procedure for drawing an image more flexibly and freely. To provide.

【0011】本発明の第3の目的は、前記第1および第
2の目的を実現する具体的手段を備える画像処理装置を
提供することにある。
A third object of the present invention is to provide an image processing apparatus provided with concrete means for realizing the first and second objects.

【0012】本発明の第4の目的は、前景画像のフレー
ムバッファへの描画に関して、4角形ポリゴンの描画に
関しても第1および第2の目的を達成できる構成を有す
る画像処理回路を提供することにある。
A fourth object of the present invention is to provide an image processing circuit having a configuration capable of achieving the first and second objects in drawing a foreground image in a frame buffer and also in drawing a quadrilateral polygon. is there.

【0013】[0013]

【課題を解決するための手段】上記の課題を解決する手
段として、請求項1記載の発明では、画像データをビデ
オRAMから読み出し、前記画像データの描画方法を指
定する描画コマンドに従って画像処理を施して、フレー
ムメモリに描画する画像処理方法において、前記描画コ
マンドとして、異なる複数の描画方法の指定がある場
合、共通の手続きによって、これらの異なる複数の描画
方法の指定を統一し、前記画像データを描画することを
特徴とする。
As a means for solving the above problems, in the invention according to claim 1, the image data is read from the video RAM, and image processing is performed in accordance with a drawing command that specifies a drawing method of the image data. In the image processing method of drawing in the frame memory, if a plurality of different drawing methods are specified as the drawing command, the specification of these different drawing methods is unified by a common procedure, and the image data is stored. Characterized by drawing.

【0014】請求項2記載の発明では、請求項1記載の
画像処理方法において、前記共通の手続きが、前記画像
データの描画領域を所定数の頂点で囲まれた範囲で表
し、これらの頂点の全てに対して、同数の前記フレーム
メモリにおける描画座標をそれぞれ任意に指定すること
を特徴とする。
According to a second aspect of the present invention, in the image processing method according to the first aspect, the common procedure represents a drawing area of the image data in a range surrounded by a predetermined number of vertices, and It is characterized in that the same number of drawing coordinates in the frame memory is arbitrarily designated for all of them.

【0015】請求項3記載の発明では、ビデオRAMか
ら前景画用の画像データを読み出して前景画像としてフ
レームメモリに展開する前景画生成手段と、ビデオRA
Mから背景画用の画像データを読み出し、複数の背景画
像を形成する背景画生成手段とを備える画像処理装置に
おいて、画像の描画領域を囲む所定数の頂点全てに対し
て、これらの頂点の全てに対応する同数の描画座標をそ
れぞれ任意に指定する第1の指定手段と、前記画像の描
画領域を囲む所定数の頂点のうち、所定数に満たない数
の頂点に対してのみ対応する描画座標をそれぞれ指定す
ると同時に、描画に関する他の所定の補足情報を付加す
る第2の指定手段と、指定された所定数の描画座標に基
づいて、前記画像を描画する描画手段とを備えることを
特徴とする。
According to the third aspect of the invention, foreground image generation means for reading out the image data for the foreground image from the video RAM and developing it as a foreground image in the frame memory, and the video RA
In an image processing apparatus including background image generation means for reading background image data from M and forming a plurality of background images, all of these vertices are set for all of a predetermined number of vertices surrounding the image drawing area. First designating means for arbitrarily designating the same number of drawing coordinates corresponding to the drawing coordinates, and drawing coordinates corresponding to only a number less than a predetermined number of vertices surrounding a drawing area of the image. And a drawing means for drawing the image based on a specified number of specified drawing coordinates. To do.

【0016】請求項4記載の発明では、請求項3記載の
画像処理装置において、前記描画手段が、前記画像領域
を囲む所定数の頂点のうち、前記第2の指定手段によっ
て描画座標の指定が与えられない頂点に対して、当該頂
点に対応する描画座標を、前記第2の指定手段が付加す
る前記他の所定の補足情報に基づいて自動的に算出する
座標生成手段を具備することを特徴とする。
According to a fourth aspect of the present invention, in the image processing apparatus according to the third aspect, the drawing means specifies the drawing coordinates by the second specifying means out of a predetermined number of vertices surrounding the image area. It is characterized by further comprising coordinate generation means for automatically calculating drawing coordinates corresponding to the apex not given based on the other predetermined supplementary information added by the second designation means. And

【0017】請求項5記載の発明では、前景キャラクタ
パターンを描画するための指定を行う描画コマンドをコ
マンドRAMに対して定義するRAMアクセス回路と、
指定された4つの描画座標に基づいて、前記キャラクタ
パターンをフレームメモリに描画する描画回路とを備え
ることを特徴とする。
According to another aspect of the invention, there is provided a RAM access circuit which defines a drawing command for designating a foreground character pattern for the command RAM.
And a drawing circuit for drawing the character pattern in the frame memory based on four specified drawing coordinates.

【0018】請求項6記載の発明では、請求項5記載の
画像処理回路において、前記RAMアクセス回路が、前
記コマンドRAMに対し、前景キャラクタパターンの描
画領域を囲む4つの頂点全てに対して、これらの頂点に
対応する4つの描画座標をそれぞれ任意に指定する第1
の描画コマンドと、前景キャラクタパターンの描画領域
を囲む4つの頂点のうち、4つに満たない数の頂点に対
して対応する同数の描画座標をそれぞれ指定すると同時
に、描画に関する他の所定の補足情報を付加する第2の
描画コマンドと、4角形ポリゴンの4つの頂点全てに対
して、これらの頂点に対応する4つの描画座標をそれぞ
れ任意に指定すると同時に、所定の指定色に関する情報
を付加する第3の描画コマンドとを定義するよう構成さ
れたことを特徴とする。
According to a sixth aspect of the present invention, in the image processing circuit according to the fifth aspect, the RAM access circuit sets all four vertices surrounding the drawing area of the foreground character pattern for the command RAM. First arbitrarily specify the four drawing coordinates corresponding to the vertices of the
Drawing command and the same number of drawing coordinates corresponding to less than four vertices of the four vertices surrounding the drawing area of the foreground character pattern, and at the same time, other predetermined supplementary information regarding drawing. For the second drawing command for adding the four drawing coordinates and the four drawing coordinates corresponding to these vertices for all four vertices of the quadrilateral polygon And a drawing command of 3 are defined.

【0019】請求項7記載の発明では、請求項5記載の
画像処理回路において、前記描画回路が、前景キャラク
タパターンの描画領域を囲む4つの頂点のうち、前記第
2の描画コマンドによって描画座標の指定が与えられな
い頂点に対して、当該頂点に対応する描画座標を、前記
第2の描画コマンドが付加する前記他の所定の補足情報
に基づいて自動的に算出する座標生成手段を具備するこ
とを特徴とする。
According to a seventh aspect of the present invention, in the image processing circuit according to the fifth aspect, the drawing circuit selects the drawing coordinate of the four vertices surrounding the drawing area of the foreground character pattern by the second drawing command. Coordinate generating means for automatically calculating a drawing coordinate corresponding to a vertex for which no designation is given based on the other predetermined supplementary information added by the second drawing command. Is characterized by.

【0020】[0020]

【作用】上記の手段を有する本発明の作用を以下に説明
する。画像処理装置において画像を描画する場合には、
前記画像に施される描画機能に応じて、異なる指定内容
を有する各種の描画コマンドが設定されるのが普通であ
る。しかしながら、これらの異なる指定内容に応じて、
異なる複数の描画回路を使用するのでは、回路を開発す
る手間がかかるだけでなく、回路規模が肥大化してしま
う。
The operation of the present invention having the above means will be described below. When drawing an image in the image processing device,
Various drawing commands having different designated contents are usually set according to the drawing function applied to the image. However, depending on these different designations,
Using a plurality of different drawing circuits not only takes time and effort to develop the circuits, but also enlarges the circuit scale.

【0021】請求項1記載の発明によれば、複数の異な
る描画コマンドを、同一の描画回路によって処理する画
像処理方法を得ることができる。すなわち、描画回路が
各種描画コマンドの処理を共通の手続きによって実行で
きるように、各種描画コマンドによる指定内容を統一す
る。
According to the invention described in claim 1, it is possible to obtain an image processing method for processing a plurality of different drawing commands by the same drawing circuit. That is, the designation contents of various drawing commands are unified so that the drawing circuit can execute the processing of various drawing commands by a common procedure.

【0022】請求項2記載の発明によれば、前記複数の
異なる描画コマンドを同一の描画回路によって処理する
ために用いられる前記共通の手続きとして、画像の描画
領域を複数の点で表し、これらの点と同数の複数の描画
座標を任意に指定して、前記の複数の点にそれぞれ対応
させる描画コマンドを設定する。これによって、前記の
画像に対し、上下および左右の反転や、縮小などの従来
よりの描画機能に加え、さらにより複雑な回転やねじ
れ、歪みなどの描画機能を柔軟に施すことができる。
According to the second aspect of the invention, as the common procedure used for processing the plurality of different drawing commands by the same drawing circuit, the drawing area of the image is represented by a plurality of points, and A plurality of drawing coordinates of the same number as the points are arbitrarily designated, and a drawing command corresponding to each of the plurality of points is set. As a result, in addition to the conventional drawing functions such as up / down and left / right inversion and reduction, more complicated drawing functions such as rotation, twist, and distortion can be flexibly applied to the image.

【0023】請求項3記載の発明によれば、複数の異な
る描画コマンドの指定内容を比較し、統一して同一の回
路で処理する具体的手段を備えた画像処理装置を得るこ
とができる。すなわち、第1の指定手段が、画像に対し
て柔軟な描画機能を施せる描画コマンドを提供する。第
2の指定手段では、第1の指定手段よりも指定内容が単
純である反面、補足情報を有する描画コマンドを提供す
る。共通の手続きに従い、第1の指定手段および第2の
手段により提供された描画コマンドを実行する。
According to the third aspect of the present invention, it is possible to obtain an image processing apparatus equipped with a concrete means for comparing designated contents of a plurality of different drawing commands and unifying and processing them in the same circuit. That is, the first designating means provides a drawing command capable of giving a flexible drawing function to the image. The second designating means has a simpler designation content than the first designating means, but provides a drawing command having supplementary information. The drawing command provided by the first designating means and the second means is executed according to a common procedure.

【0024】請求項4記載の発明によれば、前記共通の
手続きにおいて、不足している指定内容について、座標
生成手段が必要な情報を自動生成する。すなわち、前記
第2の指定手段により指定されなかった描画座標を、第
2の指定手段から提供された前記補足情報によって自動
的に算出し、第2の指定手段の指定内容として追加す
る。
According to the fourth aspect of the present invention, in the common procedure, the coordinate generation means automatically generates necessary information for the deficient specified content. That is, the drawing coordinates that are not designated by the second designating means are automatically calculated by the supplementary information provided by the second designating means, and are added as the designated contents of the second designating means.

【0025】請求項5記載の発明によれば、前景画用の
画像描画に関して、4角形ポリゴンを通常の前景キャラ
クタパターン用の画像とともに描画処理する構成を有す
る画像処理回路を得ることができる。すなわち、RAM
アクセス回路が4角形ポリゴン用の描画コマンドを含む
各種の描画コマンドを全てRAMに定義する。
According to the fifth aspect of the present invention, it is possible to obtain an image processing circuit having a configuration for drawing a quadrilateral polygon together with an image for a normal foreground character pattern for image drawing for a foreground image. Ie RAM
The access circuit defines various drawing commands including a drawing command for a quadrilateral polygon in the RAM.

【0026】請求項6記載の発明によれば、このRAM
アクセス回路には、前景キャラクタパターンの画像に対
して最も柔軟な描画機能を施せる第1の描画コマンド
と、やはり前景キャラクタパターンの画像に対する描画
コマンドであるが、第1の描画コマンドよりも単純な指
定内容と、所定の補足情報を有する第2の描画コマンド
と、4角形ポリゴンの描画指定を行う第3の描画コマン
ドとが定義される。
According to the invention described in claim 6, this RAM
The access circuit has a first drawing command that allows the most flexible drawing function for the image of the foreground character pattern and a drawing command for the image of the foreground character pattern, but a simpler specification than the first drawing command. The contents, a second drawing command having predetermined supplementary information, and a third drawing command for designating drawing of a quadrilateral polygon are defined.

【0027】最後に、請求項7記載の発明によれば、座
標生成手段が、上述した第1、第2および第3の描画コ
マンドが共通の手続きによって同一の描画回路内で実行
される際に、描画座標に対する指定が足りない第2の描
画コマンドの指定内容に前記補足情報に基づいて自動的
に生成された描画座標の指定を付加する。
Finally, according to the invention described in claim 7, when the coordinate generating means executes the above-mentioned first, second and third drawing commands in the same drawing circuit by a common procedure. The designation of the drawing coordinates automatically generated based on the supplementary information is added to the designation content of the second drawing command in which the designation of the drawing coordinates is insufficient.

【0028】このように、異なる指定内容を有する各種
の描画コマンドが、同一の回路において共通の手続きに
よって実行されることにより、フレームメモリへの画像
描画が行われる。
As described above, various drawing commands having different designated contents are executed by the common procedure in the same circuit, so that an image is drawn in the frame memory.

【0029】[0029]

【実施例】【Example】

1.本実施例における構成 以下に、画像処理装置において適用される本発明の一実
施例を、図面を用いて説明する。図2に、本実施例が適
用される画像処理装置のブロック図を示す。図2におい
て、ゲーム機本体200には、ユーザがゲームを操作す
るためのコントロールパッド201などの入力デバイス
が、SMPC(System Manager & Peripheral Control/
システムマネージャ) 202を介して接続される。更
に、ゲーム機本体200には、ゲームプログラムが格納
されたカートリッジ203が着脱可能に装着される。こ
のゲームプログラムは、通常、半導体メモリ(マスクR
OM)に書き込まれ、この半導体メモリがカートリッジ
203内に組み込まれている。また、ゲーム機本体20
0にCD−ROMドライブ(図示せず)が装備されるこ
とにより、CD−ROMによりゲームプログラムを供給
することが可能となる。
1. Configuration of this Embodiment An embodiment of the present invention applied to an image processing apparatus will be described below with reference to the drawings. FIG. 2 shows a block diagram of an image processing apparatus to which this embodiment is applied. In FIG. 2, an input device such as a control pad 201 for a user to operate a game is provided in the game machine main body 200 by using an SMPC (System Manager & Peripheral Control /
System manager) 202. Further, a cartridge 203 storing a game program is detachably attached to the game machine body 200. This game program is usually a semiconductor memory (mask R
OM), and this semiconductor memory is incorporated in the cartridge 203. In addition, the game console body 20
0 is equipped with a CD-ROM drive (not shown), so that the game program can be supplied from the CD-ROM.

【0030】メインCPU用のバス204aには、CP
U207、CPU207のワーク用のRAM208、プ
ログラムを格納するROM209、及び上記SMPC2
02が接続されている。CPU207は、システム全体
をコントロールする、例えば32ビットRISCタイプ
の高速CPU(SH−2と呼ばれるCPUチップ2個)
によって構成される。SMPC202は、I/Oコント
ローラであり、システム全体のリセットの管理及びコン
トロールパッド201など外部機器とのインタフェース
を制御する。また、バス204bには、前景画の画像処
理を行うスプライトエンジン205、及び背景画の画像
処理を行うスクロールエンジン206が接続されてい
る。
The bus 204a for the main CPU has a CP
U207, RAM208 for work of CPU207, ROM209 which stores a program, and said SMPC2
02 is connected. A CPU 207 controls the entire system, for example, a 32-bit RISC type high-speed CPU (two CPU chips called SH-2)
Composed of The SMPC 202 is an I / O controller, which manages reset of the entire system and controls an interface with external devices such as the control pad 201. A sprite engine 205 that performs image processing of the foreground image and a scroll engine 206 that performs image processing of the background image are connected to the bus 204b.

【0031】スプライトエンジン205には、CPUか
らの前景画用の描画コマンドのデータ及び前景画の元絵
となる画像データを格納するコマンドRAM210、及
び前景画の画像データを展開するフレームバッファ21
1が接続されている。スクロールエンジン206には、
背景画の画素毎の画像データを格納するビデオRAM
(以下、VRAM)212、及びカラーRAM213が
接続されている。バス204に接続されているバスコン
トローラ214は、DMAコントローラ、及び割込みコ
ントローラ等を備え、上記CPU207とスプライトエ
ンジン205とスクロールエンジン206とのインタフ
ェースを制御する。
The sprite engine 205 includes a command RAM 210 for storing drawing command data for the foreground image from the CPU and image data serving as an original picture of the foreground image, and a frame buffer 21 for expanding the image data of the foreground image.
1 is connected. The scroll engine 206 has
Video RAM that stores image data for each pixel of the background image
A (hereinafter, VRAM) 212 and a color RAM 213 are connected. A bus controller 214 connected to the bus 204 includes a DMA controller, an interrupt controller, and the like, and controls the interface between the CPU 207, the sprite engine 205, and the scroll engine 206.

【0032】スプライトエンジン205は、コマンドR
AM210からキャラクタ等の前景画の画像データを選
択して読み出し、回転、拡大、縮小、及び色演算等の処
理を行った後、フレームバッファ211の所定のアドレ
スに書き込む。その後、スプライトエンジン205は、
フレームバッファ211に書き込んだ1フレーム分の画
像データを順次読み出し、端子Aを介して直接スクロー
ルエンジン206に供給する。
The sprite engine 205 uses the command R
Image data of a foreground image such as a character is selected from the AM 210, read out, subjected to processing such as rotation, enlargement, reduction, and color calculation, and then written to a predetermined address of the frame buffer 211. After that, the sprite engine 205
One frame of image data written in the frame buffer 211 is sequentially read out and directly supplied to the scroll engine 206 via the terminal A.

【0033】スクロールエンジン206は、前景画およ
び背景画におけるウィンドウ処理を行うウィンドウ制御
や、内蔵される各種レジスタに保持された指定に従って
背景画の画像処理を行う。スクロールエンジン206で
は、スプライトエンジン205からの前景画の画像デー
タと、背景画の画像データとを所定のタイミングで取り
込むための同期信号を生成する。
The scroll engine 206 performs window control for performing window processing on a foreground image and a background image, and image processing for a background image according to designations held in various built-in registers. The scroll engine 206 generates a synchronization signal for taking in the image data of the foreground image and the image data of the background image from the sprite engine 205 at a predetermined timing.

【0034】スクロールエンジン206では、さらに、
VRAM212から読み出された背景画の画像データ
と、スプライトエンジン205から供給された前景画の
画像データについて、画素毎に出力の優先順位を判断
し、優先順位の最も高い画素を選択してカラー化する。
この際、カラーRAM213がアクセスされ、各画素毎
に3原色(赤・緑・青)の配合率を示すRGBデータが
読み出される。
In the scroll engine 206,
With respect to the image data of the background image read from the VRAM 212 and the image data of the foreground image supplied from the sprite engine 205, the output priority is determined for each pixel, and the pixel with the highest priority is selected and colorized. To do.
At this time, the color RAM 213 is accessed and the RGB data indicating the mixture ratio of the three primary colors (red, green, blue) is read out for each pixel.

【0035】このように読み出された各画素のRGBデ
ータは、端子Bから水平同期信号に同期して出力され、
D/Aコンバータ215に供給される。D/Aコンバー
タ215では、上記RGBデータをアナログ信号に変換
して、出力端子Cから映像信号として出力する。この映
像信号はモニタ(図示せず)に供給され、TV画面に表
示される。
The RGB data of each pixel thus read is output from the terminal B in synchronization with the horizontal synchronizing signal,
It is supplied to the D / A converter 215. The D / A converter 215 converts the RGB data into an analog signal and outputs it from the output terminal C as a video signal. This video signal is supplied to a monitor (not shown) and displayed on the TV screen.

【0036】2.本実施例における作用および効果 2-1 本実施例の作用 「描画コマンドと前景画用の画像データ」本発明は、前
述のスプライトエンジン206において前景画の画像を
描画する際に適用される。以下、本実施例における回路
の作用について、図1を用いて説明する。
2. Actions and Effects in the Present Embodiment 2-1 Actions of the Present Embodiment "Drawing Command and Image Data for Foreground Image" The present invention is applied when the foreground image is drawn in the aforementioned sprite engine 206. The operation of the circuit in this embodiment will be described below with reference to FIG.

【0037】図1において、CPU207は、ゲームの
実行時に、前述のROM209から前景画用の各種の描
画コマンドのデータを読み出してスプライトエンジン2
05に供給している。スプライトエンジン205内のR
AMアクセス回路100は、CPU207から供給され
たこれらの描画コマンドを、コマンドテーブルの形で前
記コマンドRAM210に定義する。コマンドRAM2
10に定義される前記各種の描画コマンドは、前景画用
の画像がフレームバッファ211に展開される際に、前
記画像に対して設定された描画機能を施すための指定を
行う。どの描画コマンドが指定されるかは、ゲーム中
で、前記画像に対してどのような描画機能が必要になる
かによって予め決定されている。
In FIG. 1, the CPU 207 reads the data of various drawing commands for the foreground picture from the ROM 209 at the time of executing the game, and the sprite engine 2
It supplies to 05. R in the sprite engine 205
The AM access circuit 100 defines these drawing commands supplied from the CPU 207 in the command RAM 210 in the form of a command table. Command RAM2
The various drawing commands defined in 10 specify the drawing function set for the foreground image when the foreground image is developed in the frame buffer 211. Which drawing command is specified is determined in advance by what kind of drawing function is required for the image in the game.

【0038】「フレームバッファに展開される前景画用
の画像」このような描画コマンドの指定に従って、フレ
ームバッファ211に展開される前景画用の画像には、
前景キャラクタパターンと、4角形ポリゴンにより構成
される図形パターンとの2種類がある。前景キャラクタ
パターンとなる画像には、元絵となる既存の画像データ
(以下、元絵データ)が存在し、この元絵データは、R
OM209内に記憶されている。前記元絵データは、自
身に施されるべき描画機能を指定する描画コマンドとと
もに、CPU205によって読み出されて、前記コマン
ドRAM210に供給されている。前景キャラクタパタ
ーンが描画される場合、描画コマンドによって指定され
た描画機能が、この元絵データに対して施されることに
より、フレームバッファ211への展開が実行される。
[Image for foreground image expanded in frame buffer] According to the designation of such a drawing command, the image for foreground image expanded in the frame buffer 211 includes
There are two types, a foreground character pattern and a graphic pattern composed of quadrangular polygons. The image serving as the foreground character pattern has existing image data serving as an original picture (hereinafter referred to as original picture data), and this original picture data is R
It is stored in the OM 209. The original picture data is read by the CPU 205 and supplied to the command RAM 210 together with a drawing command that specifies a drawing function to be applied to itself. When the foreground character pattern is drawn, the drawing function specified by the drawing command is applied to the original picture data, so that the original picture data is expanded into the frame buffer 211.

【0039】一方、ポリゴンは、元絵となる画像データ
を持たない。ポリゴンが描画される場合は、ポリゴン用
に設定された描画コマンドによって描画機能とポリゴン
内部を塗り潰すための単色が1つ指定されることによ
り、フレームバッファ211への展開が実行される。
On the other hand, the polygon does not have the image data as the original picture. When a polygon is drawn, the drawing command set for the polygon specifies the drawing function and one single color for filling the inside of the polygon, so that the expansion into the frame buffer 211 is executed.

【0040】「各種の描画コマンドと指定内容ースプラ
イト描画コマンド」本実施例において、上記のような前
景画用の画像のうち、元絵データを持つ前景画用の画像
(前景キャラクタパターン用)を特にスプライトと呼
ぶ。スプライトは、その元絵データに対してどのような
描画機能が設定されているかにより、以下のように区別
できる。 (a)定型スプライト…上下および左右の反転が可能な
スプライト (b)矩形スプライト…(a)の描画機能に加え、さら
に拡大縮小、伸縮が可能なスプライト (c)変形スプライト…(b)の描画機能に加え、さら
に回転、ねじれが可能なスプライト
"Various drawing commands and specified sprite drawing command" In the present embodiment, of the above foreground images, the foreground image having the original picture data (foreground character pattern) is particularly used. Call it a sprite. Sprites can be distinguished as follows depending on what drawing function is set for the original picture data. (A) Standard sprites ... Sprites that can be flipped vertically and horizontally (b) Rectangular sprites ... Sprites that can be further expanded / contracted and expanded / contracted in addition to the drawing function of (a) (c) Deformed sprites ... (b) Sprite that can be rotated and twisted in addition to functions

【0041】これらのスプライト各々に設定される上記
の描画機能は、描画コマンドにより、以下のように異な
る方法で定義される。すなわち、各スプライトの元絵デ
ータの描画領域を4つの頂点で囲まれた矩形の範囲で表
した場合、 (a)定型スプライトでは、これらの頂点のうちの1点
に対応する描画座標の指定と、元絵データの読み出し方
向等の補助情報 (b)矩形スプライトでは、これらの頂点のうち対角頂
点となる2点に対応する描画座標の指定と、元絵データ
の読み出し方向等の補助情報 (c)変形スプライトでは、これらの頂点のうちの4点
全てに対して、対応する描画座標の指定と、元絵データ
の読み出し方向等の補助情報 を、描画コマンドの内容としてそれぞれ指定し、さらに
全てのスプライト用描画コマンドにおいて、元絵データ
を読み出すのに必要な先頭アドレスを情報として含む。
The drawing function set for each of these sprites is defined by a drawing command in the following different ways. That is, when the drawing area of the original picture data of each sprite is represented by the range of a rectangle surrounded by four vertices, (a) in the standard sprite, the drawing coordinates corresponding to one of these vertices are specified. , Auxiliary information such as reading direction of original picture data (b) In a rectangular sprite, drawing coordinates corresponding to two diagonal vertices of these vertices and auxiliary information such as reading direction of original picture data ( c) In the modified sprite, for all four of these vertices, the corresponding drawing coordinates and auxiliary information such as the reading direction of the original picture data are specified as the contents of the drawing command. In the drawing command for sprite, the head address necessary for reading the original picture data is included as information.

【0042】「各種描画コマンドと指定方法−ポリゴン
描画コマンド」また、前景画の画像として描画される図
形パターンを形成する4角形ポリゴンについては、ポリ
ゴン描画コマンドとして、前記4角形ポリゴンの4頂点
の指定と、図形の塗り潰しを行う単色を、描画コマンド
の内容として指定する。図3は、上述したこれらの描画
コマンドによる指定内容および適用される描画機能の違
いについてまとめたものである。
"Various drawing commands and specification method-polygon drawing command" For a quadrilateral polygon forming a graphic pattern drawn as an image of a foreground image, four vertices of the quadrilateral polygon are specified as polygon drawing commands. And specify a single color to fill the figure as the content of the drawing command. FIG. 3 is a summary of the differences in the specified contents by these drawing commands and the drawing functions applied.

【0043】「描画回路と変形スプライト」さて、図1
において、スプライトエンジン205は、コマンドRA
M210よりバスαを通して、上述したような異なる指
定内容および情報を含む各種の描画コマンドを読み込
む。各スプライトに設定される描画機能によって、指定
方法を変えるのは、前記ROM209内に必要最小限の
データ量で描画コマンドを格納するためには、有効であ
るが、ことなる指定方法毎に複数の異なる描画回路を設
定するのでは回路規模が大きくなり、また作業的な無駄
も増えてしまう。そこで、本実施例では、これらの各種
スプライト描画コマンドとポリゴン描画コマンドを、バ
スαを通じて全て同一の描画回路101へ転送する。
[Drawing Circuit and Modified Sprite] Now, referring to FIG.
At the sprite engine 205, the command RA
Various drawing commands including different designation contents and information as described above are read from M210 through the bus α. Changing the designation method depending on the drawing function set for each sprite is effective for storing the drawing command in the ROM 209 with the minimum required amount of data, but a plurality of different designation methods may be used. If different drawing circuits are set, the circuit scale becomes large, and the waste of work also increases. Therefore, in the present embodiment, these various sprite drawing commands and polygon drawing commands are all transferred to the same drawing circuit 101 via the bus α.

【0044】描画回路101では、転送されてきた全て
の描画コマンドを、変形スプライト用の描画コマンドと
して扱う。前述したように、変形スプライトでは、前景
画の画像となる元絵データの描画領域の4頂点それぞれ
に対応する4つの描画座標を全て指定する描画コマンド
が適用されている。そして、これらの4つの描画座標の
関係は任意に設定できるので、図4に示すように、描画
座標の設定の内容によっては、元絵を上下左右に反転さ
せたり、拡大縮小するだけでなく、元絵を一方向だけに
歪めて引き伸ばしたり、ねじったり、回転させたりとい
うように、任意に変形させて描画することが可能とな
る。
The drawing circuit 101 handles all of the transferred drawing commands as drawing commands for modified sprites. As described above, in the modified sprite, a drawing command that specifies all four drawing coordinates corresponding to each of the four vertices of the drawing area of the original picture data that is the image of the foreground picture is applied. Since the relationship between these four drawing coordinates can be set arbitrarily, as shown in FIG. 4, not only is the original picture flipped up and down, left and right, or enlarged or reduced depending on the setting of the drawing coordinates, It is possible to distort and stretch the original picture in only one direction, twist it, rotate it, and arbitrarily transform it to draw.

【0045】このように、変形スプライトでは、最も詳
細な指定方法を適用することによって、他の各種スプラ
イトで使用可能な描画機能に加えて、さらに柔軟な描画
機能を得ることができる。つまり、変形スプライトに適
用される描画機能を処理できる回路を使用すれば、他の
各種スプライトの描画機能の処理も同じ回路で実行可能
となる。前記描画回路101が、転送されてきた全ての
描画コマンドを、変形スプライト用の描画コマンドとし
て扱うのは、このような理由による。
As described above, in the modified sprite, by applying the most detailed designating method, it is possible to obtain a more flexible drawing function in addition to the drawing functions available in other various sprites. That is, if a circuit capable of processing the drawing function applied to the modified sprite is used, the processing of the drawing function of other various sprites can be executed by the same circuit. This is the reason why the drawing circuit 101 handles all the transferred drawing commands as drawing commands for modified sprites.

【0046】描画回路101には、各種描画コマンドに
よって前述の図3に示すような異なる指定内容が転送さ
れる。転送されてきた描画コマンドが、変形スプライト
以外のスプライト描画コマンドのいずれかである場合、
描画領域の4つの頂点のうち、描画座標の指定が足りな
い頂点に対し、描画回路101内の座標生成回路102
が、図5に示すように、当該スプライト描画コマンドの
補助情報に基づいて、当該頂点に対応する描画座標を算
出する。
Different designation contents as shown in FIG. 3 are transferred to the drawing circuit 101 by various drawing commands. If the transferred drawing command is one of sprite drawing commands other than modified sprites,
Of the four vertices in the drawing area, the coordinate generation circuit 102 in the drawing circuit 101 corresponds to the vertex for which the drawing coordinates are insufficiently specified.
However, as shown in FIG. 5, the drawing coordinates corresponding to the vertex are calculated based on the auxiliary information of the sprite drawing command.

【0047】算出された前記描画座標は、当該スプライ
ト描画コマンドの指定内容に書き加えられ、変形スプラ
イト用の描画コマンドの指定内容に変換される。次に、
当該スプライト描画コマンドによって指定されたスプラ
イトの元絵データの先頭アドレスに基づき、前記元絵デ
ータを前記コマンドRAM210より読み出す。そし
て、前記変換された指定内容に基づいて、この元絵デー
タを変形スプライトとして処理し、フレームバッファ2
11に描画する。
The calculated drawing coordinates are added to the specified content of the sprite drawing command and converted into the specified content of the drawing command for the modified sprite. next,
The original picture data is read from the command RAM 210 based on the start address of the original picture data of the sprite designated by the sprite drawing command. Then, based on the converted designated content, the original picture data is processed as a modified sprite, and the frame buffer 2
Draw to 11.

【0048】一方、描画回路101に転送されてきた描
画コマンドが、ポリゴン描画コマンドである場合、描画
回路101は、ポリゴンの4頂点をそのまま変形スプラ
イトの描画領域の4頂点と見なし、ポリゴンを変形スプ
ライトとして、フレームバッファ211に描画する。こ
の際、ポリゴン描画コマンドに含まれる指定色の情報が
読み出され、描画されたポリゴンの内部が塗り潰され
る。
On the other hand, if the drawing command transferred to the drawing circuit 101 is a polygon drawing command, the drawing circuit 101 regards the four vertices of the polygon as they are as the four vertices of the drawing area of the modified sprite and regards the polygon as a modified sprite. As a result, the image is drawn in the frame buffer 211. At this time, the information of the designated color included in the polygon drawing command is read, and the inside of the drawn polygon is filled.

【0049】2-2 本実施例の効果 このように、本実施例の描画回路101を用いれば、各
種の描画コマンドによる指定内容の相違に関わらず、同
一の回路によってフレームバッファ211ヘ前景画用の
画像を描画することができるようになる。このため、回
路規模を大きくせずに、各種スプライトの描画を効率的
に行うことができる。また、同じ手続きにより、4角形
ポリゴンを描画することも可能になるので、ポリゴン専
用に描画回路を設定する必要がなくなる。一方、変形ス
プライトの描画処理では、画像処理装置のスプライトの
描画機能を、より柔軟に設定できるようになり、画像描
画における自由度が向上するという効果がある。
2-2 Effects of this Embodiment As described above, by using the drawing circuit 101 of this embodiment, the same circuit is used for the foreground image to the frame buffer 211 regardless of the difference in the contents designated by various drawing commands. You will be able to draw images. Therefore, various sprites can be efficiently drawn without increasing the circuit scale. Further, since it is possible to draw a quadrilateral polygon by the same procedure, it is not necessary to set a drawing circuit only for the polygon. On the other hand, in the modified sprite drawing process, the sprite drawing function of the image processing apparatus can be set more flexibly, and the degree of freedom in image drawing is improved.

【0050】[0050]

【発明の効果】以上、述べたように、本発明では、描画
指定がそれぞれ異なる画像や、種類の異なる画像を同一
の回路によって描画できる。このため、画像描画用の回
路が節約でき、有益である。
As described above, according to the present invention, images having different drawing designations or images of different types can be drawn by the same circuit. Therefore, the circuit for drawing an image can be saved, which is useful.

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

【図1】本実施例における描画装置の構成を表す図。FIG. 1 is a diagram showing a configuration of a drawing device according to an embodiment.

【図2】本実施例における画像処理装置の全体構成を表
す図。
FIG. 2 is a diagram showing an overall configuration of an image processing apparatus in this embodiment.

【図3】各種描画コマンドの指定内容と描画機能の相違
を表す図。
FIG. 3 is a diagram showing the difference between the designated contents of various drawing commands and the drawing function.

【図4】変形スプライト描画コマンドによる、元絵デー
タの変形例を表す図。
FIG. 4 is a view showing a modified example of original picture data by a modified sprite drawing command.

【図5】座標生成回路の作用を説明する図。FIG. 5 is a diagram illustrating an operation of a coordinate generation circuit.

【図6】画像処理装置の構成の一般例を表す図。FIG. 6 is a diagram illustrating a general example of the configuration of an image processing apparatus.

【図7】ポリゴン描画の従来の手法を表す図。FIG. 7 is a diagram showing a conventional method for drawing a polygon.

【符号の説明】[Explanation of symbols]

100… RAMアクセス回路 101… 描画回路 102… 座標生成回路 205… スプライトエンジン 210… コマンドRAM 211… フレームバッファ 100 ... RAM access circuit 101 ... Drawing circuit 102 ... Coordinate generation circuit 205 ... Sprite engine 210 ... Command RAM 211 ... Frame buffer

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 画像データをビデオRAMから読み出
し、前記画像データの描画方法を指定する描画コマンド
に従って画像処理を施して、フレームメモリに描画する
画像処理方法において、 前記描画コマンドとして、異なる複数の描画方法の指定
がある場合、共通の手続きによって、これらの異なる複
数の描画方法の指定を統一し、前記画像データを描画す
ることを特徴とする画像処理方法。
1. An image processing method in which image data is read from a video RAM, image processing is performed in accordance with a drawing command that specifies a drawing method of the image data, and drawing is performed in a frame memory, wherein a plurality of different drawing commands are used as the drawing commands. An image processing method characterized in that, when a method is designated, a plurality of different rendering methods are unified by a common procedure to render the image data.
【請求項2】 前記共通の手続きが、前記画像データの
描画領域を所定数の頂点で囲まれた範囲で表し、これら
の頂点の全てに対して、同数の前記フレームメモリにお
ける描画座標をそれぞれ任意に指定することを特徴とす
る請求項1記載の画像処理方法。
2. The common procedure represents a drawing area of the image data in a range surrounded by a predetermined number of vertices, and with respect to all of these vertices, the same number of drawing coordinates in the frame memory is arbitrarily set. The image processing method according to claim 1, wherein
【請求項3】 ビデオRAMから前景画用の画像データ
を読み出して前景画像としてフレームメモリに展開する
前景画生成手段と、ビデオRAMから背景画用の画像デ
ータを読み出し、複数の背景画像を形成する背景画生成
手段とを備える画像処理装置において、 画像の描画領域を囲む所定数の頂点全てに対して、これ
らの頂点の全てに対応する同数の描画座標をそれぞれ任
意に指定する第1の指定手段と、 前記画像の描画領域を囲む所定数の頂点のうち、所定数
に満たない数の頂点に対して、これら頂点に対応する描
画座標をそれぞれ指定すると同時に、描画に関する他の
所定の補足情報を付加する第2の指定手段と、 指定された所定数の描画座標に基づいて、前記画像を描
画する描画手段と、を備えることを特徴とする画像処理
装置。
3. A foreground image generation unit that reads out image data for a foreground image from the video RAM and develops it as a foreground image in a frame memory, and image data for a background image from the video RAM to form a plurality of background images. In an image processing apparatus including a background image generation means, a first designation means for arbitrarily designating a predetermined number of vertices surrounding a rendering area of an image and a same number of rendering coordinates corresponding to all of these vertices. And, among the predetermined number of vertices surrounding the drawing area of the image, the drawing coordinates corresponding to these vertices are respectively specified for the number of vertices less than the predetermined number, and at the same time, other predetermined supplementary information regarding drawing is displayed. An image processing apparatus comprising: a second designation unit to be added; and a rendering unit that renders the image based on a designated predetermined number of rendering coordinates.
【請求項4】 前記描画手段が、前記画像領域を囲む所
定数の頂点のうち、前記第2の指定手段によって描画座
標の指定が与えられない頂点に対して、当該頂点に対応
する描画座標を、前記第2の指定手段が付加する前記他
の所定の補足情報に基づいて自動的に算出する座標生成
手段を具備することを特徴とする請求項3記載の画像処
理装置。
4. The drawing means sets a drawing coordinate corresponding to the vertex of a predetermined number of vertices surrounding the image area to which the drawing coordinate is not specified by the second specifying means. 4. The image processing apparatus according to claim 3, further comprising coordinate generation means for automatically calculating based on the other predetermined supplementary information added by the second designation means.
【請求項5】 前景キャラクタパターンを描画するため
の指定を行う描画コマンドをコマンドRAMに対して定
義するRAMアクセス回路と、 指定された4つの描画座標に基づいて、前記キャラクタ
パターンをフレームメモリに描画する描画回路とを備え
ることを特徴とする画像処理回路。
5. A RAM access circuit that defines a drawing command for specifying a foreground character pattern for drawing to a command RAM, and the character pattern is drawn in a frame memory based on four specified drawing coordinates. An image processing circuit comprising:
【請求項6】 前記RAMアクセス回路が、前記コマン
ドRAMに対し、 前景キャラクタパターンの描画領域を囲む4つの頂点全
てに対して、これらの頂点に対応する4つの描画座標を
それぞれ任意に指定する第1の描画コマンドと、 前景キャラクタパターンの描画領域を囲む4つの頂点の
うち、4つに満たない数の頂点に対して対応する同数の
描画座標をそれぞれ指定すると同時に、描画に関する他
の所定の補足情報を付加する第2の描画コマンドと、 4角形ポリゴンの4つの頂点全てに対して、これらの頂
点に対応する4つの描画座標をそれぞれ任意に指定する
と同時に、所定の指定色に関する情報を付加する第3の
描画コマンドと、を定義するよう構成されたことを特徴
とする請求項5記載の画像処理回路。
6. The RAM access circuit arbitrarily specifies, for the four vertices surrounding the drawing area of the foreground character pattern, four drawing coordinates corresponding to these vertices, in the command RAM. 1 drawing command and the same number of drawing coordinates corresponding to less than 4 vertices out of 4 vertices surrounding the drawing area of the foreground character pattern are specified, and at the same time, other predetermined supplements related to drawing are specified. A second drawing command for adding information, and for all four vertices of a quadrilateral polygon, four drawing coordinates corresponding to these vertices are arbitrarily designated, and at the same time, information regarding a predetermined designated color is added. The image processing circuit according to claim 5, wherein the image processing circuit is configured to define a third drawing command.
【請求項7】 前記描画回路が、前景キャラクタパター
ンの描画領域を囲む4つの頂点のうち、前記第2の描画
コマンドによって描画座標の指定が与えられない頂点に
対して、当該頂点に対応する描画座標を、前記第2の描
画コマンドが付加する前記他の所定の補足情報に基づい
て自動的に算出する座標生成回路を具備することを特徴
とする請求項5記載の画像処理回路。
7. The drawing circuit draws, of four vertices surrounding a drawing area of a foreground character pattern, a vertex whose drawing coordinate is not specified by the second drawing command, corresponding to the vertex. 6. The image processing circuit according to claim 5, further comprising a coordinate generation circuit for automatically calculating coordinates based on the other predetermined supplementary information added by the second drawing command.
JP24508194A 1994-10-11 1994-10-11 Picture processing method, picture processor and circuit Withdrawn JPH08110954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24508194A JPH08110954A (en) 1994-10-11 1994-10-11 Picture processing method, picture processor and circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24508194A JPH08110954A (en) 1994-10-11 1994-10-11 Picture processing method, picture processor and circuit

Publications (1)

Publication Number Publication Date
JPH08110954A true JPH08110954A (en) 1996-04-30

Family

ID=17128324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24508194A Withdrawn JPH08110954A (en) 1994-10-11 1994-10-11 Picture processing method, picture processor and circuit

Country Status (1)

Country Link
JP (1) JPH08110954A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09297530A (en) * 1996-05-02 1997-11-18 Furuno Electric Co Ltd Graphic display method, graphic display device, navigation device and radar

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09297530A (en) * 1996-05-02 1997-11-18 Furuno Electric Co Ltd Graphic display method, graphic display device, navigation device and radar

Similar Documents

Publication Publication Date Title
JP4234217B2 (en) System, apparatus and method for embedding transparent enable bits as part of resizing bit block transfer processing
US5877769A (en) Image processing apparatus and method
EP1033682A2 (en) Image processing apparatus and image processing method
JPH11259678A (en) Image display device and image display method by the same
JPH09212680A (en) Drawing device and drawing method
JP4200573B2 (en) Storage device, image processing device and method thereof, refresh operation control device and method thereof
JP4707782B2 (en) Image processing apparatus and method
US6812931B2 (en) Rendering process
KR20040011525A (en) Drawing method
EP0486195A2 (en) Computer graphics system
EP0660298A1 (en) Image processing device and method therefor, and game machine having image processing part
JP3548642B2 (en) Image information generating apparatus and method, image information processing apparatus and method, and recording medium
JPH08110954A (en) Picture processing method, picture processor and circuit
JP3052839B2 (en) Image processing apparatus and processing method thereof
JP3068590B1 (en) Two-dimensional image processing device
JP3741053B2 (en) Image processing device
JPH11306366A (en) Method and device for graphic operation
US6900804B1 (en) Method of forming polygon image and image processing apparatus using the same
JP3468985B2 (en) Graphic drawing apparatus and graphic drawing method
JP3652586B2 (en) Image drawing system
US5936635A (en) System and method of rendering polygons into a pixel grid
JP4519290B2 (en) GAME DEVICE, IMAGE GENERATION METHOD, AND RECORDING MEDIUM
JP2898482B2 (en) Computer game equipment
JPH0887267A (en) Image processor
JP3252359B2 (en) Image processing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020115