JP2013051460A - Display control program, display control device, display control system, and display control method - Google Patents

Display control program, display control device, display control system, and display control method Download PDF

Info

Publication number
JP2013051460A
JP2013051460A JP2011186741A JP2011186741A JP2013051460A JP 2013051460 A JP2013051460 A JP 2013051460A JP 2011186741 A JP2011186741 A JP 2011186741A JP 2011186741 A JP2011186741 A JP 2011186741A JP 2013051460 A JP2013051460 A JP 2013051460A
Authority
JP
Japan
Prior art keywords
stereoscopic
display
parameter
distance
eye
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.)
Withdrawn
Application number
JP2011186741A
Other languages
Japanese (ja)
Inventor
Hideaki Nishihara
秀明 西原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nintendo Co Ltd
Original Assignee
Nintendo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nintendo Co Ltd filed Critical Nintendo Co Ltd
Priority to JP2011186741A priority Critical patent/JP2013051460A/en
Publication of JP2013051460A publication Critical patent/JP2013051460A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a display control program, display control device, display control system and display control method with which a completely new presentation can be displayed to a user by changing and controlling a stereoscopic level in stereoscopic vision display.SOLUTION: A game device connected to a stereoscopic image display device capable of performing stereoscopic vision display has display processing means and change means. The display processing means allows a stereoscopic image display device 2 to perform stereoscopic vision display of a display object, on the basis of a stereoscopic vision parameter (e.g. a distance parameter between cameras which indicates a distance L1 and/or a reference level distance parameter which indicates a distance L3) for setting the stereoscopic level in the stereoscopic vision display, using an image for right eye and an image for left eye having disparity respectively. And, the change means repeatedly changes the stereoscopic vision parameter.

Description

本発明は、表示装置に表示対象を立体視表示させる表示制御プログラム、表示制御装置、表示制御システム及び表示制御方法に関し、より特定的には、立体視表示における立体度合いの変更制御を特徴とした表示制御プログラム、表示制御装置、表示制御システム及び表示制御方法に関する。   The present invention relates to a display control program, a display control device, a display control system, and a display control method for displaying a display target in a stereoscopic manner on a display device, and more specifically, a change control of a stereoscopic degree in a stereoscopic display. The present invention relates to a display control program, a display control device, a display control system, and a display control method.

互いに視差を有する右目用画像と左目用画像とを立体視表示可能な表示装置に表示することで、右目用画像と左目用画像とに共通で含まれる表示対象を表示装置に立体視表示させる表示制御装置は一般的に知られている。そして、特許文献1には、右目用画像と左目用画像との視差量を撮影者の操作に基づいて調整することで、立体視表示における立体度合いを変更する撮像装置が開示されている。   Display in which a display object that is included in both the right-eye image and the left-eye image is stereoscopically displayed on the display device by displaying the right-eye image and the left-eye image having parallax with each other on a display device capable of stereoscopic display Control devices are generally known. Patent Document 1 discloses an imaging apparatus that changes a stereoscopic degree in stereoscopic display by adjusting a parallax amount between a right-eye image and a left-eye image based on an operation of a photographer.

特開2003−264851号公報JP 2003-264851 A

しかしながら、特許文献1に記載の表示制御装置は、撮影者の視差量を調整する操作に基づいて、右目用画像と左目用画像との視差を調整するだけのものにすぎなかった。   However, the display control device described in Patent Literature 1 is merely a device that adjusts the parallax between the right-eye image and the left-eye image based on an operation of adjusting the parallax amount of the photographer.

本発明は、立体視表示における立体度合いの変更制御によって、全く新しい演出をユーザに表示することができる表示制御プログラム、表示制御装置、表示制御システム及び表示制御方法を提供することを目的とする。   An object of the present invention is to provide a display control program, a display control device, a display control system, and a display control method capable of displaying a completely new effect to a user by changing the degree of stereoscopic display in stereoscopic display.

(1)本発明にかかる表示制御プログラムは、立体視表示が可能な表示装置に接続された表示制御装置のコンピュータを、表示処理手段、及び変更手段、として機能させる。表示処理手段は、立体視表示における立体度合いを設定するための立体視パラメータに基づいて、互いに視差を有する右目用画像と左目用画像とを用いて、表示装置に立体視表示させる処理を繰り返し実行する。変更手段は、立体視パラメータを繰り返し変更する。   (1) A display control program according to the present invention causes a computer of a display control device connected to a display device capable of stereoscopic display to function as a display processing unit and a changing unit. The display processing means repeatedly executes a process of stereoscopically displaying on the display device using a right-eye image and a left-eye image having parallax based on a stereoscopic parameter for setting a stereoscopic degree in stereoscopic display. To do. The changing means repeatedly changes the stereoscopic parameter.

上記構成によれば、立体視パラメータが繰り返し変更されるため、立体視パラメータに基づく立体視表示において、立体度合いが繰り返し変更される。   According to the above configuration, since the stereoscopic parameter is repeatedly changed, the stereoscopic degree is repeatedly changed in the stereoscopic display based on the stereoscopic parameter.

(2)上述した表示制御プログラムにおいて、上記右目用画像と上記左目用画像には、仮想的な三次元空間が描画されてもよい。また、上記立体視パラメータは、三次元空間に配置された右目用仮想カメラと左目用仮想カメラとの間の第1の距離を少なくとも含んでいてもよい。更に、上記表示処理手段は、カメラ位置変更手段、及び画像生成手段を含んでいてもよい。カメラ位置変更手段は、変更手段によって変更された立体視パラメータに基づいて、右目用仮想カメラと左目用仮想カメラとの間の距離を変更する。また、画像生成手段は、右目用仮想カメラから三次元空間を撮像した右目用画像と、左目用仮想カメラから三次元空間を撮像した左目用画像とを繰り返し生成する。   (2) In the display control program described above, a virtual three-dimensional space may be drawn on the right-eye image and the left-eye image. The stereoscopic parameter may include at least a first distance between the right-eye virtual camera and the left-eye virtual camera arranged in the three-dimensional space. Further, the display processing means may include a camera position changing means and an image generating means. The camera position changing means changes the distance between the right-eye virtual camera and the left-eye virtual camera based on the stereoscopic parameter changed by the changing means. The image generation means repeatedly generates a right-eye image obtained by imaging the three-dimensional space from the right-eye virtual camera and a left-eye image obtained by imaging the three-dimensional space from the left-eye virtual camera.

上記構成によれば、右目用仮想カメラと左目用仮想カメラとの間の距離を繰り返し変更することで、右目用画像と左目用画像における視差を繰り返し変更することが可能となり、立体視表示における立体度合いを簡易な処理によって変更することができる。   According to the above configuration, it is possible to repeatedly change the parallax between the right-eye image and the left-eye image by repeatedly changing the distance between the right-eye virtual camera and the left-eye virtual camera. The degree can be changed by simple processing.

(3)上述した表示制御プログラムにおいて、上記右目用画像と上記左目用画像には、仮想的な三次元空間が描画されてもよい。また、上記立体視パラメータは、三次元空間に配置された右目用仮想カメラ及び/または左目用仮想カメラから基準面までの距離、若しくは右目用仮想カメラと左目用仮想カメラとの間の所定位置から基準面までの距離である第2の距離を少なくとも含んでいてもよい。更に、上記表示処理手段は、基準面変更手段、及び画像生成手段、を含んでいてもよい。基準面変更手段は、変更手段によって変更された立体視パラメータに基づいて、基準面の位置を変更する。画像生成手段は、右目用仮想カメラから三次元空間を撮像した右目用画像と、左目用仮想カメラから三次元空間を撮像した左目用画像とを、基準面に基づいて繰り返し生成する。   (3) In the display control program described above, a virtual three-dimensional space may be drawn in the right-eye image and the left-eye image. Further, the stereoscopic parameter is calculated based on a distance from the right-eye virtual camera and / or the left-eye virtual camera arranged in the three-dimensional space to the reference plane, or a predetermined position between the right-eye virtual camera and the left-eye virtual camera. It may include at least a second distance that is a distance to the reference surface. Furthermore, the display processing means may include a reference plane changing means and an image generating means. The reference plane changing unit changes the position of the reference plane based on the stereoscopic parameter changed by the changing unit. The image generation means repeatedly generates a right-eye image obtained by imaging a three-dimensional space from the right-eye virtual camera and a left-eye image obtained by imaging the three-dimensional space from the left-eye virtual camera based on the reference plane.

上記構成によれば、基準面の位置を繰り返し変更することで、右目用画像と左目用画像における視差を繰り返し変更することが可能になり、立体視表示における立体度合いを簡易な処理によって変更することができる。   According to the above configuration, it is possible to repeatedly change the parallax in the right-eye image and the left-eye image by repeatedly changing the position of the reference plane, and to change the stereoscopic degree in the stereoscopic display by a simple process. Can do.

(4)上述した(2)の表示制御プログラムにおいて、上記立体視パラメータは複数あり、当該複数の立体視パラメータは、第1の距離に加えて、右目用仮想カメラ及び/又は左目用仮想カメラから基準面までの距離、若しくは右目用仮想カメラと左目用仮想カメラとの間の所定位置から基準面までの距離である第2の距離を少なくとも含んでもよい。また、上記表示処理手段は、カメラ位置変更手段及び前記画像生成手段に加えて、変更手段によって変更された立体視パラメータに基づいて、基準面の位置を変更する基準面変更手段を更に含んでもよい。そして、上記画像生成手段は、右目用仮想カメラから三次元空間を撮像した右目用画像と、左目用仮想カメラから三次元空間を撮像した左目用画像とを、基準面に基づいて繰り返し生成してもよい。   (4) In the display control program of (2) described above, there are a plurality of the stereoscopic parameters, and the plurality of stereoscopic parameters are obtained from the right-eye virtual camera and / or the left-eye virtual camera in addition to the first distance. It may include at least a second distance that is a distance to the reference plane or a distance from a predetermined position between the right-eye virtual camera and the left-eye virtual camera to the reference plane. In addition to the camera position changing unit and the image generating unit, the display processing unit may further include a reference plane changing unit that changes the position of the reference plane based on the stereoscopic parameter changed by the changing unit. . The image generation means repeatedly generates a right-eye image obtained by imaging a three-dimensional space from a right-eye virtual camera and a left-eye image obtained by imaging a three-dimensional space from a left-eye virtual camera based on a reference plane. Also good.

上記構成によれば、基準面の位置を繰り返し変更することで、右目用画像と左目用画像における視差を繰り返し変更することが可能になり、立体視表示における立体度合いを簡易な処理によって変更することができる。更に、右目用仮想カメラと左目用仮想カメラとの間の距離と、基準面の位置との2種類の要素(ファクター)を変更することで、立体視表示における立体度合いを変更することができるため、立体度合いの変化に複雑さを与えることができる。   According to the above configuration, it is possible to repeatedly change the parallax in the right-eye image and the left-eye image by repeatedly changing the position of the reference plane, and to change the stereoscopic degree in the stereoscopic display by a simple process. Can do. Furthermore, by changing two types of elements (factors), that is, the distance between the virtual camera for the right eye and the virtual camera for the left eye and the position of the reference plane, the stereoscopic degree in the stereoscopic display can be changed. , It can add complexity to the change in the degree of solid.

(5)上述した表示制御プログラムにおいて、上記変更手段は、立体視パラメータが周期的に変化するように、立体視パラメータを繰り返し変更してもよい。この構成によれば、立体視パラメータが周期性を持って変化するため、立体視表示における立体度合いも周期性を持って変化し、例えば水中に居たり、酔っ払っている等のような視界が周期性を持って繊細に変化する感覚をユーザに与えることができる。   (5) In the display control program described above, the changing unit may repeatedly change the stereoscopic parameter so that the stereoscopic parameter periodically changes. According to this configuration, since the stereoscopic parameter changes with periodicity, the stereoscopic degree in the stereoscopic display also changes with periodicity. For example, the field of view such as being underwater or drunk is periodic. It is possible to give the user a sense of delicate change with sex.

(6)上述した表示制御プログラムにおいて、上記変更手段は、立体視パラメータが所定の上限及び当該上限とは異なる所定の下限との間で増減を繰り返すように立体視パラメータを変更してもよい。この構成によれば、立体視表示における立体度合いを一定の増減を繰り返すように変化させることができる。   (6) In the display control program described above, the changing unit may change the stereoscopic parameter so that the stereoscopic parameter repeatedly increases and decreases between a predetermined upper limit and a predetermined lower limit different from the upper limit. According to this configuration, it is possible to change the stereoscopic degree in the stereoscopic display so as to repeat constant increase and decrease.

(7)上述した(6)の表示制御プログラムにおいて、上記所定の上限及び上記所定の下限は、対象となる立体視パラメータにおける基準値の所定割合に基づいた値であってもよい。この構成によれば、立体視パラメータの基準値(例えばデフォルト値)を例えばユーザの操作に基づいて変更可能な場合であっても、この変更後の基準値を基準として立体視パラメータを増減させることができる。   (7) In the display control program of (6) described above, the predetermined upper limit and the predetermined lower limit may be values based on a predetermined ratio of a reference value in a target stereoscopic parameter. According to this configuration, even when the reference value (eg, default value) of the stereoscopic parameter can be changed based on, for example, a user operation, the stereoscopic parameter is increased or decreased based on the changed reference value. Can do.

(8)上述した(4)の表示制御プログラムにおいて、上記変更手段は、第1の距離と、第2の距離とがそれぞれ異なる周期で周期的に変化するように、立体視パラメータを繰り返し変更してもよい。この構成によれば、第1の距離と第2の距離という、立体視表示における立体度合いを変更するための異なる要素(ファクター)について、異なる周期を持って変化させることができる。これによって、立体視表示における立体度合いを更に複雑に変化させることができる。   (8) In the display control program of (4) described above, the changing means repeatedly changes the stereoscopic parameter so that the first distance and the second distance periodically change at different periods. May be. According to this configuration, different elements (factors) for changing the stereoscopic degree in the stereoscopic display such as the first distance and the second distance can be changed with different periods. Thereby, the stereoscopic degree in the stereoscopic display can be changed more complicatedly.

(9)上述した(4)の表示制御プログラムにおいて、上記変更手段は、立体視パラメータが所定の上限及び当該上限とは異なる所定の下限との間で増減を繰り返すように立体視パラメータを変更してもよい。また所定の上限及び所定の下限は、対象となる立体視パラメータにおける基準値の所定割合に基づいた値であってもよい。そして、所定割合は、前記第1の距離、及び前記第2の距離とでそれぞれ異なる割合としてもよい。この構成によれば、第1の距離と第2の距離という、立体視表示における立体度合いを変更するための異なる2種類の要素(ファクター)について、基準値から変化させる所定割合が異なる。これによって、立体視表示における立体度合いを更に複雑に変化させることができる。   (9) In the display control program of (4) described above, the changing unit changes the stereoscopic parameter so that the stereoscopic parameter repeatedly increases and decreases between a predetermined upper limit and a predetermined lower limit different from the upper limit. May be. Further, the predetermined upper limit and the predetermined lower limit may be values based on a predetermined ratio of a reference value in a target stereoscopic parameter. The predetermined ratio may be a ratio that is different between the first distance and the second distance. According to this configuration, the predetermined ratio to be changed from the reference value is different for two different types of elements (factors) for changing the stereoscopic degree in the stereoscopic display, that is, the first distance and the second distance. Thereby, the stereoscopic degree in the stereoscopic display can be changed more complicatedly.

(10)上述した表示制御プログラムにおいて、上記変更手段は、立体視パラメータを繰り返し変更することにより、立体視表示における立体度合いを繰り返し変更してもよい。この構成によれば、全く新しい演出をユーザに提供することができる。   (10) In the display control program described above, the changing unit may repeatedly change the stereoscopic degree in the stereoscopic display by repeatedly changing the stereoscopic parameter. According to this configuration, a completely new effect can be provided to the user.

(11)上述した表示制御プログラムにおいて、上記表示処理手段は、特定のシーンを含む複数のシーンのうちの何れかを選択的に表示装置に立体視表示させてもよい。そして、
上記変更手段は、特定のシーンが立体視表示されるときに、立体視パラメータを繰り返し変更してもよい。この構成によれば、立体度合いを繰り返し変更するという演出が効果的な特定のシーンにおいて、当該演出をユーザに提供することができる。
(11) In the display control program described above, the display processing unit may selectively cause any one of a plurality of scenes including a specific scene to be stereoscopically displayed on the display device. And
The changing unit may repeatedly change the stereoscopic parameter when a specific scene is stereoscopically displayed. According to this configuration, the effect can be provided to the user in a specific scene where the effect of repeatedly changing the solid degree is effective.

(12)上述した表示制御プログラムにおいて、上記表示処理手段は、仮想的な三次元空間を撮像した画像を前記表示装置に立体視表示させてもよい。また、上記変更手段は、三次元空間内で特定のイベントが発生したときに、立体視パラメータを繰り返し変更してもよい。この構成によれば、立体視表示における立体度合いを繰り返し変更するという演出が効果的な特定のイベントが発生したときに、当該演出をユーザに提供することができる。   (12) In the display control program described above, the display processing unit may cause the display device to stereoscopically display an image obtained by imaging a virtual three-dimensional space. The changing unit may repeatedly change the stereoscopic parameter when a specific event occurs in the three-dimensional space. According to this configuration, when a specific event that effectively produces an effect of repeatedly changing the stereoscopic degree in the stereoscopic display occurs, the effect can be provided to the user.

(13)上述した表示制御プログラムにおいて、上記表示制御装置は、ユーザの操作を受け付ける操作手段に接続されてもよい。また、上記表示処理手段は、操作に応じた仮想的な三次元空間を表示装置に立体視表示させてもよい。上記変更手段は、操作の状態が特定の状態であるときに、立体視パラメータを繰り返し変更してもよい。この構成によれば、操作の状態が、立体視表示における立体度合いを繰り返し変更するという演出が効果的な特定の状態であるときに(例えば、プレイヤキャラクタを移動させる操作が入力されていない状態であるときに)、当該演出をユーザに提供することができる。   (13) In the display control program described above, the display control device may be connected to an operation unit that receives a user operation. Further, the display processing unit may cause the display device to display a virtual three-dimensional space corresponding to the operation in a stereoscopic view. The change unit may repeatedly change the stereoscopic parameter when the operation state is a specific state. According to this configuration, when the operation state is a specific state in which the effect of repeatedly changing the stereoscopic degree in the stereoscopic display is effective (for example, in a state where an operation for moving the player character is not input). In some cases, the presentation can be provided to the user.

(14)本発明にかかる表示制御装置は、立体視表示が可能な表示装置に接続された表示制御装置であって、表示処理手段、及び変更手段、を備える。表示処理手段は、立体視表示における立体度合いを設定するための立体視パラメータに基づいて、互いに視差を有する右目用画像と左目用画像とを用いて、表示装置に立体視表示させる処理を繰り返し実行する。変更手段は、立体視パラメータを繰り返し変更する。   (14) A display control device according to the present invention is a display control device connected to a display device capable of stereoscopic display, and includes a display processing unit and a changing unit. The display processing means repeatedly executes a process of stereoscopically displaying on the display device using a right-eye image and a left-eye image having parallax based on a stereoscopic parameter for setting a stereoscopic degree in stereoscopic display. To do. The changing means repeatedly changes the stereoscopic parameter.

(15)本発明にかかる表示制御システムは、立体視表示が可能な表示装置に接続され、複数の情報処理装置からなる表示制御システムあって、表示処理手段、及び変更手段、を備える。表示処理手段は、立体視表示における立体度合いを設定するための立体視パラメータに基づいて、互いに視差を有する右目用画像と左目用画像とを用いて、表示装置に立体視表示させる処理を繰り返し実行する。変更手段は、立体視パラメータを繰り返し変更する。   (15) A display control system according to the present invention is a display control system that is connected to a display device capable of stereoscopic display and includes a plurality of information processing devices, and includes a display processing unit and a changing unit. The display processing means repeatedly executes a process of stereoscopically displaying on the display device using a right-eye image and a left-eye image having parallax based on a stereoscopic parameter for setting a stereoscopic degree in stereoscopic display. To do. The changing means repeatedly changes the stereoscopic parameter.

(16)本発明にかかる表示制御方法は、立体視表示が可能な表示装置に接続された表示制御装置を用いた表示制御方法であって、表示処理ステップ、及び変更ステップ、を含む。表示処理ステップにおいて、立体視表示における立体度合いを設定するための立体視パラメータに基づいて、互いに視差を有する右目用画像と左目用画像とを用いて表示装置に立体視表示させる処理を繰り返し実行する。変更ステップにおいて、立体視パラメータを繰り返し変更する。   (16) A display control method according to the present invention is a display control method using a display control device connected to a display device capable of stereoscopic display, and includes a display processing step and a change step. In the display processing step, based on the stereoscopic parameter for setting the stereoscopic degree in the stereoscopic display, the process of displaying stereoscopically on the display device using the right-eye image and the left-eye image having parallax with each other is repeatedly executed. . In the changing step, the stereoscopic parameter is repeatedly changed.

上述した、表示制御装置、表示制御システム又は表示制御方法によれば、(1)の表示制御プログラムと同様の作用効果を奏する。   According to the display control device, the display control system, or the display control method described above, the same operational effects as the display control program of (1) are exhibited.

上述した表示制御プログラム、表示制御装置、表示制御システム及び表示制御方法によれば、立体視パラメータに基づく立体視表示において、立体度合いが繰り返し変更されるため、全く新しい演出をユーザに表示することができる。   According to the display control program, the display control device, the display control system, and the display control method described above, the stereoscopic degree is repeatedly changed in the stereoscopic display based on the stereoscopic parameter, so that a completely new effect can be displayed to the user. it can.

立体視表示の基本原理の説明図Illustration of the basic principle of stereoscopic display 立体視表示の基本原理の説明図Illustration of the basic principle of stereoscopic display 仮想的な三次元空間の一例を表す図A diagram showing an example of a virtual three-dimensional space 図2で示す仮想空間において、右目用仮想カメラCaRから撮像した右目用画像と、左目用仮想カメラCaLから撮像した左目用画像とを示す図The figure which shows the image for right eyes imaged from the virtual camera CaR for right eyes, and the image for left eyes imaged from the virtual camera CaL for left eyes in the virtual space shown in FIG. ゲーム装置の内部構成を示すブロック図Block diagram showing the internal configuration of the game device メインメモリのメモリマップの一例を示す図Figure showing an example of the memory map of the main memory カメラ間距離変化情報の示す距離L1の変化と、基準面距離変化情報の示す距離L3の変化を示すグラフThe graph which shows the change of the distance L1 which the distance change information between cameras shows, and the change of the distance L3 which the reference plane distance change information shows 図2で示した三次元空間において、距離L3を変更せずに、距離L1を大きくした状態を示す図The figure which shows the state which increased distance L1, without changing distance L3 in the three-dimensional space shown in FIG. 図2で示した三次元空間において、距離L1を変更せずに、距離L3を大きくした状態を示す図The figure which shows the state which increased distance L3, without changing distance L1 in the three-dimensional space shown in FIG. 図7で示す仮想空間において、右目用仮想カメラCaRから撮像した右目用画像と、左目用仮想カメラCaLから撮像した左目用画像とを示す図The figure which shows the image for right eyes imaged from the virtual camera CaR for right eyes, and the image for left eyes imaged from the virtual camera CaL for left eyes in the virtual space shown in FIG. 図8で示す仮想空間において、右目用仮想カメラCaRから撮像した右目用画像と、左目用仮想カメラCaLから撮像した左目用画像とを示す図The figure which shows the image for right eyes imaged from the virtual camera CaR for right eyes, and the image for left eyes imaged from the virtual camera CaL for left eyes in the virtual space shown in FIG. ゲーム処理におけるメイン処理の一例を示すフローチャートA flowchart showing an example of main processing in game processing ステップS3におけるカメラ間距離パラメータ生成処理の一例を示すフローチャートThe flowchart which shows an example of the distance parameter production | generation process between cameras in step S3 ステップS4における基準面距離パラメータ生成処理の一例を示すフローチャートThe flowchart which shows an example of the reference plane distance parameter generation process in step S4 変形例にかかるカメラ間距離パラメータ生成処理の一例を示すフローチャートThe flowchart which shows an example of the inter-camera distance parameter production | generation process concerning a modification 変形例にかかるカメラ間距離パラメータ生成処理の一例を示すフローチャートThe flowchart which shows an example of the inter-camera distance parameter production | generation process concerning a modification 変形例にかかるカメラ間距離パラメータ生成処理の一例を示すフローチャートThe flowchart which shows an example of the inter-camera distance parameter production | generation process concerning a modification

以下、本発明を適用した一実施形態について、図面を参照しつつ説明する。本実施形態は、立体視表示が可能な表示装置に接続された表示制御装置に関する。表示制御装置は、表示制御プログラムの実行によって、表示処理手段、及び変更手段を備える。表示処理手段は、表示処理ステップにおいて、例えば描画周期毎に繰り返し、立体視パラメータに基づいて、共通の表示対象を含み、かつ互いに視差を有する右目用画像と左目用画像とを用いて、表示対象を表示装置に立体視表示させる。また、変更手段は、例えば所定時間の経過毎に立体視パラメータを繰り返し変更する。この様な、表示処理手段及び変更手段によって実行される処理を、「表示制御処理」と記載する。表示処理ステップ及び変更ステップを含む方法を表示制御方法と記載する。   Hereinafter, an embodiment to which the present invention is applied will be described with reference to the drawings. The present embodiment relates to a display control device connected to a display device capable of stereoscopic display. The display control device includes a display processing unit and a changing unit by executing the display control program. In the display processing step, the display processing unit repeats, for example, every rendering cycle, and uses a right-eye image and a left-eye image that include a common display object and have parallax from each other based on the stereoscopic parameters. Is displayed stereoscopically on the display device. Further, the changing unit repeatedly changes the stereoscopic parameter every time a predetermined time elapses, for example. Such processing executed by the display processing means and the changing means is referred to as “display control processing”. A method including the display processing step and the change step is referred to as a display control method.

(立体視の基本原理)
以下に、図1A及び図1Bを用いて、上記表示装置の立体視表示の基本原理を説明する。図1A及び図1Bは、立体視表示の基本原理の説明図である。表示装置は、ディスプレイを備え、このディスプレイには、同じ(共通の)表示対象を所定の視差を設けて2つ表示している。この表示対象のうちの一方がユーザの右目で視認するための表示対象(右目用表示対象)であり、他方がユーザの左目で視認するための表示対象(左目用表示対象)である。なお、「視差」とは、ディスプレイに表示される右目用表示対象の位置と左目用表示対象の位置とのずれのことである。この視差によって、ユーザに対して表示対象が立体視表示される。
(Basic principle of stereoscopic vision)
The basic principle of the stereoscopic display of the display device will be described below with reference to FIGS. 1A and 1B. 1A and 1B are explanatory diagrams of the basic principle of stereoscopic display. The display device includes a display, and this display displays two identical (common) display objects with a predetermined parallax. One of the display objects is a display object (right eye display object) for visual recognition with the user's right eye, and the other is a display object (left eye display object) for visual recognition with the user's left eye. Note that “parallax” refers to a shift between the position of the right-eye display target and the position of the left-eye display target displayed on the display. Due to this parallax, the display target is stereoscopically displayed to the user.

なお、右目用表示対象の位置と左目用表示対象の位置に視差があることを、「右目用画像と左目用画像とが視差を有する」と記載する。なお、図1Aに示すように、右目用表示対象が右(ユーザから見て右)に表示され、左目用表示対象が左(ユーザから見て左)に表示されているときには、ユーザに知覚される表示対象の位置P1は、ディスプレイの奥側になる。また、図1Bに示すように、右目用表示対象が左に表示され、左目用表示対象が右に表示されているときには、位置P1は、ディスプレイの手前になる。そして、視差が0であるときには、位置P1はディスプレイの位置になる。なお、本実施形態で使用する立体視の方式は、両眼視差を利用した方式であればよく、例えばレンチキュラー方式であっても、パララックスバリア方式であってもよい。また、裸眼立体視のみでなく、3Dテレビ、又は3Dシアター等において、左目用画像と右目用画像とを交互に表示装置によって表示させ、この表示画像をユーザがメガネ等を用いて左目用画像を左目で、右目用画像を右目でそれぞれ視認することで、ユーザに立体視表示させる方式であってもよい。   The fact that there is a parallax between the position of the right-eye display target and the position of the left-eye display target is described as “the right-eye image and the left-eye image have parallax”. As shown in FIG. 1A, when the right-eye display target is displayed on the right (right when viewed from the user) and the left-eye display target is displayed on the left (left when viewed from the user), it is perceived by the user. The display target position P1 is on the back side of the display. As shown in FIG. 1B, when the right-eye display object is displayed on the left and the left-eye display object is displayed on the right, the position P1 is in front of the display. When the parallax is 0, the position P1 is the position of the display. Note that the stereoscopic method used in the present embodiment may be a method using binocular parallax, and may be, for example, a lenticular method or a parallax barrier method. In addition to autostereoscopic viewing, a left-eye image and a right-eye image are alternately displayed by a display device in a 3D television, a 3D theater, or the like, and the user uses glasses or the like to display the left-eye image. A method of stereoscopically displaying the image to the user by visually recognizing the right eye image with the left eye and the right eye may be used.

