JP2012063820A - Image processor, image processor control method and program - Google Patents

Image processor, image processor control method and program Download PDF

Info

Publication number
JP2012063820A
JP2012063820A JP2010205265A JP2010205265A JP2012063820A JP 2012063820 A JP2012063820 A JP 2012063820A JP 2010205265 A JP2010205265 A JP 2010205265A JP 2010205265 A JP2010205265 A JP 2010205265A JP 2012063820 A JP2012063820 A JP 2012063820A
Authority
JP
Japan
Prior art keywords
hair
texture image
character
image
drawing object
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.)
Granted
Application number
JP2010205265A
Other languages
Japanese (ja)
Other versions
JP5145391B2 (en
Inventor
Yoshinori Sekine
慶典 関根
Kei Masuda
圭 益田
Hideyuki Arata
英幸 新
Shintaro Kumakawa
晋太郎 熊川
Naomi Hara
尚美 原
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.)
Konami Digital Entertainment Co Ltd
Original Assignee
Konami Digital Entertainment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konami Digital Entertainment Co Ltd filed Critical Konami Digital Entertainment Co Ltd
Priority to JP2010205265A priority Critical patent/JP5145391B2/en
Publication of JP2012063820A publication Critical patent/JP2012063820A/en
Application granted granted Critical
Publication of JP5145391B2 publication Critical patent/JP5145391B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To express a stereoscopic effect of hair while suppressing a processing load.SOLUTION: A game device (10) displays, on display means (32), an image of a three-dimensional space viewed from a given viewpoint in which a character object indicating a character is placed. An object setting unit (72) sets an character object (44) including a substantially cylindrical object (60) for drawing hair indicating the hair of the character. When a hair texture image (90) is mapped on the object (60) for drawing hair, a texture image acquisition unit (74) acquires the hair texture image (90) in which the hair appears spirally along a surface of the object (60) for drawing hair. A display control unit (76) causes the display means (32) to display an image of the character object (44), viewed from a viewpoint (46), including the object (60) for drawing hair on which the hair texture image (90) is mapped.

Description

本発明は、画像処理装置、画像処理装置の制御方法、及びプログラムに関する。   The present invention relates to an image processing apparatus, a control method for the image processing apparatus, and a program.

従来、仮想3次元空間を所与の視点から見た画像を表示させる画像処理装置が知られている。特許文献1には、テクスチャ画像がマッピングされたキャラクタオブジェクトを仮想カメラから見た画像を表示する技術が記載されている。   Conventionally, an image processing apparatus that displays an image of a virtual three-dimensional space viewed from a given viewpoint is known. Patent Document 1 describes a technique for displaying an image obtained by viewing a character object to which a texture image is mapped from a virtual camera.

特開2009−230543号公報JP 2009-230543 A

例えば、キャラクタの毛髪を表す場合、特許文献1のように、単にテクスチャ画像をキャラクタオブジェクトにマッピングする方法では、平面的な描写となってしまうので、毛髪(例えば、パーマがかかった毛髪)の立体感を十分に表現することはできない。毛髪の立体感を表現するために、キャラクタオブジェクトに含まれるポリゴンを細かく設定することも考えられるが、ポリゴンの頂点数が増加するため処理負荷が増大する可能性がある。   For example, when representing the hair of a character, the method of simply mapping a texture image to a character object as in Patent Document 1 results in a planar depiction, so the solid of hair (for example, permed hair) The feeling cannot be expressed sufficiently. In order to express the three-dimensional effect of hair, it may be possible to finely set polygons included in the character object. However, since the number of polygon vertices increases, the processing load may increase.

本発明は上記課題に鑑みてなされたものであって、その目的は、処理負荷を抑えつつ、毛髪の立体感を表現することが可能な画像処理装置、画像処理装置の制御方法、及びプログラムを提供することにある。   The present invention has been made in view of the above problems, and an object thereof is to provide an image processing apparatus, a control method for an image processing apparatus, and a program capable of expressing the three-dimensional effect of hair while suppressing a processing load. It is to provide.

上記課題を解決するために、本発明に係る画像処理装置は、キャラクタを表すキャラクタオブジェクトが配置された3次元空間を所与の視点から見た画像を表示手段に表示する画像処理装置であって、前記キャラクタの毛髪を表す略筒状の毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを設定するオブジェクト設定手段と、前記キャラクタの毛髪が表されてなる毛髪テクスチャ画像であって、前記毛髪テクスチャ画像が前記毛髪描画用オブジェクトにマッピングされた場合に、前記毛髪が前記毛髪描画用オブジェクトの表面に沿って螺旋状に表れる前記毛髪テクスチャ画像を取得するテクスチャ画像取得手段と、前記毛髪テクスチャ画像がマッピングされた前記毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを前記視点から見た画像を前記表示手段に表示させる表示制御手段と、を含むことを特徴とする。   In order to solve the above problems, an image processing apparatus according to the present invention is an image processing apparatus that displays an image obtained by viewing a three-dimensional space in which a character object representing a character is arranged from a given viewpoint on a display unit. Object setting means for setting the character object including a substantially cylindrical hair drawing object representing the character's hair, and a hair texture image representing the character's hair, wherein the hair texture image is the Texture image acquisition means for acquiring the hair texture image in which the hair appears spirally along the surface of the hair drawing object when mapped to the hair drawing object, and the hair texture image mapped The character object including a hair drawing object Characterized by comprising display control means for displaying an image viewed from the point on said display means.

また、本発明に係る画像処理装置の制御方法は、キャラクタを表すキャラクタオブジェクトが配置された3次元空間を所与の視点から見た画像を表示手段に表示する画像処理装置の制御方法であって、前記キャラクタの毛髪を表す略筒状の毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを設定するオブジェクト設定ステップと、前記キャラクタの毛髪が表されてなる毛髪テクスチャ画像であって、前記毛髪テクスチャ画像が前記毛髪描画用オブジェクトにマッピングされた場合に、前記毛髪が前記毛髪描画用オブジェクトの表面に沿って螺旋状に表れる前記毛髪テクスチャ画像を取得するテクスチャ画像取得ステップと、前記毛髪テクスチャ画像がマッピングされた前記毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを前記視点から見た画像を前記表示手段に表示させる表示制御ステップと、を含むことを特徴とする。   A control method for an image processing apparatus according to the present invention is a control method for an image processing apparatus that displays an image obtained by viewing a three-dimensional space in which a character object representing a character is viewed from a given viewpoint on a display means. An object setting step for setting the character object including a substantially cylindrical hair drawing object representing the character's hair, and a hair texture image representing the character's hair, wherein the hair texture image is the A texture image acquisition step of acquiring the hair texture image in which the hair appears spirally along the surface of the hair drawing object when mapped to the hair drawing object; and the hair texture image mapped The character object including a hair drawing object The characterized in that it comprises a display control step of displaying on the display means an image viewed from the viewpoint.

また、本発明に係るプログラムは、キャラクタを表すキャラクタオブジェクトが配置された3次元空間を所与の視点から見た画像を表示手段に表示する画像処理装置としてコンピュータを機能させるためのプログラムであって、前記キャラクタの毛髪を表す略筒状の毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを設定するオブジェクト設定手段、前記キャラクタの毛髪が表されてなる毛髪テクスチャ画像であって、前記毛髪テクスチャ画像が前記毛髪描画用オブジェクトにマッピングされた場合に、前記毛髪が前記毛髪描画用オブジェクトの表面に沿って螺旋状に表れる前記毛髪テクスチャ画像を取得するテクスチャ画像取得手段、前記毛髪テクスチャ画像がマッピングされた前記毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを前記視点から見た画像を前記表示手段に表示させる表示制御手段、を含む画像処理装置として前記コンピュータを機能させることを特徴とする。   The program according to the present invention is a program for causing a computer to function as an image processing apparatus that displays on a display means an image obtained by viewing a three-dimensional space in which character objects representing characters are arranged from a given viewpoint. Object setting means for setting the character object including a substantially cylindrical hair drawing object representing the character's hair, and a hair texture image representing the character's hair, wherein the hair texture image is the hair Texture image acquisition means for acquiring the hair texture image in which the hair appears spirally along the surface of the hair drawing object when mapped to the drawing object, and the hair drawing on which the hair texture image is mapped The character that contains the object for And characterized in that the computer function the image viewed object from the viewpoint display control means for displaying on the display means, an image processing apparatus including a.

また、本発明に係る情報記憶媒体は、上記プログラムが記憶されたコンピュータ読み取り可能な情報記憶媒体である。   An information storage medium according to the present invention is a computer-readable information storage medium in which the program is stored.

本発明によれば、処理負荷を抑えつつ、毛髪の立体感を表現することが可能になる。   According to the present invention, it is possible to express the three-dimensional effect of hair while suppressing the processing load.

また、本発明の一態様では、前記テクスチャ画像取得手段は、前記毛髪テクスチャ画像の第1の位置から第2の位置まで伸びる第1の毛髪部分が表れ、前記毛髪テクスチャ画像の第3の位置から第4の位置まで伸びる第2の毛髪部分が表れてなる前記毛髪テクスチャ画像を取得し、前記表示制御手段は、前記毛髪描画用オブジェクトの表面において、前記第2の位置と前記第3の位置とが略一致するように前記テクスチャ画像がマッピングされた前記毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを前記視点から見た画像を前記表示手段に表示させる、ことを特徴とする。   In the aspect of the invention, the texture image acquisition unit may display a first hair portion extending from the first position to the second position of the hair texture image, and from the third position of the hair texture image. The hair texture image in which the second hair portion extending to the fourth position appears is obtained, and the display control means includes the second position and the third position on the surface of the hair drawing object. The display means displays an image obtained by viewing the character object including the hair drawing object to which the texture image is mapped so that the texture images are substantially coincident with each other from the viewpoint.

また、本発明の一態様では、前記テクスチャ画像取得手段は、前記第2の位置と前記第3の位置とが前記毛髪テクスチャ画像の水平方向又は垂直方向の中心線に対して線対称になっている前記毛髪テクスチャ画像を取得することを特徴とする。   In the aspect of the invention, the texture image acquisition unit may be configured such that the second position and the third position are symmetrical with respect to a horizontal or vertical center line of the hair texture image. The hair texture image is acquired.

