Computer-readable storage medium, information processing apparatus, information processing system, and information processing method
First Claim
1. A non-transitory computer-readable storage medium having stored therein instructions executed by a computer of an information processing apparatus connected to a left real camera and a right real camera for shooting a real space, and a display device capable of displaying a stereoscopic visible image, the stored instructions comprising instructions that are configured to cause the computer to:
- obtain a real image for a left eye shot by the left real camera;
obtain a real image for a right eye shot by the right real camera;
set a left virtual camera in a virtual space that is three-dimensional, the left virtual camera set at a position and an orientation that corresponds to the left real camera in the real space;
set a right virtual camera in the virtual space in accordance with a position and an orientation of the right real camera in the real space;
locate a virtual model in the virtual space;
set, as a left texture area, an area in the real image for a left eye that is to be applied to the virtual model that is located in the virtual space;
set, as a right texture area, an area in the real image for a right eye that is to be applied to the virtual model that is located in the virtual space;
apply at least some portion of the set left texture area to the virtual model;
generate, based on at least the set left virtual camera and the portion of the set left texture area, a left virtual camera image of the virtual space that includes a view of the virtual model located in the virtual space;
apply at least some portion of the set right texture area to the virtual model;
generate, based on at least the right virtual camera and the portion of the set right texture area a right virtual camera image of the virtual space that includes a view of the virtual model located in the virtual space; and
display the generated left virtual camera image and the generated right virtual camera image on the display in a stereoscopic manner.
2 Assignments
0 Petitions
Accused Products
Abstract
A marker present in a real space is detected from each of a real image for a left eye and a real image for a right eye. The position and the orientation of each of imaging sections relative to the marker are calculated. A left virtual camera and a right virtual camera are set in accordance with the positions and the orientations of the imaging sections. A virtual model having a planar shape is placed in a marker coordinate system, and areas in the real image for a left eye and the real image for a right eye that correspond to the virtual model are set as a left texture area and a right texture area, respectively. Each of images included in a left texture area and a right texture area is applied, as a texture, to a deformation object into which the virtual model is deformed.
135 Citations
14 Claims
-
1. A non-transitory computer-readable storage medium having stored therein instructions executed by a computer of an information processing apparatus connected to a left real camera and a right real camera for shooting a real space, and a display device capable of displaying a stereoscopic visible image, the stored instructions comprising instructions that are configured to cause the computer to:
-
obtain a real image for a left eye shot by the left real camera; obtain a real image for a right eye shot by the right real camera; set a left virtual camera in a virtual space that is three-dimensional, the left virtual camera set at a position and an orientation that corresponds to the left real camera in the real space; set a right virtual camera in the virtual space in accordance with a position and an orientation of the right real camera in the real space; locate a virtual model in the virtual space; set, as a left texture area, an area in the real image for a left eye that is to be applied to the virtual model that is located in the virtual space; set, as a right texture area, an area in the real image for a right eye that is to be applied to the virtual model that is located in the virtual space; apply at least some portion of the set left texture area to the virtual model; generate, based on at least the set left virtual camera and the portion of the set left texture area, a left virtual camera image of the virtual space that includes a view of the virtual model located in the virtual space; apply at least some portion of the set right texture area to the virtual model; generate, based on at least the right virtual camera and the portion of the set right texture area a right virtual camera image of the virtual space that includes a view of the virtual model located in the virtual space; and display the generated left virtual camera image and the generated right virtual camera image on the display in a stereoscopic manner. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An information processing apparatus connected to a left real camera and a right real camera for shooting a real space, and to display device capable of displaying a stereoscopic visible image, the information processing apparatus comprising:
a processing system that includes at least one processor, the processing system configured to; obtain a real image for a left eye shot by the left real camera; obtain a real image for a right eye shot by the right real camera; set a left virtual camera in a virtual space that is three-dimensional, the left virtual camera set at a position and an orientation that corresponds to the left real camera in the real space; set a right virtual camera in the virtual space in accordance with a position and an orientation the right real camera in the real space; locate the virtual model in the virtual space; determine a left texture image from an area of the real image for a left eye that is to be applied to the virtual model that is located in the virtual space; determine a right texture image from the real image for a right eye that is to be applied to the virtual model that is located in the virtual space; texture map at least some portion of the determined left texture image to the virtual model; generate a left virtual camera image of the texture mapped virtual model as viewed in accordance with the set left virtual camera; texture map the determined right texture image to the virtual model; generate a right virtual camera image of the texture mapped virtual model as viewed in accordance with the set right virtual camera; and display, in a stereoscopic manner, the generated left virtual camera image and the generated right virtual camera image on the display device.
-
13. An information processing system comprising:
-
a left real camera and a right real camera for shooting a real space; a display device capable of displaying a stereoscopic visible image; and a processing system that includes at least one computer processor, the processing system configured to; obtain a real image for a left eye shot by the left real camera; obtain a real image for a right eye shot by the right real camera; set a left virtual camera in a virtual space that is three-dimensional, the left virtual camera set at a position and an orientation that corresponds to the left real camera in the real space; set a right virtual camera in the virtual space in accordance with a position and an orientation the right real camera in the real space; locate a virtual model in the virtual space; set a left texture area in the real image for a left eye that is to be applied to the virtual model that is located in the virtual space; set a right texture area in the real image for a right eye that that is to be applied to the virtual model that is located in the virtual space; apply an image from the left texture area to the virtual model; generate, based on the set left virtual camera, a left virtual camera image of the virtual space that includes a view of the virtual model located in the virtual space; apply an image from the right texture area to the virtual model; generate, based on the set right virtual camera, a right virtual camera image of the virtual space that includes a view of the virtual model located in the virtual space; and output the generated left virtual camera image and the generated right virtual camera image to the display device such that the left virtual camera image is viewed by the left eye of a user and the right virtual camera image is viewed by the right eye of the user.
-
-
14. An information processing method comprising:
-
obtaining a real image for a left eye shot by a left real camera for shooting a real space; obtaining a real image for a right eye shot by a right real camera for shooting the real space; setting a left virtual camera in a virtual space that is three-dimensional, the left virtual camera set at a position and an orientation that corresponds to the left real camera in the real space, setting a right virtual camera in a virtual space in accordance with a position and an orientation of the right real camera in the real space; locating a virtual model in the virtual space; setting, as a left texture area, an area in the real image for a left eye that is to be applied to the virtual model located in the virtual space; setting, as a right texture area, an area in the real image for a right eye that is to be applied to the virtual model located in the virtual space; applying at least a portion of the left texture area to the virtual model; generating, based on at least the set left virtual camera and the applied portion of the left texture area, a left virtual camera image of the virtual space that includes a view of the virtual model located in the virtual space; applying at least a portion of the right texture area to the virtual model; generating, based on at least the set right virtual camera and the applied portion of the right texture area, a right virtual camera image of the virtual space that includes a view of the virtual model located in the virtual space shot; and displaying the left virtual camera image and the right virtual camera image in a stereoscopic manner on a display device capable of displaying a stereoscopic visible image.
-
Specification