JP2020116296A - Game program, recording medium, and game processing method - Google Patents
Game program, recording medium, and game processing method Download PDFInfo
- Publication number
- JP2020116296A JP2020116296A JP2019011829A JP2019011829A JP2020116296A JP 2020116296 A JP2020116296 A JP 2020116296A JP 2019011829 A JP2019011829 A JP 2019011829A JP 2019011829 A JP2019011829 A JP 2019011829A JP 2020116296 A JP2020116296 A JP 2020116296A
- Authority
- JP
- Japan
- Prior art keywords
- transparency
- virtual camera
- processing unit
- transparent
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims description 8
- 238000012545 processing Methods 0.000 claims abstract description 116
- 230000010365 information processing Effects 0.000 claims abstract description 31
- 238000000034 method Methods 0.000 claims description 39
- 230000008569 process Effects 0.000 claims description 20
- 238000013459 approach Methods 0.000 claims description 2
- 230000003287 optical effect Effects 0.000 description 29
- 238000012986 modification Methods 0.000 description 10
- 230000004048 modification Effects 0.000 description 10
- 230000000694 effects Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000000052 comparative effect Effects 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 241001465754 Metazoa Species 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 239000002775 capsule Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Images
Landscapes
- Processing Or Creating Images (AREA)
- Image Generation (AREA)
Abstract
Description
本発明は、ゲームプログラム、当該ゲームプログラムが記録された記録媒体、及びゲーム処理方法に関する。 The present invention relates to a game program, a recording medium on which the game program is recorded, and a game processing method.
従来、仮想的な3次元空間であるオブジェクト空間内において仮想カメラから見える画像を生成する画像生成システムにおいて、プレイヤの視点とキャラクタとの間に障害物となるオブジェクトが入り込んだ場合に、プレイヤの視界がその障害物オブジェクトによりふさがれてしまいキャラクタの周辺がプレイヤから見えなくなることを防止する画像処理技術が知られている。 Conventionally, in an image generation system that generates an image viewed from a virtual camera in an object space that is a virtual three-dimensional space, when an object that becomes an obstacle enters between the player's viewpoint and the character, the player's visual field is changed. There is known an image processing technology for preventing the player from being obscured by the obstacle object and hiding the periphery of the character from the player.
例えば特許文献1には、視点から見て第1のオブジェクトが第2のオブジェクトの奥側にあると判断され、第1のオブジェクトの透視変換画像が第2のオブジェクトの透視変換画像に重なった場合に、第2のオブジェクトを透過して第1のオブジェクトを視点から見えるようにした画像生成システムが記載されている。
For example, in
上記従来技術では、オブジェクトの全体に対して透過処理を行うため、例えば壁や塀等のオブジェクトの全体が透過されてその向こう側が見えてしまう等、開発者がプレイヤに見せることを意図していない画像が表示されてしまう可能性があった。 In the above-mentioned conventional technique, since the transparent processing is performed on the entire object, the developer is not intended to be shown to the player, for example, the entire object such as a wall or a fence is transparent and the other side is visible. The image might be displayed.
本発明はこのような問題点に鑑みてなされたものであり、オブジェクトの透過処理により開発者の意図しない画像が表示されることを防止できるゲームプログラム、記録媒体、及びゲーム処理方法を提供することを目的とする。 The present invention has been made in view of the above problems, and provides a game program, a recording medium, and a game processing method capable of preventing an image not intended by the developer from being displayed due to the transparent processing of an object. With the goal.
上記目的を達成するために、本発明のゲームプログラムは、情報処理装置を、仮想的な3次元空間内において仮想カメラから見える画像を生成する画像生成処理部、前記画像を生成する際に、前記3次元空間内に配置された第1のオブジェクトの位置から前記仮想カメラの位置までの範囲に亘って存在する透明化オブジェクトを設定する透明化オブジェクト設定処理部、前記画像を生成する際に、前記3次元空間内に配置された第2のオブジェクトの前記透明化オブジェクトと接触する部分に透明化処理を実行する透明化実行処理部、として機能させる。 In order to achieve the above object, the game program of the present invention includes an information processing device, an image generation processing unit that generates an image viewed from a virtual camera in a virtual three-dimensional space, and when generating the image, A transparent object setting processing unit that sets a transparent object existing over a range from the position of the first object arranged in the three-dimensional space to the position of the virtual camera; The second object arranged in the three-dimensional space is caused to function as a transparentization execution processing unit that executes a transparentization process on a portion that comes into contact with the transparentized object.
上記目的を達成するために、本発明の記録媒体は、上記ゲームプログラムを記録した、情報処理装置が読み取り可能な記録媒体である。 In order to achieve the above object, the recording medium of the present invention is a recording medium in which the game program is recorded and which can be read by an information processing device.
上記目的を達成するために、本発明のゲーム処理方法は、情報処理装置によって実行されるゲーム処理方法であって、仮想的な3次元空間内において仮想カメラから見える画像を生成するステップと、前記画像を生成する際に、前記3次元空間内に配置された第1のオブジェクトの位置から前記仮想カメラの位置までの範囲に亘って存在する透明化オブジェクトを設定するステップと、前記画像を生成する際に、前記3次元空間内に配置された第2のオブジェクトの前記透明化オブジェクトと接触する部分に透明化処理を実行するステップと、を有する。 In order to achieve the above object, a game processing method of the present invention is a game processing method executed by an information processing device, the method comprising: generating an image viewed from a virtual camera in a virtual three-dimensional space; When generating an image, a step of setting a transparent object existing over a range from the position of the first object arranged in the three-dimensional space to the position of the virtual camera, and generating the image At this time, a step of performing a transparentization process on a portion of the second object arranged in the three-dimensional space that comes into contact with the transparentized object.
本発明のゲームプログラム等によれば、オブジェクトの透過処理により開発者の意図しない画像が表示されることを防止できる。 According to the game program and the like of the present invention, it is possible to prevent an image not intended by the developer from being displayed due to the transparent processing of the object.
以下、本発明の一実施の形態について図面を参照しつつ説明する。 An embodiment of the present invention will be described below with reference to the drawings.
<1.ゲームシステムの全体構成>
まず、図1を用いて、本実施形態に係るゲームシステム1の全体構成の一例について説明する。図1に示すように、ゲームシステム1は、情報処理装置3と、ゲームコントローラ5と、表示装置7を有する。ゲームコントローラ5及び表示装置7の各々は、情報処理装置3と有線又は無線により通信可能に接続されている。
<1. Overall configuration of game system>
First, an example of the overall configuration of the
情報処理装置3は、例えば据え置き型のゲーム機である。但しこれに限定されるものではなく、例えば入力部や表示部等を一体に備えた携帯型のゲーム機でもよい。また、ゲーム機以外にも、例えば、サーバコンピュータ、デスクトップ型コンピュータ、ノート型コンピュータ、タブレット型コンピュータ等のように、コンピュータとして製造、販売等されているものや、スマートフォン、携帯電話、ファブレット等のように、電話機として製造、販売等されているものでもよい。
The
プレイヤは、ゲームコントローラ5を用いて各種の操作入力を行う。図1に示す例では、ゲームコントローラ5は例えば十字キー9や複数のボタン11等を有する。なお、ゲームコントローラ5は上記に代えて又は加えて、例えばジョイスティックやタッチパッド等を有してもよい。
The player uses the
<2.ゲームの概略内容>
次に、本実施形態に係るゲーム、すなわち、本発明のゲームプログラム及びゲーム処理方法が情報処理装置3によって実行されることにより提供されるゲームの概略内容の一例について説明する。
<2. Outline of game>
Next, an example of the outline content of the game according to the present embodiment, that is, the game provided by the game program and the game processing method of the present invention being executed by the
本実施形態に係るゲームでは、プレイヤが操作可能なプレイヤキャラクタ(第1のオブジェクトの一例)が、仮想的な3次元空間であるゲームフィールド上を移動しながらステージを進めていく。仮想的な3次元空間内においては、プレイヤキャラクタを被写体としつつプレイヤの操作によっても移動可能な仮想カメラから見える画像が生成される。プレイヤキャラクタは、敵キャラクタと遭遇した場合には戦闘を行う。ゲームフィールドには、プレイヤキャラクタや敵キャラクタの背景を構成する多数の背景オブジェクト(第2のオブジェクトの一例)が配置される。 In the game according to the present embodiment, a player character (one example of the first object) that can be operated by the player advances the stage while moving on the game field, which is a virtual three-dimensional space. In the virtual three-dimensional space, an image viewed from a virtual camera that is movable by the player's operation while the player character is the subject is generated. The player character fights when it encounters an enemy character. In the game field, a large number of background objects (an example of a second object) constituting the background of the player character and the enemy character are arranged.
なお、「第1のオブジェクト」は、本実施形態のように例えば人間のキャラクタに限定されるものではなく、人間以外の動物、人間や動物以外の生物、仮想的な生物(例えば怪物、ゴースト、妖怪等)、ロボットやアンドロイド、物品や物体などのオブジェクト等でもよい。 Note that the “first object” is not limited to, for example, a human character as in the present embodiment, and may be an animal other than a human, a human or a non-animal creature, or a virtual creature (for example, a monster, ghost, Youkai, etc.), robots, androids, objects such as articles and objects, and the like.
本実施形態に係るゲームでは、仮想カメラとプレイヤキャラクタとの間に障害物となる背景オブジェクトが入り込んだ場合でも、背景オブジェクトを部分的に透明化して、プレイヤキャラクタがプレイヤの視界から見えなくなることを防止する。以下、この内容について詳細に説明する。 In the game according to the present embodiment, even if a background object that becomes an obstacle enters between the virtual camera and the player character, the background object is partially made transparent so that the player character cannot be seen from the player's view. To prevent. Hereinafter, this content will be described in detail.
<3.情報処理装置の機能的構成>
次に、図2及び図3〜図13を用いて、情報処理装置3の機能的構成の一例について説明する。
<3. Functional configuration of information processing device>
Next, an example of the functional configuration of the
図2に示すように、情報処理装置3は、画像生成処理部13と、第1衝突判定用オブジェクト設定処理部15と、第2衝突判定用オブジェクト設定処理部17と、衝突判定処理部19と、透明化オブジェクト設定処理部21と、透明化実行処理部23とを有する。
As shown in FIG. 2, the
画像生成処理部13は、仮想的な3次元空間内において仮想カメラ(視点)から見える画像を生成する。仮想カメラは、プレイヤキャラクタを被写体とするように自動的に移動する。また、プレイヤの操作によって、例えばプレイヤキャラクタの周りを旋回したり、カメラの向きを変えたり、高さ方向やプレイヤキャラクタに対して遠近する方向等に移動することが可能である。
The image
第1衝突判定用オブジェクト設定処理部15は、プレイヤキャラクタの位置から仮想カメラの位置までの範囲に亘って存在する直方体形状の第1の衝突判定用オブジェクトを設定する。「プレイヤキャラクタの位置」は、処理上設定されるプレイヤキャラクタの基準となる位置であり、例えばプレイヤキャラクタの中心位置である。但し、プレイヤキャラクタの特定の部位(例えば顔)や、身体の表面、近傍位置等も含まれる。「仮想カメラの位置」は、処理上設定される仮想カメラ(視点)の基準となる位置であり、例えば仮想カメラのレンズの中心位置(光軸の位置)である。但し、仮想カメラの近傍位置等も含まれる。
The first collision determination object setting
第1の衝突判定用オブジェクトは、直方体形状の軸平行境界ボックス(AABB:Axis−Aligned Bounding Box)であり、直方体の各面の法線がゲームフィールドのワールド座標系のX軸、Y軸、Z軸のそれぞれと平行となるように設定される。第1の衝突判定用オブジェクトは、例えばプレイヤキャラクタの位置と仮想カメラの位置とをつなぐカプセルコリジョンを包含するように設定される。 The first collision determination object is a rectangular parallelepiped axis-parallel bounding box (AABB: Axis-Aligned Bounding Box), and normals of each surface of the rectangular parallelepiped are X-axis, Y-axis, and Z-axis of the world coordinate system of the game field. It is set to be parallel to each of the axes. The first collision determination object is set so as to include, for example, a capsule collision that connects the position of the player character and the position of the virtual camera.
第2衝突判定用オブジェクト設定処理部17は、背景オブジェクトを包含する直方体形状の第2の衝突判定用オブジェクトを設定する。第2の衝突判定用オブジェクトは、第1の衝突判定用オブジェクトと同様、直方体形状の軸平行境界ボックスであり、直方体の各面の法線がゲームフィールドのワールド座標系のX軸、Y軸、Z軸のそれぞれと平行となるように設定される。ゲームフィールドには多様な形状の大小様々な背景オブジェクトが配置されるが、第2の衝突判定用オブジェクトは、各背景オブジェクトに対して設定される。
The second collision determination object setting
衝突判定処理部19は、上記第1衝突判定用オブジェクト設定処理部15により設定された第1の衝突判定用オブジェクトと、上記第2衝突判定用オブジェクト設定処理部17により設定された第2の衝突判定用オブジェクトとの衝突の有無を、公知の軸平行境界ボックスによる衝突判定手法により判定する。
The collision
図3〜図5に、衝突判定用オブジェクトの一例を示す。図3は、仮想カメラと各オブジェクトの配置を説明するための説明図である。図3に示す例では、仮想的な3次元空間内に、プレイヤキャラクタ25と、床27、壁29,31,33、柱35等の背景オブジェクトと、仮想カメラ37が配置されている。仮想カメラ37は、光軸39がプレイヤキャラクタ25の基準位置41を向くように配置されている。
3 to 5 show an example of a collision determination object. FIG. 3 is an explanatory diagram for explaining the arrangement of the virtual camera and each object. In the example shown in FIG. 3, a
図4に示すように、第1の衝突判定用オブジェクト43は、プレイヤキャラクタ25の基準位置41から仮想カメラ37の基準位置45までの範囲に亘って存在するように、且つ、直方体の各面の法線がワールド座標系47のX軸、Y軸、Z軸のそれぞれと平行となるように、設定される。
As shown in FIG. 4, the first
図5に示すように、第2の衝突判定用オブジェクト49は、背景オブジェクトである柱35をそれぞれ包含するように、且つ、直方体の各面の法線がワールド座標系47のX軸、Y軸、Z軸のそれぞれと平行となるように、それぞれ設定される。なお、図5では図示を省略しているが、柱35以外の床27や壁29,31,33についても第2の衝突判定用オブジェクトが設定されてもよい。
As shown in FIG. 5, the second
上述のようにして設定された第1の衝突判定用オブジェクト43と第2の衝突判定用オブジェクト49との衝突の有無が判定される。衝突判定用オブジェクト43,49はワールド座標系47に対して同じ向きであるため、衝突判定の処理を高速に実行できると共に処理負荷を大幅に軽減できる。
Whether or not there is a collision between the first
図2に戻り、透明化オブジェクト設定処理部21は、仮想カメラ37による画像を生成する際に、3次元空間内に配置されたプレイヤキャラクタ25の基準位置41から仮想カメラ37の基準位置45までの範囲に亘って存在する透明化オブジェクトを設定する。透明化オブジェクトは、プレイヤキャラクタ25の基準位置41と仮想カメラ37の基準位置45とを結ぶ光軸39(軸の一例)に対する径がプレイヤキャラクタ25から仮想カメラ37に向けて大きくなる形状となるように設定される。より詳細には、透明化オブジェクトは、プレイヤキャラクタ25側の先端が尖り、且つ、光軸39に対する径がプレイヤキャラクタ25から仮想カメラ37に向けて曲線状に拡大する形状となるように設定される。
Returning to FIG. 2, the transparentized object setting
透明化実行処理部23は、仮想カメラ37による画像を生成する際に、3次元空間内に配置された背景オブジェクトの、上記透明化オブジェクト設定処理部21により設定された透明化オブジェクトと接触する部分に透明化処理を実行する。このとき、透明化実行処理部23は、上述した衝突判定処理部19により衝突があったと判定された第2の衝突判定用オブジェクト49に対応した衝突オブジェクトに対してのみ透明化処理を実行する。
The transparentization execution processing unit 23 is a portion of the background object arranged in the three-dimensional space that is in contact with the transparentized object set by the transparentized object setting
なお、「透明化処理」は透明化(透明度100%)する処理と半透明化(透明度が100%未満)する処理の両方を含む。透明化する場合には、本来描画される背景オブジェクトの該当するピクセルを描画しないようにする。また、半透明化する場合には、描画するピクセルと描画しないピクセルを透明度に応じた割合となるように配置することによって行う(いわゆるディザリング)。透明化実行処理部23は、光軸39に近づくにつれて透明度が高くなるように、背景オブジェクトの透明化オブジェクトと接触する部分に透明化処理を実行する。
The "transparency treatment" includes both a treatment for making transparency (transparency 100%) and a treatment for making it semitransparent (transparency less than 100%). When making it transparent, the corresponding pixel of the originally drawn background object is not drawn. In the case of semi-transparency, pixels to be drawn and pixels to be not drawn are arranged so as to have a ratio according to transparency (so-called dithering). The transparency execution processing unit 23 performs a transparency process on a portion of the background object that comes into contact with the transparency object so that the transparency becomes higher as it approaches the
なお、「背景オブジェクトの透明化オブジェクトと接触する部分」の判定は、両者の位置や形状の情報を使用して厳密に行ってもよいが、処理負荷を軽減するために簡易的な手法(後述の図12参照)を採用してもよい。すなわち、当該簡易的手法により「厳密には透明化オブジェクトと接触していないが実質的に透明化オブジェクトと接触しているとみなせる部分」を含むものとする。 It should be noted that the determination of the “portion of the background object that comes into contact with the transparentized object” may be made strictly using information on the positions and shapes of both, but a simple method (described later) to reduce the processing load. 12) may be adopted. That is, it is assumed to include “a portion which is not in contact with the transparentized object in a strict sense but which can be regarded as being in contact with the transparentized object” by the simple method.
図6〜図11に、透明化オブジェクトの形状の例を示す。図6に示す透明化オブジェクト51は、光軸39に対する径がプレイヤキャラクタ25から仮想カメラ37に向けて大きくなる形状であり、且つ、プレイヤキャラクタ25側の先端が尖り、光軸39に対する径がプレイヤキャラクタ25から仮想カメラ37に向けて曲線状に拡大する形状となるように設定されている。透明化オブジェクト51は、仮想カメラ37側の端部に光軸39に垂直な円形状の端面55を有する。
6 to 11 show examples of the shape of the transparentized object. The
図7は、図6に示す透明化オブジェクト51の曲面形状を説明するためのグラフである。図7に示す曲線は、透明化オブジェクト51を、仮想カメラ37のカメラ座標系53(基準位置45を原点としZ軸が光軸39と一致する)におけるZ軸を含む断面で見た場合における曲面形状を表している。言い換えると、透明化オブジェクト51は、図7に示す曲線を光軸39周りに回転させることにより生成される回転体である。図7において、グラフの横軸xは、透明化オブジェクト51のプレイヤキャラクタ25側の先端(基準位置41)から仮想カメラ37側の端面55への距離の割合を表しており、x=0で先端位置(基準位置41)、x=1で端面55の中心位置となる。グラフの縦軸yは、端面55の半径に乗算する値である。
FIG. 7 is a graph for explaining the curved surface shape of the
図7に示す曲線は、例えば次式の関数h(x)で表される。
f(x)=−x+1
g(x)=x2
h(x)=f(g(f(x)))
なお、log(対数関数)を使うことでも同様の曲線を生成できるが、上記関数h(x)を使用することで計算負荷を軽減できる。
The curve shown in FIG. 7 is represented by, for example, the function h(x) of the following equation.
f(x)=-
g(x)=x 2
h(x)=f(g(f(x)))
A similar curve can be generated by using log (logarithmic function), but the calculation load can be reduced by using the function h(x).
透明化オブジェクト51の形状とする場合には、以下のような効果が得られる。すなわち、透明化オブジェクト51のプレイヤキャラクタ25側の先端を尖らせることができるので、プレイヤキャラクタ25の近くにはあるが表示の障害とはならない背景オブジェクトを透明化の処理対象から除外し易くなる。また、透明化オブジェクト51は例えば直線状に拡大する形状の場合に比べて膨らみがあるため、プレイヤキャラクタ25の表示の障害とはならないがカメラ画像に割り込んで視界の煩雑さを招き易い、仮想カメラ37から近い距離にある背景オブジェクトを、より透明化し易くなる。したがって、仮想カメラ37の視界をより良好にできる。
When the shape of the
図8に示す透明化オブジェクト57も同様に、光軸39に対する径がプレイヤキャラクタ25から仮想カメラ37に向けて大きくなる形状であり、且つ、プレイヤキャラクタ25側の先端が尖り、光軸39に対する径がプレイヤキャラクタ25から仮想カメラ37に向けて曲線状に拡大する形状となるように設定されている。透明化オブジェクト57は、仮想カメラ37側の端部に光軸39に垂直な円形状の端面59を有する。
Similarly, the
図9は、図8に示す透明化オブジェクト57の曲面形状を説明するためのグラフである。透明化オブジェクト57は、図9に示す曲線を光軸39周りに回転させることにより生成される回転体である。
FIG. 9 is a graph for explaining the curved surface shape of the
図9に示す曲線は、例えば次式の関数g(x)で表される。
g(x)=x2
The curve shown in FIG. 9 is represented by, for example, a function g(x) of the following equation.
g(x)=x 2
透明化オブジェクト57の形状とする場合には、以下のような効果が得られる。すなわち、透明化オブジェクト57のプレイヤキャラクタ25側の先端をより一層尖らせることができるので、プレイヤキャラクタ25の近くにはあるが表示の障害とはならない背景オブジェクトを透明化の処理対象からさらに除外し易くなる。したがって、プレイヤキャラクタ25の近くにある重要な情報の表示を阻害しないようにできる。
When the shape of the
図10に示す透明化オブジェクト61も同様に、光軸39に対する径がプレイヤキャラクタ25から仮想カメラ37に向けて大きくなる形状であり、且つ、プレイヤキャラクタ25側の先端が尖り、光軸39に対する径がプレイヤキャラクタ25から仮想カメラ37に向けて曲線状に拡大する形状となるように設定されている。透明化オブジェクト61は、仮想カメラ37側の端部に光軸39に垂直な円形状の端面63を有する。
Similarly, the transparent object 61 shown in FIG. 10 has a shape in which the diameter with respect to the
図11は、図10に示す透明化オブジェクト61の曲面形状を説明するためのグラフである。透明化オブジェクト61は、図11に示す曲線を光軸39周りに回転させることにより生成される回転体である。
FIG. 11 is a graph for explaining the curved surface shape of the transparentized object 61 shown in FIG. The transparent object 61 is a rotating body generated by rotating the curve shown in FIG. 11 around the
図11に示す曲線は、例えば次式の関数i(x)で表される。
i(x)=−2x3+3x2
The curve shown in FIG. 11 is represented by, for example, the function i(x) of the following equation.
i (x) = - 2x 3 + 3x 2
透明化オブジェクト61の形状とする場合には、上記透明化オブジェクト51,57の双方の効果が得られる。
When the shape of the transparent object 61 is used, the effects of both the
図12に、透明化処理を実行する際の接触判定手法の一例を示す。図12に示す円は、上述した透明化オブジェクト51,57,61をカメラ座標系53のZ軸に垂直な任意の位置の断面で見た形状を表している。円の半径aは、上述した関数h(x)、g(x)、i(x)によりZ軸位置に応じて求められる。
FIG. 12 shows an example of a contact determination method when executing the transparency processing. The circle shown in FIG. 12 represents the shape of the above-described
図12において、例えばピクセルP1に対する処理は次のように行われる。まず、ピクセルP1と透明化オブジェクトの中心線(光軸39)との間に垂線ベクトル65を生成し、当該垂線ベクトル65のカメラ座標系53におけるXZ平面での長さをX1として、当該X1の値を用いて円の式(x2+y2=a2)よりY1を算出する。このY1の値と垂線ベクトル65の長さL1とを比較し、Y1がL1よりも大きい場合には透明化処理を実行する。ピクセルP1の場合にはY1がL1よりも大きいので、ピクセルP1には透明化処理が実行される。
In FIG. 12, for example, the process for the pixel P1 is performed as follows. First, a
ピクセルP2に対する処理も上記と同様である。まず、ピクセルP2と透明化オブジェクトの中心線(光軸39)との間に垂線ベクトル67を生成し、当該垂線ベクトル67のカメラ座標系53におけるXZ平面での長さをX2として、当該X2の値を用いて円の式(x2+y2=a2)よりY2を算出する。このY2の値と垂線ベクトル67の長さL2とを比較すると、Y2がL2よりも小さいので、ピクセルP2には透明化処理が実行されない。
The process for the pixel P2 is similar to the above. First, a
図13に、透明化処理が実行された場合の画像の一例を示す。図13に示す例では、プレイヤキャラクタ25と仮想カメラ37との間に柱35が存在しており、上述した画像処理によって柱35が部分的に半透明化されている。半透明化は、プレイヤキャラクタ25に近づくにつれて透明度が高くなるように行われる。
FIG. 13 shows an example of an image when the transparency processing is executed. In the example shown in FIG. 13, a
なお、以上説明した各処理部における処理等は、これらの処理の分担の例に限定されるものではなく、例えば、更に少ない数の処理部(例えば1つの処理部)で処理されてもよく、また、更に細分化された処理部により処理されてもよい。また、上述した各処理部の機能は、後述するCPU101(後述の図21参照)が実行するゲームプログラムにより実装されるものであるが、例えばその一部がASICやFPGA等の専用集積回路、その他の電気回路等の実際の装置により実装されてもよい。 Note that the processing and the like in each processing unit described above is not limited to an example of sharing of these processing, and may be processed by a smaller number of processing units (for example, one processing unit), In addition, it may be processed by a further subdivided processing unit. The functions of the processing units described above are implemented by a game program executed by a CPU 101 (see FIG. 21 described later) described later. For example, some of them are dedicated integrated circuits such as ASIC and FPGA, and others. It may be implemented by an actual device such as an electric circuit of.
<4.情報処理装置が実行する処理手順>
次に、図14を用いて、情報処理装置3のCPU101によって実行される処理手順の一例について説明する。
<4. Processing procedure executed by information processing device>
Next, an example of a processing procedure executed by the
ステップS10では、情報処理装置3は、画像生成処理部13により、仮想的な3次元空間内において仮想カメラ37による画像を生成する。
In step S10, the
ステップS20では、情報処理装置3は、第1衝突判定用オブジェクト設定処理部15により、プレイヤキャラクタ25と仮想カメラ37の間に直方体形状の第1の衝突判定用オブジェクト43を設定する。
In step S20, the
ステップS30では、情報処理装置3は、第2衝突判定用オブジェクト設定処理部17により、背景オブジェクトを包含する直方体形状の第2の衝突判定用オブジェクト49を設定する。
In step S30, the
ステップS40では、情報処理装置3は、衝突判定処理部19により、上記ステップS20で設定された第1の衝突判定用オブジェクト43と、上記ステップS30で設定された第2の衝突判定用オブジェクト49との衝突の有無を判定する。衝突がない場合には(ステップS40:NO)、後述するステップS70に直接移る。一方、衝突があった場合には(ステップS40:YES)、ステップS50に移る。
In step S40, the
ステップS50では、情報処理装置3は、透明化オブジェクト設定処理部21により、プレイヤキャラクタ25と仮想カメラ37の間に透明化オブジェクト51,57,61を設定する。
In step S50, the
ステップS60では、情報処理装置3は、透明化実行処理部23により、背景オブジェクトの上記ステップS50で設定された透明化オブジェクト51,57,61と接触する部分に透明化処理を実行する。
In step S60, the
ステップS70では、情報処理装置3は、プレイヤによりゲーム終了の指示が行われたか否かを判定する。ゲーム終了の指示が行われていない場合には(ステップS70:NO)、先のステップS10に戻り、同様の手順を繰り返す。一方、ゲーム終了の指示が行われた場合には(ステップS70:YES)、本フローチャートを終了する。
In step S70, the
なお、上述した処理手順は一例であって、上記手順の少なくとも一部を削除又は変更してもよいし、上記以外の手順を追加してもよい。また、上記手順の少なくとも一部の順番を変更してもよいし、複数の手順が単一の手順にまとめられてもよい。 Note that the processing procedure described above is an example, and at least a part of the procedure may be deleted or changed, or a procedure other than the above may be added. Further, the order of at least a part of the above procedure may be changed, or a plurality of procedures may be combined into a single procedure.
<5.実施形態の効果>
本実施形態のゲームプログラムは、情報処理装置3を、仮想的な3次元空間内において仮想カメラ37から見える画像を生成する画像生成処理部13、画像を生成する際に、3次元空間内に配置されたプレイヤキャラクタ25の基準位置41から仮想カメラ37の基準位置45までの範囲に亘って存在する透明化オブジェクト51,57,61を設定する透明化オブジェクト設定処理部21、画像を生成する際に、3次元空間内に配置された背景オブジェクト35(上記実施形態では柱35)の透明化オブジェクト51,57,61と接触する部分に透明化処理を実行する透明化実行処理部23、として機能させる。
<5. Effect of Embodiment>
The game program of the present embodiment arranges the
これにより、仮想カメラ37とプレイヤキャラクタ25との間に障害物となる背景オブジェクト35が入り込んだ場合でも、背景オブジェクト35を部分的に透明化して、プレイヤキャラクタ25が見えなくなることを防止できる。このとき、背景オブジェクト35の全体について透明化を行うのではなく必要な部分のみについて透明化を行うので、開発者の意図しないオブジェクト等が見えてしまうことを防止できる。また、オブジェクト全体の透明化を回避するために例えばオブジェクトを細かく分断して作成しておく等の必要もなくなるので、開発工数やコストが増大することを防止できる。
As a result, even if the
また、本実施形態では特に、ゲームプログラムは、情報処理装置3を、プレイヤキャラクタ25の基準位置41から仮想カメラ37の基準位置45までの範囲に亘って存在する直方体形状の第1の衝突判定用オブジェクト43を設定する第1衝突判定用オブジェクト設定処理部15、背景オブジェクト35を包含する直方体形状の第2の衝突判定用オブジェクト49を設定する第2衝突判定用オブジェクト設定処理部17、第1の衝突判定用オブジェクト43と第2の衝突判定用オブジェクト49との衝突の有無を判定する衝突判定処理部19、としてさらに機能させ、透明化実行処理部23は、衝突があったと判定された第2の衝突判定用オブジェクト49に対応した背景オブジェクト35の透明化オブジェクト51,57,61と接触する部分に透明化処理を実行する。
Further, particularly in the present embodiment, the game program uses the
本実施形態では、衝突判定により衝突があったと判定された背景オブジェクト35に対してのみ透明化処理を実行する。これにより、プレイヤキャラクタ25の表示の障害とならない背景オブジェクト35に対しては透明化を行わず、障害となる背景オブジェクト35に対してのみ透明化を行うことができるので、情報処理装置3の処理負荷を軽減できる。また、衝突判定をいわゆる軸平行境界ボックスにより行うので、衝突判定の処理を高速に実行できると共に処理負荷を大幅に軽減できる。
In the present embodiment, the transparency processing is executed only for the
また、本実施形態では特に、透明化オブジェクト設定処理部21は、プレイヤキャラクタ25と仮想カメラ37とを結ぶ光軸39に対する径がプレイヤキャラクタ25から仮想カメラ37に向けて大きくなる形状の透明化オブジェクト51,57,61を設定する。
Further, particularly in the present embodiment, the transparent object
これによる効果を比較例を用いて説明する。図15は、光軸39に対する径が仮想カメラ37からプレイヤキャラクタ25に向けて大きくなる形状の透明化オブジェクト69が設定された比較例における配置の一例を説明するための説明図であり、図16は図15に示す仮想カメラ37による画像の一例である。この場合、図15及び図16に示すように、プレイヤキャラクタ25の近くにはあるがプレイヤキャラクタ25の表示の障害とはならないオブジェクト71(例えば宝箱等)を透明化してしまう可能性がある。また、仮想カメラ37から近い距離にあるオブジェクト73(例えば柱、壁、塀等)については透明化されず、図16に示すようにカメラ画像に割り込んで視界の煩雑さを招く可能性がある。
The effect by this is demonstrated using a comparative example. FIG. 15 is an explanatory diagram for explaining an example of the arrangement in the comparative example in which the
一方、本実施形態では、透明化オブジェクト51,57,61(図17では代表して透明化オブジェクト51を示す)を上述の形状に設定することにより、プレイヤキャラクタ25の近くにはあるが表示の障害とならないオブジェクト71を透明化の処理対象から除外し易くなる。その一方で、プレイヤキャラクタ25の表示の障害とはならなくともカメラ画像に割り込んで視界の煩雑さを招き易い、仮想カメラ37から近い距離にあるオブジェクト73については、透明化の処理対象に含め易くなる。その結果、図18に示すように、障害とならないオブジェクト71の透明化を回避しつつ良好なカメラの視界を確保できる。
On the other hand, in the present embodiment, by setting the
また、本実施形態では特に、透明化オブジェクト設定処理部21は、プレイヤキャラクタ25側の先端が尖り、且つ、光軸39に対する径がプレイヤキャラクタ25から仮想カメラ37に向けて曲線状に拡大する形状の透明化オブジェクト51,57,61を設定する。
Further, particularly in the present embodiment, the transparent object
透明化オブジェクト51,57,61のプレイヤキャラクタ25側の先端を尖らせることにより、プレイヤキャラクタ25の近くにはあるが表示の障害とならないオブジェクトを透明化の処理対象からより除外し易くなる。また、透明化オブジェクト51,57,61の径を仮想カメラ37に向けて曲線状に拡大する形状とすることにより、特に透明化オブジェクト51,61の場合には、仮想カメラ37から近い距離にあるオブジェクトをより透明化し易くなり、カメラの視界をより良好にできる。
By sharpening the tips of the
また、本実施形態では特に、透明化実行処理部23は、光軸39に近づくにつれて透明度が高くなるように、背景オブジェクト35の透明化オブジェクト51,57,61と接触する部分に透明化処理を実行する。
Further, particularly in the present embodiment, the transparency execution processing unit 23 performs the transparency process on the portions of the
これにより、仮想カメラ37の視界の中央部分については透明度を高くしてプレイヤキャラクタ25の視認性を確保することができる。また、視界の中央部分から離れるにつれて透明度を徐々に低くすることで、図13に示すように、背景オブジェクト35の描画の変化が連続的となり、半透明化が実行されている部分と実行されていない部分との境界を不明瞭にできる。その結果、見た目に不自然な透過画像(例えばオブジェクトに穴がぽっかり空いた画像)となるのを防止できる。
Accordingly, the transparency of the central portion of the field of view of the
<6.変形例等>
なお、本発明は、上記の実施形態に限られるものではなく、その趣旨及び技術的思想を逸脱しない範囲内で種々の変形が可能である。
<6. Modifications>
The present invention is not limited to the above embodiment, and various modifications can be made without departing from the spirit and technical idea of the present invention.
例えば、以上では透明化オブジェクトの仮想カメラ37側の端面が円形である場合について説明したが、当該端面の形状を楕円形状としてもよい。本変形例では、透明化オブジェクト設定処理部21は、仮想カメラ37側の端部に光軸39に垂直な楕円形状の端面(図示省略)を有する透明化オブジェクト51A,57A,61A(図示省略)を設定する。
For example, although the case where the end surface of the transparentized object on the
図19に、本変形例における透明化処理を実行する際の接触判定手法の一例を示す。図19の楕円は、前述した透明化オブジェクト51,57,61をカメラ座標系53におけるY方向に長くした透明化オブジェクト51A,57A,61Aを、カメラ座標系53のZ軸に垂直な任意の位置の断面で見た形状を表している。楕円の短半径a及び長半径bは、上述した関数h(x)、g(x)、i(x)(但し楕円の半径に応じてyの値を適宜変化させる必要がある)によりZ軸位置に応じて求められる。
FIG. 19 shows an example of a contact determination method when executing the transparency processing in this modification. The ellipse in FIG. 19 indicates the transparent objects 51A, 57A, 61A obtained by lengthening the above-described
図19において、例えばピクセルP3に対する処理は次のように行われる。まず、ピクセルP3と透明化オブジェクトの中心線(光軸39)との間に垂線ベクトル75を生成し、当該垂線ベクトル75のカメラ座標系53におけるXZ平面での長さをX3として、当該X3の値を用いて楕円の式(x2/a2+y2/b2=1)よりY3を算出する。このY3の値と垂線ベクトル75の長さL3とを比較し、Y3がL3よりも大きい場合には透明化処理を実行する。ピクセルP3の場合にはY3がL3よりも大きいので、ピクセルP3には透明化処理が実行される。
In FIG. 19, for example, the process for the pixel P3 is performed as follows. First, a
ピクセルP4に対する処理も上記と同様である。まず、ピクセルP4と透明化オブジェクトの中心線(光軸39)との間に垂線ベクトル77を生成し、当該垂線ベクトル77のカメラ座標系53におけるXZ平面での長さをX4として、当該X4の値を用いて楕円の式(x2/a2+y2/b2=1)よりY4を算出する。このY4の値と垂線ベクトル77の長さL4とを比較すると、Y4がL4よりも小さいので、ピクセルP4には透明化処理が実行されない。
The process for the pixel P4 is similar to the above. First, a
図20に、透明化処理が実行された場合の画像の一例を示す。図20に示す例では、プレイヤキャラクタ25と敵キャラクタ79とが戦闘中であり、仮想カメラ37から見て上下方向に並んで表示されている。そして、プレイヤキャラクタ25と仮想カメラ37との間に柱35が存在しており、上述した画像処理によって柱35が上下方向に長い楕円形状に半透明化されている。特に、リアルタイムに進行する戦闘においてはプレイヤによる一瞬一瞬の判断及び操作が重要となるため、仮に敵キャラクタ79が見えなくなった場合には敵からの攻撃に対して適切な防御ができなかったり、効果的な攻撃のタイミングを逃す等により、戦闘において不利益を受ける可能性がある。本変形例によれば、プレイヤキャラクタ25だけでなく敵キャラクタ79についても合わせて視認性を確保することができるので、上記のような不利益を受けることを防止できる。なお、本変形例は、例えば敵をロックオンする機能等により、プレイヤキャラクタ25と敵キャラクタ79との画面上での配置が固定される場合に特に有効である。
FIG. 20 shows an example of an image when the transparency processing is executed. In the example shown in FIG. 20, the
以上の変形例によれば、プレイヤキャラクタ25に関わる重要な情報(上記の例では敵キャラクタ79)がプレイヤキャラクタ25に対して特定の方向に表示されるような場合に、当該特定の方向に長い楕円形状の端面とすることで、重要な情報も合わせて視認性を確保することができる。
According to the above modified example, when important information about the player character 25 (the enemy character 79 in the above example) is displayed in a specific direction with respect to the
なお、本発明は、仮想カメラと被写体であるオブジェクトの間に他のオブジェクトが入り込む場合があるゲームであれば、様々なジャンルのゲームに適用可能である。例えば、シミュレーションゲーム、ロールプレイングゲーム、アクションゲーム、アクションロールプレイングゲーム、格闘ゲーム、アドベンチャーゲーム等にも、本発明は適用可能である。 It should be noted that the present invention can be applied to games of various genres, as long as another object may enter between the virtual camera and the object that is the subject. For example, the present invention can be applied to simulation games, role playing games, action games, action role playing games, fighting games, adventure games, and the like.
また、以上既に述べた以外にも、上記実施形態や各変形例による手法を適宜組み合わせて利用しても良い。その他、一々例示はしないが、上記実施形態や各変形例は、その趣旨を逸脱しない範囲内において、種々の変更が加えられて実施されるものである。 Further, in addition to the above description, the methods according to the above-described embodiment and each modification may be appropriately combined and used. In addition, although not illustrated one by one, the above-described embodiment and each modified example are implemented with various modifications within a range not departing from the gist thereof.
<7.情報処理装置のハードウェア構成>
次に、図21を用いて、上記で説明したCPU101等が実行するプログラムにより実装された各処理部を実現する情報処理装置3のハードウェア構成の一例について説明する。
<7. Hardware configuration of information processing device>
Next, with reference to FIG. 21, an example of a hardware configuration of the
図21に示すように、情報処理装置3は、例えば、CPU101と、ROM103と、RAM105と、GPU106と、例えばASIC又はFPGA等の特定の用途向けに構築された専用集積回路107と、入力装置113と、出力装置115と、記録装置117と、ドライブ119と、接続ポート121と、通信装置123を有する。これらの構成は、バス109や入出力インターフェース111等を介し相互に信号を伝達可能に接続されている。
As shown in FIG. 21, the
ゲームプログラムは、例えば、ROM103やRAM105、記録装置117等に記録しておくことができる。
The game program can be recorded in the
また、ゲームプログラムは、例えば、フレキシブルディスクなどの磁気ディスク、各種のCD、MOディスク、DVD等の光ディスク、半導体メモリ等のリムーバブルな記録媒体125に、一時的又は永続的(非一時的)に記録しておくこともできる。このような記録媒体125は、いわゆるパッケージソフトウエアとして提供することもできる。この場合、これらの記録媒体125に記録されたゲームプログラムは、ドライブ119により読み出されて、入出力インターフェース111やバス109等を介し上記記録装置117に記録されてもよい。
The game program is temporarily or permanently (non-temporarily) recorded on a
また、ゲームプログラムは、例えば、ダウンロードサイト、他のコンピュータ、他の記録装置等(図示せず)に記録しておくこともできる。この場合、ゲームプログラムは、LANやインターネット等のネットワークNWを介し転送され、通信装置123がこのプログラムを受信する。そして、通信装置123が受信したプログラムは、入出力インターフェース111やバス109等を介し上記記録装置117に記録されてもよい。
Further, the game program can be recorded in, for example, a download site, another computer, another recording device or the like (not shown). In this case, the game program is transferred via the network NW such as LAN or Internet, and the
また、ゲームプログラムは、例えば、適宜の外部接続機器127に記録しておくこともできる。この場合、ゲームプログラムは、適宜の接続ポート121を介し転送され、入出力インターフェース111やバス109等を介し上記記録装置117に記録されてもよい。
Further, the game program can be recorded in an appropriate externally
そして、CPU101が、上記記録装置117に記録されたプログラムに従い各種の処理を実行することにより、前述の画像生成処理部13、透明化オブジェクト設定処理部21、透明化実行処理部23等による処理が実現される。この際、CPU101は、例えば、上記記録装置117からプログラムを、直接読み出して実行してもよく、RAM105に一旦ロードした上で実行してもよい。更にCPU101は、例えば、プログラムを通信装置123やドライブ119、接続ポート121を介し受信する場合、受信したプログラムを記録装置117に記録せずに直接実行してもよい。
Then, the
また、CPU101は、必要に応じて、前述のゲームコントローラ5を含む、例えばマウス、キーボード、マイク等(図示せず)の入力装置113から入力する信号や情報に基づいて各種の処理を行ってもよい。
In addition, the
GPU106は、CPU101からの指示に応じて例えばレンダリング処理などの画像表示のための処理を行う。
The
そして、CPU101及びGPU106は、上記の処理を実行した結果を、例えば前述の表示装置7や音声出力部を含む、出力装置115から出力する。さらにCPU101及びGPU106は、必要に応じてこの処理結果を通信装置123や接続ポート121を介し送信してもよく、上記記録装置117や記録媒体125に記録させてもよい。
Then, the
3 情報処理装置
13 画像生成処理部
15 第1衝突判定用オブジェクト設定処理部
17 第2衝突判定用オブジェクト設定処理部
19 衝突判定処理部
21 透明化オブジェクト設定処理部
23 透明化実行処理部
25 プレイヤキャラクタ(第1のオブジェクト)
35 柱(第2のオブジェクト)
37 仮想カメラ
39 光軸(軸)
41 基準位置(第1のオブジェクトの位置)
43 第1の衝突判定用オブジェクト
45 基準位置(仮想カメラの位置)
49 第2の衝突判定用オブジェクト
51 透明化オブジェクト
57 透明化オブジェクト
61 透明化オブジェクト
125 記録媒体
3
35 pillars (second object)
37
41 Reference position (position of the first object)
43 First
49 Second
Claims (8)
仮想的な3次元空間内において仮想カメラから見える画像を生成する画像生成処理部、
前記画像を生成する際に、前記3次元空間内に配置された第1のオブジェクトの位置から前記仮想カメラの位置までの範囲に亘って存在する透明化オブジェクトを設定する透明化オブジェクト設定処理部、
前記画像を生成する際に、前記3次元空間内に配置された第2のオブジェクトの前記透明化オブジェクトと接触する部分に透明化処理を実行する透明化実行処理部、
として機能させる、ゲームプログラム。 Information processing equipment,
An image generation processing unit that generates an image viewed from a virtual camera in a virtual three-dimensional space,
A transparentized object setting processing unit that sets a transparentized object existing over the range from the position of the first object arranged in the three-dimensional space to the position of the virtual camera when the image is generated,
A transparency execution processing unit that executes transparency processing on a portion of the second object arranged in the three-dimensional space that comes into contact with the transparency object when the image is generated,
A game program that works as a.
前記第1のオブジェクトの位置から前記仮想カメラの位置までの範囲に亘って存在する直方体形状の第1の衝突判定用オブジェクトを設定する第1衝突判定用オブジェクト設定処理部、
前記第2のオブジェクトを包含する直方体形状の第2の衝突判定用オブジェクトを設定する第2衝突判定用オブジェクト設定処理部、
前記第1の衝突判定用オブジェクトと前記第2の衝突判定用オブジェクトとの衝突の有無を判定する衝突判定処理部、
としてさらに機能させ、
前記透明化実行処理部は、
前記衝突があったと判定された前記第2の衝突判定用オブジェクトに対応した前記第2のオブジェクトの前記透明化オブジェクトと接触する部分に前記透明化処理を実行する、
請求項1に記載のゲームプログラム。 The information processing device,
A first collision determination object setting processing unit for setting a first collision determination object having a rectangular parallelepiped shape that exists over the range from the position of the first object to the position of the virtual camera;
A second collision determination object setting processing unit that sets a second collision determination object having a rectangular parallelepiped shape including the second object;
A collision determination processing unit that determines the presence or absence of a collision between the first collision determination object and the second collision determination object,
To function further as
The transparency execution processing unit,
Performing the transparency processing on a portion of the second object corresponding to the second collision determination object determined to have the collision, the portion being in contact with the transparency object;
The game program according to claim 1.
前記第1のオブジェクトと前記仮想カメラとを結ぶ軸に対する径が前記第1のオブジェクトから前記仮想カメラに向けて大きくなる形状の前記透明化オブジェクトを設定する、
請求項1又は2に記載のゲームプログラム。 The transparent object setting processing unit,
Setting the transparent object having a shape in which a diameter with respect to an axis connecting the first object and the virtual camera increases from the first object toward the virtual camera,
The game program according to claim 1.
前記第1のオブジェクト側の先端が尖り、且つ、前記径が前記第1のオブジェクトから前記仮想カメラに向けて曲線状に拡大する形状の前記透明化オブジェクトを設定する、
請求項3に記載のゲームプログラム。 The transparent object setting processing unit,
The transparent object is set such that the tip on the first object side is sharp and the diameter is expanded in a curved shape from the first object toward the virtual camera.
The game program according to claim 3.
前記仮想カメラ側の端部に前記軸に垂直な楕円形状の端面を有する前記透明化オブジェクトを設定する、
請求項3又は4に記載のゲームプログラム。 The transparent object setting processing unit,
The transparent object having an elliptical end surface perpendicular to the axis is set at the end on the virtual camera side,
The game program according to claim 3 or 4.
前記軸に近づくにつれて透明度が高くなるように、前記第2のオブジェクトの前記透明化オブジェクトと接触する部分に前記透明化処理を実行する、
請求項3乃至5のいずれか1項に記載のゲームプログラム。 The transparency execution processing unit,
The transparency processing is performed on a portion of the second object that comes into contact with the transparency object, so that the transparency increases as the axis approaches.
The game program according to any one of claims 3 to 5.
仮想的な3次元空間内において仮想カメラから見える画像を生成するステップと、
前記画像を生成する際に、前記3次元空間内に配置された第1のオブジェクトの位置から前記仮想カメラの位置までの範囲に亘って存在する透明化オブジェクトを設定するステップと、
前記画像を生成する際に、前記3次元空間内に配置された第2のオブジェクトの前記透明化オブジェクトと接触する部分に透明化処理を実行するステップと、
を有する、ゲーム処理方法。 A game processing method executed by an information processing device, comprising:
Generating an image viewed from a virtual camera in a virtual three-dimensional space,
Setting a transparent object existing over the range from the position of the first object arranged in the three-dimensional space to the position of the virtual camera when the image is generated,
Performing a transparentization process on a portion of the second object arranged in the three-dimensional space that is in contact with the transparentized object when the image is generated,
And a game processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019011829A JP7304701B2 (en) | 2019-01-28 | 2019-01-28 | Game program, recording medium, game processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019011829A JP7304701B2 (en) | 2019-01-28 | 2019-01-28 | Game program, recording medium, game processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020116296A true JP2020116296A (en) | 2020-08-06 |
JP7304701B2 JP7304701B2 (en) | 2023-07-07 |
Family
ID=71891602
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019011829A Active JP7304701B2 (en) | 2019-01-28 | 2019-01-28 | Game program, recording medium, game processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7304701B2 (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1142370A (en) * | 1997-07-25 | 1999-02-16 | Konami Co Ltd | Game device, game image processing method and readable recording medium |
JPH11306383A (en) * | 1998-04-24 | 1999-11-05 | Namco Ltd | Picture generator and information storage medium |
JP2005322108A (en) * | 2004-05-11 | 2005-11-17 | Konami Co Ltd | Display device, displaying method, and program |
JP2006346507A (en) * | 2006-10-04 | 2006-12-28 | Nintendo Co Ltd | Game apparatus and image processing program |
JP4118920B2 (en) * | 2006-02-22 | 2008-07-16 | 株式会社スクウェア・エニックス | Game device, field boundary display method, program, and recording medium |
JP2009271664A (en) * | 2008-05-02 | 2009-11-19 | Konami Digital Entertainment Co Ltd | Display, display method, and program |
JP4707080B2 (en) * | 2001-07-30 | 2011-06-22 | 株式会社バンダイナムコゲームス | Image generation system, program, and information storage medium |
JP4912377B2 (en) * | 2008-10-07 | 2012-04-11 | 株式会社コナミデジタルエンタテインメント | Display device, display method, and program |
JP5154775B2 (en) * | 2006-08-18 | 2013-02-27 | 任天堂株式会社 | GAME PROGRAM AND GAME DEVICE |
JP5822655B2 (en) * | 2011-10-28 | 2015-11-24 | 任天堂株式会社 | GAME PROCESSING SYSTEM, GAME PROCESSING METHOD, GAME PROCESSING DEVICE, AND GAME PROCESSING PROGRAM |
JP6298130B2 (en) * | 2016-09-14 | 2018-03-20 | 株式会社バンダイナムコエンターテインメント | Simulation system and program |
JP2018147002A (en) * | 2017-03-01 | 2018-09-20 | 任天堂株式会社 | Image processing program, image processing system, image processing apparatus and image processing method |
-
2019
- 2019-01-28 JP JP2019011829A patent/JP7304701B2/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1142370A (en) * | 1997-07-25 | 1999-02-16 | Konami Co Ltd | Game device, game image processing method and readable recording medium |
JPH11306383A (en) * | 1998-04-24 | 1999-11-05 | Namco Ltd | Picture generator and information storage medium |
JP4707080B2 (en) * | 2001-07-30 | 2011-06-22 | 株式会社バンダイナムコゲームス | Image generation system, program, and information storage medium |
JP2005322108A (en) * | 2004-05-11 | 2005-11-17 | Konami Co Ltd | Display device, displaying method, and program |
JP4118920B2 (en) * | 2006-02-22 | 2008-07-16 | 株式会社スクウェア・エニックス | Game device, field boundary display method, program, and recording medium |
JP5154775B2 (en) * | 2006-08-18 | 2013-02-27 | 任天堂株式会社 | GAME PROGRAM AND GAME DEVICE |
JP2006346507A (en) * | 2006-10-04 | 2006-12-28 | Nintendo Co Ltd | Game apparatus and image processing program |
JP2009271664A (en) * | 2008-05-02 | 2009-11-19 | Konami Digital Entertainment Co Ltd | Display, display method, and program |
JP4912377B2 (en) * | 2008-10-07 | 2012-04-11 | 株式会社コナミデジタルエンタテインメント | Display device, display method, and program |
JP5822655B2 (en) * | 2011-10-28 | 2015-11-24 | 任天堂株式会社 | GAME PROCESSING SYSTEM, GAME PROCESSING METHOD, GAME PROCESSING DEVICE, AND GAME PROCESSING PROGRAM |
JP6298130B2 (en) * | 2016-09-14 | 2018-03-20 | 株式会社バンダイナムコエンターテインメント | Simulation system and program |
JP2018147002A (en) * | 2017-03-01 | 2018-09-20 | 任天堂株式会社 | Image processing program, image processing system, image processing apparatus and image processing method |
Also Published As
Publication number | Publication date |
---|---|
JP7304701B2 (en) | 2023-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100990304B1 (en) | Object display device, object distribution method, and information recording medium for recording the program | |
JP3795856B2 (en) | Video game apparatus, video game progress control method, program, and recording medium | |
EP2466445B1 (en) | Input direction determination terminal, method and computer program product | |
JP2001276418A (en) | Game device and information memory medium | |
JP7058991B2 (en) | Game program, recording medium, game processing method | |
JP5558546B2 (en) | Program, game device, and server | |
JP2008250813A (en) | Image creating device, image processing method, and program | |
CN112233253B (en) | Virtual sphere deformation control method and device, electronic equipment and storage medium | |
KR20210151866A (en) | Virtual object selection method and apparatus, device, and storage medium | |
JP5489195B2 (en) | Video game program and video game apparatus | |
JP4788950B2 (en) | Image processing program, image processing method, and image processing apparatus | |
JP2014027975A (en) | Program, information storage medium, game device, and server | |
JP7304701B2 (en) | Game program, recording medium, game processing method | |
JP6451085B2 (en) | VIDEO GAME DEVICE, VIDEO GAME DEVICE CONTROL METHOD, VIDEO GAME CONTROL PROGRAM, AND RECORDING MEDIUM | |
JP5677050B2 (en) | GAME PROGRAM AND GAME DEVICE | |
JP6385905B2 (en) | GAME PROGRAM AND GAME DEVICE | |
JP3594915B2 (en) | PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE | |
JP7422206B1 (en) | Programs, methods and systems | |
JP2017041042A (en) | Image formation system, method and program | |
CN113382786A (en) | Information processing program, information processing method, and information processing apparatus | |
JP2024076923A (en) | Program, method, and system | |
JP7154258B2 (en) | Program, terminal and game control method | |
JP2021164609A (en) | Game program, recording medium, game processing method | |
JP6989363B2 (en) | Programs, server devices, and game systems | |
JP6737842B2 (en) | Game program and game device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20200327 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20200327 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220107 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230118 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230206 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230331 |
|
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: 20230608 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230627 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7304701 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |