JP4244357B2 - Parameter processing apparatus, parameter processing method, and program - Google Patents

Parameter processing apparatus, parameter processing method, and program Download PDF

Info

Publication number
JP4244357B2
JP4244357B2 JP2006253912A JP2006253912A JP4244357B2 JP 4244357 B2 JP4244357 B2 JP 4244357B2 JP 2006253912 A JP2006253912 A JP 2006253912A JP 2006253912 A JP2006253912 A JP 2006253912A JP 4244357 B2 JP4244357 B2 JP 4244357B2
Authority
JP
Japan
Prior art keywords
angle
stored
observation
parameter value
current position
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
Application number
JP2006253912A
Other languages
Japanese (ja)
Other versions
JP2008077275A (en
Inventor
憲明 岡村
真裕 山本
吉人 小原
淳太郎 齋藤
一樹 山村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konami Digital Entertainment Co Ltd
Original Assignee
Konami Digital Entertainment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konami Digital Entertainment Co Ltd filed Critical Konami Digital Entertainment Co Ltd
Priority to JP2006253912A priority Critical patent/JP4244357B2/en
Publication of JP2008077275A publication Critical patent/JP2008077275A/en
Application granted granted Critical
Publication of JP4244357B2 publication Critical patent/JP4244357B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、仮想空間内の環境パラメータを表示する際に、注目キャラクターが存在する方向をわかりやすくプレイヤーに提示するのに好適なパラメータ処理装置、パラメータ処理方法、ならびに、これらをコンピュータにて実現するプログラムに関する。   The present invention realizes a parameter processing device, a parameter processing method, and a computer that are suitable for presenting a player with an easy-to-understand indication of the direction in which a character of interest exists when displaying environmental parameters in a virtual space. Regarding the program.

従来から、仮想空間内の環境パラメータを、ユーザにわかりやすく提示するための技術が提案されている。このような技術は、たとえば、以下の文献に開示されている。
特開平10−063877号公報
Conventionally, a technique for presenting environmental parameters in a virtual space to a user in an easy-to-understand manner has been proposed. Such a technique is disclosed in the following documents, for example.
Japanese Patent Laid-Open No. 10-063877

[特許文献1]には、ゴルフコースの画像と、ボールの画像とをテレビジョンモニタの表示面上に表示し、コントローラの操作と、ゴルフコースの各部分の高さ等の地形情報とに基づいてボールを移動するようにしたゴルフゲームにおいて、ゴルフコース上に複数の線から成るガイドを表示すると共に、当該ガイドを構成する線の輝度および長さを、ゴルフコースの対応部分の高さに基づいて設定することで、ゴルフコースの画像のみでは表すことのできない地形情報を、ゲームプレイヤに分かり易くガイドする技術が開示されている。   In [Patent Document 1], an image of a golf course and an image of a ball are displayed on the display surface of a television monitor, and are based on the operation of the controller and terrain information such as the height of each part of the golf course. In the golf game in which the ball is moved, a guide consisting of a plurality of lines is displayed on the golf course, and the brightness and length of the lines constituting the guide are determined based on the height of the corresponding part of the golf course. In this way, a technology is disclosed that guides the terrain information that cannot be expressed only by an image of a golf course to a game player in an easy-to-understand manner.

一方で、各種のコンピュータゲームにおいては、プレイヤーが操作するプレイヤーキャラクターと、これと対戦する敵キャラクターと、が仮想空間内に配置されていることもある。敵キャラクターは、コンピュータが所定のアルゴリズムによって動作させる場合もあるし、コンピュータ通信網を介して接続された他のゲーム装置のプレイヤーの指示によって動作する場合もある。   On the other hand, in various computer games, a player character operated by a player and an enemy character that battles with the player character may be arranged in a virtual space. The enemy character may be operated by a computer according to a predetermined algorithm, or may be operated by an instruction of a player of another game device connected via a computer communication network.

キャラクター同士の対戦を行うゲームにおいては、相手方の自動追尾を意味するロックオン機能が設けられていることが多いが、「プレイヤーキャラクターがロックオンした敵キャラクター」もしくは、「プレイヤーキャラクターをロックオンした敵キャラクター」は、プレイヤーにとって重要度が高い。この例に限らず、各種の重要度が高い注目キャラクターについて、当該注目キャラクターが仮想空間内に位置する方向をプレイヤーにわかりやすく提示したい、という要望は大きい。   In games where characters play against each other, there is often a lock-on function that means automatic tracking of the opponent, but the "enemy character on which the player character is locked on" or "the enemy on which the player character is locked on" “Character” is highly important for players. There is a great demand not only for this example but for various attention characters of high importance that the player should be able to easily show the direction in which the attention character is located in the virtual space.

一方で、仮想空間内の各種の環境パラメータが、プレイヤーキャラクターや画面表示の視点位置の観測点を中心にした周囲でどのような値をとっているか、をわかりやすく提示したい、という要望もある。   On the other hand, there is also a demand for presenting in an easy-to-understand manner what values the various environmental parameters in the virtual space take around the observation point of the player character and the viewing position of the screen display.

そして、画面表示はできるだけ単純にして、これらの情報の提示がプレイヤーにとって煩雑でないようなものにしたい、との要望もある。   There is also a desire to make the screen display as simple as possible so that the presentation of such information is not complicated for the player.

本発明は、上記のような課題を解決するもので、仮想空間内の環境パラメータを表示する際に、注目キャラクターが存在する方向をわかりやすくプレイヤーに提示するのに好適なパラメータ処理装置、パラメータ処理方法、ならびに、これらをコンピュータにて実現するプログラムを提供することを目的とする。   The present invention solves the above-described problems, and is a parameter processing device and parameter processing suitable for presenting to a player in an easy-to-understand manner the direction in which a character of interest exists when displaying environmental parameters in a virtual space. It is an object of the present invention to provide a method and a program for realizing the method on a computer.

以上の目的を達成するため、本発明の原理にしたがって、下記の発明を開示する。   In order to achieve the above object, the following invention is disclosed in accordance with the principle of the present invention.

本発明の第1の観点に係るパラメータ処理装置は、記憶部、計算部、繰返部、表示部を備え、以下のように構成する。   A parameter processing apparatus according to a first aspect of the present invention includes a storage unit, a calculation unit, a repetition unit, and a display unit, and is configured as follows.

すなわち、記憶部は、仮想空間内に配置される観測点の現在位置および基準方向と、当該仮想空間内に配置される注目キャラクターの現在位置と、を記憶し、環境パラメータ値と角度とを対応付けて記憶する。   That is, the storage unit stores the current position and reference direction of the observation point arranged in the virtual space, and the current position of the attention character arranged in the virtual space, and associates the environmental parameter value with the angle. Add and remember.

典型的には、0度〜360度までを所定の刻み幅で区切ったときに何番目となるか、を添字とする配列に、当該角度が含まれる添字の要素として、当該角度の環境パラメータ値を記憶する。そして、この角度は、観測点の基準方向となす角度に相当する。また、基準方向としては、3次元グラフィックス表示の視線の方向や、仮想空間における北等、特定の方角の方向、ゲームの現在のシーンにおける目的地の方向など、種々の方向を採用することができる。   Typically, as an element of a subscript that includes the angle in an array whose subscript is what number is obtained when 0 to 360 degrees are divided by a predetermined step size, the environmental parameter value of the angle Remember. This angle corresponds to the angle formed with the reference direction of the observation point. As the reference direction, various directions such as the direction of the line of sight of the three-dimensional graphics display, the direction of a specific direction such as north in the virtual space, and the direction of the destination in the current scene of the game may be adopted. it can.

一方、計算部は、与えられた角度だけ、記憶された基準方向からずれた方向について、記憶された観測点の現在位置から観測される当該仮想空間内の環境パラメータ値を計算する。   On the other hand, the calculation unit calculates an environmental parameter value in the virtual space observed from the current position of the stored observation point in a direction shifted from the stored reference direction by a given angle.

すなわち、計算部は、角度を入力とし、環境パラメータ値を出力とする。環境パラメータ値の具体的な計算には、記憶部に記憶される各種の情報を参照することとしても良い。   In other words, the calculation unit receives the angle and outputs the environmental parameter value. For specific calculation of the environmental parameter value, various information stored in the storage unit may be referred to.

さらに、繰返部は、あらかじめ定めた複数の観測角度のそれぞれについて、当該観測角度を計算部に与えることにより計算された環境パラメータ値を、当該観測角度に対応付けて、記憶部に記憶させて更新する。   Further, for each of a plurality of predetermined observation angles, the repetition unit stores the environmental parameter value calculated by giving the observation angle to the calculation unit in the storage unit in association with the observation angle. Update.

たとえば、観測角度として5度刻みで0度、5度、10度、…、355度を考えた場合には、記憶部には72個の要素を持つ配列を用意し、角度θ度についての環境パラメータ値は、当該配列のθ/5(小数点以下切捨て)番目の要素に記憶される。そして、各要素には、当該角度について計算された最新の環境パラメータ値が格納されることになる。   For example, when the observation angle is 0 degree, 5 degrees, 10 degrees,..., 355 degrees in increments of 5 degrees, an array having 72 elements is prepared in the storage unit, and the environment for the angle θ degrees is prepared. The parameter value is stored in the θ / 5th element of the array. In each element, the latest environmental parameter value calculated for the angle is stored.

一方、表示部は、記憶部に対応付けて記憶された環境パラメータ値と角度とを対応付けるグラフを画面表示する。   On the other hand, the display unit displays a graph associating the environmental parameter value stored in association with the storage unit with the angle.

グラフの形状としては、横軸を角度、縦軸を当該角度に対する環境パラメータ値とする直交グラフや、当該角度に対して当該環境パラメータ値を半径とする極座標グラフ等、種々のものを採用することができる。   As the shape of the graph, various graphs such as an orthogonal graph in which the horizontal axis is an angle and the vertical axis is an environmental parameter value with respect to the angle, or a polar coordinate graph in which the environmental parameter value is a radius with respect to the angle are adopted. Can do.

ここで、繰返部は、当該観測角度と、記憶された観測点の現在位置から記憶された注目キャラクターの現在位置への方向と記憶された基準方向とがなす角度と、の角度差が所定の閾値範囲内であるか否かを判断し、
(a)当該所定の閾値範囲内である場合、所定の高頻度で当該観測角度を計算部に与え、
(b)当該所定の閾値範囲内でない場合、当該所定の高頻度よりも低い所定の低頻度で、当該観測角度を計算部に与える。
Here, the repeating unit has an angle difference between the observation angle and an angle formed by the direction from the current position of the stored observation point to the current position of the character of interest stored and the stored reference direction. Whether it is within the threshold range of
(A) When it is within the predetermined threshold range, the observation angle is given to the calculation unit at a predetermined high frequency,
(B) If not within the predetermined threshold range, the observation angle is given to the calculation unit at a predetermined low frequency lower than the predetermined high frequency.

すなわち、注目キャラクターが存在する角度の近傍については、環境パラメータ値が頻繁に更新され、そうでない角度については、環境パラメータ値が更新される頻度は低くなる。   That is, the environmental parameter value is frequently updated in the vicinity of the angle where the attention character exists, and the frequency of the environmental parameter value being updated is low for the angle that is not.

一方、表示部は、当該所定の高頻度以上の表示更新頻度で当該グラフの画面表示を更新する。   On the other hand, the display unit updates the screen display of the graph at a display update frequency equal to or higher than the predetermined high frequency.

すなわち、環境パラメータ値が更新される頻度以上の頻度でグラフの表示も更新される。したがって、プレイヤーは、1つのグラフ表示を見るだけで、環境パラメータ値の分布の様子を知ることができるほか、線図が頻繁に更新される領域の角度の方向に注目キャラクターが存在することを同時に知得することができる。   That is, the display of the graph is also updated at a frequency that is equal to or higher than the frequency at which the environmental parameter value is updated. Therefore, the player can know the distribution of environmental parameter values by looking at only one graph display, and at the same time, the attention character exists in the direction of the angle of the region where the diagram is frequently updated. You can know.

本発明によれば、仮想空間内の環境パラメータ値を見やすくグラフ表示すると同時に、グラフの更新頻度が高い領域によって注目キャラクターが存在する方向を示すことで、プレイヤーにわかりやすく2種類の情報を提示することができるようになる。   According to the present invention, the environmental parameter values in the virtual space are displayed in an easy-to-view graph, and at the same time, the direction in which the character of interest exists is indicated by the region where the graph is frequently updated, so that two types of information are presented to the player in an easily understandable manner Will be able to.

また、本発明のパラメータ処理装置において、記憶部は、当該仮想空間の各地点における寄与パラメータ値をさらに記憶し、計算部は、当該与えられた角度だけ、記憶された基準方向からずれた方向へ、記憶された観測点の現在位置から所定の観測距離だけ進む経路上に存在する地点のそれぞれについて記憶された寄与パラメータ値の最大値、最小値、平均値、もしくは、積算値を当該環境パラメータ値とするように構成することができる。   In the parameter processing device of the present invention, the storage unit further stores a contribution parameter value at each point in the virtual space, and the calculation unit moves in a direction shifted from the stored reference direction by the given angle. The maximum, minimum, average, or integrated value of the contribution parameter values stored for each point existing on the route that advances by the predetermined observation distance from the current position of the stored observation point is the environmental parameter value. It can be constituted as follows.

寄与パラメータ値としては、たとえば、当該地点の高度、気温、明るさ、音量、キャラクターの人口密度、地面の滑りやすさ、地面の傾きなどの諸量を適用することができる。   As the contribution parameter value, for example, various amounts such as altitude, temperature, brightness, volume, character population density, slipperiness of the ground, and inclination of the ground can be applied.

このような寄与パラメータ値は、仮想空間内において見通せる観測距離内での最大値、最小値、平均値、もしくは、積算値を知りたい場合も多い。   Such a contribution parameter value often wants to know the maximum value, minimum value, average value, or integrated value within the observation distance that can be seen in the virtual space.

本発明は、上記発明の好適実施形態に係るもので、これらの諸量をわかりやすくプレイヤーに提示することができるようになる。   The present invention relates to a preferred embodiment of the above invention, and these quantities can be presented to the player in an easily understandable manner.

また、本発明のパラメータ処理装置は、以下のように構成することができる。   The parameter processing apparatus of the present invention can be configured as follows.

すなわち、記憶部は、当該仮想空間に配置される非注目キャラクターの現在位置と、当該仮想空間にて発生したイベントの発生種類と発生時刻と発生場所と、を、対応付けてさらに記憶する。   That is, the storage unit further stores the current position of the non-attention character arranged in the virtual space, the generation type, the generation time, and the generation location of the event that occurred in the virtual space in association with each other.

すなわち、キャラクターには、注目キャラクターと非注目キャラクターとが存在する。また、仮想空間内にて生じたイベントの履歴が記憶部に記憶される。この履歴に記憶されるイベントの数には上限を設け、これを超える場合には、発生時刻が古いものから消去あるいは上書きするのが典型的である。   In other words, there are an attention character and a non-attention character as characters. In addition, a history of events that occur in the virtual space is stored in the storage unit. An upper limit is set on the number of events stored in the history, and when this number is exceeded, it is typically deleted or overwritten from the oldest occurrence time.

一方、繰返部は、現在位置が記憶された注目キャラクターおよび非注目キャラクターのそれぞれについて、当該キャラクターが行う動作の種類にあらかじめ対応付けられたイベントの種類を発生種類として、当該動作を行った時刻を発生時刻として、当該キャラクターの位置を発生場所として、対応付けて記憶部に記憶して更新する。   On the other hand, for each of the attention character and the non-attention character for which the current position is stored, the repetition unit sets the event type associated in advance with the type of operation performed by the character as the generation type, and the time when the operation was performed And the position of the character as the place of occurrence and stored in the storage unit in association with each other and updated.

たとえば、環境パラメータとしてキャラクターが発する音を考えた場合には、「キャラクターが銃の撃鉄を起こす」という動作に対しては「鋭い音」というイベントが発生し、「キャラクターが転ぶ」という動作に対しては「鈍い音」というイベントが発生する等である。   For example, when the sound emitted by a character is considered as an environmental parameter, an event of “sharp sound” occurs for the action “Character fires a gun”, and the action “Character falls” For example, an event of “dull sound” occurs.

さらに、計算部は、記憶されたイベントのそれぞれについて、
(p)当該観測角度と、記憶された観測点の現在位置から記憶されたイベントの発生場所への方向と記憶された基準方向とがなす角度と、の角度差と、
(q)当該イベントの発生時刻から現在までの経過時間と、
(r)当該イベントの発生場所から当該観測点の現在位置への距離と、
に基づく寄与パラメータ値を計算し、当該計算された寄与パラメータ値を積算した値を当該環境パラメータ値とする。そして、当該寄与パラメータ値は、当該角度差が大きくなると減少し、当該経過時間が長くなると減少し、当該距離が長くなると減少する。
In addition, the calculation unit for each stored event,
(P) an angle difference between the observation angle and an angle formed by the direction from the current position of the stored observation point to the stored event occurrence location and the stored reference direction;
(Q) the elapsed time from the time of occurrence of the event to the present,
(R) the distance from the place where the event occurred to the current position of the observation point;
The contribution parameter value based on is calculated, and the value obtained by integrating the calculated contribution parameter value is set as the environment parameter value. The contribution parameter value decreases as the angle difference increases, decreases as the elapsed time increases, and decreases as the distance increases.

上記の例では、音が生じた方向では寄与パラメータ(音量)が大きくなり、時間が経過するにつれて寄与パラメータ(音量)は減衰し、距離が離れていれば寄与パラメータ(音量)は小さくなることに相当する。   In the above example, the contribution parameter (volume) increases in the direction in which the sound is generated, the contribution parameter (volume) decreases as time passes, and the contribution parameter (volume) decreases as the distance increases. Equivalent to.

本発明によれば、キャラクターが採用した動作に対応するイベントに基づいて環境パラメータを計算することで、当該キャラクターの動作を推測する手がかりをプレイヤーに提示することができるようになる。   According to the present invention, by calculating the environmental parameter based on the event corresponding to the action adopted by the character, a clue for guessing the action of the character can be presented to the player.

また、本発明のパラメータ処理装置において、繰返部は、当該観測速度を計算部に与えるごとに発生させた乱数により修正値を決定し、当該決定された修正値を当該計算された環境パラメータ値に加算して修正し、当該計算された環境パラメータ値にかえて、当該修正された環境パラメータ値を、当該観測角度に対応付けて、記憶部に記憶させて更新するように構成することができる。   Further, in the parameter processing device of the present invention, the repetition unit determines a correction value by a random number generated every time the observation speed is given to the calculation unit, and the determined correction value is calculated as the calculated environmental parameter value. In addition to the calculated environmental parameter value, the modified environmental parameter value is associated with the observation angle, stored in the storage unit, and updated. .

現実世界での測定値には誤差がつきものであり、このような誤差をシミュレートすることによって、プレイヤーは、仮想空間をよりリアルに感じるようになる。そこで、乱数に基づく修正値により環境パラメータを修正することで、このような誤差をシミュレートするのである。   There are errors in the measured values in the real world, and by simulating such errors, the player feels the virtual space more realistic. Therefore, such an error is simulated by correcting the environmental parameter with a correction value based on a random number.

本発明によれば、環境パラメータを表示する際のグラフ表示に誤差が生じているかのようにシミュレートをすることができ、よりリアルに感じられる仮想空間をプレイヤーに提供することができるようになる。   According to the present invention, simulation can be performed as if an error has occurred in a graph display when displaying environmental parameters, and a virtual space that can be felt more realistically can be provided to the player. .

また、本発明のパラメータ処理装置において、表示部は、記憶された観測点から記憶された基準方向に当該仮想空間を見た画像をさらに表示し、表示部は、当該角度に対して当該環境パラメータ値を半径とする極座標により、当該グラフを画面表示するように構成することができる。   In the parameter processing device of the present invention, the display unit further displays an image of the virtual space viewed from the stored observation point in the stored reference direction, and the display unit displays the environment parameter with respect to the angle. The graph can be configured to be displayed on the screen using polar coordinates whose value is a radius.

本発明は上記発明の好適実施形態に係るものであり、観測点を視点とし、基準方向を視線方向とする透視投影によって仮想空間の様子が3次元グラフィックス表示される一方で、グラフは、いわゆる星型グラフ状に極座標表示され、極座標の角度が0度となる方向は、視線方向に相当する方向である。   The present invention relates to a preferred embodiment of the above invention, and the state of the virtual space is displayed in three-dimensional graphics by perspective projection with the observation point as the viewpoint and the reference direction as the line-of-sight direction, while the graph is a so-called graph. The direction in which polar coordinates are displayed in a star graph shape and the polar coordinate angle is 0 degree is a direction corresponding to the line-of-sight direction.

本発明によれば、プレイヤーは、画面に表示される仮想空間の様子から観測点の基準方向を容易に知得することができ、極座標表示のグラフにより、当該基準方向からのずれと環境パラメータとを対応付けて、環境パラメータを容易に知得できるようになる。   According to the present invention, the player can easily know the reference direction of the observation point from the state of the virtual space displayed on the screen, and the deviation from the reference direction and the environmental parameter can be obtained from the polar coordinate display graph. Correspondingly, the environmental parameters can be easily obtained.

本発明のその他の観点に係るパラメータ処理方法は、記憶部、計算部、繰返部、表示部を備えるパラメータ処理装置にて実行され、以下のように構成する。   A parameter processing method according to another aspect of the present invention is executed by a parameter processing apparatus including a storage unit, a calculation unit, a repetition unit, and a display unit, and is configured as follows.

すなわち、記憶部には、仮想空間内に配置される観測点の現在位置および基準方向と、当該仮想空間内に配置される注目キャラクターの現在位置と、が記憶され、環境パラメータ値と角度とが対応付けて記憶される。   That is, the storage unit stores the current position and reference direction of the observation point arranged in the virtual space, and the current position of the attention character arranged in the virtual space, and the environmental parameter value and the angle are stored. Correspondingly stored.

一方、計算工程では、計算部が、与えられた角度だけ、記憶された基準方向からずれた方向について、記憶された観測点の現在位置から観測される当該仮想空間内の環境パラメータ値を計算する。   On the other hand, in the calculation step, the calculation unit calculates the environmental parameter value in the virtual space observed from the current position of the stored observation point for a direction deviated from the stored reference direction by a given angle. .

さらに、繰返工程では、繰返部が、あらかじめ定めた複数の観測角度のそれぞれについて、当該観測角度を計算部に与えることにより計算された環境パラメータ値を、当該観測角度に対応付けて、記憶部に記憶させて更新する。   Further, in the repetition process, the repetition unit stores the environment parameter value calculated by giving the observation angle to the calculation unit for each of a plurality of predetermined observation angles in association with the observation angle. Store it in the update section.

さらに、表示工程では、表示部が、記憶部に対応付けて記憶された環境パラメータ値と角度とを対応付けるグラフを画面表示する。   Further, in the display step, the display unit displays a graph associating the environmental parameter value and the angle stored in association with the storage unit on the screen.

一方、繰返工程では、当該観測角度と、記憶された観測点の現在位置から記憶された注目キャラクターの現在位置への方向と記憶された基準方向とがなす角度と、の角度差が所定の閾値範囲内であるか否かを判断し、
(a)当該所定の閾値範囲内である場合、所定の高頻度で当該観測角度を計算工程に与え、
(b)当該所定の閾値範囲内でない場合、当該所定の高頻度よりも低い所定の低頻度で、当該観測角度を計算工程に与える。
On the other hand, in the repetition process, an angle difference between the observation angle and an angle formed by the direction from the current position of the stored observation point to the current position of the stored character of interest and the stored reference direction is a predetermined value. Determine whether it is within the threshold range,
(A) If it is within the predetermined threshold range, the observation angle is given to the calculation step at a predetermined high frequency,
(B) If not within the predetermined threshold range, the observation angle is given to the calculation step at a predetermined low frequency lower than the predetermined high frequency.

さらに、表示工程では、当該所定の高頻度以上の表示更新頻度で当該グラフの画面表示を更新する。   Further, in the display step, the screen display of the graph is updated at a display update frequency equal to or higher than the predetermined high frequency.

本発明のその他の観点に係るプログラムは、コンピュータを上記のパラメータ処理装置として機能させ、コンピュータに上記のパラメータ処理方法を実行させるように構成する。   A program according to another aspect of the present invention is configured to cause a computer to function as the parameter processing device and to cause the computer to execute the parameter processing method.

また、本発明のプログラムは、コンパクトディスク、フレキシブルディスク、ハードディスク、光磁気ディスク、ディジタルビデオディスク、磁気テープ、半導体メモリ等のコンピュータ読取可能な情報記憶媒体に記録することができる。   The program of the present invention can be recorded on a computer-readable information storage medium such as a compact disk, flexible disk, hard disk, magneto-optical disk, digital video disk, magnetic tape, and semiconductor memory.

上記プログラムは、プログラムが実行されるコンピュータとは独立して、コンピュータ通信網を介して配布・販売することができる。また、上記情報記憶媒体は、コンピュータとは独立して配布・販売することができる。   The above program can be distributed and sold via a computer communication network independently of the computer on which the program is executed. The information storage medium can be distributed and sold independently from the computer.

本発明によれば、仮想空間内の環境パラメータを表示する際に、注目キャラクターが存在する方向をわかりやすくプレイヤーに提示するのに好適なパラメータ処理装置、パラメータ処理方法、ならびに、これらをコンピュータにて実現するプログラムを提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, when displaying the environmental parameter in virtual space, the parameter processing apparatus suitable for showing to a player the direction in which an attention character exists clearly, a parameter processing method, and these are performed with a computer. A program to be realized can be provided.

以下に本発明の実施形態を説明する。以下では、理解を容易にするため、ゲーム用の情報処理装置を利用して本発明が実現される実施形態を説明するが、以下に説明する実施形態は説明のためのものであり、本願発明の範囲を制限するものではない。したがって、当業者であればこれらの各要素もしくは全要素をこれと均等なものに置換した実施形態を採用することが可能であるが、これらの実施形態も本発明の範囲に含まれる。   Embodiments of the present invention will be described below. In the following, for ease of understanding, an embodiment in which the present invention is realized using a game information processing device will be described. However, the embodiment described below is for explanation, and the present invention is described. It does not limit the range. Therefore, those skilled in the art can employ embodiments in which each or all of these elements are replaced with equivalent ones, and these embodiments are also included in the scope of the present invention.

図1は、プログラムを実行することにより、本発明のパラメータ処理装置の機能を果たす典型的な情報処理装置の概要構成を示す模式図である。以下、本図を参照して説明する。   FIG. 1 is a schematic diagram showing a schematic configuration of a typical information processing apparatus that performs the function of the parameter processing apparatus of the present invention by executing a program. Hereinafter, a description will be given with reference to FIG.

本情報処理装置101は、CPU(Central Processing Unit)102と、RAM(Random Access Memory)103と、ROM(Read Only Memory)104と、入力装置105と、画像処理部106と、液晶ディスプレイ107と、音声処理部108と、スピーカ109と、カセットリーダ110と、を備える。   The information processing apparatus 101 includes a CPU (Central Processing Unit) 102, a RAM (Random Access Memory) 103, a ROM (Read Only Memory) 104, an input device 105, an image processing unit 106, a liquid crystal display 107, An audio processing unit 108, a speaker 109, and a cassette reader 110 are provided.

CPU 102は、本情報処理装置101の各部の制御を行う。RAM 103の記憶域、ROM 104の記憶域、カセットリーダ110に挿入されたROMカセット111の記憶域は、いずれも、CPU 102が管理する1つのメモリ空間にマップされており、CPU 102は、それぞれの記憶域がマップされるアドレスを読み出せば、それぞれに記憶されている情報を取得することができる。また、RAM 103の記憶域には、書き込みも可能である。   The CPU 102 controls each unit of the information processing apparatus 101. The storage area of the RAM 103, the storage area of the ROM 104, and the storage area of the ROM cassette 111 inserted in the cassette reader 110 are all mapped to one memory space managed by the CPU 102. If the address to which the storage area is mapped is read, the information stored in each can be acquired. In addition, writing to the storage area of the RAM 103 is also possible.

このほか、CPU 102が画像処理部106や音声処理部108に対して各種の指示を行う際や、これらのほか、入力装置105から情報を取得する際の、窓口となるレジスタも、当該メモリ空間にマップされており、所定のアドレスにコマンドを表すデータ書き込みを行えば指示をすることができ、所定のアドレスからデータを読み出せば、情報を取得することができる。   In addition, when the CPU 102 issues various instructions to the image processing unit 106 and the audio processing unit 108, and in addition to acquiring information from the input device 105, a register serving as a window is also provided in the memory space. It is possible to give an instruction by writing data representing a command at a predetermined address, and information can be acquired by reading data from the predetermined address.

情報処理装置101の電源が投入されると、CPU 102は、カセットリーダ110に挿入されたROMカセット111の記憶域がマップされたアドレスから開始されるプログラムを実行する。RAM 103は、一時的な記憶域として種々の目的に使用される。ROM 104には、情報処理装置101が提供するBIOS(Basic Input/Output System)ルーチンが記録されており、ROMカセット111内のプログラムから、適宜呼び出すことができる。   When the information processing apparatus 101 is turned on, the CPU 102 executes a program that starts from an address to which the storage area of the ROM cassette 111 inserted in the cassette reader 110 is mapped. The RAM 103 is used for various purposes as a temporary storage area. The ROM 104 stores a BIOS (Basic Input / Output System) routine provided by the information processing apparatus 101 and can be appropriately called from a program in the ROM cassette 111.

入力装置105は、方向を表す指示入力を受け付けるボタン、各種の操作を区別する指示入力を受け付けるボタンからの入力をメモリ空間にマップされたレジスタに反映させるほか、液晶ディスプレイ107の表面に貼り付けられたタッチパネルが押圧されているか否か、および押圧されているときのその座標の入力も受け付ける。   The input device 105 reflects the input from a button for receiving an instruction input indicating a direction and a button for receiving an instruction input for distinguishing various operations in a register mapped in the memory space, and is pasted on the surface of the liquid crystal display 107. Whether or not the touch panel is pressed and the coordinates when the touch panel is pressed are also accepted.

液晶ディスプレイ107は、画像処理部106によって管理される。メモリ空間にマップされたタイルを記憶するための記憶領域や、オブジェクト属性メモリを記憶するための記憶領域が用いられる。CPU 102が、計算により生成した値を書き込んだり、カセットリーダ110に挿入されたROMカセット111から一旦RAM 103に画像情報を転送し、その後に、RAM 103の転送先のアドレスを参照して画像処理部106に指示を出すことにより、液晶ディスプレイ107にスプライト画像が表示されることとなる。   The liquid crystal display 107 is managed by the image processing unit 106. A storage area for storing tiles mapped in the memory space and a storage area for storing object attribute memory are used. The CPU 102 writes a value generated by calculation or transfers image information from the ROM cassette 111 inserted in the cassette reader 110 to the RAM 103 once, and then refers to the transfer destination address of the RAM 103 for image processing. By giving an instruction to the unit 106, a sprite image is displayed on the liquid crystal display 107.

このほか、液晶ディスプレイ107に表示される画像を画素単位で管理するフレームバッファを利用することもでき、液晶ディスプレイ107においてある色をある位置に表示したい場合には、フレームバッファ内のその位置に相当する場所にその色に相当する数値を書き込むと、適切なタイミングで液晶ディスプレイ107にビットマップ画像が表示される。   In addition, a frame buffer that manages an image displayed on the liquid crystal display 107 in units of pixels can also be used. When a certain color in the liquid crystal display 107 is to be displayed at a certain position, it corresponds to the position in the frame buffer. When a numerical value corresponding to the color is written in the place to be displayed, a bitmap image is displayed on the liquid crystal display 107 at an appropriate timing.

たとえば、16ビットカラー表示320×200ドットの液晶ディスプレイ107の場合、画素1つ分の色は2バイトで表現される。そこで、320×200個の要素(各2バイト)を持つ配列をフレームバッファとしてRAM 103内に用意し、当該配列の要素を1対1に液晶ディスプレイ107の画素に対応させる。当該配列の要素に色を表す16ビットの値を書き込み、適切なタイミングで(たとえば、垂直同期割り込みが発生する周期で)フレームバッファの内容を液晶ディスプレイ107に反映させるように、画像処理部106にて制御を行う。   For example, in the case of a 16-bit color display 320 × 200 dot liquid crystal display 107, the color for one pixel is represented by 2 bytes. Therefore, an array having 320 × 200 elements (2 bytes each) is prepared in the RAM 103 as a frame buffer, and the elements of the array are associated with the pixels of the liquid crystal display 107 on a one-to-one basis. A 16-bit value representing a color is written in the element of the array, and the image processing unit 106 is made to reflect the contents of the frame buffer on the liquid crystal display 107 at an appropriate timing (for example, in a cycle in which a vertical synchronization interrupt occurs) Control.

これらの画像処理においては、スプライト画像やフォント情報として一定のサイズの断片画像情報を用意し、これらを1つまたは複数集めることにより、1つの文字や1人のキャラクター、共通する属性を有する背景の一部分の画像を生成することができるのである。   In these image processing, fragment image information of a certain size is prepared as sprite image or font information, and one or a plurality of these pieces are collected to collect one character, one character, or a background having a common attribute. A partial image can be generated.

液晶ディスプレイ107の数は1つまたは複数とするのが一般的である。本実施形態では、複数の液晶ディスプレイが存在し、一方(本図上方)の液晶ディスプレイ107は表示専用とし、他方(本図下方)の液晶ディスプレイ107にはタッチパネルが貼り付けられている。   Generally, the number of liquid crystal displays 107 is one or more. In the present embodiment, there are a plurality of liquid crystal displays, and one (upper in the figure) liquid crystal display 107 is dedicated for display, and the other (lower in the figure) has a touch panel attached thereto.

したがって、タッチペンでタッチパネルを押圧操作することにより、対応する液晶ディスプレイ107の位置を表す座標値が入力される。すなわち、タッチパネルと液晶ディスプレイ107とは一体となって、タッチスクリーンとして機能する。   Accordingly, a coordinate value representing the position of the corresponding liquid crystal display 107 is input by pressing the touch panel with the touch pen. That is, the touch panel and the liquid crystal display 107 are integrated to function as a touch screen.

なお、本情報処理装置101は、典型的な携帯ゲーム装置として利用されるものであるが、本発明の技術は、マウスおよびキーボードとCRT(Cathode Ray Tube)を用いて入力と出力を行うような汎用コンピュータで動作する各種のアプリケーションに適用することも可能であり、そのような実施形態も本発明の範囲に含まれる。   The information processing apparatus 101 is used as a typical portable game apparatus, but the technology of the present invention performs input and output using a mouse, keyboard, and CRT (Cathode Ray Tube). The present invention can also be applied to various applications that operate on a general-purpose computer, and such embodiments are also included in the scope of the present invention.

図2は、本実施形態に係るパラメータ処理装置の概要構成を示す説明図である。以下、本図を参照して説明する。   FIG. 2 is an explanatory diagram showing a schematic configuration of the parameter processing apparatus according to the present embodiment. Hereinafter, a description will be given with reference to FIG.

本実施形態に係るパラメータ処理装置201は、記憶部202、計算部203、繰返部204、表示部205を備える。   A parameter processing apparatus 201 according to the present embodiment includes a storage unit 202, a calculation unit 203, a repetition unit 204, and a display unit 205.

ここで、記憶部202は、以下のような情報を記憶する。
(a)仮想空間内に配置される観測点の現在位置および基準方向。典型的には、観測点は、仮想空間の様子を3次元グラフィックス表示する際の視点の位置、もしくは、プレイヤーキャラクターの位置にあり、基準方向は、仮想空間の様子を3次元グラフィックス表示する際の視線方向、仮想空間における特定の方角(たとえば北方向、あるいは、南方向等。)の方向、ゲームの現在のシーンにおける目的地の方向などを採用することができる。
Here, the storage unit 202 stores the following information.
(A) Current position and reference direction of observation points arranged in the virtual space. Typically, the observation point is at the position of the viewpoint when the state of the virtual space is displayed in 3D graphics or the position of the player character, and the reference direction is the state of the virtual space displayed in 3D graphics. The direction of the line of sight, the direction of a specific direction in the virtual space (for example, the north direction or the south direction, etc.), the direction of the destination in the current scene of the game, and the like can be employed.

(b)仮想空間内に配置される敵キャラクターの現在位置。敵キャラクターには、注目キャラクターと非注目キャラクターの2種類があり、これらを区別する情報も記憶部202に記憶される。たとえば、プレイヤーキャラクターと敵キャラクターが対戦するゲームでは、注目キャラクターとして「プレイヤーキャラクターをロックオンしている敵キャラクター」や「プレイヤーキャラクターがロックオンしている敵キャラクター」を採用することができる。したがって、注目キャラクターの個数は、1つとは限らず、0個の場合もあるし、複数の場合もある。   (B) The current position of the enemy character placed in the virtual space. There are two types of enemy characters, an attention character and a non-attention character, and information for distinguishing these characters is also stored in the storage unit 202. For example, in a game in which a player character and an enemy character play against each other, “an enemy character whose player character is locked on” or “an enemy character whose player character is locked on” can be adopted as the attention character. Therefore, the number of characters of interest is not limited to one, and may be zero or plural.

(c)仮想空間内の各地点における寄与パラメータ。たとえば、仮想空間の各地点の高さや傾き、滑りやすさなどの地形に関連する地図情報などの定数値である。仮想空間の地面を桝目状に区切り、この桝目に対応する2次元配列を用意して、各桝目ごとの寄与パラメータを要素として記憶することとしても良い。寄与パラメータをもとに、環境パラメータを計算することができる。   (C) Contribution parameters at each point in the virtual space. For example, it is a constant value such as map information related to the terrain such as height, inclination, slipperiness, etc. of each point in the virtual space. It is also possible to divide the ground of the virtual space in a grid shape, prepare a two-dimensional array corresponding to this grid, and store the contribution parameters for each grid as elements. Based on the contribution parameters, environmental parameters can be calculated.

(d)仮想空間内において発生したイベント履歴。イベントの発生種類、発生位置、発生時刻(ゲームを開始してからの経過時間等により表現される。)などの情報が記憶される。これらの情報をもとに、環境パラメータを計算することができる。イベントが生じる原因として、キャラクターが特定の行動をとることを採用することができる。記憶するイベントの履歴の個数には上限を設けることとしたときには、当該個数の配列の各要素に各イベントの情報を記憶することとし、発生時刻の古い順に消去、上書きすれば良い。   (D) A history of events that occurred in the virtual space. Information such as an event occurrence type, an occurrence position, and an occurrence time (represented by an elapsed time since the game was started) is stored. Based on this information, environmental parameters can be calculated. It can be adopted that the character takes a specific action as the cause of the event. When an upper limit is set for the number of event histories to be stored, the information of each event is stored in each element of the array of the number, and the information may be deleted or overwritten in the order of occurrence time.

(e)角度とその角度に対する環境パラメータ値を記憶するパラメータ配列。たとえば、観測角度として10度刻みで0度、10度、20度、…、350度を考えた場合には、記憶部202には36個の要素を持つ配列を用意し、角度θ度についての環境パラメータ値は、当該配列のθ/10(小数点以下切捨て)番目の要素に記憶される。そして、各要素には、当該角度について計算された最新の環境パラメータ値が格納されることになる。以下の説明ではこの刻み幅5度を例としてあげるが、刻み幅は任意の値を採用することができ、刻み幅に応じて下記の数値は適宜変更が可能である。   (E) A parameter array that stores an angle and an environmental parameter value for the angle. For example, if the observation angle is 0 degree, 10 degrees, 20 degrees,..., 350 degrees in increments of 10 degrees, an array having 36 elements is prepared in the storage unit 202, and the angle θ degrees The environmental parameter value is stored in the θ / 10 (truncated fractional) element of the array. In each element, the latest environmental parameter value calculated for the angle is stored. In the following description, this step size is taken as an example, but an arbitrary value can be adopted as the step size, and the following numerical values can be appropriately changed according to the step size.

したがって、RAM 103やROMカセット111が、記憶部202として機能する。   Therefore, the RAM 103 and the ROM cassette 111 function as the storage unit 202.

以下では、まず、敵キャラクターが起こした行動に基づくイベントとして、「音の発生」を考えることとし、環境パラメータ値としては、「敵キャラクターが発した音が観測点にて聞こえる音量」を考えるものとする。この「音量」は、現実の音声をシミュレートしたものとしても良いし、敵キャラクターが発する「殺気」や「存在感」を数値化したものと考えても良い。   In the following, we will first consider “sound generation” as an event based on the action taken by the enemy character, and “environment sound volume at the observation point” as the environmental parameter value. And This “sound volume” may be a simulation of real speech, or may be considered as a numerical value of “kill” or “presence” generated by an enemy character.

また、本実施形態では、環境パラメータを計算する頻度として、高頻度周期Hと低頻度周期Lの2段階を設ける。垂直同期割込N回分の時間長は、高頻度周期のN/H回分、低頻度周期のN/L回分に相当する。そこで、HとLとして正の整数定数を採用し、N≧N/H>N/LすなわちN≦H<Lが成立するようにこれらの定数を定める。   In the present embodiment, two stages of a high frequency period H and a low frequency period L are provided as the frequency for calculating the environmental parameter. The time length of N vertical synchronization interrupts corresponds to N / H times of high frequency cycles and N / L times of low frequency cycles. Therefore, positive integer constants are adopted as H and L, and these constants are determined so that N ≧ N / H> N / L, that is, N ≦ H <L.

図3は、本実施形態のパラメータ処理装置にて実行されるパラメータ処理方法の制御の流れを示すフローチャートである。以下、本図を参照して説明する。   FIG. 3 is a flowchart showing a control flow of the parameter processing method executed by the parameter processing apparatus of the present embodiment. Hereinafter, a description will be given with reference to FIG.

本処理が開始されると、CPU 102は、RAM 103に対して各種の初期化を行い(ステップS301)、単位時間だけゲームを進行させる種々の処理を行う(ステップS302)。単位時間として典型的な時間は、垂直同期割込周期であり、種々の処理としては、以下のようなものが考えられる。
(1)プレイヤーの指示入力に基づいてプレイヤーキャラクターの行動を決定したりプレイヤーキャラクターの現在位置を更新したりする。
(2)あらかじめ用意したアルゴリズムに基づくプログラムやライブラリを実行することにより、敵キャラクターの行動を決定したり敵キャラクターの現在位置を更新したりする。
(3)他のプレイヤーからの指示入力に基づいて敵キャラクターの行動を決定したり敵キャラクターの現在位置を更新したりする。
(4)プレイヤーキャラクターの行動と敵キャラクターの行動に基づいて、プレイヤーキャラクターと敵キャラクターを戦闘させ、その結果を各キャラクターの状態に反映させる。
(5)現在時刻tの更新。本実施形態では、ゲームを開始してから垂直同期割込が何回生じたかをあらわすカウンタにより、現在時刻を表現する。
When this process is started, the CPU 102 performs various initializations on the RAM 103 (step S301), and performs various processes for advancing the game for a unit time (step S302). A typical time as a unit time is a vertical synchronization interrupt cycle, and various processing can be considered as follows.
(1) The action of the player character is determined or the current position of the player character is updated based on the player's instruction input.
(2) By executing a program or library based on an algorithm prepared in advance, the action of the enemy character is determined or the current position of the enemy character is updated.
(3) The action of the enemy character is determined based on an instruction input from another player, or the current position of the enemy character is updated.
(4) Based on the action of the player character and the action of the enemy character, the player character and the enemy character are battled, and the result is reflected in the state of each character.
(5) Update the current time t. In this embodiment, the current time is expressed by a counter indicating how many times the vertical synchronization interrupt has occurred since the game was started.

次に、CPU 102は、記憶部202に現在位置が記憶される敵キャラクターのそれぞれについて、以下の処理を繰り返す(ステップS303〜)。   Next, the CPU 102 repeats the following processing for each enemy character whose current position is stored in the storage unit 202 (steps S303 to S303).

すなわち、当該敵キャラクターがとった行動の種類にあらかじめ対応付けられるイベントがあるか調べ(ステップS304)、あれば(ステップS304;Yes)、当該イベントの種類と現在時刻と当該敵キャラクターの位置を、イベントの発生種類と発生時刻と発生位置として、記憶部202のイベント履歴に追加する(ステップS305)。   That is, if there is an event associated in advance with the type of action taken by the enemy character (step S304), if there is an event (step S304; Yes), the type of event, the current time, and the position of the enemy character are determined. The event occurrence type, occurrence time, and occurrence location are added to the event history in the storage unit 202 (step S305).

イベントの種類としては、敵キャラクターがとった行動により生じる音の音量やその音の鋭さ(指向性、回折性)などを採用することができる。イベントの種類については後述する。   As the type of event, the volume of sound generated by the action taken by the enemy character and the sharpness (directivity, diffraction) of the sound can be adopted. The type of event will be described later.

敵キャラクターすべてについてステップS303〜の処理を繰り返したら(ステップS306)、観測角度θ = 0,10,20,30,…,350のそれぞれについて、以下の処理を繰り返す(ステップS307〜)。これは、刻み幅として10度を採用したためであり、これ以外の刻み幅を採用した場合には、それに応じて0から360まで(360そのものは含まないように)、観測角度θを順に変化させて以下の処理を繰り返す。なお、本実施形態では、この観測角度θは、仮想空間上空から見て観測点の周りを時計周りに回る方向の角度として考える。   When the process from step S303 is repeated for all enemy characters (step S306), the following process is repeated for each of the observation angles θ = 0, 10, 20, 30,..., 350 (step S307). This is because 10 degrees is adopted as the step size, and when other step sizes are adopted, the observation angle θ is changed in order from 0 to 360 (not including 360 itself) accordingly. Repeat the following process. In the present embodiment, the observation angle θ is considered as an angle in a direction of turning clockwise around the observation point when viewed from above the virtual space.

すなわち、計算部203は、記憶部202に現在位置が記憶される注目キャラクターのそれぞれについて、以下の処理を繰り返す(ステップS308〜)。   That is, the calculation unit 203 repeats the following processing for each of the attention characters whose current position is stored in the storage unit 202 (steps S308 to S308).

すなわち、観測点の現在位置から当該注目キャラクターの現在位置へ向かう方向と、基準方向と、がなす角度φを計算する(ステップS309)。そして、φとθの角度差が、所定の閾値α以下であるか否か、すなわち、|φ - θ|≦αか否かを判断する(ステップS310)。   That is, the angle φ formed by the direction from the current position of the observation point toward the current position of the target character and the reference direction is calculated (step S309). Then, it is determined whether or not the angle difference between φ and θ is equal to or smaller than a predetermined threshold value α, that is, whether or not | φ−θ | ≦ α (step S310).

|φ - θ|≦αである場合(ステップS310;Yes)、現在時刻tに対して、(t×N) mod Hが0に等しいか否かを調べる(ステップS311)。ここでa mod bは、aをbで割った余りを意味する。そうであれば(ステップS311;Yes)、ステップS321に進んで、ステップS307から始まるループを抜ける。そうでなければ(ステップS311;No)、ステップS308から始まるループを繰り返す(ステップS313)。   If | φ−θ | ≦ α (step S310; Yes), it is checked whether (t × N) mod H is equal to 0 with respect to the current time t (step S311). Here, a mod b means a remainder obtained by dividing a by b. If so (step S311; Yes), the process proceeds to step S321 to exit the loop starting from step S307. Otherwise (step S311; No), the loop starting from step S308 is repeated (step S313).

一方、|φ - θ|≦αでない場合(ステップS310;No)、現在時刻tに対して、(t×N) mod Lが0に等しいか否かを調べる(ステップS312)。そうであれば(ステップS312;Yes)、ステップS321に進んで、ステップS307から始まるループを抜ける。そうでなければ(ステップS312;No)、ステップS313に進み、ステップS308から始まるループを繰り返す。   On the other hand, if | φ−θ | ≦ α is not satisfied (step S310; No), it is checked whether (t × N) mod L is equal to 0 with respect to the current time t (step S312). If so (step S312; Yes), the process proceeds to step S321 to exit the loop starting from step S307. Otherwise (step S312; No), the process proceeds to step S313, and the loop starting from step S308 is repeated.

ステップS308〜ステップS313のループを途中で抜けた場合は、基準方向からθ度だけずれた方向について、観測点の位置から観測されると想定される仮想空間内の環境パラメータ値を計算する(ステップS321)。環境パラメータ値の具体的な計算手法については後述する。   When the loop of step S308 to step S313 is exited halfway, environmental parameter values in the virtual space that are assumed to be observed from the position of the observation point are calculated in a direction shifted by θ degrees from the reference direction (step S321). A specific method for calculating the environmental parameter value will be described later.

ステップS308〜ステップS313のループをどのように途中で抜けるかを考えることにより、
(1)θが注目キャラクターの存在する方向φのα近傍であるならば、「垂直同期割込周期×N/H」の時間周期で高頻度に環境パラメータ値の計算が行われ、
(2)θが注目キャラクターの存在する方向φのα近傍でなければ、「垂直同期割込周期×N/L」の時間周期で低頻度に環境パラメータ値の計算が行われる
ことになる。
By considering how to exit the loop from step S308 to step S313,
(1) If θ is in the vicinity of α in the direction φ where the character of interest exists, environmental parameter values are frequently calculated in the time period of “vertical synchronization interrupt period × N / H”,
(2) If θ is not in the vicinity of α in the direction φ in which the target character exists, the environmental parameter value is calculated at a low frequency in the time period of “vertical synchronization interrupt period × N / L”.

そして、計算された環境パラメータ値を、パラメータ配列のθ/10番目の要素に格納し(ステップS322)、ステップS307から始まるループを繰り返す(ステップS323)。   The calculated environmental parameter value is stored in the θ / 10th element of the parameter array (step S322), and the loop starting from step S307 is repeated (step S323).

また、ステップS308〜ステップS313のループを最後まで実行した場合も、ステップS323に進み、ステップS307から始まるループを繰り返す。   Also, when the loop from step S308 to step S313 is executed to the end, the process proceeds to step S323, and the loop starting from step S307 is repeated.

したがって、CPU 102は、必要に応じてRAM 103やROMカセット111と共働して、計算部203および繰返部204として機能する。   Therefore, the CPU 102 functions as the calculation unit 203 and the repetition unit 204 in cooperation with the RAM 103 and the ROM cassette 111 as necessary.

上記のような処理を行うことで、パラメータ配列は、注目キャラクターが存在する方向の角度の近傍は高頻度で更新され、それ以外の方向では、低頻度で更新が行われる。   By performing the above processing, the parameter array is updated with high frequency in the vicinity of the angle in the direction in which the target character exists, and is updated with low frequency in the other directions.

ついで、CPU 101は、仮想空間内の様子をあらわす画像をRAM 103内に生成する(ステップS331)。この画像は、観測点を視点とし、基準方向を視線方向として仮想空間を見た様子を表す3次元グラフィックス画像としても良いし、仮想世界を平面図や鳥瞰図のような形式でマップ表示するものでも良い。   Next, the CPU 101 generates an image representing the state in the virtual space in the RAM 103 (step S331). This image may be a three-dimensional graphics image that shows the virtual space viewed from the observation point as the viewpoint and the reference direction as the line of sight, or displays the virtual world as a map in the form of a plan view or bird's-eye view But it ’s okay.

ついで、パラメータ配列に格納されたそれぞれの観測角度に対する環境パラメータ値を対応付けるグラフ画像をRAM 103内に生成する(ステップS332)。   Next, a graph image for associating environmental parameter values for each observation angle stored in the parameter array is generated in the RAM 103 (step S332).

図4は、生成されるグラフ画像の例と仮想空間との関係を示す説明図である。以下、本図を参照して説明する。   FIG. 4 is an explanatory diagram illustrating a relationship between an example of a generated graph image and a virtual space. Hereinafter, a description will be given with reference to FIG.

本図(a)には、グラフ画像として、横軸に角度、縦軸に環境パラメータ値を採用した直交グラフが採用されている。上記のように本実施形態では、角度を10度刻みとしているから、環境パラメータ値が36個並べられた折線グラフとなる。また、中央から右には、θが0度〜180度までのグラフが、左から中央には、θが180度〜360度(0度)までのグラフが、それぞれ表示されており、θ = 0が中央に表示されている。これは、基準方向を中央にすることで、ユーザに環境パラメータの分布をわかりやすく提示するものである。   In this figure (a), an orthogonal graph employing an angle on the horizontal axis and an environmental parameter value on the vertical axis is employed as the graph image. As described above, in the present embodiment, since the angle is set in increments of 10 degrees, a line graph in which 36 environmental parameter values are arranged is obtained. Further, from the center to the right, a graph of θ from 0 degrees to 180 degrees is displayed, and from the left to the center, a graph of θ from 180 degrees to 360 degrees (0 degrees) is displayed. 0 is displayed in the center. This presents the distribution of environmental parameters in an easy-to-understand manner to the user by setting the reference direction to the center.

本図(b)には、グラフ画像として、回転角に角度、半径に環境パラメータ値を採用した極座標グラフが採用されており、本実施形態では36個の環境パラメータ値が極座標の中心をとりまくように配置された星型グラフとなる。   In this figure (b), as a graph image, a polar coordinate graph that employs an angle as a rotation angle and an environment parameter value as a radius is adopted. In this embodiment, 36 environment parameter values surround the center of the polar coordinate. It becomes a star graph arranged in.

本実施形態では、観測角度θは仮想空間上空から見て観測点の周りを時計周りに回る方向の角度として考えるから、極座標グラフにおいても同様の方向に回転角を設定することが望ましい。また、θ = 0に相当する回転角を画像の上向きに設定すると、プレイヤーにとって直観的なグラフの把握がしやすくなる。   In the present embodiment, since the observation angle θ is considered as an angle in a clockwise direction around the observation point when viewed from above the virtual space, it is desirable to set the rotation angle in the same direction in the polar coordinate graph. Further, if the rotation angle corresponding to θ = 0 is set upward, it is easy for the player to grasp the intuitive graph.

本図(c)には、観測点と基準方向と注目キャラクターのいる方向との位置関係を仮想空間上空から見た様子を示している。   This figure (c) has shown the mode that the positional relationship of an observation point, a reference | standard direction, and the direction in which an attention character is seen from the virtual space.

観測点501を中心に、基準方向503から注目キャラクター551へ向かう角度は、本図(c)に示す例では、75度となっている。閾値αを5度とすると、70度〜80度の範囲が、高頻度でグラフの形状が更新される範囲である。   The angle from the reference direction 503 toward the target character 551 around the observation point 501 is 75 degrees in the example shown in FIG. Assuming that the threshold α is 5 degrees, a range of 70 degrees to 80 degrees is a range in which the shape of the graph is updated frequently.

本図(a)、本図(b)においては、理解を容易にするため、高頻度でグラフの形状が更新される領域のグラフを白抜き太線にすることとしているが、実際の表示では、当該領域およびその隣において、グラフの線の位置が頻繁に変化するのである。   In this figure (a) and this figure (b), in order to make it easy to understand, the graph of the area where the shape of the graph is frequently updated is made a bold white line, but in the actual display, The position of the line of the graph frequently changes in the area and next to the area.

このように、グラフ形状が頻繁に更新される部位によって、注目キャラクターのいる方向が明示されるため、注目キャラクターのいる方向を表す特殊なカーソルやマーク、アイコンなどを用意する必要がない。   As described above, since the direction in which the attention character is present is clearly indicated by the part where the graph shape is frequently updated, it is not necessary to prepare a special cursor, mark, icon, or the like indicating the direction in which the attention character is present.

そして、前者に後者を重ね合わせた表示画像をRAM 103内に生成し(ステップS333)、垂直同期割込が生じるまで待機する(ステップS334)。当該待機中には、各種の他の処理をコルーチン的に実行することもできる。   Then, a display image in which the former is superimposed on the latter is generated in the RAM 103 (step S333), and the process waits until a vertical synchronization interrupt occurs (step S334). During the standby, various other processes can be executed in a coroutine manner.

そして、垂直同期割込が生じたら、CPU 101は、ステップS333にて生成された画像を液晶ディスプレイ107に表示するように画像処理部106に指示を出し(ステップS335)、ステップS302に戻る。   When a vertical synchronization interrupt occurs, the CPU 101 instructs the image processing unit 106 to display the image generated in step S333 on the liquid crystal display 107 (step S335), and returns to step S302.

したがって、CPU 101は、RAM 103、画像処理部106、液晶ディスプレイ107と共働して、表示部205として機能する。   Therefore, the CPU 101 functions as the display unit 205 in cooperation with the RAM 103, the image processing unit 106, and the liquid crystal display 107.

このような処理を行うことにより、グラフ表示の更新の周期は、「垂直同期割込周期×N/N=垂直同期割込周期」となり、上記の「高頻度」以上の頻度で画像表示が更新されることになる。すなわち、環境パラメータ値が更新される頻度以上の頻度でグラフの表示も更新される。   By performing such processing, the graph display update cycle is “vertical synchronization interrupt cycle × N / N = vertical synchronization interrupt cycle”, and the image display is updated at a frequency higher than the above “high frequency”. Will be. That is, the display of the graph is also updated at a frequency that is equal to or higher than the frequency at which the environmental parameter value is updated.

図5は、順次更新されていくグラフ画像表示の様子を示す説明図である。以下、本図を参照して説明する。   FIG. 5 is an explanatory diagram showing a state of graph image display that is sequentially updated. Hereinafter, a description will be given with reference to FIG.

図5は、図4(b)に示す極座標グラフ(の右上部分)が、更新されるごとにどのように変形していくかを表す説明図であり、本図(a)〜(f)は、時間順に並べられている。   FIG. 5 is an explanatory diagram showing how the polar coordinate graph (upper right portion thereof) shown in FIG. 4B is deformed each time it is updated, and FIGS. , Arranged in time order.

本図(a)〜(f)では、環境パラメータ値を表すグラフは太字で示し、理解を容易にするための補助線は、点線もしくは一点鎖線で示している。ここで、点線は、極座標の10度ごとの方向をあらわし、一点鎖線は、本図(a)におけるグラフの位置を本図(b)〜(f)においてあらわすものである。   In this figure (a)-(f), the graph showing an environmental parameter value is shown by bold type, and the auxiliary line for making an understanding easy is shown by the dotted line or the dashed-dotted line. Here, the dotted line indicates the direction of every 10 degrees of the polar coordinates, and the alternate long and short dash line indicates the position of the graph in (a) of this figure in (b) to (f) of this figure.

環境パラメータ値すべてについて表示更新された直後(低頻度による表示更新の直後)は、本図(a)および本図(f)に表示されており、本図(a)と本図(f)を比べると(本図(f)の太線と一点鎖線を比べると)、各方向の環境パラメータ値が変化している。   Immediately after the display is updated for all the environmental parameter values (immediately after the display is updated at a low frequency), it is displayed in this figure (a) and this figure (f), and this figure (a) and this figure (f) are displayed. In comparison (when comparing the thick line and the alternate long and short dash line in this figure (f)), the environmental parameter value in each direction changes.

一方、本図(b)〜(e)は、高頻度による表示更新の直後を表すものであり、注目キャラクターのいる方向が75度の方向であることから、閾値αを5度として、70度〜80度の範囲の環境パラメータ値が、高頻度で更新されている。   On the other hand, FIGS. (B) to (e) represent immediately after the display update with high frequency, and since the direction in which the attention character is present is the direction of 75 degrees, the threshold value α is set to 5 degrees and 70 degrees. Environmental parameter values in the range of ˜80 degrees are updated frequently.

したがって、本図のように、極座標を用いた星型グラフにおいては、70度〜80度の範囲の環境パラメータ値(半径)を変化させると、隣接する場所を含む60度〜90度の範囲の折線の形状が変化することになる。   Therefore, as shown in the figure, in the star graph using polar coordinates, when the environmental parameter value (radius) in the range of 70 degrees to 80 degrees is changed, the range of 60 degrees to 90 degrees including the adjacent place is changed. The shape of the broken line will change.

したがって、プレイヤーは、1つのグラフ表示を見るだけで、環境パラメータ値の分布の様子を知ることができるほか、線図が頻繁に高頻度で変化する範囲の角度の方向に注目キャラクターが存在することを同時に知得することができる。   Therefore, the player can know the distribution of environmental parameter values by looking at only one graph display, and the attention character exists in the direction of the angle where the diagram changes frequently. At the same time.

この際に、注目キャラクターが存在する方向を表すための新たなマークやアイコンなどは不要であるため、画面表示を単純化し、装飾の自由度を増すことができる。   At this time, since a new mark or icon for indicating the direction in which the character of interest exists is unnecessary, the screen display can be simplified and the degree of freedom of decoration can be increased.

本実施形態によれば、仮想空間内の環境パラメータ値を見やすくグラフ表示すると同時に、グラフの更新頻度が高い領域によって注目キャラクターが存在する方向を示すことで、プレイヤーにわかりやすく2種類の情報を提示することができるようになる。   According to this embodiment, the environmental parameter values in the virtual space are displayed in a graph so that the player can easily understand the two types of information by indicating the direction in which the character of interest exists by the region where the graph is frequently updated. Will be able to.

以下では、環境パラメータ値の具体的な計算手法について、さらに詳細に説明する。   Below, the specific calculation method of an environmental parameter value is demonstrated in detail.

(キャラクターの行動に基づく環境パラメータ)
キャラクターの行動に基づく環境パラメータの計算では、記憶部202に用意されたイベント履歴を参照する。
(Environmental parameters based on character behavior)
In calculating the environmental parameters based on the character's behavior, the event history prepared in the storage unit 202 is referred to.

そして、各イベントについて観測角度θに対する寄与パラメータを計算し、当該寄与パラメータの総和を観測角度θに対する環境パラメータ値とするのである。   Then, a contribution parameter for the observation angle θ is calculated for each event, and the sum of the contribution parameters is set as an environmental parameter value for the observation angle θ.

上記のように、環境パラメータとしてキャラクターが発する音の音量を考えた場合には、「キャラクターが銃の撃鉄を起こす」という動作に対しては「鋭い音」というイベントが発生し、「キャラクターが転ぶ」という動作に対しては「鈍い音」というイベントが発生する等のような対応付けを行うことができる。   As mentioned above, when the volume of the sound emitted by the character is considered as an environmental parameter, an event of “sharp sound” occurs for the action of “the character causes a gun hammer” and “the character falls Can be associated with an operation such as the occurrence of an event of “dull sound”.

以下のような計算手法を採用することにより、イベントの種類によって寄与パラメータ値を変化させることが可能である。   By adopting the following calculation method, it is possible to change the contribution parameter value depending on the type of event.

図6は、観測点、基準方向、観測角度、イベントの発生場所の関係を、仮想空間上空から見た様子で示す説明図である。以下、本図を参照して説明する。   FIG. 6 is an explanatory diagram showing the relationship between the observation point, the reference direction, the observation angle, and the event occurrence place as seen from above the virtual space. Hereinafter, a description will be given with reference to FIG.

観測点501とイベントの発生場所502との距離Rは、記憶部202に記憶される情報から計算することが可能である。観測角度θの方向504は、基準方向503から時計周りにθだけ回転した方向であり、基準方向503から観測点501を中心に時計周りにψだけ回転した方向にイベントの発生場所502が存在する。   The distance R between the observation point 501 and the event occurrence location 502 can be calculated from information stored in the storage unit 202. The direction 504 of the observation angle θ is a direction rotated clockwise from the reference direction 503 by θ, and an event occurrence location 502 exists in a direction rotated clockwise from the reference direction 503 around the observation point 501 by ψ. .

イベントの発生により生じた現象が仮想世界を広がりながら伝播していくと考えたとき、寄与パラメータ値は、以下のような性質を満たすものと考えるのが自然である。
(p)観測角度θと、観測点501からイベントの発生場所502への方向と基準方向503とがなす角ψと、の角度差|θ-ψ|が大きくなると、寄与パラメータ値は小さくなる。
(q)イベントの発生時刻Tから現在時刻tまでの経過時間t-Tが大きくなると、寄与パラメータ値は小さくなる。
(r)イベントの発生場所502と観測点501との距離Rが大きくなると、寄与パラメータ値は小さくなる。
When it is considered that a phenomenon caused by the occurrence of an event propagates while spreading in the virtual world, it is natural to think that the contribution parameter value satisfies the following properties.
(P) When the angle difference | θ−ψ | between the observation angle θ and the angle ψ formed by the direction from the observation point 501 to the event occurrence location 502 and the reference direction 503 increases, the contribution parameter value decreases.
(Q) As the elapsed time tT from the event occurrence time T to the current time t increases, the contribution parameter value decreases.
(R) As the distance R between the event occurrence location 502 and the observation point 501 increases, the contribution parameter value decreases.

このような減衰型(非増加型)の関数としては、正の係数kを用いて
(0)f0,k(x) = 1 (x≦k);
f0,k(x) = 0 (k≦x)
(1)f1,k(x) = k/(x+k)
(2)f2,k(x) = k2/(x+k)2
(3)f3,k(x) = exp(-kx)
(4)f4,k(x) = 1 - kx (0≦x≦1/k);
f4,k(x) = 0 (1/k≦x)
(5)f5,k(x) = 1 - kx2 (0≦x2≦1/k);
f5,k(x) = 0 (1/k≦x2)
(6)……
等のようなものを考えることができる。
As a function of such attenuation type (non-increasing type), using a positive coefficient k, (0) f 0, k (x) = 1 (x ≦ k);
f 0, k (x) = 0 (k ≦ x)
(1) f 1, k (x) = k / (x + k)
(2) f 2, k (x) = k 2 / (x + k) 2
(3) f 3, k (x) = exp (-kx)
(4) f 4, k (x) = 1-kx (0 ≦ x ≦ 1 / k);
f 4, k (x) = 0 (1 / k ≦ x)
(5) f 5, k (x) = 1-kx 2 (0 ≦ x 2 ≦ 1 / k);
f 5, k (x) = 0 (1 / k ≦ x 2 )
(6) ……
Etc. can be considered.

すると、
(1)当該イベントの基本的な音の大きさに対する係数をA
(2)角度差|θ-ψ|に対する係数をh,p
(3)経過時間t-Tに対する係数をi,q
(4)距離Rに対する係数をj,s
としたときに、寄与パラメータを、
A×fh,p(|θ-ψ|)×fi,q(t-T)×fj,s(R)
のように計算することができる。
Then
(1) The coefficient for the basic loudness of the event is A
(2) The coefficients for the angle difference | θ-ψ |
(3) The coefficients for the elapsed time tT are i, q
(4) The coefficient for the distance R is j, s
And the contribution parameter is
A × f h, p (| θ-ψ |) × f i, q (tT) × f j, s (R)
It can be calculated as follows.

したがって、敵キャラクターの行動との対応付けは、当該行動の性質に基づいて、上記係数A,h,p,i,q,j,sの具体的な値を種々変化させた組み合わせからいずれかをあらかじめ採用することで行い、イベント履歴に記憶されるイベントの発生種類は、上記係数A,h,p,i,q,j,sの組み合わせによって表現すれば良い。   Therefore, the association with the action of the enemy character is based on the nature of the action, and can be selected from a combination of various specific values of the coefficients A, h, p, i, q, j, and s. The event generation type stored in the event history may be expressed by a combination of the coefficients A, h, p, i, q, j, and s.

本計算手法によれば、キャラクターが採用した動作に対応するイベントに基づいて環境パラメータを計算することで、当該キャラクターの動作を推測する手がかりをプレイヤーに提示することができるようになる。   According to this calculation method, by calculating the environmental parameter based on the event corresponding to the action adopted by the character, a clue for guessing the action of the character can be presented to the player.

(地形などの情報に基づく環境パラメータ)
グラフ表示の対象とする環境パラメータは、当該仮想空間の各地点に対して設定された寄与パラメータ値に基づいて計算することも可能である。
(Environmental parameters based on information such as topography)
The environmental parameter to be displayed in the graph can be calculated based on the contribution parameter value set for each point in the virtual space.

図7は、観測点、観測角度と、考慮する寄与パラメータ値に対応付けられる地点の関係を仮想空間上空から見た様子を示す説明図である。   FIG. 7 is an explanatory diagram illustrating a state in which the relationship between the observation point, the observation angle, and the point associated with the contribution parameter value to be considered is viewed from above the virtual space.

本図に示すように、仮想空間の地面は桝目601に分割されており、各桝目601について、寄与パラメータ値が割り当てられている。   As shown in the figure, the ground of the virtual space is divided into cells 601, and a contribution parameter value is assigned to each cell 601.

観測点501を中心に、基準方向503から時計周りにθだけ回転した観測角度の方向504に、観測距離Sだけ進む経路602が通過する桝目601については、本図では灰色で表示している。   The grid 601 through which the path 602 that travels by the observation distance S in the observation angle direction 504 rotated clockwise from the reference direction 503 by θ around the observation point 501 is displayed in gray in this drawing.

本手法では、経路602が通過する灰色の桝目601に記憶される寄与パラメータ値の
(1)最大値
(2)最小値
(3)平均値
(4)積算値
のいずれかを、観測角度θに対する環境パラメータ値とするのである。
In this method, any one of (1) maximum value (2) minimum value (3) average value (4) integrated value of contribution parameter value stored in gray cell 601 through which path 602 passes is measured with respect to observation angle θ. It is an environmental parameter value.

桝目601を経路602が通過するか否かは、たとえばブレゼンハムのアルゴリズムにより容易に決定することができる。   Whether or not the path 602 passes through the cell 601 can be easily determined by, for example, Bresenham's algorithm.

本実施形態では、寄与パラメータ値として当該地点の高度、気温、明るさ、音量、キャラクターの人口密度、地面の滑りやすさ、地面の傾きなどの諸量を適用することにより、これらの諸量をわかりやすくプレイヤーに提示することができるようになる。   In this embodiment, by applying various amounts such as altitude, temperature, brightness, volume, character population density, slipperiness of the ground, inclination of the ground, and the like as the contribution parameter values, It can be presented to the player in an easy-to-understand manner.

(環境パラメータの乱数による修正)
本手法は、上記の手法により得られた環境パラメータ値Xを擬似乱数に基づいて修正する手法である。
(Correction by random number of environmental parameters)
This method is a method of correcting the environmental parameter value X obtained by the above method based on a pseudo random number.

擬似乱数は、観測角度θが選択されることに発生させる。たとえば、当該擬似乱数として、0〜1の間の一様乱数Yが得られる場合には、適当な定数W,Zを用いて、
(1)X×(Y-0.5)/W
(2)(Y-0.5)/W
(3)X×(Y-Z)/W
(4)(Y-Z)/W
等を修正値とし、当該修正値を上記の環境パラメータ値Xに加算して修正し、修正後の環境パラメータ値を記憶部202に記憶させるのである。
The pseudo random number is generated when the observation angle θ is selected. For example, when a uniform random number Y between 0 and 1 is obtained as the pseudo random number, using appropriate constants W and Z,
(1) X × (Y-0.5) / W
(2) (Y-0.5) / W
(3) X × (YZ) / W
(4) (YZ) / W
Etc. are used as correction values, and the correction values are added to the above-mentioned environmental parameter value X for correction, and the corrected environmental parameter value is stored in the storage unit 202.

現実世界での測定値には誤差がつきものであり、このような誤差をシミュレートすることによって、プレイヤーは、仮想空間をよりリアルに感じるようになる。そこで、乱数に基づく修正値により環境パラメータを修正することで、このような誤差をシミュレートするのである。   There are errors in the measured values in the real world, and by simulating such errors, the player feels the virtual space more realistic. Therefore, such an error is simulated by correcting the environmental parameter with a correction value based on a random number.

本手法によれば、環境パラメータを表示する際のグラフ表示に誤差が生じているかのようにシミュレートをすることができ、よりリアルに感じられる仮想空間をプレイヤーに提供することができるようになる。   According to this method, it is possible to simulate as if an error has occurred in the graph display when displaying environmental parameters, and to provide a player with a virtual space that feels more realistic. .

以上説明したように、本発明によれば、仮想空間内の環境パラメータを表示する際に、注目キャラクターが存在する方向をわかりやすくプレイヤーに提示するのに好適なパラメータ処理装置、パラメータ処理方法、ならびに、これらをコンピュータにて実現するプログラムを提供することができる。   As described above, according to the present invention, when displaying environmental parameters in the virtual space, a parameter processing device, a parameter processing method, and A program for realizing these by a computer can be provided.

プログラムを実行することにより、本発明のパラメータ処理装置の機能を果たす典型的な情報処理装置の概要構成を示す模式図である。It is a schematic diagram which shows the outline | summary structure of the typical information processing apparatus which performs the function of the parameter processing apparatus of this invention by running a program. 本実施形態に係るパラメータ処理装置の概要構成を示す説明図である。It is explanatory drawing which shows schematic structure of the parameter processing apparatus which concerns on this embodiment. 本実施形態のパラメータ処理装置にて実行されるパラメータ処理方法の制御の流れを示すフローチャートである。It is a flowchart which shows the flow of control of the parameter processing method performed with the parameter processing apparatus of this embodiment. 生成されるグラフ画像の例と仮想空間との関係を示す説明図である。It is explanatory drawing which shows the relationship between the example of the graph image produced | generated, and virtual space. 順次更新されていくグラフ画像表示の様子を示す説明図である。It is explanatory drawing which shows the mode of the graph image display updated sequentially. 観測点、基準方向、観測角度、イベントの発生場所の関係を、仮想空間上空から見た様子で示す説明図である。It is explanatory drawing which shows the relationship between an observation point, a reference | standard direction, an observation angle, and the occurrence place of an event seen from the sky in virtual space. 観測点、観測角度と、考慮する寄与パラメータ値に対応付けられる地点の関係を仮想空間上空から見た様子を示す説明図である。It is explanatory drawing which shows a mode that the relationship between an observation point, an observation angle, and the point matched with the contribution parameter value to consider was seen from the sky.

符号の説明Explanation of symbols

101 情報処理装置
102 CPU
103 RAM
104 ROM
105 入力装置
106 画像処理部
107 液晶ディスプレイ
108 音声処理部
109 スピーカ
110 カセットリーダ
111 ROMカセット
201 パラメータ処理装置
202 記憶部
203 計算部
204 繰返部
205 表示部
501 観測点
502 イベントの発生場所
503 基準方向
504 観測角度の方向
551 注目キャラクター
601 桝目
602 経路
101 Information processing apparatus 102 CPU
103 RAM
104 ROM
DESCRIPTION OF SYMBOLS 105 Input device 106 Image processing part 107 Liquid crystal display 108 Audio | voice processing part 109 Speaker 110 Cassette reader 111 ROM cassette 201 Parameter processing apparatus 202 Storage part 203 Calculation part 204 Repetition part 205 Display part 501 Observation point 502 Event generation place 503 Reference direction 504 Direction of observation angle 551 Character of interest 601 Grid 602 Route

Claims (7)

仮想空間内に配置される観測点の現在位置および基準方向と、当該仮想空間内に配置される注目キャラクターの現在位置と、を記憶し、環境パラメータ値と角度とを対応付けて記憶する記憶部、
与えられた角度だけ、前記記憶された基準方向からずれた方向について、前記記憶された観測点の現在位置から観測される当該仮想空間内の環境パラメータ値を計算する計算部、
あらかじめ定めた複数の観測角度のそれぞれについて、当該観測角度を前記計算部に与えることにより計算された環境パラメータ値を、当該観測角度に対応付けて、前記記憶部に記憶させて更新する繰返部、
前記記憶部に対応付けて記憶された環境パラメータ値と角度とを対応付けるグラフを画面表示する表示部
を備え、
前記繰返部は、当該観測角度と、前記記憶された観測点の現在位置から前記記憶された注目キャラクターの現在位置への方向と前記記憶された基準方向とがなす角度と、の角度差が所定の閾値範囲内であるか否かを判断し、
(a)当該所定の閾値範囲内である場合、所定の高頻度で当該観測角度を前記計算部に与え、
(b)当該所定の閾値範囲内でない場合、当該所定の高頻度よりも低い所定の低頻度で、当該観測角度を前記計算部に与え、
前記表示部は、当該所定の高頻度以上の表示更新頻度で当該グラフの画面表示を更新する
ことを特徴とするパラメータ処理装置。
A storage unit that stores the current position and reference direction of the observation point arranged in the virtual space, the current position of the character of interest arranged in the virtual space, and stores the environment parameter value and the angle in association with each other ,
A calculation unit for calculating an environmental parameter value in the virtual space observed from the current position of the stored observation point for a direction deviated from the stored reference direction by a given angle;
For each of a plurality of predetermined observation angles, an iterative unit that updates an environmental parameter value calculated by giving the observation angle to the calculation unit in association with the observation angle and stores it in the storage unit ,
A display unit for displaying a graph associating the environmental parameter value and the angle stored in association with the storage unit on a screen;
The repeating unit has an angular difference between the observation angle and an angle formed by the stored reference point and the stored reference direction from the current position of the stored observation point to the current position of the stored target character. Determine whether it is within a predetermined threshold range,
(A) If it is within the predetermined threshold range, the observation angle is given to the calculation unit at a predetermined high frequency,
(B) If not within the predetermined threshold range, the observation angle is given to the calculation unit at a predetermined low frequency lower than the predetermined high frequency,
The parameter processing apparatus, wherein the display unit updates the screen display of the graph at a display update frequency equal to or higher than the predetermined high frequency.
請求項1に記載のパラメータ処理装置であって、
前記記憶部は、当該仮想空間の各地点における寄与パラメータ値をさらに記憶し、
前記計算部は、当該与えられた角度だけ、前記記憶された基準方向からずれた方向へ、前記記憶された観測点の現在位置から所定の観測距離だけ進む経路上に存在する地点のそれぞれについて前記記憶された寄与パラメータ値の最大値、最小値、平均値、もしくは、積算値を当該環境パラメータ値とする
ことを特徴とするパラメータ処理装置。
The parameter processing apparatus according to claim 1,
The storage unit further stores a contribution parameter value at each point in the virtual space,
The calculation unit is configured to perform the calculation for each of the points existing on a path that travels a predetermined observation distance from the current position of the stored observation point in a direction deviated from the stored reference direction by the given angle. A parameter processing apparatus characterized in that a maximum value, a minimum value, an average value, or an integrated value of stored contribution parameter values is used as the environmental parameter value.
請求項1に記載のパラメータ処理装置であって、
前記記憶部は、当該仮想空間に配置される非注目キャラクターの現在位置と、当該仮想空間にて発生したイベントの発生種類と発生時刻と発生場所と、を、対応付けてさらに記憶し、
前記繰返部は、前記現在位置が記憶された注目キャラクターおよび非注目キャラクターのそれぞれについて、当該キャラクターが行う動作の種類にあらかじめ対応付けられたイベントの種類を発生種類として、当該動作を行った時刻を発生時刻として、当該キャラクターの位置を発生場所として、対応付けて前記記憶部に記憶して更新し、
前記計算部は、前記記憶されたイベントのそれぞれについて、
(p)当該観測角度と、前記記憶された観測点の現在位置から前記記憶されたイベントの発生場所への方向と前記記憶された基準方向とがなす角度と、の角度差と、
(q)当該イベントの発生時刻から現在までの経過時間と、
(r)当該イベントの発生場所から当該観測点の現在位置への距離と、
に基づく寄与パラメータ値を計算し、当該計算された寄与パラメータ値を積算した値を当該環境パラメータ値とし、
当該寄与パラメータ値は、当該角度差が大きくなると減少し、当該経過時間が長くなると減少し、当該距離が長くなると減少する
ことを特徴とするパラメータ処理装置。
The parameter processing apparatus according to claim 1,
The storage unit further stores the current position of the non-attention character placed in the virtual space, the generation type, the generation time, and the generation location of the event that occurred in the virtual space in association with each other,
For each of the attention character and the non-attention character in which the current position is stored, the repetition unit sets the type of the event associated with the type of the action performed by the character in advance as the generation type, and the time when the operation is performed As the generation time, the position of the character as the generation location, and the corresponding storage and update in the storage unit,
For each of the stored events, the calculation unit
(P) an angle difference between the observation angle and an angle formed by a direction from the current position of the stored observation point to the stored event occurrence place and the stored reference direction;
(Q) the elapsed time from the time of occurrence of the event to the present,
(R) the distance from the place where the event occurred to the current position of the observation point;
The contribution parameter value based on the above is calculated, and the value obtained by integrating the calculated contribution parameter value is set as the environmental parameter value.
The contribution parameter value decreases as the angle difference increases, decreases as the elapsed time increases, and decreases as the distance increases.
請求項1から3のいずれか1項に記載のパラメータ処理装置であって、
前記繰返部は、当該観測速度を前記計算部に与えるごとに発生させた乱数により修正値を決定し、当該決定された修正値を当該計算された環境パラメータ値に加算して修正し、当該計算された環境パラメータ値にかえて、当該修正された環境パラメータ値を、当該観測角度に対応付けて、前記記憶部に記憶させて更新する
ことを特徴とするパラメータ処理装置。
The parameter processing device according to any one of claims 1 to 3,
The repetition unit determines a correction value by a random number generated each time the observation speed is given to the calculation unit, adds the determined correction value to the calculated environmental parameter value, corrects the correction value, A parameter processing device, wherein the modified environmental parameter value is stored in the storage unit and updated in association with the observation angle instead of the calculated environmental parameter value.
請求項1から4のいずれか1項に記載のパラメータ処理装置であって、
前記表示部は、前記記憶された観測点から前記記憶された基準方向に当該仮想空間を見た画像をさらに表示し、
前記表示部は、当該角度に対して当該環境パラメータ値を半径とする極座標により、当該グラフを画面表示する
ことを特徴とするパラメータ処理装置。
The parameter processing device according to any one of claims 1 to 4, wherein:
The display unit further displays an image of the virtual space viewed from the stored observation point in the stored reference direction;
The parameter processing apparatus, wherein the display unit displays the graph on a screen with polar coordinates having the environment parameter value as a radius with respect to the angle.
記憶部、計算部、繰返部、表示部を備えるパラメータ処理装置にて実行されるパラメータ処理方法であって、
前記記憶部には、仮想空間内に配置される観測点の現在位置および基準方向と、当該仮想空間内に配置される注目キャラクターの現在位置と、が記憶され、環境パラメータ値と角度とが対応付けて記憶され、
前記計算部が、与えられた角度だけ、前記記憶された基準方向からずれた方向について、前記記憶された観測点の現在位置から観測される当該仮想空間内の環境パラメータ値を計算する計算工程、
前記繰返部が、あらかじめ定めた複数の観測角度のそれぞれについて、当該観測角度を前記計算部に与えることにより計算された環境パラメータ値を、当該観測角度に対応付けて、前記記憶部に記憶させて更新する繰返工程、
前記表示部が、前記記憶部に対応付けて記憶された環境パラメータ値と角度とを対応付けるグラフを画面表示する表示工程
を備え、
前記繰返工程では、当該観測角度と、前記記憶された観測点の現在位置から前記記憶された注目キャラクターの現在位置への方向と前記記憶された基準方向とがなす角度と、の角度差が所定の閾値範囲内であるか否かを判断し、
(a)当該所定の閾値範囲内である場合、所定の高頻度で当該観測角度を前記計算工程に与え、
(b)当該所定の閾値範囲内でない場合、当該所定の高頻度よりも低い所定の低頻度で、当該観測角度を前記計算工程に与え、
前記表示工程では、当該所定の高頻度以上の表示更新頻度で当該グラフの画面表示を更新する
ことを特徴とするパラメータ処理方法。
A parameter processing method executed by a parameter processing apparatus including a storage unit, a calculation unit, a repetition unit, and a display unit,
The storage unit stores the current position and reference direction of the observation point arranged in the virtual space and the current position of the target character arranged in the virtual space, and the environment parameter value corresponds to the angle. Remembered,
A calculation step in which the calculation unit calculates an environmental parameter value in the virtual space observed from the current position of the stored observation point with respect to a direction deviated from the stored reference direction by a given angle;
For each of a plurality of predetermined observation angles, the repetition unit stores the environmental parameter value calculated by giving the observation angle to the calculation unit in the storage unit in association with the observation angle. Recurring process,
The display unit includes a display step of displaying a graph associating an environmental parameter value and an angle stored in association with the storage unit on a screen,
In the repeating step, an angle difference between the observation angle and an angle formed by the direction from the current position of the stored observation point to the current position of the stored character of interest and the stored reference direction is calculated. Determine whether it is within a predetermined threshold range,
(A) If it is within the predetermined threshold range, the observation angle is given to the calculation step at a predetermined high frequency;
(B) if not within the predetermined threshold range, the observation angle is given to the calculation step at a predetermined low frequency lower than the predetermined high frequency;
In the display step, the screen display of the graph is updated at a display update frequency equal to or higher than the predetermined high frequency.
コンピュータを、
仮想空間内に配置される観測点の現在位置および基準方向と、当該仮想空間内に配置される注目キャラクターの現在位置と、を記憶し、環境パラメータ値と角度とを対応付けて記憶する記憶部、
与えられた角度だけ、前記記憶された基準方向からずれた方向について、前記記憶された観測点の現在位置から観測される当該仮想空間内の環境パラメータ値を計算する計算部、
あらかじめ定めた複数の観測角度のそれぞれについて、当該観測角度を前記計算部に与えることにより計算された環境パラメータ値を、当該観測角度に対応付けて、前記記憶部に記憶させて更新する繰返部、
前記記憶部に対応付けて記憶された環境パラメータ値と角度とを対応付けるグラフを画面表示する表示部
として機能させ、
前記繰返部は、当該観測角度と、前記記憶された観測点の現在位置から前記記憶された注目キャラクターの現在位置への方向と前記記憶された基準方向とがなす角度と、の角度差が所定の閾値範囲内であるか否かを判断し、
(a)当該所定の閾値範囲内である場合、所定の高頻度で当該観測角度を前記計算部に与え、
(b)当該所定の閾値範囲内でない場合、当該所定の高頻度よりも低い所定の低頻度で、当該観測角度を前記計算部に与え、
前記表示部は、当該所定の高頻度以上の表示更新頻度で当該グラフの画面表示を更新する
ように機能させることを特徴とするプログラム。
Computer
A storage unit that stores the current position and reference direction of the observation point arranged in the virtual space, the current position of the character of interest arranged in the virtual space, and stores the environment parameter value and the angle in association with each other ,
A calculation unit for calculating an environmental parameter value in the virtual space observed from the current position of the stored observation point for a direction deviated from the stored reference direction by a given angle;
For each of a plurality of predetermined observation angles, an iterative unit that updates an environmental parameter value calculated by giving the observation angle to the calculation unit in association with the observation angle and stores it in the storage unit ,
Functioning as a display unit for displaying on a screen a graph associating an environmental parameter value and an angle stored in association with the storage unit;
The repeating unit has an angular difference between the observation angle and an angle formed by the stored reference point and the stored reference direction from the current position of the stored observation point to the current position of the stored target character. Determine whether it is within a predetermined threshold range,
(A) If it is within the predetermined threshold range, the observation angle is given to the calculation unit at a predetermined high frequency,
(B) If not within the predetermined threshold range, the observation angle is given to the calculation unit at a predetermined low frequency lower than the predetermined high frequency,
The display unit functions to update the screen display of the graph at a display update frequency equal to or higher than the predetermined high frequency.
JP2006253912A 2006-09-20 2006-09-20 Parameter processing apparatus, parameter processing method, and program Active JP4244357B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006253912A JP4244357B2 (en) 2006-09-20 2006-09-20 Parameter processing apparatus, parameter processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006253912A JP4244357B2 (en) 2006-09-20 2006-09-20 Parameter processing apparatus, parameter processing method, and program

Publications (2)

Publication Number Publication Date
JP2008077275A JP2008077275A (en) 2008-04-03
JP4244357B2 true JP4244357B2 (en) 2009-03-25

Family

ID=39349282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006253912A Active JP4244357B2 (en) 2006-09-20 2006-09-20 Parameter processing apparatus, parameter processing method, and program

Country Status (1)

Country Link
JP (1) JP4244357B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090221368A1 (en) * 2007-11-28 2009-09-03 Ailive Inc., Method and system for creating a shared game space for a networked game

Also Published As

Publication number Publication date
JP2008077275A (en) 2008-04-03

Similar Documents

Publication Publication Date Title
US7868889B2 (en) Method of causing object to take motion using motion data
JP5106825B2 (en) GAME PROGRAM, GAME DEVICE, GAME SYSTEM, AND GAME CONTROL METHOD
US6670957B2 (en) Entertainment apparatus, storage medium and object display method
US9904982B2 (en) System and methods for displaying panoramic content
US20100245352A1 (en) Method and system for 3d object positioning in 3d virtual environments
US6762746B2 (en) Entertainment apparatus, storage medium and operation method of manipulating object
US11847714B2 (en) Information processing device, information processing method, and information processing program
EP2065854B1 (en) posture dependent normal vectors for texture mapping
JP4244357B2 (en) Parameter processing apparatus, parameter processing method, and program
US6989832B2 (en) Entertainment apparatus, storage medium and object display method
US7621812B2 (en) Game system and game program
US7576739B2 (en) Storage medium having game program stored therein, and game apparatus and game processing method therefor
JP3005581B1 (en) Image creation device, image creation method, readable recording medium on which image creation program is recorded, and video game device
JP2003216983A (en) Three-dimensional map display
CN112473138B (en) Game display control method and device, readable storage medium and electronic equipment
US20050020362A1 (en) Game system and game program
JP4443716B2 (en) GAME DEVICE AND INFORMATION STORAGE MEDIUM
JP6091676B2 (en) 3D map display system
JP2005141647A (en) Program, information storage medium and image generating system
US20180290055A1 (en) Rhythm game displaying method and terminal for performing the method
JP4726336B2 (en) Image display device, image display method, information storage medium, and image display program
JP6960968B2 (en) Programs and servers
JP5964611B2 (en) 3D map display system
KR100546865B1 (en) The method and system for rendering surface slope using a slope vector
JP2007267851A (en) Program, information storage medium and image generation system

Legal Events

Date Code Title Description
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: 20081224

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: 20081226

R150 Certificate of patent or registration of utility model

Ref document number: 4244357

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: 20120116

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130116

Year of fee payment: 4

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: 20140116

Year of fee payment: 5

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

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