JP2004127323A - Image drawing method, image drawing device, record medium, and program - Google Patents

Image drawing method, image drawing device, record medium, and program Download PDF

Info

Publication number
JP2004127323A
JP2004127323A JP2004005623A JP2004005623A JP2004127323A JP 2004127323 A JP2004127323 A JP 2004127323A JP 2004005623 A JP2004005623 A JP 2004005623A JP 2004005623 A JP2004005623 A JP 2004005623A JP 2004127323 A JP2004127323 A JP 2004127323A
Authority
JP
Japan
Prior art keywords
texture
image
transparent
semi
polygon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004005623A
Other languages
Japanese (ja)
Inventor
Shinya Matsumoto
松本 慎也
Takuya Seki
関 拓也
Yuta Kimura
木村 祐太
Yasuhiro Shimura
志村 安啓
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.)
Sony Interactive Entertainment Inc
Original Assignee
Sony Computer Entertainment Inc
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 Sony Computer Entertainment Inc filed Critical Sony Computer Entertainment Inc
Priority to JP2004005623A priority Critical patent/JP2004127323A/en
Publication of JP2004127323A publication Critical patent/JP2004127323A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Generation (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To remarkably reduce the time required for calculation and drawing for obtaining motion of a fluid like a water flow of a river or a smoke flow, and to carry out high-quality drawing. <P>SOLUTION: This image drawing device comprises: a texture drawing means 306 for drawing a necessary texture image 208 in a texture drawing area 34a of an image memory 34 based on the content of a texture information table 304; a rendering means 310 for drawing a polygon 206 in a display drawing area 34b of the image memory 34 based on the texture image 208 drawn in the drawing area 34a and the content of a polygon information table 308, and for sticking the texture image 208 required for each polygon 206; a texture moving means 314 for moving and rewriting the texture image 208 drawn in the drawing area 34a based on the content of a moving information table 312; and a texture mapping means 316 for sticking the texture image 208 after the movement to the polygon 206 drawn in the drawing area 34b. <P>COPYRIGHT: (C)2004,JPO

Description

 本発明は、例えば水の流れや煙の流れ等のような流体の動きを描画する場合に好適な画像描画方法及び画像描画装置並びにこの画像描画処理を実現するプログラムやデータが記録された記録媒体及びプログラム自体に関する。 The present invention relates to an image drawing method and an image drawing apparatus suitable for drawing a fluid movement such as a water flow and a smoke flow, and a recording medium on which a program and data for realizing the image drawing processing are recorded. And the program itself.

 近時、隠線処理、隠面消去処理、スムーズシェーディング、テクスチャマッピング等のコンピュータグラフィックス(CG)処理が、ハードウエアの飛躍的な発達と相俟って急速に進歩している。 Recently, computer graphics (CG) processing such as hidden line processing, hidden surface removal processing, smooth shading, texture mapping, etc. has been progressing rapidly, coupled with the dramatic development of hardware.

 CG処理としては、一般に、CADの3次元モデリングによって複数の3次元形状(オブジェクト)を作成し、これらのオブジェクトに対して色や陰影をつけ、鏡面反射、拡散反射、屈折、透明感等の光学的特性を付加し、表面模様をつけ、更に、まわりの状況(窓や景色の映り込みや光の回り込み等)に応じて描画するというレンダリング処理が行われる。 As CG processing, in general, a plurality of three-dimensional shapes (objects) are created by CAD three-dimensional modeling, colors and shadows are applied to these objects, and optical such as specular reflection, diffuse reflection, refraction, and transparency are added. A rendering process is performed in which a special characteristic is added, a surface pattern is added, and drawing is performed in accordance with surrounding conditions (such as reflection of a window or a scene, or a reflection of light).

 ところで、例えば水の流れや煙の流れ等のような流体の動きを描く場合、多数のオブジェクトをランダムに動かし、その後、例えば水や煙の画像をテクスチャとして貼り付けて描画を行うという手法が考えられる。 By the way, when drawing the movement of a fluid such as a flow of water or smoke, for example, a method of randomly moving many objects and then drawing by pasting, for example, an image of water or smoke as a texture is considered. It is done.

 つまり、通常のポリゴンを処理する場合、ジオメトリ演算器でポリゴンの頂点の透視変換演算を行い、演算によって得られたポリゴンを描画プロセッサで表示用描画メモリに描画するという処理が行われる。 That is, when processing a normal polygon, a process of performing a perspective transformation calculation of the vertex of the polygon by the geometry calculator and drawing the polygon obtained by the calculation in the display drawing memory is performed by the drawing processor.

 例えば、n個のオブジェクトをランダムに動かした後に、テクスチャを貼り付けて描画を行う場合、上述の作業(オブジェクトに対する通常のポリゴンの処理)をn回行うことになり、n回×ポリゴン頂点数の透視変換演算と、n回×ポリゴン数の描画が必要となる。 For example, when drawing with a texture attached after randomly moving n objects, the above-described operation (ordinary polygon processing for the object) is performed n times, and n times × the number of polygon vertices Perspective transformation calculation and drawing of n times × the number of polygons are required.

 従って、水の流れや煙の流れにリアル感を出すためには、多数のオブジェクトを用意する必要があり、その分、計算や描画に時間がかかり、例えばモニタ上でのこれらオブジェクトの表示速度が遅くなるという不都合が生じる。 Therefore, it is necessary to prepare a large number of objects in order to give a realistic feeling to the flow of water and smoke, and accordingly, it takes time to calculate and draw. For example, the display speed of these objects on the monitor The inconvenience of slowing down occurs.

 本発明はこのような課題を考慮してなされたものであり、少なくとも1つのオブジェクト上で擬似的にテクスチャを移動させながら描画するという処理を行うことで、流体の動きを得るための計算や描画にかかる時間を大幅に低減することができ、かつ、高品位な描画を行うことができる画像描画方法、画像描画装置、記録媒体及びプログラムを提供することを目的とする。 The present invention has been made in consideration of such problems, and performs calculation and drawing for obtaining fluid movement by performing a process of drawing while moving a texture on at least one object in a pseudo manner. An object of the present invention is to provide an image drawing method, an image drawing apparatus, a recording medium, and a program that can significantly reduce the time required for the image drawing and that can perform high-quality drawing.

 本発明は、少なくとも1つのオブジェクト上で擬似的にテクスチャを移動させながら描画を行うことを特徴とする。 The present invention is characterized in that the drawing is performed while moving the texture on at least one object in a pseudo manner.

 具体的には、少なくとも1つの半透明又は透明オブジェクトの表面に1種又は数種の半透明テクスチャを配置し、前記1種又は数種の半透明テクスチャをそれぞれ任意の方向に擬似的に移動させながら描画を行う。この場合、前記半透明又は透明オブジェクトを一重又は多重に配置するようにしてもよい。 Specifically, one or several types of semi-transparent textures are arranged on the surface of at least one semi-transparent or transparent object, and each of the one or several types of semi-transparent textures is moved in an arbitrary direction in a pseudo manner. While drawing. In this case, the semi-transparent or transparent object may be arranged in a single or multiple manner.

 これにより、オブジェクトの表面を擬似的に移動するテクスチャ画像がオブジェクト上で重なり合ってランダムな模様が無数に発生(アニメート)し、水の流れや煙の流れのような流体の動きが表現されることになる。 As a result, texture images that artificially move on the surface of the object overlap on the object, and an infinite number of random patterns are generated (animated), and fluid movements such as water flow and smoke flow are expressed. become.

 また、前記オブジェクトを構成する複数の半透明又は透明ポリゴンの表面にそれぞれ1種又は数種の半透明テクスチャを配置し、前記1種又は数種の半透明のテクスチャをそれぞれ任意の方向に疑似的に移動させながら描画を行うようにしてもよい。この場合、前記半透明又は透明ポリゴンを一重又は多重に配置するようにしてもよい。 Further, one or several kinds of semi-transparent textures are respectively arranged on the surfaces of a plurality of semi-transparent or transparent polygons constituting the object, and the one or several kinds of semi-transparent textures are respectively simulated in an arbitrary direction. You may make it draw while moving to. In this case, the semi-transparent or transparent polygon may be arranged in a single or multiple manner.

 これにより、複数のポリゴンの表面を擬似的に移動するテクスチャ画像がポリゴン上で重なり合ってランダムな模様が無数に発生(アニメート)することになり、水の流れや煙の流れのような流体の動きが表現されることになる。 As a result, texture images moving in a pseudo manner on the surfaces of multiple polygons overlap each other on the polygons, generating innumerable random patterns (animated), and fluid movement such as water flow and smoke flow Will be expressed.

 このように、本発明においては、少なくとも1つのオブジェクト上で擬似的にテクスチャを移動させながら描画するという処理を行うことで、流体の動きを得るための計算や描画にかかる時間を大幅に低減することができ、かつ、高品位な描画を行うことができる。 As described above, in the present invention, by performing the process of drawing while moving the texture on at least one object in a pseudo manner, the time required for calculation and drawing for obtaining the fluid motion is greatly reduced. And high-quality drawing can be performed.

 以上説明したように、本発明に係る画像描画方法、画像描画装置、記録媒体及びプログラムによれば、少なくとも1つのオブジェクト上で擬似的にテクスチャを移動させながら描画するという処理を行うことが可能となり、流体の動きを得るための計算や描画にかかる時間を大幅に低減することができ、かつ、高品位な描画を行うことができる。 As described above, according to the image drawing method, the image drawing apparatus, the recording medium, and the program according to the present invention, it is possible to perform the process of drawing while moving the texture on at least one object in a pseudo manner. The time required for calculation and drawing for obtaining fluid movement can be greatly reduced, and high-quality drawing can be performed.

 以下、本発明に係る画像描画方法及び画像描画装置を例えば3次元のCG処理を行うエンタテインメント装置に適用した実施の形態例(以下、単に実施の形態に係るエンタテインメント装置と記す)と、本発明に係る記録媒体並びにプログラムをエンタテインメント装置で実行されるプログラムやデータが記録された記録媒体並びにプログラムに適用した実施の形態例を図1〜図18を参照しながら説明する。 Embodiments in which the image drawing method and the image drawing apparatus according to the present invention are applied to an entertainment apparatus that performs, for example, three-dimensional CG processing (hereinafter simply referred to as an entertainment apparatus according to the embodiments), and the present invention. Embodiments in which such a recording medium and program are applied to a recording medium and a program in which a program and data executed by an entertainment device are recorded will be described with reference to FIGS.

 本実施の形態に係るエンタテインメント装置10は、図1に示すように、このエンタテインメント装置10を制御するメインCPU12と、各種プログラムの動作や各種データの格納等に使用されるメインメモリ14と、前記メインCPU12の制御に基づいて画像データを生成し、表示装置16(この例ではCRT)に出力する画像処理部18と、外部機器とのデータの送受信を行うための入出力ポート20とを有して構成されている。 As shown in FIG. 1, an entertainment apparatus 10 according to the present embodiment includes a main CPU 12 that controls the entertainment apparatus 10, a main memory 14 that is used for operations of various programs, storage of various data, and the like. The image processing unit 18 generates image data based on the control of the CPU 12 and outputs the image data to the display device 16 (CRT in this example), and the input / output port 20 for transmitting / receiving data to / from an external device. It is configured.

 前記メインCPU12には、バス22を介してメインメモリ14、画像処理部18及び入出力ポート20が接続されている。入出力ポート20には、例えばこのエンタテインメント装置10に対してデータ(キー入力データや座標データ等)を入力するための入力装置24や、各種プログラムやデータ(オブジェクトに関するデータやテクスチャデータ等)が記録された例えばCD−ROM等の光ディスクを再生する光ディスク装置26等が接続される。 The main CPU 12 is connected to the main memory 14, the image processing unit 18, and the input / output port 20 via the bus 22. The input / output port 20 records, for example, an input device 24 for inputting data (key input data, coordinate data, etc.) to the entertainment device 10, and various programs and data (data on objects, texture data, etc.). For example, an optical disk device 26 for reproducing an optical disk such as a CD-ROM is connected.

 前記画像処理部18は、レンダリングエンジン30、メモリインターフェース32、画像メモリ34、表示制御装置36(例えばプログラマブルCRTコントローラ等)を有する。 The image processing unit 18 includes a rendering engine 30, a memory interface 32, an image memory 34, and a display control device 36 (for example, a programmable CRT controller).

 レンダリングエンジン30は、メインCPU12から供給される描画コマンドに対応して、メモリインターフェース32を介して、画像メモリ34に所定の画像データを描画する動作を実行する。 The rendering engine 30 executes an operation of drawing predetermined image data in the image memory 34 via the memory interface 32 in response to a drawing command supplied from the main CPU 12.

 メモリインターフェース32とレンダリングエンジン30との間には第1のバス38が接続され、メモリインターフェース32と画像メモリ34との間には第2のバス40が接続されている。第1及び第2のバス38及び40は、それぞれ例えば128ビットのビット幅を有し、レンダリングエンジン30が画像メモリ34に対して高速に描画処理を実行することができるようになっている。 A first bus 38 is connected between the memory interface 32 and the rendering engine 30, and a second bus 40 is connected between the memory interface 32 and the image memory 34. Each of the first and second buses 38 and 40 has a bit width of, for example, 128 bits, and the rendering engine 30 can execute a drawing process on the image memory 34 at high speed.

 レンダリングエンジン30は、例えばNTSC方式、あるいはPAL方式等の320×240画素の画像データ、あるいは640×480画素の画像データを、リアルタイムに、即ち1/60秒〜1/30秒の間に、10数回〜数10回以上描画できる能力を有する。 The rendering engine 30 converts 320 × 240 pixel image data, such as NTSC or PAL, or 640 × 480 pixel image data in real time, that is, between 1/60 seconds and 1/30 seconds. Has the ability to draw several times to several tens of times.

 画像メモリ34は、例えばテクスチャ描画領域34aと表示描画領域34bを同一のエリアに指定することができるユニファイドメモリ構造のものが採用されている。 The image memory 34 employs, for example, a unified memory structure capable of designating the texture drawing area 34a and the display drawing area 34b in the same area.

 表示制御装置36は、光ディスク装置26を通じて取り込まれたテクスチャデータやメインメモリ14上で作成されたテクスチャデータをメモリインターフェース32を介して画像メモリ34のテクスチャ描画領域34aに書き込んだり、画像メモリ34の表示描画領域34bに描画された画像データをメモリインターフェース32を介して読み取り、これを表示装置16に出力し、画面上に表示させるように構成されている。 The display control device 36 writes the texture data acquired through the optical disk device 26 or the texture data created on the main memory 14 to the texture drawing area 34 a of the image memory 34 via the memory interface 32, or displays the image data on the image memory 34. The image data drawn in the drawing area 34b is read via the memory interface 32, and this is output to the display device 16 and displayed on the screen.

 次に、この実施の形態に係るエンタテインメント装置10が有する特徴的な機能について図2〜図18を参照しながら説明する。 Next, characteristic functions of the entertainment apparatus 10 according to this embodiment will be described with reference to FIGS.

 この機能は、少なくとも1つのオブジェクト上で擬似的にテクスチャを移動させながら描画を行うというものである。 This function is to perform drawing while moving the texture on at least one object in a pseudo manner.

 具体的には、例えば図2に示すように、川200の中に支柱202が立っている場面において、川200の水が支柱202に当たって例えば両側に分かれて流れていく様子を想定する。 Specifically, for example, as shown in FIG. 2, it is assumed that the water of the river 200 hits the support column 202 and flows separately on both sides, for example, in a scene where the support column 202 stands in the river 200.

 この場合、例えば図3に示すように、支柱202の部分を除く川200のオブジェクト204を多数の半透明又は透明のポリゴン206(以下、単にポリゴンと記す)で構成し、各ポリゴン206に半透明のテクスチャ画像208(図4A参照)を貼り付ける。この半透明のテクスチャ画像208としては、波によって光が乱反射された部分を表現するための画像、例えば図4Aや図4Bに示すように、半透明の斑点がランダムに散りばめられた画像を用いることができる。 In this case, for example, as shown in FIG. 3, the object 204 of the river 200 excluding the portion of the column 202 is composed of a large number of semi-transparent or transparent polygons 206 (hereinafter simply referred to as polygons). The texture image 208 (see FIG. 4A) is pasted. As the translucent texture image 208, an image for expressing a portion where light is irregularly reflected by waves, for example, an image in which translucent spots are randomly scattered as shown in FIGS. 4A and 4B is used. Can do.

 そして、まず、画像メモリ34のテクスチャ描画領域34aに使用するテクスチャ画像を書き込み、その後、表示描画領域34bに必要なポリゴン206を描画すると共に、各ポリゴン206に対してそれぞれ対応するテクスチャ画像208をテクスチャマッピングして表示する。 First, a texture image to be used is written in the texture drawing area 34a of the image memory 34, and then a necessary polygon 206 is drawn in the display drawing area 34b, and a texture image 208 corresponding to each polygon 206 is textured. Map and display.

 次いで、テクスチャ描画領域34aにおけるテクスチャ画像208を任意の方向に所定幅だけ移動して書き換え、書き換え後のテクスチャ画像208を各ポリゴン206にテクスチャマッピングして表示する。 Next, the texture image 208 in the texture drawing area 34a is rewritten by moving it in a predetermined direction by a predetermined width, and the texture image 208 after rewriting is texture-mapped and displayed on each polygon 206.

 例えば、図3の例で説明すると、多数のポリゴン206から構成される1つのオブジェクト204の形に対応させて、任意のテクスチャ画像208をテクスチャ描画領域34aに描画する。 For example, referring to the example of FIG. 3, an arbitrary texture image 208 is drawn in the texture drawing area 34a in correspondence with the shape of one object 204 composed of a large number of polygons 206.

 具体的には、例えば図3の丸1で示す横方向に連続する5枚のポリゴン206を包含するテクスチャ画像208を図5に示すようにテクスチャ描画領域34aの丸1の領域に書き込み、同様に、図3の丸2で示す横方向に連続する5枚のポリゴン206を包含するテクスチャ画像208を図5に示すようにテクスチャ描画領域34aの丸2の領域に書き込む。 Specifically, for example, a texture image 208 including five polygons 206 that are continuous in the horizontal direction indicated by circle 1 in FIG. 3 is written in the circle 1 area of the texture drawing area 34a as shown in FIG. A texture image 208 including five polygons 206 that are continuous in the horizontal direction indicated by circle 2 in FIG. 3 is written in the circle 2 area of the texture drawing area 34a as shown in FIG.

 次いで、図3の丸3で示す1枚のポリゴン206に対応するテクスチャ画像208を図5に示すテクスチャ描画領域34aの丸3の領域に書き込み、同様に、図3の丸4で示す横方向に連続する3枚のポリゴン206を包含するテクスチャ画像208を図5に示すテクスチャ描画領域34aの丸4の領域に書き込む。残りの丸5〜丸8についても上述と同様に行われる。 Next, the texture image 208 corresponding to one polygon 206 indicated by circle 3 in FIG. 3 is written in the circle 3 area of the texture drawing area 34a shown in FIG. 5, and similarly in the horizontal direction indicated by circle 4 in FIG. A texture image 208 including three continuous polygons 206 is written in a circle 4 area of the texture drawing area 34a shown in FIG. The remaining circles 5 to 8 are performed in the same manner as described above.

 そして、図3の(1)に示すポリゴン206に図5の(1)で示すテクスチャ画像208を貼り付けるというように、各ポリゴン206に対してそれぞれ対応するテクスチャ画像208を貼り付けていく。この段階で、初期状態の表示が行われることになる。 Then, a texture image 208 corresponding to each polygon 206 is pasted, such as pasting the texture image 208 shown in (1) of FIG. 5 on the polygon 206 shown in (1) of FIG. At this stage, the initial state is displayed.

 その後、図5に示すように、各テクスチャ画像208を矢印で示す方向に所定幅だけ移動して書き換える。このとき、循環的な表現を行いたいテクスチャ画像208(例えば丸1や丸2で示すテクスチャ)については、前記移動によってはみ出た部分のテクスチャ画像208を移動上の始点部分に書き込む。 Thereafter, as shown in FIG. 5, each texture image 208 is rewritten by moving by a predetermined width in the direction indicated by the arrow. At this time, for the texture image 208 (for example, the texture indicated by circle 1 or circle 2) to be cyclically expressed, the texture image 208 of the portion protruding by the movement is written in the starting point portion on the movement.

 特に、図5の(6)、(12)、(16)及び(19)で示すテクスチャ画像208は、それぞれ2方向に移動するように書き換えられる。 In particular, the texture images 208 shown in (6), (12), (16), and (19) of FIG. 5 are rewritten so as to move in two directions, respectively.

 このように処理することによって、図2に示すように、川200の水が一方向に流れ、特に支柱202の付近において、水の流れが変化するというリアルな映像を映し出すことができる。 By processing in this way, as shown in FIG. 2, it is possible to project a realistic image in which the water of the river 200 flows in one direction, especially in the vicinity of the support column 202.

 上述の例は、1つのオブジェクト204について見てきたが、その他、多数のオブジェクトが多重に配置された場合にも適用させることができる。 The above example has been described with respect to one object 204, but it can also be applied to a case where many objects are arranged in multiple.

 例えば、図6に示すように、川200の中に支柱202が立っている場面において、2つの川のオブジェクト(第1及び第2のオブジェクト)204a及び204bを用意する。このとき、各オブジェクト204a及び204bを構成する多数のポリゴン206にテクスチャ画像を貼り付ける際に、第1のオブジェクト204aについては第1のテクスチャ画像208aを貼り付け、第2のオブジェクト204bについては第2のテクスチャ画像208bを貼り付けるようにする。 For example, as shown in FIG. 6, two river objects (first and second objects) 204 a and 204 b are prepared in a scene where a column 202 stands in the river 200. At this time, when a texture image is pasted on a large number of polygons 206 constituting each of the objects 204a and 204b, the first texture image 208a is pasted on the first object 204a, and the second object 204b is second on the second object 204b. The texture image 208b is pasted.

 そして、第1及び第2のオブジェクト204a及び204bを多重に配置することによって、一点鎖線の枠Aで示すように、第1のテクスチャ画像208aと第2のテクスチャ画像208bとが重なり合い、様々なパターンが発生することになる。 Then, by arranging the first and second objects 204a and 204b in a multiple manner, the first texture image 208a and the second texture image 208b overlap each other as shown by a dashed-dotted frame A, and various patterns are obtained. Will occur.

 更に、第1及び第2のテクスチャ画像208a及び208bが、それぞれ第1及び第2のオブジェクト204a及び204b上で時間の経過と共に任意の方向に移動させて書き換えられるため、多重配置されたオブジェクト204a及び204b上でランダムな模様が無数に発生(アニメート)することになり、水の流れや煙の流れのような流体の動きを更にリアルに表現することができる。 Furthermore, since the first and second texture images 208a and 208b are rewritten by moving in any direction over time on the first and second objects 204a and 204b, respectively, Innumerable random patterns are generated (animated) on 204b, and fluid movement such as water flow and smoke flow can be expressed more realistically.

 多数のオブジェクトを多重に配置した例としては、例えば、図7Aに示すように、水道の蛇口210からの水を透明の水槽212に溜める場面が考えられる。この場合、例えば、図7Bに示すように、蛇口210から流れる水を表現するための1つのオブジェクト214、蛇口210から落下する水が水槽212の水面において周りに広がるのを表現するための2つのオブジェクト216及び218、水槽212内に水が溜まっていく様子を表現するための2つのオブジェクト220及び222を多重に配置した構成を採用することができる。 As an example in which a large number of objects are arranged in multiple layers, for example, as shown in FIG. 7A, a scene in which water from a tap faucet 210 is stored in a transparent water tank 212 can be considered. In this case, for example, as shown in FIG. 7B, one object 214 for expressing the water flowing from the faucet 210, and two for expressing that the water falling from the faucet 210 spreads around on the water surface of the water tank 212. It is possible to adopt a configuration in which the objects 216 and 218 and the two objects 220 and 222 for expressing the state in which the water is accumulated in the water tank 212 are arranged in a multiple manner.

 そして、各オブジェクト214、216、218、220及び222において、上述と同様にオブジェクトを構成する多数のポリゴンにテクスチャ画像208を貼り付ける際に、それぞれ個別のテクスチャ画像208を貼り付け、更に、これらテクスチャ画像208を、それぞれ対応するオブジェクト214、216、218、220及び222上において、時間の経過と共に任意の方向に移動させて書き換えることによって、蛇口210から流れる水が水槽212に溜められていくリアルな映像が映し出されることになる。 Then, in each of the objects 214, 216, 218, 220 and 222, when the texture image 208 is pasted on a number of polygons constituting the object in the same manner as described above, the individual texture images 208 are pasted. By rewriting the image 208 on the corresponding objects 214, 216, 218, 220, and 222 by moving in any direction as time passes, the water flowing from the faucet 210 is stored in the aquarium 212. The video will be projected.

 次に、上述の機能を達成させるためのソフトウエア(描画手段300)の一例について図8〜図18を参照しながら説明する。 Next, an example of software (drawing means 300) for achieving the above functions will be described with reference to FIGS.

 この描画手段300は、例えばCD−ROMやメモリカードのようなランダムアクセス可能な記録媒体、さらにはネットワークによって前記エンタテインメント装置10に提供されるようになっている。ここでは、CD−ROMのような光ディスク42からエンタテインメント装置10に読み込まれて動作する場合を想定して説明を進める。 The drawing means 300 is provided to the entertainment apparatus 10 by a random accessible recording medium such as a CD-ROM or a memory card, and further by a network. Here, the description will be made on the assumption that the entertainment apparatus 10 reads and operates from the optical disk 42 such as a CD-ROM.

 即ち、描画手段300は、例えば予めエンタテインメント装置10にて再生される特定の光ディスク42から所定の処理を経てエンタテインメント装置10のメインメモリ14にダウンロードされることによって、メインCPU12上で動作されるようになっている。 That is, the drawing means 300 is operated on the main CPU 12 by being downloaded to the main memory 14 of the entertainment apparatus 10 through a predetermined process, for example, from a specific optical disk 42 reproduced in advance by the entertainment apparatus 10. It has become.

 そして、この描画手段300は、図8に示すように、光ディスク42に記録されたオブジェクト情報テーブル322等の各種テーブルを読み出すためのテーブル読出し手段302と、テクスチャ情報テーブル304の内容に基づいて必要なテクスチャ画像208を画像メモリ34のテクスチャ描画領域34aに描画するテクスチャ描画手段306と、テクスチャ描画領域34aに描画されたテクスチャ画像208とポリゴン情報テーブル308の内容に基づいて画像メモリ34の表示描画領域34bにポリゴン206を描画すると共に、各ポリゴン206に必要なテクスチャ画像208を貼り付けるレンダリング手段310と、テクスチャ描画領域34aに描画されたテクスチャ画像208を移動情報テーブル312の内容に基づいて移動して書き換えるテクスチャ移動手段314と、表示描画領域34bに描画されたポリゴン206に移動後のテクスチャ画像208を貼り付けるテクスチャマッピング手段316と、処理の終了を判別する終了判別手段318と、画像メモリ34の表示描画領域34bに描画された画像データを表示装置16に出力して表示させる表示処理手段320とを有する。 The drawing means 300 is necessary based on the contents of the table reading means 302 for reading various tables such as the object information table 322 recorded on the optical disc 42 and the texture information table 304 as shown in FIG. The texture drawing means 306 for drawing the texture image 208 in the texture drawing area 34 a of the image memory 34, the display drawing area 34 b of the image memory 34 based on the texture image 208 drawn in the texture drawing area 34 a and the contents of the polygon information table 308. A rendering unit 310 that draws polygons 206 and pastes a texture image 208 necessary for each polygon 206, and a texture image 208 drawn in the texture drawing area 34a is moved based on the contents of the movement information table 312. The texture moving means 314 for rewriting, the texture mapping means 316 for pasting the moved texture image 208 to the polygon 206 drawn in the display drawing area 34b, the end determining means 318 for determining the end of processing, and the image memory 34 And display processing means 320 for outputting and displaying the image data drawn in the display drawing area 34b on the display device 16.

 ここで、描画手段300で使用される各種テーブルの内訳について図9〜図12を参照しながら説明する。 Here, the breakdown of various tables used in the drawing unit 300 will be described with reference to FIGS.

 オブジェクト情報テーブル322は、図9に示すように、各レコードに、オブジェクト204を構成するポリゴン206の数や、対応するテクスチャ情報テーブル304のアドレス、対応するポリゴン情報テーブル308のアドレス、対応する移動情報テーブル312のアドレス等がそれぞれ登録されている。 As shown in FIG. 9, the object information table 322 includes, in each record, the number of polygons 206 constituting the object 204, the corresponding texture information table 304 address, the corresponding polygon information table 308 address, and the corresponding movement information. Each address of the table 312 is registered.

 テクスチャ情報テーブル304は、図10に示すように、各レコードに、対応するテクスチャテーブル(各レコードにテクスチャ画像データの格納先頭アドレスが登録されている)のレコード指示情報と、使用するテクスチャ画像のデータ長、画像メモリ34のテクスチャ描画領域34aへの描画範囲(座標)等がそれぞれ登録されている。 As shown in FIG. 10, the texture information table 304 includes record instruction information of a texture table corresponding to each record (a storage head address of texture image data is registered in each record), and texture image data to be used. The length, the drawing range (coordinates) in the texture drawing area 34a of the image memory 34, and the like are registered.

 ポリゴン情報テーブル308は、図11に示すように、各レコードに、ポリゴン206の頂点座標と、画像メモリ34のテクスチャ描画領域34aのうち、使用すべきテクスチャ画像208が描画された部分の描画範囲(座標)等がそれぞれ登録されている。 As shown in FIG. 11, the polygon information table 308 includes, in each record, a drawing range of a portion where the texture image 208 to be used is drawn in the vertex coordinates of the polygon 206 and the texture drawing area 34 a of the image memory 34. Coordinate) etc. are registered respectively.

 移動情報テーブル312は、図12に示すように、各レコードに、移動すべきテクスチャ画像の描画範囲(座標)、その移動方向(上下左右)、循環移動すべきか否かを示す循環情報等がそれぞれ登録されている。 As shown in FIG. 12, the movement information table 312 includes, in each record, a drawing range (coordinates) of a texture image to be moved, its moving direction (up and down, left and right), cyclic information indicating whether or not to cyclically move, It is registered.

 次に、描画手段300の処理動作について図13〜図18のフローチャートを参照しながら説明する。 Next, the processing operation of the drawing means 300 will be described with reference to the flowcharts of FIGS.

 この描画手段300は、まず、図13のステップS1において、オブジェクト204の検索に使用されるインデックスレジスタiに初期値「0」を格納して、該インデックスレジスタiを初期化する。 The drawing means 300 first stores the initial value “0” in the index register i used for searching for the object 204 in step S1 of FIG. 13, and initializes the index register i.

 次に、ステップS2において、テーブル読出し手段302を通じて、オブジェクト情報テーブル322のiレコードを読み出す。 Next, in step S 2, the i record of the object information table 322 is read through the table reading unit 302.

 次に、ステップS3において、終了判別手段318を通じて、前記読み出したレコードの内容がオブジェクト情報テーブル322の最後を示すEOFコードであるか否かが判別される。 Next, in step S 3, it is determined whether or not the content of the read record is an EOF code indicating the end of the object information table 322 through the end determination means 318.

 オブジェクト情報テーブル322の最後でなければ、次のステップS4に進み、テーブル読出し手段302を通じて、当該オブジェクト情報テーブル322のiレコード目から対応するテクスチャ情報テーブル304のアドレスと対応するポリゴン情報テーブル308のアドレスを読み出して、それぞれ該当するテクスチャ情報テーブル304とポリゴン情報テーブル308を読み出す。 If it is not the last of the object information table 322, the process proceeds to the next step S4, and the address of the polygon information table 308 corresponding to the address of the corresponding texture information table 304 from the i-th record of the object information table 322 through the table reading means 302. And the corresponding texture information table 304 and polygon information table 308 are read out.

 次に、ステップS5において、テクスチャ描画手段306での処理に入る。このテクスチャ描画手段306は、まず、図15のステップS101において、テクスチャ画像208の検索に使用されるインデックスレジスタjに初期値を格納して、該インデックスレジスタjを初期化する。 Next, in step S5, processing by the texture drawing unit 306 is entered. First, the texture drawing unit 306 stores an initial value in the index register j used for searching the texture image 208 and initializes the index register j in step S101 of FIG.

 次に、ステップS102において、該当するテクスチャ情報テーブル304のjレコードを読み出す。 Next, in step S102, the j record of the corresponding texture information table 304 is read.

 次に、ステップS103において、前記読み出したレコードの内容がテクスチャ情報テーブル304の最後を示すEOFコードであるか否かが判別される。 Next, in step S103, it is determined whether or not the content of the read record is an EOF code indicating the end of the texture information table 304.

 テクスチャ情報テーブル304の最後でなければ、次のステップS104に進み、前記読み出されたjレコード目に格納されたテクスチャテーブルのレコード指示情報とテクスチャ画像208のデータ長に基づいて、テクスチャ画像データを読み出して、画像メモリ34のテクスチャ描画領域34aのうち、jレコード目に格納された描画範囲に対応する部分に描画する。 If it is not the last of the texture information table 304, the process proceeds to the next step S104, and the texture image data is obtained based on the record instruction information of the texture table stored in the read j-th record and the data length of the texture image 208. The data is read out and drawn in a portion corresponding to the drawing range stored in the jth record in the texture drawing area 34a of the image memory 34.

 次に、ステップS105において、インデックスレジスタjの値を+1更新した後、前記ステップS102に戻り、テクスチャ情報テーブル304における次のレコードの内容に基づいて上述と同様の処理を行う。 Next, in step S105, after the value of the index register j is updated by +1, the process returns to step S102, and the same processing as described above is performed based on the content of the next record in the texture information table 304.

 そして、前記ステップS103において、テクスチャ情報テーブル304の最後を示すEOFコードが検出された段階で、このテクスチャ描画手段306での処理が終了する。 In step S103, when the EOF code indicating the end of the texture information table 304 is detected, the processing in the texture drawing unit 306 ends.

 図13のメインルーチンに戻り、次のステップS6において、レンダリング手段310での処理に入る。このレンダリング手段310は、まず、図16のステップS201において、ポリゴン206の検索に使用されるインデックスレジスタkに初期値「0」を格納して、該インデックスレジスタkを初期化する。 Returning to the main routine of FIG. 13, in the next step S6, the processing in the rendering means 310 is entered. First, in step S201 of FIG. 16, the rendering unit 310 stores an initial value “0” in the index register k used for searching the polygon 206, and initializes the index register k.

 次に、ステップS202において、該当するポリゴン情報テーブル308のkレコードを読み出す。 Next, in step S202, the k record of the corresponding polygon information table 308 is read.

 次に、ステップS203において、k番目のポリゴン206を表示描画領域34bのうち、頂点座標から導き出される描画範囲に描画する。 Next, in step S203, the kth polygon 206 is drawn in the drawing range derived from the vertex coordinates in the display drawing area 34b.

 次に、ステップS204において、テクスチャ描画領域34aに描画されたテクスチャ画像208のうち、使用すべきテクスチャ画像208の描画範囲からテクスチャ画像208を読み出してk番目のポリゴン206にテクスチャマッピングする。 Next, in step S204, among the texture images 208 drawn in the texture drawing area 34a, the texture image 208 is read from the drawing range of the texture image 208 to be used and texture mapped to the kth polygon 206.

 次に、ステップS205において、インデックスレジスタkの値を+1更新した後、次のステップS206において、全てのポリゴン206について処理を行ったか否かが判別される。この判別は、インデックスレジスタkの値がポリゴン数M以上であるかどうかで行われる。 Next, after updating the value of the index register k by +1 in step S205, it is determined in the next step S206 whether or not all the polygons 206 have been processed. This determination is made based on whether or not the value of the index register k is equal to or greater than the number of polygons M.

 全てのポリゴン206について処理が終了していなければ、前記ステップS202に戻り、次のポリゴン206を描画すると共に、該ポリゴン206に必要なテクスチャ画像208をテクスチャマッピングする。 If the processing has not been completed for all the polygons 206, the process returns to step S202 to draw the next polygon 206 and texture-map the texture image 208 necessary for the polygon 206.

 そして、ステップS206において、全てのポリゴン206に対する処理が終了したと判別された段階で、このレンダリング手段310での処理が終了する。 In step S206, when it is determined that the processing for all the polygons 206 has been completed, the processing in the rendering unit 310 ends.

 図13のメインルーチンに戻り、次のステップS7において、インデックスレジスタiの値を+1更新した後、前記ステップS2に戻り、次のオブジェクト204について上述と同様の処理を行う。 Returning to the main routine of FIG. 13, after the value of the index register i is updated by +1 in the next step S7, the process returns to the step S2 and the same processing as described above is performed for the next object 204.

 そして、前記ステップS3において、オブジェクト情報テーブル322の最後を示すEOFコードを検出した段階で、次のステップS8に進み、表示処理手段320を通じて、表示描画領域34bに描画された画像データを表示装置16に出力して表示させる。 In step S3, when an EOF code indicating the end of the object information table 322 is detected, the process proceeds to the next step S8, and the image data drawn in the display drawing area 34b is displayed on the display device 16 through the display processing unit 320. Output to and display.

 次に、図14のステップS9において、オブジェクト204の検索に使用されるインデックスレジスタiに初期値「0」を格納して、該インデックスレジスタiを初期化する。 Next, in step S9 of FIG. 14, the initial value “0” is stored in the index register i used for searching the object 204, and the index register i is initialized.

 次に、ステップS10において、テーブル読出し手段302を通じて、オブジェクト情報テーブル322のiレコードを読み出す。 Next, in step S 10, the i record of the object information table 322 is read through the table reading unit 302.

 次に、ステップS11において、終了判別手段318を通じて、前記読み出したレコードの内容がオブジェクト情報テーブル322の最後を示すEOFコードであるか否かが判別される。 Next, in step S 11, it is determined whether or not the content of the read record is an EOF code indicating the end of the object information table 322 through the end determination means 318.

 オブジェクト情報テーブル322の最後でなければ、次のステップS12に進み、テーブル読出し手段302を通じて、当該オブジェクト情報テーブル322のiレコード目から対応するポリゴン情報テーブル308のアドレスと対応する移動情報テーブル312のアドレスを読み出して、それぞれ該当するポリゴン情報テーブル308と移動情報テーブル312を読み出す。 If it is not the last of the object information table 322, the process proceeds to the next step S12, and the address of the movement information table 312 corresponding to the address of the corresponding polygon information table 308 from the i-th record of the object information table 322 through the table reading means 302. And the corresponding polygon information table 308 and movement information table 312 are read out.

 次に、ステップS13において、テクスチャ移動手段314での処理に入る。このテクスチャ移動手段314は、まず、図17のステップS301において、移動情報の検索に使用されるインデックスレジスタmに初期値「0」を格納して、該インデックスレジスタmを初期化する。 Next, in step S13, the processing by the texture moving means 314 is entered. First, in step S301 of FIG. 17, the texture moving unit 314 stores an initial value “0” in the index register m used for searching for movement information, and initializes the index register m.

 次に、ステップS302において、該当する移動情報テーブル312のmレコードを読み出す。 Next, in step S302, m records of the corresponding movement information table 312 are read.

 次に、ステップS303において、前記読み出したレコードの内容が移動情報テーブル312の最後を示すEOFコードであるか否かが判別される。 Next, in step S303, it is determined whether or not the content of the read record is an EOF code indicating the end of the movement information table 312.

 移動情報テーブル312の最後でなければ、次のステップS304に進み、テクスチャ描画領域34aに描画されたテクスチャ画像208のうち、mレコードに格納されたテクスチャ画像208の描画範囲に対応する移動対象のテクスチャ画像208を、同じくmレコードに格納された移動方向に沿って所定幅だけ移動させて書き換える。 If it is not the end of the movement information table 312, the process proceeds to the next step S304, and the texture to be moved corresponding to the drawing range of the texture image 208 stored in the m record among the texture images 208 drawn in the texture drawing area 34a. The image 208 is rewritten by moving by a predetermined width along the moving direction similarly stored in the m record.

 次に、ステップS305において、循環描画が必要か否かが判別される。この判別は、前記mレコードに格納された循環情報に基づいて行われる。 Next, in step S305, it is determined whether or not cyclic drawing is necessary. This determination is performed based on the circulation information stored in the m record.

 循環描画が必要である場合は、次のステップS306に進み、前記ステップS304での移動処理によって、はみ出した部分のテクスチャ画像208を始点部分に書き込む。 If cyclic drawing is necessary, the process proceeds to the next step S306, and the texture image 208 of the protruding portion is written in the starting point portion by the movement processing in step S304.

 前記ステップS306での処理が終了した段階、又は前記ステップS305において循環描画が不要であると判別された場合に、次のステップS307に進み、インデックスレジスタmの値を+1更新する。その後、前記ステップS302に戻り、次の移動情報に基づいて対応するテクスチャ画像208の移動、書き換え処理を行う。 When the process in step S306 is completed, or when it is determined in step S305 that the circular drawing is unnecessary, the process proceeds to the next step S307, and the value of the index register m is updated by +1. Thereafter, the process returns to step S302, and the corresponding texture image 208 is moved and rewritten based on the next movement information.

 そして、前記ステップS303において、移動情報テーブル312の最後を示すEOFコードが検出された段階で、このテクスチャ移動手段314での処理が終了する。 In step S303, when an EOF code indicating the end of the movement information table 312 is detected, the processing in the texture moving unit 314 ends.

 図14のメインルーチンに戻り、次のステップS14において、テクスチャマッピング手段316での処理に入る。 Returning to the main routine of FIG. 14, in the next step S14, the processing by the texture mapping means 316 is entered.

 このテクスチャマッピング手段316は、まず、図18のステップS401において、ポリゴン206の検索に使用されるインデックスレジスタkに初期値「0」を格納して、該インデックスレジスタkを初期化する。 The texture mapping means 316 first stores the initial value “0” in the index register k used for searching for the polygon 206 in step S401 in FIG. 18, and initializes the index register k.

 次に、ステップS402において、該当するポリゴン情報テーブル308のkレコードを読み出す。 Next, in step S402, the k record of the corresponding polygon information table 308 is read.

 次に、ステップS403において、テクスチャ描画領域34aに描画されたテクスチャ画像208のうち、使用すべきテクスチャ画像208の描画範囲からテクスチャ画像208を読み出してk番目のポリゴン206にテクスチャマッピングする。 Next, in step S403, among the texture images 208 drawn in the texture drawing area 34a, the texture image 208 is read from the drawing range of the texture image 208 to be used and texture mapped to the kth polygon 206.

 次に、ステップS404において、インデックスレジスタkの値を+1更新した後、次のステップS405において、全てのポリゴン206について処理を行ったか否かが判別される。この判別は、インデックスレジスタkの値がポリゴン数M以上であるかどうかで行われる。 Next, after the value of the index register k is updated by +1 in step S404, it is determined in step S405 whether or not all the polygons 206 have been processed. This determination is made based on whether or not the value of the index register k is equal to or greater than the number of polygons M.

 全てのポリゴン206について処理が終了していなければ、前記ステップS402に戻り、次のポリゴン206に対して必要なテクスチャ画像208をテクスチャマッピングする。 If the processing has not been completed for all the polygons 206, the process returns to step S402 to texture-map the necessary texture image 208 for the next polygon 206.

 そして、ステップS405において、全てのポリゴン206に対する処理が終了したと判別された段階で、このテクスチャマッピング手段316での処理が終了する。 In step S405, when it is determined that the processing for all the polygons 206 has been completed, the processing in the texture mapping unit 316 ends.

 図14のメインルーチンに戻り、次のステップS15において、インデックスレジスタiの値を+1更新した後、前記ステップS10に戻り、次のオブジェクト204について上述と同様の処理(テクスチャ画像208の移動処理とポリゴン206へのテクスチャマッピング処理)を行う。 Returning to the main routine of FIG. 14, in the next step S15, the value of the index register i is updated by +1. Then, the process returns to step S10, and the next object 204 is processed in the same manner as described above (the process of moving the texture image 208 and the polygon Texture mapping process 206).

 そして、前記ステップS11において、オブジェクト情報テーブル322の最後を示すEOFコードが検出された段階で、次のステップS16に進み、表示処理手段320を通じて、表示描画領域34bに描画された画像データを表示装置16に出力して表示させる。 In step S11, when an EOF code indicating the end of the object information table 322 is detected, the process proceeds to the next step S16, and image data drawn in the display drawing area 34b is displayed on the display device through the display processing unit 320. 16 is output and displayed.

 次に、ステップS17において、終了判別手段318を通じて、この描画手段300に対するプログラム終了要求があったか否かが判別される。終了要求がなければ、前記ステップS9に進み、最初のオブジェクト204から上述と同様の処理(テクスチャ画像208の移動処理とポリゴン206へのテクスチャマッピング処理)を行う。 Next, in step S17, it is determined whether or not there is a program end request for the drawing unit 300 through the end determining unit 318. If there is no end request, the process proceeds to step S9, and processing similar to that described above (processing to move the texture image 208 and texture mapping to the polygon 206) is performed from the first object 204.

 そして、前記ステップS17において、プログラム終了要求があったと判別された段階で、この描画手段300での処理が終了する。 In step S17, when it is determined that there is a program end request, the processing in the drawing unit 300 ends.

 このように、本実施の形態に係る描画手段300においては、少なくとも1つのオブジェクト204上で擬似的にテクスチャ画像208を移動させながら描画を行うようにしている。具体的には、少なくとも1つの半透明又は透明のオブジェクト204の表面に1種又は数種の半透明のテクスチャ画像208を配置し、前記1種又は数種の半透明のテクスチャ画像208をそれぞれ任意の方向に擬似的に移動させながら描画を行うようにしている。 As described above, the drawing means 300 according to the present embodiment performs drawing while moving the texture image 208 on the at least one object 204 in a pseudo manner. Specifically, one or several types of translucent texture images 208 are arranged on the surface of at least one translucent or transparent object 204, and each of the one or several types of translucent texture images 208 is arbitrarily set. The image is drawn while moving in a pseudo direction.

 これにより、オブジェクト204の表面を擬似的に移動するテクスチャ画像208がオブジェクト上で重なり合ってランダムな模様が無数に発生(アニメート)し、水の流れや煙の流れのような流体の動きが表現されることになる。 As a result, the texture image 208 moving in a pseudo manner on the surface of the object 204 overlaps on the object and an infinite number of random patterns are generated (animated), and fluid movement such as water flow and smoke flow is expressed. It will be.

 つまり、本実施の形態に係る描画手段300においては、少なくとも1つのオブジェクト204上で擬似的にテクスチャ画像208を移動させながら描画するという処理を行うことで、流体の動きを得るための計算や描画にかかる時間を大幅に低減することができ、かつ、高品位な描画を行うことができる。 That is, in the drawing unit 300 according to the present embodiment, calculation or drawing for obtaining fluid movement is performed by performing a process of drawing while moving the texture image 208 on the at least one object 204 in a pseudo manner. Time can be significantly reduced, and high-quality drawing can be performed.

 なお、この発明に係る画像描画方法、画像描画装置、記録媒体及びプログラムは、上述の実施の形態に限らず、この発明の要旨を逸脱することなく、種々の構成を採り得ることはもちろんである。 Note that the image drawing method, the image drawing apparatus, the recording medium, and the program according to the present invention are not limited to the above-described embodiments, and various configurations can be adopted without departing from the gist of the present invention. .