また、本発明の一態様では、前記テクスチャ画像取得手段は、前記第2の位置が前記毛髪テクスチャ画像の一の端部に対応する端部領域に含まれ、かつ、前記第3の位置が他の端部に対応する端部領域に含まれる前記毛髪テクスチャ画像を取得することを特徴とする。   In the aspect of the invention, the texture image acquisition unit may include the second position in an end region corresponding to one end of the hair texture image, and the third position in the other position. The hair texture image included in the end region corresponding to the end of the hair is obtained.

本発明の実施形態に係るゲーム装置のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the game device which concerns on embodiment of this invention. ゲーム空間の一例を示す図である。It is a figure which shows an example of game space. キャラクタオブジェクトのうちキャラクタの頭部を表すオブジェクトを示す図である。It is a figure which shows the object showing the head of a character among character objects. 毛髪描画用オブジェクトを示す図である。It is a figure which shows the object for hair drawing. 頭皮オブジェクトの周囲に設定された毛髪描画用オブジェクトを示す図である。It is a figure which shows the object for hair drawing set around the scalp object. ゲーム画面の一例を示す図である。It is a figure which shows an example of a game screen. ゲーム装置で実現される機能のうち、本発明に関連する機能を示す機能ブロック図である。It is a functional block diagram which shows the function relevant to this invention among the functions implement | achieved with a game device. 顔テクスチャ画像の一例を示す図である。It is a figure which shows an example of a face texture image. 毛髪テクスチャ画像の一例を示す図である。It is a figure which shows an example of a hair texture image. 毛髪テクスチャ画像がマッピングされた毛髪描画用オブジェクトを示す図である。It is a figure which shows the object for hair drawing to which the hair texture image was mapped. ゲーム装置が所定時間ごとに実行する処理を示すフロー図である。It is a flowchart which shows the process which a game device performs every predetermined time. 変形例(1−1)における毛髪テクスチャ画像を示す図である。It is a figure which shows the hair texture image in a modification (1-1). 変形例(1−2)における毛髪テクスチャ画像がマッピングされる様子を表す図である。It is a figure showing a mode that the hair texture image in a modification (1-2) is mapped. 変形例(1−3)における毛髪テクスチャ画像がマッピングされる様子を表す図である。It is a figure showing a mode that the hair texture image in a modification (1-3) is mapped. 変形例(1−4)における毛髪テクスチャ画像がマッピングされる様子を表す図である。It is a figure showing a mode that the hair texture image in a modification (1-4) is mapped. 変形例(2)における毛髪テクスチャ画像がマッピングされる様子を示す図である。It is a figure which shows a mode that the hair texture image in a modification (2) is mapped.

[1.実施形態]
実施形態の一例について図面に基づき詳細に説明する。本発明の実施形態に係る画像処理装置は、例えば、家庭用ゲーム機(据置型ゲーム機)、携帯ゲーム機、携帯電話機、携帯情報端末(PDA)又はパーソナルコンピュータ等によって実現される。本実施形態においては、本発明に係る画像処理装置を、家庭用ゲーム機に適用した場合について説明する。
[1. Embodiment]
An example of an embodiment will be described in detail with reference to the drawings. The image processing apparatus according to the embodiment of the present invention is realized by, for example, a consumer game machine (stationary game machine), a portable game machine, a mobile phone, a personal digital assistant (PDA), a personal computer, or the like. In the present embodiment, the case where the image processing apparatus according to the present invention is applied to a consumer game machine will be described.

[2.ゲーム装置のハードウェア構成]
図1は、本発明の実施形態に係るゲーム装置のハードウェア構成を示す図である。図1に示すゲーム装置10は、家庭用ゲーム機11、表示部32、音声出力部34、及び光ディスク36(情報記憶媒体)を含む。
[2. Hardware configuration of game device]
FIG. 1 is a diagram illustrating a hardware configuration of a game device according to an embodiment of the present invention. A game apparatus 10 shown in FIG. 1 includes a consumer game machine 11, a display unit 32, an audio output unit 34, and an optical disc 36 (information storage medium).

表示部32及び音声出力部34は、家庭用ゲーム機11に接続される。表示部32は、例えば、家庭用テレビ受像機又は液晶ディスプレイなどである。音声出力部34は、例えば、家庭用テレビ受像機に内蔵されたスピーカ又はヘッドホンなどである。   The display unit 32 and the audio output unit 34 are connected to the consumer game machine 11. The display unit 32 is, for example, a home television receiver or a liquid crystal display. The audio output unit 34 is, for example, a speaker or headphones incorporated in a home television receiver.

家庭用ゲーム機11は、公知のコンピュータゲームシステムである。家庭用ゲーム機11は、バス12、制御部14、主記憶16、画像処理部18、入出力処理部20、音声処理部22、光ディスク再生部24、ハードディスク26、通信インタフェース28、及びコントローラ30を含む。   The home game machine 11 is a known computer game system. The home game machine 11 includes a bus 12, a control unit 14, a main memory 16, an image processing unit 18, an input / output processing unit 20, an audio processing unit 22, an optical disk playback unit 24, a hard disk 26, a communication interface 28, and a controller 30. Including.

制御部14は、一又は複数のCPUを含む。制御部14は、図示しないROMに格納されるオペレーティングシステムや、光ディスク36から読み出されるプログラムに基づいて、家庭用ゲーム機11の各部を制御する処理や情報処理を実行する。   The control unit 14 includes one or a plurality of CPUs. The control unit 14 executes processing and information processing for controlling each unit of the consumer game machine 11 based on an operating system stored in a ROM (not shown) and a program read from the optical disc 36.

主記憶16は、例えば、RAMを含む。光ディスク36から読み出されたプログラム及びデータは、主記憶16に書き込まれる。主記憶16は、制御部14の作業用メモリとしても用いられる。バス12は、アドレス及びデータを家庭用ゲーム機11の各部でやり取りするためのものである。   The main memory 16 includes a RAM, for example. The program and data read from the optical disc 36 are written in the main memory 16. The main memory 16 is also used as a working memory for the control unit 14. The bus 12 is for exchanging addresses and data among the units of the consumer game machine 11.

画像処理部18は、VRAMを含む。画像処理部18は、制御部14から供給される画像データに基づいてVRAM上にゲーム画面を描画する。VRAM上に描画されたゲーム画面は、ビデオ信号に変換されて所定のタイミングで表示部32に出力される。   The image processing unit 18 includes a VRAM. The image processing unit 18 draws a game screen on the VRAM based on the image data supplied from the control unit 14. The game screen drawn on the VRAM is converted into a video signal and output to the display unit 32 at a predetermined timing.

入出力処理部20は、制御部14が、音声処理部22、光ディスク再生部24、ハードディスク26、通信インタフェース28、及びコントローラ30にアクセスするためのインタフェースである。   The input / output processing unit 20 is an interface for the control unit 14 to access the audio processing unit 22, the optical disc playback unit 24, the hard disk 26, the communication interface 28, and the controller 30.

音声処理部22は、サウンドバッファを含む。音声処理部22は、光ディスク36からサウンドバッファに読み出された音声データを、音声出力部34から出力する。   The audio processing unit 22 includes a sound buffer. The sound processing unit 22 outputs the sound data read from the optical disc 36 to the sound buffer from the sound output unit 34.

通信インタフェース28は、インターネットなどの通信ネットワークに、家庭用ゲーム機11を有線又は無線接続するためのインタフェースである。   The communication interface 28 is an interface for connecting the consumer game machine 11 to a communication network such as the Internet by wire or wireless.

光ディスク再生部24は、光ディスク36に記録されたプログラムやデータを読み取る。本実施形態においては、プログラムやデータを家庭用ゲーム機11に供給するために、光ディスク36が用られる場合を説明するが、メモリカード等の他の情報記憶媒体が用いられて、プログラムやデータが家庭用ゲーム機11に対して供給されるようにしてもよい。他にも例えば、通信ネットワークを介して遠隔地からプログラムやデータが家庭用ゲーム機11に供給されるようにしてもよい。   The optical disc playback unit 24 reads programs and data recorded on the optical disc 36. In the present embodiment, the case where the optical disc 36 is used to supply programs and data to the consumer game machine 11 will be described. However, other information storage media such as a memory card are used to store programs and data. You may make it supply with respect to the consumer game machine 11. FIG. In addition, for example, a program or data may be supplied to the consumer game machine 11 from a remote place via a communication network.

ハードディスク26は、一般的なハードディスク装置(補助記憶装置)である。なお、本実施形態において光ディスク36に記憶されるものとして説明するプログラムやデータは、ハードディスク26に記憶されていてもよい。   The hard disk 26 is a general hard disk device (auxiliary storage device). Note that programs and data described as being stored in the optical disk 36 in the present embodiment may be stored in the hard disk 26.

コントローラ30は、ユーザが操作を行うための操作部である。家庭用ゲーム機11には、一又は複数のコントローラ30が、有線又は無線接続される。入出力処理部20は、一定周期毎(例えば1/60秒毎)に、コントローラ30の各操作部材の状態をスキャンする。このスキャン結果を表す操作信号は、バス12を介して制御部14に供給される。制御部14は、この操作信号に基づいてユーザの操作を判定する。   The controller 30 is an operation unit for a user to perform an operation. One or more controllers 30 are wired or wirelessly connected to the home game machine 11. The input / output processing unit 20 scans the state of each operation member of the controller 30 at regular intervals (for example, every 1/60 seconds). An operation signal representing the scan result is supplied to the control unit 14 via the bus 12. The control unit 14 determines a user operation based on the operation signal.

[3.ゲーム装置において実行されるゲーム]
ゲーム装置10は、光ディスク36から読み出したゲームプログラムを実行することによって、例えば、キャラクタを表すキャラクタオブジェクトが配置された3次元空間を所与の視点から見た画像を表示手段(例えば、表示部32)に表示する。
[3. Game executed on game device]
The game apparatus 10 executes a game program read from the optical disc 36 to display, for example, an image obtained by viewing a three-dimensional space in which a character object representing a character is arranged from a given viewpoint (for example, the display unit 32). ).

以下では、キャラクタを表すキャラクタオブジェクトがゲーム空間(3次元空間)内を移動するゲーム(例えば、サッカーゲーム)が実行される場合について説明する。ゲームが開始されると、例えば、ゲーム空間が、主記憶16に構築される。   Below, the case where the game (for example, soccer game) in which the character object showing a character moves in the game space (three-dimensional space) is performed is demonstrated. When the game is started, for example, a game space is constructed in the main memory 16.

