JP2013202223A - Game device - Google Patents
Game device Download PDFInfo
- Publication number
- JP2013202223A JP2013202223A JP2012075165A JP2012075165A JP2013202223A JP 2013202223 A JP2013202223 A JP 2013202223A JP 2012075165 A JP2012075165 A JP 2012075165A JP 2012075165 A JP2012075165 A JP 2012075165A JP 2013202223 A JP2013202223 A JP 2013202223A
- Authority
- JP
- Japan
- Prior art keywords
- distance
- virtual camera
- screen surface
- target object
- game
- 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
Images
Abstract
【課題】
本発明は、仮想カメラと対象オブジェクトとの距離が変化するゲームであっても、臨場感を維持しながら、プレイヤに不快な感覚を与えることなく、オブジェクトの3D表示が可能なゲーム装置を提供することを目的とする。
【解決手段】
特定のイベントが発生すると(ステップS1)、仮想カメラ30と対象オブジェクト31(プレイヤキャラクタ)の距離が変化する(ステップS2)。仮想カメラ30と対象オブジェクト31との距離Aをもとに、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値Pとなる仮想カメラ30と3Dスクリーン面32との距離Bが特定される(ステップS3)。次いで、仮想カメラ30と対象オブジェクト31との距離の変化に応じて、3Dスクリーン面32の位置が決定され(ステップS4)、移動が実行される(ステップS5)。
【選択図】 図5【Task】
The present invention provides a game apparatus capable of 3D display of an object without giving an unpleasant sensation to a player while maintaining a sense of reality even in a game in which the distance between a virtual camera and a target object changes. For the purpose.
[Solution]
When a specific event occurs (step S1), the distance between the virtual camera 30 and the target object 31 (player character) changes (step S2). Based on the distance A between the virtual camera 30 and the target object 31, the virtual camera 30 in which the ratio of (distance between the virtual camera and the target object) / (distance between the virtual camera and the 3D screen surface) is a predetermined value P. And the distance B between the 3D screen surface 32 are specified (step S3). Next, the position of the 3D screen surface 32 is determined according to the change in the distance between the virtual camera 30 and the target object 31 (step S4), and the movement is executed (step S5).
[Selection] Figure 5
Description
本発明は、視差バリアを有した3Dディスプレイを有し、仮想空間に存在するオブジェクトについて視差を持たせた立体視用画像をフレーム毎に表示することで、ゲーム画面の立体視を可能とするゲーム装置に関する。 The present invention has a 3D display having a parallax barrier, and displays a stereoscopic image with parallax for an object existing in a virtual space for each frame, thereby enabling stereoscopic viewing of a game screen. Relates to the device.
近年、ゲーム内に登場するキャラクタなどのオブジェクトについて、裸眼での立体視を可能とする視差バリア方式を採用したゲーム装置が実用化されている。この視差バリア方式は、例えば、スリット状に伸びる液晶スリットを視差バリアとして配置し、視差を有する画像を一枚の画像に合成して画像表示用の液晶パネルに表示して、バックライトからの光を複数の液晶スリットで遮ることによって、右目と左目に異なる画素を通過した光が見えるようするものである。このような視差バリア方式を用いたゲーム装置としては、例えば、特許文献1に記載されたものをあげることができる。 2. Description of the Related Art In recent years, game devices that employ a parallax barrier system that enables stereoscopic viewing with the naked eye of objects such as characters appearing in games have been put into practical use. In this parallax barrier method, for example, a liquid crystal slit extending in a slit shape is arranged as a parallax barrier, an image having parallax is combined into a single image and displayed on a liquid crystal panel for image display, and light from a backlight is displayed. Is blocked by a plurality of liquid crystal slits so that light passing through different pixels can be seen through the right eye and the left eye. As a game device using such a parallax barrier method, for example, the game device described in Patent Document 1 can be cited.
ところで、このような視差バリア方式を用いたゲーム装置において、ゲーム上の仮想空間におけるオブジェクトに視差を設け、3D表示が可能となるようにする場合、図8(a)に示すように、仮想カメラ30と、仮想カメラ30がその移動に追従するプレイヤキャラクタなどの対象オブジェクト31との間に3Dスクリーン面32が設けられ、3Dスクリーン面32よりも対象オブジェクト31側にあるオブジェクト33bは、視差が小さく奥行きがあるように表示され、この3Dスクリーン面32よりも仮想カメラ30側にあるオブジェクト33aは、視差を大きくすることで画面から立体的に飛び出して見えるように表示することが行われている(なお、図8は、仮想空間を地面と垂直な高さ方向から見た場合を表す図である)。
By the way, in a game apparatus using such a parallax barrier method, when a parallax is provided to an object in a virtual space on the game to enable 3D display, as shown in FIG. 30 and a
従来は、この3Dスクリーン面32と仮想カメラ30の距離は固定化されるのが一般的であり、アクションゲームなど、仮想カメラ30と対象オブジェクト31の距離が変化するようなゲームにおいては、図8(b)に示すように、仮想カメラ30と対象オブジェクト31の距離が十分あるにもかかわらず、仮想カメラ30のごく近くに存在するオブジェクト33aのみが立体的に飛び出して見えるなど、十分な臨場感を持たせながら、オブジェクト33を3D表示させることができなかった。このような問題を解決する方法としては、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるように維持しながら、立体視用画像を生成することが考えられる。
Conventionally, the distance between the
しかし、近年のアクションゲームでは、プレイヤに対して、ゲームによりリアルな感覚を与えたり、ゲームでの緊張感の変化を実感させるなど、エンターテイメント性を向上させる目的で、仮想カメラ30と対象オブジェクト31との距離が激しく変化するゲームも登場してきている。このようなゲームにおいて、仮想カメラ30と対象オブジェクト31との距離の変化に合わせて、3Dスクリーン面32の位置を急激に変化させるとすると、オブジェクト33aの視差が急激に変化して、その変化の大きさにプレイヤの目がついていかず、プレイヤに不快な感覚を与えたり、オブジェクト33aが立体的に見えずに2つにずれて重なっているように見えるなどの問題があった。
However, in recent action games, the
本発明は、このような問題を解決するもので、仮想カメラと対象オブジェクトとの距離が変化するゲームであっても、臨場感を維持しながら、プレイヤに不快な感覚を与えることなく、オブジェクトの3D表示が可能なゲーム装置を提供することを目的とする。 The present invention solves such a problem. Even in a game in which the distance between the virtual camera and the target object changes, the object can be maintained without giving an unpleasant feeling to the player while maintaining a sense of reality. An object of the present invention is to provide a game device capable of 3D display.
本発明は、視差バリアを有した3Dディスプレイを有し、仮想空間に存在するオブジェクトについて視差を持たせた立体視用画像をフレーム毎に表示することで、ゲーム画面の立体視を可能とするゲーム装置であって、仮想カメラと、仮想カメラが追従する対象オブジェクトを結ぶ線分に垂直な3Dスクリーン面を設定する3Dスクリーン面設定手段と、ゲームの進行状況に応じて、仮想カメラと対象オブジェクトとの距離を変化させる距離変化手段と、距離変化手段により仮想カメラと対象オブジェクトとの距離が変化すると、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるように、3Dスクリーン面の位置を調整する3Dスクリーン面位置調整手段と、3Dスクリーン面よりも仮想カメラに遠い位置にあるオブジェクトについては視差がなく、且つ、3Dスクリーン面よりも仮想カメラに近い位置にあるオブジェクトについては視差を持たせた立体視用画像を生成する画像生成手段と、画像生成手段により生成された立体視用画像を3Dディスプレイに表示する表示手段とを備え、3Dスクリーン面位置調整手段は、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるまで、段階的に3Dスクリーン面の位置を移動させることを特徴とするゲーム装置に関する。 The present invention has a 3D display having a parallax barrier, and displays a stereoscopic image with parallax for an object existing in a virtual space for each frame, thereby enabling stereoscopic viewing of a game screen. An apparatus, a virtual camera, 3D screen plane setting means for setting a 3D screen plane perpendicular to a line segment connecting the target object followed by the virtual camera, and the virtual camera and the target object according to the progress of the game When the distance between the virtual camera and the target object is changed by the distance changing means, the ratio of (distance between the virtual camera and the target object) / (distance between the virtual camera and the 3D screen surface) is changed. 3D screen surface position adjusting means for adjusting the position of the 3D screen surface so that the value becomes a predetermined value, and the 3D screen surface Image generating means for generating a stereoscopic image having no parallax for an object located farther from the virtual camera and having parallax for an object located closer to the virtual camera than the 3D screen surface; Display means for displaying the stereoscopic image generated by the image generation means on a 3D display, and the 3D screen surface position adjustment means includes: (distance between virtual camera and target object) / (virtual camera and 3D screen surface) The present invention relates to a game apparatus characterized in that the position of the 3D screen surface is moved step by step until the ratio of (distance) becomes a predetermined value.
例えば、ゲームの進行状況によりイベントが発生し、仮想カメラと対象オブジェクトの距離が変化したような場合であっても、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるように、3Dスクリーン面の位置が段階的に変化するため、オブジェクトの視差が急激に変化することなく、プレイヤに不快な感覚を与えたり、オブジェクトが立体的に見えなくなるなどの問題を生じることなく、オブジェクトの3D表示を行うことができる。 For example, even if an event occurs depending on the progress of the game and the distance between the virtual camera and the target object changes, the distance between the virtual camera and the target object / (virtual camera and 3D screen surface) Since the position of the 3D screen changes stepwise so that the ratio of the distance) becomes a predetermined value, the parallax of the object does not change abruptly, giving the player an unpleasant sensation, or the object is three-dimensional 3D display of an object can be performed without causing problems such as being invisible.
本発明では、仮想カメラと3Dスクリーン面との距離を記憶する距離記憶手段と、仮想カメラと3Dスクリーン面との距離が変化するごとに、距離記憶手段に記憶された仮想カメラと3Dスクリーン面の距離を更新する距離更新手段とを備え、3Dスクリーン面位置調整手段は、変化後の仮想カメラと3Dスクリーン面との距離と、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となる際の仮想カメラと3Dスクリーン面との距離である基準距離との差が、距離記憶手段に記憶された仮想カメラと3Dスクリーン面との距離と基準距離との差の所定の割合となるように3Dスクリーン面の位置を移動させることが好ましい。 In the present invention, the distance storage means for storing the distance between the virtual camera and the 3D screen surface, and the virtual camera and the 3D screen surface stored in the distance storage means each time the distance between the virtual camera and the 3D screen surface changes. Distance update means for updating the distance, and the 3D screen surface position adjustment means includes: (distance between virtual camera and target object) / (virtual camera and 3D screen); The difference between the virtual camera and the 3D screen surface, which is the distance between the virtual camera and the 3D screen surface when the ratio of the distance to the surface) becomes a predetermined value, is the distance between the virtual camera and the 3D screen surface stored in the distance storage means. It is preferable to move the position of the 3D screen surface so as to be a predetermined ratio of the difference from the reference distance.
変化後の仮想カメラと3Dスクリーン面との距離と、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となる際の仮想カメラと3Dスクリーン面との距離である基準距離との差が、変化前の仮想カメラと3Dスクリーン面との距離と基準距離との差の所定の割合となるように3Dスクリーン面の位置を移動させることで、例えば、現在の3Dスクリーン面の位置から最終的な位置までの距離が8mであったような場合に、最終的な位置までの距離が4mの位置に3Dスクリーン面が移動し、さらには、最終的な位置までの距離が2mの位置にといったように、最終的な位置までの1/2の距離を2フレーム毎に移動することになる。 The virtual camera and the 3D when the ratio of the distance between the virtual camera and the 3D screen surface after the change and the (distance between the virtual camera and the target object) / (the distance between the virtual camera and the 3D screen surface) is a predetermined value. By moving the position of the 3D screen surface so that the difference from the reference distance, which is the distance to the screen surface, becomes a predetermined ratio of the difference between the distance between the virtual camera before the change and the 3D screen surface and the reference distance. For example, when the distance from the current position of the 3D screen surface to the final position is 8 m, the 3D screen surface moves to a position where the distance to the final position is 4 m, The distance to the final position is moved every two frames, such as the distance to the final position is 2 m.
したがって、最初は移動距離が大きく、その移動距離は所定の割合で小さくなっていき、目的の所定の位置まで3Dスクリーン面が移動することになる。この結果、3Dスクリーン面の位置が滑らかに変化することになり、視差が急激に変化することもなく、プレイヤの目にも優しく不快感を与えることもなくなる。 Therefore, the moving distance is large at first, and the moving distance decreases at a predetermined rate, and the 3D screen surface moves to the target predetermined position. As a result, the position of the 3D screen surface changes smoothly, the parallax does not change abruptly, and the player's eyes do not feel uncomfortable.
本発明では、3Dスクリーン面位置調整手段は、距離記憶手段に記憶された仮想カメラと3Dスクリーン面の距離と、基準距離の差が所定の距離以下である場合は、前記所定の割合にかかわらず、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となる位置に3Dスクリーン面を移動させることが好ましい。 In the present invention, the 3D screen surface position adjusting means is independent of the predetermined ratio when the difference between the distance between the virtual camera stored in the distance storage means and the 3D screen surface and the reference distance is equal to or smaller than the predetermined distance. It is preferable to move the 3D screen surface to a position where a ratio of (distance between the virtual camera and the target object) / (distance between the virtual camera and the 3D screen surface) becomes a predetermined value.
3Dスクリーン面の現在の位置から最終的な基準位置までの距離に対して、所定の割合だけ3Dスクリーン面を移動させる処理を続けると、いつまでも3Dスクリーン面の移動が完了しないこととなるため、3Dスクリーン面の位置が本来あるべき位置に、ある程度近づいた段階で、3Dスクリーン面の位置の移動を完了させるものである。このようにすることで、不要な演算処理の発生を防ぐことができる。 If the process of moving the 3D screen surface by a predetermined ratio with respect to the distance from the current position of the 3D screen surface to the final reference position is continued, the movement of the 3D screen surface will not be completed indefinitely. The movement of the position of the 3D screen surface is completed when the position of the screen surface is close to a certain position. By doing in this way, generation | occurrence | production of an unnecessary arithmetic processing can be prevented.
本発明では、3Dスクリーン面位置調整手段は、距離変化手段により仮想カメラと対象オブジェクトとの距離が変化してから所定のフレーム内に、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるように、3Dスクリーンの位置を移動させることが好ましい。 In the present invention, the 3D screen surface position adjusting means includes (distance between virtual camera and target object) / (virtual camera and target camera) within a predetermined frame after the distance changing means changes the distance between the virtual camera and the target object. It is preferable to move the position of the 3D screen so that the ratio of the distance to the 3D screen surface) becomes a predetermined value.
3Dスクリーン面の位置の移動を所定のフレーム内で完了することとすることで、3Dスクリーン面の移動に滑らかさを持たせつつ、3Dスクリーン面を本来あるべき位置に比較的、速やかに移動させることができる。 By moving the position of the 3D screen surface within a predetermined frame, the 3D screen surface is moved relatively quickly to the original position while smoothing the movement of the 3D screen surface. be able to.
本発明では、仮想カメラと3Dスクリーン面との距離には予め最大距離が設定されており、3Dスクリーン面位置調整手段は、最大距離の範囲内で、3Dスクリーンの位置を移動させることが好ましい。 In the present invention, the maximum distance is set in advance as the distance between the virtual camera and the 3D screen surface, and the 3D screen surface position adjusting means preferably moves the position of the 3D screen within the range of the maximum distance.
オブジェクトを3D表示する際は、3Dスクリーン面から離れて仮想カメラに近い距離になるオブジェクトほど、視差が大きくなる。仮想カメラと3Dスクリーン面の距離が離れすぎると、3Dスクリーン面から遠い位置にあるオブジェクトは視差が大きすぎて、立体的には見えず、見苦しいものとなる。そこで、仮想カメラと3Dスクリーン面の距離の最大値を定めることで、このような問題を防ぐことができる。仮想カメラと対象オブジェクトとの距離が大きく離れた場合、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となる基準位置まで移動しても、仮想カメラと3Dスクリーン面の距離がその最大値を超えてしまうため、最大値を維持できるよう、3Dスクリーン面がより仮想カメラに近づくことになる。 When an object is displayed in 3D, the parallax increases as the object is farther from the 3D screen surface and closer to the virtual camera. If the distance between the virtual camera and the 3D screen surface is too large, an object located far from the 3D screen surface has too much parallax and cannot be viewed stereoscopically, making it unsightly. Therefore, such a problem can be prevented by determining the maximum value of the distance between the virtual camera and the 3D screen surface. When the distance between the virtual camera and the target object is greatly separated, the distance between the virtual camera and the target object / the distance between the virtual camera and the 3D screen is moved to a reference position where the ratio is a predetermined value. However, since the distance between the virtual camera and the 3D screen surface exceeds the maximum value, the 3D screen surface is closer to the virtual camera so that the maximum value can be maintained.
本発明は、視差バリアを有した3Dディスプレイを有し、仮想空間に存在するオブジェクトについて視差を持たせた立体視用画像をフレーム毎に表示することで、ゲーム画面の立体視を可能とするゲーム装置において実行されるゲームプログラムであって、ゲーム装置を、仮想カメラと、仮想カメラが追従する対象オブジェクトを結ぶ線分に垂直な3Dスクリーン面を設定する3Dスクリーン面設定手段と、ゲームの進行状況に応じて、仮想カメラと対象オブジェクトとの距離を変化させる距離変化手段と、距離変化手段により仮想カメラと対象オブジェクトとの距離が変化すると、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるように、3Dスクリーン面の位置を調整する3Dスクリーン面位置調整手段と、3Dスクリーン面よりも仮想カメラに遠い位置にあるオブジェクトについては視差がなく、且つ、3Dスクリーン面よりも仮想カメラに近い位置にあるオブジェクトについては視差を持たせた立体視用画像を生成する画像生成手段と、画像生成手段により生成された立体視用画像を3Dディスプレイに表示する表示手段として機能させ、3Dスクリーン面位置調整手段は、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるまで、段階的に3Dスクリーン面の位置を移動させることを特徴とするゲームプログラムに関する。 The present invention has a 3D display having a parallax barrier, and displays a stereoscopic image with parallax for an object existing in a virtual space for each frame, thereby enabling stereoscopic viewing of a game screen. A game program executed in the apparatus, the game apparatus comprising: a virtual camera; a 3D screen plane setting unit that sets a 3D screen plane perpendicular to a line segment that connects a target object that the virtual camera follows; If the distance between the virtual camera and the target object is changed by the distance changing means according to the distance change means for changing the distance between the virtual camera and the target object, the (distance between the virtual camera and the target object) / (virtual camera The position of the 3D screen surface is adjusted so that the ratio of the distance to the 3D screen surface) becomes a predetermined value 3D screen surface position adjusting means and an object located farther from the virtual camera than the 3D screen surface has no parallax, and an object located closer to the virtual camera than the 3D screen surface has a parallax. The 3D screen surface position adjusting unit is configured to function as an image generating unit that generates an image for viewing and a display unit that displays the stereoscopic image generated by the image generating unit on the 3D display. The present invention relates to a game program characterized in that the position of the 3D screen surface is moved stepwise until the ratio of (distance) / (distance between the virtual camera and the 3D screen surface) reaches a predetermined value.
本発明は、視差バリアを有した3Dディスプレイを有し、仮想空間に存在するオブジェクトについて視差を持たせた立体視用画像をフレーム毎に表示することで、ゲーム画面の立体視を可能とするゲーム装置において実行されるゲーム画面表示方法であって、仮想カメラと、仮想カメラが追従する対象オブジェクトを結ぶ線分に垂直な3Dスクリーン面を設定するステップと、ゲームの進行状況に応じて、仮想カメラと対象オブジェクトとの距離を変化させるステップと、仮想カメラと対象オブジェクトとの距離が変化すると、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるように、3Dスクリーン面の位置を調整するステップと、3Dスクリーン面よりも仮想カメラに遠い位置にあるオブジェクトについては視差がなく、且つ、3Dスクリーン面よりも仮想カメラに近い位置にあるオブジェクトについては視差を持たせた立体視用画像を生成するステップと、生成された立体視用画像を3Dディスプレイに表示するステップとを備え、3Dスクリーン面の位置を調整するステップは、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるまで、段階的に3Dスクリーン面の位置を移動させるものであることを特徴とするゲーム画面表示方法に関する。 The present invention has a 3D display having a parallax barrier, and displays a stereoscopic image with parallax for an object existing in a virtual space for each frame, thereby enabling stereoscopic viewing of a game screen. A game screen display method executed in an apparatus, comprising: a step of setting a 3D screen plane perpendicular to a line segment connecting a virtual camera and a target object followed by the virtual camera; When the distance between the virtual camera and the target object changes, the ratio of (distance between the virtual camera and the target object) / (distance between the virtual camera and the 3D screen surface) is predetermined. The step of adjusting the position of the 3D screen surface so that the value of A step of generating a stereoscopic image having no parallax for the object at the position and having a parallax for an object located closer to the virtual camera than the 3D screen surface, and the generated stereoscopic image And a step of adjusting the position of the 3D screen surface, the ratio of (distance between the virtual camera and the target object) / (distance between the virtual camera and the 3D screen surface) is a predetermined value. The present invention relates to a game screen display method characterized by moving the position of a 3D screen surface step by step.
以下、添付図面を参照して、本発明の実施の形態について説明する。図1は、この実施の形態に適用されるゲーム装置の構成を示す外観図である。携帯型のゲーム装置1は、第1表示器11を上部ハウジング17aに収納し、第2表示器12を下部ハウジング17bに収納している。上部ハウジング17aの下辺にはヒンジ部17cが設けられ、下部ハウジング17bの上辺と接続され、開閉が自在となっている。上部ハウジング17aの第1表示器11の右方には、スピーカ15の音抜き孔が形成されている。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is an external view showing a configuration of a game device applied to this embodiment. In the portable game apparatus 1, the
操作部14には、動作スイッチの○ボタン14a、△ボタン14b、□ボタン14c及び×ボタン14dと、方向指示スイッチの十字キー14cと、スタートボタン14h、セレクトボタン14j、側面スイッチのLボタン14g及びRボタン14fが含まれる。○ボタン14a、△ボタン14b、□ボタン14c及び×ボタン14dは、下部ハウジング17bにおいて第2表示器12の右方に設置されている。十字キー14eは、下部ハウジング17bにおいて第2表示器12の左方に設置されている。十字キー14eは、例えば、コマンドの選択やプレイヤキャラクタの移動に使用される。Lボタン14f及びRボタン14gは、下部ハウジング17bにおける上辺の左端、右端に設置されており、必要に応じて、所定の指示入力に使用される。
The
また、図1では図示しないが、第2表示器12の上面にはタッチパネルが設けられている。タッチパネルは、スティック又は指等で押圧したり、スティックを移動させることで、その座標位置を検出するものである。
Although not shown in FIG. 1, a touch panel is provided on the upper surface of the
下部ハウジング17bの上辺側の側面は、ゲームプログラムを格納した記憶媒体であるカートリッジ16を挿入することが可能なカートリッジ挿入部が設けられている。カートリッジ挿入部の内部には、カートリッジ16と接続するためのコネクタ28が内蔵されている。
On the side surface on the upper side of the
次に、ゲーム装置1の回路構成について説明する。図2は、ゲーム装置1の構成を示すブロック図である。ハウジング17に収納される電子回路基板には、CPUコア21が実装される。CPUコア21は、ワーキングRAM(WRAM)22、第1のグラフィック処理ユニット(第1GPU)24、第2のグラフィック処理ユニット(第2GPU)26、入出力インターフェース(I/F)回路27及びコネクタ28に接続されている。CPUコア21は、コネクタ28を介してカートリッジ16との接続が可能である。CPUコア21は、システムプログラムを記憶したROMと、内部タイマを備える。I/F回路27は、タッチパネル13、操作部14、及びスピーカ15等の外部入出力装置とCPUコア21との間のデータの受け渡しを行なう回路である。
Next, the circuit configuration of the game apparatus 1 will be described. FIG. 2 is a block diagram showing the configuration of the game apparatus 1. A
カートリッジ16は、ゲームプログラムを格納した記憶媒体であり、ゲームプログラムを記憶するROM16aとバックアップデータが書き換え可能なRAM16bとを搭載している。カートリッジ16のROM16aに記憶されたゲームプログラムは、WRAM22にロードされ、ロードされたゲームプログラムがCPUコア21によって実行される。CPUコア21がゲームプログラムを実行して得られる一時的なデータや画像を生成するためのデータは、WRAM22に記憶される。
The
第1GPU24及び第2GPU26は、CPUコア21からの指示に応じて、フレーム単位(例えば、30分の1秒単位又は60分の1秒単位)で、WRAM22に記憶されているデータに基づいてゲーム画像を生成し、第1VRAM23、第2VRAM25に描画する。第1GPU24及び第2GPU26は、CPUコア21からの指示に応じて、第1VRAM23、第2VRAM25のそれぞれに描画されたゲーム画像を第1表示器11及び第2表示器12に表示する。
The
第1表示器11及び第2表示器12は、少なくともいずれか一方が、視差バリア方式による3Dディスプレイである。第1表示器11及び第2表示器12には、縦方向にスリット状に伸びる液晶スリットが視差バリアとして配置されており、バックライトからの光を複数の液晶スリットで遮ることによって、右目と左目に異なる画素を通過した光が見えるようになっている。
At least one of the
第1GPU24又は第2GPU26は、CPUコア21からの指示に応じて、フレーム単位で左目用及び右目用の互いに視差を有するゲーム画像をそれぞれ生成し、第1VRAM23又は第2VRAM25に、左目用と右目用のゲーム画像の画素が縦方向に交互に並んだ立体視用画像を、2フレーム単位で描画する。液晶スリットによる視差バリアがオンとなっている状態で、この立体視用画像が液晶パネルに表示されると、ゲーム内のオブジェクトを立体視することが可能となる。
In response to an instruction from the
無線通信装置29は、無線通信ポートを介して通信ネットワークに接続され、他のゲーム装置やサーバ装置とインターネットを介して通信を行なうことができる。また、アンテナを有する通信ユニットを介して、他のゲーム装置やサーバ装置と無線により通信を行なうことが可能である。
The
次に、本発明の概要について説明する。図3は、本発明の実施の形態にかかるゲーム装置における仮想カメラ、対象オブジェクト及び3Dスクリーン面の関係を表す図である。図3は、例えば、仮想カメラ30が、プレイヤキャラクタなどの対象オブジェクト31の動きに追従しながら移動しているような場合において、仮想空間の地面と垂直な高さ方向から見た場合を表す図である。3Dスクリーン面32は、仮想カメラ30と対象オブジェクト31を結ぶ線分に直行する平面である。
Next, the outline of the present invention will be described. FIG. 3 is a diagram illustrating a relationship among the virtual camera, the target object, and the 3D screen surface in the game device according to the embodiment of the present invention. FIG. 3 is a diagram illustrating a case where the
3Dスクリーン面32よりも対象オブジェクト31側にあるオブジェクト33bは、左目用画像と右目用画像の視差が小さく奥行きがあるように見え、3Dスクリーン面32よりも仮想カメラ30側にあるオブジェクト33aには左目用画像と右目用画像の視差が大きく画面から立体的に飛び出しているように見える。なお、オブジェクト33aの左目用画像と右目用画像に視差を設ける方法として、3Dスクリーン面32と平行な方向で左右の位置が異なる2つの仮想カメラ30をもとに、レンダリングを行うなどの方法がとられる。
The
また、ゲーム画面の3D表示を臨場感のあるものとするためには、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が一定の範囲であることが必要であり、ここでは、この比をa/b=Pであるとする。したがって、臨場感のある3D表示を実現するためには、仮想カメラ30と対象オブジェクト31の距離に応じて、仮想カメラ30と3Dスクリーン面32の距離も変化させる必要がある。
In addition, in order to make the 3D display of the game screen realistic, the ratio of (distance between virtual camera and target object) / (distance between virtual camera and 3D screen surface) must be within a certain range. Here, it is assumed that this ratio is a / b = P. Therefore, in order to realize realistic 3D display, it is necessary to change the distance between the
例えば、a/bが2/1であると仮定して説明をする。図3(a)は、特にイベントが発生していない通常の状態であり、仮想カメラ30と対象オブジェクト31との距離が4mであり、仮想カメラ30と3Dスクリーン面32との距離は2mとなっている。対象オブジェクト31が移動しても、特にイベントが発生しない限り、この距離が維持される。
For example, description will be made assuming that a / b is 2/1. FIG. 3A shows a normal state in which no event has occurred, the distance between the
仮想カメラ30と対象オブジェクト31の距離が変化するイベントが発生すると、図3(b)のように対象オブジェクト31の位置はそのまま変わらず、仮想カメラ30が3mm後方に移動する。この場合、仮想カメラ30と対象オブジェクト31との距離は7mである。仮想カメラ30の位置が移動しても、図3(d)に示すように、3Dスクリーン面32の位置が、仮想カメラ30との距離が3.5mとなる位置(基準位置という)に即座に切り替わるのではなく、図3(b)に示すようにイベント発生前の位置から、図3(c)で示すような状況を経て、最終的に基準位置に移動することとなる。3Dスクリーン面32の移動は2フレーム単位で移動する。なお、ここで基準位置とは。(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定のa/bとなる際の仮想カメラと3Dスクリーン面との距離をいう。
When an event occurs in which the distance between the
仮想カメラ30と対象オブジェクト31の距離が変化した当初は、図3(b)に示すように、仮想カメラ30と3Dスクリーン面32の距離は5mである。ここから、基準位置までの1.5mの距離を3Dスクリーン面32が段階的に移動していく。
When the distance between the
この場合、変化後の仮想カメラと3Dスクリーン面との距離と、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定のa/bとなる際の仮想カメラと3Dスクリーン面との距離である基準距離との差が、変化前の仮想カメラと3Dスクリーン面との距離と基準距離との差の所定の割合Rとなるように3Dスクリーン面32の位置を変化させることができる。例えば、所定の割合Rが1/2であるような場合であれば、1.5mの距離を最初の2フレームで0.75mを移動し、さらに次の2フレームで0.375m移動することになる。
In this case, when the ratio of the distance between the virtual camera after the change and the 3D screen surface and the (distance between the virtual camera and the target object) / (distance between the virtual camera and the 3D screen surface) is a predetermined a / b. The
このように3Dスクリーン面32を移動させ、3Dスクリーン面32の基準位置までの距離が所定の距離(例えば0.5m)よりも短くなった場合は、前記所定の割合Rに関係なく、3Dスクリーン面32を目的とする基準位置に移動させる。
When the
また、仮想カメラ30と対象オブジェクト31との距離が変化してから、所定のフレーム内に、3Dスクリーン面32の移動が完了するように設定することも可能である。例えば、仮想カメラ30と対象オブジェクト31との距離が変化してから、8フレーム内に3Dスクリーン面の移動が完了するように設定されている場合は、5、6フレーム目における3Dスクリーン面32の位置にかかわらず、7、8フレーム目において、基準位置まで3Dスクリーン面32が移動する。
It is also possible to set the movement of the
次に、本発明のゲーム装置において用いられる3Dスクリーン面管理テーブルについて説明する。図4は、本発明の実施の形態にかかるゲーム装置における3Dスクリーン面管理テーブルを表す図である。3Dスクリーン面管理テーブル40は、WRAM22に設定されるもので、仮想カメラと対象オブジェクトの距離(距離A)41、仮想カメラと3Dスクリーン面の距離(距離B’)42、所定の値Pとなる仮想カメラと3Dスクリーン面の基準距離(距離B)43、仮想カメラと対象オブジェクトの距離41が変化してからのフレーム数44が記憶されている。
Next, a 3D screen surface management table used in the game device of the present invention will be described. FIG. 4 is a diagram illustrating a 3D screen surface management table in the game device according to the embodiment of the present invention. The 3D screen surface management table 40 is set in the
仮想カメラ30と対象オブジェクト31との距離を変化させるトリガーとなるイベントが発生すると、距離A41及び距離Bが更新され、フレーム数44もリセットされる。フレーム数44は0からフレーム数を計測していく。距離B’42は、3Dスクリーン面32が移動する度に更新される。
When an event serving as a trigger for changing the distance between the
以下、プレイヤキャラクタなどの対象オブジェクト31に仮想カメラ30が追従して、仮想空間が表示される場合を例にあげて述べる。図5は、本発明の実施の形態にかかる3Dスクリーン面の移動処理についてのフローチャートの例である。対象オブジェクト31が移動しても、通常は、対象オブジェクト31と仮想カメラ30の距離は維持されるが、プレイヤキャラクタが強力な魔法を使用したり、プレイヤキャラクタのすぐ近くで爆発が発生したり、又は、敵キャラクタに攻撃の照準を定めた場合など、プレイヤの操作やゲームの進行状況によって特定のイベントが発生すると(ステップS1)、仮想カメラ30と対象オブジェクト31(プレイヤキャラクタ)の距離が変化する(ステップS2)。
Hereinafter, the case where the
ステップS1における、仮想カメラ30と対象オブジェクト31の距離を変化させるトリガーとなる特定のイベントは、これらに限定されるものではなく、ゲームのジャンルやコンセプトに応じて、適宜、設定することが可能である。また、ステップS2における変化後の仮想カメラ30と対象オブジェクト31の距離は、ステップS1にて発生したイベントに応じて決定されるものであり、イベントの種類によって、変化後の仮想カメラ30と対象オブジェクト31の距離も異なるものとなるよう設定できる。
The specific event serving as a trigger for changing the distance between the
次に、仮想カメラ30と対象オブジェクト31との距離Aをもとに、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値Pとなる仮想カメラ30と3Dスクリーン面32との距離Bが特定され、3Dスクリーン面管理テーブル40が更新される(ステップS3)。具体的には、下記式:
次いで、仮想カメラ30と対象オブジェクト31との距離の変化に応じて、3Dスクリーン面管理テーブル40をもとに、2フレーム後における3Dスクリーン面32の位置が決定される(ステップS4)。具体的な処理については、後述する。ステップS4にて3Dスクリーン面32の位置が決定されると、3Dスクリーン面32の決定された位置への移動が実行され(ステップS5)、3Dスクリーン面管理テーブル40の仮想カメラ30と3Dスクリーン面32との距離Aが更新される(ステップS6)。
Next, the position of the
そして、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値Pとなる基準位置まで3Dスクリーン面32が移動しているか否かの判定が行われ(ステップS7)。基準位置まで3Dスクリーン面32が移動している場合は(ステップS7にてYES)、3Dスクリーン面32の移動処理は終了する。一方、基準位置まで3Dスクリーン面32が移動していない場合は(ステップS7にてNO)、ステップS4にて、次のフレームでの3Dスクリーン面32での位置が決定される。
Then, it is determined whether or not the
ステップS4〜S7までの一連の処理は、ステップS7にて、基準位置まで3Dスクリーン面32が移動していると判定されるまで、フレームごとに繰り返し実行される。
A series of processing from step S4 to S7 is repeatedly executed for each frame until it is determined in step S7 that the
次いで、ステップS4における3Dスクリーン面32の位置決定処理について説明する。図6は、本発明の実施の形態にかかる3Dスクリーン面の位置決定処理についてのフローチャートの例である。まず、3Dスクリーン面管理テーブル40をもとに、現在の処理の対象とっているフレームが、ステップS1にて仮想カメラ30と対象オブジェクト31の距離が変化してから所定のフレーム以内であるか否かが判定される(ステップS41)。仮想カメラ30と対象オブジェクト31の距離が変化してから何フレーム以内に3Dスクリーン面32の移動を終了するかについては、特に制限は無く、適宜、設定することが可能である。
Next, the position determination process of the
次の2フレームが、仮想カメラ30と対象オブジェクト31の距離が変化してから所定のフレーム以内である場合(ステップS41にてYES)は、ステップS42の処理へと進行する。一方、次の2フレームが、仮想カメラ30と対象オブジェクト31の距離が変化してから所定のフレーム以内でない場合(ステップS41にてNO)、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値Pとなる基準位置が、次の2フレームにおける3Dスクリーン面32の位置として決定され(ステップS44)、処理が終了する。
If the next two frames are within a predetermined frame after the distance between the
ステップS42では、3Dスクリーン面管理テーブル40に記憶された、仮想カメラと3Dスクリーン面の距離B’42と、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値Pとなる場合の基準距離Bの差が所定の距離以下であるか否かの判定が行われる。 In step S42, the distance B′42 between the virtual camera and the 3D screen surface and (distance between the virtual camera and the target object) / (distance between the virtual camera and the 3D screen surface) stored in the 3D screen surface management table 40. It is determined whether or not the difference in the reference distance B is equal to or less than the predetermined distance when the ratio is a predetermined value P.
ステップS42での判定の結果、所定の距離以下ではないと判定されると(ステップS42にてNO)、前の2フレームでの3Dスクリーン面32の位置をもとに、次の2フレームにおける3Dスクリーン面32の位置が決定され(ステップS43)、処理が終了する。ステップS43における3Dスクリーン面32の位置は、上述したように、所定の割合に従って、フレーム毎に移動距離を変えながら、所定の位置に近づいていく。なお、等速で3Dスクリーン面32の位置を移動させることもできる。
If it is determined in step S42 that the distance is not less than the predetermined distance (NO in step S42), 3D in the next two frames is determined based on the position of
ステップS42での判定の結果、所定の距離以下であると判定されると(ステップS42にてYES)、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値Pとなる基準位置が、次の2フレームにおける3Dスクリーン面32の位置として決定され(ステップS44)、処理が終了する。
As a result of the determination in step S42, if it is determined that the distance is equal to or less than the predetermined distance (YES in step S42), (distance between virtual camera and target object) / (distance between virtual camera and 3D screen surface) The reference position at which the ratio becomes the predetermined value P is determined as the position of the
本発明のように3Dスクリーン面32が移動すると、オブジェクト33の位置によって、表示のされ方が異なる。次に、図7を用いて、オブジェクト33の位置の違いによる表示のされ方の違いについて、説明する。
When the
図7は、仮想カメラと対象オブジェクトの距離が長くなる場合における、仮想カメラ、対象オブジェクト及び3Dスクリーン面の位置関係、及び、表示態様の時間変化を表す図である。図7(a)では、位置の異なるオブジェクト33c〜eが仮想空間内に存在しており、それぞれのオブジェクト33毎にその表示態様の時間変化は異なる。図7(b)は、オブジェクト33c〜eについて、時間経過による表示態様の変化を示すもので、右へ移動するほど時間が経過していることを表す。
FIG. 7 is a diagram illustrating temporal changes in the positional relationship between the virtual camera, the target object, and the 3D screen surface, and the display mode when the distance between the virtual camera and the target object is long. In FIG. 7A, the
オブジェクト33cの場合であれば、イベントが発生して、仮想カメラ30と対象オブジェクト31の距離が変化したとしても、オブジェクト33cは常に3Dスクリーン面32よりも対象オブジェクト31側に存在しており、図7(b)に示すように、継続して奥行きがあるように表示される。
In the case of the
オブジェクト33dの場合、イベント発生前までゲーム画面の表示の対象となっていなかったものが、イベントの発生により、仮想カメラ30と対象オブジェクト31の距離が変化することで、表示の対象となる。仮想カメラ30が後方に移動した直後は、3Dスクリーン面32の位置は変わっていないため、オブジェクト33dは3Dスクリーン面32よりも仮想カメラ30側に存在することになり、図7(b)に示すように、画面から立体的に飛び出すように表示される。
In the case of the
ただし、時間の経過とともに、3Dスクリーン面32は後方に移動するため、ある時点で、オブジェクト33dは3Dスクリーン面32よりも対象オブジェクト31側に存在することになる。したがって、オブジェクト33dは、仮想カメラ30が後方に移動した直後は、画面から飛び出すように表示されていたとしても、ある時点から奥行きがあるように表示されることになる。このように、移動前の3Dスクリーン面32aよりも後方、かつ、移動後の3Dスクリーン面32bよりも前方にあるようなオブジェクト33dは、仮想カメラ30の位置が変わるととともに、画面から飛び出すように表示され、時間が経過することで、奥行きのある表示がされる。このような表示のされ方がされると、仮想カメラ30が後方に移動したことが、オブジェクト33dが瞬間的に画面から飛び出すように表示されることにより強調され、ゲーム内の状況の変化をよりリアルに感じさせることができる。また、その後は、奥行きのある表示となるため、違和感なくゲーム画面を表示することができる。
However, since the
オブジェクト33eの場合、イベント発生前までゲーム画面の表示の対象となっていなかったものが、イベントの発生により、仮想カメラ30と対象オブジェクト31の距離が変化することで、表示の対象となる。3Dスクリーン面32の位置は時間の経過とともに変化するが、オブジェクト33eは、常に3Dスクリーン面32よりも仮想カメラ30側に存在するため、継続して飛び出して見える。
In the case of the
ただし、3Dスクリーン面32の位置が移動することにより、視差の大きさも段階的に変化する。仮想カメラ30と対象オブジェクト31の距離が変化した直後であれば、仮想カメラ30と3Dスクリーン面32の距離が離れており、オブジェクト33eの左目用画像と右目用画像に設けられる視差はそれほど大きくないが、3Dスクリーン面32の距離が仮想カメラ30に近づくにつれて、その視差は大きくなる。したがって、段階的に視差の大きさが変化するため、人の視覚もその変化についていき易く、不快感や違和感を与えることなく、3D表示をすることが可能となる。
However, as the position of the
上の実施の形態では、主にアクションゲームにおいて、本発明を適用する場合について述べたが、格闘ゲーム、シューティングゲーム、レースゲーム、スポーツゲーム、ロールプレイングゲーム、シミュレーションゲームなど、様々な分野のゲームに適用することが可能である。 In the above embodiment, the case where the present invention is applied mainly to action games has been described. However, the present invention is applicable to games in various fields such as fighting games, shooting games, racing games, sports games, role playing games, and simulation games. It is possible to apply.
1 ゲーム装置
11 第1表示器
12 第2表示器
13 タッチパネル
14 操作部
15 スピーカ
16 カートリッジ
17 ハウジング
21 CPUコア
22 WRAM
23 第1VRAM
24 第1GPU
25 第2VRAM
26 第2GPU
27 I/F回路
28 コネクタ
29 無線通信装置
30 仮想カメラ
31 対象オブジェクト
32 3Dスクリーン面
33 オブジェクト
40 3Dスクリーン面管理テーブル
DESCRIPTION OF SYMBOLS 1
23 First VRAM
24 1st GPU
25 Second VRAM
26 Second GPU
27 I /
Claims (7)
仮想カメラと、仮想カメラが追従する対象オブジェクトを結ぶ線分に垂直な3Dスクリーン面を設定する3Dスクリーン面設定手段と、
ゲームの進行状況に応じて、仮想カメラと対象オブジェクトとの距離を変化させる距離変化手段と、
距離変化手段により仮想カメラと対象オブジェクトとの距離が変化すると、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるように、3Dスクリーン面の位置を調整する3Dスクリーン面位置調整手段と、
3Dスクリーン面よりも仮想カメラに遠い位置にあるオブジェクトについては視差がなく、且つ、3Dスクリーン面よりも仮想カメラに近い位置にあるオブジェクトについては視差を持たせた立体視用画像を生成する画像生成手段と、
画像生成手段により生成された立体視用画像を3Dディスプレイに表示する表示手段とを備え、
3Dスクリーン面位置調整手段は、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるまで、段階的に3Dスクリーン面の位置を移動させることを特徴とするゲーム装置。 A game apparatus that has a 3D display with a parallax barrier and displays a stereoscopic image with parallax for an object existing in a virtual space for each frame, thereby enabling stereoscopic viewing of a game screen. ,
3D screen surface setting means for setting a 3D screen surface perpendicular to a line segment connecting a virtual camera and a target object that the virtual camera follows;
Distance changing means for changing the distance between the virtual camera and the target object according to the progress of the game;
When the distance between the virtual camera and the target object is changed by the distance changing means, the ratio of (distance between the virtual camera and the target object) / (distance between the virtual camera and the 3D screen surface) becomes a predetermined value. 3D screen surface position adjusting means for adjusting the position of the screen surface;
Image generation for generating a stereoscopic image with no parallax for an object located farther from the virtual camera than the 3D screen surface and for an object located closer to the virtual camera than the 3D screen surface Means,
Display means for displaying a stereoscopic image generated by the image generation means on a 3D display,
The 3D screen surface position adjustment means moves the position of the 3D screen surface stepwise until the ratio of (distance between virtual camera and target object) / (distance between virtual camera and 3D screen surface) reaches a predetermined value. A game apparatus characterized by causing the game apparatus to play.
仮想カメラと3Dスクリーン面との距離が変化するごとに、距離記憶手段に記憶された仮想カメラと3Dスクリーン面の距離を更新する距離更新手段とを備え、
3Dスクリーン面位置調整手段が、
変化後の仮想カメラと3Dスクリーン面との距離と、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となる際の仮想カメラと3Dスクリーン面との距離である基準距離との差が、距離記憶手段に記憶された仮想カメラと3Dスクリーン面との距離と基準距離との差の所定の割合となるように3Dスクリーン面の位置を移動させることを特徴とする請求項1に記載のゲーム装置。 Distance storage means for storing the distance between the virtual camera and the 3D screen surface;
A distance updating means for updating the distance between the virtual camera stored in the distance storage means and the 3D screen surface each time the distance between the virtual camera and the 3D screen surface changes;
3D screen surface position adjustment means,
The virtual camera and the 3D when the ratio of the distance between the virtual camera and the 3D screen surface after the change and the (distance between the virtual camera and the target object) / (the distance between the virtual camera and the 3D screen surface) is a predetermined value. The position of the 3D screen surface is set such that the difference from the reference distance, which is the distance from the screen surface, is a predetermined ratio of the difference between the distance between the virtual camera stored in the distance storage means and the 3D screen surface and the reference distance. The game device according to claim 1, wherein the game device is moved.
3Dスクリーン面位置調整手段が、最大距離の範囲内で、3Dスクリーンの位置を移動させることを特徴とする請求項1〜4のいずれかに記載のゲーム装置。 The maximum distance is set in advance for the distance between the virtual camera and the 3D screen surface.
The game apparatus according to claim 1, wherein the 3D screen surface position adjusting means moves the position of the 3D screen within the range of the maximum distance.
ゲーム装置を、
仮想カメラと、仮想カメラが追従する対象オブジェクトを結ぶ線分に垂直な3Dスクリーン面を設定する3Dスクリーン面設定手段と、
ゲームの進行状況に応じて、仮想カメラと対象オブジェクトとの距離を変化させる距離変化手段と、
距離変化手段により仮想カメラと対象オブジェクトとの距離が変化すると、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるように、3Dスクリーン面の位置を調整する3Dスクリーン面位置調整手段と、
3Dスクリーン面よりも仮想カメラに遠い位置にあるオブジェクトについては視差がなく、且つ、3Dスクリーン面よりも仮想カメラに近い位置にあるオブジェクトについては視差を持たせた立体視用画像を生成する画像生成手段と、
画像生成手段により生成された立体視用画像を3Dディスプレイに表示する表示手段として機能させ、
3Dスクリーン面位置調整手段は、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるまで、段階的に3Dスクリーン面の位置を移動させること
を特徴とするゲームプログラム。 It is executed in a game device that has a 3D display with a parallax barrier and displays a stereoscopic image with parallax for an object existing in a virtual space for each frame, thereby enabling stereoscopic viewing of the game screen. A game program,
Game device
3D screen surface setting means for setting a 3D screen surface perpendicular to a line segment connecting a virtual camera and a target object that the virtual camera follows;
Distance changing means for changing the distance between the virtual camera and the target object according to the progress of the game;
When the distance between the virtual camera and the target object is changed by the distance changing means, the ratio of (distance between the virtual camera and the target object) / (distance between the virtual camera and the 3D screen surface) becomes a predetermined value. 3D screen surface position adjusting means for adjusting the position of the screen surface;
Image generation for generating a stereoscopic image with no parallax for an object located farther from the virtual camera than the 3D screen surface and for an object located closer to the virtual camera than the 3D screen surface Means,
Function as display means for displaying the stereoscopic image generated by the image generation means on the 3D display;
The 3D screen surface position adjustment means moves the position of the 3D screen surface stepwise until the ratio of (distance between virtual camera and target object) / (distance between virtual camera and 3D screen surface) reaches a predetermined value. A game program characterized by being caused to run.
仮想カメラと、仮想カメラが追従する対象オブジェクトを結ぶ線分に垂直な3Dスクリーン面を設定するステップと、
ゲームの進行状況に応じて、仮想カメラと対象オブジェクトとの距離を変化させるステップと、
仮想カメラと対象オブジェクトとの距離が変化すると、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるように、3Dスクリーン面の位置を調整するステップと、
3Dスクリーン面よりも仮想カメラに遠い位置にあるオブジェクトについては視差がなく、且つ、3Dスクリーン面よりも仮想カメラに近い位置にあるオブジェクトについては視差を持たせた立体視用画像を生成するステップと、
生成された立体視用画像を3Dディスプレイに表示するステップとを備え、
3Dスクリーン面の位置を調整するステップは、(仮想カメラと対象オブジェクトとの距離)/(仮想カメラと3Dスクリーン面との距離)の比が所定の値となるまで、段階的に3Dスクリーン面の位置を移動させるものであること
を特徴とするゲーム画面表示方法。 It is executed in a game device that has a 3D display with a parallax barrier and displays a stereoscopic image with parallax for an object existing in a virtual space for each frame, thereby enabling stereoscopic viewing of the game screen. A game screen display method,
Setting a 3D screen surface perpendicular to a line segment connecting the virtual camera and the target object that the virtual camera follows;
Changing the distance between the virtual camera and the target object according to the progress of the game;
When the distance between the virtual camera and the target object changes, the position of the 3D screen surface so that the ratio of (distance between the virtual camera and the target object) / (distance between the virtual camera and the 3D screen surface) becomes a predetermined value. Adjusting steps,
Generating a stereoscopic image having no parallax for an object located farther from the virtual camera than the 3D screen surface and having a parallax for an object located closer to the virtual camera than the 3D screen surface; ,
Displaying the generated stereoscopic image on a 3D display,
The step of adjusting the position of the 3D screen surface is performed step by step until the ratio of (distance between virtual camera and target object) / (distance between virtual camera and 3D screen surface) reaches a predetermined value. A game screen display method characterized by moving a position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012075165A JP5456820B2 (en) | 2012-03-28 | 2012-03-28 | Game device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012075165A JP5456820B2 (en) | 2012-03-28 | 2012-03-28 | Game device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013202223A true JP2013202223A (en) | 2013-10-07 |
JP5456820B2 JP5456820B2 (en) | 2014-04-02 |
Family
ID=49521972
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012075165A Active JP5456820B2 (en) | 2012-03-28 | 2012-03-28 | Game device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5456820B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2023017046A (en) * | 2016-08-26 | 2023-02-02 | マジック リープ, インコーポレイテッド | Continuous and binocular time warping and methods for virtual and augmented reality display systems |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004329463A (en) * | 2003-05-06 | 2004-11-25 | Nintendo Co Ltd | Game device and control program of virtual camera |
JP2005252459A (en) * | 2004-03-02 | 2005-09-15 | Toshiba Corp | Image generation apparatus, image generation method, and image generation program |
JP2008212208A (en) * | 2007-02-28 | 2008-09-18 | Square Enix Co Ltd | GAME DEVICE, VIRTUAL CAMERA CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM |
JP2011120224A (en) * | 2009-11-04 | 2011-06-16 | Nintendo Co Ltd | Display control program, information processing system, and program utilized for controlling stereoscopic display |
JP2011211685A (en) * | 2010-01-14 | 2011-10-20 | Nintendo Co Ltd | Portable information processing apparatus, and portable game device |
JP2011215918A (en) * | 2010-03-31 | 2011-10-27 | Namco Bandai Games Inc | Program, information storage medium, and image producing system |
JP2011212123A (en) * | 2010-03-31 | 2011-10-27 | Namco Bandai Games Inc | Program, information storage medium and terminal |
JP2011257682A (en) * | 2010-06-11 | 2011-12-22 | Nintendo Co Ltd | Display control program, display controller, display control method and display control system |
JP2012003350A (en) * | 2010-06-14 | 2012-01-05 | Nintendo Co Ltd | Image display program, device, system, and method |
-
2012
- 2012-03-28 JP JP2012075165A patent/JP5456820B2/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004329463A (en) * | 2003-05-06 | 2004-11-25 | Nintendo Co Ltd | Game device and control program of virtual camera |
JP2005252459A (en) * | 2004-03-02 | 2005-09-15 | Toshiba Corp | Image generation apparatus, image generation method, and image generation program |
JP2008212208A (en) * | 2007-02-28 | 2008-09-18 | Square Enix Co Ltd | GAME DEVICE, VIRTUAL CAMERA CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM |
JP2011120224A (en) * | 2009-11-04 | 2011-06-16 | Nintendo Co Ltd | Display control program, information processing system, and program utilized for controlling stereoscopic display |
JP2011211685A (en) * | 2010-01-14 | 2011-10-20 | Nintendo Co Ltd | Portable information processing apparatus, and portable game device |
JP2011215918A (en) * | 2010-03-31 | 2011-10-27 | Namco Bandai Games Inc | Program, information storage medium, and image producing system |
JP2011212123A (en) * | 2010-03-31 | 2011-10-27 | Namco Bandai Games Inc | Program, information storage medium and terminal |
JP2011257682A (en) * | 2010-06-11 | 2011-12-22 | Nintendo Co Ltd | Display control program, display controller, display control method and display control system |
JP2012003350A (en) * | 2010-06-14 | 2012-01-05 | Nintendo Co Ltd | Image display program, device, system, and method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2023017046A (en) * | 2016-08-26 | 2023-02-02 | マジック リープ, インコーポレイテッド | Continuous and binocular time warping and methods for virtual and augmented reality display systems |
JP7442608B2 (en) | 2016-08-26 | 2024-03-04 | マジック リープ, インコーポレイテッド | Continuous time warping and binocular time warping and methods for virtual reality and augmented reality display systems |
Also Published As
Publication number | Publication date |
---|---|
JP5456820B2 (en) | 2014-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4917664B1 (en) | Image display device, game program, and game control method | |
US9491430B2 (en) | Storage medium having stored therein display control program, display control apparatus, display control system, and display control method | |
US20140028544A1 (en) | Storage medium and information processing apparatus, method and system | |
JP6041604B2 (en) | Display device, control system, and control program | |
JP6663634B2 (en) | Video game device, video game control method, video game control program, and recording medium | |
JP2012212237A (en) | Image generation system, server system, program, and information storage medium | |
JP2019139425A (en) | Simulation system and program | |
JP5689637B2 (en) | Stereoscopic display control program, stereoscopic display control system, stereoscopic display control apparatus, and stereoscopic display control method | |
JP2012252566A (en) | Information processing program, information processor, information processing system, and information processing method | |
JP2006331109A (en) | Image processing program moving display area and image processor | |
JP5876983B2 (en) | Display control program, display control device, display control method, and display control system | |
JP5687826B2 (en) | GAME PROGRAM AND GAME DEVICE | |
JP2012106005A (en) | Image display device, game program, and game control method | |
JP5456820B2 (en) | Game device | |
JP2012141820A (en) | Program, information storage medium, image generation system and server system | |
JP2016001476A (en) | Display control program, display control device, display control system and display control method | |
JP5502048B2 (en) | GAME DEVICE, GAME PROGRAM, AND GAME SYSTEM | |
JP2012141826A (en) | Program, information storage medium, image generation system and server system | |
JP4469709B2 (en) | Image processing program and image processing apparatus | |
JP4842344B2 (en) | Image processing program and image processing apparatus for moving display area | |
JP6808896B2 (en) | Display control device, display control system, and program | |
JP2014135771A (en) | Stereoscopic display control program, stereoscopic display control system, stereoscopic display controller, and stereoscopic display control method | |
JP2015061616A (en) | GAME PROGRAM AND GAME DEVICE | |
JP6962579B2 (en) | Display control device, display control system, and program | |
JP7325100B2 (en) | 3D game image generation program, 3D game image generation device and 3D game image generation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130910 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131108 |
|
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: 20131217 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140108 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5456820 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
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 |