本実施の形態に係るエンタテインメント装置の構成を示すブロック図である。It is a block diagram which shows the structure of the entertainment apparatus which concerns on this Embodiment. 川の水が支柱に当たって例えば両側に分かれて流れていく様子を示す説明図である。It is explanatory drawing which shows a mode that the water of a river hits a support | pillar and divides and flows into both sides, for example. 図2に示すオブジェクトを多数のポリゴンに分割して示す説明図である。It is explanatory drawing which divides | segments the object shown in FIG. 2 into many polygons. 図4A及び図4Bは、テクスチャ画像の例を示す説明図である。4A and 4B are explanatory diagrams illustrating examples of texture images. テクスチャ描画領域に描画されたテクスチャ画像の移動方向を示す説明図である。It is explanatory drawing which shows the moving direction of the texture image drawn in the texture drawing area. オブジェクトを多重に配置した例を示す説明図である。It is explanatory drawing which shows the example which has arrange | positioned the object in multiple. 図7Aは、水道の蛇口からの水を透明の水槽に溜める様子を示す説明図であり、図7Bは、図7Aに示す画像を複数のオブジェクトに分離して示す説明図である。FIG. 7A is an explanatory diagram illustrating a state in which water from a faucet is accumulated in a transparent water tank, and FIG. 7B is an explanatory diagram illustrating the image illustrated in FIG. 7A separated into a plurality of objects. 本実施の形態に係る描画手段の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the drawing means concerning this Embodiment. オブジェクト情報テーブルの内訳を示す説明図である。It is explanatory drawing which shows the breakdown of an object information table. テクスチャ情報テーブルの内訳を示す説明図である。It is explanatory drawing which shows the breakdown of a texture information table. ポリゴン情報テーブルの内訳を示す説明図である。It is explanatory drawing which shows the breakdown of a polygon information table. 移動情報テーブルの内訳を示す説明図である。It is explanatory drawing which shows the breakdown of a movement information table. 本実施の形態に係る描画手段の処理動作を示すフローチャート(その1)である。It is a flowchart (the 1) which shows the processing operation of the drawing means which concerns on this Embodiment. 本実施の形態に係る描画手段の処理動作を示すフローチャート(その2)である。It is a flowchart (the 2) which shows the processing operation of the drawing means which concerns on this Embodiment. テクスチャ描画手段の処理動作を示すフローチャートである。It is a flowchart which shows the processing operation of a texture drawing means. レンダリング手段の処理動作を示すフローチャートである。It is a flowchart which shows the processing operation of a rendering means. テクスチャ移動手段の処理動作を示すフローチャートである。It is a flowchart which shows the processing operation of a texture moving means. テクスチャマッピング手段の処理動作を示すフローチャートである。It is a flowchart which shows the processing operation of a texture mapping means.