図2は、ゲーム空間の一例を示す図である。図2に示すゲーム空間40は、互いに直交する3つの座標軸(Xw軸、Yw軸、及びZw軸)が設定された仮想的な3次元空間になっている。   FIG. 2 is a diagram illustrating an example of the game space. A game space 40 shown in FIG. 2 is a virtual three-dimensional space in which three coordinate axes (Xw axis, Yw axis, and Zw axis) orthogonal to each other are set.

図2に示すように、ゲーム空間40には、地面を表すフィールドオブジェクト42が配置される。フィールドオブジェクト42上には、キャラクタを表すキャラクタオブジェクト44が配置される。なお、図2においては、各オブジェクトの形状が、簡略化されて表されている。   As shown in FIG. 2, a field object 42 representing the ground is arranged in the game space 40. A character object 44 representing a character is arranged on the field object 42. In FIG. 2, the shape of each object is shown in a simplified manner.

ゲーム空間40に配置されるオブジェクトは、複数のポリゴンを含んで構成される。即ち、複数のポリゴンによって、各オブジェクトの立体形状が表現される。各オブジェクトに含まれるポリゴンの位置(頂点座標)は、例えば、ワールド座標系(Xw−Yw−Zw座標系)の3次元座標で特定される。   An object arranged in the game space 40 includes a plurality of polygons. That is, the three-dimensional shape of each object is represented by a plurality of polygons. The positions (vertex coordinates) of the polygons included in each object are specified by, for example, three-dimensional coordinates in the world coordinate system (Xw-Yw-Zw coordinate system).

本実施形態においては、キャラクタオブジェクト44は、キャラクタの各部位(例えば、頭部、胴部等)を表すオブジェクトと、当該オブジェクトの周囲に設定される略筒状(例えば、円筒状、多角柱状、円錐台状等)の毛髪描画用オブジェクトと、を含んでなる。   In the present embodiment, the character object 44 includes an object representing each part of the character (eg, head, torso, etc.) and a substantially cylindrical shape (eg, cylindrical shape, polygonal column shape, etc.) set around the object. A frustoconical object).

図3は、キャラクタオブジェクト44のうちキャラクタの頭部を表すオブジェクトを示す図である。ここで、キャラクタの頭部とは、キャラクタの首から上の部位のことを示す。図3に示すように、キャラクタオブジェクト44は、複数のポリゴンによってキャラクタの頭部の部位の凹凸が表現されている。例えば、キャラクタオブジェクト44は、目オブジェクト52、鼻オブジェクト54、口オブジェクト56、頭皮オブジェクト58を含んで構成される。   FIG. 3 is a diagram showing an object representing the character's head among the character objects 44. Here, the head of the character indicates a portion above the character's neck. As shown in FIG. 3, in the character object 44, the unevenness of the part of the head of the character is expressed by a plurality of polygons. For example, the character object 44 includes an eye object 52, a nose object 54, a mouth object 56, and a scalp object 58.

図4は、毛髪描画用オブジェクトを示す図である。図4に示すように、毛髪描画用オブジェクト60は、略筒状である。詳細は後述するが、略筒状の毛髪描画用オブジェクト60に巻きつくように、キャラクタの毛髪が描画される。例えば、頭皮オブジェクト58の周囲に毛髪描画用オブジェクト60が設定される。別の言い方をすれば、毛髪描画用オブジェクト60は、頭皮オブジェクト58の表面に隣接する位置に設定される。   FIG. 4 is a diagram illustrating a hair drawing object. As shown in FIG. 4, the hair drawing object 60 is substantially cylindrical. Although details will be described later, the character's hair is drawn so as to wrap around the substantially cylindrical hair drawing object 60. For example, a hair drawing object 60 is set around the scalp object 58. In other words, the hair drawing object 60 is set at a position adjacent to the surface of the scalp object 58.

なお、本実施形態において、「オブジェクトが設定される」とは、ゲーム空間40にオブジェクトが配置されることと同じ意である。即ち、「オブジェクトが設定される」と、このオブジェクトの各点(例えば、ポリゴンの頂点座標)を示す情報が主記憶16に記憶されることになる。   In the present embodiment, “the object is set” is the same meaning that the object is arranged in the game space 40. That is, when “object is set”, information indicating each point of the object (for example, the vertex coordinates of the polygon) is stored in the main memory 16.

図5は、頭皮オブジェクト58の周囲に設定された毛髪描画用オブジェクト60を示す図である。図5に示すように、頭皮オブジェクト58の周囲には、複数の毛髪描画用オブジェクト60が設定される。即ち、毛髪描画用オブジェクト60は、パーマがかかっている毛髪が表されるべき位置に設定されることになる。   FIG. 5 is a diagram showing a hair drawing object 60 set around the scalp object 58. As shown in FIG. 5, a plurality of hair drawing objects 60 are set around the scalp object 58. That is, the hair drawing object 60 is set at a position where the permed hair is to be represented.

また、図5のように設定されたキャラクタオブジェクト44には、キャラクタの顔や毛髪を表すテクスチャ画像がマッピングされることによって、キャラクタの顔や毛髪が描かれることになる。テクスチャ画像をオブジェクトにマッピングする方法は、公知の種々の手法を適用可能である。   Further, the character object 44 set as shown in FIG. 5 is mapped with a texture image representing the character's face and hair, thereby drawing the character's face and hair. Various known methods can be applied to the method of mapping the texture image to the object.

なお、本実施形態において、毛髪描画用オブジェクト60自体は透明である。例えば、毛髪描画用オブジェクト60は、半透明ポリゴンを含んで構成される、いわゆる透明オブジェクトである。即ち、表示部32に表示される画像には、毛髪描画用オブジェクト60自体は表示されず、毛髪描画用オブジェクト60の表面に描かれた毛髪が表示されることになる。   In the present embodiment, the hair drawing object 60 itself is transparent. For example, the hair drawing object 60 is a so-called transparent object including a translucent polygon. That is, in the image displayed on the display unit 32, the hair drawing object 60 itself is not displayed, but the hair drawn on the surface of the hair drawing object 60 is displayed.

図2に戻り、ゲーム空間40には、仮想カメラ46(視点)が設定される。表示部32には、ゲーム空間40を仮想カメラ46から見た様子を表す画像(ゲーム画面)が表示される。このゲーム画面は、ゲーム空間40に配置された各オブジェクトの頂点座標(ポリゴンの頂点座標)が、所定の座標変換演算を用いてワールド座標系からスクリーン座標系に座標変換されることによって生成される。   Returning to FIG. 2, a virtual camera 46 (viewpoint) is set in the game space 40. On the display unit 32, an image (game screen) representing a state in which the game space 40 is viewed from the virtual camera 46 is displayed. This game screen is generated by converting the vertex coordinates (polygon vertex coordinates) of each object arranged in the game space 40 from the world coordinate system to the screen coordinate system using a predetermined coordinate conversion operation. .

図6は、ゲーム画面の一例を示す図である。例えば、仮想カメラ46の視界内にあるキャラクタオブジェクト44が表すキャラクタがゲーム画面Gに表示される。本実施形態においては、図6に示すように、立体的なパーマがかかった毛髪を有するキャラクタがゲーム画面Gに表示される。   FIG. 6 is a diagram illustrating an example of the game screen. For example, the character represented by the character object 44 in the field of view of the virtual camera 46 is displayed on the game screen G. In the present embodiment, as shown in FIG. 6, a character having hair with three-dimensional perm is displayed on the game screen G.

本実施形態においては、ゲーム装置10の処理負荷を抑えつつパーマがかかった毛髪の立体感を表現するために、図5のように設定された毛髪描画用オブジェクト60の表面に沿って螺旋状に毛髪が表れるようにテクスチャ画像がマッピングされる。以降、この技術について詳細に説明する。   In the present embodiment, in order to express the three-dimensional effect of the permed hair while suppressing the processing load of the game apparatus 10, it is spirally formed along the surface of the hair drawing object 60 set as shown in FIG. The texture image is mapped so that the hair appears. Hereinafter, this technique will be described in detail.

[4.ゲーム装置において実現される機能]
図7は、ゲーム装置10で実現される機能のうち、本発明に関連する機能を示す機能ブロック図である。図7に示すように、ゲーム装置10は、ゲームデータ記憶部70、オブジェクト設定部72、テクスチャ画像取得部74、及び表示制御部76を含む。
[4. Functions realized in game device]
FIG. 7 is a functional block diagram showing functions related to the present invention among the functions realized by the game apparatus 10. As shown in FIG. 7, the game apparatus 10 includes a game data storage unit 70, an object setting unit 72, a texture image acquisition unit 74, and a display control unit 76.

[4−1.ゲームデータ記憶部]
ゲームデータ記憶部70は、例えば、主記憶16及び光ディスク36等を主として実現される。ゲームデータ記憶部70は、例えば、ゲームを実現してゲーム画面を表示させるために必要なデータを記憶する。なお、制御部14は、ゲームデータ記憶部70に記憶された各種データを取得する手段として機能する。
[4-1. Game data storage unit]
The game data storage unit 70 is realized mainly by the main memory 16 and the optical disc 36, for example. The game data storage unit 70 stores, for example, data necessary for realizing a game and displaying a game screen. The control unit 14 functions as a means for acquiring various data stored in the game data storage unit 70.

ゲームデータ記憶部70には、例えば、以下のようなデータが記憶される。
(1)実行中のゲームの現在の状況を示すゲーム状況データ
(2)ゲーム空間40に配置されるオブジェクトにマッピングされるテクスチャ画像の画像データ
The game data storage unit 70 stores the following data, for example.
(1) Game situation data indicating the current situation of the game being executed (2) Image data of a texture image mapped to an object arranged in the game space 40

[ゲーム状況データ]
ゲーム状況データには、例えば、ゲーム空間40の現在の状況を示すデータが格納される。例えば、ゲーム状況データには、キャラクタオブジェクト44の現在の状態(代表点、ポリゴンの頂点座標、キャラクタの姿勢、移動方向等)を示すデータ、仮想カメラ46の現在の状態(位置及び視線方向等)を示すデータ等が含まれる。
[Game status data]
In the game situation data, for example, data indicating the current situation of the game space 40 is stored. For example, the game situation data includes data indicating the current state of the character object 44 (representative points, vertex coordinates of the polygon, character posture, movement direction, etc.), and the current state of the virtual camera 46 (position, line-of-sight direction, etc.). And the like are included.

ゲーム状況データは、ゲームプログラムに基づいて、所定の時間間隔で更新される。例えば、キャラクタオブジェクト44の移動方向に基づいて、キャラクタオブジェクト44の位置や姿勢が更新される。更新されたゲーム状況データに基づいて、ゲーム画面の表示も更新されることになる。   The game situation data is updated at predetermined time intervals based on the game program. For example, the position and posture of the character object 44 are updated based on the moving direction of the character object 44. The display on the game screen is also updated based on the updated game situation data.