(表示制御処理)
以下に、図1A及び図1Bを用いて、本実施形態の特徴となる表示制御処理を説明する。上述したように、表示制御処理では、表示制御装置は、例えば描画周期毎に繰り返し、立体視パラメータに基づいて表示装置に上記立体視表示を行わせる。この立体視パラメータは、立体視表示における立体度合いを設定(調整)するためのパラメータである。当該立体度合いは、右目用表示対象と左目用表示対象との視差に基づいて定まる。従って、立体視パラメータは、この視差を設定する(変える)ためのパラメータである。本実施形態では、この立体視パラメータが、繰り返し変更される。このため、立体視表示における立体度合いを繰り返し変更することができ、全く新しい演出をユーザに提供することができる。更に、本実施形態では、この立体視パラメータが、周期的に変化するように、所定の時間(当該周期よりも短い時間)の経過毎に繰り返し変更される。これによって、立体視表示の立体度合い(立体感)が周期的に変化(増減)することになり、全く新しい演出をユーザに提供することができる。これによって、例えば、ユーザが水中に居たり、酔っ払っていたり等の視界が周期性を持って繊細に変化する感覚をユーザに与えることができる。
(Display control processing)
Hereinafter, display control processing that is a feature of the present embodiment will be described with reference to FIGS. 1A and 1B. As described above, in the display control process, the display control device repeats, for example, every drawing cycle, and causes the display device to perform the stereoscopic display based on the stereoscopic parameter. This stereoscopic parameter is a parameter for setting (adjusting) the stereoscopic degree in the stereoscopic display. The solid degree is determined based on the parallax between the display object for the right eye and the display object for the left eye. Accordingly, the stereoscopic parameter is a parameter for setting (changing) this parallax. In the present embodiment, this stereoscopic parameter is repeatedly changed. For this reason, the stereoscopic degree in the stereoscopic display can be changed repeatedly, and a completely new effect can be provided to the user. Furthermore, in this embodiment, the stereoscopic parameter is repeatedly changed every elapse of a predetermined time (a time shorter than the cycle) so as to periodically change. Thereby, the stereoscopic degree (stereoscopic effect) of the stereoscopic display is periodically changed (increased or decreased), and a completely new effect can be provided to the user. Thereby, for example, it is possible to give the user a feeling that the field of view changes with a periodicity, such as when the user is underwater or drunk.

(立体視パラメータ)
なお、以下に、図2及び図3を参照して立体視パラメータの具体例を説明する。図2は、仮想的な三次元空間の一例を表す図である。表示対象が仮想的な三次元空間である場合には、上記立体視パラメータは、三次元空間における右目用仮想カメラCaR(位置P2a)と左目用仮想カメラCaL(位置P2b)との間の距離L1(第1の距離)を示すパラメータであってもよい。このパラメータを以下「カメラ間距離パラメータ」と記載する。なお、右目用仮想カメラCaRは、上記右目用画像を撮像するための仮想カメラであり、左目用仮想カメラCaLは、上記左目用画像を撮像するための仮想カメラである。
(Stereoscopic parameters)
Hereinafter, specific examples of stereoscopic parameters will be described with reference to FIGS. 2 and 3. FIG. 2 is a diagram illustrating an example of a virtual three-dimensional space. When the display target is a virtual three-dimensional space, the stereoscopic parameter is the distance L1 between the right-eye virtual camera CaR (position P2a) and the left-eye virtual camera CaL (position P2b) in the three-dimensional space. It may be a parameter indicating (first distance). This parameter is hereinafter referred to as “inter-camera distance parameter”. The right-eye virtual camera CaR is a virtual camera for capturing the right-eye image, and the left-eye virtual camera CaL is a virtual camera for capturing the left-eye image.

三次元空間内には、カメラ間距離パラメータに対応する距離L1を開けて、視線が略平行になるように、右目用仮想カメラCaRと左目用仮想カメラCaLとが、配置される。そして、描画周期毎に、右目用仮想カメラCaRを視点として三次元空間を仮想スクリーンScRに投影して、右目用画像を生成する処理(右目用画像生成処理)が実行される。これとともに、左目用仮想カメラCaLを視点として三次元空間を仮想スクリーンScLに投影して左目用画像を生成する処理(左目用画像生成処理)が実行される。本実施形態では、仮想スクリーンScRと仮想スクリーンScLの重なる範囲のみがレンダリングされる。以下、仮想スクリーンScRにおける仮想スクリーンScLと重なる範囲、及び仮想スクリーンScLにおける仮想スクリーンScRと重なる範囲を「スクリーン共通範囲Sc」と記載する場合がある。なお、ビューボリューム内のオブジェクトOが仮想スクリーンScR、ScL上に(後述の基準面B上に)位置しないときには、スクリーン共通範囲Scにおける右目用仮想カメラCaRを視点としたオブジェクトOの投影位置Orと、左目用仮想カメラCaLを視点としたオブジェクトOの投影位置Olとの間に距離L2のずれが生じる。   In the three-dimensional space, the right-eye virtual camera CaR and the left-eye virtual camera CaL are arranged so that the line of sight is substantially parallel with a distance L1 corresponding to the inter-camera distance parameter. Then, for each drawing cycle, a process (right-eye image generation process) is performed in which the three-dimensional space is projected onto the virtual screen ScR with the right-eye virtual camera CaR as the viewpoint, and the right-eye image is generated. At the same time, a process (left-eye image generation process) of generating a left-eye image by projecting the three-dimensional space onto the virtual screen ScL with the left-eye virtual camera CaL as a viewpoint is executed. In the present embodiment, only the overlapping range of the virtual screen ScR and the virtual screen ScL is rendered. Hereinafter, the range that overlaps the virtual screen ScL in the virtual screen ScR and the range that overlaps the virtual screen ScR in the virtual screen ScL may be referred to as “screen common range Sc”. When the object O in the view volume is not positioned on the virtual screens ScR and ScL (on a reference plane B described later), the projection position Or of the object O with the right eye virtual camera CaR as the viewpoint in the screen common range Sc and The distance L2 is shifted from the projection position Ol of the object O with the left-eye virtual camera CaL as the viewpoint.

上記距離L2のずれによって、右目用画像及び左目用画像の共通部分は、図3で示すように、右目用仮想カメラCaRと左目用仮想カメラCaLとの距離L1に応じた視差を有する(右目用表示対象の位置と左目用表示対象の位置との間に視差がある)。上述したように、この視差によって表示対象が立体視表示され、またこの視差が立体視表示における立体度合いを定めている。このため、右目用仮想カメラCaRと左目用仮想カメラCaLとの距離L1を変更することで、立体視表示における立体度合いを変更することができる。なお、図3では、右目用仮想カメラCaRのビューボリュームを全てレンダリングして右目用画像を生成し、かつ左目用仮想カメラCaLのビューボリュームを全てレンダリングして左目用画像を生成しているが、本実施形態では、右目用仮想カメラCaRと左目用仮想カメラCaLとで共通して撮像可能な範囲(スクリーン共通範囲Sc)のみをレンダリングする。また、図3では(後述の図9A、図9Bでも)、右目用画像と左目用画像とが垂直方向にずれているが、実際にはこの垂直方向のずれはなく、右目画像におけるオブジェクトOの位置と、左目画像におけるオブジェクトOの位置は垂直方向では同一になる。   Due to the shift in the distance L2, the common part of the right-eye image and the left-eye image has a parallax corresponding to the distance L1 between the right-eye virtual camera CaR and the left-eye virtual camera CaL (as shown in FIG. 3). There is a parallax between the position of the display target and the position of the display target for the left eye). As described above, the display object is stereoscopically displayed by the parallax, and the parallax determines the stereoscopic degree in the stereoscopic display. For this reason, the stereoscopic degree in the stereoscopic display can be changed by changing the distance L1 between the virtual camera CaR for the right eye and the virtual camera CaL for the left eye. In FIG. 3, all the view volumes of the right-eye virtual camera CaR are rendered to generate a right-eye image, and all the view volumes of the left-eye virtual camera CaL are rendered to generate a left-eye image. In the present embodiment, only the range (screen common range Sc) that can be imaged in common by the virtual camera CaR for the right eye and the virtual camera CaL for the left eye is rendered. Further, in FIG. 3 (also in FIGS. 9A and 9B described later), the right-eye image and the left-eye image are shifted in the vertical direction, but actually there is no shift in the vertical direction, and the object O in the right-eye image is not. The position and the position of the object O in the left eye image are the same in the vertical direction.

この具体例では、カメラ間距離パラメータが周期的に変化するように、カメラ間距離パラメータが繰り返し変更される。この周期的な変化は、例えば、所定の上限と当該所定の上限とは異なる所定の下限との間で増減を繰り返すような変化である。なお、この所定の上限、及び所定の下限は、デフォルト値(基準値)の所定割合に基づいて決定されてもよい。具体的には、デフォルト値から所定割合で大きく変化させた値を所定の上限とし、デフォルト値から所定割合で小さく変化させた値を所定の上限値としてもよい。なお、所定の割合を、例えば、Sin波(正弦波)、Cos波で表されるように周期的に変化させることで、カメラ間距離パラメータを周期的に変化させることができる。なお、カメラ距離パラメータの変化はこの様に周期性を有することが好ましいが、この変化は如何なる波形で表されるものであってもよい。カメラ間距離パラメータが変更されたときに、当該変更されたカメラ間距離パラメータに基づいて、右目用仮想カメラCaRと左目用仮想カメラCaLの位置(距離)が変更される。これによって、立体視表示の立体度合いを周期的に変化させることができる。なお、カメラ間距離パラメータの変化が周期性を有することが好ましいと記載したが、この変化が周期性を有することは本実施形態の必須の構成ではない。   In this specific example, the inter-camera distance parameter is repeatedly changed so that the inter-camera distance parameter periodically changes. This periodic change is, for example, a change that repeatedly increases and decreases between a predetermined upper limit and a predetermined lower limit different from the predetermined upper limit. The predetermined upper limit and the predetermined lower limit may be determined based on a predetermined ratio of default values (reference values). Specifically, a value that is largely changed from the default value at a predetermined rate may be set as the predetermined upper limit, and a value that is changed slightly from the default value at the predetermined rate may be set as the predetermined upper limit value. Note that the inter-camera distance parameter can be periodically changed by periodically changing the predetermined ratio as represented by, for example, a Sin wave (sine wave) or a Cos wave. Although the change in the camera distance parameter preferably has such periodicity, this change may be expressed by any waveform. When the inter-camera distance parameter is changed, the positions (distances) of the right-eye virtual camera CaR and the left-eye virtual camera CaL are changed based on the changed inter-camera distance parameter. Thereby, the stereoscopic degree of the stereoscopic display can be periodically changed. Although it has been described that it is preferable that the change in the inter-camera distance parameter has periodicity, it is not an essential configuration of the present embodiment that this change has periodicity.

また、以下に、図2及び図3を参照して立体視パラメータの他の具体例を説明する。立体視パラメータは、三次元空間における、右目用仮想カメラCaR(位置P2a)と左目用仮想カメラCaL(位置P2b)との間の中心位置P3(例えば、位置P2aと位置P2bを等間隔で二分する位置)から、基準面Bにおける所定位置(例えば基準面Bの中心点P4)までの距離L3(第2の距離)を示すパラメータであってもよい。このパラメータを以下「基準面距離パラメータ」と記載する。なお、基準面距離パラメータは、距離L3を示すパラメータに限定されず、例えば、右目用仮想カメラCaR及び左目用仮想カメラCaLそれぞれから基準面B(中心点P)までの距離、又は右目用仮想カメラCaR及び左目用仮想カメラCaLの何れか一方から基準面B(中心点P)までの距離であってもよい。   Further, another specific example of the stereoscopic parameter will be described below with reference to FIGS. 2 and 3. The stereoscopic parameter bisects the center position P3 (for example, the position P2a and the position P2b) between the right-eye virtual camera CaR (position P2a) and the left-eye virtual camera CaL (position P2b) in the three-dimensional space at equal intervals. Parameter) indicating a distance L3 (second distance) from a position) to a predetermined position on the reference plane B (for example, the center point P4 of the reference plane B). This parameter is hereinafter referred to as “reference plane distance parameter”. The reference plane distance parameter is not limited to the parameter indicating the distance L3. For example, the distance from the right-eye virtual camera CaR and the left-eye virtual camera CaL to the reference plane B (center point P), or the right-eye virtual camera. The distance from any one of CaR and left-eye virtual camera CaL to reference plane B (center point P) may be used.

基準面とは、立体視表示における立体度合いがゼロでオブジェクトが表示(ディスプレイから飛び出しても引っ込んでもいないように表示)される三次元空間内の位置を規定する面(視差ゼロ面)であり、上記ディスプレイに対応する面である。この具体例では、基準面距離パラメータに基づく位置に、基準面Bが配置される。すなわち、中心位置P3から右目用仮想カメラCaR、左目用仮想カメラCaLの視線方向に向かって、基準面距離パラメータの示す距離だけ離れた位置に、中心点P4が配置される。また、基準面Bは、右目用仮想カメラCaR及び左目用仮想カメラCaLの視線と垂直になるように設定され、かつ、右目用仮想カメラCaR及び左目用仮想カメラCaLの撮像範囲の重なる領域に設定される。ここで、基準面B上に位置するオブジェクトは、立体視表示においてディスプレイの位置に表示される(視差ゼロ)。そして、右目用仮想カメラCaRと左目用仮想カメラCaLからみて、基準面Bの奥側にあるオブジェクトは、図1Aで示すようにディスプレイの奥側にあるようにユーザに知覚される。また、基準面Bの手前にあるオブジェクトは、図1Bで示すようにディスプレイの手前にあるようにユーザに知覚される。   The reference plane is a plane (zero parallax plane) that defines a position in a three-dimensional space where an object is displayed (displayed so as not to be popped out or retracted from the display) when the stereoscopic degree in the stereoscopic display is zero. It is a surface corresponding to the display. In this specific example, the reference plane B is arranged at a position based on the reference plane distance parameter. That is, the center point P4 is arranged at a position separated from the center position P3 by the distance indicated by the reference plane distance parameter in the visual line direction of the right-eye virtual camera CaR and the left-eye virtual camera CaL. The reference plane B is set to be perpendicular to the line of sight of the right-eye virtual camera CaR and the left-eye virtual camera CaL, and is set to an area where the imaging ranges of the right-eye virtual camera CaR and the left-eye virtual camera CaL overlap. Is done. Here, the object located on the reference plane B is displayed at the position of the display in stereoscopic display (zero parallax). Then, as viewed from the virtual camera for the right eye CaR and the virtual camera for the left eye CaL, the object on the back side of the reference plane B is perceived by the user to be on the back side of the display as shown in FIG. 1A. Also, the object in front of the reference plane B is perceived by the user as being in front of the display as shown in FIG. 1B.

