【0001】[0001]
【産業上の利用分野】本発明はコンピュータ装置の画像
表示方法に関する。さらに詳細には仮想画面の構成に関
する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image display method for a computer device. More specifically, it relates to the configuration of the virtual screen.
【0002】[0002]
【従来の技術】通常、コンピュータ装置の画像表示にお
いては、仮想画面(メモリ上の画面)は実画面より大き
く取ってある。仮想画面のデータを垂直あるいは水平に
ずらせていくことによって、画面スクロールが実現でき
る。ところが、仮想画面サイズには限りがあるから、仮
想画面を超えるエリアまでスクロールしたときには、す
でにスクロールアウトした他端の映像を回り込ませて表
示させる。2. Description of the Related Art Generally, in image display of a computer device, a virtual screen (screen on a memory) is larger than an actual screen. Screen scrolling can be realized by shifting the data on the virtual screen vertically or horizontally. However, since the virtual screen size is limited, when scrolling to an area beyond the virtual screen, the image at the other end that has already been scrolled out is displayed so as to wrap around.
【0003】具体例として、図1の水平スクロールの場
合を見てみよう。図のように仮想画面を右に動かしてい
くと、画面上の波形模様のバックグラウンドもそれにあ
わせて右に動く。B点に達すると、それ以降のバックグ
ラウンドはない。そこでA点の画像データをB点に移し
てサイクル化する。すなわち映像は無限ループになるわ
けである。As a concrete example, let us consider the case of horizontal scrolling in FIG. As you move the virtual screen to the right as shown, the background of the wavy pattern on the screen moves to the right accordingly. When point B is reached, there is no background after that. Therefore, the image data at the point A is moved to the point B to be cycled. That is, the image becomes an infinite loop.
【0004】これを概念的に表したのが図2である。こ
の図は仮想画面を丸めて円筒形にし、それを走馬燈のよ
うに回して映像を見ることになる。実際には画像は上下
もつながっているから、概念としては円筒形より球に近
い。以下このような状態を「茶筒モード」と呼ぶことに
する。FIG. 2 conceptually shows this. In this figure, the virtual screen is rolled into a cylindrical shape, and it is turned like a running light to see the image. In reality, the images are connected vertically, so the concept is closer to a sphere than a cylinder. Hereinafter, such a state will be referred to as a “tea tube mode”.
【0005】[0005]
【発明が解決しようとする課題】上記のような茶筒モー
ドでは仮想画面の外は自動的に回り込んで同画面が表示
されることになっているので、画面サイズなども最低1
画面分の大きさにまでしかならなかった。また1画面に
複数の画像を独立して表現することができなかった。In the tea-candle mode as described above, the outside of the virtual screen is automatically wrapped around and the same screen is displayed, so that the screen size and the like are at least 1.
It was only the size of the screen. Moreover, it is not possible to independently represent a plurality of images on one screen.
【0006】茶筒モードでない状態で仮想画面領域外を
無理に表示しようとすると、仮想画面を越えたところの
映像にイメージ(ゴーストのようなもので乱れた映像)
が現れ、正しい画像操作が行えなかった。本発明はこの
ような画像乱れがなく、かつ茶筒モードでない仮想画面
を目的とする。If the user tries to force the display outside the virtual screen area in the non-tea tube mode, an image appears in the image beyond the virtual screen (a ghost-like image is disturbed).
Appeared, and the correct image operation could not be performed. The present invention is directed to a virtual screen that does not have such image distortion and is not in the tea-tube mode.
【0007】[0007]
【課題を解決するための手段】上記の課題を解決するた
めに本発明はメモリ上に設ける仮想画面において特定の
領域外がすべて透明領域というモードを作り、これを
「非茶筒モード」と呼ぶことにする。そしてこのような
非茶筒モードを備えることで主、副画面といった複数の
画面で仮想画面を構成することが可能となる。In order to solve the above problems, the present invention creates a mode in which all areas outside a specific area are transparent areas in a virtual screen provided on a memory, and this mode is called "non-cascade mode". To By providing such a non-cascade mode, it becomes possible to configure a virtual screen with a plurality of screens such as a main screen and a sub screen.
【0008】本発明の非茶筒モードでは、図3に示すよ
うに、この例では仮想画面から外れる領域は透明領域と
した。このようなモードでの仮想画面に係属する実画面
は、図3に示すように、仮想画面から外れた実画面の領
域は透明(斜線部分)になる。これによって、画面から
外れた領域の画面は乱れはなくなる。In the non-casing mode of the present invention, as shown in FIG. 3, the area outside the virtual screen is a transparent area in this example. In the real screen belonging to the virtual screen in such a mode, as shown in FIG. 3, the real screen area outside the virtual screen becomes transparent (hatched portion). As a result, the screen in the area outside the screen is not disturbed.
【0009】[0009]
【実施例】多くのアニメなどを画像処理をするコンピュ
ータゲーム装置においてはビデオ画面に表示する方法と
してバックグラウンド(BG)とスプライトと呼ばれる
2種類の画面を重ね合わせる方式をとっている。このよ
うなシステムでは、バックグラウンド画面は「キャラク
タ」、スプライト画面は「スプライト」と呼ばれるパタ
ーンを単位として画面が構成されている。DESCRIPTION OF THE PREFERRED EMBODIMENTS In a computer game device for image processing of many animations and the like, a method of superimposing two types of screens called a background (BG) and a sprite is adopted as a method of displaying on a video screen. In such a system, the background screen is composed of patterns called "characters" and the sprite screen is composed of patterns called "sprites".
【0010】バックグラウンドはCRT画面のラスタと
キャラクターピッチを単位とするバックグラウンドキャ
ラクタ毎に、表示位置、色、パターンの情報で定義され
る。非茶筒モードの詳細について例をあげて説明する。
この例ではバックグラウンドの仮想画面は図4に示すよ
うになっており、この面の座標系を画像面座標系とよ
ぶ。画像面座標系はこの例では縦横−512〜+512
ドットの値をもち、1024×1024の範囲で確保さ
れている。The background is defined by display position, color, and pattern information for each background character in units of raster and character pitch on the CRT screen. The details of the non-casing mode will be described with an example.
In this example, the background virtual screen is as shown in FIG. 4, and the coordinate system of this plane is called the image plane coordinate system. In this example, the image plane coordinate system is -512 to +512 in the vertical and horizontal directions.
It has a dot value and is secured in the range of 1024 × 1024.
【0011】この座標系は茶筒モードになっていて、第
1象限右側は第2象限に、第1象限の下側は第4象限に
つながっている。実画面表示エリアはこの例では256
×240であり、この表示エリアが1024×1024
の画像面座標系を上下左右に移動させることによってス
クロールが実現する。This coordinate system is in the tea cane mode, the right side of the first quadrant is connected to the second quadrant, and the lower side of the first quadrant is connected to the fourth quadrant. The actual screen display area is 256 in this example.
× 240, and this display area is 1024 × 1024.
Scrolling is realized by moving the image plane coordinate system of up, down, left and right.
【0012】この実施例では、BG画像データとしては
主画面と副画面がそれぞれ指定できる。主画面と副画面
の関係は、副画面の上に主画面が重なっている状態で表
示される。In this embodiment, a main screen and a sub screen can be designated as the BG image data. The relationship between the main screen and the sub screen is displayed with the main screen overlapping the sub screen.
【0013】図5および図6は非茶筒モード時のBG仮
想画面を示す。非茶筒モードでは主画面、あるいは副画
面の領域以外を透明色の面とする。このモードでは、ス
クロール機能を用いて実画面表示エリアが透明色の領域
に移動すると実際の画面には透明の部分が表示され、乱
れたイメージは出現しない。FIGS. 5 and 6 show BG virtual screens in the non-casing mode. In the non-cascade mode, the area other than the main screen or sub-screen area is a transparent surface. In this mode, when the actual screen display area is moved to the transparent color area by using the scroll function, the transparent part is displayed on the actual screen and the disordered image does not appear.
【0014】副画面が茶筒モードとなると、図7および
図8に示すように副画面が茶筒的に連続表示されるため
に画像エリア全体に副画面をタイリングしたようにな
る。スクロールしたときには、副画面の内容が繰り返し
表示されることになる。When the sub-screen is in the tea tube mode, as shown in FIGS. 7 and 8, the sub-screen is continuously displayed like a tea tube, so that the sub-screen is tiled over the entire image area. When scrolled, the contents of the sub screen will be repeatedly displayed.
【0015】副画面、主画面サイズにかかわらず茶筒モ
ード、非茶筒モードが使えるから、副画面、主画面の画
面サイズを気にすることなくプログラミングが行える。Since the tea-candle mode and the non-tea-candle mode can be used regardless of the sizes of the sub-screen and the main screen, programming can be performed without worrying about the screen sizes of the sub-screen and the main screen.
【0016】主画面と副画面の管理方法について解説す
る。BG画面はバックグラウンド・アトリビュート・テ
ーブル(BAT)とキャラクタ・ジェネレータ(CG)
とによって管理されている。A method of managing the main screen and the sub screen will be described. BG screen is background attribute table (BAT) and character generator (CG)
Managed by and.
【0017】BATは、仮想画面上の各キャラクタ位置
にどのキャラクタをどの色で表示するかを設定するため
の、RAM上に設けられたテーブルである。BGの構成
単位が8×8ドットであり、512×512ドット、6
4×64キャラクタの場合の仮想画面上のキャラクタに
対するBATのアドレスは図9のようになっている。The BAT is a table provided on the RAM for setting which character is displayed in which color at each character position on the virtual screen. The constitutional unit of BG is 8 × 8 dots, 512 × 512 dots, 6
The BAT address for a character on the virtual screen in the case of 4 × 64 characters is as shown in FIG.
【0018】一方、CGはBATに対する実際のキャラ
クタパターンが定義されているRAM上の領域である。
すなわち、BATのCGコードがポイントするCG上の
内容を見れば、その画像内容がわかる。On the other hand, CG is an area on the RAM in which an actual character pattern for BAT is defined.
That is, the contents of the image can be understood by looking at the contents on the CG pointed to by the BAT CG code.
【0019】BG0画面では、主画面と副画面に対して
それぞれBATとCGを定義できるようにし、主副の画
像を独立して管理することができるようにデザインして
いる。これにより、あたかも1BG画面で2面が独立し
て存在しているかのように見せることができる。On the BG0 screen, BAT and CG can be defined for the main screen and the sub screen, respectively, and the main and sub images are designed to be managed independently. As a result, it is possible to make the 1BG screen look as if the two surfaces exist independently.
【0020】茶筒モード、非茶筒モードの機能はハード
化することができ、プログラムでは茶筒モードを使う
か、非茶筒モードを使うかは、副画面茶筒表示設定レジ
スタで設定する。The functions of the tea-candle mode and the non-tea-candle mode can be hardened. Whether the tea-candle mode or the non-tea-candle mode is used in the program is set by the sub-screen tea-candle display setting register.
【0021】実施例のシステムがサポートするBG画面
は4面あり、BG0は主、副の指定ができる。図10に
示すように、本実施例では茶筒、非茶筒モードが有効な
のは副画面であり、副画面茶筒表示設定レジスタに0を
指定すると非茶筒モードとなり、1を指定すると茶筒モ
ードとなる。モード指定を初期化処理で指定しておけ
ば、ユーザープログラムで直接スクロール管理を行わな
くても、モードに従ったスクロールを自動的に行ってく
れる。There are four BG screens supported by the system of the embodiment, and BG0 can be designated as main or sub. As shown in FIG. 10, in the present embodiment, the tea-candle and non-tea-candle modes are valid for the sub-screen. When 0 is specified in the sub-screen tea-candle display setting register, the non-tea-candle mode is set, and when 1 is specified, the tea-candle mode is set. If you specify the mode in the initialization process, it will automatically perform scrolling according to the mode without having to manage scrolling directly in the user program.
【0022】次にBG0画面で主副画面と茶筒を利用し
た表示方法の例を挙げる。副画面に1キャラクタの画面
サイズで波を定義し、主画面に4キャラクタで島を定義
する。さらに副画面に対しては茶筒モードにして画面表
示すると、波が仮想画面全体に展開されるから、海に浮
かぶ孤島が簡単に画面表示できる。Next, an example of a display method using the main / sub screen and the tea barrel on the BG0 screen will be described. Waves are defined with a screen size of 1 character on the sub screen, and islands are defined with 4 characters on the main screen. Furthermore, when the tea screen mode is displayed for the sub screen, the waves are spread over the entire virtual screen, so that the islands floating in the sea can be easily displayed on the screen.
【0023】[0023]
【発明の効果】8ビットCPUのゲーム機ではBG画面
は何面も持てなかった(通常は1面)。このため、茶筒
モードだけでもさほど問題はなかった。しかし、これか
らは32ビットCPUを搭載したゲーム機が主流となる
だろう。このために。メモリ空間も広くなり、処理速度
も飛躍的に向上する。EFFECTS OF THE INVENTION A game machine having an 8-bit CPU cannot have any BG screen (usually one screen). For this reason, there was no problem in the tea-candle mode alone. However, game machines equipped with 32-bit CPUs will become mainstream from now on. For this. The memory space is also widened and the processing speed is dramatically improved.
【0024】当然これに伴い、BG画面も複数枚持つシ
ステムが一般化することになる。本発明は、これからの
ゲーム機の先駆けとなる機能を提供することになるだろ
う。Naturally, along with this, a system having a plurality of BG screens will be generalized. The present invention will provide pioneering functions for future game machines.
【0025】本実施例のシステムでは4面のBGをサポ
ートしているから、あるBG画面を非茶筒モードにして
おき、その画面をスクロールアウトすることによって他
のBG画面を浮き上がらせるようなことが可能となる。Since the system of the present embodiment supports four-sided BG, it is possible to put a certain BG screen in the non-cascade mode and scroll out that screen to bring up another BG screen. It will be possible.
【0026】図12は4面のBGを重ね合わせて画面表
示する様子を概念的に示したもので、これを非茶筒モー
ドで水平方向にスクロールしすれば、スクロールした部
分は透明色になり、その後ろのBG面が浮き立つ。FIG. 12 conceptually shows a state in which BGs on four sides are superimposed and displayed on the screen. If this is scrolled horizontally in the non-cascade mode, the scrolled portion becomes transparent, The BG side behind it stands out.
【0027】従来の茶筒モードでは仮想画面の領域外は
回り込んで自動的に表示していてために、画面サイズが
1画面分を要した。しかし本発明では、茶筒の場合は副
画面の内容が仮想画面全体に展開されるし、非茶筒の場
合は透明ペーストにされるから、画面サイズを自由に変
えられ、メモリの効率化が図れる。In the conventional tea-candle mode, since the area outside the virtual screen is wrapped around and automatically displayed, the screen size requires one screen. However, in the present invention, the contents of the sub-screen are expanded to the entire virtual screen in the case of the tea cane and the transparent paste is used in the case of the non-tea cane, so that the screen size can be freely changed and the efficiency of the memory can be improved.
【0028】このために、非茶筒モードで主画面を画面
サイズより小さくして表示すれば、ウィンドウのような
表示方法も可能になる。また図8の例で見てきたよう
に、主副画面を独立して管理することによって、1BG
画面をあたかも2画面あるかのように見せることも可能
になる。Therefore, if the main screen is displayed smaller than the screen size in the non-cascade mode, a window-like display method is also possible. Further, as seen in the example of FIG. 8, by managing the main and sub screens independently, 1BG
It is also possible to display the screen as if it had two screens.
【0029】なお画面サイズとは、KRAM内に格納さ
れた原画のサイズ(画素数)は、図13に示すような原
画サイズレジスタによって決定される。このレジスタに
よって、主副は面の大きさを自由に設定でき、柔軟性の
ある画面定義が可能となっている。これにより、メモリ
の有効利用が実現されている。The screen size is the size (number of pixels) of the original image stored in the KRAM, which is determined by an original image size register as shown in FIG. With this register, the main and sub sides can freely set the size of the surface, and flexible screen definition is possible. As a result, effective use of the memory is realized.
【図1】従来の仮想画面を用いたスクロールの説明図で
ある。FIG. 1 is an explanatory diagram of scrolling using a conventional virtual screen.
【図2】従来の仮想画面を用いたスクロールの概念の説
明図である。FIG. 2 is an explanatory diagram of a concept of scrolling using a conventional virtual screen.
【図3】本発明の非茶筒モードの概念の説明図である。FIG. 3 is an explanatory diagram of a concept of a non-tea barrel mode of the present invention.
【図4】BGの画像面座標系の説明図である。FIG. 4 is an explanatory diagram of an image plane coordinate system of BG.
【図5】非茶筒モード時の主副画面と画像面座標系の関
係の説明図である。FIG. 5 is an explanatory diagram of a relationship between a main / sub screen and an image plane coordinate system in a non-casing mode.
【図6】非茶筒モード時の主副画面と画像面座標系の関
係の説明図である。FIG. 6 is an explanatory diagram of a relationship between a main / sub screen and an image plane coordinate system in a non-casing mode.
【図7】主画面が非茶筒モード、副画面が茶筒モード時
の主副画面と画像面座標系の関係の説明図である。FIG. 7 is an explanatory diagram of the relationship between the main and sub screens and the image plane coordinate system when the main screen is in the non-tea barrel mode and the sub screen is in the brown barrel mode.
【図8】主画面が非茶筒モード、副画面が茶筒モード時
の主副画面と画像面座標系の関係の説明図である。FIG. 8 is an explanatory diagram of a relationship between a main / sub screen and an image plane coordinate system when the main screen is in a non-tea barrel mode and the sub screen is in a brown barrel mode.
【図9】仮想画面上のキャラクタに対するBATのアド
レスの説明図である。FIG. 9 is an explanatory diagram of BAT addresses for characters on a virtual screen.
【図10】副画面茶筒表示設定レジスタの説明図であ
る。FIG. 10 is an explanatory diagram of a sub screen tea tube display setting register.
【図11】主副画面による画像表示の例の説明図であ
る。FIG. 11 is an explanatory diagram of an example of image display on a main / sub screen.
【図12】本発明の実施例における非茶筒モードでのス
クロールの説明図である。FIG. 12 is an explanatory diagram of scrolling in a non-casing mode according to the embodiment of the present invention.
【図13】本発明の実施例における原画サイズレジスタ
の説明図である。FIG. 13 is an explanatory diagram of an original image size register according to the embodiment of the present invention.
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成4年11月20日[Submission date] November 20, 1992
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0026[Correction target item name] 0026
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0026】図12は4面のBGを重ね合わせて画面表
示する様子を概念的に示したもので、これを非茶筒モー
ドで水平方向にスクロールすれば、スクロールした部分
は透明色になり、その後ろのBG面が浮き立つ。FIG. 12 conceptually shows a state in which BGs on four sides are superimposed and displayed on a screen. If this is scrolled in the horizontal direction in the non-cascade mode, the scrolled portion becomes a transparent color. The back BG side stands out.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP92285153AJPH06180637A (en) | 1992-09-30 | 1992-09-30 | Image forming method |
| EP98102885AEP0843299B1 (en) | 1992-09-30 | 1993-08-23 | Image processing apparatus |
| EP19930306648EP0590784A3 (en) | 1992-09-30 | 1993-08-23 | Image processing apparatus. |
| DE69328386TDE69328386T2 (en) | 1992-09-30 | 1993-08-23 | Image processing device |
| CA002104931ACA2104931A1 (en) | 1992-09-30 | 1993-08-26 | Image processing apparatus |
| US08/112,257US5495564A (en) | 1992-01-01 | 1993-08-26 | Device for processing image data in a virtual screen area derived from a memory |
| TW085215743UTW326944U (en) | 1992-09-30 | 1993-09-08 | Computer image processing device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP92285153AJPH06180637A (en) | 1992-09-30 | 1992-09-30 | Image forming method |
| Publication Number | Publication Date |
|---|---|
| JPH06180637Atrue JPH06180637A (en) | 1994-06-28 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP92285153APendingJPH06180637A (en) | 1992-01-01 | 1992-09-30 | Image forming method |
| Country | Link |
|---|---|
| JP (1) | JPH06180637A (en) |
| TW (1) | TW326944U (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009128277A1 (en)* | 2008-04-17 | 2009-10-22 | 学校法人 龍谷大学 | Magnified reading device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61107289A (en)* | 1984-10-31 | 1986-05-26 | 株式会社東芝 | Virtual screen display control method |
| JPS6324447A (en)* | 1986-07-17 | 1988-02-01 | Toshiba Corp | Composite document processor |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61107289A (en)* | 1984-10-31 | 1986-05-26 | 株式会社東芝 | Virtual screen display control method |
| JPS6324447A (en)* | 1986-07-17 | 1988-02-01 | Toshiba Corp | Composite document processor |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009128277A1 (en)* | 2008-04-17 | 2009-10-22 | 学校法人 龍谷大学 | Magnified reading device |
| Publication number | Publication date |
|---|---|
| TW326944U (en) | 1998-02-11 |
| Publication | Publication Date | Title |
|---|---|---|
| CA2050652C (en) | Dual programmable block texturing and complex clipping in a graphics rendering processor | |
| JP4234217B2 (en) | System, apparatus and method for embedding transparent enable bits as part of resizing bit block transfer processing | |
| KR100300972B1 (en) | Texture mapping system and texture cache access method | |
| US7081894B1 (en) | Picture drawing apparatus and picture drawing method | |
| JPH09245179A (en) | Computer graphics equipment | |
| JP2004510270A (en) | Method and apparatus for performing full scene anti-aliasing supersampling | |
| US7898549B1 (en) | Faster clears for three-dimensional modeling applications | |
| JPS62166391A (en) | Cursor controller | |
| KR100471905B1 (en) | Memory access method and data processing device | |
| JPH06180637A (en) | Image forming method | |
| US5495564A (en) | Device for processing image data in a virtual screen area derived from a memory | |
| EP4553777A1 (en) | Shadow rendering method and apparatus, electronic device, and readable storage medium | |
| JP6800363B1 (en) | program | |
| JP2002336462A5 (en) | ||
| JP3049012B2 (en) | 2D graphics processing apparatus and 2D graphics processing method | |
| JP2898482B2 (en) | Computer game equipment | |
| JP3149386B2 (en) | Method and apparatus for generating and displaying hotlinks in a panoramic 3D scene | |
| JP3257925B2 (en) | Translucent color image generation device | |
| JP4036054B2 (en) | Image display device | |
| JPH06180574A (en) | Computer image processor | |
| JPS6035075B2 (en) | CRT display device | |
| JP3481382B2 (en) | Image processing device | |
| US6788299B2 (en) | Three-dimensional graphic processing device for drawing polygon having vertex data defined by relative value and method therefor | |
| KR100640197B1 (en) | Image display device | |
| JPH07210139A (en) | Method for displaying high speed animation in all pictures |