符号の説明Explanation of symbols

 10…エンタテインメント装置   16…表示装置
 34…画像メモリ         34a…テクスチャ描画領域
 34b…表示描画領域       42…光ディスク
 204…オブジェクト       206…ポリゴン
 208…テクスチャ画像
 214、216、218、220、222…オブジェクト
 300…描画手段         302…テーブル読出し手段
 306…テクスチャ描画手段    310…レンダリング手段
 314…テクスチャ移動手段    316…テクスチャマッピング手段
 320…表示処理手段
DESCRIPTION OF SYMBOLS 10 ... Entertainment apparatus 16 ... Display apparatus 34 ... Image memory 34a ... Texture drawing area 34b ... Display drawing area 42 ... Optical disk 204 ... Object 206 ... Polygon 208 ... Texture image 214, 216, 218, 220, 222 ... Object 300 ... Drawing means 302 ... Table reading means 306 ... Texture drawing means 310 ... Rendering means 314 ... Texture moving means 316 ... Texture mapping means 320 ... Display processing means

Claims (20)

 少なくとも1つのオブジェクト上で擬似的にテクスチャを移動させながら描画を行うことを特徴とする画像描画方法。 An image drawing method characterized in that drawing is performed while moving a texture on at least one object in a pseudo manner.  請求項1記載の画像描画方法において、
 少なくとも1つの半透明又は透明オブジェクトの表面に1種又は数種の半透明テクスチャを配置し、前記1種又は数種の半透明テクスチャをそれぞれ任意の方向に擬似的に移動させながら描画を行うことを特徴とする画像描画方法。
