JP4512652B2 - GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM - Google Patents
GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM Download PDFInfo
- Publication number
- JP4512652B2 JP4512652B2 JP2008165143A JP2008165143A JP4512652B2 JP 4512652 B2 JP4512652 B2 JP 4512652B2 JP 2008165143 A JP2008165143 A JP 2008165143A JP 2008165143 A JP2008165143 A JP 2008165143A JP 4512652 B2 JP4512652 B2 JP 4512652B2
- Authority
- JP
- Japan
- Prior art keywords
- audio data
- data
- distance
- viewpoint position
- dimensional space
- 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.)
- Active
Links
Images
Landscapes
- Stereophonic System (AREA)
Description
本発明は、ゲーム制御技術に関し、とくに、複数のオブジェクトが配置された三次元空間の音声を制御するゲーム装置、ゲーム制御方法、及びゲーム制御プログラムに関する。 The present invention relates to a game control technique, and more particularly to a game device, a game control method, and a game control program for controlling sound in a three-dimensional space in which a plurality of objects are arranged.
仮想三次元空間をシミュレーションするゲームが多数提供されている。このようなゲームにおいては、仮想三次元空間内に視点位置及び視線方向が設定され、設定された視点位置から視線方向に見た仮想三次元空間の画像が表示されるとともに、設定された視点位置において聞こえる仮想三次元空間の音声が出力される。
仮想三次元空間に配置されるオブジェクトの数が比較的少数であれば、個々のオブジェクトの形状データをレンダリングして画像を生成するとともに、個々のオブジェクトの音声データから音場をシミュレートして音声を生成することができる。しかし、仮想三次元空間に配置されるオブジェクトが多数になると、必要な計算の負荷が飛躍的に増大してしまう。仮想三次元空間内に配置されるオブジェクトの数が多くても、計算の負荷を抑えつつ現実性の高い音声を再現して、ゲームの娯楽性を高める技術が求められる。 If there are a relatively small number of objects placed in the virtual three-dimensional space, the shape data of each object is rendered to generate an image, and the sound field is simulated from the sound data of each object. Can be generated. However, when the number of objects arranged in the virtual three-dimensional space becomes large, the necessary calculation load increases dramatically. Even if the number of objects arranged in the virtual three-dimensional space is large, there is a need for a technique that enhances the entertainment of the game by reproducing highly realistic sound while suppressing the calculation load.
本発明はこうした状況に鑑みてなされたものであり、その目的は、より娯楽性の高いゲーム制御技術を提供することにある。 The present invention has been made in view of such circumstances, and an object thereof is to provide a game control technique with higher entertainment.
本発明のある態様は、プログラムに関する。このプログラムは、三次元空間内に配置されたオブジェクトの座標データと、オブジェクト群の音声データとして、複数の種類の音声データとを格納するパラメータ保持部から、前記座標データ又は前記音声データを読み出す機能と、前記三次元空間内において視点位置を変更する機能と、前記視点位置から所定の視線方向に見たときの前記三次元空間の画像を生成する機能と、前記視点位置の近傍にオブジェクト数判定範囲を設定し、前記パラメータ保持部を参照して前記オブジェクト数判定範囲内に存在するオブジェクトの数を算出し、オブジェクトの数に応じて前記複数の種類の音声データの中から前記オブジェクト群の音声データとして適用する音声データを決定し、決定した音声データを前記パラメータ保持部から読み出して、前記視点位置における前記三次元空間の音声を生成する機能と、をコンピュータに実現させることを特徴とする。 One embodiment of the present invention relates to a program. This program has a function of reading out the coordinate data or the audio data from a parameter holding unit that stores coordinate data of objects arranged in the three-dimensional space and a plurality of types of audio data as audio data of the object group. A function of changing the viewpoint position in the three-dimensional space, a function of generating an image of the three-dimensional space when viewed from the viewpoint position in a predetermined gaze direction, and determining the number of objects in the vicinity of the viewpoint position A range is set, the number of objects existing in the object number determination range is calculated with reference to the parameter holding unit, and the audio of the object group is selected from the plurality of types of audio data according to the number of objects. Audio data to be applied as data is determined, and the determined audio data is read from the parameter holding unit, And generating a sound of the three-dimensional space at the viewpoint position, characterized in that to realize the computer.
なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システムなどの間で変換したものもまた、本発明の態様として有効である。 It should be noted that any combination of the above-described constituent elements and a representation of the present invention converted between a method, an apparatus, a system, etc. are also effective as an aspect of the present invention.
本発明によれば、より娯楽性の高いゲーム制御技術を提供することができる。 According to the present invention, a more entertaining game control technique can be provided.
実施の形態に係るゲーム装置は、ゲーム装置内に仮想的に構築された三次元空間内に複数のオブジェクトを配置させ、それらの映像及び音声をユーザに提供する。例えば、海の中を遊泳する魚群をシミュレートすることで、実際に体験することが難しい海中の世界を表現してユーザに提供する。ユーザは、視点位置及び視線方向を操作して仮想三次元空間内を自由に移動することができる。これにより、ユーザは、例えば、魚群が遊泳する海中を自身も自由に泳ぎ回るような感覚を擬似的に体験することができる。 The game device according to the embodiment arranges a plurality of objects in a three-dimensional space virtually constructed in the game device, and provides the video and audio to the user. For example, by simulating a school of fish swimming in the sea, the world under the sea that is difficult to experience is expressed and provided to the user. The user can freely move in the virtual three-dimensional space by operating the viewpoint position and the line-of-sight direction. Thereby, the user can experience, for example, a feeling that the user can freely swim in the sea where the school of fish swims.
仮想三次元空間内に配置されたオブジェクトの数が比較的少ない場合は、各オブジェクトの位置を音源として各オブジェクトが発する音声をシミュレートして3次元音場を算出し、ゲーム世界の音声を生成することができる。しかし、例えば、海中の魚群をシミュレートする場合、数千数万の魚のそれぞれについて個別に音声をシミュレートするのは計算の負荷が大きい。したがって、本実施の形態では、数多くのオブジェクトを仮想三次元空間内に配置する場合に、より少ない負荷でリアリティの高い音声を表現する技術を提案する。 When the number of objects placed in the virtual three-dimensional space is relatively small, the sound of each object is simulated using the position of each object as a sound source to calculate the three-dimensional sound field and generate the sound of the game world can do. However, for example, when simulating a school of fish in the sea, it is computationally intensive to individually simulate speech for each of tens of thousands of fish. Therefore, the present embodiment proposes a technique for expressing highly realistic speech with a smaller load when a large number of objects are arranged in a virtual three-dimensional space.
図1は、実施の形態に係るゲーム装置10の構成を示す。ゲーム装置10は、コントローラ20、入力受付部30、制御部40、パラメータ保持部60、表示装置68、及びスピーカ69を備える。これらの構成は、ハードウエアコンポーネントでいえば、任意のコンピュータのCPU、メモリ、メモリにロードされたプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者には理解されるところである。
FIG. 1 shows a configuration of a
入力受付部30は、ユーザが操作するコントローラ20から入力される制御信号を受け付ける。制御部40は、入力受付部30が受け付けたユーザからの操作入力に基づいて視点位置又は視線方向を変更しつつ、仮想三次元空間の画像及び音声をシミュレートしてゲームの画像及び音声を生成する。パラメータ保持部60は、ゲーム装置内に構築される仮想三次元空間のデータや、仮想三次元空間内に配置されたオブジェクトのデータを保持する。表示装置68は、制御部40により生成されるゲームの画面を表示する。スピーカ69は、制御部40により生成されるゲームの音声を出力する。 The input receiving unit 30 receives a control signal input from the controller 20 operated by the user. The control unit 40 generates the image and sound of the game by simulating the image and sound in the virtual three-dimensional space while changing the viewpoint position or the line-of-sight direction based on the operation input from the user received by the input receiving unit 30. To do. The parameter holding unit 60 holds data of a virtual three-dimensional space constructed in the game device and data of objects arranged in the virtual three-dimensional space. The display device 68 displays a game screen generated by the control unit 40. The speaker 69 outputs the game sound generated by the control unit 40.
図2は、ゲーム装置内に構築された仮想三次元空間の例を示す。仮想三次元空間70内には、複数のサブ空間71が設けられている。オブジェクト72は、サブ空間71内に配置され、配置されたサブ空間71内で移動を制御される。仮想三次元空間70には、ゲーム世界の画像及び音声を生成するための視点位置73及び視線方向74が設定される。視点位置73及び視線方向74は、移動制御部41により制御される。パラメータ保持部60は、サブ空間71の中心座標、幅、奥行き、高さなどの形状データや、オブジェクト72の座標及び形状データや、視点位置73の座標や、視線方向74のベクトル成分や、サブ空間71内に配置されたオブジェクト群の音声データなど、ゲームの画像及び音声を生成するために必要なデータを格納する。
FIG. 2 shows an example of a virtual three-dimensional space constructed in the game device. In the virtual three-
移動制御部41は、コントローラ20から入力される操作指示にしたがって、視点位置又は視線方向を変更する。移動制御部41は、視点位置又は視線方向を変更すると、視点位置の座標、視線方向を示すベクトルの成分などのデータをパラメータ保持部60に格納する。 The movement control unit 41 changes the viewpoint position or the line-of-sight direction in accordance with an operation instruction input from the controller 20. When the viewpoint position or the line-of-sight direction is changed, the movement control unit 41 stores data such as coordinates of the viewpoint position and a vector component indicating the line-of-sight direction in the parameter holding unit 60.
オブジェクト制御部42は、仮想三次元空間内に配置されたオブジェクトの移動を制御する。オブジェクト制御部42は、オブジェクトの種類ごとに、オブジェクトを配置する範囲を示すサブ空間を設定し、設定したサブ空間内でオブジェクトを移動させる。オブジェクト制御部42は、それぞれのオブジェクトの移動を個別に制御してもよいし、いくつかのオブジェクトをグループ化して制御してもよい。例えば、海中での魚群をシミュレートする場合、オブジェクト制御部42は、マグロ、イワシ、サバなど、魚の種類ごとにサブ空間を設定して遊泳する範囲を規定し、サブ空間内で魚を遊泳させる。オブジェクト制御部42は、例えば、群れの先頭の魚について、乱数により移動方向や移動速度を決定して移動させ、群れに属する他の魚については、先行する他の魚に追随させるように制御してもよい。また、天敵となる他の魚が近づいてくると、群れから離れて逃げるように制御してもよい。オブジェクト制御部42は、移動後のオブジェクトの座標を算出し、その座標がサブ空間内にあれば、それをパラメータ保持部60に格納する。サブ空間から外れていれば、その位置の近傍のサブ空間内の座標に修正してからパラメータ保持部60に格納する。オブジェクト制御部は、サブ空間を移動させてもよいし、サブ空間の形状を変更してもよい。 The object control unit 42 controls the movement of the object arranged in the virtual three-dimensional space. The object control unit 42 sets a subspace indicating the range in which the object is arranged for each type of object, and moves the object within the set subspace. The object control unit 42 may individually control the movement of each object, or may control several objects in groups. For example, when simulating a school of fish in the sea, the object control unit 42 sets a subspace for each type of fish, such as tuna, sardine, mackerel, and defines a range for swimming, and swims the fish in the subspace. . For example, the object control unit 42 controls the movement so that the leading fish in the group is moved by determining the moving direction and the moving speed with a random number, and other fish belonging to the group are allowed to follow other preceding fish. May be. Moreover, you may control to escape away from a flock when another fish that becomes a natural enemy approaches. The object control unit 42 calculates the coordinates of the object after movement, and stores the coordinates in the parameter holding unit 60 if the coordinates are in the subspace. If it is out of the subspace, the coordinates are corrected to the coordinates in the subspace near the position and stored in the parameter holding unit 60. The object control unit may move the subspace, or may change the shape of the subspace.
画像生成部43は、パラメータ保持部60から、現在設定されている視点位置及び視線方向を読み出し、視点位置から視線方向に見たときに所定の画角内に存在するオブジェクトをパラメータ保持部60から検索して、検索されたオブジェクトの座標及び形状データを読み出す。画像生成部43は、読み出したオブジェクトをレンダリングすることにより、視点位置から視線方向に見たときの仮想三次元空間の画像を生成する。 The image generation unit 43 reads the currently set viewpoint position and line-of-sight direction from the parameter holding unit 60, and objects that exist within a predetermined angle of view when viewed from the viewpoint position in the line-of-sight direction are read from the parameter holding unit 60. A search is performed to read the coordinates and shape data of the searched object. The image generation unit 43 generates an image of the virtual three-dimensional space when viewed in the line-of-sight direction from the viewpoint position by rendering the read object.
音声生成部44は、パラメータ保持部60から、現在設定されている視点位置及び視線方向を読み出し、視点位置において聞こえる仮想三次元空間の音声を生成する。前述したように、本実施の形態では、個々のオブジェクトから発せられる音声を全てシミュレートするのではなく、サブ空間に配置されているオブジェクト群を単位として音声をシミュレートする。視点位置とサブ空間との間の距離が遠いときには、遠距離音生成部45が、サブ空間内に配置されたオブジェクト群の音声をシミュレートする。視点位置とサブ空間との間の距離が近いときには、近距離音生成部46が、サブ空間内に配置されたオブジェクト群の音声をシミュレートする。 The sound generation unit 44 reads the currently set viewpoint position and line-of-sight direction from the parameter holding unit 60 and generates sound in the virtual three-dimensional space that can be heard at the viewpoint position. As described above, in this embodiment, not all sounds emitted from individual objects are simulated, but sounds are simulated in units of objects arranged in the subspace. When the distance between the viewpoint position and the sub space is long, the long distance sound generation unit 45 simulates the sound of the object group arranged in the sub space. When the distance between the viewpoint position and the sub space is short, the short distance sound generation unit 46 simulates the sound of the object group arranged in the sub space.
パラメータ保持部60には、視点位置とサブ空間との間の距離に応じて、各オブジェクト群の遠距離用の音声データと近距離用の音声データが格納されている。遠距離用の音声データは、2チャンネルのステレオ音声として表現される。近距離用の音声データは、3チャンネル以上、例えば5.1チャンネルのサラウンド音声として表現される。近距離用の音声データは、視点位置の近傍に存在するオブジェクトの数に応じて、更に複数の種類の音声データがパラメータ保持部60に格納されている。例えば、多数の魚が遊泳しているときの音声データと、少数の魚が遊泳しているときの音声データとが、別個に用意される。 The parameter holding unit 60 stores long-distance audio data and short-distance audio data of each object group in accordance with the distance between the viewpoint position and the subspace. Far-distance audio data is expressed as 2-channel stereo audio. The audio data for short distance is expressed as surround sound of 3 channels or more, for example, 5.1 channels. As the short-distance audio data, a plurality of types of audio data are further stored in the parameter holding unit 60 in accordance with the number of objects existing in the vicinity of the viewpoint position. For example, audio data when a large number of fish are swimming and audio data when a small number of fish are swimming are prepared separately.
図3は、視点位置がサブ空間から遠距離にあるときの音声生成方法を説明するための図である。遠距離音生成部45は、視点位置73とサブ空間71との間の距離が第1の閾値よりも遠いとき、サブ空間71内に配置されたオブジェクト群の音声として、遠距離用の音声データを適用する。遠距離用の音声データは、2チャンネルのステレオ音声として表現されているので、遠距離音生成部45は、サブ空間71の中心を挟んで左右対称な2カ所の位置75a及び75bを音源として、左右それぞれのチャンネルの音声データを適用する。
FIG. 3 is a diagram for explaining a sound generation method when the viewpoint position is at a long distance from the subspace. When the distance between the
図4(a)(b)は、視点位置がサブ空間から遠距離にあるときの音声生成方法を説明するための図である。図4(a)に示すように、遠距離音生成部45は、左前方の位置77a及び右前方の位置77bを音源位置として、遠距離用の音声データに含まれる左右それぞれのチャンネルの音声データを適用する。ここで、ユーザが、図4(b)に示すように時計回りに視線方向を回転させた場合、遠距離音生成部45は、音源位置を反時計回りに同じ角度だけ回転させる。すなわち、音源位置は位置78a及び78bへ移動する。これにより、音源定位を実現することができる。
FIGS. 4A and 4B are diagrams for explaining a sound generation method when the viewpoint position is at a long distance from the subspace. As shown in FIG. 4A, the long-distance sound generating unit 45 uses the left
図5は、視点位置がサブ空間から近距離にあるときの音声生成方法を説明するための図である。近距離音生成部46は、視点位置73とサブ空間71との間の距離が第2の閾値よりも近いとき、サブ空間71内に配置されたオブジェクト群の音声として、近距離用の音声データを適用する。近距離用の音声データは、視点位置の近傍のオブジェクトの数に応じて複数の種類が用意されているので、近距離音生成部46は、視点位置の近傍に存在するオブジェクトの数に応じて、いずれの音声データを近距離音として適用するかを決定する。本実施の形態では、視点位置の前方に所定のサイズのオブジェクト数判定範囲76を設定し、パラメータ保持部60を参照して、オブジェクト数判定範囲76内に存在するオブジェクトの数を算出する。近距離音生成部46は、算出したオブジェクト数に応じて、近距離用の音声データの中から適用する音声データを決定する。近距離音生成部46は、5.1チャンネルなどのサラウンド音声の規格にしたがって、パラメータ保持部60から読み出した音声データを適用する。図5に示した例では、視点位置73が、オブジェクト数判定範囲76を規定する直方体の重心位置から、視線方向に対して後方に所定距離移動させた位置になるように、オブジェクト数判定範囲76を設定している。これにより、視点位置前方の音声をより強調して出力することができる。オブジェクト数判定範囲76は、視点位置73がオブジェクト数判定範囲76の中心又は重心位置になるように設定されてもよいし、視点位置73を含まないように設定されてもよい。
FIG. 5 is a diagram for explaining a sound generation method when the viewpoint position is at a short distance from the subspace. When the distance between the
図6(a)(b)は、視点位置がサブ空間から近距離にあるときの音声生成方法を説明するための図である。図6(a)に示すように、近距離音生成部46は、規格にしたがって、前方、左前方、右前方、左後方、右後方の5つの位置を音源位置として、近距離用の音声データに含まれる5つのチャンネルの音声データを適用する。ここで、ユーザが、図6(b)に示すように時計回りに視線方向を回転させた場合、近距離音生成部46は、音源位置を反時計回りに同じ角度だけ回転させる。これにより、音源定位を実現することができる。このとき、近距離音生成部46は、単に音源位置を回転させるだけでなく、再度視点位置の近傍にオブジェクト数判定範囲76を設定してオブジェクト数を算出し、オブジェクト数判定範囲76内に存在するオブジェクトの数に応じて、適用する音声データを決定してもよい。
FIGS. 6A and 6B are diagrams for explaining a sound generation method when the viewpoint position is at a short distance from the subspace. As shown in FIG. 6 (a), the short-range sound generating unit 46 uses the five positions of front, left front, right front, left rear, and right rear as sound source positions according to the standard, and uses short-distance audio data. The audio data of five channels included in is applied. Here, when the user rotates the line-of-sight direction clockwise as shown in FIG. 6B, the short-range sound generation unit 46 rotates the sound source position counterclockwise by the same angle. Thereby, sound source localization can be realized. At this time, the short-range sound generation unit 46 not only simply rotates the sound source position but also sets the object
図7は、近距離音生成部46により適用された近距離用の音声データを合成する割合を示す。図7に示した合成割合を示すデータは、パラメータ保持部60に格納される。図7に示した例では、オブジェクト数に応じて3種類の音声データ80、81、及び82が用意されている。合成部47は、オブジェクト数がN1より少ないときは、音声データ80のみを図7に示されたレベルで適用し、オブジェクト数がN1以上N2未満であるときは、音声データ80と音声データ81とを図7に示された割合で合成する。オブジェクト数が多い場合の音声データ(例えば音声データ81)と、オブジェクト数が少ない場合の音声データ(例えば音声データ80)とが合成される領域(この場合は、オブジェクト数がN1以上N2未満)では、音声データ81の合成割合はオブジェクト数がN2から少なくなるにしたがって小さくし、音声データ80の合成割合はオブジェクト数がN1から多くなるにしたがって大きくなるようにする。図7に示したように、合成割合がオブジェクト数にしたがって線形に大きく又は小さくなるようにしてもよいし、非線形に変化するようにしてもよい。また、αをオブジェクト数Nの関数として、両者の合成割合をα:1−α(0≦α≦1)としてもよい。
FIG. 7 shows a ratio of synthesizing the short-distance sound data applied by the short-distance sound generation unit 46. Data indicating the composition ratio shown in FIG. 7 is stored in the parameter holding unit 60. In the example shown in FIG. 7, three types of
図8は、近距離音生成部46により適用され、合成部47により合成された近距離用の音声データと、遠距離音生成部45により適用された遠距離用の音声データとを合成する割合を示す。図8に示した合成割合を示すデータも、パラメータ保持部60に格納される。図8に示した例では、視点位置とサブ空間との間の距離に応じて、近距離用の音声データ83と遠距離用の音声データ84の合成割合が示されている。合成部47は、視点位置とサブ空間との間の距離がL1より近いときは、近距離用の音声データ83のみを図8に示されたレベルで適用し、距離がL1以上L2未満であるときは、近距離用の音声データ83と遠距離用の音声データ84とを図8に示された割合で合成し、距離がL2以上であるときは、遠距離用の音声データ84のみを図8に示されたレベルで適用する。遠距離用の音声データ84と近距離用の音声データ83とが合成される領域(この場合は、距離がL1以上L2未満)では、音声データ84の合成割合は距離がL2から短くなるにしたがって小さくし、音声データ83の合成割合は距離がL1から長くなるにしたがって大きくなるようにする。図8に示したように、合成割合が距離にしたがって線形に大きく又は小さくなるようにしてもよいし、非線形に変化するようにしてもよい。また、αを距離Lの関数として、両者の合成割合をα:1−α(0≦α≦1)としてもよい。
FIG. 8 shows a ratio of synthesizing the short-distance sound data applied by the short-distance sound generating unit 46 and synthesized by the synthesizing unit 47 and the long-distance sound data applied by the long-distance sound generating unit 45. Indicates. Data indicating the composition ratio shown in FIG. 8 is also stored in the parameter holding unit 60. In the example shown in FIG. 8, the synthesis ratio of the short-
合成部47は、このように複数の音声データが合成された音場から、スピーカ69の個数や位置などに応じて、各スピーカ69から出力すべき音声を計算し、各スピーカ69へ出力する。 The synthesizing unit 47 calculates the sound to be output from each speaker 69 according to the number and position of the speakers 69 from the sound field in which the plurality of sound data are combined as described above, and outputs the sound to each speaker 69.
図9は、本実施の形態に係るゲーム制御方法の手順を示すフローチャートである。音声生成部44は、視点位置の座標とサブ空間の中心座標をパラメータ保持部60から読み出して、視点位置とサブ空間の間の距離を算出する(S10)。距離が図8に示したL1以上である場合は(S12のY)、遠距離音生成部45は、遠距離用の音声データ84をパラメータ保持部60から読み出して適用する(S14)。距離がL1未満である場合は(S12のN)、遠距離用の音声データ84は適用されないので、S14をスキップする。
FIG. 9 is a flowchart showing the procedure of the game control method according to the present embodiment. The sound generation unit 44 reads the coordinates of the viewpoint position and the center coordinates of the subspace from the parameter holding unit 60, and calculates the distance between the viewpoint position and the subspace (S10). When the distance is equal to or greater than L1 shown in FIG. 8 (Y in S12), the long-distance sound generation unit 45 reads out the long-
距離がL2未満である場合は(S16のY)、近距離音生成部46は、パラメータ保持部60を参照して、オブジェクト数判定範囲76内のオブジェクト数を算出し(S18)、オブジェクト数に応じて近距離用の音声データを適用する(S20)。具体的には、オブジェクト数が図7に示したN2よりも少ない場合は音声データ80が適用され、N1以上N4未満である場合は音声データ81が適用され、N3以上である場合は音声データ82が適用される。合成部47は、適用された近距離用の音声データを、図7に示した割合で合成する(S22)。S16において、距離がL2以上である場合は(S16のN)、近距離用の音声データは適用されないので、S18〜S22をスキップする。
When the distance is less than L2 (Y in S16), the short distance sound generating unit 46 refers to the parameter holding unit 60, calculates the number of objects in the object number determination range 76 (S18), and sets the number of objects. Accordingly, audio data for short distance is applied (S20). Specifically,
合成部47は、近距離用の音声データと遠距離用の音声データを、図8に示した割合で合成する(S24)。サブ空間が複数設けられている場合は、全てのサブ空間について上記の手順を繰り返す。合成部47は、それぞれのサブ空間について合成された音声データを、最終的に全て合成し、各スピーカ69に出力すべき音声を計算して出力する。 The synthesizer 47 synthesizes the short-distance audio data and the long-distance audio data at the ratio shown in FIG. 8 (S24). When a plurality of subspaces are provided, the above procedure is repeated for all subspaces. The synthesizing unit 47 finally synthesizes all the audio data synthesized for the respective subspaces, and calculates and outputs the audio to be output to each speaker 69.
本実施の形態の技術によれば、多数のオブジェクトが仮想三次元空間内に配置される場合であっても、オブジェクト群ごとに音声データを適用するので、計算の負荷を軽減することができる。また、視点位置の近傍に存在するオブジェクトの数に応じて適用する音声データを変更するので、現実性の高い音声を出力することができる。 According to the technique of the present embodiment, even when a large number of objects are arranged in the virtual three-dimensional space, the audio data is applied to each object group, so that the calculation load can be reduced. In addition, since the audio data to be applied is changed according to the number of objects existing in the vicinity of the viewpoint position, highly realistic audio can be output.
以上、本発明を実施例をもとに説明した。この実施例は例示であり、その各構成要素や各処理プロセスの組合せにいろいろな変形が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。 In the above, this invention was demonstrated based on the Example. This embodiment is an exemplification, and it will be understood by those skilled in the art that various modifications can be made to each component and combination of processing processes, and such modifications are within the scope of the present invention.
10 ゲーム装置、20 コントローラ、30 入力受付部、40 制御部、41 移動制御部、42 オブジェクト制御部、43 画像生成部、44 音声生成部、45 遠距離音生成部、46 近距離音生成部、47 合成部、60 パラメータ保持部、68 表示装置、69 スピーカ、76 オブジェクト数判定範囲。 10 game devices, 20 controllers, 30 input reception units, 40 control units, 41 movement control units, 42 object control units, 43 image generation units, 44 audio generation units, 45 long-distance sound generation units, 46 short-distance sound generation units, 47 synthesis unit, 60 parameter holding unit, 68 display device, 69 speaker, 76 object number determination range.
Claims (6)
前記三次元空間内において視点位置を変更する機能と、
前記視点位置から所定の視線方向に見たときの前記三次元空間の画像を生成する機能と、
前記視点位置の近傍にオブジェクト数判定範囲を設定し、前記パラメータ保持部を参照して前記オブジェクト数判定範囲内に存在するオブジェクトの数を算出し、オブジェクトの数に応じて前記複数の種類の音声データの中から前記オブジェクト群の音声データとして適用する音声データを決定し、決定した音声データを前記パラメータ保持部から読み出して、前記視点位置における前記三次元空間の音声を生成する機能と、
をコンピュータに実現させることを特徴とするプログラム。 A function of reading out the coordinate data or the audio data from a parameter holding unit that stores the coordinate data of the objects arranged in the three-dimensional space and a plurality of types of audio data as the audio data of the object group;
A function of changing a viewpoint position in the three-dimensional space;
A function of generating an image of the three-dimensional space when viewed in a predetermined viewing direction from the viewpoint position;
An object number determination range is set in the vicinity of the viewpoint position, the number of objects existing in the object number determination range is calculated with reference to the parameter holding unit, and the plurality of types of sounds are determined according to the number of objects. A function of determining sound data to be applied as sound data of the object group from the data, reading the determined sound data from the parameter holding unit, and generating sound of the three-dimensional space at the viewpoint position;
A program characterized by causing a computer to realize.
前記音声を生成する機能は、前記オブジェクト群に適用する音声データを決定する際に、まず、前記視点位置と前記オブジェクト群が属するサブ空間との間の距離に応じて適用する音声データを決定し、前記距離が所定の閾値よりも短い場合の音声データを適用する場合には、更に、前記オブジェクト数判定範囲内に存在するオブジェクトの数に応じて適用する音声データを決定することを特徴とする請求項1に記載のプログラム。 The parameter holding unit is a plurality of types of audio data according to the distance between the viewpoint position and the subspace, as audio data of an object group arranged in the subspace set in the three-dimensional space. And as a voice data when the distance is shorter than a predetermined threshold, a plurality of types of voice data are further stored according to the number of objects existing in the object number determination range,
When the sound generating function determines sound data to be applied to the object group, first, the sound data to be applied is determined according to the distance between the viewpoint position and the subspace to which the object group belongs. When applying audio data when the distance is shorter than a predetermined threshold, audio data to be applied is further determined according to the number of objects existing in the object number determination range. The program according to claim 1.
前記オブジェクト数判定範囲内に存在するオブジェクトの数に応じて、前記距離が所定の閾値よりも短い場合の複数の音声データを、前記パラメータ保持部に格納された割合にしたがって合成するとともに、前記視点位置と前記サブ空間との間の距離に応じて、前記距離が所定の閾値よりも短い場合の音声データと長い場合の音声データを、前記パラメータ保持部に格納された割合にしたがって合成する機能を更にコンピュータに実現させることを特徴とする請求項2に記載のプログラム。 The parameter holding unit synthesizes a plurality of audio data when the distance between the viewpoint position and the subspace is shorter than a predetermined threshold according to the number of objects existing in the object number determination range. Further storing a ratio and a ratio of combining the voice data when the distance is shorter than a predetermined threshold and the voice data when the distance is longer according to the distance between the viewpoint position and the subspace,
According to the number of objects existing in the object number determination range, a plurality of audio data when the distance is shorter than a predetermined threshold is synthesized according to a ratio stored in the parameter holding unit, and the viewpoint A function of synthesizing voice data when the distance is shorter than a predetermined threshold and voice data when the distance is longer than a predetermined threshold according to a ratio stored in the parameter holding unit according to a distance between the position and the subspace. The program according to claim 2, further comprising a computer.
前記三次元空間内において視点位置を変更する移動制御部と、
前記視点位置から所定の視線方向に見たときの前記三次元空間の画像を生成する画像生成部と、
前記視点位置の近傍にオブジェクト数判定範囲を設定し、前記パラメータ保持部を参照して前記オブジェクト数判定範囲内に存在するオブジェクトの数を算出し、オブジェクトの数に応じて前記複数の種類の音声データの中から前記オブジェクト群の音声データとして適用する音声データを決定し、決定した音声データを前記パラメータ保持部から読み出して、前記視点位置における前記三次元空間の音声を生成する音声生成部と、
を備えることを特徴とするゲーム装置 A parameter holding unit for storing a plurality of types of audio data as the coordinate data of the objects arranged in the three-dimensional space and the audio data of the object group;
A movement control unit for changing a viewpoint position in the three-dimensional space;
An image generation unit that generates an image of the three-dimensional space when viewed in a predetermined line-of-sight direction from the viewpoint position;
An object number determination range is set in the vicinity of the viewpoint position, the number of objects existing in the object number determination range is calculated with reference to the parameter holding unit, and the plurality of types of sounds are determined according to the number of objects. Audio data to be applied as audio data of the object group from among the data, reading the determined audio data from the parameter holding unit, and generating an audio of the three-dimensional space at the viewpoint position;
A game apparatus comprising:
前記三次元空間内において視点位置を変更するステップと、
前記視点位置から所定の視線方向に見たときの前記三次元空間の画像を生成するステップと、
前記視点位置の近傍にオブジェクト数判定範囲を設定し、前記パラメータ保持部を参照して前記オブジェクト数判定範囲内に存在するオブジェクトの数を算出し、オブジェクトの数に応じて前記複数の種類の音声データの中から前記オブジェクト群の音声データとして適用する音声データを決定し、決定した音声データを前記パラメータ保持部から読み出して、前記視点位置における前記三次元空間の音声を生成するステップと、
を備えることを特徴とするゲーム制御方法。 Reading the coordinate data or the audio data from a parameter holding unit that stores the coordinate data of the objects arranged in the three-dimensional space, and a plurality of types of audio data as the audio data of the object group;
Changing the viewpoint position in the three-dimensional space;
Generating an image of the three-dimensional space when viewed in a predetermined viewing direction from the viewpoint position;
An object number determination range is set in the vicinity of the viewpoint position, the number of objects existing in the object number determination range is calculated with reference to the parameter holding unit, and the plurality of types of sounds are determined according to the number of objects. Determining audio data to be applied as audio data of the object group from the data, reading the determined audio data from the parameter holding unit, and generating audio in the three-dimensional space at the viewpoint position;
A game control method comprising:
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008165143A JP4512652B2 (en) | 2008-06-24 | 2008-06-24 | GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM |
| US12/488,671 US8558100B2 (en) | 2008-06-24 | 2009-06-22 | Music production apparatus and method of producing music by combining plural music elements |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008165143A JP4512652B2 (en) | 2008-06-24 | 2008-06-24 | GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010010844A JP2010010844A (en) | 2010-01-14 |
| JP4512652B2 true JP4512652B2 (en) | 2010-07-28 |
Family
ID=41590854
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008165143A Active JP4512652B2 (en) | 2008-06-24 | 2008-06-24 | GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4512652B2 (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5875219B2 (en) * | 2010-08-27 | 2016-03-02 | 株式会社スクウェア・エニックス | Video game processing apparatus and video game processing program |
| JP5842371B2 (en) * | 2011-04-19 | 2016-01-13 | オンキヨー株式会社 | Video game apparatus and video game control method |
| JP5437317B2 (en) * | 2011-06-10 | 2014-03-12 | 株式会社スクウェア・エニックス | Game sound field generator |
| JP6198375B2 (en) * | 2012-08-10 | 2017-09-20 | 株式会社カプコン | Game program and game system |
| JP6050677B2 (en) * | 2012-12-27 | 2016-12-21 | グリー株式会社 | Group display method for moving object in game system, game system and program for realizing group display method for moving object |
| JP6624950B2 (en) * | 2016-01-27 | 2019-12-25 | 株式会社スクウェア・エニックス | Pronunciation processing program, pronunciation processing device, and pronunciation processing method |
| US11096004B2 (en) * | 2017-01-23 | 2021-08-17 | Nokia Technologies Oy | Spatial audio rendering point extension |
| JP7492104B2 (en) * | 2019-11-12 | 2024-05-29 | 株式会社カプコン | Audio playback program, audio playback device, and audio generation method |
| EP4593429A3 (en) * | 2020-07-22 | 2025-08-06 | Telefonaktiebolaget LM Ericsson (publ) | Spatial extent modeling for volumetric audio sources |
| JP7572620B2 (en) * | 2020-12-24 | 2024-10-24 | 株式会社カプコン | Game program and game device |
| JP7828258B2 (en) * | 2022-08-15 | 2026-03-11 | 株式会社コーエーテクモゲームス | Program and collective sound reproduction method |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11275700A (en) * | 1998-03-18 | 1999-10-08 | Calsonic Corp | Computer-readable recording medium with three-dimensional sound reproducing program recorded therein and game system utilizing computer |
| JP2000267675A (en) * | 1999-03-16 | 2000-09-29 | Sega Enterp Ltd | Sound signal processing device |
| JP2004007211A (en) * | 2002-05-31 | 2004-01-08 | Victor Co Of Japan Ltd | Transmitting-receiving system for realistic sensations signal, signal transmitting apparatus, signal receiving apparatus, and program for receiving realistic sensations signal |
| JP2006230578A (en) * | 2005-02-23 | 2006-09-07 | Namco Bandai Games Inc | PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE |
-
2008
- 2008-06-24 JP JP2008165143A patent/JP4512652B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010010844A (en) | 2010-01-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4512652B2 (en) | GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM | |
| US11014000B2 (en) | Simulation system, processing method, and information storage medium | |
| JP6461850B2 (en) | Simulation system and program | |
| US9724608B2 (en) | Computer-readable storage medium storing information processing program, information processing device, information processing system, and information processing method | |
| EP3684083A1 (en) | Processing audio signals | |
| EP3398666B1 (en) | Game apparatus, processing method, and information storage medium | |
| US9744459B2 (en) | Computer-readable storage medium storing information processing program, information processing device, information processing system, and information processing method | |
| JP6055657B2 (en) | GAME SYSTEM, GAME PROCESSING CONTROL METHOD, GAME DEVICE, AND GAME PROGRAM | |
| US7697015B2 (en) | Storage medium and game device storing image generating program | |
| US10744411B2 (en) | Simulation system, processing method, and information storage medium | |
| JP2010035978A (en) | Game program and game machine | |
| JP2014097219A (en) | Game program, game device, game system, and game processing method | |
| US20190058961A1 (en) | System and program for implementing three-dimensional augmented reality sound based on realistic sound | |
| US8558100B2 (en) | Music production apparatus and method of producing music by combining plural music elements | |
| JP2010029375A (en) | Game system, program, and information storage medium | |
| US12126987B2 (en) | Virtual scene | |
| JP5046531B2 (en) | Program, information storage medium, and game system | |
| CN114288656B (en) | Virtual sound source object setting method, device, electronic device and medium | |
| JP4789145B2 (en) | Content reproduction apparatus and content reproduction program | |
| JP2020201980A (en) | Simulation system and program | |
| JP6325016B2 (en) | Simulation system and program | |
| Beig | Scalable immersive audio for virtual environments | |
| JP2008310377A (en) | Image generation system, program, and information storage medium | |
| US20200302761A1 (en) | Indicator modes | |
| JP2019198512A (en) | Game program and game device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100419 |
|
| 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: 20100427 |
|
| 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: 20100510 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4512652 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140514 Year of fee payment: 4 |
|
| 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 |
|
| 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 |