本実施形態では、基準面Bの位置に基づいて、仮想スクリーンScR、ScLが設定される。具体的には、右目用仮想カメラCaR及び左目用仮想カメラCaLの視線方向において、右目用仮想カメラCaRからスクリーンScRまでの距離、及び左目用仮想カメラCaLからスクリーンScLまでの距離が、中心位置P3から基準面B(中心点P4)までの距離と同じになるように、スクリーンScR、ScLが配置される。従って、距離L3が変われば、スクリーン共通範囲Scにおける投影位置Orと投影位置Olの間の距離L2も変化し、立体視表示における立体度合いも変化する。なお、右目用仮想カメラCaR及び左目用仮想カメラCaLのレンダリング範囲は、基準面Bに対応する範囲(すなわちスクリーン共通範囲Sc)に設定される。   In the present embodiment, the virtual screens ScR and ScL are set based on the position of the reference plane B. Specifically, in the line-of-sight direction of the right-eye virtual camera CaR and the left-eye virtual camera CaL, the distance from the right-eye virtual camera CaR to the screen ScR and the distance from the left-eye virtual camera CaL to the screen ScL are the center position P3. The screens ScR and ScL are arranged so as to be the same as the distance from to the reference plane B (center point P4). Accordingly, when the distance L3 changes, the distance L2 between the projection position Or and the projection position Ol in the screen common range Sc also changes, and the degree of stereoscopic display in the stereoscopic display also changes. The rendering range of the right-eye virtual camera CaR and the left-eye virtual camera CaL is set to a range corresponding to the reference plane B (that is, the screen common range Sc).

この具体例では、基準面距離パラメータが周期的に変化するように、基準面距離パラメータが繰り返し変更される。この周期的な変化は、例えばカメラ間距離パラメータの変化と同様である。そして、基準面距離パラメータが変更されたときに、当該変更された基準面距離パラメータに基づいて、基準面Bの位置が変更(更新)される。このため、中心位置P3から、基準面Bにおける中心点P4までの距離L3は、周期的に変化することになる。これによって、立体視表示の立体度合いを周期的に変化させることができる。なお、基準面距離パラメータの変化が周期性を有することが好ましいが、この変化が周期性を有することは本実施形態の必須の構成ではない。基準面距離パラメータが繰り返し変更されればよい。   In this specific example, the reference plane distance parameter is repeatedly changed so that the reference plane distance parameter periodically changes. This periodic change is the same as the change in the inter-camera distance parameter, for example. When the reference plane distance parameter is changed, the position of the reference plane B is changed (updated) based on the changed reference plane distance parameter. For this reason, the distance L3 from the center position P3 to the center point P4 on the reference plane B changes periodically. Thereby, the stereoscopic degree of the stereoscopic display can be periodically changed. In addition, although it is preferable that the change of the reference plane distance parameter has periodicity, it is not an essential configuration of the present embodiment that this change has periodicity. The reference plane distance parameter may be changed repeatedly.

なお、上述したように、基準面は、立体視表示における立体度合いがゼロでオブジェクトが表示される三次元空間内の位置を規定する面である。このため、基準面Bの位置を繰り返し変更することで、スクリーン共通範囲Scにおける投影位置Orと投影位置Olの間の距離L2だけでなく、ディスプレイを基準とした奥行き方向での、ディスプレイとオブジェクトOとの位置関係を繰り返し変更することができる。   As described above, the reference plane is a plane that defines a position in a three-dimensional space where an object is displayed with a stereoscopic degree of zero in stereoscopic display. Therefore, by repeatedly changing the position of the reference plane B, not only the distance L2 between the projection position Or and the projection position Ol in the screen common range Sc but also the display and the object O in the depth direction with reference to the display. The positional relationship with can be changed repeatedly.

(具体的な実施例)
以下に、図4を用いて、上述したような本実施形態にかかる表示制御装置をゲーム装置1に適用したより具体的な実施例を説明する。このゲーム装置1は、上記立体視パラメータとして、上記カメラ間距離パラメータ及び上記基準面距離パラメータの両方を繰り返し変更し、これらのパラメータに基づいて表示装置に表示対象を立体視表示させる。
(Specific examples)
A more specific example in which the display control device according to the present embodiment as described above is applied to the game device 1 will be described below with reference to FIG. The game apparatus 1 repeatedly changes both the inter-camera distance parameter and the reference plane distance parameter as the stereoscopic parameter, and causes the display device to stereoscopically display the display target based on these parameters.

図4は、ゲーム装置1の内部構成を示すブロック図である。ゲーム装置1は、外付けで、又は内蔵するように、立体画像表示装置2(上記表示装置の一例)を接続する。この立体画像表示装置2は、右目用画像と左目用画像とを用いて、表示対象の立体視表示を行うものである。本実施例では、立体画像表示装置2はパララックスバリア方式で立体視表示を行う。立体画像表示装置2は、液晶ディスプレイ等のディスプレイ200を備える。例えば、ディスプレイ200には、それぞれ、横方向で短冊状に所定個数に分割された右目用画像と左目用画像とが表示され、かつ、右目用画像の分割画像と左目用画像の分割画像とが交互に表示される。そして、ディスプレイ200の前面に視差バリア(図略)が設けられ、この視差バリアによって、ユーザの右目によってのみ右目用画像が視認され、ユーザの左目によってのみ左目用画像が視認される。このように構成されることで、表示対象を立体視表示可能にしている。   FIG. 4 is a block diagram showing an internal configuration of the game apparatus 1. The game apparatus 1 is connected to the stereoscopic image display apparatus 2 (an example of the display apparatus) so as to be externally attached or incorporated. The stereoscopic image display device 2 performs stereoscopic display of a display target using a right-eye image and a left-eye image. In the present embodiment, the stereoscopic image display device 2 performs stereoscopic display by a parallax barrier method. The stereoscopic image display device 2 includes a display 200 such as a liquid crystal display. For example, the display 200 displays a right-eye image and a left-eye image that are each divided into a predetermined number of strips in the horizontal direction, and the divided image of the right-eye image and the divided image of the left-eye image are displayed. Displayed alternately. A parallax barrier (not shown) is provided on the front surface of the display 200. With this parallax barrier, the right-eye image is visually recognized only by the user's right eye, and the left-eye image is visually recognized only by the user's left eye. With this configuration, the display target can be stereoscopically displayed.

ゲーム装置1は、ハードウェアスライダ11、操作部12、メインメモリ21、ROM22、メモリ制御回路23、保存用データメモリ24、通信モジュール25、コネクタ26、VRAM(Video RAM)27及びCPU31を備え、CPU31には、構成要素11、12、21〜27が図略のバスによって通信可能に接続されている。ハードウェアスライダ11は、立体視表示における立体度合いを調整する操作(スライダ操作)をユーザから受け付けるための操作部である。操作部12は、本発明の操作手段に対応し、ゲーム装置1で実行されるゲーム処理においてユーザのゲーム操作を受け付けるための操作子を備える。操作部12は、例えば、十字キーやタッチパネル等である。メインメモリ21は、CPU31の作業領域として機能し、通信モジュール25や記憶媒体3を介して取得された所定のプログラムを一時的に記憶する。また、メインメモリ21は、所定のプログラムの実行によって、所定のゲームデータ(画像データ等を含む)を記憶する。   The game apparatus 1 includes a hardware slider 11, an operation unit 12, a main memory 21, a ROM 22, a memory control circuit 23, a storage data memory 24, a communication module 25, a connector 26, a VRAM (Video RAM) 27, and a CPU 31, and a CPU 31. , The components 11, 12, 21 to 27 are communicably connected by a bus (not shown). The hardware slider 11 is an operation unit for accepting an operation (slider operation) for adjusting a stereoscopic degree in stereoscopic display from a user. The operation unit 12 corresponds to the operation means of the present invention, and includes an operator for accepting a user's game operation in a game process executed on the game apparatus 1. The operation unit 12 is, for example, a cross key or a touch panel. The main memory 21 functions as a work area for the CPU 31 and temporarily stores a predetermined program acquired via the communication module 25 or the storage medium 3. The main memory 21 stores predetermined game data (including image data and the like) by executing a predetermined program.

ROM22は、起動用プログラム(ブートプログラム)を記憶する。メモリ制御回路23は、CPU31の指示に従って、保存用データメモリ24に対するデータの読み出し及び書き込みを制御する。保存用データメモリ24は、書き換え可能な不揮発性のメモリであり、例えばNAND型フラッシュメモリである。通信モジュール25は、有線又は無線によって他の情報処理装置(例えば、サーバ)との間でデータの送受信を行う機能を有する。コネクタ26は、例えば、記憶媒体3をゲーム装置1に接続するためのインタフェースである。記憶媒体3は、コンピュータ読み取り可能なものであり、例えば、半導体メモリ型の記憶媒体(メモリカード等)、光記録方式の記憶媒体(CD−ROM、DVD等)、磁気記録方式の記憶媒体(磁気テープ、フロッピーディスク、ハードディスク、磁気カード等)等である。   The ROM 22 stores a startup program (boot program). The memory control circuit 23 controls reading and writing of data with respect to the storage data memory 24 in accordance with instructions from the CPU 31. The storage data memory 24 is a rewritable nonvolatile memory, for example, a NAND flash memory. The communication module 25 has a function of transmitting / receiving data to / from another information processing apparatus (for example, a server) by wire or wireless. The connector 26 is an interface for connecting the storage medium 3 to the game apparatus 1, for example. The storage medium 3 is a computer-readable medium, for example, a semiconductor memory type storage medium (memory card or the like), an optical recording type storage medium (CD-ROM, DVD or the like), or a magnetic recording type storage medium (magnetic). Tape, floppy disk, hard disk, magnetic card, etc.).

VRAM27は、ディスプレイ200に表示される画像データを記憶する領域を有する。本実施形態では、VRAM27は、右目用画像データD100と左目用画像データD200とを記憶する領域を有する。右目用画像データD100は、上述した右目用画像のデータである。左目用画像データD200は、上述した左目用画像のデータである。立体画像表示装置2は、VRAM27に記憶されている右目用画像データD100と左目用画像データD200を用いて、ディスプレイ200において立体視表示を行う。   The VRAM 27 has an area for storing image data displayed on the display 200. In the present embodiment, the VRAM 27 has an area for storing the right-eye image data D100 and the left-eye image data D200. The right-eye image data D100 is data of the right-eye image described above. The left-eye image data D200 is the above-described left-eye image data. The stereoscopic image display device 2 performs stereoscopic display on the display 200 using the right-eye image data D100 and the left-eye image data D200 stored in the VRAM 27.

CPU31は、本発明の表示処理手段(カメラ位置変更手段、画像生成手段、及び基準面変更手段)、及び変更手段として機能し、所定のプログラムを実行することによって、所定の処理を実行する。例えば、CP31は、後述のゲームプログラムD1(図5を参照)を実行することによってゲーム処理を実行する。このゲームプログラムD1(図5を参照)には、例えば上述した表示制御プログラムが含まれており、この表示制御プログラムの実行によって、CPU31は上述した表示制御処理を実行する。   The CPU 31 functions as display processing means (camera position changing means, image generating means, and reference plane changing means) and changing means of the present invention, and executes predetermined processing by executing a predetermined program. For example, the CP 31 executes a game process by executing a game program D1 (see FIG. 5) described later. The game program D1 (see FIG. 5) includes, for example, the display control program described above, and the CPU 31 executes the display control process described above by executing the display control program.

また、CPU31は、コンピュータグラフィックス技術(モデリング、レンダリング等)を用いて、仮想的な三次元空間をリアルタイムで描画して、上記右目用画像データD100と左目用画像データD200を生成する。なお、本実施例では、GPUを備えないが、ゲーム装置1がGPUを備え、当該GPUがコンピュータグラフィックス技術を用いた描画処理の一部を負担してもよい。この場合には、GPUが、本発明の表示処理手段(カメラ位置変更手段、画像生成手段、及び基準面変更手段)、及び変更手段として機能する場合もある。   Further, the CPU 31 draws a virtual three-dimensional space in real time using computer graphics technology (modeling, rendering, etc.) to generate the right eye image data D100 and the left eye image data D200. In this embodiment, the GPU is not provided, but the game apparatus 1 may be provided with a GPU, and the GPU may bear a part of the drawing process using the computer graphics technology. In this case, the GPU may function as display processing means (camera position changing means, image generating means, and reference plane changing means) and changing means of the present invention.

図5は、メインメモリ21のメモリマップの一例を示す図である。メインメモリ21には、ゲームプログラムD1、右カメラ情報D2、左カメラ情報D3、オブジェクト情報D4、カメラ間距離パラメータD5、基準面距離パラメータD6、カメラ間距離デフォルト設定情報D7、基準面距離デフォルト設定情報D8、カメラ間距離変化情報D9、基準面距離変化情報D10、カメラ間距離調整パラメータD11及び基準面距離調整パラメータD12等が記憶される。   FIG. 5 is a diagram illustrating an example of a memory map of the main memory 21. The main memory 21 includes a game program D1, right camera information D2, left camera information D3, object information D4, an inter-camera distance parameter D5, a reference plane distance parameter D6, an inter-camera distance default setting information D7, and a reference plane distance default setting information. D8, inter-camera distance change information D9, reference plane distance change information D10, inter-camera distance adjustment parameter D11, reference plane distance adjustment parameter D12, and the like are stored.

ゲームプログラムD1は、CPU31に図10を用いて後述するゲーム処理を実行させるプログラムである。なお、ゲームプログラムD1は、記憶媒体3から適宜読み出されてメインメモリ21に記憶されてもよいし、通信モジュール25を介して他の情報処理装置からダウンロードしてメインメモリ21に記憶されてもよい。   The game program D1 is a program that causes the CPU 31 to execute a game process to be described later with reference to FIG. The game program D1 may be appropriately read from the storage medium 3 and stored in the main memory 21, or may be downloaded from another information processing apparatus via the communication module 25 and stored in the main memory 21. Good.