[画像データ]
画像データには、例えば、キャラクタオブジェクト44にマッピングされるテクスチャ画像のデータが含まれる。これらのテクスチャ画像の各部は、マッピングされるべきオブジェクトの位置(ポリゴンの頂点座標)と関連付けられている。この関連付けを示すデータは、ゲームデータ記憶部70に記憶されているものとする。本実施形態においては、キャラクタの顔を表す顔テクスチャ画像と、パーマがかかった毛髪を表す毛髪テクスチャ画像と、が画像データとして記憶される場合を説明する。
[image data]
The image data includes, for example, texture image data mapped to the character object 44. Each part of these texture images is associated with the position of the object to be mapped (polygon vertex coordinates). It is assumed that data indicating this association is stored in the game data storage unit 70. In the present embodiment, a case will be described in which a face texture image representing a character's face and a hair texture image representing permed hair are stored as image data.

図8は、顔テクスチャ画像の一例を示す図である。図8に示す顔テクスチャ画像80には、例えば、目82、鼻84、口86等が描かれている。なお、図8では省略されているが、顔テクスチャ画像80には、キャラクタの毛髪(例えば、パーマが立体的にかかっていない部分)や耳、肌の質感等も描かれる。   FIG. 8 is a diagram illustrating an example of a face texture image. In the face texture image 80 shown in FIG. 8, for example, eyes 82, a nose 84, a mouth 86, and the like are drawn. Although omitted in FIG. 8, the facial texture image 80 also depicts the hair of the character (for example, a portion where the perm is not three-dimensionally applied), ears, skin texture, and the like.

例えば、目82、鼻84、口86は、それぞれ目オブジェクト52、鼻オブジェクト54、口オブジェクト56と関連付けられている。顔テクスチャ画像80に表れる他の部位についても同様に、キャラクタオブジェクト44のうちキャラクタの頭部を表すオブジェクトの各点と関連付けられている。   For example, the eye 82, the nose 84, and the mouth 86 are associated with the eye object 52, the nose object 54, and the mouth object 56, respectively. Similarly, other parts appearing in the face texture image 80 are associated with each point of the object representing the head of the character among the character objects 44.

図9は、毛髪テクスチャ画像の一例を示す図である。図9に示すように、毛髪テクスチャ画像90には、パーマがかかったキャラクタの毛髪(図9に網かけで示す。)が描かれている。毛髪テクスチャ画像90は、毛髪描画用オブジェクト60にマッピングされる。即ち、毛髪テクスチャ画像90の各点と、毛髪描画用オブジェクト60の各点と、は関連付けられている。   FIG. 9 is a diagram illustrating an example of a hair texture image. As shown in FIG. 9, in the hair texture image 90, the hair of the permed character (shown by shading in FIG. 9) is drawn. The hair texture image 90 is mapped to the hair drawing object 60. That is, each point of the hair texture image 90 and each point of the hair drawing object 60 are associated with each other.

この毛髪テクスチャ画像90は、毛髪テクスチャ画像90が毛髪描画用オブジェクト60にマッピングされた場合に、毛髪が毛髪描画用オブジェクト60の表面に沿って螺旋状に表れるようになっている。   The hair texture image 90 is configured so that hair appears spirally along the surface of the hair drawing object 60 when the hair texture image 90 is mapped to the hair drawing object 60.

「毛髪が毛髪描画用オブジェクト60の表面に沿って螺旋状に表れる」とは、毛髪描画用オブジェクト60の表面にキャラクタの毛髪が巻回(旋回)されるように表れることであり、毛髪描画用オブジェクト60の表面にキャラクタの毛髪がコイル状に巻きつくように表れることである。したがって、いわゆるスパイラルパーマのかかった毛髪が、ロッドに巻きついているように表される。   “Hair appears spirally along the surface of the hair drawing object 60” means that the hair of the character appears to be wound (turned) around the surface of the hair drawing object 60. That is, the hair of the character appears on the surface of the object 60 so as to be wound in a coil shape. Therefore, the hair with the so-called spiral perm is expressed as if it is wound around the rod.

また、本実施形態においては、毛髪テクスチャ画像90においては、毛髪テクスチャ画像90の第1の位置92aから第2の位置92bまで伸びる第1の毛髪部分94aが表れる。また、毛髪テクスチャ画像90においては、毛髪テクスチャ画像90の第3の位置92cから第4の位置92dまで伸びる第2の毛髪部分94bが表れる。   In the present embodiment, in the hair texture image 90, the first hair portion 94a extending from the first position 92a to the second position 92b of the hair texture image 90 appears. Moreover, in the hair texture image 90, the 2nd hair part 94b extended from the 3rd position 92c of the hair texture image 90 to the 4th position 92d appears.

第1の位置92a〜第4の位置92dとは、毛髪テクスチャ画像90を構成する画素の位置である。「第1の位置92aから第2の位置92bまで伸びる」とは、第1の位置92aから毛髪テクスチャ画像90に表れる第1の毛髪部分94aをたどると(毛髪を表す画素をつなぐと)、第2の位置92bにたどりつくことである。第1の毛髪部分94aは、第1の位置92aから第2の位置92bまで直線的に伸びてもよいし、第1の毛髪部分94aは、第1の位置92aから第2の位置92bまで湾曲するように伸びてもよい。「毛髪テクスチャ画像90の第3の位置92cから第4の位置92dまで伸びる」も同様の意である。   The first position 92a to the fourth position 92d are the positions of the pixels constituting the hair texture image 90. “Extending from the first position 92a to the second position 92b” means that when the first hair portion 94a appearing in the hair texture image 90 is traced from the first position 92a (when pixels representing hair are connected), 2 position 92b. The first hair portion 94a may extend linearly from the first position 92a to the second position 92b, and the first hair portion 94a is curved from the first position 92a to the second position 92b. You may stretch as you do. “Extending from the third position 92c of the hair texture image 90 to the fourth position 92d” has the same meaning.

なお、毛髪テクスチャ画像90のうち、第1の毛髪部分94aと第2の毛髪部分94b以外の領域(画素)は、透明である。画素に透明色を設定する方法としては、例えば、画像の各画素に対応付けて半透明度を示すアルファ情報が記憶される半透明テクスチャを用いる方法等、種々の手法を適用することができる。   In the hair texture image 90, regions (pixels) other than the first hair portion 94a and the second hair portion 94b are transparent. As a method for setting a transparent color to a pixel, various methods such as a method using a semi-transparent texture in which alpha information indicating semi-transparency is stored in association with each pixel of an image can be applied.

また、本実施形態においては、毛髪テクスチャ画像90の第2の位置92bと第3の位置92cとが毛髪テクスチャ画像90の水平方向又は垂直方向の中心線に対して線対称になっている。   In the present embodiment, the second position 92b and the third position 92c of the hair texture image 90 are line symmetric with respect to the horizontal or vertical center line of the hair texture image 90.

「毛髪テクスチャ画像90の垂直方向又は水平方向」とは、それぞれ、「毛髪テクスチャ画像90の縦方向及び横方向」と同じ意である。図9の例では、毛髪テクスチャ画像90の各画素の位置を特定するために設定される2次元座標(U−V座標)のうち、U軸の正方向が水平方向であり、V軸の正方向が垂直方向である。なお、図9においては、毛髪テクスチャ画像90の左上端点を原点としている。   “The vertical direction or the horizontal direction of the hair texture image 90” has the same meaning as “the vertical direction and the horizontal direction of the hair texture image 90”, respectively. In the example of FIG. 9, among the two-dimensional coordinates (U-V coordinates) set to specify the position of each pixel of the hair texture image 90, the positive direction of the U axis is the horizontal direction, and the positive direction of the V axis is The direction is vertical. In FIG. 9, the upper left point of the hair texture image 90 is the origin.

図9に示す場合、第2の位置92bと第3の位置92cとは、毛髪テクスチャ画像90の垂直方向の中心線(U座標がU/2となる線)に対して線対称になっている。 In the case shown in FIG. 9, the second position 92b and the third position 92c are line-symmetric with respect to the center line in the vertical direction of the hair texture image 90 (a line where the U coordinate is U 1/2 ). Yes.

更に、本実施形態においては、毛髪テクスチャ画像90の第2の位置92bが毛髪テクスチャ画像90の一の端部に対応する端部領域96bに含まれ、かつ、第3の位置92cが他の端部に対応する端部領域96cに含まれる場合を説明する。   Furthermore, in the present embodiment, the second position 92b of the hair texture image 90 is included in the end region 96b corresponding to one end of the hair texture image 90, and the third position 92c is the other end. A case where the portion is included in the end region 96c corresponding to the portion will be described.

端部領域とは、毛髪テクスチャ画像90の領域のうち、画像の端部を少なくとも含む所定領域のことである。例えば、図9に示す例では、毛髪テクスチャ画像90の端部領域は、水平方向及び垂直方向のそれぞれの両端部に対応する4つの端部領域96a〜96dからなる。   The end region is a predetermined region including at least the end of the image in the region of the hair texture image 90. For example, in the example illustrated in FIG. 9, the end region of the hair texture image 90 includes four end regions 96 a to 96 d corresponding to both ends in the horizontal direction and the vertical direction.

例えば、端部領域96aは、垂直方向の一方の端部(V座標が最も小さい画素)を含む所定領域(例えば、V座標が0≦V≦αを満足する領域(αは任意の正整数))のことである。また、端部領域96dは、垂直方向の他方の端部(V座標が最も大きいVとなる画素)を含む所定領域(例えば、V座標がV−α≦V≦Vの領域)のことである。 For example, the end region 96a is a predetermined region including one end portion in the vertical direction (pixel having the smallest V coordinate) (for example, a region where the V coordinate satisfies 0 ≦ V ≦ α (α is an arbitrary positive integer). ). Further, the end regions 96d, the other end of the vertical (V coordinate is the largest V 1 that the pixel) predetermined area (e.g., area of the V coordinate is V 1 -α ≦ V ≦ V 1 ) That is.