The image drawing method according to claim 1,
One or several semi-transparent textures are arranged on the surface of at least one semi-transparent or transparent object, and drawing is performed while moving the one or several semi-transparent textures in an arbitrary direction. An image drawing method characterized by the above.
 請求項2記載の画像描画方法において、
 前記半透明又は透明オブジェクトが一重又は多重に配置されていることを特徴とする画像描画方法。
The image drawing method according to claim 2,
An image drawing method, wherein the semi-transparent or transparent objects are arranged in a single layer or multiple layers.
 請求項1記載の画像描画方法において、
 前記オブジェクトを構成する複数の半透明又は透明ポリゴンの表面にそれぞれ1種又は数種の半透明テクスチャを配置し、前記1種又は数種の半透明のテクスチャをそれぞれ任意の方向に疑似的に移動させながら描画を行うことを特徴とする画像描画方法。
The image drawing method according to claim 1,
One or several types of semi-transparent textures are arranged on the surfaces of a plurality of semi-transparent or transparent polygons constituting the object, and the one or several types of semi-transparent textures are moved in an arbitrary direction in a pseudo manner. An image drawing method characterized in that drawing is performed.
 請求項4記載の画像描画方法において、
 前記半透明又は透明ポリゴンが一重又は多重に配置されていることを特徴とする画像描画方法。
