Apple Patent | Detection And Display Of Mixed 2d/3d Content
Publication Number: 20200051527
Publication Date: 20200213
Various implementations disclosed herein include devices, systems, and methods that enable a first device to obtain two-dimensional (2D) content referenced by a webpage and a second device in communication with the first device to display 3D content referenced by the webpage. In an example, it is detected that the webpage references 3D content associated with 2D content and detected that a second device, capable of displaying the 3D content referenced by the webpage, is linked to or in communication with the first device. In one example, the second device receives input corresponding to a user selection to view the 3D content, and in response, displays an 3D environment including the 3D content.
CROSS-REFERENCE TO RELATED APPLICATION
 This application claims the benefit of U.S. Provisional Application Ser. No. 62/715,331 filed Aug. 7, 2018, which is incorporated herein in its entirety.
 The present disclosure generally relates to displaying two dimensional (2D) and three dimensional (3D) content, and in particular, to systems, methods, and devices for sharing and displaying 2D and 3D content.
 Electronic devices have different capabilities with respect to viewing and interacting with electronic content. For example, many desktops and laptops utilize single flat screen displays that are generally well suited for viewing 2D content while the devices are resting in fixed positions on desks and other flat surfaces. Traditional webpages include 2D content that is easily viewed on such devices. Such devices, however, have limitations with respect to viewing 3D content. In contrast, mobile devices, head-mounted devices (HMDs), and other such devices often have attributes and features that can make them better suited for viewing 3D content. For example, 3D content (e.g., virtual objects) can be viewed on a mobile phone and the orientation/position of the mobile phone can be used to change the view of the 3D content. As the user walks around and tilts the phone, he or she can view the 3D content from different relative positions and angles. As another example, some devices, such as HMDs, include multiple screens that provide the ability for stereoscopic rendering of 3D content. This can allow a user to better perceive depth when viewing 3D content. Existing techniques and systems do not adequately facilitate the distribution, viewing, and sharing of 2D and 3D content to enable the effective and intuitive use of the differing capabilities of these electronic devices.
 Various implementations disclosed herein include devices, systems, and methods that enable a first device to display 2D content referenced by a content item (e.g., a webpage) and a second device in communication with the first device to display 3D content referenced by the content item. In an example, a first device displays the 2D content of a webpage. The first device or a second device detects that the webpage references 3D content associated with that 2D content. The second device is capable of displaying the 3D content referenced by the webpage and is linked to or otherwise in communication with the first device. The first or second device determines that the second device should display the 3D content. The determination to display the 3D content on the second device can be based on detecting that the devices are in communication with one another, detecting that the devices are located proximate one another, detecting that the first device is within an image captured by the second device, detecting user input, or detecting other relevant circumstances or information. After determining that the second device should display the 3D content, the second device receives the 3D content referenced by the webpage from the first device or from another webpage source and displays the 3D content. In one example, the first device previously downloaded the 3D content as part of the webpage content and automatically sends the 3D content to the second device for display. In another example, the second device request the 3D content from the first device or from the web server that hosts the webpage or its 3D content.
 After receiving the 3D content, the second device, in various implementations, displays the 3D content. Displaying the 3D content may utilize one or more features to display the 3D content that are not available on the first device. For example, the second device may display the 3D content from a user/device-position-based viewpoint (e.g., changing as the device is moved and titled), using stereoscopic rendering, or in a computer generated reality (CGR) environment. The second device may display the 3D content using one or more of these viewing modes or otherwise in a way that is not available on the first device. In some implementations, the second device uses a camera to capture images and constructs a CGR environment using the 3D content and the captured images.
 In some implementations, the user of the second device is able to simply and easily receive, view, and use the 3D content without necessarily needing to move the 3D content to a particular storage location on the second device, identify that the 3D content can be experienced on the second device, identify an app to experience the 3D content, launch such an app, or import or add the received 3D content to a CGR environment provided by such an app. The user’s experience of using two or more devices to experience the 2D and 3D content of a website is efficient and intuitive.
 Devices, systems, and methods disclosed herein enable the display of 3D content that corresponds to 2D webpage content viewed on a first device. The devices, systems, and methods improve the ability of users to use, share, and interact with 2D content that is combined with 3D content. For example, a first user, who is using a first device, can view a webpage including 2D content corresponding to a couch being sold from an online retailer. The webpage can include a 3D content indicator such as a markup language statement that indicates the availability of 3D content that is part of the webpage, for example, corresponding to 2D image of the couch in the 2D content. The 2D content can include a graphical indicator indicating that this 3D content is available. The first user or a second user may then use a second device to view the 3D content. In the couch example, the second device is used to access the 3D content corresponding to the couch, e.g., accessing a data object or file that includes a 3D model of the couch or identifying a file or data storage address of a file that includes a 3D model of the couch. In one example, the first device sends a communication to the second device that includes or provides access to the 3D content.
 Based on receiving the communication from the first device, the second device enables viewing or use of the 3D content. In one example, the second device receives input corresponding to a user selection to view the 3D content in a CGR environment. Responsive to detecting this input, the second device displays the 3D content as part of a CGR environment. Such a CGR environment can be provided by using the camera to capture images (e.g., video) and constructing the CGR environment using the 3D content and the captured images. In some implementations, the second device overlays the 3D content on the captured images.
 In some implementations, a method is performed at a first device having one or more processors and a computer-readable storage medium, such as a desktop, laptop, tablet, etc. The method involves obtaining, by the first device, 2D content referenced by a webpage that also references 3D content. The method also involves a second device that is capable of presenting the 3D content (e.g., capable of providing a view from user/device-position-based viewpoint, using stereoscopic rendering, or in a CGR environment), such as a tablet, HMD, mobile phone, etc. The second device receives and presents the 3D content referenced by the webpage. The method may include detecting that the webpage references 3D content that cannot be displayed by the first device or detecting any other circumstance that will trigger an automatic communication between the first and second device or result in the automatic display of the 3D content on the second device.
 Some implementations, as illustrated in the above example and elsewhere herein, thus enable viewing 2D content referenced by a webpage on a first device and 3D content referenced by the webpage on a second device. These implementations provide an improved user viewing experience. For example, a single user having two devices (e.g., a laptop and an HMD) can browse webpages and, when a webpage references 3D content of interest, put on the HMD and automatically, or via an intuitive user experience, access and view that 3D content. In another example, multiple users are able to experience the 2D and 3D content referenced by a webpage in a similarly convenient sharing experience. For example, one user may view a webpage that shows a car on a laptop while the other user uses an HMD to experience 3D content of the website relating to the car.
 In accordance with some implementations, a non-transitory computer readable storage medium has stored therein instructions that are computer-executable to perform or cause performance of any of the methods described herein. In accordance with some implementations, a device includes one or more processors, a non-transitory memory, and one or more programs; the one or more programs are stored in the non-transitory memory and configured to be executed by the one or more processors and the one or more programs include instructions for performing or causing performance of any of the methods described herein.