また例えば、端部領域96bは、水平方向の一方の端部(U座標が最も大きい画素)を含む所定領域(例えば、U座標がU−α≦U≦Uを満足する領域)のことである。また、端部領域96dは、水平方向の他方の端部(U座標が最も小さい画素)を含む所定領域(例えば、U座標が0≦U≦αを満足する領域)のことである。 Further, for example, the end region 96b is a predetermined region (for example, a region where the U coordinate satisfies U 1 −α ≦ U ≦ U 1 ) including one horizontal end (pixel having the largest U coordinate). It is. The end region 96d is a predetermined region (for example, a region where the U coordinate satisfies 0 ≦ U ≦ α) including the other end portion in the horizontal direction (the pixel having the smallest U coordinate).

なお、本実施形態においては、毛髪テクスチャ画像90には、毛髪テクスチャ画像90の水平方向又は垂直方向に対して斜めにキャラクタの毛髪が表される。「水平方向又は垂直方向に対して斜めにキャラクタの毛髪が表れる」とは、毛髪テクスチャ画像90の水平方向又は垂直方向と、毛髪テクスチャ画像90の各画素のうちキャラクタの毛髪を表す画素をつないだ方向と、のなす角(θ)が、例えば、0°<θ<90°の関係を満たす(例えば、θ=30°)ことである。このようにキャラクタの毛髪を描いておくことによって、キャラクタの毛髪にパーマがかかっている状態を容易に表現することができる。   In the present embodiment, the hair texture image 90 represents the hair of the character obliquely with respect to the horizontal direction or the vertical direction of the hair texture image 90. “The hair of the character appears diagonally with respect to the horizontal or vertical direction” means that the horizontal or vertical direction of the hair texture image 90 is connected to the pixel representing the hair of the character among the pixels of the hair texture image 90. The angle (θ) formed by the direction satisfies, for example, a relationship of 0 ° <θ <90 ° (for example, θ = 30 °). By drawing the character's hair in this way, it is possible to easily express the state in which the character's hair is permed.

[4−2.オブジェクト設定部]
オブジェクト設定部72は、制御部14を主として実現される。オブジェクト設定部72は、キャラクタの毛髪を表す略筒状の毛髪描画用オブジェクト60を含むキャラクタオブジェクト44を設定する。例えば、オブジェクト設定部72は、キャラクタオブジェクト44のうちキャラクタの各部位の何れかを表すオブジェクトの周囲に毛髪描画用オブジェクト60を設定する。
[4-2. Object setting section]
The object setting unit 72 is realized mainly by the control unit 14. The object setting unit 72 sets the character object 44 including the substantially cylindrical hair drawing object 60 representing the character's hair. For example, the object setting unit 72 sets the hair drawing object 60 around an object representing one of the character parts of the character object 44.

オブジェクト設定部72は、ゲーム状況データに格納されたキャラクタオブジェクト44の位置(例えば、キャラクタオブジェクト44の代表点)に基づいて毛髪描画用オブジェクト60を設定する。毛髪描画用オブジェクト60の位置(ポリゴンの頂点座標)を示す情報は、ゲーム状況データに格納されることになる。   The object setting unit 72 sets the hair drawing object 60 based on the position of the character object 44 (for example, the representative point of the character object 44) stored in the game situation data. Information indicating the position of the hair drawing object 60 (polygon vertex coordinates) is stored in the game situation data.

なお、オブジェクト設定部72は、キャラクタオブジェクト44の頭部を表すオブジェクトの位置変化に基づいて、毛髪描画用オブジェクト60の位置、移動方向、及び移動速度を変化させるようにしてもよい。即ち、キャラクタの頭の動きに合わせてパーマがかかった毛髪が揺れるように表現されるようにしてもよい。   Note that the object setting unit 72 may change the position, moving direction, and moving speed of the hair drawing object 60 based on the position change of the object representing the head of the character object 44. That is, the permed hair may be expressed so as to sway according to the movement of the character's head.

[4−3.テクスチャ画像取得部]
テクスチャ画像取得部74は、制御部14を主として実現される。テクスチャ画像取得部74は、ゲームデータ記憶部70を参照することによって、キャラクタオブジェクト44にマッピングするテクスチャ画像を取得する。例えば、テクスチャ画像取得部74は、キャラクタの毛髪が表されてなる毛髪テクスチャ画像90を取得する。
[4-3. Texture image acquisition unit]
The texture image acquisition unit 74 is realized mainly by the control unit 14. The texture image acquisition unit 74 acquires a texture image to be mapped to the character object 44 by referring to the game data storage unit 70. For example, the texture image acquisition unit 74 acquires a hair texture image 90 in which the hair of the character is represented.

[4−4.表示制御部]
表示制御部76は、制御部14を主として実現される。表示制御部76は、毛髪テクスチャ画像90がマッピングされた毛髪描画用オブジェクト60を含むキャラクタオブジェクト44を視点(例えば、仮想カメラ46)から見た画像(例えば、ゲーム画面)を表示手段(例えば、表示部32)に表示させる。
[4-4. Display control unit]
The display control unit 76 is realized mainly by the control unit 14. The display control unit 76 displays an image (for example, a game screen) obtained by viewing the character object 44 including the hair drawing object 60 to which the hair texture image 90 is mapped from the viewpoint (for example, the virtual camera 46). Part 32).

本実施形態においては、例えば、第2の位置92bと第3の位置92cとが略一致するように毛髪テクスチャ画像90がマッピングされる。別の言い方をすれば、第2の位置92bの第1の毛髪部分94aがマッピングされる毛髪描画用オブジェクト60の位置と、第3の位置92cの第2の毛髪部分94bがマッピングされる毛髪描画用オブジェクト60の位置と、が略一致する。   In the present embodiment, for example, the hair texture image 90 is mapped so that the second position 92b and the third position 92c substantially coincide. In other words, the position of the hair drawing object 60 to which the first hair part 94a at the second position 92b is mapped and the hair drawing to which the second hair part 94b at the third position 92c is mapped. The position of the object 60 for use substantially coincides.

例えば、第2の位置92bに関連付けられた毛髪描画用オブジェクト60の位置と、第3の位置92cに関連付けられた毛髪描画用オブジェクト60の位置と、が略一致するように、毛髪テクスチャ画像90の位置と毛髪描画用オブジェクト60の位置とが対応付けられてゲームデータ記憶部70に記憶されている。   For example, the position of the hair drawing object 60 associated with the second position 92b is substantially equal to the position of the hair drawing object 60 associated with the third position 92c. The position and the position of the hair drawing object 60 are associated with each other and stored in the game data storage unit 70.

図10は、毛髪テクスチャ画像90がマッピングされた毛髪描画用オブジェクト60を示す図である。図10に示す毛髪描画用オブジェクト60の表面の位置62a,62b,62c,62dは、それぞれ毛髪テクスチャ画像90の第1の位置92a、第2の位置92b、第3の位置92c、第4の位置92dに対応する。   FIG. 10 is a diagram illustrating the hair drawing object 60 to which the hair texture image 90 is mapped. The positions 62a, 62b, 62c, and 62d on the surface of the hair drawing object 60 shown in FIG. 10 are the first position 92a, the second position 92b, the third position 92c, and the fourth position of the hair texture image 90, respectively. Corresponds to 92d.

図10に示すように、位置62bと位置62cとが略一致する。即ち、第2の位置92bの第1の毛髪部分94aと、第3の位置92cの第2の毛髪部分94bと、が毛髪描画用オブジェクト60の表面で繋がるようになる。このようにすることによって、図10に示すように、略筒状の毛髪描画用オブジェクト60の表面に沿って螺旋状にキャラクタの毛髪が表れるようになる。即ち、パーマがかかった毛髪が螺旋状になっている様子を立体的に表現することができる。   As shown in FIG. 10, the position 62b and the position 62c substantially coincide. That is, the first hair portion 94a at the second position 92b and the second hair portion 94b at the third position 92c are connected to each other on the surface of the hair drawing object 60. By doing so, as shown in FIG. 10, the hair of the character appears spirally along the surface of the substantially cylindrical hair drawing object 60. That is, it is possible to three-dimensionally express the state in which the permed hair is spiral.

[5.ゲーム装置において実行される処理]
次に、ゲーム装置10で実行される処理について説明する。図11は、ゲーム装置10が所定時間(例えば、1/60秒)ごとに実行する処理を示すフロー図である。制御部14が、光ディスク36に記憶されたプログラムに従って、図11に示す処理を実行する。
[5. Processing executed in game device]
Next, processing executed by the game apparatus 10 will be described. FIG. 11 is a flowchart showing processing executed by the game apparatus 10 every predetermined time (for example, 1/60 seconds). The control unit 14 executes the process shown in FIG. 11 according to the program stored on the optical disc 36.

まず、制御部14は、ゲーム空間40に毛髪描画用オブジェクト60を設定する(S101)。S101においては、例えば、ゲーム状況データが参照され、キャラクタの各部位の周囲に複数の毛髪描画用オブジェクト60が設定される。毛髪描画用オブジェクト60が配置される位置及び数は、キャラクタ毎に予め定められていてもよい。例えば、長い毛髪のキャラクタの場合、腰の周辺に毛髪描画用オブジェクト60が設定され、短い毛髪のキャラクタの場合、顔の周辺に毛髪描画用オブジェクト60が設定される。   First, the control unit 14 sets the hair drawing object 60 in the game space 40 (S101). In S101, for example, game situation data is referred to, and a plurality of hair drawing objects 60 are set around each part of the character. The positions and number of the hair drawing objects 60 may be predetermined for each character. For example, in the case of a long hair character, the hair drawing object 60 is set around the waist, and in the case of a short hair character, the hair drawing object 60 is set around the face.

制御部14は、毛髪テクスチャ画像90を参照する(S102)。制御部14は、S101で設定した毛髪描画用オブジェクト60に毛髪テクスチャ画像90をマッピングする(S103)。S103においては、例えば、図9のような毛髪テクスチャ画像90が、略筒状の毛髪描画用オブジェクト60を包むようにしてマッピングされる。即ち、毛髪描画用オブジェクト60の表面に沿って螺旋状に、キャラクタの毛髪が表れるようになる。   The control unit 14 refers to the hair texture image 90 (S102). The control unit 14 maps the hair texture image 90 onto the hair drawing object 60 set in S101 (S103). In S103, for example, a hair texture image 90 as shown in FIG. 9 is mapped so as to wrap the substantially cylindrical hair drawing object 60. That is, the hair of the character appears spirally along the surface of the hair drawing object 60.

なお、一つの毛髪テクスチャ画像90が複数の毛髪描画用オブジェクト60にマッピングされるようにしてもよいし、キャラクタごと又は毛髪描画用オブジェクト60ごとに毛髪テクスチャ画像90を用意しておいてもよい。   One hair texture image 90 may be mapped to a plurality of hair drawing objects 60, or a hair texture image 90 may be prepared for each character or for each hair drawing object 60.