The image drawing method according to claim 4.
An image drawing method, wherein the translucent or transparent polygons are arranged in a single or multiple manner.
 必要なテクスチャ画像を画像メモリのテクスチャ描画領域に描画し、
 少なくとも前記テクスチャ画像に基づいて画像メモリの表示描画領域にポリゴンを描画すると共に、各ポリゴンに必要なテクスチャ画像を貼り付け、
 前記テクスチャ描画領域に描画されたテクスチャ画像を任意の方向に移動して書き換え、
 前記表示描画領域に描画されたポリゴンに移動後のテクスチャ画像を貼り付けることを特徴とする画像描画方法。
Draw the required texture image in the texture drawing area of the image memory,
At least draw a polygon in the display drawing area of the image memory based on the texture image, and paste the required texture image to each polygon,
Move and rewrite the texture image drawn in the texture drawing area in any direction,
An image drawing method comprising pasting a texture image after movement to a polygon drawn in the display drawing area.
 少なくとも1つのオブジェクト上で擬似的にテクスチャを移動させながら描画を行う描画手段を有することを特徴とする画像描画装置。 An image drawing apparatus comprising drawing means for performing drawing while moving a texture on at least one object in a pseudo manner.  請求項7記載の画像描画装置において、
 前記描画手段は、少なくとも1つの半透明又は透明オブジェクトの表面に1種又は数種の半透明テクスチャを配置し、前記1種又は数種の半透明テクスチャをそれぞれ任意の方向に擬似的に移動させながら描画を行うことを特徴とする画像描画装置。