右カメラ情報D2は、右目用仮想カメラCaRの三次元空間における位置及び向きを示す情報である。左カメラ情報D3は、左目用仮想カメラCaLの三次元空間における位置及び向きを示す情報である。オブジェクト情報D4は、三次元空間に位置するオブジェクトの位置、向き及び姿勢等を示す情報である。カメラ間距離パラメータD5は、上述したように、現在設定されている距離L1(図2)を示すパラメータである。このカメラ間距離パラメータD5に基づいて、三次元空間における右目用仮想カメラCaRの位置と左目用仮想カメラCaLの位置とが決定される。基準面距離パラメータD6は、上述したように、現在設定されている距離L3(図2)を示すパラメータである。この基準面距離パラメータD6と、右目用仮想カメラCaRと、左目用仮想カメラCaLの位置に基づいて、基準面Bの位置が決定される。カメラ間距離デフォルト設定情報D7は、距離L1(図2)のデフォルト値を示す。この距離L1のデフォルト値は、ハードウェアスライダ11からの操作データに基づいて変更される。基準面距離デフォルト設定情報D8は、距離L3(図2)のデフォルト値を示す。   The right camera information D2 is information indicating the position and orientation of the right-eye virtual camera CaR in the three-dimensional space. The left camera information D3 is information indicating the position and orientation of the left-eye virtual camera CaL in the three-dimensional space. The object information D4 is information indicating the position, orientation, posture, and the like of the object located in the three-dimensional space. The inter-camera distance parameter D5 is a parameter indicating the currently set distance L1 (FIG. 2) as described above. Based on the inter-camera distance parameter D5, the position of the right-eye virtual camera CaR and the position of the left-eye virtual camera CaL in the three-dimensional space are determined. As described above, the reference plane distance parameter D6 is a parameter indicating the currently set distance L3 (FIG. 2). The position of the reference plane B is determined based on the positions of the reference plane distance parameter D6, the right-eye virtual camera CaR, and the left-eye virtual camera CaL. The inter-camera distance default setting information D7 indicates a default value of the distance L1 (FIG. 2). The default value of the distance L1 is changed based on operation data from the hardware slider 11. The reference plane distance default setting information D8 indicates a default value of the distance L3 (FIG. 2).

カメラ間距離変化情報D9は、距離L1(図2)の経時的な変化(デフォルト値からの変化の割合の推移)を示す情報であり、このカメラ間距離変化情報D9に基づいて、カメラ間距離パラメータD5が変更される。カメラ間距離変化情報D9に基づく距離L1の変化についての詳細は、図6を用いて後述する。また、基準面距離変化情報D10は、距離L3(図2)の経時的な変化(デフォルト値からの変化の割合の推移)を示す情報であり、この基準面距離変化情報D10に基づいて、基準面距離パラメータD6が変更される。基準面距離変化情報D10に基づく距離L3の変化についての詳細は、図6を用いて後述する。カメラ間距離調整パラメータD11は、カメラ間距離デフォルト設定情報D7の示すデフォルト値に乗じる係数であり、カメラ間距離変化情報D9に基づいて取得される。カメラ間距離調整パラメータD11を用いて、カメラ間距離パラメータD5が更新される。基準面距離調整パラメータD12は、基準面距離デフォルト設定情報D8の示すデフォルト値に乗じる係数であり、基準面距離変化情報D10に基づいて取得される。基準面距離調整パラメータD12を用いて、基準面距離パラメータD6が更新される。   The inter-camera distance change information D9 is information indicating a change over time of the distance L1 (FIG. 2) (change in the rate of change from the default value). Based on the inter-camera distance change information D9, the inter-camera distance The parameter D5 is changed. Details of the change in the distance L1 based on the inter-camera distance change information D9 will be described later with reference to FIG. Further, the reference plane distance change information D10 is information indicating a change with time of the distance L3 (FIG. 2) (change in the rate of change from the default value). Based on the reference plane distance change information D10, the reference plane distance change information D10 The surface distance parameter D6 is changed. Details of the change in the distance L3 based on the reference plane distance change information D10 will be described later with reference to FIG. The inter-camera distance adjustment parameter D11 is a coefficient by which the default value indicated by the inter-camera distance default setting information D7 is multiplied, and is acquired based on the inter-camera distance change information D9. The inter-camera distance parameter D5 is updated using the inter-camera distance adjustment parameter D11. The reference plane distance adjustment parameter D12 is a coefficient by which the default value indicated by the reference plane distance default setting information D8 is multiplied, and is acquired based on the reference plane distance change information D10. The reference surface distance parameter D6 is updated using the reference surface distance adjustment parameter D12.

以下に、図6〜9を用いて、本実施例における表示制御処理を説明する。本実施例では、上述したように、カメラ間距離パラメータD5と、基準面距離パラメータD6を周期的に変化させる。まず、図6を用いて、カメラ間距離パラメータD5と基準面距離パラメータD6の周期的な変化について説明する。図6は、カメラ間距離変化情報D9の示す距離L1の「デフォルト値(基準値)からの変化の度合い(割合)」の推移と、基準面距離変化情報D10の示す距離L3の「デフォルト値からの変化の度合い(割合)」の推移を示すグラフである。グラフaは距離L1の「デフォルト値からの変化の割合」を表し、グラフbは距離L3の「デフォルト値からの変化の割合」を表す。図6において、縦軸がカメラ間距離パラメータD5と基準面距離パラメータD6の「デフォルト値からの変化の割合」を示し、横軸が時間の経過を示す。例えば、「デフォルト値からの変化の割合」が「0」だと、カメラ間距離パラメータD5又は基準面距離パラメータD6としてデフォルト値が設定される。そして、例えば、「デフォルト値からの変化の割合」が「+0.25」だと、デフォルト値の125パーセントの値が設定され、「デフォルト値からの変化の割合」が「−0.25」だと、デフォルト値の75パーセントの値が設定される。なお、本実施形態では、カメラ間距離変化情報D9、基準面距離変化情報D10は、距離L1及び距離L3の「デフォルト値からの変化の割合」の推移を示しているが、カメラ間距離パラメータD5及び基準面距離パラメータD6の経時的な値の変化そのものを示すものであってもよい。   Below, the display control process in a present Example is demonstrated using FIGS. In the present embodiment, as described above, the inter-camera distance parameter D5 and the reference plane distance parameter D6 are periodically changed. First, periodic changes in the inter-camera distance parameter D5 and the reference plane distance parameter D6 will be described with reference to FIG. FIG. 6 shows the transition of the “degree of change (ratio) from the default value (reference value)” of the distance L1 indicated by the inter-camera distance change information D9 and “from the default value of the distance L3 indicated by the reference plane distance change information D10. It is a graph which shows transition of "degree of change (ratio)". The graph a represents the “ratio of change from the default value” of the distance L1, and the graph b represents the “ratio of change from the default value” of the distance L3. In FIG. 6, the vertical axis represents the “ratio of change from the default value” of the inter-camera distance parameter D5 and the reference plane distance parameter D6, and the horizontal axis represents the passage of time. For example, when “the rate of change from the default value” is “0”, the default value is set as the inter-camera distance parameter D5 or the reference plane distance parameter D6. And, for example, if “the rate of change from the default value” is “+0.25”, a value of 125% of the default value is set, and the “rate of change from the default value” is “−0.25”. Then, a default value of 75% is set. In this embodiment, the inter-camera distance change information D9 and the reference plane distance change information D10 indicate the transition of the “ratio of change from the default value” of the distance L1 and the distance L3, but the inter-camera distance parameter D5. In addition, it may indicate the change of the reference surface distance parameter D6 with time.

図6では、距離L1についての「デフォルト値からの変化の割合」と、距離L3についての「デフォルト値からの変化の割合」は、正弦波で表現されるように周期的に変化する。従って、カメラ間距離パラメータD5は、カメラ間距離変化情報D9の示す「デフォルト値からの変化の割合」に基づく上限及び下限の間で増減を繰り返すように周期的に変化することになる。また、基準面距離パラメータD6は、基準面距離変化情報D10の示す「デフォルト値からの変化の割合」に基づく上限及び下限の間で増減を繰り返すように周期的に変化することになる。本実施例では、正弦波の1周期において、複数回の描画タイミングが到来するため、立体視表示における立体度合いを連続的に滑らかに変化することができる。   In FIG. 6, “the rate of change from the default value” for the distance L1 and “the rate of change from the default value” for the distance L3 periodically change so as to be expressed by a sine wave. Accordingly, the inter-camera distance parameter D5 periodically changes so as to repeatedly increase and decrease between the upper limit and the lower limit based on the “ratio of change from the default value” indicated by the inter-camera distance change information D9. Further, the reference surface distance parameter D6 periodically changes so as to repeatedly increase and decrease between the upper limit and the lower limit based on the “ratio of change from the default value” indicated by the reference surface distance change information D10. In the present embodiment, a plurality of drawing timings arrive in one cycle of the sine wave, so that the stereoscopic degree in the stereoscopic display can be continuously and smoothly changed.

また、カメラ間距離変化情報D9示す変化においては、最大値がデフォルト値の125パーセント、最小値がデフォルト値の75パーセントとされており、基準面距離変化情報D10の示す変化においては、最大値が基準値の120パーセント、最小値が基準値の80パーセントとされている。すなわち、カメラ間距離変化情報D9と基準面距離変化情報D10とで異なる最大値及び最小値に設定されている。具体的には、基準面距離変化情報D10の「デフォルト値からの変化の割合」の最大値は、カメラ間距離変化情報D9示すの「デフォルト値からの変化の割合」の最大値よりも小さい。更に、カメラ間距離パラメータD5の変化の周期と基準面距離パラメータD6の変化の周期は異なる。具体的には、基準面距離パラメータD6の変化の周期は、カメラ間距離パラメータD5の変化の周期よりも長い。このため、立体視表示における立体度合いの変化は、基準面距離パラメータD6の変化の影響よりも、カメラ間距離パラメータD5の変化の影響を強く受けることになる。カメラ間距離パラメータD5の変化と、基準面距離パラメータD6の変化との関係をこのように設定することで、ユーザに対して好適な演出を提供することができる。   In the change indicated by the inter-camera distance change information D9, the maximum value is 125% of the default value and the minimum value is 75% of the default value. The change indicated by the reference plane distance change information D10 has a maximum value. The reference value is 120%, and the minimum value is 80% of the reference value. That is, the maximum value and the minimum value that are different between the inter-camera distance change information D9 and the reference plane distance change information D10 are set. Specifically, the maximum value of “the rate of change from the default value” of the reference plane distance change information D10 is smaller than the maximum value of “the rate of change from the default value” indicated by the inter-camera distance change information D9. Furthermore, the cycle of change of the inter-camera distance parameter D5 is different from the cycle of change of the reference plane distance parameter D6. Specifically, the period of change of the reference plane distance parameter D6 is longer than the period of change of the inter-camera distance parameter D5. For this reason, the change in the stereoscopic degree in the stereoscopic display is more strongly affected by the change in the inter-camera distance parameter D5 than the influence of the change in the reference plane distance parameter D6. By setting the relationship between the change in the inter-camera distance parameter D5 and the change in the reference plane distance parameter D6 in this way, it is possible to provide a suitable effect for the user.

カメラ間距離パラメータD5の変化と、基準面距離パラメータD6の変化との関係を上記のように設定することが好ましい理由を、図2、図7〜図9Bを用いて以下に記載する。図7は、図2で示した三次元空間において、距離L3を変更せずに、距離L1を大きくした状態を示す図である。図8は、図2で示した三次元空間において、距離L1を変更せずに、距離L3を大きくした状態を示す図である。図9Aは、図7で示す仮想空間において、右目用仮想カメラCaRから撮像した右目用画像と、左目用仮想カメラCaLから撮像した左目用画像とを示す図である。図9Bは、図8で示す仮想空間において、右目用仮想カメラCaRから撮像した右目用画像と、左目用仮想カメラCaLから撮像した左目用画像とを示す図である。   The reason why it is preferable to set the relationship between the change in the inter-camera distance parameter D5 and the change in the reference plane distance parameter D6 as described above will be described below with reference to FIGS. 2 and 7 to 9B. FIG. 7 is a diagram illustrating a state in which the distance L1 is increased without changing the distance L3 in the three-dimensional space illustrated in FIG. FIG. 8 is a diagram illustrating a state in which the distance L3 is increased without changing the distance L1 in the three-dimensional space illustrated in FIG. 9A is a diagram illustrating a right-eye image captured from the right-eye virtual camera CaR and a left-eye image captured from the left-eye virtual camera CaL in the virtual space illustrated in FIG. FIG. 9B is a diagram illustrating a right-eye image captured from the right-eye virtual camera CaR and a left-eye image captured from the left-eye virtual camera CaL in the virtual space illustrated in FIG. 8.

図7で示すように、距離L1を大きくすると、図2で示す状態よりも距離L2が大きくなり、図9Aで示すように、右目用画像と左目用画像との視差が大きくなるため、立体視表示における立体度合いが変化する。しかしながら、基準面BとオブジェクトOとの相対的な位置関係は変わらず、このため、ディスプレイ200とオブジェクトOとの相対的な位置関係は変わらない。一方、図8で示すように、距離L3を大きくした場合、図9Bで示すように、右目用画像と左目用画像との視差が変わるとともに、基準面BとオブジェクトOとの相対的な位置関係も変わる。基準面Bの位置がオブジェクトOを超えるまでは、右目用画像のオブジェクトOの位置と左目用画像のオブジェクトOの位置とが近づいていき、基準面Bの位置がオブジェクトOを超えてからは、右目用画像のオブジェクトOの位置と左目用画像のオブジェクトOの位置が左右逆転する。このため、基準面BがオブジェクトOを超えることで、オブジェクトOは、図1Aで示すようにディスプレイ200の奥側に立体視表示されていたのが、図1Bで示すように手前側に立体視表示される。   As shown in FIG. 7, when the distance L1 is increased, the distance L2 becomes larger than in the state shown in FIG. 2, and the parallax between the right-eye image and the left-eye image is increased as shown in FIG. 9A. The solid degree in the display changes. However, the relative positional relationship between the reference plane B and the object O does not change, and therefore the relative positional relationship between the display 200 and the object O does not change. On the other hand, when the distance L3 is increased as shown in FIG. 8, the parallax between the right-eye image and the left-eye image changes as shown in FIG. 9B, and the relative positional relationship between the reference plane B and the object O is changed. Will also change. Until the position of the reference plane B exceeds the object O, the position of the object O in the right-eye image and the position of the object O in the left-eye image approach each other, and after the position of the reference plane B exceeds the object O, The position of the object O in the right-eye image and the position of the object O in the left-eye image are reversed left and right. Therefore, when the reference plane B exceeds the object O, the object O is stereoscopically displayed on the back side of the display 200 as shown in FIG. 1A, but is stereoscopically displayed on the near side as shown in FIG. 1B. Is displayed.