制御部14は、毛髪テクスチャ画像90がマッピングされた毛髪描画用オブジェクト60を含むキャラクタオブジェクト44を仮想カメラ46から見た画像を生成する(S104)。即ち、図6のように、パーマの立体感が表現されたゲーム画面が表示部32に表示されることになる。   The control unit 14 generates an image when the character object 44 including the hair drawing object 60 to which the hair texture image 90 is mapped is viewed from the virtual camera 46 (S104). That is, as shown in FIG. 6, a game screen on which a perm stereoscopic effect is expressed is displayed on the display unit 32.

以上説明したゲーム装置10によれば、毛髪描画用オブジェクト60の表面に沿って螺旋状にキャラクタの毛髪が表れるので、パーマがかかっている毛髪の立体感を表現することができる。パーマがかかっている毛髪の立体感をポリゴンの複雑な形状によって表現する場合に比べて、少ないポリゴン数でパーマの立体感を表現することができるので、処理負荷を抑えつつ、毛髪の立体感を表現することができる。   According to the game apparatus 10 described above, since the hair of the character appears spirally along the surface of the hair drawing object 60, it is possible to express the three-dimensional effect of the hair on which the permanent is applied. Compared to expressing the perceived three-dimensional hair with a complex polygon shape, the perm three-dimensional can be expressed with a small number of polygons, reducing the processing load and reducing the three-dimensional effect of the hair. Can be expressed.

更に、毛髪テクスチャ画像90がマッピングされた際に、毛髪テクスチャ画像90の第2の位置92bと第3の位置92cとの位置が略一致するので、第1の毛髪部分94aと第2の毛髪部分94bとをつなげることができる。即ち、毛髪描画用オブジェクト60の表面に何重にも螺旋状に毛髪を描画することができる。   Furthermore, when the hair texture image 90 is mapped, the positions of the second position 92b and the third position 92c of the hair texture image 90 substantially coincide with each other, so that the first hair portion 94a and the second hair portion 94b can be connected. That is, the hair can be drawn in a spiral manner on the surface of the hair drawing object 60.

更に、第2の位置92bと第3の位置92cとが中心線で線対称になり、端部領域に第2の位置92bと第3の位置92cが含まれることによって、マッピング位置の設定を容易にすることができる。即ち、図9に示すような毛髪テクスチャ画像90の場合、略円筒状の毛髪描画用オブジェクト60に巻きつけて、毛髪テクスチャ画像90の両端部を合わせるようにしてマッピングさせることによって、螺旋状に毛髪を描画することができる。   Furthermore, the second position 92b and the third position 92c are symmetrical with respect to the center line, and the second position 92b and the third position 92c are included in the end region, thereby making it easy to set the mapping position. Can be. That is, in the case of the hair texture image 90 as shown in FIG. 9, the hair is spirally wound by being wrapped around the substantially cylindrical hair drawing object 60 and mapping so that both ends of the hair texture image 90 are matched. Can be drawn.

なお、上記実施形態においては、キャラクタの毛髪が毛髪テクスチャ画像90の水平方向に表れる場合を説明したが、キャラクタの毛髪が毛髪テクスチャ画像90の垂直方向に表れる場合も同様の処理によって、毛髪描画用オブジェクト60の表面に螺旋状に毛髪を表すことができる。即ち、垂直方向の端部領域96a,96dに含まれる第2の位置92bと第3の位置92cとが、毛髪描画用オブジェクト60の表面において、略一致するようにマッピングされるようにすればよい。   In the above-described embodiment, the case where the character's hair appears in the horizontal direction of the hair texture image 90 has been described. However, when the character's hair appears in the vertical direction of the hair texture image 90, the same processing is performed. Hair can be represented spirally on the surface of the object 60. In other words, the second position 92b and the third position 92c included in the end regions 96a and 96d in the vertical direction may be mapped so as to substantially match on the surface of the hair drawing object 60. .

また、本発明は、上記の実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で適宜変更可能である。   The present invention is not limited to the above-described embodiment, and can be appropriately changed without departing from the spirit of the present invention.

(1)例えば、図9に示すような毛髪テクスチャ画像90を例に挙げて説明したが、毛髪テクスチャ画像90は、毛髪描画用オブジェクト60にマッピングされた場合に螺旋状に毛髪が表れるものであればよい。即ち、毛髪描画用オブジェクト60にマッピングされるのは、実施形態のような毛髪テクスチャ画像90に限られない。 (1) For example, the hair texture image 90 as shown in FIG. 9 has been described as an example. That's fine. That is, mapping to the hair drawing object 60 is not limited to the hair texture image 90 as in the embodiment.

(1−1)例えば、図9においては、毛髪テクスチャ画像90に第1の毛髪部分94aと第2の毛髪部分94bとの2つの毛髪部分が表れる場合を説明したが、キャラクタの毛髪は図9の例に限られない。例えば、毛髪部分は3つ以上表れるようにしてもよい。 (1-1) For example, FIG. 9 illustrates the case where two hair parts, the first hair part 94a and the second hair part 94b, appear in the hair texture image 90, but the hair of the character is shown in FIG. It is not limited to the example. For example, three or more hair portions may appear.

図12は、変形例(1−1)における毛髪テクスチャ画像90を示す図である。例えば、図12に示すように、第1の毛髪部分94aと第2の毛髪部分94bに加えて、第3の毛髪部分94cが毛髪テクスチャ画像90に表れるようにしてもよい。このような毛髪テクスチャ画像90が毛髪描画用オブジェクト60にマッピングされることによって、パーマがかかった毛髪が複雑に絡みあう様子を、立体的に表現することができる。   FIG. 12 is a diagram showing a hair texture image 90 in the modified example (1-1). For example, as shown in FIG. 12, in addition to the first hair portion 94a and the second hair portion 94b, a third hair portion 94c may appear in the hair texture image 90. By mapping such a hair texture image 90 to the hair drawing object 60, it is possible to three-dimensionally express how the permed hair is intertwined in a complex manner.

(1−2)また例えば、必ずしも、毛髪テクスチャ画像90の第2の位置92bと第3の位置92cとは、水平方向又は垂直方向の中心線で線対称になっていなくてもよい。 (1-2) Further, for example, the second position 92b and the third position 92c of the hair texture image 90 do not necessarily have to be line symmetric with respect to the center line in the horizontal direction or the vertical direction.

図13は、変形例(1−2)における毛髪テクスチャ画像90がマッピングされる様子を表す図である。図13に示すように、第2の位置92bと第3の位置92cとが線対称の関係になっていなくても、毛髪描画用オブジェクト60の表面において、第2の位置92bと第3の位置92cとが略一致するように(即ち、位置62bと位置62cとが略一致するように)、毛髪テクスチャ画像90が毛髪描画用オブジェクト60にマッピングされるようにすればよい。   FIG. 13 is a diagram illustrating a state in which the hair texture image 90 in the modified example (1-2) is mapped. As shown in FIG. 13, even if the second position 92b and the third position 92c are not line-symmetrical, the second position 92b and the third position on the surface of the hair drawing object 60. The hair texture image 90 may be mapped to the hair drawing object 60 so that 92c substantially matches (that is, the position 62b and the position 62c substantially match).

つまり、図13のような毛髪テクスチャ画像90を使用した場合であっても、第2の位置92bが関連付けられる位置62bと、第3の位置92cが関連付けられる位置62cとがほぼ一致していればよい。別の言い方をすれば、図13に示す毛髪テクスチャ画像90を右回りに所定角度回転させて毛髪描画用オブジェクト60を包むように、毛髪テクスチャ画像90がマッピングされるようにすればよい。   That is, even when the hair texture image 90 as shown in FIG. 13 is used, if the position 62b associated with the second position 92b and the position 62c associated with the third position 92c substantially match. Good. In other words, the hair texture image 90 may be mapped so as to wrap the hair drawing object 60 by rotating the hair texture image 90 shown in FIG. 13 clockwise by a predetermined angle.

(1−3)また例えば、必ずしも、毛髪テクスチャ画像90の水平方向又は垂直方向に対して斜めに毛髪が表れていなくてもよい。毛髪テクスチャ画像90の水平方向又は垂直方向に対して毛髪が表れるようにしてもよい。 (1-3) For example, the hair does not necessarily appear obliquely with respect to the horizontal direction or the vertical direction of the hair texture image 90. The hair may appear in the horizontal direction or the vertical direction of the hair texture image 90.

図14は、変形例(1−3)における毛髪テクスチャ画像90がマッピングされる様子を表す図である。図13に示すように、第1の位置92aと第2の位置92bとを結ぶ方向(即ち、第1の毛髪部分94aの方向)、及び、第3の位置92cと第4の位置92dとを結ぶ方向(即ち、第2の毛髪部分94bの方向)が水平方向であってもよい。この場合も、変形例(1−2)と同様に、毛髪描画用オブジェクト60の表面において、第2の位置92bと第3の位置92cとが略一致するようにマッピングされるようにすればよい。   FIG. 14 is a diagram illustrating a manner in which the hair texture image 90 in the modified example (1-3) is mapped. As shown in FIG. 13, the direction connecting the first position 92a and the second position 92b (that is, the direction of the first hair portion 94a), and the third position 92c and the fourth position 92d. The tying direction (that is, the direction of the second hair portion 94b) may be the horizontal direction. In this case as well, similarly to the modified example (1-2), the second position 92b and the third position 92c may be mapped on the surface of the hair drawing object 60 so as to substantially coincide with each other. .

(1−4)また例えば、必ずしも、毛髪テクスチャ画像90の第2の位置92bと第3の位置92cとは、端部領域96a,96b,96c,96dに含まれていなくてもよい。毛髪テクスチャ画像90の第1の位置92、第2の位置92b、第3の位置92c、第4の位置92dは、それぞれ、毛髪テクスチャ画像90内の任意の位置でよい。 (1-4) For example, the second position 92b and the third position 92c of the hair texture image 90 do not necessarily have to be included in the end regions 96a, 96b, 96c, and 96d. The first position 92, the second position 92b, the third position 92c, and the fourth position 92d of the hair texture image 90 may be arbitrary positions in the hair texture image 90, respectively.

