JPH11197357A - Collision sensing method in three-dimensional video game and video game device using the same and computer-readable medium on which collision sensing program is recorded in three-dimensional video game - Google Patents
Collision sensing method in three-dimensional video game and video game device using the same and computer-readable medium on which collision sensing program is recorded in three-dimensional video gameInfo
- Publication number
- JPH11197357A JPH11197357A JP10003046A JP304698A JPH11197357A JP H11197357 A JPH11197357 A JP H11197357A JP 10003046 A JP10003046 A JP 10003046A JP 304698 A JP304698 A JP 304698A JP H11197357 A JPH11197357 A JP H11197357A
- Authority
- JP
- Japan
- Prior art keywords
- dimensional
- skeleton
- model
- video game
- bilinear
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000001514 detection method Methods 0.000 claims description 27
- 239000007787 solid Substances 0.000 claims description 20
- 238000004364 calculation method Methods 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 239000000284 extract Substances 0.000 claims 1
- 230000007123 defense Effects 0.000 abstract description 7
- 238000012821 model calculation Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 3
- 230000006837 decompression Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 210000000245 forearm Anatomy 0.000 description 2
- 210000003127 knee Anatomy 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 210000000689 upper leg Anatomy 0.000 description 2
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- MJEMIOXXNCZZFK-UHFFFAOYSA-N ethylone Chemical group CCNC(C)C(=O)C1=CC=C2OCOC2=C1 MJEMIOXXNCZZFK-UHFFFAOYSA-N 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
- A63F2300/64—Methods for processing data by generating or executing the game program for computing dynamical parameters of game objects, e.g. motion determination or computation of frictional forces for a virtual car
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
- A63F2300/64—Methods for processing data by generating or executing the game program for computing dynamical parameters of game objects, e.g. motion determination or computation of frictional forces for a virtual car
- A63F2300/643—Methods for processing data by generating or executing the game program for computing dynamical parameters of game objects, e.g. motion determination or computation of frictional forces for a virtual car by determining the impact between objects, e.g. collision detection
Landscapes
- Processing Or Creating Images (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、格闘ゲーム等のゲ
ームキャラクタが3次元画像で表示される3次元ビデオ
ゲームにおけるキャラクタ同士の衝突を検出する方法及
びこれを用いたビデオゲーム装置並びに3次元ビデオゲ
ームにおける衝突検出プログラムを記録したコンピュー
タ読み取り可能な媒体に関するものである。The present invention relates to a method for detecting a collision between characters in a three-dimensional video game in which a game character such as a fighting game is displayed in a three-dimensional image, a video game apparatus using the method, and a three-dimensional video. The present invention relates to a computer-readable medium storing a game collision detection program.
【0002】[0002]
【従来の技術】従来のこの種の衝突検出方法としては、
キャラクタの3次元画像を構成するために各キャラクタ
毎に定義される立体モデル同士の衝突を検出する方法
や、各キャラクタ毎に定義されるスケルトンモデル同士
の衝突を検出する方法があった。2. Description of the Related Art Conventional collision detection methods of this type include:
There are a method for detecting a collision between three-dimensional models defined for each character and a method for detecting a collision between skeleton models defined for each character in order to form a three-dimensional image of the character.
【0003】[0003]
【発明が解決しようとする課題】しかし、前者の方法で
は正確な衝突検出は可能であるが、演算処理が複雑で膨
大となり、実際のビデオ画面上でのキャラクタ同士の衝
突とその検出にタイムラグが生じたり、キャラクタの動
作速度に制限が生じたりしてゲームのリアルタイム性が
損なわれるという問題があり、また、後者の方法では逆
に演算処理は簡易化されるが、実際のビデオ画面上のキ
ャラクタ同士は衝突しているにも拘わらず、スケルトン
モデル同士は衝突せず、検出できない場合が有り、ゲー
ムに違和感を生ずるという問題があった。However, although accurate collision detection is possible with the former method, the computation processing is complicated and enormous, and there is a time lag between the collision between characters on an actual video screen and the detection thereof. Or the speed of movement of the character may be limited, thereby deteriorating the real-time performance of the game.Also, the latter method simplifies the arithmetic processing, but the character processing on the actual video screen is simplified. Despite the collisions, the skeleton models do not collide with each other and cannot be detected in some cases, causing a problem that a sense of discomfort occurs in the game.
【0004】本発明の目的は、複雑な演算処理を必要と
することなく、正確にかつリアルタイムに検出可能な3
次元ビデオゲームにおける衝突検出方法及びこれを用い
たビデオゲーム装置並びに3次元ビデオゲームにおける
衝突検出プログラムを記録したコンピュータ読み取り可
能な媒体を提供することにある。[0004] It is an object of the present invention to provide an accurate and real-time detection system that does not require complicated arithmetic processing.
It is an object of the present invention to provide a collision detection method in a three-dimensional video game, a video game device using the same, and a computer-readable medium recording a collision detection program in a three-dimensional video game.
【0005】[0005]
【課題を解決するための手段】本発明では前記目的を達
成するため、立体モデル及びスケルトンモデルが定義さ
れた3次元画像で表示される複数のキャラクタ同士の衝
突を検出する3次元ビデオゲームにおける衝突検出方法
において、一方のキャラクタの立体モデルと他方のキャ
ラクタのスケルトンモデルとの交差状態を判定し、前記
立体モデルとスケルトンモデルとが交差した場合、キャ
ラクタ同士が衝突したと判定することを特徴とする。In order to achieve the above object, according to the present invention, a collision in a three-dimensional video game for detecting collision between a plurality of characters displayed in a three-dimensional image in which a three-dimensional model and a skeleton model are defined. In the detection method, an intersection state between a three-dimensional model of one character and a skeleton model of the other character is determined, and when the three-dimensional model and the skeleton model intersect, it is determined that the characters collide with each other. .
【0006】前記構成によれば、実際のビデオ画面上の
キャラクタ同士は衝突しているにも拘わらず、衝突検出
できないようなことがほとんどなく、しかも膨大な演算
処理を必要とすることもない。[0006] According to the above configuration, despite the fact that the characters on the actual video screen collide with each other, it is almost impossible to detect a collision, and there is no need for an enormous amount of arithmetic processing.
【0007】ここで、具体的には、スケルトンモデルを
立体モデルの座標系表現(相対座標)に変換し、スケル
トンモデルの1つ前のフレームの相対座標と現在のフレ
ームの相対座標との間で双一次曲面を生成し、該双一次
曲面と立体モデルが交差するか否かを判定して立体モデ
ルとスケルトンモデルとの交差を判定することを特徴と
する。Here, specifically, the skeleton model is converted into the coordinate system representation (relative coordinates) of the three-dimensional model, and the relative coordinates of the frame immediately before the skeleton model and the relative coordinates of the current frame are calculated. A bilinear surface is generated, and it is determined whether or not the bilinear surface and the three-dimensional model intersect to determine whether the three-dimensional model and the skeleton model intersect.
【0008】さらに詳細に述べれば、キャラクタ全体に
対応する立体モデルを構成する複数の立体オブジェクト
から一の立体オブジェクトを取り出し、キャラクタ全体
に対応するスケルトンモデルを構成する複数のスケルト
ンオブジェクトから一のスケルトンオブジェクトを取り
出し、該一のスケルトンオブジェクトを前記一の立体オ
ブジェクトの座標系表現(相対座標)に変換し、一のス
ケルトンオブジェクトの1つ前のフレームの相対座標と
現在のフレームの相対座標との間で双一次曲面を生成
し、該双一次曲面と前記一の立体オブジェクトが交差す
るか否かを判定し、これを全てのスケルトンオブジェク
トについて繰り返し、これらを全ての立体オブジェクト
について繰り返すことによって立体モデルとスケルトン
モデルとの交差を判定することにより、簡単な演算処理
で衝突を検出できる。More specifically, one solid object is extracted from a plurality of solid objects constituting a solid model corresponding to the entire character, and one skeleton object is extracted from a plurality of skeleton objects constituting a skeleton model corresponding to the entire character. And converts the one skeleton object into a coordinate system representation (relative coordinates) of the one three-dimensional object, and calculates the relative coordinates of the previous frame of the one skeleton object and the relative coordinates of the current frame. A bilinear surface is generated, it is determined whether or not the bilinear surface intersects with the one solid object, and this is repeated for all skeleton objects, and these are repeated for all three-dimensional objects, thereby obtaining a three-dimensional model and a skeleton. Intersect with model By, can detect a collision with simple calculation processing.
【0009】また、双一次曲面と立体オブジェクトとの
交差は、双一次曲面の区間を求め、該区間が立体オブジ
ェクトの内部に入り込む可能性があるか否かを計算する
ことによって判定することにより、演算処理をより簡単
化できる。The intersection between the bilinear surface and the three-dimensional object is determined by obtaining a section of the bilinear surface and calculating whether or not the section may enter the interior of the three-dimensional object. Arithmetic processing can be further simplified.
【0010】これを詳細に述べれば、双一次曲面の区間
を求め、該区間が立体オブジェクトの内部に入り込む可
能性があるか否かを計算し、可能性がなければ交差しな
いとして終了し、可能性があれば双一次曲面を分割して
再度、区間を求め、前記計算を繰り返し、双一次曲面が
十分小さくなるまで交差する可能性があればその時点の
双一次曲面の中点を交差点として抽出することによっ
て、双一次曲面と立体モデルとの交差を正確にかつ簡単
な演算処理で判定することができる。More specifically, a section of a bilinear surface is obtained, and it is calculated whether or not the section may enter the inside of the three-dimensional object. If there is a possibility, the bilinear surface is divided and the interval is obtained again, the above calculation is repeated, and if there is a possibility of intersecting until the bilinear surface becomes sufficiently small, the midpoint of the bilinear surface at that time is extracted as an intersection By doing so, the intersection between the bilinear curved surface and the three-dimensional model can be determined accurately and with a simple calculation process.
【0011】また、衝突検出は、格闘ゲームに適用する
場合、攻撃側をスケルトンモデルとし、受け側を立体モ
デルとすることが望ましい。この際、少なくとも一方の
キャラクタが攻撃している時間のみ衝突検出を行うよう
にすれば、対戦場面以外におけるキャラクタ同士の接触
を衝突と誤認することを避けることができる。When the collision detection is applied to a fighting game, it is preferable that the attacking side be a skeleton model and the receiving side be a three-dimensional model. At this time, if collision detection is performed only during the time when at least one character is attacking, it is possible to avoid erroneous recognition of contact between characters in a scene other than the battle scene as a collision.
【0012】また、本発明のビデオゲーム装置は、一方
のキャラクタの立体モデルと他方のキャラクタのスケル
トンモデルとの交差状態を判定し、前記立体モデルとス
ケルトンモデルとが交差した時、キャラクタ同士が衝突
したと判定する手段、具体的には、一方のキャラクタの
スケルトンモデルを他方のキャラクタの立体モデルの座
標系表現(相対座標)に変換する変換手段と、スケルト
ンモデルの1つ前のフレームの相対座標と現在のフレー
ムの相対座標との間で双一次曲面を生成する双一次曲面
生成手段と、該双一次曲面と立体モデルが交差するか否
かを判定して立体モデルとスケルトンモデルとの交差を
判定する交差判定手段とを備えたことを特徴とする。Further, the video game device of the present invention determines an intersection state between a three-dimensional model of one character and a skeleton model of the other character, and when the three-dimensional model and the skeleton model intersect, the characters collide with each other. Conversion means for converting the skeleton model of one character into the coordinate system representation (relative coordinates) of the three-dimensional model of the other character, and relative coordinates of the frame immediately before the skeleton model Bilinear surface generating means for generating a bilinear surface between the relative coordinates of the current frame and the current frame, and determining whether or not the bilinear surface and the three-dimensional model intersect to determine whether the three-dimensional model and the skeleton model intersect. And an intersection judging means for judging.
【0013】また、前記交差判定手段は、双一次曲面の
区間を求める区間算出手段と、前記区間が立体モデルの
内部に入り込む可能性があるか否かを計算する計算手段
とからなる構成することができる。[0013] Further, the intersection judging means is constituted by section calculating means for obtaining a section of a bilinear curved surface, and calculating means for calculating whether or not the section may enter the inside of the three-dimensional model. Can be.
【0014】また、本発明の3次元ビデオゲームにおけ
る衝突検出プログラムを記録したコンピュータ読み取り
可能な媒体は、前記プログラムがコンピュータに読み取
られた際、このコンピュータに、キャラクタ全体に対応
する立体モデルを構成する複数の立体オブジェクトから
一の立体オブジェクトを取り出し、キャラクタ全体に対
応するスケルトンモデルを構成する複数のスケルトンオ
ブジェクトから一のスケルトンオブジェクトを取り出
し、該一のスケルトンオブジェクトを前記一の立体オブ
ジェクトの座標系表現(相対座標)に変換し、一のスケ
ルトンオブジェクトの1つ前のフレームの相対座標と現
在のフレームの相対座標との間で双一次曲面を生成し、
該双一次曲面と前記一の立体オブジェクトが交差するか
否かを判定し、これを全てのスケルトンオブジェクトに
ついて繰り返し、これらを全ての立体オブジェクトにつ
いて繰り返すことによって立体モデルとスケルトンモデ
ルとの交差を判定する動作を実行させることを特徴とす
る。Further, the computer-readable medium storing the collision detection program in the three-dimensional video game of the present invention constitutes a three-dimensional model corresponding to the entire character in the computer when the program is read by the computer. One solid object is extracted from a plurality of three-dimensional objects, one skeleton object is extracted from a plurality of skeleton objects constituting a skeleton model corresponding to the entire character, and the one skeleton object is represented in the coordinate system representation of the one solid object ( Relative coordinates), generate a bilinear surface between the relative coordinates of the previous frame of the one skeleton object and the relative coordinates of the current frame,
It is determined whether or not the bilinear surface intersects with the one solid object, this is repeated for all skeleton objects, and these are repeated for all three-dimensional objects to determine the intersection between the three-dimensional model and the skeleton model. The operation is performed.
【0015】この際、具体的な交差判定動作は、双一次
曲面の区間を求め、該区間が立体オブジェクトの内部に
入り込む可能性があるか否かを計算し、可能性がなけれ
ば交差しないとして終了し、可能性があれば双一次曲面
を分割して再度、区間を求め、前記計算を繰り返し、双
一次曲面が十分小さくなるまで交差する可能性があれば
その時点の双一次曲面の中点を交差点として抽出する動
作であることを特徴とする。At this time, a specific intersection determining operation is to obtain a section of a bilinear curved surface, calculate whether or not the section is likely to enter the inside of the three-dimensional object, and determine that there is no intersection if there is no possibility. End, if possible, divide the bilinear surface, find the section again, repeat the above calculation, and if there is a possibility of intersecting until the bilinear surface becomes sufficiently small, the midpoint of the bilinear surface at that time Is extracted as an intersection.
【0016】[0016]
【発明の実施の形態】図1は本発明を適用するビデオゲ
ーム装置の一例、ここでは家庭用ビデオゲーム機の概要
を示すもので、図中、1はゲーム機本体、2は複数の操
作キー2aを備え、ゲーム機本体1に各種のコマンドを
入力するコントローラ、3はゲーム機本体1に接続さ
れ、ゲーム画面及び音楽を出力するTV等のモニタ、4
はゲーム機本体1に装着され、ゲームのセーブデータ等
を記憶する外部記憶装置、ここではメモリカード、5は
ゲーム機本体1で実行可能なゲームプログラム、データ
を記録した媒体、ここではCD−ROMである。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an example of a video game apparatus to which the present invention is applied, here, an outline of a home video game machine, in which 1 is a game machine main body, 2 is a plurality of operation keys. A controller for inputting various commands to the game machine main body 1; a monitor 3 such as a TV connected to the game machine main body 1 for outputting a game screen and music;
Is an external storage device which is mounted on the game machine main body 1 and stores game save data and the like, here a memory card, 5 is a game program executable by the game machine main body 1 and a medium on which data is recorded, here a CD-ROM It is.
【0017】前記CD−ROM5はゲーム機本体1の上
面に着脱用の開閉蓋1aが配置されたCD−ROMドラ
イブ(図示せず)に装着され、そのプログラムやデータ
が読み込まれる。なお、1bは電源スイッチ、1cはリ
セットスイッチ、1dは開閉蓋1aの開閉ボタンであ
る。The CD-ROM 5 is mounted on a CD-ROM drive (not shown) in which a detachable opening / closing lid 1a is arranged on the upper surface of the game machine main body 1, and its programs and data are read. 1b is a power switch, 1c is a reset switch, and 1d is an open / close button of the open / close lid 1a.
【0018】図2はゲーム機本体1内部の詳細な回路構
成を示すもので、本装置はCPU(中央処理装置)11
と、このCPU11に直結された画像データ生成用プロ
セッサ(GTE)12と、前記CPU11にメインバス
13を介して接続されたシステムコントローラ14、メ
インメモリ15、システムROM16、画像データ伸張
用デコーダ(MDEC)17、パラレルインタフェース
(I/O)18、シリアルインタフェース(I/O)1
9、画像処理プロセッサ(GPU)20、音声処理プロ
セッサ(SPU)21、CD−ROMデコーダ22、通
信インタフェース23と、画像処理プロセッサ20に接
続されたフレームバッファ24、音声処理プロセッサ2
1に接続されたサウンドバッファ25、CD−ROMデ
コーダ22に接続されたCD−ROMドライブ26及び
CD−ROMバッファ27とからなっている。FIG. 2 shows a detailed circuit configuration inside the game machine main body 1, and the present apparatus comprises a CPU (central processing unit) 11.
And an image data generation processor (GTE) 12 directly connected to the CPU 11, a system controller 14, a main memory 15, a system ROM 16, and an image data decompression decoder (MDEC) connected to the CPU 11 via a main bus 13. 17, parallel interface (I / O) 18, serial interface (I / O) 1
9, image processor (GPU) 20, audio processor (SPU) 21, CD-ROM decoder 22, communication interface 23, frame buffer 24 connected to image processor 20, audio processor 2
1, a CD-ROM drive 26 and a CD-ROM buffer 27 connected to the CD-ROM decoder 22.
【0019】画像データ生成用プロセッサ12は、CP
U11からの指示に基づいて座標変換や光源計算等のデ
ータ量の大きな演算を行う。システムコントローラ14
は割り込み制御やメモリアクセス制御等を行う。システ
ムROM16は基本プログラム等を記憶している。画像
データ伸張用デコーダ17はMPEGやJPEG等によ
り圧縮・符号化された画像データの復号を行う。The image data generation processor 12 includes a CP
Based on the instruction from U11, a large data amount operation such as coordinate conversion or light source calculation is performed. System controller 14
Performs interrupt control, memory access control, and the like. The system ROM 16 stores basic programs and the like. The image data decompression decoder 17 decodes image data compressed and encoded by MPEG, JPEG, or the like.
【0020】画像処理プロセッサ20はCPU11から
の指示に従い、フレームバッファ24を用いてゲーム画
面の映像信号を作成し、モニタ3に出力する。音声処理
プロセッサ21はCPU11からの指示に従い、サウン
ドバッファ25を用いてBGM、効果音を含む音声信号
を作成し、モニタ3(又は他のオーディオシステム等)
に出力する。The image processor 20 creates a video signal of the game screen using the frame buffer 24 in accordance with an instruction from the CPU 11 and outputs the video signal to the monitor 3. The sound processor 21 creates a sound signal including BGM and sound effects using the sound buffer 25 according to an instruction from the CPU 11, and outputs the sound signal to the monitor 3 (or another audio system or the like).
Output to
【0021】CD−ROMデコーダ22はCD−ROM
5にエラー訂正符号化されて記録されているプログラム
やデータをCD−ROMドライブ26を介して読み取
り、一旦、CD−ROMバッファ27に記憶し、これを
元のプログラムやデータに復号する。The CD-ROM decoder 22 is a CD-ROM
5 is read via the CD-ROM drive 26, and is temporarily stored in the CD-ROM buffer 27, and is decoded into the original program and data.
【0022】通信インタフェース23はコントローラ2
及びメモリカード4と各種の信号やデータをやりとりす
る。The communication interface 23 is the controller 2
And various signals and data are exchanged with the memory card 4.
【0023】図3は本発明の衝突検出方法の処理の流れ
を示すものである。FIG. 3 shows the flow of processing of the collision detection method of the present invention.
【0024】本発明方法では、衝突を検出しようとする
各キャラクタ毎に立体モデルとスケルトンモデルの両方
を定義し、一方(通常、守備側)のキャラクタの立体モ
デルと、他方(通常、攻撃側)のキャラクタのスケルト
ンモデルとの間で検出を行う。In the method of the present invention, both a three-dimensional model and a skeleton model are defined for each character for which a collision is to be detected, and a three-dimensional model of one (usually defense) character and another (usually attacker) character are used. Is detected with the skeleton model of the character.
【0025】ここで、立体モデルとは、図4に符号31
で示すように、頭部、胴体の上半部、胴体の下半部、左
右の上腕部及び前腕部、左右の大腿部及び膝下部等のキ
ャラクタの個々の部位を模した球、円筒、直方体等の複
数の立体オブジェクト31i(i=1,2,3,……)
の集合であり、フレーム毎に各キャラクタに対応する立
体モデルを構成する全ての立体オブジェクトが作成さ
れ、そのうち現在のフレーム分がリストとして記録され
る。Here, the three-dimensional model is denoted by reference numeral 31 in FIG.
As shown in the figure, the head, the upper half of the torso, the lower half of the torso, the left and right upper arm and forearm, the left and right thighs and the lower part of the knee, such as spheres, cylinders, A plurality of three-dimensional objects 31i such as a rectangular parallelepiped (i = 1, 2, 3,...)
In this case, all three-dimensional objects constituting the three-dimensional model corresponding to each character are created for each frame, and the current frame portion is recorded as a list.
【0026】また、スケルトンモデルとは、図4に符号
32で示すように、頭部、胴体の上半部、胴体の下半
部、左右の上腕部及び前腕部、左右の大腿部及び膝下部
等のキャラクタの個々の骨組みを模した直線に相当する
複数のスケルトンオブジェクト32j(j=1,2,
3,……)の集合であり、フレーム毎に各キャラクタに
対応するスケルトンモデルを構成する全てのスケルトン
オブジェクトが作成され、そのうち1つ前のフレーム及
び現在のフレーム分がリストとして記録される。The skeleton model is, as indicated by reference numeral 32 in FIG. 4, the head, the upper half of the torso, the lower half of the torso, the right and left upper arms and the forearm, the left and right thighs and the lower part of the knee. A plurality of skeleton objects 32j (j = 1, 2, 2) corresponding to straight lines imitating individual skeletons of characters such as
...), All skeleton objects constituting a skeleton model corresponding to each character are created for each frame, and the previous frame and the current frame are recorded as a list.
【0027】以下、図3に従って本発明方法を説明す
る。Hereinafter, the method of the present invention will be described with reference to FIG.
【0028】まず、一方のキャラクタに対応する立体モ
デルを構成する個々の立体オブジェクトを表す値i及び
他方のキャラクタに対応するスケルトンオブジェクトを
構成する個々のスケルトンオブジェクトを表す値jを初
期値「0」に設定する(s1)。次に、値iに「1」を
加算し(s2)、アクティブな立体オブジェクト数(前
記リスト中の全立体オブジェクト数)がi以上か否かを
判定する(s3)。この際、i未満であれば処理を終了
し、i以上であれば値jに「1」を加算し(s4)、ア
クティブなスケルトンオブジェクト数(前記リスト中の
全スケルトンオブジェクト数)がj以上か否かを判定す
る(s5)。この際、j未満であれば値iに「1」を加
算して(s2)、s3の処理に戻るが、j以上であれば
以下の処理を行う。First, a value i representing an individual solid object constituting a solid model corresponding to one character and a value j representing an individual skeleton object constituting a skeleton object corresponding to the other character are initialized to "0". (S1). Next, "1" is added to the value i (s2), and it is determined whether or not the number of active three-dimensional objects (the number of all three-dimensional objects in the list) is equal to or more than i (s3). At this time, if it is less than i, the process is terminated, and if it is more than i, “1” is added to the value j (s4), and whether the number of active skeleton objects (the total number of skeleton objects in the list) is not less than j It is determined whether or not it is (s5). At this time, if it is less than j, "1" is added to the value i (s2), and the process returns to s3. If it is more than j, the following process is performed.
【0029】即ち、1つ前のフレーム及び現在のフレー
ムに関するj番目のアクティブなスケルトンオブジェク
トの両端の座標値を、現在のフレームに関するi番目の
アクティブな立体オブジェクトの座標系表現(相対座
標)に変換する(s6)。次に、1つ前のフレームに関
する変換後のj番目のアクティブなスケルトンオブジェ
クトの両端の相対座標と、現在のフレームに関する変換
後のj番目のアクティブなスケルトンオブジェクトの両
端の相対座標とをそれぞれ結び、図5に示すような双一
次曲面33を生成する(s7)。さらに、前記作成した
双一次曲面とi番目の立体オブジェクトとが交差するか
否かを判定する(s8)。That is, the coordinate values at both ends of the j-th active skeleton object relating to the previous frame and the current frame are converted into the coordinate system expression (relative coordinates) of the i-th active solid object relating to the current frame. (S6). Next, the relative coordinates of both ends of the converted j-th active skeleton object for the previous frame and the relative coordinates of both ends of the converted j-th active skeleton object for the current frame are respectively connected, A bilinear curved surface 33 as shown in FIG. 5 is generated (s7). Further, it is determined whether or not the created bilinear curved surface intersects with the i-th solid object (s8).
【0030】さらに、値jに「1」を加算し(s4)、
(j+1)番目のスケルトンオブジェクトについて前記
同様の処理を繰り返し、アクティブなスケルトンオブジ
ェクト数がj未満となるまで、つまりリスト中の全スケ
ルトンオブジェクトについて繰り返し行う。Further, "1" is added to the value j (s4),
The same processing is repeated for the (j + 1) th skeleton object until the number of active skeleton objects becomes less than j, that is, for all skeleton objects in the list.
【0031】さらに、値iに「1」を加算し(s2)、
(i+1)番目の立体オブジェクトを選択し、前記s3
〜s8の処理を繰り返し、アクティブな立体オブジェク
ト数がi未満となるまで、つまりリスト中の全立体オブ
ジェクトについて繰り返し行う。Further, "1" is added to the value i (s2),
(I + 1) -th solid object is selected, and the s3
Steps s8 to s8 are repeated until the number of active three-dimensional objects becomes less than i, that is, all three-dimensional objects in the list.
【0032】図6は双一次曲面と立体オブジェクトとの
交差判定の詳細な処理の流れを示すものである。FIG. 6 shows a detailed flow of processing for judging the intersection between a bilinear curved surface and a three-dimensional object.
【0033】ここでは複数の一次式または二次式の負領
域の論理積で表される立体オブジェクトと双一次曲面と
の交差判定を簡単化するため、区間演算を用いる。即
ち、例えば図7に符号34で示すような一の双一次曲面
の区間、実際にはバウンディングボックス35を求め
(s8−1)、該区間(バウンディングボックス)35
が図7に符号36で示すような球状(但し、図面上は円
で表している。)の立体オブジェクトの内部に入り込む
可能性があるか否かを判定し(s8−2)、可能性がな
ければ両者は交差しないと判定する。Here, in order to simplify the determination of the intersection between the solid object represented by the logical product of a plurality of linear or quadratic negative regions and the bilinear surface, an interval operation is used. That is, for example, a section of one bilinear curved surface as indicated by reference numeral 34 in FIG. 7, that is, a bounding box 35 is actually obtained (s8-1), and the section (bounding box) 35 is obtained.
It is determined whether or not there is a possibility of entering the inside of a three-dimensional object having a spherical shape (however, represented by a circle in the drawing) as indicated by reference numeral 36 in FIG. 7 (s8-2). If not, it is determined that they do not intersect.
【0034】可能性があれば双一次曲面の4辺の全ての
長さが所定の長さより短いか否かを判定し(s8−
3)、短い、即ち曲面が十分小さいければ、この時の双
一次曲面の中点を接触点として記録する(s8−4)。If there is a possibility, it is determined whether all the lengths of the four sides of the bilinear curved surface are shorter than a predetermined length (s8-
3) If the surface is short, that is, if the curved surface is sufficiently small, the midpoint of the bilinear curved surface at this time is recorded as a contact point (s8-4).
【0035】一方、双一次曲面の4辺のいずれかが所定
の長さより短くなければ、図8に示すように双一次曲
面、例えば37を、各辺の中点で分割して4つの双一次
曲面37a,37b,37c,37dとし(s8−
5)、該分割後の4つの双一次曲面37a〜37dのそ
れぞれについてs8−1〜s8−5の処理を再帰的に繰
り返す。On the other hand, if any one of the four sides of the bilinear surface is not shorter than the predetermined length, as shown in FIG. 8, the bilinear surface, for example, 37 is divided at the midpoint of each side to obtain four bilinear surfaces. The curved surfaces 37a, 37b, 37c, and 37d are used (s8-
5) The process of s8-1 to s8-5 is recursively repeated for each of the four bilinear curved surfaces 37a to 37d after the division.
【0036】なお、キャラクタ同士は、対戦場面におい
て投げ技を使う場合には必然的に接触し、また、通常の
会話場面においても接触することがあるが、このような
接触を衝突として誤認しないため、前述した衝突検出
は、実際には、少なくとも一方のキャラクタが投げ技等
を除いたパンチ攻撃やキック攻撃を行っている期間のみ
行う。Note that the characters inevitably come into contact with each other when using a throwing technique in a battle scene, and may also come into contact in a normal conversation scene, but such contact is not mistaken as a collision. Actually, the above-described collision detection is performed only during a period in which at least one character performs a punch attack or a kick attack excluding a throwing technique or the like.
【0037】図9は本発明の衝突検出方法を用いた3次
元ビデオゲーム装置の機能ブロック図を示すもので、図
中、41はプログラム・キャラクタデータ読出・記憶
部、42はコマンド判定部、43はスケルトンモデル演
算部、44は立体モデル演算部、45はキャラクタ画像
作成部、46は衝突検出部である。FIG. 9 is a functional block diagram of a three-dimensional video game apparatus using the collision detection method of the present invention. In FIG. 9, reference numeral 41 denotes a program / character data reading / storing unit; Denotes a skeleton model calculation unit, 44 denotes a three-dimensional model calculation unit, 45 denotes a character image creation unit, and 46 denotes a collision detection unit.
【0038】プログラム・キャラクタデータ読出・記憶
部41は、前述したゲームプログラムやキャラクタのデ
ータが納められたCD−ROM5から必要に応じてプロ
グラムやデータを読み出し、一時的に記憶する。The program / character data reading / storing section 41 reads out programs and data from the CD-ROM 5 in which the above-mentioned game programs and character data are stored as necessary, and temporarily stores them.
【0039】コマンド判定部42は、コントローラ2に
対するキー入力操作を検出し、プログラム・キャラクタ
データ記憶部41に記憶されたプログラムに基づいてプ
レイヤーがどのようなコマンド(パンチ、キック等の攻
撃コマンド、防御コマンド、回復コマンド等)を入力し
たかを判定する。The command judging section 42 detects a key input operation on the controller 2 and, based on the program stored in the program / character data storage section 41, determines what command (attack command such as punch or kick, defense command, etc.) Command, recovery command, etc.).
【0040】スケルトンモデル演算部43は、プログラ
ム・キャラクタデータ記憶部41に記憶されたプログラ
ム及び前記入力コマンドに基づいて各キャラクタのスケ
ルトンモデルを構成する全てのスケルトンオブジェクト
をフレーム毎に計算し、そのうち1つ前のフレーム及び
現在のフレーム分をリストとして保持する。立体モデル
演算部44は、前述したスケルトンモデルに基づいて各
キャラクタの立体モデルを構成する全ての立体オブジェ
クトをフレーム毎に計算し、そのうち現在のフレーム分
をリストとして保持する。The skeleton model calculation unit 43 calculates all the skeleton objects constituting the skeleton model of each character for each frame based on the program and the input command stored in the program / character data storage unit 41. The previous frame and the current frame are held as a list. The three-dimensional model calculation unit 44 calculates, for each frame, all three-dimensional objects constituting the three-dimensional model of each character based on the above-described skeleton model, and holds the current frame as a list.
【0041】キャラクタ画像作成部45は、前述した立
体モデルを各キャラクタに対応して形状を補正し、テク
スチャーを貼り付ける等の画像処理を施して実際にビデ
オ画面に表示するキャラクタ画像に仕上げる。なお、こ
のキャラクタ画像は別途作成される背景画像と合成され
て画像信号化され、さらに別途作成される音楽信号とと
もにモニタ3へ出力される。The character image creating section 45 corrects the shape of the above-mentioned three-dimensional model corresponding to each character, performs image processing such as pasting a texture, etc., and finishes the character image to be actually displayed on a video screen. Note that this character image is combined with a separately created background image to form an image signal, and further output to the monitor 3 together with a separately created music signal.
【0042】衝突検出部46は、キャラクタ同士の衝突
を検出する、本発明の主要な構成部分であり、衝突検出
期間判定部461と、攻守判定部462と、座標変換部
463と、双一次曲面生成部464と、交差判定部46
5とからなっている。The collision detecting section 46 is a main component of the present invention for detecting a collision between characters, and includes a collision detecting period determining section 461, an offense and defense determining section 462, a coordinate converting section 463, a bilinear curved surface. The generation unit 464 and the intersection determination unit 46
It consists of five.
【0043】衝突検出期間判定部461は、プレイ中の
衝突検出を行うべき期間を少なくとも一方のキャラクタ
が攻撃、特に投げを除いたパンチやキック攻撃を行って
いる期間のみに限定するためのもので、コマンド判定部
42で判定された入力コマンド及びスケルトンモデル演
算部43で計算されたスケルトンモデルから各キャラク
タの動作を分析し、前述した期間に対応する検出期間信
号を出力する。The collision detection period determination section 461 limits the period during which collision detection during play should be performed to only the period during which at least one character is performing an attack, particularly a punch or kick attack other than throwing. The motion of each character is analyzed from the input command determined by the command determination unit 42 and the skeleton model calculated by the skeleton model calculation unit 43, and a detection period signal corresponding to the above-described period is output.
【0044】攻守判定部462は、コマンド判定部42
で判定された入力コマンドに基づいて対戦中のキャラク
タのいずれが攻撃側であるか、防御側であるかを判定す
る。The offense / defense determining unit 462 includes the command determining unit 42
It is determined which of the characters in the battle is the attacking side or the defending side based on the input command determined in step (1).
【0045】座標変換部463は、衝突検出期間判定部
461から検出期間信号が出力されている間中、攻守判
定部462で攻撃側と判定された一方のキャラクタのス
ケルトンモデルを、防御側と判定された他方のキャラク
タの立体モデルの座標系表現(相対座標)に前述した如
く変換する。The coordinate conversion unit 463 determines the skeleton model of one of the characters determined to be the attacking side by the offense / defense determining unit 462 as the defending side while the collision detection period determining unit 461 outputs the detection period signal. It is converted into the coordinate system expression (relative coordinates) of the three-dimensional model of the other character as described above.
【0046】双一次曲面生成部464は、前記座標変換
したスケルトンモデルの1つ前のフレームの相対座標と
現在のフレームの相対座標との間で前述した如く双一次
曲面を生成する。The bilinear surface generating unit 464 generates a bilinear surface between the relative coordinates of the frame immediately before the skeleton model subjected to the coordinate conversion and the relative coordinates of the current frame as described above.
【0047】交差判定部465は、区間算出部465a
及び計算部465bからなり、区間算出部465aにて
双一次曲面の区間、即ちバウンディングボックスを求
め、計算部465bにて前記区間が立体モデルの内部に
入り込む可能性があるか否かを計算することにより、前
記生成した双一次曲面と立体モデルが交差するか否かを
判定して立体モデルとスケルトンモデルとの交差を判定
する。なお、衝突が検出された場合はその座標値ととも
にスケルトンモデル演算部43に通知され、その後のキ
ャラクタの動作及びその画像に反映されることになる。The intersection determining section 465 includes a section calculating section 465a.
And a calculating unit 465b. The section calculating unit 465a obtains a section of a bilinear surface, that is, a bounding box, and the calculating unit 465b calculates whether the section may enter the inside of the three-dimensional model. Thus, it is determined whether or not the generated bilinear curved surface intersects with the three-dimensional model, thereby determining the intersection between the three-dimensional model and the skeleton model. If a collision is detected, the collision is notified to the skeleton model calculation unit 43 together with the coordinate value, and the collision is reflected in the subsequent motion of the character and its image.
【0048】これまでの説明では家庭用ゲーム機に適用
した例について述べたが、ゲームセンタやアミューズメ
ント施設に設置される業務用ゲームマシン等に適用でき
ることはいうまでもない。In the above description, an example in which the present invention is applied to a home game machine has been described. However, it is needless to say that the present invention can be applied to a business game machine installed in a game center or an amusement facility.
【0049】[0049]
【発明の効果】以上説明したように、本発明によれば、
一方のキャラクタの立体モデルと他方のキャラクタのス
ケルトンモデルとの交差状態を判定し、前記立体モデル
とスケルトンモデルとが交差した場合、キャラクタ同士
が衝突したと判定するようになしたため、実際のビデオ
画面上のキャラクタ同士は衝突しているにも拘わらず、
衝突検出できないようなことがほとんどなく、しかも膨
大な演算処理を必要とすることもなく、正確にかつリア
ルタイムに衝突を検出できる。As described above, according to the present invention,
The state of intersection between the three-dimensional model of one character and the skeleton model of the other character is determined. When the three-dimensional model and the skeleton model cross each other, it is determined that the characters collide with each other. Despite the above characters colliding with each other,
It is possible to detect a collision accurately and in real time without almost failing to detect a collision and without requiring a huge amount of arithmetic processing.
【図1】本発明を適用するビデオゲーム装置の一例の概
要を示す図FIG. 1 is a diagram showing an outline of an example of a video game apparatus to which the present invention is applied.
【図2】ゲーム機本体内部の詳細な回路構成図FIG. 2 is a detailed circuit configuration diagram inside the game machine main body.
【図3】本発明の衝突検出方法の処理の流れ図FIG. 3 is a flowchart of a process of a collision detection method according to the present invention.
【図4】立体モデル及びスケルトンモデルの一例を示す
図FIG. 4 shows an example of a three-dimensional model and a skeleton model.
【図5】双一次曲面の生成のようすを示す図FIG. 5 is a diagram showing how a bilinear surface is generated;
【図6】双一次曲面と立体オブジェクトとの交差判定の
詳細な処理の流れ図FIG. 6 is a flowchart of a detailed process of determining an intersection between a bilinear surface and a three-dimensional object;
【図7】バウンディングボックスの説明図FIG. 7 is an explanatory diagram of a bounding box.
【図8】双一次曲面の分割のようすを示す図FIG. 8 is a diagram showing how a bilinear surface is divided;
【図9】本発明の衝突検出方法を用いた3次元ビデオゲ
ーム装置の機能ブロック図FIG. 9 is a functional block diagram of a three-dimensional video game device using the collision detection method of the present invention.
1:ゲーム機本体、1a:開閉蓋、1b:電源スイッ
チ、1c:リセットスイッチ、1d:開閉ボタン、2:
コントローラ、2a:操作キー、3:モニタ、4:メモ
リカード、5:CD−ROM、11:CPU、12:画
像データ生成用プロセッサ、13:メインバス、14:
システムコントローラ、15:メインメモリ、16:シ
ステムROM、17:画像データ伸張用デコーダ、1
8:パラレルインタフェース、19:シリアルインタフ
ェース、20:画像処理プロセッサ、21:音声処理プ
ロセッサ、22:CD−ROMデコーダ、23:通信イ
ンタフェース、24:フレームバッファ、25:サウン
ドバッファ、26:CD−ROMドライブ、27:CD
−ROMバッファ、31:立体モデル、31i,36:
立体オブジェクト、32:スケルトンモデル、32j:
スケルトンオブジェクト、33,34,37:双一次曲
面、35:バウンディングボックス、37a,37b,
37c,37d:分割双一次曲面、41:プログラム・
キャラクタデータ読出・記憶部、42:コマンド判定
部、43:スケルトンモデル演算部、44:立体モデル
演算部、45:キャラクタ画像作成部、46:衝突検出
部、461:衝突検出期間判定部、462:攻守判定
部、463:座標変換部、464:双一次曲面生成部、
465:交差判定部、465a:区間算出部、465
b:計算部。1: Game console body, 1a: Open / close lid, 1b: Power switch, 1c: Reset switch, 1d: Open / close button, 2:
Controller, 2a: operation keys, 3: monitor, 4: memory card, 5: CD-ROM, 11: CPU, 12: processor for generating image data, 13: main bus, 14:
System controller, 15: main memory, 16: system ROM, 17: image data decompression decoder, 1
8: Parallel interface, 19: Serial interface, 20: Image processor, 21: Audio processor, 22: CD-ROM decoder, 23: Communication interface, 24: Frame buffer, 25: Sound buffer, 26: CD-ROM drive , 27: CD
-ROM buffer, 31: solid model, 31i, 36:
Solid object, 32: skeleton model, 32j:
Skeleton objects, 33, 34, 37: bilinear surfaces, 35: bounding boxes, 37a, 37b,
37c, 37d: split bilinear surface, 41: program
Character data readout / storage unit, 42: command determination unit, 43: skeleton model calculation unit, 44: stereo model calculation unit, 45: character image creation unit, 46: collision detection unit, 461: collision detection period determination unit, 462: Offense / defense determining unit, 463: coordinate transformation unit, 464: bilinear surface generation unit,
465: intersection determination section, 465a: section calculation section, 465
b: calculation unit.
Claims (12)
された3次元画像で表示される複数のキャラクタ同士の
衝突を検出する3次元ビデオゲームにおける衝突検出方
法において、 一方のキャラクタの立体モデルと他方のキャラクタのス
ケルトンモデルとの交差状態を判定し、 前記立体モデルとスケルトンモデルとが交差した場合、
キャラクタ同士が衝突したと判定することを特徴とする
3次元ビデオゲームにおける衝突検出方法。1. A collision detection method in a three-dimensional video game for detecting a collision between a plurality of characters displayed in a three-dimensional image in which a three-dimensional model and a skeleton model are defined. Judge the state of intersection with the skeleton model, when the three-dimensional model and the skeleton model intersect,
A collision detection method in a three-dimensional video game, wherein it is determined that characters have collided.
表現(相対座標)に変換し、 スケルトンモデルの1つ前のフレームの相対座標と現在
のフレームの相対座標との間で双一次曲面を生成し、 該双一次曲面と立体モデルが交差するか否かを判定して
立体モデルとスケルトンモデルとの交差を判定すること
を特徴とする請求項1記載の3次元ビデオゲームにおけ
る衝突検出方法。2. Converting a skeleton model into a coordinate system representation (relative coordinates) of a three-dimensional model, and generating a bilinear surface between relative coordinates of a frame immediately before the skeleton model and relative coordinates of a current frame. 2. The collision detection method in a three-dimensional video game according to claim 1, wherein it is determined whether or not the bilinear curved surface and the three-dimensional model intersect to determine the intersection between the three-dimensional model and the skeleton model.
構成する複数の立体オブジェクトから一の立体オブジェ
クトを取り出し、 キャラクタ全体に対応するスケルトンモデルを構成する
複数のスケルトンオブジェクトから一のスケルトンオブ
ジェクトを取り出し、 該一のスケルトンオブジェクトを前記一の立体オブジェ
クトの座標系表現(相対座標)に変換し、 一のスケルトンオブジェクトの1つ前のフレームの相対
座標と現在のフレームの相対座標との間で双一次曲面を
生成し、 該双一次曲面と前記一の立体オブジェクトが交差するか
否かを判定し、 これを全てのスケルトンオブジェクトについて繰り返
し、 これらを全ての立体オブジェクトについて繰り返すこと
によって立体モデルとスケルトンモデルとの交差を判定
することを特徴とする請求項1記載の3次元ビデオゲー
ムにおける衝突検出方法。3. Extracting one three-dimensional object from a plurality of three-dimensional objects constituting a three-dimensional model corresponding to the entire character, extracting one skeleton object from a plurality of skeleton objects constituting a skeleton model corresponding to the entire character, The one skeleton object is converted into the coordinate system representation (relative coordinates) of the one solid object, and a bilinear surface is calculated between the relative coordinates of the previous frame of the one skeleton object and the relative coordinates of the current frame. It is determined whether or not the bilinear surface intersects with the one solid object. This is repeated for all the skeleton objects, and these are repeated for all the three-dimensional objects, whereby the intersection between the three-dimensional model and the skeleton model is obtained. Is characterized by determining The method for detecting a collision in a three-dimensional video game according to claim 1.
るか否かを計算することによって双一次曲面と立体オブ
ジェクトとの交差を判定することを特徴とする請求項2
又は3記載の3次元ビデオゲームにおける衝突検出方
法。4. An intersection of the bilinear surface and the three-dimensional object is determined by calculating a section of the bilinear surface and calculating whether or not the section may enter the inside of the three-dimensional object. Claim 2
Or a collision detection method in a three-dimensional video game according to 3.
るか否かを計算し、 可能性がなければ交差しないとして終了し、 可能性があれば双一次曲面を分割して再度、区間を求
め、前記計算を繰り返し、 双一次曲面が十分小さくなるまで交差する可能性があれ
ばその時点の双一次曲面の中点を交差点として抽出する
ことによって双一次曲面と立体モデルとの交差を判定す
ることを特徴とする請求項2又は3記載の3次元ビデオ
ゲームにおける衝突検出方法。5. A section of a bilinear surface is calculated, and it is calculated whether or not the section is likely to enter the inside of the three-dimensional object. The section is obtained by dividing the primary surface again, and the above calculation is repeated. If there is a possibility that the bilinear surface may intersect until the bilinear surface becomes sufficiently small, the midpoint of the bilinear surface at that time is extracted as an intersection, thereby obtaining the bilinear shape. 4. The collision detection method according to claim 2, wherein an intersection between the curved surface and the three-dimensional model is determined.
ケルトンモデルとし、受け側を立体モデルとすることを
特徴とする請求項1乃至5いずれか記載の3次元ビデオ
ゲームにおける衝突検出方法。6. The collision detection method in a three-dimensional video game according to claim 1, wherein, when applied to a fighting game, the attacking side is a skeleton model and the receiving side is a three-dimensional model.
いる時間のみ衝突検出を行うことを特徴とする請求項6
記載の3次元ビデオゲームにおける衝突検出方法。7. The method according to claim 6, wherein the collision is detected only during a time when at least one character is attacking.
The collision detection method in the three-dimensional video game described in the above.
された3次元画像で表示されるキャラクタをプレイヤー
の操作に応じて動画表示するとともに、キャラクタ同士
の衝突が検出された場合は対応する画像を表示するビデ
オゲーム装置において、 一方のキャラクタの立体モデルと他方のキャラクタのス
ケルトンモデルとの交差状態を判定し、前記立体モデル
とスケルトンモデルとが交差した時、キャラクタ同士が
衝突したと判定する手段を備えたことを特徴とするビデ
オゲーム装置。8. A character displayed as a three-dimensional image in which a three-dimensional model and a skeleton model are defined is displayed as a moving image according to a player's operation, and when a collision between the characters is detected, a corresponding image is displayed. The video game device further comprises means for determining an intersection state between the three-dimensional model of one character and a skeleton model of the other character, and determining that the characters collide when the three-dimensional model and the skeleton model intersect. A video game device characterized by the above-mentioned.
他方のキャラクタの立体モデルの座標系表現(相対座
標)に変換する変換手段と、 スケルトンモデルの1つ前のフレームの相対座標と現在
のフレームの相対座標との間で双一次曲面を生成する双
一次曲面生成手段と、 該双一次曲面と立体モデルが交差するか否かを判定して
立体モデルとスケルトンモデルとの交差を判定する交差
判定手段とを備えたことを特徴とする請求項8記載のビ
デオゲーム装置。9. A conversion means for converting a skeleton model of one character into a coordinate system representation (relative coordinates) of a three-dimensional model of the other character, and a relative coordinate between a frame immediately before the skeleton model and a current frame. Bilinear surface generating means for generating a bilinear surface between coordinates, intersection determining means for determining whether or not the bilinear surface and the three-dimensional model intersect to determine the intersection between the three-dimensional model and the skeleton model; The video game device according to claim 8, further comprising:
否かを計算する計算手段とからなることを特徴とする請
求項9記載のビデオゲーム装置。10. The intersection determining means includes: a section calculating means for obtaining a section of a bilinear surface; and a calculating means for calculating whether or not the section is likely to enter the inside of the three-dimensional model. The video game device according to claim 9.
義された3次元画像で表示されるキャラクタ同士の衝突
を検出する3次元ビデオゲームにおける衝突検出プログ
ラムを記録したコンピュータ読み取り可能な媒体におい
て、 前記3次元ビデオゲームにおける衝突検出プログラムは
コンピュータに読み取られた際、このコンピュータに、 キャラクタ全体に対応する立体モデルを構成する複数の
立体オブジェクトから一の立体オブジェクトを取り出
し、 キャラクタ全体に対応するスケルトンモデルを構成する
複数のスケルトンオブジェクトから一のスケルトンオブ
ジェクトを取り出し、 該一のスケルトンオブジェクトを前記一の立体オブジェ
クトの座標系表現(相対座標)に変換し、 一のスケルトンオブジェクトの1つ前のフレームの相対
座標と現在のフレームの相対座標との間で双一次曲面を
生成し、 該双一次曲面と前記一の立体オブジェクトが交差するか
否かを判定し、 これを全てのスケルトンオブジェクトについて繰り返
し、 これらを全ての立体オブジェクトについて繰り返すこと
によって立体モデルとスケルトンモデルとの交差を判定
する動作を実行させることを特徴とする3次元ビデオゲ
ームにおける衝突検出プログラムを記録したコンピュー
タ読み取り可能な媒体。11. A computer-readable medium recording a collision detection program in a three-dimensional video game for detecting a collision between characters displayed in a three-dimensional image in which a three-dimensional model and a skeleton model are defined, wherein the three-dimensional video When a collision detection program in a game is read by a computer, the computer extracts one solid object from a plurality of three-dimensional objects constituting a three-dimensional model corresponding to the entire character, and generates a plurality of skeleton models corresponding to the whole character. Take out one skeleton object from the skeleton object, convert the one skeleton object into a coordinate system expression (relative coordinates) of the one solid object, and obtain a relative value of a frame immediately before the one skeleton object. A bilinear surface is generated between the target and the relative coordinates of the current frame, it is determined whether the bilinear surface intersects with the one solid object, and this is repeated for all skeleton objects. A computer-readable medium storing a collision detection program in a three-dimensional video game, wherein an operation of determining an intersection between a three-dimensional model and a skeleton model is performed by repeating for all three-dimensional objects.
るか否かを計算し、 可能性がなければ交差しないとして終了し、 可能性があれば双一次曲面を分割して再度、区間を求
め、前記計算を繰り返し、 双一次曲面が十分小さくなるまで交差する可能性があれ
ばその時点の双一次曲面の中点を交差点として抽出する
動作を実行させることを特徴とする請求項11記載の3
次元ビデオゲームにおける衝突検出プログラムを記録し
たコンピュータ読み取り可能な媒体。12. A section of a bilinear surface is calculated, and it is calculated whether or not the section is likely to enter the inside of the three-dimensional object. If there is no possibility, the processing is terminated as not intersecting. The section is obtained by dividing the primary surface again, and the above calculation is repeated. If there is a possibility that the bilinear surface intersects until the bilinear surface becomes sufficiently small, an operation of extracting the midpoint of the bilinear surface at that time as an intersection is executed. 13. The method according to claim 11, wherein
A computer-readable medium storing a collision detection program for a three-dimensional video game.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10003046A JP2975336B2 (en) | 1998-01-09 | 1998-01-09 | Collision detection method in three-dimensional video game, video game device using the same, and computer-readable medium recording collision detection program in three-dimensional video game |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10003046A JP2975336B2 (en) | 1998-01-09 | 1998-01-09 | Collision detection method in three-dimensional video game, video game device using the same, and computer-readable medium recording collision detection program in three-dimensional video game |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH11197357A true JPH11197357A (en) | 1999-07-27 |
JP2975336B2 JP2975336B2 (en) | 1999-11-10 |
Family
ID=11546383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10003046A Expired - Lifetime JP2975336B2 (en) | 1998-01-09 | 1998-01-09 | Collision detection method in three-dimensional video game, video game device using the same, and computer-readable medium recording collision detection program in three-dimensional video game |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2975336B2 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000050243A (en) * | 2000-05-30 | 2000-08-05 | 김호광 | Method for setting up conflicts of objects in game producing tools |
JP2002292123A (en) * | 2001-03-29 | 2002-10-08 | Konami Co Ltd | Game device, game method, game program, and game system |
US6767282B2 (en) | 2001-10-19 | 2004-07-27 | Konami Corporation | Motion-controlled video entertainment system |
WO2005106802A1 (en) | 2004-04-29 | 2005-11-10 | Konami Corporation | Display, displaying method, information recording medium, and program |
WO2005109345A1 (en) | 2004-05-11 | 2005-11-17 | Konami Digital Entertainment Co., Ltd. | Display, displaying method, information recording medium, and program |
KR100718157B1 (en) | 2006-03-08 | 2007-05-14 | 삼성전자주식회사 | Collision Detection Device and Method |
KR101013784B1 (en) * | 2009-08-31 | 2011-02-14 | 이화여자대학교 산학협력단 | Hybrid Parallel Continuous Collision Detection Method Using CPU and GPU |
JP2012252725A (en) * | 2008-01-23 | 2012-12-20 | Intel Corp | Method, apparatus, and computer program product for improved graphics performance |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4030209B2 (en) | 1998-12-09 | 2008-01-09 | 株式会社バンダイナムコゲームス | GAME DEVICE AND INFORMATION STORAGE MEDIUM |
-
1998
- 1998-01-09 JP JP10003046A patent/JP2975336B2/en not_active Expired - Lifetime
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000050243A (en) * | 2000-05-30 | 2000-08-05 | 김호광 | Method for setting up conflicts of objects in game producing tools |
JP2002292123A (en) * | 2001-03-29 | 2002-10-08 | Konami Co Ltd | Game device, game method, game program, and game system |
US7001272B2 (en) | 2001-03-29 | 2006-02-21 | Konami Corporation | Video game device, video game method, video game program, and video game system |
US6767282B2 (en) | 2001-10-19 | 2004-07-27 | Konami Corporation | Motion-controlled video entertainment system |
US7737978B2 (en) | 2004-04-29 | 2010-06-15 | Konami Digital Entertainment Co., Ltd. | Display, displaying method, information recording medium, and program |
WO2005106802A1 (en) | 2004-04-29 | 2005-11-10 | Konami Corporation | Display, displaying method, information recording medium, and program |
WO2005109345A1 (en) | 2004-05-11 | 2005-11-17 | Konami Digital Entertainment Co., Ltd. | Display, displaying method, information recording medium, and program |
KR100718157B1 (en) | 2006-03-08 | 2007-05-14 | 삼성전자주식회사 | Collision Detection Device and Method |
JP2012252725A (en) * | 2008-01-23 | 2012-12-20 | Intel Corp | Method, apparatus, and computer program product for improved graphics performance |
US10373370B2 (en) | 2008-01-23 | 2019-08-06 | Intel Corporation | Method, apparatus, and computer program product for improved graphics performance |
US11222462B2 (en) | 2008-01-23 | 2022-01-11 | Intel Corporation | Method, apparatus, and computer program product for improved graphics performance |
US11361498B2 (en) | 2008-01-23 | 2022-06-14 | Intel Corporation | Method, apparatus, and computer program product for improved graphics performance |
KR101013784B1 (en) * | 2009-08-31 | 2011-02-14 | 이화여자대학교 산학협력단 | Hybrid Parallel Continuous Collision Detection Method Using CPU and GPU |
Also Published As
Publication number | Publication date |
---|---|
JP2975336B2 (en) | 1999-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7374209B2 (en) | Virtual object movement control method, movement control device, terminal and computer program | |
EP4002198A1 (en) | Posture acquisition method and device, and key point coordinate positioning model training method and device | |
EP0842682B1 (en) | Image processor for games | |
US20110293144A1 (en) | Method and System for Rendering an Entertainment Animation | |
JP2975336B2 (en) | Collision detection method in three-dimensional video game, video game device using the same, and computer-readable medium recording collision detection program in three-dimensional video game | |
JP2010026818A (en) | Image processing program, image processor, and image processing method | |
US7333108B2 (en) | Entertainment apparatus, object display device, object display method, recording medium and character display method | |
JP6908183B2 (en) | Learning image generator, learning image generation method and program | |
JP2008504621A (en) | Controlling data processing | |
WO2004090838A1 (en) | Simulator and information storage medium | |
Kowalski et al. | Holoface: Augmenting human-to-human interactions on hololens | |
JP2008090498A (en) | Image processing method and image processor | |
WO2002030535A1 (en) | Method of displaying and evaluating motion data used in motion game apparatus | |
WO2025108380A1 (en) | Interaction control method and apparatus, electronic device, and storage medium | |
EP2225753A1 (en) | Interactive sound synthesis | |
TWM624747U (en) | Grading apparatus based on digital data | |
JP2008212339A (en) | Input device, input control method, and program | |
JP4136341B2 (en) | Image processing apparatus and program thereof | |
US8633925B2 (en) | Image processor, image processing method, computer program, recording medium, and semiconductor device | |
JP3625201B2 (en) | Three-dimensional model transformation program, three-dimensional model transformation method, and video game apparatus | |
EP1288866B1 (en) | Image generation method | |
CN111028322A (en) | Game animation expression generation method and device and electronic equipment | |
JP4266121B2 (en) | Image generation system, program, and information storage medium | |
JP2000279642A (en) | Game device, game method, computer-readable recording medium | |
JPH11144063A (en) | Image generation device and information storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
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 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090903 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090903 Year of fee payment: 10 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090903 Year of fee payment: 10 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090903 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100903 Year of fee payment: 11 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110903 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110903 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120903 Year of fee payment: 13 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130903 Year of fee payment: 14 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130903 Year of fee payment: 14 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140903 Year of fee payment: 15 |
|
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 |
|
EXPY | Cancellation because of completion of term |