Device, method, and graphical user interface for composing cgr files
Abstract
A method includes determining to present a computer-generated reality (CGR) object that is associated with a first anchor and a second anchor. The method includes determining, based on an image of a physical environment, whether the physical environment includes a portion corresponding to the first anchor. The method includes, in response to determining that the physical environment lacks a portion that corresponds to the first anchor, determining, based on the image, whether the physical environment includes a portion corresponding to the second anchor. The method includes, in response to determining that the physical environment includes a portion that corresponds to the second anchor, displaying, on the display, the CGR object at a location of the display corresponding to the second anchor.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method comprising:
at a device including a display, a non-transitory memory and one or more processors:
determining to present a computer-generated reality (CGR) object that is associated with a first anchor and a second anchor;
determining, based on an image of a physical environment, whether the physical environment includes a portion corresponding to the first anchor;
in response to determining that the physical environment lacks a portion that corresponds to the first anchor:
determining, based on the image, whether the physical environment includes a portion corresponding to the second anchor; and
in response to determining that the physical environment includes a portion that corresponds to the second anchor, displaying, on the display, the CGR object at a location of the display corresponding to the second anchor.
2 . The method of claim 1 , wherein determining to present the CGR object comprises receiving, via one or more input devices, a user input that corresponds to a request to present the CGR object.
3 . The method of claim 1 , wherein determining to present the CGR object comprises determining to present a CGR environment that includes the CGR object.
4 . The method of claim 1 , further comprising capturing the image of the physical environment using a camera of the device.
5 . The method of claim 1 , wherein the first anchor serves as a primary anchor and the second anchor serves as a backup anchor for displaying the CGR object.
6 . The method of claim 1 , wherein displaying the CGR object comprises overlaying the CGR object on a portion of the image that depicts the second anchor.
7 . The method of claim 1 , wherein the first anchor includes an anchor image and the second anchor includes a planar surface in the physical environment.
8 . The method of claim 1 , wherein the first anchor is a tabletop and the second anchor is a horizontal plane.
9 . The method of claim 1 , wherein the display includes an optical passthrough display.
10 . The method of claim 1 , further comprising:
detecting a movement of the device that results in a change of the location of the second anchor on the display; and displaying a movement of the CGR object based on the change of the location of the second anchor on the display.
11 . The method of claim 1 , wherein the second anchor is a physical object in the physical environment, and the method further comprises:
detecting a movement of the physical object in the physical environment; and displaying a movement of the CGR object based on the movement of the physical object in the physical environment.
12 . An electronic device comprising:
a display; a non-transitory memory; one or more processors; and one or more programs stored in the non-transitory memory, which, when executed by the one or more processors, cause the electronic device to:
determine to present a computer-generated reality (CGR) object that is associated with a first anchor and a second anchor;
determine, based on an image of a physical environment, whether the physical environment includes a portion corresponding to the first anchor;
in response to determining that the physical environment lacks a portion that corresponds to the first anchor:
determine, based on the image, whether the physical environment includes a portion corresponding to the second anchor; and
in response to determining that the physical environment includes a portion that corresponds to the second anchor, display, on the display, the CGR object at a location of the display corresponding to the second anchor.
13 . The electronic device of claim 12 , wherein determining to present the CGR object comprises receiving, via one or more input devices, a user input that corresponds to a request to present the CGR object.
14 . The electronic device of claim 12 , wherein determining to present the CGR object comprises determining to present a CGR environment that includes the CGR object.
15 . The electronic device of claim 12 , wherein the one or more programs further cause the electronic device to capture the image of the physical environment using a camera of the device.
16 . The electronic device of claim 12 , wherein the first anchor serves as a primary anchor and the second anchor serves as a backup anchor for displaying the CGR object.
17 . The electronic device of claim 12 , wherein displaying the CGR object comprises overlaying the CGR object on a portion of the image that depicts the second anchor.
18 . The electronic device of claim 12 , wherein the first anchor includes an anchor image and the second anchor includes a planar surface in the physical environment.
19 . The electronic device of claim 12 , wherein the first anchor is a tabletop and the second anchor is a horizontal plane.
20 . A non-transitory computer-readable medium having instructions encoded thereon which, when executed by an electronic device including a non-transitory memory and one or more processors, cause the electronic device to:
determine to present a computer-generated reality (CGR) object that is associated with a first anchor and a second anchor; determine, based on an image of a physical environment, whether the physical environment includes a portion corresponding to the first anchor; in response to determining that the physical environment lacks a portion that corresponds to the first anchor:
determine, based on the image, whether the physical environment includes a portion corresponding to the second anchor; and
in response to determining that the physical environment includes a portion that corresponds to the second anchor, display, on the display, the CGR object at a location of the display corresponding to the second anchor.Join the waitlist — get patent alerts
Track US2022291806A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.