図15は、変形例(1−4)における毛髪テクスチャ画像90がマッピングされる様子を表す図である。図14に示すように、第2の位置92bと第3の位置92cとが、端部領域に含まれていなくても、毛髪テクスチャ画像90が毛髪描画用オブジェクト60にマッピングされた場合に、毛髪描画用オブジェクト60の表面において、第2の位置92bと第3の位置92cとが略一致するようにすればよい。例えば、変形例(1−4)においては、毛髪テクスチャ画像90のうち領域E(図15の一点鎖線で示す)が、毛髪描画用オブジェクト60にマッピングされるようにすればよい。   FIG. 15 is a diagram illustrating a manner in which the hair texture image 90 in the modified example (1-4) is mapped. As shown in FIG. 14, when the hair texture image 90 is mapped to the hair drawing object 60 even if the second position 92b and the third position 92c are not included in the end region, the hair On the surface of the drawing object 60, the second position 92b and the third position 92c may be substantially matched. For example, in the modified example (1-4), the region E (shown by a one-dot chain line in FIG. 15) in the hair texture image 90 may be mapped to the hair drawing object 60.

(2)また例えば、毛髪描画用オブジェクト60に対して複数の毛髪テクスチャ画像が多重マッピングされることによって、毛髪描画用オブジェクト60の表面に螺旋状に毛髪が描画されるようにしてもよい。 (2) For example, hair may be drawn spirally on the surface of the hair drawing object 60 by multiple mapping of a plurality of hair texture images on the hair drawing object 60.

図16は、変形例(2)における毛髪テクスチャ画像90がマッピングされる様子を示す図である。図16に示すように、毛髪テクスチャ画像90には、キャラクタの毛髪が3つの領域90a,90b,90cをまたがるように表されている。領域90a,90b,90cのそれぞれは、図9に示す毛髪テクスチャ画像90と同じ広さ(U*Vの広さ)であってよい。 FIG. 16 is a diagram illustrating how the hair texture image 90 is mapped in the modification example (2). As shown in FIG. 16, the hair texture image 90 shows that the character's hair straddles three regions 90a, 90b, and 90c. Each of the regions 90a, 90b, and 90c may be the same area as the hair texture image 90 shown in FIG. 9 (an area of U 1 * V 1 ).

例えば、まず、毛髪テクスチャ画像90のうち領域90aを毛髪描画用オブジェクト60にマッピングすると、毛髪描画用オブジェクト60の表面に、位置P1から位置P2までの毛髪が表れる(図16に示す毛髪描画用オブジェクト60aの状態)。次いで、毛髪テクスチャ画像90のうち領域90bを毛髪描画用オブジェクト60にマッピングすると、毛髪描画用オブジェクト60の表面に、位置P2から位置P3までの毛髪が表れる(図16に示す毛髪描画用オブジェクト60bの状態)。最後に、毛髪テクスチャ画像90のうち領域90cを毛髪描画用オブジェクト60にマッピングすると、毛髪描画用オブジェクト60の表面に、位置P3から位置P4までの毛髪が表れる(図16に示す毛髪描画用オブジェクト60cの状態)。   For example, when the region 90a of the hair texture image 90 is first mapped to the hair drawing object 60, the hair from the position P1 to the position P2 appears on the surface of the hair drawing object 60 (the hair drawing object shown in FIG. 16). 60a state). Next, when the region 90b in the hair texture image 90 is mapped to the hair drawing object 60, the hair from the position P2 to the position P3 appears on the surface of the hair drawing object 60 (the hair drawing object 60b shown in FIG. 16). Status). Finally, when the region 90c of the hair texture image 90 is mapped to the hair drawing object 60, the hair from the position P3 to the position P4 appears on the surface of the hair drawing object 60 (the hair drawing object 60c shown in FIG. 16). State).

変形例(2)においては、毛髪テクスチャ画像90が複数の領域に分割され、それぞれの領域が毛髪描画用オブジェクト60に多重マッピングされる。さらに、毛髪描画用オブジェクト60の表面において、毛髪テクスチャ画像90の各領域の境界(図16の位置P2,P3)に含まれる毛髪の位置が略一致するように、毛髪テクスチャ画像90の複数の領域が毛髪描画用オブジェクト60に多重マッピングされる。   In the modification (2), the hair texture image 90 is divided into a plurality of regions, and each region is multiplexed and mapped to the hair drawing object 60. Further, on the surface of the hair drawing object 60, a plurality of regions of the hair texture image 90 are arranged so that the positions of the hairs included in the boundaries (positions P2 and P3 in FIG. 16) of the regions of the hair texture image 90 substantially coincide with each other. Are multiplexed and mapped to the hair drawing object 60.

上記のようにようにすることによって、毛髪描画用オブジェクト60の表面に螺旋状に毛髪を描画することができる。別の言い方をすれば、図16に示す毛髪テクスチャ画像90を、毛髪描画用オブジェクト60に対して3重に巻くようにマッピングすることになる。   By doing as described above, hair can be drawn spirally on the surface of the hair drawing object 60. In other words, the hair texture image 90 shown in FIG. 16 is mapped to the hair drawing object 60 so as to be wrapped three times.

(3)また例えば、実施形態においては、図4のような形状の毛髪描画用オブジェクト60が設定される場合を説明したが、毛髪描画用オブジェクト60は、他の形状であってもよい。毛髪描画用オブジェクト60は、毛髪テクスチャ画像90がマッピングされた場合に、表面にキャラクタの毛髪が螺旋状に表れるような略筒状の形状であればよい。 (3) For example, in the embodiment, the case where the hair drawing object 60 having a shape as shown in FIG. 4 is set has been described, but the hair drawing object 60 may have another shape. The hair drawing object 60 may have a substantially cylindrical shape so that the hair of the character appears spirally on the surface when the hair texture image 90 is mapped.

(4)また、オブジェクト設定部72は、仮想カメラ46の視界内に配置されるキャラクタオブジェクト44の数に基づいて、毛髪描画用オブジェクト60の数及び/又はポリゴンの細かさを変化させるようにしてもよい。仮想カメラ46の視界にパーマがかかっているキャラクタが密集している場合には、設定すべき毛髪描画用オブジェクト60の数が多くなるので、上記のようにしてゲーム装置10の処理負荷を抑えるようにしてもよい。即ち、オブジェクト設定部72は、仮想カメラ46の視界内に配置されるキャラクタオブジェクト44の数が増加するほど、毛髪描画用オブジェクト60の数を少なく、かつ/又は、ポリゴンが粗くなるように設定してもよい。 (4) Further, the object setting unit 72 changes the number of hair drawing objects 60 and / or the fineness of the polygons based on the number of character objects 44 arranged in the field of view of the virtual camera 46. Also good. If there are densely populated characters in the field of view of the virtual camera 46, the number of hair drawing objects 60 to be set increases, so that the processing load on the game apparatus 10 is suppressed as described above. It may be. That is, the object setting unit 72 sets the number of hair drawing objects 60 and / or the polygons to become rough as the number of character objects 44 arranged in the field of view of the virtual camera 46 increases. May be.

同様に、オブジェクト設定部72は、キャラクタオブジェクト44の位置と仮想カメラ46の位置との距離に基づいて、毛髪描画用オブジェクト60の数及び/又はポリゴンの細かさを変化させるようにしてもよい。即ち、キャラクタオブジェクト44と仮想カメラ46との距離が長い場合には、比較的大雑把に毛髪を描写しても見た目にはあまり変化がない。即ち、オブジェクト設定部72は、キャラクタオブジェクト44の位置と仮想カメラ46の位置との距離が長くなるほど、毛髪描画用オブジェクト60の数を少なく、かつ/又は、ポリゴンが粗くなるように設定してもよい。   Similarly, the object setting unit 72 may change the number of hair drawing objects 60 and / or the fineness of polygons based on the distance between the position of the character object 44 and the position of the virtual camera 46. That is, when the distance between the character object 44 and the virtual camera 46 is long, there is not much change in appearance even if the hair is depicted relatively roughly. That is, the object setting unit 72 may set the number of hair drawing objects 60 to be smaller and / or the polygon to be rougher as the distance between the position of the character object 44 and the position of the virtual camera 46 is longer. Good.

(5)また、上記実施形態及び変形例においては、人間を模したキャラクタの毛髪を例に挙げて説明したが、人間以外の他のキャラクタに本発明を適用してもよい。例えば、全身が毛におおわれたモンスターを模したキャラクタに本発明を適用してもよい。 (5) Moreover, in the said embodiment and modification, the hair of the character imitating a human was mentioned as an example, but you may apply this invention to characters other than a human. For example, the present invention may be applied to a character imitating a monster whose whole body is covered with hair.

(6)また例えば、本発明に係る画像処理装置は、キャラクタオブジェクトが配置された3次元空間を所与の視点から見た画像を表示するものであればよく、ゲーム装置以外の装置にも、本発明を適用することができる。 (6) Further, for example, the image processing apparatus according to the present invention may display an image obtained by viewing the three-dimensional space in which the character object is arranged from a given viewpoint. The present invention can be applied.

10 ゲーム装置、11 家庭用ゲーム機、12 バス、14 制御部、16 主記憶、18 画像処理部、20 入出力処理部、22 音声処理部、24 光ディスク再生部、26 ハードディスク、28 通信インタフェース、30 コントローラ、32 表示部、34 音声出力部、36 光ディスク、40 ゲーム空間、42 フィールドオブジェクト、44 キャラクタオブジェクト、46 仮想カメラ、52 目オブジェクト、54 鼻オブジェクト、56 口オブジェクト、58 頭皮オブジェクト、60 毛髪描画用オブジェクト、70 ゲームデータ記憶部、72 オブジェクト設定部、74 テクスチャ画像取得部、76 表示制御部、80 顔テクスチャ画像、90 毛髪テクスチャ画像。   DESCRIPTION OF SYMBOLS 10 Game device, 11 Home-use game machine, 12 bus | bath, 14 Control part, 16 Main memory, 18 Image processing part, 20 Input / output processing part, 22 Sound processing part, 24 Optical disk reproducing part, 26 Hard disk, 28 Communication interface, 30 Controller, 32 Display unit, 34 Audio output unit, 36 Optical disc, 40 Game space, 42 Field object, 44 Character object, 46 Virtual camera, 52 Eye object, 54 Nose object, 56 Mouth object, 58 Scalp object, 60 For hair drawing Object, 70 game data storage unit, 72 object setting unit, 74 texture image acquisition unit, 76 display control unit, 80 face texture image, 90 hair texture image.

Claims (6)