上述したように、基準面Bの位置(距離L3)を変えると、ディスプレイ200とオブジェクトOとの相対的な位置関係まで変わる。この様な特徴を有する距離L3の変化の処理を距離L1の変化の処理に加えて行ない、複数のパラメータの変化によって立体度合いを変更しているため、立体度合いの変化に複雑さを与え、ユーザに対して視覚的に面白い演出を提供している。   As described above, when the position of the reference plane B (distance L3) is changed, the relative positional relationship between the display 200 and the object O is changed. The process of changing the distance L3 having such characteristics is performed in addition to the process of changing the distance L1, and the degree of solidity is changed by changing a plurality of parameters. Provides visually interesting effects.

以下に、図2、図10〜図12を用いて、本実施例にかかるゲーム処理の一例を説明する。図10は、ゲーム処理におけるメイン処理の一例を示すフローチャートである。なお、図10及び後述の図11〜図13Bにおける処理の順番は一例にすぎず、本発明の作用効果を奏する場合には処理の順番を適宜変更することが可能である。ゲーム処理は、例えば、ゲームプログラムD1の起動の指示をユーザから受けたときに、ゲームプログラムD1を実行することによって、CPU31によって行なわれる。まず、CPU31は、仮想的な三次元空間を構築し、所定のデフォルト位置に右目用仮想カメラCaRと左目用仮想カメラCaLとを配置する等の所定の初期処理を実行する(S1)。そして、CPU31は、操作部12から入力された、ユーザのゲーム操作等の操作データを取得する(S2)。次に、CPU31は、カメラ間距離パラメータD5を生成する処理(カメラ間距離パラメータ生成処理)を実行するとともに(S3)、基準面距離パラメータD6を生成する処理(基準面距離パラメータ生成処理)を実行する(S4)。   An example of the game process according to the present embodiment will be described below with reference to FIGS. 2 and 10 to 12. FIG. 10 is a flowchart illustrating an example of a main process in the game process. Note that the order of processing in FIG. 10 and FIGS. 11 to 13B described later is merely an example, and the order of processing can be appropriately changed when the effects of the present invention are achieved. The game process is performed by the CPU 31 by executing the game program D1, for example, when an instruction to start the game program D1 is received from the user. First, the CPU 31 constructs a virtual three-dimensional space and executes predetermined initial processing such as arranging the right-eye virtual camera CaR and the left-eye virtual camera CaL at a predetermined default position (S1). And CPU31 acquires operation data, such as a user's game operation input from the operation part 12 (S2). Next, the CPU 31 executes a process for generating the inter-camera distance parameter D5 (inter-camera distance parameter generation process) (S3) and executes a process for generating the reference plane distance parameter D6 (reference plane distance parameter generation process). (S4).

続いて、CPU31は、右目用仮想カメラCaRと左目用仮想カメラCaLの位置及び向きを決定し、この決定した位置及び向きに、三次元空間における右目用仮想カメラCaRと左目用仮想カメラCaLとの位置及び向きを変更する(S5)。なお、右目用仮想カメラCaRと左目用仮想カメラCaLの位置及び向きの決定は、例えば、ステップS2で取得した操作データ(カメラの位置及び向きの変更を示す操作情報を含む)、メインメモリ21に記憶されているカメラ間距離パラメータD5、右カメラ情報D2(前フレームにおける右目用仮想カメラCaRの位置及び向きを示す)及び左カメラ情報D3(前フレームにおける左目用仮想カメラCaLの位置及び向きを示す)に基づいて行なわれる。具体的には、当該カメラ間距離パラメータD5の示す距離L1を開けるように、右目用仮想カメラCaRの位置と左目用仮想カメラCaLの位置が決定される。この後、決定した位置及び向きを示すようにメインメモリ21に記憶されている右カメラ情報D2と左カメラ情報D3とを変更(更新)する。   Subsequently, the CPU 31 determines the positions and orientations of the right-eye virtual camera CaR and the left-eye virtual camera CaL, and the determined positions and orientations between the right-eye virtual camera CaR and the left-eye virtual camera CaL in the three-dimensional space. The position and orientation are changed (S5). The determination of the positions and orientations of the right-eye virtual camera CaR and the left-eye virtual camera CaL is performed in, for example, the operation data (including operation information indicating the change of the camera position and orientation) acquired in step S2 and the main memory 21. The stored inter-camera distance parameter D5, right camera information D2 (indicates the position and orientation of the right eye virtual camera CaR in the previous frame) and left camera information D3 (indicates the position and orientation of the left eye virtual camera CaL in the previous frame) ). Specifically, the position of the right-eye virtual camera CaR and the position of the left-eye virtual camera CaL are determined so as to increase the distance L1 indicated by the inter-camera distance parameter D5. Thereafter, the right camera information D2 and the left camera information D3 stored in the main memory 21 are changed (updated) so as to indicate the determined position and orientation.

そして、CPU31は、基準面Bの位置を決定し、この決定した位置に、三次元空間における基準面Bの位置を変更する(S6)。なお、基準面Bの位置の決定は、ステップS5で決定した右目用仮想カメラCaRと左目用仮想カメラCaLの位置及び向きと、メインメモリ21に記憶されている基準面距離パラメータD6とに基づいて行なわれる。具体的には、中心位置P3から右目用仮想カメラCaRと左目用仮想カメラCaLの視線方向に向かって、当該基準面距離パラメータD6の示す距離L3だけ離れた位置が、基準面Bの中心点P4の位置として決定される。   Then, the CPU 31 determines the position of the reference plane B, and changes the position of the reference plane B in the three-dimensional space to the determined position (S6). The position of the reference plane B is determined based on the positions and orientations of the right-eye virtual camera CaR and the left-eye virtual camera CaL determined in step S5 and the reference plane distance parameter D6 stored in the main memory 21. Done. Specifically, a position separated by a distance L3 indicated by the reference plane distance parameter D6 from the center position P3 toward the line of sight of the right-eye virtual camera CaR and the left-eye virtual camera CaL is the center point P4 of the reference plane B. Is determined as the position.

そして、CPU31は、操作データに基づいてオブジェクトOを三次元空間において移動させる等の所定のゲーム関連処理を行う(S7)。この後、CPU31は、上記右目用画像生成処理を行うとともに(S8)、上記左目用画像生成処理を行う(S9)。この後、CPU31は、ステップS8、S9において生成されてVRAM27に記憶された右目用画像データD100と左目用画像データD200とを用いて、立体画像表示装置2に三次元空間を立体視表示させる処理(立体視表示処理)を行う(S10)。そして、CPU31は、ゲーム終了か否かを判断し(S11)、ゲーム終了であると判断したときには(S11でYES)、ゲーム処理を終了させる。また、ゲーム終了でないと判断したときには(S11でNO)、CPU31は、ゲーム処理をステップS2に戻し、ゲーム終了であると判断するまで(S11でYES)所定の描画周期毎(例えば、1/60sec毎)にステップS2〜S11を繰り返し実行する。   Then, the CPU 31 performs predetermined game-related processing such as moving the object O in the three-dimensional space based on the operation data (S7). Thereafter, the CPU 31 performs the right eye image generation process (S8) and the left eye image generation process (S9). Thereafter, the CPU 31 uses the right-eye image data D100 and the left-eye image data D200 generated in steps S8 and S9 and stored in the VRAM 27 to cause the stereoscopic image display device 2 to stereoscopically display the three-dimensional space. (Stereoscopic display processing) is performed (S10). Then, the CPU 31 determines whether or not the game is over (S11). When it is determined that the game is over (YES in S11), the game process is ended. When it is determined that the game has not ended (NO in S11), the CPU 31 returns the game process to step S2, and until it is determined that the game has ended (YES in S11), every predetermined drawing cycle (for example, 1/60 sec). Steps S2 to S11 are repeated every time.

以下に図11を用いて、ステップS3のカメラ間距離パラメータ生成処理を説明する。図11は、上記ステップS3におけるカメラ間距離パラメータ生成処理の一例を示すフローチャートである。まず、CPU31は、ハードウェアスライダ11からの操作データ(スライダ操作のデータ)の入力が有るか否かを判断する(S21)。ここで、ハードウェアスライダ11からの操作データの入力が有ると判断した場合には(S21でYES)、CPU31は、当該操作データを取得し(S22)、続くステップS23に処理を進める。なお、ハードウェアスライダ11からの操作データの入力がないと判断した場合には(S21でNO)、CPU31は、ステップS22を実行せずに、続くステップS23に処理を進める。   Hereinafter, the inter-camera distance parameter generation processing in step S3 will be described with reference to FIG. FIG. 11 is a flowchart showing an example of the inter-camera distance parameter generation processing in step S3. First, the CPU 31 determines whether or not there is input of operation data (slider operation data) from the hardware slider 11 (S21). If it is determined that operation data is input from the hardware slider 11 (YES in S21), the CPU 31 acquires the operation data (S22), and proceeds to the subsequent step S23. If it is determined that no operation data is input from the hardware slider 11 (NO in S21), the CPU 31 proceeds to the subsequent step S23 without executing step S22.

ステップS23では、CPU31は、カメラ間距離調整パラメータD11を生成する(S23)。カメラ間距離調整パラメータD11は、例えばゲーム処理開始時からの経過時間と、カメラ間距離変化情報D9に基づいて生成される。例えば、図6を参照してカメラ間距離調整パラメータD11の生成方法を説明すると、経過時間に対応する「デフォルト値からの変化の割合」が取得され、この「デフォルト値からの変化の割合」でデフォルト値を変化させるための係数がカメラ間距離調整パラメータD11(変化量0.25ならば、1.25)として生成される。この後、CPU31は、カメラ間距離調整パラメータD11に基づいてカメラ間距離パラメータD5を生成する(S24)。例えば、ステップS24では、ステップS22でハードウェアスライダ11からの操作データが取得されている場合には、この該操作データに基づいてカメラ間距離デフォルト設定情報D7が変更される。そして、このカメラ間距離デフォルト設定情報D7の示すデフォルト値にカメラ間距離調整パラメータD11を乗算することで、カメラ間距離パラメータD5が生成される。CPU31はこのカメラ間距離パラメータD5でメインメモリ21を更新する。この後、CPU31は処理をメイン処理に戻す。   In step S23, the CPU 31 generates an inter-camera distance adjustment parameter D11 (S23). The inter-camera distance adjustment parameter D11 is generated based on, for example, the elapsed time from the start of the game process and the inter-camera distance change information D9. For example, the method for generating the inter-camera distance adjustment parameter D11 will be described with reference to FIG. 6. The “ratio of change from the default value” corresponding to the elapsed time is acquired, and the “ratio of change from the default value” is obtained. A coefficient for changing the default value is generated as the inter-camera distance adjustment parameter D11 (1.25 if the change amount is 0.25). Thereafter, the CPU 31 generates an inter-camera distance parameter D5 based on the inter-camera distance adjustment parameter D11 (S24). For example, in step S24, when the operation data from the hardware slider 11 is acquired in step S22, the inter-camera distance default setting information D7 is changed based on the operation data. Then, the inter-camera distance parameter D5 is generated by multiplying the default value indicated by the inter-camera distance default setting information D7 by the inter-camera distance adjustment parameter D11. The CPU 31 updates the main memory 21 with the inter-camera distance parameter D5. Thereafter, the CPU 31 returns the process to the main process.

以下に図12を用いて、ステップS4の基準面距離パラメータ生成処理を説明する。図12は、上記ステップS4における基準面距離パラメータ生成処理の一例を示すフローチャートである。まず、CPU31は、基準面距離調整パラメータD12を生成する(S31)。基準面距離調整パラメータD12は、例えばゲーム処理開始時からの経過時間と、基準面距離変化情報D10に基づいて生成される。例えば、図6を参照して基準面距離調整パラメータD12の生成方法を説明すると、経過時間に対応する「デフォルト値からの変化の割合」が取得され、この「デフォルト値からの変化の割合」でデフォルト値を変化させるための係数が基準面距離調整パラメータD12(変化量0.20ならば、1.20)として生成される。この後、CPU31は、基準面距離調整パラメータD12に基づいて基準面距離パラメータD6を生成する(S32)。例えば、ステップS32では、基準面距離デフォルト設定情報D8の示すデフォルト値に基準面距離調整パラメータD12を乗算することで、基準面距離パラメータD6が生成される。CPU31はこの基準面距離パラメータD6でメインメモリ21を更新する。この後、CPU31は処理をメイン処理に戻す。   Hereinafter, the reference plane distance parameter generation processing in step S4 will be described with reference to FIG. FIG. 12 is a flowchart showing an example of the reference plane distance parameter generation process in step S4. First, the CPU 31 generates a reference plane distance adjustment parameter D12 (S31). The reference plane distance adjustment parameter D12 is generated based on, for example, the elapsed time from the start of the game process and the reference plane distance change information D10. For example, with reference to FIG. 6, the generation method of the reference plane distance adjustment parameter D12 will be described. The “ratio of change from the default value” corresponding to the elapsed time is acquired, and the “ratio of change from the default value” A coefficient for changing the default value is generated as the reference plane distance adjustment parameter D12 (1.20 if the change amount is 0.20). Thereafter, the CPU 31 generates a reference surface distance parameter D6 based on the reference surface distance adjustment parameter D12 (S32). For example, in step S32, the reference plane distance parameter D6 is generated by multiplying the default value indicated by the reference plane distance default setting information D8 by the reference plane distance adjustment parameter D12. The CPU 31 updates the main memory 21 with the reference plane distance parameter D6. Thereafter, the CPU 31 returns the process to the main process.

上述したように、本実施形態によれば、カメラ間距離パラメータD5や、基準面距離パラメータD6等の立体視パラメータが、繰り返し変更されるため、立体視表示の立体度合いが繰り返し変更される。これによって、全く新しい演出をユーザに提供することができる。更に、立体視パラメータが周期的に変化するように、当該立体視パラメータを所定の時間の経過毎に繰り返し変更される。これによって、立体視表示の立体度合いが周期的に変化(増減)することになり、例えば、ユーザが水中に居たり、酔っ払っていたり等のように視界が周期性を持って繊細に変化する感覚をユーザに与えることができる。   As described above, according to the present embodiment, since the stereoscopic parameters such as the inter-camera distance parameter D5 and the reference plane distance parameter D6 are repeatedly changed, the stereoscopic degree of the stereoscopic display is repeatedly changed. Thereby, a completely new effect can be provided to the user. Further, the stereoscopic parameter is repeatedly changed every predetermined time so that the stereoscopic parameter periodically changes. As a result, the stereoscopic degree of the stereoscopic display periodically changes (increases / decreases). For example, the sense that the field of view changes with a periodicity, such as when the user is underwater or drunk, etc. Can be given to the user.