The image drawing apparatus according to claim 7.
The drawing means arranges one or several kinds of semi-transparent textures on the surface of at least one semi-transparent or transparent object, and moves the one or several kinds of semi-transparent textures in an arbitrary direction in a pseudo manner. An image drawing apparatus characterized in that drawing is performed.
 請求項8記載の画像描画装置において、
 前記描画手段は、前記半透明又は透明オブジェクトを一重又は多重に配置するオブジェクト設定手段を有することを特徴とする画像描画装置。
The image drawing apparatus according to claim 8.
The image drawing apparatus, wherein the drawing means includes object setting means for arranging the semi-transparent or transparent objects in a single or multiple manner.
 請求項7記載の画像描画装置において、
 前記描画手段は、前記オブジェクトを構成する複数の半透明又は透明ポリゴンの表面にそれぞれ1種又は数種の半透明テクスチャを配置し、前記1種又は数種の半透明のテクスチャをそれぞれ任意の方向に疑似的に移動させながら描画を行うことを特徴とする画像描画装置。
The image drawing apparatus according to claim 7.
The drawing means arranges one or several types of translucent textures on the surfaces of a plurality of translucent or transparent polygons constituting the object, and each of the one or several types of translucent textures in an arbitrary direction. An image drawing apparatus that performs drawing while moving the image in a pseudo manner.
 請求項10記載の画像描画装置において、
 前記描画手段は、前記オブジェクトを構成する前記半透明又は透明ポリゴンを一重又は多重に配置するオブジェクト設定手段を有することを特徴とする画像描画装置。