キャラクタを表すキャラクタオブジェクトが配置された3次元空間を所与の視点から見た画像を表示手段に表示する画像処理装置であって、
前記キャラクタの毛髪を表す略筒状の毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを設定するオブジェクト設定手段と、
前記キャラクタの毛髪が表されてなる毛髪テクスチャ画像であって、前記毛髪テクスチャ画像が前記毛髪描画用オブジェクトにマッピングされた場合に、前記毛髪が前記毛髪描画用オブジェクトの表面に沿って螺旋状に表れる前記毛髪テクスチャ画像を取得するテクスチャ画像取得手段と、
前記毛髪テクスチャ画像がマッピングされた前記毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを前記視点から見た画像を前記表示手段に表示させる表示制御手段と、
を含むことを特徴とする画像処理装置。
An image processing apparatus that displays an image of a three-dimensional space in which a character object representing a character is viewed from a given viewpoint on a display means,
Object setting means for setting the character object including a substantially cylindrical hair drawing object representing the character's hair;
A hair texture image representing the character's hair, and when the hair texture image is mapped to the hair drawing object, the hair appears spirally along the surface of the hair drawing object. Texture image acquisition means for acquiring the hair texture image;
Display control means for causing the display means to display an image of the character object including the hair drawing object to which the hair texture image is mapped as viewed from the viewpoint;
An image processing apparatus comprising:
前記テクスチャ画像取得手段は、前記毛髪テクスチャ画像の第1の位置から第2の位置まで伸びる第1の毛髪部分が表れ、前記毛髪テクスチャ画像の第3の位置から第4の位置まで伸びる第2の毛髪部分が表れてなる前記毛髪テクスチャ画像を取得し、
前記表示制御手段は、前記毛髪描画用オブジェクトの表面において、前記第2の位置と前記第3の位置とが略一致するように前記テクスチャ画像がマッピングされた前記毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを前記視点から見た画像を前記表示手段に表示させる、
ことを特徴とする請求項1に記載の画像処理装置。
The texture image acquisition means displays a first hair portion extending from a first position to a second position of the hair texture image, and a second position extending from a third position to a fourth position of the hair texture image. Obtaining the hair texture image in which the hair portion appears,
The display control means includes the character object including the hair drawing object to which the texture image is mapped so that the second position and the third position substantially coincide with each other on the surface of the hair drawing object. Displaying the image viewed from the viewpoint on the display means,
The image processing apparatus according to claim 1.
前記テクスチャ画像取得手段は、前記第2の位置と前記第3の位置とが前記毛髪テクスチャ画像の水平方向又は垂直方向の中心線に対して線対称になっている前記毛髪テクスチャ画像を取得することを特徴とする請求項2に記載の画像処理装置。   The texture image acquisition means acquires the hair texture image in which the second position and the third position are axisymmetric with respect to a horizontal or vertical center line of the hair texture image. The image processing apparatus according to claim 2. 前記テクスチャ画像取得手段は、前記第2の位置が前記毛髪テクスチャ画像の一の端部に対応する端部領域に含まれ、かつ、前記第3の位置が他の端部に対応する端部領域に含まれる前記毛髪テクスチャ画像を取得することを特徴とする請求項2又は3に記載の画像処理装置。   The texture image acquisition means includes an end region in which the second position is included in an end region corresponding to one end of the hair texture image, and the third position corresponds to another end. The image processing apparatus according to claim 2, wherein the hair texture image included in the image is acquired. キャラクタを表すキャラクタオブジェクトが配置された3次元空間を所与の視点から見た画像を表示手段に表示する画像処理装置の制御方法であって、
前記キャラクタの毛髪を表す略筒状の毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを設定するオブジェクト設定ステップと、
前記キャラクタの毛髪が表されてなる毛髪テクスチャ画像であって、前記毛髪テクスチャ画像が前記毛髪描画用オブジェクトにマッピングされた場合に、前記毛髪が前記毛髪描画用オブジェクトの表面に沿って螺旋状に表れる前記毛髪テクスチャ画像を取得するテクスチャ画像取得ステップと、
前記毛髪テクスチャ画像がマッピングされた前記毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを前記視点から見た画像を前記表示手段に表示させる表示制御ステップと、
を含むことを特徴とする画像処理装置の制御方法。
A control method of an image processing apparatus for displaying an image of a three-dimensional space in which a character object representing a character is viewed from a given viewpoint on a display means,
An object setting step for setting the character object including a substantially cylindrical hair drawing object representing the character's hair;
A hair texture image representing the character's hair, and when the hair texture image is mapped to the hair drawing object, the hair appears spirally along the surface of the hair drawing object. A texture image obtaining step for obtaining the hair texture image;
A display control step of causing the display means to display an image of the character object including the hair drawing object to which the hair texture image is mapped as viewed from the viewpoint;
A control method for an image processing apparatus.
キャラクタを表すキャラクタオブジェクトが配置された3次元空間を所与の視点から見た画像を表示手段に表示する画像処理装置としてコンピュータを機能させるためのプログラムであって、
前記キャラクタの毛髪を表す略筒状の毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを設定するオブジェクト設定手段、
前記キャラクタの毛髪が表されてなる毛髪テクスチャ画像であって、前記毛髪テクスチャ画像が前記毛髪描画用オブジェクトにマッピングされた場合に、前記毛髪が前記毛髪描画用オブジェクトの表面に沿って螺旋状に表れる前記毛髪テクスチャ画像を取得するテクスチャ画像取得手段、
前記毛髪テクスチャ画像がマッピングされた前記毛髪描画用オブジェクトを含む前記キャラクタオブジェクトを前記視点から見た画像を前記表示手段に表示させる表示制御手段、
を含む画像処理装置として前記コンピュータを機能させることを特徴とするプログラム。
A program for causing a computer to function as an image processing apparatus that displays on a display means an image of a three-dimensional space in which a character object representing a character is viewed from a given viewpoint,
Object setting means for setting the character object including a substantially cylindrical hair drawing object representing the character's hair;
A hair texture image representing the character's hair, and when the hair texture image is mapped to the hair drawing object, the hair appears spirally along the surface of the hair drawing object. Texture image acquisition means for acquiring the hair texture image;
Display control means for causing the display means to display an image of the character object including the hair drawing object to which the hair texture image is mapped as viewed from the viewpoint;
A program for causing the computer to function as an image processing apparatus including:
JP2010205265A 2010-09-14 2010-09-14 Image processing apparatus, image processing apparatus control method, and program Active JP5145391B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010205265A JP5145391B2 (en) 2010-09-14 2010-09-14 Image processing apparatus, image processing apparatus control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010205265A JP5145391B2 (en) 2010-09-14 2010-09-14 Image processing apparatus, image processing apparatus control method, and program

Publications (2)

Publication Number Publication Date
JP2012063820A true JP2012063820A (en) 2012-03-29
JP5145391B2 JP5145391B2 (en) 2013-02-13

Family

ID=46059506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010205265A Active JP5145391B2 (en) 2010-09-14 2010-09-14 Image processing apparatus, image processing apparatus control method, and program

Country Status (1)

Country Link
JP (1) JP5145391B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107204036A (en) * 2016-03-16 2017-09-26 腾讯科技(深圳)有限公司 The method and apparatus for generating hair image
CN110490961A (en) * 2019-08-15 2019-11-22 天津优乐互娱科技有限公司 A kind of hair Brush Tool and the method for drawing hair
CN111784807A (en) * 2020-07-03 2020-10-16 珠海金山网络游戏科技有限公司 Virtual character drawing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09305653A (en) * 1996-01-02 1997-11-28 Silicon Graphics Inc System for growing hair using computer graphic system and its method
JP2009020874A (en) * 2007-06-11 2009-01-29 Kyushu Institute Of Technology Hair simulation method, and device therefor
JP2009230543A (en) * 2008-03-24 2009-10-08 Konami Digital Entertainment Co Ltd Image processing apparatus, method for controlling image processing apparatus, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09305653A (en) * 1996-01-02 1997-11-28 Silicon Graphics Inc System for growing hair using computer graphic system and its method
JP2009020874A (en) * 2007-06-11 2009-01-29 Kyushu Institute Of Technology Hair simulation method, and device therefor
JP2009230543A (en) * 2008-03-24 2009-10-08 Konami Digital Entertainment Co Ltd Image processing apparatus, method for controlling image processing apparatus, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107204036A (en) * 2016-03-16 2017-09-26 腾讯科技(深圳)有限公司 The method and apparatus for generating hair image
CN110490961A (en) * 2019-08-15 2019-11-22 天津优乐互娱科技有限公司 A kind of hair Brush Tool and the method for drawing hair
CN111784807A (en) * 2020-07-03 2020-10-16 珠海金山网络游戏科技有限公司 Virtual character drawing method and device

Also Published As

Publication number Publication date
JP5145391B2 (en) 2013-02-13

Similar Documents

Publication Publication Date Title
TWI375922B (en) Character display device, method for displaying characters, and information recording medium
JP5822655B2 (en) GAME PROCESSING SYSTEM, GAME PROCESSING METHOD, GAME PROCESSING DEVICE, AND GAME PROCESSING PROGRAM
CN1781124B (en) Image processor and image processing method
JP5089453B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP6474278B2 (en) Image generation system, image generation method, program, and information storage medium
JP3926828B1 (en) GAME DEVICE, GAME DEVICE CONTROL METHOD, AND PROGRAM
JP2013094303A (en) Game processing system, game processing method, game processing apparatus, and game processing program
JP5145391B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP5995304B2 (en) Program, information storage medium, terminal and server
JP4717622B2 (en) Program, information recording medium, and image generation system
JP4031509B1 (en) Image processing apparatus, image processing apparatus control method, and program
JP4749198B2 (en) Program, information storage medium, and image generation system
JP4868586B2 (en) Image generation system, program, and information storage medium
JP2006323512A (en) Image generation system, program, and information storage medium
JP4764381B2 (en) Image processing apparatus, image processing method, and program
JP5229921B2 (en) GAME DEVICE, GAME DEVICE CONTROL METHOD, AND PROGRAM
JP2009129167A (en) Program, information storage medium, and image generation system
JP4039679B1 (en) Image processing apparatus, image processing method, and program
JP5258857B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP2010238110A (en) Image processor, image processing method and image processing program
JP2009064355A (en) Program, information storage medium, and image producing system
JP3701647B2 (en) Image processing apparatus and program
JP2007087030A (en) Program, information storage medium, and image generation system
JP2011095937A (en) Program, information storage medium and image generation system
JP4838221B2 (en) Image processing apparatus, image processing apparatus control method, and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121112

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121120

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121126

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151130

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5145391

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250