〔変形例〕
(1)上記実施例によれば、ハードウェアスライダ11によって、カメラ間距離デフォルト設定情報D7の示すデフォルト値を変更可能に構成されているが、この様な構成を備えなくてもよい。
[Modification]
(1) According to the above embodiment, the hardware slider 11 is configured to change the default value indicated by the inter-camera distance default setting information D7. However, such a configuration may not be provided.

(2)上記実施例によれば、描画周期毎に、立体視パラメータを変更しているが、この構成に限定されない。立体視パラメータの変化の周期よりも短く、かつ描画周期とは異なる所定の時間の経過毎に、立体視パラメータが変更されてもよい。また、立体視パラメータは、繰り返し変更されれば所定の時間経過毎に周期的に変更される必要はなく、不定期に繰り返し変更されてもよい。また、上記実施例によれば、立体視パラメータの変化は、一定であるが、例えば、特定の条件が成立したときに、立体視パラメータの変化の仕方(例えば、変化の周期や「デフォルト値からの変化の割合」)を変更してもよい。特定の条件とは、例えば、水中シーンで特定のオブジェクト(船オブジェクト、大魚オブジェクト)がプレイヤキャラクタから所定距離以内に近づいたこと等である。   (2) According to the above embodiment, the stereoscopic parameter is changed for each drawing cycle, but the present invention is not limited to this configuration. The stereoscopic parameter may be changed every elapse of a predetermined time that is shorter than the period of change of the stereoscopic parameter and is different from the drawing period. Further, if the stereoscopic parameter is repeatedly changed, it is not necessary to periodically change the stereoscopic parameter every elapse of a predetermined time, and may be repeatedly changed irregularly. Further, according to the above embodiment, the change of the stereoscopic parameter is constant, but for example, when a specific condition is satisfied, the method of changing the stereoscopic parameter (for example, from the change cycle or “default value”). The rate of change of “)” may be changed. The specific condition is, for example, that a specific object (a ship object or a large fish object) approaches within a predetermined distance from the player character in an underwater scene.

(3)また、特定のシーンを含む複数のシーンに対応する複数の表示対象のうちの何れかが選択的に立体視表示され、特定のシーンに対応する三次元空間が立体視表示されているときにのみ、立体視パラメータが繰り返し変更されてもよい。複数種類のシーンとは、例えば複数種類のゲームシーンのことである。ゲームは、シナリオの進行具合に応じて、あらかじめ「シーン」という単位で区切られている。例えば、複数種類のシーンは、洞窟を探検するシーン、森を探検するシーン及び水中を探検するシーン等である。そして、このうちの一つのシーン(例えば水中を探検するシーン)が、特定のシーンである。   (3) In addition, any of a plurality of display objects corresponding to a plurality of scenes including a specific scene is selectively stereoscopically displayed, and a three-dimensional space corresponding to the specific scene is stereoscopically displayed. Only occasionally the stereoscopic parameters may be changed repeatedly. The multiple types of scenes are, for example, multiple types of game scenes. The game is divided into units called “scenes” in advance according to the progress of the scenario. For example, the multiple types of scenes include a scene for exploring a cave, a scene for exploring a forest, a scene for exploring underwater, and the like. One of these scenes (for example, a scene for exploring underwater) is a specific scene.

図13Aは、上記実施例の変形例にかかるカメラ間距離パラメータ生成処理の一例を示すフローチャートである。図13Aで示すように、ステップS22の実行後でありかつステップS23の実行前に、CPU31は、特定のシーンを表す三次元空間が立体視表示されているかどうかを判断し(S51)、ステップS51でYESのときのみステップS23を実行し、ステップS51でNOのときにはステップS23を実行しない。そして、ステップS23の実行後でありかつステップS24の実行前に、CPU31は、特定のシーンを表す三次元空間が立体視表示されている状態、及び、ハードウェアスライダ11への操作があった状態のいずれかに該当するかどうかを判断する(S52)。そして、CPU31は、ステップS52でYESのときにのみステップS24を実行し、ステップS52でNOのときにはステップS24を実行しない。なお、本変形例では、特定のシーンを表す三次元空間が立体視表示されているときにのみ、図12で示す基準面距離パラメータ生成処理が実行される。本変形例によれば、立体視表示における立体度合いが繰り返し変更されれば効果的な特定のシーン(例えば水中のシーン等)に限って、立体視パラメータが繰り返し変更される。   FIG. 13A is a flowchart illustrating an example of an inter-camera distance parameter generation process according to a modification of the above embodiment. As shown in FIG. 13A, after execution of step S22 and before execution of step S23, the CPU 31 determines whether or not the three-dimensional space representing the specific scene is stereoscopically displayed (S51), and step S51. When step S23 is YES, step S23 is executed. When step S51 is NO, step S23 is not executed. Then, after execution of step S23 and before execution of step S24, the CPU 31 is in a state in which the three-dimensional space representing the specific scene is displayed in a stereoscopic view, and in the state where there is an operation on the hardware slider 11 It is determined whether any of the above is true (S52). Then, the CPU 31 executes step S24 only when YES in step S52, and does not execute step S24 when NO in step S52. In this modification, the reference plane distance parameter generation process shown in FIG. 12 is executed only when a three-dimensional space representing a specific scene is displayed in a stereoscopic view. According to this modified example, if the stereoscopic degree in the stereoscopic display is repeatedly changed, the stereoscopic parameter is repeatedly changed only for an effective specific scene (for example, an underwater scene).

(4)また、三次元空間内で特定のイベントが発生したときにのみ、立体視パラメータが繰り返し変更されてもよい。この特定のイベントは、立体視表示における立体度合いが繰り返し変更されれば効果的なゲームイベントであり、例えば、プレイヤ(プレイヤキャラクタ等)が、他のキャラクタに殴られる等のイベントや、プレイヤが特定のアイテム(酒、薬アイテム等)を取得する等のイベントである。   (4) The stereoscopic parameter may be changed repeatedly only when a specific event occurs in the three-dimensional space. This specific event is an effective game event if the stereoscopic degree in the stereoscopic display is repeatedly changed. For example, an event in which a player (player character, etc.) is beaten by another character, or a player specifies It is an event such as acquiring items (such as liquor and medicine items).

図13Bは、上記実施例の変形例にかかるカメラ間距離パラメータ生成処理の一例を示すフローチャートである。図13Bで示すように、ステップS22の実行後でありかつステップS23の実行前に、CPU31は、特定のイベント発生時から所定期間内であるかどうかを判断し(S61)、ステップS61でYESのときのみステップS23を実行し、ステップS61でNOのときにはステップS23を実行しない。そして、ステップS23の実行後でありかつステップS24の実行前に、CPU31は、特定のイベント発生時から所定期間内であるかどうかの状態、及び、ハードウェアスライダ11への操作があった状態のいずれかに該当するかどうかを判断する(S62)。そして、CPU31は、ステップS62でYESのときにのみステップS24を実行し、ステップS62でNOのときにはステップS24を実行しない。なお、本変形例では、特定のイベント発生時から所定期間内であるときにのみ、図12で示す基準面距離パラメータ生成処理が実行される。本変形例によれば、立体視表示における立体度合いが繰り返し変更されれば効果的な特定のイベントの発生時に限って、立体視パラメータを周期的に変化させることができる。   FIG. 13B is a flowchart illustrating an example of an inter-camera distance parameter generation process according to a modification of the above embodiment. As shown in FIG. 13B, after execution of step S22 and before execution of step S23, the CPU 31 determines whether or not it is within a predetermined period from the occurrence of a specific event (S61), and YES in step S61. Only when the step S23 is executed, when the answer is NO in the step S61, the step S23 is not executed. Then, after execution of step S23 and before execution of step S24, the CPU 31 is in a state of whether or not it is within a predetermined period from the occurrence of a specific event and a state in which an operation has been performed on the hardware slider 11. It is determined whether or not any of them corresponds (S62). Then, the CPU 31 executes step S24 only when YES in step S62, and does not execute step S24 when NO in step S62. In this modification, the reference plane distance parameter generation process shown in FIG. 12 is executed only when a specific event occurs and within a predetermined period. According to this modified example, if the stereoscopic degree in the stereoscopic display is repeatedly changed, the stereoscopic parameter can be periodically changed only when an effective specific event occurs.

(5)また、ゲーム操作の状態が特定の状態になっているときにのみ、立体視パラメータが繰り返し変更されてもよい。ゲーム操作とは、仮想的な三次元空間を変化させるための操作(例えば、プレイヤキャラクタを移動させるゲーム操作)であり、ハードウェアスライダ11への操作や、ゲーム設定を変更するための操作等は含まない。また、「ゲーム操作の状態が特定の状態になっているとき」とは、例えばユーザから特定のゲーム操作(例えばプレイヤキャラクタを移動させるゲーム操作)が入力されていない状態等である。   (5) In addition, the stereoscopic parameter may be repeatedly changed only when the state of the game operation is in a specific state. The game operation is an operation for changing a virtual three-dimensional space (for example, a game operation for moving a player character). An operation on the hardware slider 11, an operation for changing game settings, and the like Not included. Further, “when the state of the game operation is in a specific state” is a state where a specific game operation (for example, a game operation for moving the player character) is not input from the user, for example.

図13Cは、上記実施例の変形例にかかるカメラ間距離パラメータ生成処理の一例を示すフローチャートである。図13Cで示すように、ステップS22の実行後でありかつステップS23の実行前に、CPU31は、ゲーム操作の状態が特定の状態であるかどうかを判断し(S71)、ステップS71でYESのときのみステップS23を実行し、ステップS71でNOのときにはステップS23を実行しない。そして、ステップS23の実行後でありかつステップS24の実行前に、CPU31は、ゲーム操作の状態が特定の状態、及び、ハードウェアスライダ11への操作があった状態のいずれかに該当するかどうかを判断する(S72)。そして、CPU31は、ステップS72でYESのときにのみステップS24を実行し、ステップS72でNOのときにはステップS24を実行しない。なお、本変形例では、ゲーム操作の状態が特定の状態であるときにのみ、図12で示す基準面距離パラメータ生成処理が実行される。本変形例によれば、立体視表示における立体度合いが繰り返し変更されても、ユーザのゲーム操作を妨げない場合に限って、立体視パラメータを繰り返し変更することができる。   FIG. 13C is a flowchart illustrating an example of the inter-camera distance parameter generation processing according to the modified example of the embodiment. As shown in FIG. 13C, after execution of step S22 and before execution of step S23, the CPU 31 determines whether or not the game operation state is a specific state (S71), and when YES in step S71 Step S23 is executed only, and if NO in Step S71, Step S23 is not executed. Then, after the execution of step S23 and before the execution of step S24, the CPU 31 determines whether the game operation state corresponds to either a specific state or a state in which the hardware slider 11 has been operated. Is determined (S72). Then, the CPU 31 executes step S24 only when YES in step S72, and does not execute step S24 when NO in step S72. In this modification, the reference plane distance parameter generation process shown in FIG. 12 is executed only when the game operation state is a specific state. According to this modification, even if the stereoscopic degree in the stereoscopic display is repeatedly changed, the stereoscopic parameter can be changed repeatedly only when the user's game operation is not hindered.

(6)上記実施例によれば、カメラ間距離パラメータD5及び基準面距離パラメータD6の両方が、繰り返し変更されているが、何れか一方であってもよい。また、右目用仮想カメラCaRと左目用仮想カメラCaLの向きは繰り返し変更されないが、右目用仮想カメラCaRと左目用仮想カメラCaLの向きも、立体視パラメータとして繰り返し変更されてもよい。
(7)上記実施例では、表示対象は、三次元空間であるがこれに限定されず、実際の右目用カメラ及び左目用カメラによって実際に撮像した現実世界であってもよい。また、表示制御装置において、右目用画像と左目用画像とを生成せずに、予め生成された右目用画像と左目用画像とを用いて、表示装置に立体視表示させてもよい。
(6) According to the above embodiment, both the inter-camera distance parameter D5 and the reference plane distance parameter D6 are repeatedly changed, but either one may be used. Further, although the orientations of the right-eye virtual camera CaR and the left-eye virtual camera CaL are not repeatedly changed, the orientations of the right-eye virtual camera CaR and the left-eye virtual camera CaL may be repeatedly changed as stereoscopic parameters.
(7) In the above embodiment, the display target is a three-dimensional space, but is not limited to this, and may be the real world actually captured by the right-eye camera and the left-eye camera. Further, in the display control apparatus, the right-eye image and the left-eye image may be displayed on the display device using the right-eye image and the left-eye image that are generated in advance without generating the right-eye image and the left-eye image.

(8)上記実施例では、表示制御処理は、ゲーム処理に含まれているがこれに限定されず、ゲーム処理とは無関係に行なわれてもよい。   (8) In the above-described embodiment, the display control process is included in the game process, but is not limited to this, and may be performed regardless of the game process.

(9)表示制御装置は、立体視表示可能な表示装置を外付け又は内蔵して接続可能な情報処理装置であればよいが、例えば、携帯型ゲーム装置、PDA(Personal Digital Assistant)、携帯電話(スマートフォンを含む)、3Dテレビ受像機に接続される据え置き型ゲーム装置、パーソナルコンピュータ等である。また、表示制御装置の表示制御処理の一部をサーバ等の他の情報処理装置で負担してもよく、表示制御装置と他の情報処理装置とを含む複数の情報処理装置で表示制御システムを構成してもよい。   (9) The display control device may be an information processing device that can be connected to an externally or built-in display device capable of stereoscopic display. For example, a portable game device, a PDA (Personal Digital Assistant), a mobile phone It is a stationary game device or a personal computer connected to a 3D television receiver (including a smartphone). In addition, a part of the display control processing of the display control device may be borne by another information processing device such as a server, and the display control system is configured by a plurality of information processing devices including the display control device and another information processing device. It may be configured.

1 ゲーム装置
2 立体画像表示装置
12 操作部
D1 ゲームプログラム
D5 カメラ間距離パラメータ
D6 基準面距離パラメータ
D100 右目用画像データ
D200 左目用画像データ
DESCRIPTION OF SYMBOLS 1 Game device 2 Stereoscopic image display device 12 Operation part D1 Game program D5 Inter-camera distance parameter D6 Reference plane distance parameter D100 Right-eye image data D200 Left-eye image data