The image drawing apparatus according to claim 10.
The image drawing apparatus, wherein the drawing means includes object setting means for arranging the semi-transparent or transparent polygons constituting the object in a single or multiple manner.
 必要なテクスチャ画像を画像メモリのテクスチャ描画領域に描画するテクスチャ描画手段と、
 少なくとも前記テクスチャ画像に基づいて画像メモリの表示描画領域にポリゴンを描画すると共に、各ポリゴンに必要なテクスチャ画像を貼り付けるレンダリング手段と、
 前記テクスチャ描画領域に描画されたテクスチャ画像を任意の方向に移動して書き換えるテクスチャ移動手段と、
 前記表示描画領域に描画されたポリゴンに移動後のテクスチャ画像を貼り付けるテクスチャマッピング手段とを有することを特徴とする画像描画装置。
Texture drawing means for drawing a necessary texture image in a texture drawing area of an image memory;
Rendering means for drawing a polygon in a display drawing area of an image memory based on at least the texture image, and pasting a texture image necessary for each polygon;
Texture moving means for moving and rewriting a texture image drawn in the texture drawing area in an arbitrary direction;
An image drawing apparatus comprising: texture mapping means for attaching the moved texture image to the polygon drawn in the display drawing area.
 少なくとも1つのオブジェクト上で擬似的にテクスチャを移動させながら描画を行う描画ステップを含むプログラムやデータが記録されていることを特徴とする記録媒体。 A recording medium on which is recorded a program and data including a drawing step for drawing while moving a texture on at least one object in a pseudo manner.  請求項13記載の記録媒体において、
 前記描画ステップは、少なくとも1つの半透明又は透明オブジェクトの表面に1種又は数種の半透明テクスチャを配置し、前記1種又は数種の半透明テクスチャをそれぞれ任意の方向に擬似的に移動させながら描画を行うことを特徴とする記録媒体。