Claims (16)

立体視表示が可能な表示装置に接続された表示制御装置のコンピュータを、
前記立体視表示における立体度合いを設定するための立体視パラメータに基づいて、互いに視差を有する右目用画像と左目用画像とを用いて、前記表示装置に立体視表示させる処理を繰り返し実行する表示処理手段、及び
前記立体視パラメータを繰り返し変更する変更手段、
として機能させる、表示制御プログラム。
A display control device computer connected to a display device capable of stereoscopic display,
Display processing for repeatedly performing stereoscopic display on the display device using a right-eye image and a left-eye image having parallax based on a stereoscopic parameter for setting a stereoscopic degree in the stereoscopic display Means, and changing means for repeatedly changing the stereoscopic parameter,
Display control program to function as.
前記右目用画像と左目用画像には、仮想的な三次元空間が描画され、
前記立体視パラメータは、前記三次元空間に配置された右目用仮想カメラと左目用仮想カメラとの間の第1の距離を少なくとも含み、
前記表示処理手段は、
前記変更手段によって変更された前記立体視パラメータに基づいて、前記右目用仮想カメラと前記左目用仮想カメラとの間の距離を変更するカメラ位置変更手段、及び
前記右目用仮想カメラから前記三次元空間を撮像した前記右目用画像と、前記左目用仮想カメラから前記三次元空間を撮像した前記左目用画像とを繰り返し生成する画像生成手段、を含む、
請求項1に記載の表示制御プログラム。
In the right-eye image and the left-eye image, a virtual three-dimensional space is drawn,
The stereoscopic parameter includes at least a first distance between a right-eye virtual camera and a left-eye virtual camera arranged in the three-dimensional space,
The display processing means includes
Camera position changing means for changing a distance between the right-eye virtual camera and the left-eye virtual camera based on the stereoscopic parameter changed by the changing means, and the three-dimensional space from the right-eye virtual camera Image generation means for repeatedly generating the right-eye image obtained by imaging the left-eye image obtained by imaging the three-dimensional space from the left-eye virtual camera,
The display control program according to claim 1.
前記右目用画像と左目用画像には、仮想的な三次元空間が描画され、
前記立体視パラメータは、前記三次元空間に配置された右目用仮想カメラ及び/または左目用仮想カメラから基準面までの距離、若しくは前記右目用仮想カメラと前記左目用仮想カメラとの間の所定位置から前記基準面までの距離である第2の距離を少なくとも含み、
前記表示処理手段は、
前記変更手段によって変更された前記立体視パラメータに基づいて、前記基準面の位置を変更する基準面変更手段、及び
前記右目用仮想カメラから前記三次元空間を撮像した前記右目用画像と、前記左目用仮想カメラから前記三次元空間を撮像した前記左目用画像とを前記基準面に基づいて繰り返し生成する画像生成手段、を含む、
請求項1に記載の表示制御プログラム。
In the right-eye image and the left-eye image, a virtual three-dimensional space is drawn,
The stereoscopic parameter is a distance from a right-eye virtual camera and / or a left-eye virtual camera arranged in the three-dimensional space to a reference plane, or a predetermined position between the right-eye virtual camera and the left-eye virtual camera. At least a second distance that is a distance from the reference plane to
The display processing means includes
Reference plane changing means for changing the position of the reference plane based on the stereoscopic parameter changed by the changing means, the right-eye image obtained by imaging the three-dimensional space from the right-eye virtual camera, and the left eye Image generation means for repeatedly generating the left-eye image obtained by imaging the three-dimensional space from the virtual camera for the image based on the reference plane,
The display control program according to claim 1.
前記立体視パラメータは複数あり、当該複数の立体視パラメータは、前記第1の距離に加えて、前記右目用仮想カメラ及び/又は前記左目用仮想カメラから基準面までの距離、若しくは前記右目用仮想カメラと前記左目用仮想カメラとの間の所定位置から前記基準面までの距離である第2の距離を少なくとも含み、
前記表示処理手段は、前記カメラ位置変更手段及び前記画像生成手段に加えて、前記変更手段によって変更された前記第2の距離に基づいて、前記基準面の位置を変更する基準面変更手段を更に含み、
前記画像生成手段は、前記右目用仮想カメラから前記三次元空間を撮像した前記右目用画像と、前記左目用仮想カメラから前記三次元空間を撮像した前記左目用画像とを、前記基準面に基づいて繰り返し生成する、
請求項2に記載の表示制御プログラム。
There are a plurality of the stereoscopic parameters, and in addition to the first distance, the plurality of stereoscopic parameters include a distance from the right-eye virtual camera and / or the left-eye virtual camera to a reference plane, or the right-eye virtual parameter. At least a second distance that is a distance from a predetermined position between the camera and the left-eye virtual camera to the reference plane;
In addition to the camera position changing unit and the image generating unit, the display processing unit further includes a reference plane changing unit that changes the position of the reference plane based on the second distance changed by the changing unit. Including
The image generation means, based on the reference plane, the right-eye image obtained by imaging the three-dimensional space from the right-eye virtual camera and the left-eye image obtained by imaging the three-dimensional space from the left-eye virtual camera. Repeatedly generate
The display control program according to claim 2.
前記変更手段は、前記立体視パラメータが周期的に変化するように、前記立体視パラメータを繰り返し変更する、請求項1から4の何れかに記載の表示制御プログラム。   The display control program according to any one of claims 1 to 4, wherein the changing unit repeatedly changes the stereoscopic parameter so that the stereoscopic parameter periodically changes. 前記変更手段は、前記立体視パラメータが所定の上限及び当該上限とは異なる所定の下限との間で増減を繰り返すように前記立体視パラメータを変更する、請求項1から5の何れかに記載の表示制御プログラム。   The said change means changes the said stereoscopic vision parameter so that the said stereoscopic vision parameter repeats increase / decrease between the predetermined upper limit and the predetermined lower limit different from the said upper limit, The change in any one of Claim 1 to 5 Display control program. 前記所定の上限及び前記所定の下限は、対象となる前記立体視パラメータにおける基準値の所定割合に基づいた値である、
請求項6に記載の表示制御プログラム。
The predetermined upper limit and the predetermined lower limit are values based on a predetermined ratio of a reference value in the target stereoscopic parameter.
The display control program according to claim 6.
前記変更手段は、前記第1の距離と、前記第2の距離とがそれぞれ異なる周期で周期的に変化するように、前記立体視パラメータを繰り返し変更する、
請求項4に記載の表示制御プログラム。
The changing means repeatedly changes the stereoscopic parameter so that the first distance and the second distance periodically change at different periods, respectively.
The display control program according to claim 4.
前記変更手段は、前記立体視パラメータが所定の上限及び当該上限とは異なる所定の下限との間で増減を繰り返すように前記立体視パラメータを変更し、
前記所定の上限及び前記所定の下限は、対象となる前記立体視パラメータにおける基準値の所定割合に基づいた値であり、
前記所定割合は、前記第1の距離、及び前記第2の距離とでそれぞれ異なる割合とする、
請求項4に記載の表示制御プログラム。
The changing means changes the stereoscopic parameter so that the stereoscopic parameter repeatedly increases and decreases between a predetermined upper limit and a predetermined lower limit different from the upper limit,
The predetermined upper limit and the predetermined lower limit are values based on a predetermined ratio of a reference value in the target stereoscopic parameter,
The predetermined ratio is a ratio different between the first distance and the second distance,
The display control program according to claim 4.
前記変更手段は、前記立体視パラメータを繰り返し変更することにより、前記立体視表示における立体度合いを繰り返し変更する
請求項1から9の何れかに記載の表示制御プログラム。
The display control program according to claim 1, wherein the changing unit repeatedly changes the stereoscopic degree in the stereoscopic display by repeatedly changing the stereoscopic parameter.
前記表示処理手段は、特定のシーンを含む複数のシーンのうちの何れかを選択的に前記表示装置に立体視表示させ、
前記変更手段は、前記特定のシーンが立体視表示されるときに、前記立体視パラメータを繰り返し変更する、
請求項1から10の何れかに記載の表示制御プログラム。
The display processing unit selectively causes any one of a plurality of scenes including a specific scene to be stereoscopically displayed on the display device,
The changing means repeatedly changes the stereoscopic parameter when the specific scene is stereoscopically displayed.
The display control program according to claim 1.
前記表示処理手段は、仮想的な三次元空間を撮像した画像を前記表示装置に立体視表示させ、
前記変更手段は、前記三次元空間内で特定のイベントが発生したときに、前記立体視パラメータを繰り返し変更する、
請求項1から11の何れかに記載の表示制御プログラム。
The display processing means stereoscopically displays an image obtained by capturing a virtual three-dimensional space on the display device,
The changing means repeatedly changes the stereoscopic parameter when a specific event occurs in the three-dimensional space.
The display control program according to claim 1.
前記表示制御装置は、ユーザの操作を受け付ける操作手段に接続され、
前記表示処理手段は、前記操作に応じた仮想的な三次元空間を前記表示装置に立体視表示させ、
前記変更手段は、前記操作の状態が特定の状態であるときに、前記立体視パラメータを繰り返し変更する、
請求項1から12の何れかに記載の表示制御プログラム。
The display control device is connected to an operation means for receiving a user operation,
The display processing means stereoscopically displays a virtual three-dimensional space corresponding to the operation on the display device,
The changing means repeatedly changes the stereoscopic parameter when the state of the operation is a specific state.
The display control program according to claim 1.
立体視表示が可能な表示装置に接続された表示制御装置であって、
前記立体視表示における立体度合いを設定するための立体視パラメータに基づいて、互いに視差を有する右目用画像と左目用画像とを用いて、前記表示装置に立体視表示させる処理を繰り返し実行する表示処理手段、及び
前記立体視パラメータを繰り返し変更する変更手段、
を備える表示制御装置。
A display control device connected to a display device capable of stereoscopic display,
Display processing for repeatedly performing stereoscopic display on the display device using a right-eye image and a left-eye image having parallax based on a stereoscopic parameter for setting a stereoscopic degree in the stereoscopic display Means, and changing means for repeatedly changing the stereoscopic parameter,
A display control device.
立体視表示が可能な表示装置に接続され、複数の情報処理装置からなる表示制御システムあって、
前記立体視表示における立体度合いを設定するための立体視パラメータに基づいて、互いに視差を有する右目用画像と左目用画像とを用いて、前記表示装置に立体視表示させる処理を繰り返し実行する表示処理手段、及び
前記立体視パラメータを繰り返し変更する変更手段、
を備える表示制御システム。
A display control system connected to a display device capable of stereoscopic display and comprising a plurality of information processing devices,
Display processing for repeatedly performing stereoscopic display on the display device using a right-eye image and a left-eye image having parallax based on a stereoscopic parameter for setting a stereoscopic degree in the stereoscopic display Means, and changing means for repeatedly changing the stereoscopic parameter,
A display control system comprising:
立体視表示が可能な表示装置に接続された表示制御装置を用いた表示制御方法であって、
前記立体視表示における立体度合いを調整するための立体視パラメータに基づいて、共通の表示対象を含み、かつ互いに視差を有する右目用画像と左目用画像とを用いて前記表示対象を前記表示装置に立体視表示させる処理を繰り返し実行する表示処理ステップ、及び
前記立体視パラメータを繰り返し変更する変更ステップ、
を含む表示制御方法。
A display control method using a display control device connected to a display device capable of stereoscopic display,
Based on a stereoscopic parameter for adjusting the stereoscopic degree in the stereoscopic display, the display target is displayed on the display device using a right-eye image and a left-eye image that include a common display target and have parallax with each other. A display processing step for repeatedly executing a stereoscopic display process, and a changing step for repeatedly changing the stereoscopic parameter;
A display control method including:
JP2011186741A 2011-08-30 2011-08-30 Display control program, display control device, display control system, and display control method Withdrawn JP2013051460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011186741A JP2013051460A (en) 2011-08-30 2011-08-30 Display control program, display control device, display control system, and display control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011186741A JP2013051460A (en) 2011-08-30 2011-08-30 Display control program, display control device, display control system, and display control method

Publications (1)

Publication Number Publication Date
JP2013051460A true JP2013051460A (en) 2013-03-14

Family

ID=48013229

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011186741A Withdrawn JP2013051460A (en) 2011-08-30 2011-08-30 Display control program, display control device, display control system, and display control method

Country Status (1)

Country Link
JP (1) JP2013051460A (en)

Similar Documents

Publication Publication Date Title
JP6511386B2 (en) INFORMATION PROCESSING APPARATUS AND IMAGE GENERATION METHOD
US9049428B2 (en) Image generation system, image generation method, and information storage medium
US20120306860A1 (en) Image generation system, image generation method, and information storage medium
US9106906B2 (en) Image generation system, image generation method, and information storage medium
JP2005295004A (en) Stereoscopic image processing method and apparatus thereof
JP5572647B2 (en) Display control program, display control device, display control system, and display control method
JP2003107603A (en) Stereophonic image generating device, stereophonic image generation information and information storage medium
US8854358B2 (en) Computer-readable storage medium having image processing program stored therein, image processing apparatus, image processing method, and image processing system
US9639972B2 (en) Computer-readable storage medium having stored therein display control program, display control apparatus, display control method, and display control system for performing display control of a display apparatus capable of stereoscopic display
JP2017208676A (en) Method of providing virtual space, program, and recording medium
JP5876983B2 (en) Display control program, display control device, display control method, and display control system
CN111095348A (en) Transparent display based on camera
US11557087B2 (en) Image processing apparatus and image processing method for generating a strobe image using a three-dimensional model of an object
JP6126272B1 (en) Method, program, and recording medium for providing virtual space
JP2022051978A (en) Image processing device, image processing method, and program
JP5620202B2 (en) Program, information storage medium, and image generation system
US10957106B2 (en) Image display system, image display device, control method therefor, and program
JP2012234411A (en) Image generation device, image generation system, image generation program and image generation method
JP2013257621A (en) Image display system, puzzle game system, image display method, puzzle game method, image display device, puzzle game device, image display program and puzzle game program
US8817081B2 (en) Image processing apparatus, image processing method, and program
TWM630947U (en) Stereoscopic image playback apparatus
US20120306855A1 (en) Storage medium having stored therein display control program, display control apparatus, display control method, and display control system
JP2013051460A (en) Display control program, display control device, display control system, and display control method
JP2002300612A (en) Image generating device, program, and information storage medium
JP5319728B2 (en) Parallax image generation device, display device, parallax image generation method, parallax image generation program, and recording medium recording the same

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141104