The recording medium according to claim 13, wherein
In the drawing step, one or several kinds of semi-transparent textures are arranged on the surface of at least one semi-transparent or transparent object, and the one or several kinds of semi-transparent textures are moved in an arbitrary direction in a pseudo manner. A recording medium characterized by performing drawing.
 請求項14記載の記録媒体において、
 前記描画ステップは、前記半透明又は透明オブジェクトを一重又は多重に配置するオブジェクト設定ステップを含むことを特徴とする記録媒体。
The recording medium according to claim 14, wherein
The drawing step includes an object setting step of arranging the semi-transparent or transparent objects in a single or multiple manner.
 請求項13記載の記録媒体において、
 前記描画ステップは、前記オブジェクトを構成する複数の半透明又は透明ポリゴンの表面にそれぞれ1種又は数種の半透明テクスチャを配置し、前記1種又は数種の半透明のテクスチャをそれぞれ任意の方向に疑似的に移動させながら描画を行うことを特徴とする記録媒体。
The recording medium according to claim 13, wherein
In the drawing step, one or several kinds of semi-transparent textures are arranged on the surfaces of a plurality of semi-transparent or transparent polygons constituting the object, and the one or several kinds of semi-transparent textures are arranged in arbitrary directions. A recording medium characterized by performing drawing while moving in a pseudo manner.
 請求項16記載の記録媒体において、
 前記描画ステップは、前記オブジェクトを構成する前記半透明又は透明ポリゴンを一重又は多重に配置するオブジェクト設定ステップを含むことを特徴とする記録媒体。
The recording medium according to claim 16, wherein
The drawing step includes an object setting step in which the semi-transparent or transparent polygons constituting the object are arranged in a single or multiple manner.
 必要なテクスチャ画像を画像メモリのテクスチャ描画領域に描画するテクスチャ描画ステップと、
 少なくとも前記テクスチャ画像に基づいて画像メモリの表示描画領域にポリゴンを描画すると共に、各ポリゴンに必要なテクスチャ画像を貼り付けるレンダリングステップと、
 前記テクスチャ描画領域に描画されたテクスチャ画像を任意の方向に移動して書き換えるテクスチャ移動ステップと、
 前記表示描画領域に描画されたポリゴンに移動後のテクスチャ画像を貼り付けるテクスチャマッピングステップとを含むプログラムやデータが記録されていることを特徴とする記録媒体。
A texture drawing step for drawing a necessary texture image in a texture drawing area of an image memory;
A rendering step of drawing a polygon in a display drawing area of an image memory based on at least the texture image, and pasting a texture image necessary for each polygon;
A texture movement step of moving and rewriting the texture image drawn in the texture drawing area in an arbitrary direction;
A recording medium in which a program and data including a texture mapping step of pasting a texture image after movement to a polygon drawn in the display drawing area is recorded.
 コンピュータにて読み取り、実行可能なプログラムにおいて、
 少なくとも1つのオブジェクト上で擬似的にテクスチャを移動させながら描画を行う描画ステップを含むことを特徴とするプログラム。
In a program that can be read and executed by a computer,
A program comprising a drawing step of performing drawing while moving a texture on at least one object in a pseudo manner.
 必要なテクスチャ画像を画像メモリのテクスチャ描画領域に描画するテクスチャ描画ステップと、
 少なくとも前記テクスチャ画像に基づいて画像メモリの表示描画領域にポリゴンを描画すると共に、各ポリゴンに必要なテクスチャ画像を貼り付けるレンダリングステップと、
 前記テクスチャ描画領域に描画されたテクスチャ画像を任意の方向に移動して書き換えるテクスチャ移動ステップと、
 前記表示描画領域に描画されたポリゴンに移動後のテクスチャ画像を貼り付けるテクスチャマッピングステップとを含むことを特徴とするプログラム。

A texture drawing step for drawing a necessary texture image in a texture drawing area of an image memory;
A rendering step of drawing a polygon in a display drawing area of an image memory based on at least the texture image, and pasting a texture image necessary for each polygon;
A texture movement step of moving and rewriting the texture image drawn in the texture drawing area in an arbitrary direction;
And a texture mapping step of pasting the texture image after movement onto the polygon drawn in the display drawing area.

JP2004005623A 1999-09-10 2004-01-13 Image drawing method, image drawing device, record medium, and program Pending JP2004127323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004005623A JP2004127323A (en) 1999-09-10 2004-01-13 Image drawing method, image drawing device, record medium, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP25793399 1999-09-10
JP2004005623A JP2004127323A (en) 1999-09-10 2004-01-13 Image drawing method, image drawing device, record medium, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2000273220A Division JP3811604B2 (en) 1999-09-10 2000-09-08 Image drawing method, image drawing apparatus, and recording medium

Publications (1)

Publication Number Publication Date
JP2004127323A true JP2004127323A (en) 2004-04-22

Family

ID=32300000

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004005623A Pending JP2004127323A (en) 1999-09-10 2004-01-13 Image drawing method, image drawing device, record medium, and program

Country Status (1)

Country Link
JP (1) JP2004127323A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218846A (en) * 2013-04-16 2013-07-24 西安理工大学 Ink painting simulation method of three-dimensional tree model
CN106693290A (en) * 2016-12-07 2017-05-24 浙江理工大学 Spinning virtual-wandering system and virtual wandering achievement method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218846A (en) * 2013-04-16 2013-07-24 西安理工大学 Ink painting simulation method of three-dimensional tree model
CN103218846B (en) * 2013-04-16 2016-06-01 西安理工大学 The ink and wash analogy method of Three-dimension Tree model
CN106693290A (en) * 2016-12-07 2017-05-24 浙江理工大学 Spinning virtual-wandering system and virtual wandering achievement method
CN106693290B (en) * 2016-12-07 2019-02-15 浙江理工大学 A kind of Spinning Virtual Wandering System and virtual roaming implementation method

Similar Documents

Publication Publication Date Title
JP3599268B2 (en) Image processing method, image processing apparatus, and recording medium
US5058042A (en) Method for employing a hierarchical display list in global rendering
CN102663799A (en) Creation of a playable scene with an authoring system
JP5873672B2 (en) Method for estimating the amount of light received at a point in a virtual environment
EP1083521B1 (en) Method of and apparatus for rendering image, recording medium, and program
CN101617343A (en) Play up the method and system of three-dimensional scenic fast
KR102151443B1 (en) Graphics processing apparatus based on hybrid gpu architecture
Funkhouser Database and display algorithms for interactive visualization of architectural models
US6784882B1 (en) Methods and apparatus for rendering an image including portions seen through one or more objects of the image
US20020190997A1 (en) Methods and apparatus for radiometrically accurate texture-based graphic primitive rendering technique
Agnello et al. Virtual reality for historical architecture
Boeykens Unity for architectural visualization
CN116051713A (en) Rendering method, electronic device, and computer-readable storage medium
Loscos et al. Real-time shadows for animated crowds in virtual cities
JP3811604B2 (en) Image drawing method, image drawing apparatus, and recording medium
Aliaga et al. Smooth transitions in texture-based simplification
KR100295709B1 (en) Spotlight characteristic forming method and image processor using the same
JP2004127323A (en) Image drawing method, image drawing device, record medium, and program
JP3517637B2 (en) Image drawing method, image drawing apparatus, and recording medium
Brogni et al. An interaction system for the presentation of a virtual egyptian flute in a real museum
JPH06215150A (en) Three-dimensional image display device
Malhotra Issues involved in real-time rendering of virtual environments
JP3643727B2 (en) Image drawing method, image drawing apparatus, and recording medium
JP2001243493A (en) Method and device for image plotting, recording medium, and program
JPH0773342A (en) Image generator