Device, method, and graphical user interface for interacting with three-dimensional environment
By combining display generation components and input devices in the computer system, dynamically updated user interface elements are realized, which solves the problem of low interaction efficiency in the existing technology, improves the interaction efficiency and user experience of virtual/augmented/extended reality environments, and saves money. energy.
Patent Information
- Application Number
- CN202410625338.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-09-21
- Filing Date
- 2022-09-23
- Publication Date
- 2024-08-30
AI Technical Summary
The existing methods of interacting with virtual/augmented/extended reality environments are inefficient, and the user interface is complex and error-prone, resulting in high user cognitive load and long time consumption. Especially in battery-driven devices, there is a problem of energy waste.
By combining display generation components and input devices in a computer system, it is possible to simultaneously display the physical environment and computer-generated user interface elements, reduce the number and complexity of user input, and improve the human-computer experience by dynamically updating the appearance and interaction methods of user interface elements. Interface efficiency and intuitiveness.
Improves the efficiency and intuitiveness of interactions with virtual/augmented/extended reality environments, reduces user errors, saves energy, extends device battery life, and improves user experience and security.
Smart Images

Figure CN118567475A_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with an international application date of September 23, 2022, a national application number of 202280064827.1 (international application number PCT / US2022 / 044577), and an invention name of "Device, method and graphical user interface for interacting with a three-dimensional environment".
[0002] Related patent applications
[0003] This application is a continuation of U.S. patent application serial number 17 / 950,035 filed on September 21, 2022. This patent application claims priority to U.S. provisional application serial number 63 / 328,686 filed on April 7, 2022 and U.S. provisional application serial number 63 / 248,381 filed on September 24, 2021. The entire contents of the above-mentioned patent applications are hereby incorporated herein by reference in their entirety. Technical Field
[0004] The present disclosure generally relates to computer systems having display generation components and one or more input devices that provide computer-generated extended reality (XR) experiences, including but not limited to electronic devices that provide virtual reality and mixed reality experiences via the display generation components. Background Art
[0005] In recent years, the development of computer systems for virtual reality, augmented reality, and extended reality has increased significantly. Exemplary augmented reality and extended reality environments include at least some virtual elements that replace or enhance the physical world. Input devices (such as cameras, controllers, joysticks, touch-sensitive surfaces, and touch screen displays) for computer systems and other electronic computing devices are used to interact with virtual / augmented / extended reality environments. Exemplary virtual elements include virtual objects such as digital images, videos, text, icons, and control elements such as buttons and other graphics.
[0006] However, methods and interfaces for interacting with environments that include at least some virtual elements (e.g., applications, augmented reality environments, mixed reality environments, virtual reality environments, and extended reality environments) are cumbersome, inefficient, and limited. For example, systems that provide insufficient feedback for performing actions associated with virtual objects, systems that require a series of inputs to achieve desired results in a virtual / augmented / extended reality environment, and systems where virtual object manipulation is complex, cumbersome, and error-prone can impose a significant cognitive burden on users and detract from the experience of the virtual / augmented / extended reality environment. In addition, these methods take longer than necessary, thereby wasting energy. This latter consideration is particularly important in battery-powered devices. Summary of the invention
[0007] Therefore, there is a need for a computer system with improved methods and interfaces to provide a computer-generated experience to a user, so that the user's interaction with the computer system is more efficient and more intuitive for the user. The disclosed system, method, and user interface reduce or eliminate the above-mentioned defects and other problems associated with user interfaces for computer systems having display generation components and one or more input devices. Such systems, methods, and interfaces optionally supplement or replace conventional systems, methods, and user interfaces for providing an extended reality experience to a user. Such methods and interfaces reduce the number, degree, and / or nature of inputs from a user by helping the user understand the connection between the inputs provided and the device's response to these inputs, thereby forming a more effective human-computer interface.
[0008] According to some embodiments, a method is performed at a computer system that communicates with a display generation component. The method includes simultaneously displaying a view of a physical environment and a computer-generated user interface element overlaid on at least a portion of the view of the physical environment via the display generation component. The appearance of the computer-generated user interface element is based on the appearance of one or more portions of the view of the physical environment covered by the computer-generated user interface element. When the view of the physical environment and the computer-generated user interface element are displayed simultaneously, the appearance of a portion of the physical environment changes. In response to the change in the appearance of the portion of the physical environment, the appearance of the computer-generated user interface element is updated at a first time based on a graphical composition of the appearance of one or more portions of the physical environment at different times before the first time, and the appearance of one or more portions of the physical environment at different times before the first time includes: the appearance of the first portion of the physical environment at a second time before the first time; and the appearance of the second portion of the physical environment at a third time before the second time.
[0009] In some embodiments, a method is performed at a computer system in communication with a display generation component. The method includes simultaneously displaying via the display generation component: a view of a physical environment; and a computer-generated user interface element overlaid on at least a portion of the view of the physical environment. The appearance of the computer-generated user interface element is based on a corresponding gradient between a first set of representative colors sampled from one or more portions of the view of the physical environment covered by the computer-generated user interface element. The first set of representative colors includes: a first color, the first color representing a portion of the view of the physical environment behind the first portion of the computer-generated user interface element within a first time period; and a second color, the second color representing a portion of the view of the physical environment behind the second portion of the computer-generated user interface element within the first time period. When the view of the physical environment and the computer-generated user interface element are displayed simultaneously, the appearance of a portion of the physical environment changes. The method includes: in response to the change in the appearance of the portion of the physical environment, updating the appearance of the computer-generated user interface element based on the corresponding gradient between the second set of representative colors sampled from one or more portions of the view of the physical environment covered by the computer-generated user interface element. The second set of representative colors includes: a third color that represents a portion of the view of the physical environment behind a first portion of the computer-generated user interface element during a second time period different from the first time period; and a fourth color that represents a portion of the view of the physical environment behind a second portion of the computer-generated user interface element during the second time period.
[0010] In some embodiments, a method is performed at a computer system in communication with a display generation component. The method includes displaying a first view of a three-dimensional environment via the display generation component, including displaying a first user interface object in the first view of the three-dimensional environment and displaying background content behind the first user interface object in the three-dimensional environment. The first user interface object includes a first portion having an appearance selected based on the appearance of background content behind the first portion of the first user interface object located in the three-dimensional environment. The first user interface object has a simulated thickness between the first portion and a front portion of the first user interface object; and content is displayed in the first user interface object between the first portion of the first user interface object and the front portion of the first user interface object. The method includes: when displaying the first user interface object, detecting a request to move content; and in response to detecting the request to move content, moving the content within the first user interface object while the content remains between the first portion of the first user interface object and the front portion of the first user interface object. Moving the content within the first user interface object includes displaying a visual effect applied to the content based on the simulated thickness of the first user interface object.
[0011] In some embodiments, a method is performed at a computer system having a display generation component and one or more input devices. The method includes: displaying, via the display generation component: a user interface, the user interface including a view of a three-dimensional environment; a simulated three-dimensional object in the three-dimensional environment, the simulated three-dimensional object being displayed as having an appearance corresponding to a corresponding simulated material, wherein a first area of the simulated three-dimensional object is displayed as having an appearance with a portion of the corresponding simulated material removed from a surface of the simulated three-dimensional object; and a first user interface element, the first user interface element including the first area of the simulated three-dimensional object. The method includes: detecting a first input directed to the first user interface element; and in response to detecting the first input directed to the first user interface element: performing a corresponding operation associated with the first user interface element in the user interface.
[0012] In some embodiments, a method is performed at a computer system having a display generation component and one or more input devices. The method includes displaying a user interface via the display generation component, the user interface including a view of a three-dimensional environment and user interface elements associated with corresponding surfaces in the three-dimensional environment. A first group of one or more portions of the user interface element is associated with a first layer of the user interface element; a second group of one or more portions of the user interface element is associated with a second layer of the user interface element; and the user interface element is displayed as having an appearance indicating a first degree of separation between the first layer and the second layer. The method includes: detecting a first input corresponding to a user focusing attention on the user interface element; and in response to detecting the first input corresponding to a user focusing attention on the user interface element: changing the appearance of the user interface element to indicate a second degree of separation between the first layer and the second layer. The second degree is different from the first degree.
[0013] In some embodiments, a method is performed at a computer system in communication with a display generation component and one or more input devices. The method includes displaying a user interface object via the display generation component while a first view of a three-dimensional environment is visible. The user interface object includes a first selectable object that can be activated to perform a corresponding operation in the three-dimensional environment. The method includes detecting a first input corresponding to the first selectable object. The method also includes: in response to detecting the first input corresponding to the first selectable object, and based on determining that the first input indicates that a user is ready to interact with the first selectable object, changing the thickness of the first selectable object.
[0014] In some embodiments, a method is performed at a computer system having a display generation component and one or more input devices. The method includes displaying a computer-generated user interface object overlaid on a first portion of a view of a three-dimensional environment via the display generation component. The appearance of the computer-generated user interface object is based on a blurred representation of the first portion of the view of the three-dimensional environment covered by the computer-generated user interface object. The method includes visually distinguishing a first area of the computer-generated user interface object from a second area of the computer-generated user interface object by: applying a first transformation without applying a second transformation to a first subset of the blurred representation of the first portion of the view of the three-dimensional environment covered by the computer-generated user interface object, the first subset corresponding to the first area of the computer-generated user interface object; and applying a second transformation without applying the first transformation to a second subset of the blurred representation of the first portion of the view of the three-dimensional environment covered by the computer-generated user interface object, the second subset corresponding to the second area of the computer-generated user interface object. The second subset of the blurred representation of the first portion of the view of the three-dimensional environment is different from the first subset of the blurred representation of the first portion of the view of the three-dimensional environment. The method includes: updating the appearance of a computer-generated user interface object based on a blurred representation of the changed first portion of the view of the three-dimensional environment as the appearance of the first portion of the view of the three-dimensional environment changes, including: applying a first transformation without applying a second transformation to a first subset of the blurred representation of the changed first portion of the view of the three-dimensional environment covered by the computer-generated user interface object, the first subset corresponding to a first area of the computer-generated user interface object; and applying a second transformation without applying the first transformation to a second subset of the blurred representation of the changed first portion of the view of the three-dimensional environment covered by the computer-generated user interface object, the second subset corresponding to a second area of the computer-generated user interface object. The second subset of the blurred representation of the changed first portion of the view of the three-dimensional environment is different from the first subset of the blurred representation of the changed first portion of the view of the three-dimensional environment.
[0015] According to some embodiments, the computer system includes or communicates with the following: a display generation component (e.g., a hardware element, including one or more display devices, such as a display, a projector, a head-up display, a head-mounted display, a touch screen, etc.), one or more input devices (e.g., one or more cameras, a touch-sensitive surface, one or more optional sensors for detecting the intensity of contact with the touch-sensitive surface), one or more optional audio output components, one or more optional tactile output generators, one or more processors, and a memory storing one or more programs; the one or more programs are configured to be executed by the one or more processors, and the one or more programs include instructions for performing or causing the execution of the operations of any of the methods described herein. According to some embodiments, a non-transitory computer-readable storage medium has instructions stored therein, which, when executed by a computer system having a display generation component, one or more input devices (e.g., one or more cameras, a touch-sensitive surface, one or more optional sensors for detecting the intensity of contact with the touch-sensitive surface), one or more optional audio output components, and one or more optional tactile output generators, causes the device to perform any of the methods described herein or causes the operations of any of the methods described herein to be performed. According to some embodiments, a graphical user interface on a computer system having a display generation component, one or more input devices (e.g., one or more cameras, a touch-sensitive surface, optional one or more sensors for detecting the intensity of contact with the touch-sensitive surface), optional one or more audio output components, optional one or more tactile output generators, memory, and one or more processors for executing one or more programs stored in the memory includes one or more of the elements displayed in any of the methods described herein, and the one or more elements are updated in response to the input, as described in any of the methods described herein. According to some embodiments, the computer system includes: a display generation component, one or more input devices (e.g., one or more cameras, a touch-sensitive surface, optional one or more sensors for detecting the intensity of contact with the touch-sensitive surface), optional one or more audio output components, and optional one or more tactile output generators; and a component for performing or causing the operation of any of the methods described herein to be performed. According to some embodiments, an information processing device for a computer system having a display generating component, one or more input devices (e.g., one or more cameras, a touch-sensitive surface, optionally one or more sensors for detecting intensity of contact with the touch-sensitive surface), optionally one or more audio output components, and optionally one or more tactile output generators includes components for performing the operations of any of the methods described herein or causing the operations of any of the methods described herein to be performed.
[0016] Thus, improved methods and interfaces are provided for computer systems having display generation components for interacting with a three-dimensional environment and facilitating user use of the computer system while interacting with the three-dimensional environment, thereby improving the effectiveness, efficiency, and user safety and satisfaction of such computer systems. Such methods and interfaces may supplement or replace conventional methods for interacting with a three-dimensional environment and facilitating user use of a computer system while interacting with the three-dimensional environment.
[0017] It should be noted that the various embodiments described above can be combined with any other embodiments described herein. The features and advantages described in this specification are not comprehensive, and in particular, many additional features and advantages will be apparent to those of ordinary skill in the art based on the drawings, the specification, and the claims. In addition, it should be noted that the language used in this specification is selected in principle for readability and instructional purposes, and may not be selected to describe or define the subject matter of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] For a better understanding of the various described embodiments, reference should be made to the following detailed description taken in conjunction with the following drawings, wherein like reference numerals designate corresponding parts throughout the several views.
[0019] Figure 1 is a block diagram illustrating an operating environment of a computer system for providing an extended reality (XR) experience according to some embodiments.
[0020] Figure 2 is a block diagram illustrating a controller of a computer system configured to manage and coordinate a user's XR experience according to some embodiments.
[0021] Figure 3 is a block diagram illustrating display generation components of a computer system configured to provide a visual component of an XR experience to a user according to some embodiments.
[0022] Figure 4 is a block diagram illustrating a hand tracking unit of a computer system configured to capture gesture input from a user according to some embodiments.
[0023] Figure 5 is a block diagram illustrating an eye tracking unit of a computer system configured to capture gaze input of a user according to some embodiments.
[0024] Figure 6 is a flow chart illustrating a flash-assisted gaze tracking pipeline according to some embodiments.
[0025] FIG. 7A to FIG. 7GDisplaying a user interface element over a view of a physical environment is shown according to some embodiments, wherein the user interface element has an appearance based on a graphical composition of content in the physical environment behind the user interface element at multiple different points in time.
[0026] FIG. 7H to FIG. 7J Displaying a user interface element over a view of a three-dimensional environment is shown according to some embodiments, wherein the user interface element has the appearance of a color gradient generated based on one or more colors sampled from multiple points in the three-dimensional environment.
[0027] Figures 7K to 7O A display according to some embodiments is shown having a user interface element having the appearance of a simulated material with simulated thickness and curvature along an edge of the user interface element, wherein the edge of the user interface element has simulated optical properties that interact with light in a three-dimensional environment.
[0028] Figure 7P Shown is separation of layers of user interface elements to varying degrees in response to different user interactions including a user focusing attention on a user interface element according to some embodiments.
[0029] Figure 7Q to Figure 7W Changing the appearance of a selectable user interface object in response to input corresponding to the selectable user interface object and indicating preparation for interaction with the selectable user interface object is shown according to some embodiments.
[0030] Figure 7X to Figure 7Z Shown is a method of visually distinguishing different portions of a computer-generated user interface object by applying different transformations to a representation of underlying content according to some embodiments, where the appearance of the user interface object is based on content in a surrounding three-dimensional environment behind the user interface object.
[0031] Figure 8 is a flowchart of a method for displaying a user interface element over a view of a physical environment according to some embodiments, wherein the user interface element has an appearance based on a graphical composition of content in the physical environment behind the user interface element at multiple different points in time.
[0032] Fig. 9 is a flowchart of a method for displaying a user interface element on a view of a three-dimensional environment according to some embodiments, wherein the user interface element has the appearance of a color gradient generated based on one or more colors sampled from multiple points in the three-dimensional environment.
[0033] Fig.10is a flowchart of a method for displaying a user interface element having the appearance of a simulated material having simulated thickness and curvature along an edge of the user interface element, according to some embodiments, wherein the edge of the user interface element has simulated optical properties that interact with light in a three-dimensional environment.
[0034] Fig.11 is a flowchart of a method for displaying a user interface element having the appearance of a simulated material having simulated thickness and curvature along an edge of the user interface element, according to some embodiments, wherein the edge of the user interface element has simulated optical properties that interact with light in a three-dimensional environment.
[0035] Fig.12 is a flowchart of a method for separating layers of user interface elements to different degrees in response to different user interactions including a user focusing attention on the user interface element according to some embodiments.
[0036] Fig.13 is a flowchart of a method for changing the appearance of a selectable user interface object in response to input corresponding to the selectable user interface object and indicating preparation for interaction with the selectable user interface object according to some embodiments.
[0037] Fig.14 is a flowchart of a method for visually distinguishing different portions of a computer-generated user interface object by applying different transformations to a representation of underlying content, according to some embodiments, wherein the appearance of the user interface object is based on content in a surrounding three-dimensional environment behind the user interface object. DETAILED DESCRIPTION
[0038] According to some embodiments, the present disclosure relates to a user interface for providing a computer-generated extended reality (XR) experience to a user.
[0039] The systems, methods, and GUIs described herein improve user interface interactions with virtual / augmented reality environments in a number of ways.
[0040] In some embodiments, a computer system simultaneously displays a view of a physical environment and a computer-generated user interface element (e.g., an application user interface, a view of a file or document, or a communication session) overlaid on at least a portion of the view of the physical environment. In some embodiments, the appearance of the computer-generated user interface element is based on the appearance of one or more portions of the view of the physical environment overlaid by the computer-generated user interface element. In some embodiments, the appearance of the computer-generated user interface element is based on a graphical composition of the appearance of one or more portions of the physical environment at different times. In some embodiments, in response to a change in the appearance of the portion of the physical environment overlaid by the computer-generated user interface element, the appearance of the computer-generated user interface element is updated at a first time based on a graphical composition of the appearance of one or more portions of the physical environment at different times prior to the first time, the appearance of the one or more portions of the physical environment at different times prior to the first time including the appearance of the first portion of the physical environment at a second time prior to the first time; and the appearance of the second portion of the physical environment at a third time prior to the second time.
[0041] In some embodiments, a computer system simultaneously displays a view of a physical environment and a computer-generated user interface element (e.g., an application user interface, a view of a file or document, or a communication session) overlaid on at least a portion of the view of the physical environment. In some embodiments, the appearance of the computer-generated user interface element is based on a corresponding gradient between a first set of representative colors sampled from one or more portions of the view of the physical environment covered by the computer-generated user interface element. In some embodiments, the first set of representative colors includes at least two colors sampled from different portions of the view of the physical environment in a first time period, the different portions being behind different portions of the computer-generated user interface element. In some embodiments, in response to a change in the appearance of the portion of the physical environment covered by the computer-generated user interface element, the computer system updates the appearance of the computer-generated user interface element based on a corresponding gradient between a second set of representative colors sampled from one or more portions of the view of the physical environment covered by the computer-generated user interface element. In some embodiments, the second set of representative colors includes at least two colors sampled from different portions of the view of the physical environment in a second time period different from the first time period, the different portions being behind different portions of the computer-generated user interface element.
[0042] In some embodiments, a computer system displays a first user interface object in a first view of a three-dimensional environment, and displays background content behind the first user interface object in the three-dimensional environment. In some embodiments, the first user interface object includes a rear portion having an appearance selected based on the appearance of background content located behind a first portion of the first user interface object in the three-dimensional environment, and content displayed as embedded in the first user interface object between the rear portion of the first user interface object and the front portion of the first user interface object. In some embodiments, in response to a request to move content, the computer system moves the content within the first user interface object while the content remains between the front and rear portions of the first user interface object, and displays a visual effect applied to the content based on a simulated thickness of the first user interface object to simulate the appearance of the content reflecting, refracting, or wrapping or otherwise bending around the edges of the simulated thickness of the first user interface object.
[0043] In some embodiments, the computer system simultaneously displays a user interface including a view of a three-dimensional environment and a simulated three-dimensional object in the three-dimensional environment, and the simulated three-dimensional object is displayed as having an appearance corresponding to a corresponding simulated material. The first area of the simulated three-dimensional object is displayed as a recessed area and is associated with a first user interface element. In some embodiments, the computer system detects a first input pointing to the first user interface element, and in response to detecting the first input pointing to the first user interface element, performs a corresponding operation associated with the first user interface element in the user interface. In some embodiments, the edge of the simulated three-dimensional object is displayed as having a visual effect of light from the three-dimensional environment being reflected from the edge by specular reflection simulation. In some embodiments, the specular reflection is based on one or more simulated light sources and / or one or more physical light sources in a physical environment corresponding to the displayed three-dimensional environment. In some embodiments, when the simulated three-dimensional object moves in the three-dimensional environment, when the user's viewpoint relative to the simulated three-dimensional object changes, and / or when the lighting in the three-dimensional environment changes, the appearance of the specular reflection changes accordingly.
[0044] In some embodiments, a computer system displays a user interface including a view of a three-dimensional environment and controls associated with corresponding surfaces in the three-dimensional environment. In some embodiments, a first group of graphical elements as part of a control is associated with a first layer of user interface elements; a second group of graphical elements as part of a control is associated with a second layer of user interface elements. In some embodiments, the control is displayed as having an appearance indicating a corresponding degree of separation between the first layer and the second layer (e.g., and optionally one or more other layers of the control). In some embodiments, in response to detecting a first input corresponding to a user focusing attention on a user interface element, the computer system changes the appearance of the user interface element to indicate a different degree of separation between the first layer and the second layer (e.g., and optionally one or more other layers of the control). In some embodiments, the degree of separation between the layers of the control depends on the type and degree of interaction of the user with the control. In some embodiments, the degree of separation between the layers of the control changes in response to a user interaction that performs a predefined gesture, and the change in the degree of separation is reversed in response to a user interaction that reverses a predefined gesture. In some embodiments, one or more graphical elements of the control are animated in response to user interaction.
[0045] In some embodiments, as part of a user interface object in a visible three-dimensional environment, a computer system displays a selectable object that can be activated to perform an operation in the three-dimensional environment. In some embodiments, in response to a user input indicating that the user is ready to interact with the selectable object, the computer system changes (e.g., increases) the thickness of the selectable object while optionally changing one or more additional visual attributes of the selectable object and / or keeping one or more visual attributes of the selectable object unchanged. Changing the thickness of the selectable object in response to input indicating the user's intent to interact with the selectable object helps the user understand which part of the current environment has focus for further interaction.
[0046] In some embodiments, a computer system displays a computer-generated user interface object overlaid on a portion of a view of a three-dimensional environment, and the appearance of the computer-generated user interface object is based on a fuzzy representation of an underlying portion of the view of the three-dimensional environment. In some embodiments, the computer system visually distinguishes a first area of the computer-generated user interface object from a second area of the computer-generated user interface object by applying different (e.g., mutually exclusive) transformations to different (e.g., mutually exclusive) areas of the fuzzy representation. In some embodiments, the computer system updates the appearance of the computer-generated user interface object when the appearance of the underlying portion of the view of the three-dimensional environment changes, including by applying different transformations to different areas of the fuzzy representation of the changed underlying portion of the view, respectively. Applying different transformations to different areas of the computer-generated object visually distinguishes some areas from other areas to indicate and / or emphasize certain attributes of these areas, such as whether the area is interactive and / or whether the area conveys semantic meaning (e.g., through icons and / or text), and in some cases improves the readability of these areas.
[0047] Figures 1 to 6 A description of an exemplary computer system for providing an XR experience to a user is provided. Figures 7A to 7Z The user interface in Figures 8 to 14 process.
[0048] The processes described below enhance the operability of the device and make the user-device interface more efficient (e.g., by helping the user provide appropriate input and reducing user errors when operating / interacting with the device) through various techniques, including by providing improved visual, audio, and / or tactile feedback to the user, improving user safety and reducing motion sickness typically associated with XR experiences, reducing the number of inputs required to perform an operation, providing additional control options without cluttering the user interface with additional display controls, performing an operation without further user input when a set of conditions have been met, reducing the computational burden associated with displaying the user interface, improving privacy and / or security, providing a more diverse, detailed, and / or realistic user experience while saving storage space, and / or additional techniques. These techniques also reduce power usage and extend the battery life of the device by enabling the user to use the device faster and more efficiently. Saving battery power, and therefore weight, improves the ergonomics of the device. These techniques also enable real-time communication, allow the use of fewer and / or less precise sensors, resulting in a more compact, lighter, and cheaper device, and enable the device to be used in a variety of lighting conditions. These technologies reduce energy usage and thus reduce the amount of heat given off by the device, which is particularly important for wearable devices because if the device components are operating within the exact parameters of the device's operation, it will become uncomfortable for the user if too much heat is generated.
[0049] In addition, in the method described herein where one or more steps depend on one or more conditions being met, it should be understood that the method can be repeated in multiple repetitions so that in the process of repetition, all conditions for determining the steps in the method have been met in different repetitions of the method. For example, if the method needs to perform the first step (if the condition is met), and perform the second step (if the condition is not met), then the ordinary technician will know that the steps stated are repeated until both the condition is met and the condition is not met (in no particular order). Therefore, the method described as having one or more steps depending on one or more conditions being met can be rewritten as a method of repeating until each condition described in the method is met. However, this does not require the system or computer-readable medium to declare that the system or computer-readable medium contains instructions for performing a contingent operation based on the satisfaction of the corresponding one or more conditions, and is therefore able to determine whether the possible situation has been met without explicitly repeating the steps of the method until all conditions for determining the steps in the method have been met. It will also be understood by ordinary technicians in the art that, similar to the method with the contingent step, the system or computer-readable storage medium can repeat the steps of the method as many times as needed to ensure that all the contingent steps have been performed.
[0050] In some embodiments, such as Figure 1As shown in , an XR experience is provided to a user via an operating environment 100 including a computer system 101. The computer system 101 includes a controller 110 (e.g., a processor of a portable electronic device or a remote server), a display generation component 120 (e.g., a head mounted device (HMD), a display, a projector, a touch screen, etc.), one or more input devices 125 (e.g., an eye tracking device 130, a hand tracking device 140, other input devices 150), one or more output devices 155 (e.g., a speaker 160, a tactile output generator 170, and other output devices 180), one or more sensors 190 (e.g., an image sensor, a light sensor, a depth sensor, a tactile sensor, an orientation sensor, a proximity sensor, a temperature sensor, a position sensor, a motion sensor, a speed sensor, etc.), and optionally one or more peripheral devices 195 (e.g., a household appliance, a wearable device, etc.). In some embodiments, one or more of the input device 125, the output device 155, the sensor 190, and the peripheral device 195 are integrated with the display generation component 120 (e.g., in a head mounted device or a handheld device).
[0051] In describing an XR experience, various terms are used to distinguishably refer to several related but distinct environments that a user can sense and / or with which the user can interact (e.g., using inputs detected by the computer system 101 generating the XR experience, which inputs cause the computer system generating the XR experience to generate audio, visual, and / or tactile feedback corresponding to the various inputs provided to the computer system 101). The following is a subset of these terms:
[0052] Physical environment: The physical environment refers to the physical world that people can sense and / or interact with without the help of electronic systems. A physical environment, such as a physical park, includes physical objects, such as physical trees, physical buildings, and physical people. People can directly sense and / or interact with the physical environment, such as through vision, touch, hearing, taste, and smell.
[0053] Extended Reality: In contrast, an extended reality (XR) environment refers to a fully or partially simulated environment that people perceive and / or interact with via an electronic system. In XR, a subset of a person's physical movements or a representation thereof is tracked, and in response, one or more features of one or more virtual objects simulated in the XR environment are adjusted in a manner that complies with at least one physical law. For example, an XR system may detect a person's head turn, and in response, adjust the graphical content and sound field presented to the person in a manner similar to the way such views and sounds change in a physical environment. In some cases (e.g., for accessibility reasons), adjustments to the features of virtual objects in the XR environment may be made in response to a representation of physical movement (e.g., a voice command). People can sense and / or interact with XR objects using any of their senses, including vision, hearing, touch, taste, and smell. For example, people can sense and / or interact with audio objects, which create a 3D or spatial audio environment that provides the perception of a point audio source in 3D space. As another example, an audio object can enable audio transparency that selectively introduces ambient sounds from the physical environment with or without computer-generated audio. In some XR environments, a person can sense and / or interact only with an audio object.
[0054] Examples of XR include virtual reality and mixed reality.
[0055] Virtual Reality: A virtual reality (VR) environment refers to a simulated environment designed to be based entirely on computer-generated sensory input to one or more senses. A VR environment includes a plurality of virtual objects that a person can sense and / or interact with. For example, trees, buildings, and computer-generated images representing avatars of people are examples of virtual objects. A person can sense and / or interact with virtual objects in a VR environment through a simulation of the person's presence within the computer-generated environment and / or through a simulation of a subset of the person's physical movement within the computer-generated environment.
[0056] Mixed Reality: In contrast to VR environments, which are designed to be based entirely on computer-generated sensory input, a mixed reality (MR) environment refers to a simulated environment that is designed to include sensory input from the physical environment, or representations thereof, in addition to computer-generated sensory input (e.g., virtual objects). On the virtuality continuum, a mixed reality environment is anything between, but not including, a fully physical environment at one end and a virtual reality environment at the other end. In some MR environments, computer-generated sensory input can respond to changes in sensory input from the physical environment. In addition, some electronic systems used to render MR environments can track position and / or orientation relative to the physical environment to enable virtual objects to interact with real objects (i.e., physical items from the physical environment, or representations thereof). For example, the system can cause motion so that virtual trees appear stationary relative to the physical ground.
[0057] Examples of mixed reality include augmented reality and augmented virtuality.
[0058] Augmented reality: An augmented reality (AR) environment refers to a simulated environment in which one or more virtual objects are superimposed on a physical environment or a representation of a physical environment. For example, an electronic system for presenting an AR environment may have a transparent or translucent display through which a person can directly view the physical environment. The system may be configured to present virtual objects on a transparent or translucent display so that a person uses the system to perceive virtual objects superimposed on the physical environment. Alternatively, the system may have an opaque display and one or more imaging sensors that capture images or videos of the physical environment, which are representations of the physical environment. The system combines the image or video with the virtual object and presents the composition on an opaque display. A person uses the system to indirectly view the physical environment via an image or video of the physical environment and perceives virtual objects superimposed on the physical environment. As used herein, a video of a physical environment displayed on an opaque display is referred to as a "transparent video," meaning that the system uses one or more image sensors to capture images of the physical environment and uses those images when presenting the AR environment on an opaque display. Further alternatively, the system may have a projection system that projects virtual objects into a physical environment, such as as a hologram or on a physical surface, so that a person using the system perceives virtual objects superimposed on the physical environment. An augmented reality environment also refers to a simulated environment in which a representation of a physical environment is transformed by computer-generated sensory information. For example, in providing a pass-through video, the system may transform one or more sensor images to apply a selected perspective (e.g., a viewpoint) that is different from the perspective captured by the imaging sensor. For another example, the representation of the physical environment may be transformed by graphically modifying (e.g., enlarging) a portion thereof so that the modified portion may be a representative but not real version of the original captured image. For another example, the representation of the physical environment may be transformed by graphically eliminating a portion thereof or blurring a portion thereof.
[0059] Augmented Virtual: An augmented virtual (AV) environment refers to a simulated environment in which a virtual environment or a computer-generated environment incorporates one or more sensory inputs from the physical environment. The sensory input may be a representation of one or more characteristics of the physical environment. For example, an AV park may have virtual trees and virtual buildings, but the faces of people are realistically reproduced from images taken of physical people. For another example, a virtual object may take the shape or color of a physical object imaged by one or more imaging sensors. For another example, a virtual object may take a shadow that conforms to the positioning of the sun in the physical environment.
[0060] Viewpoint-locked virtual objects: When a computer system displays a virtual object at the same position and / or location in a user's viewpoint, the virtual object is viewpoint-locked even if the user's viewpoint shifts (e.g., changes). In embodiments where the computer system is a head-mounted device, the user's viewpoint is locked to the forward direction of the user's head (e.g., when the user is looking straight ahead, the user's viewpoint is at least a portion of the user's field of view); thus, without moving the user's head, the user's viewpoint remains fixed even when the user's gaze shifts. In embodiments where the computer system has a display generation component (e.g., a display screen) that is repositionable relative to the user's head, the user's viewpoint is an augmented reality view presented to the user on the display generation component of the computer system. For example, a viewpoint-locked virtual object that is displayed in the upper left corner of the user's viewpoint when the user's viewpoint is in a first orientation (e.g., the user's head is facing north) continues to be displayed in the upper left corner of the user's viewpoint even when the user's viewpoint changes to a second orientation (e.g., the user's head is facing west). In other words, the position and / or location of the viewpoint-locked virtual object displayed in the user's viewpoint is independent of the user's position and / or orientation in the physical environment. In embodiments where the computer system is a head-mounted device, the user's viewpoint is locked to the orientation of the user's head, such that the virtual object is also referred to as a "head-locked virtual object."
[0061] Environment-locked visual objects: A virtual object is environment-locked (alternatively, "world-locked") when a computer system displays a virtual object at a position and / or location in a user's viewpoint that is based on (e.g., selected with reference to and / or anchored to) a location and / or object in a three-dimensional environment (e.g., a physical environment or a virtual environment). As the user's viewpoint moves, the location and / or objects in the environment change relative to the user's viewpoint, which causes the environment-locked virtual object to be displayed at a different location and / or location in the user's viewpoint. For example, an environment-locked virtual object locked to a tree immediately in front of the user is displayed at the center of the user's viewpoint. When the user's viewpoint shifts to the right (e.g., the user's head turns to the right) such that the tree is now to the left of center in the user's viewpoint (e.g., the tree location in the user's viewpoint shifts), the environment-locked virtual object locked to the tree is displayed to the left of center in the user's viewpoint. In other words, the position and / or orientation of the virtual object that is locked to the environment in the user's viewpoint depends on the position and / or orientation of the object and / or the position to which the virtual object is locked in the environment. In some embodiments, the computer system uses a stationary reference system (e.g., a coordinate system anchored to a fixed position and / or object in the physical environment) to determine the positioning of the virtual object that is locked to the user's viewpoint. The virtual object that is locked to the environment can be locked to a stationary part of the environment (e.g., a floor, wall, table, or other stationary object), or can be locked to a movable part of the environment (e.g., a vehicle, animal, person, or even a representation of a part of the user's body that moves independently of the user's viewpoint, such as a hand, wrist, arm, or foot of the user) so that the virtual object moves as the viewpoint or the part of the environment moves to maintain a fixed relationship between the virtual object and the part of the environment.
[0062] In some embodiments, an environment-locked or viewpoint-locked virtual object exhibits an inertial following behavior that reduces or delays the movement of the environment-locked or viewpoint-locked virtual object relative to the movement of the reference point followed by the virtual object. In some embodiments, when exhibiting inertial following behavior, when detecting the movement of a reference point (e.g., a portion of the environment, a viewpoint, or a point fixed relative to the viewpoint, such as a point between 5 cm and 300 cm from the viewpoint) that the virtual object is following, the computer system intentionally delays the movement of the virtual object. For example, when the reference point (e.g., the portion of the environment or the viewpoint) moves at a first speed, the virtual object is moved by the device to remain locked to the reference point, but moves at a second speed that is slower than the first speed (e.g., until the reference point stops moving or slows down, at which point the virtual object begins to catch up with the reference point). In some embodiments, when the virtual object exhibits inertial following behavior, the device ignores small amounts of movement of the reference point (e.g., ignoring movements of the reference point below a threshold movement amount, such as moving 0 to 5 degrees or moving 0 to 50 cm). For example, when a reference point (e.g., the portion of the environment or viewpoint to which the virtual object is locked) moves a first amount, the distance between the reference point and the virtual object increases (e.g., because the virtual object is being displayed so as to maintain a fixed or substantially fixed position relative to a viewpoint or portion of the environment that is different from the reference point to which the virtual object is locked), and when the reference point (e.g., the portion of the environment or viewpoint to which the virtual object is locked) moves a second amount greater than the first amount, the distance between the reference point and the virtual object initially increases (e.g., because the virtual object is being displayed so as to maintain a fixed or substantially fixed position relative to a viewpoint or portion of the environment that is different from the reference point to which the virtual object is locked), and then decreases as the amount of movement of the reference point increases above a threshold (e.g., a “lazy follow” threshold) because the virtual object is moved by the computer system to maintain a fixed or substantially fixed position relative to the reference point. In some embodiments, maintaining a substantially fixed position of the virtual object relative to the reference point includes displaying the virtual object within a threshold distance (e.g., 1 cm, 2 cm, 3 cm, 5 cm, 15 cm, 20 cm, 50 cm) of the reference point in one or more dimensions (e.g., up / down, left / right, and / or forward / backward relative to the position of the reference point).
[0063] Hardware: There are many different types of electronic systems that enable a person to sense various XR environments and / or interact with various CGR environments. Examples include head-mounted systems, projection-based systems, heads-up displays (HUDs), vehicle windshields with integrated display capabilities, windows with integrated display capabilities, displays formed as lenses designed to be placed on a person's eyes (e.g., similar to contact lenses), headphones / earpieces, speaker arrays, input systems (e.g., wearable or handheld controllers with or without tactile feedback), smartphones, tablets, and desktop / laptop computers. A head-mounted system can have one or more speakers and an integrated opaque display. Alternatively, a head-mounted system can be configured to accept an external opaque display (e.g., a smartphone). A head-mounted system can incorporate one or more imaging sensors for capturing images or video of the physical environment and / or one or more microphones for capturing audio of the physical environment. Instead of an opaque display, a head-mounted system can have a transparent or translucent display. A transparent or translucent display can have a medium through which light representing the image is directed to a person's eyes. The display can utilize digital light projection, OLED, LED, uLED, liquid crystal on silicon, laser scanning light source, or any combination of these technologies. The medium can be an optical waveguide, a hologram medium, an optical combiner, an optical reflector, or any combination thereof. In one embodiment, a transparent or translucent display can be configured to become selectively opaque. The projection-based system can employ retinal projection technology that projects graphic images onto a person's retina. The projection system can also be configured to project virtual objects into a physical environment, such as as a hologram or on a physical surface. In some embodiments, the controller 110 is configured to manage and coordinate the user's XR experience. In some embodiments, the controller 110 includes a suitable combination of software, firmware, and / or hardware. Reference is made below to Figure 2The controller 110 is described in more detail. In some embodiments, the controller 110 is a computing device that is located locally or remotely relative to the scene 105 (e.g., the physical environment). For example, the controller 110 is a local server located within the scene 105. As another example, the controller 110 is a remote server (e.g., a cloud server, a central server, etc.) located outside the scene 105. In some embodiments, the controller 110 is communicatively coupled to the display generation component 120 (e.g., HMD, display, projector, touch screen, etc.) via one or more wired or wireless communication channels 144 (e.g., Bluetooth, IEEE 802.11x, IEEE802.16x, IEEE 802.3x, etc.). In another example, the controller 110 is included within a housing (e.g., a physical housing) of the display generating component 120 (e.g., an HMD or a portable electronic device including a display and one or more processors, etc.), one or more input devices of the input devices 125, one or more output devices of the output devices 155, one or more sensors of the sensors 190, and / or one or more peripheral devices of the peripheral devices 195, or shares the same physical housing or support structure with one or more of the above devices.
[0064] In some embodiments, the display generation component 120 is configured to provide an XR experience (e.g., at least the visual component of the XR experience) to the user. In some embodiments, the display generation component 120 includes a suitable combination of software, firmware, and / or hardware. Figure 3 Display generation component 120 is described in further detail. In some embodiments, the functionality of controller 110 is provided by and / or combined with display generation component 120.
[0065] According to some embodiments, display generation component 120 provides an XR experience to the user when the user is virtually and / or physically present within scene 105.
[0066] In some embodiments, the display generation component is worn on a part of the user's body (e.g., on his / her head, on his / her hand, etc.). In this way, the display generation component 120 includes one or more XR displays provided for displaying XR content. For example, in various embodiments, the display generation component 120 surrounds the user's field of view. In some embodiments, the display generation component 120 is a handheld device (such as a smart phone or tablet) configured to present XR content, and the user holds a device with a display facing the user's field of view and a camera facing the scene 105. In some embodiments, the handheld device is optionally placed in a housing worn on the user's head. In some embodiments, the handheld device is optionally placed on a support (e.g., a tripod) in front of the user. In some embodiments, the display generation component 120 is an XR room, housing, or room configured to present XR content, wherein the user does not wear or hold the display generation component 120. Many user interfaces described with reference to one type of hardware for displaying XR content (e.g., a handheld device or a device on a tripod) may be implemented on another type of hardware for displaying XR content (e.g., an HMD or other wearable computing device). For example, a user interface showing interactions with XR content triggered based on interactions occurring in the space in front of a handheld device or a tripod-mounted device may similarly be implemented with an HMD, where the interactions occur in the space in front of the HMD and responses to the XR content are displayed via the HMD. Similarly, a user interface showing interactions with XR content triggered based on movement of a handheld device or a tripod-mounted device relative to a physical environment (e.g., scene 105 or a part of a user's body (e.g., the user's eyes, head, or hands)) may similarly be implemented with an HMD, where the movement is caused by movement of the HMD relative to the physical environment (e.g., scene 105 or a part of a user's body (e.g., the user's eyes, head, or hands)).
[0067] Despite Figure 1 Relevant features of operating environment 100 are shown, but those skilled in the art will recognize from this disclosure that various other features are not shown for the sake of brevity and so as not to obscure more relevant aspects of the exemplary embodiments disclosed herein.
[0068] Figure 2is a block diagram of an example of a controller 110 according to some embodiments. While some specific features are shown, those skilled in the art will recognize from this disclosure that various other features are not shown for the sake of brevity and so as not to obscure more relevant aspects of the embodiments disclosed herein. To this end, as a non-limiting example, in some embodiments, the controller 110 includes one or more processing units 202 (e.g., a microprocessor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a graphics processing unit (GPU), a central processing unit (CPU), a processing core, etc.), one or more input / output (I / O) devices 206, one or more communication interfaces 208 (e.g., a universal serial bus (USB), IEEE802.3x, IEEE 802.11x, IEEE 802.16x, Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Global Positioning System (GPS), infrared (IR), Bluetooth, ZIGBEE and / or similar types of interfaces), one or more programming (e.g., I / O) interfaces 210, a memory 220, and one or more communication buses 204 for interconnecting these components and various other components.
[0069] In some embodiments, the one or more communication buses 204 include circuits that interconnect and control communications between system components. In some embodiments, the one or more I / O devices 206 include at least one of a keyboard, a mouse, a touch pad, a joystick, one or more microphones, one or more speakers, one or more image sensors, one or more displays, and the like.
[0070] The memory 220 includes a high-speed random access memory, such as a dynamic random access memory (DRAM), a static random access memory (SRAM), a double data rate random access memory (DDR RAM), or other random access solid-state memory devices. In some embodiments, the memory 220 includes a non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 220 optionally includes one or more storage devices located away from the one or more processing units 202. The memory 220 includes a non-transitory computer-readable storage medium. In some embodiments, the memory 220 or the non-transitory computer-readable storage medium of the memory 220 stores the following programs, modules, and data structures or subsets thereof, including an optional operating system 230 and an XR experience module 240.
[0071] The operating system 230 includes instructions for handling various basic system services and for performing hardware-related tasks. In some embodiments, the XR experience module 240 is configured to manage and coordinate single or multiple XR experiences of one or more users (e.g., a single XR experience of one or more users, or multiple XR experiences of corresponding groups of one or more users). To this end, in various embodiments, the XR experience module 240 includes a data acquisition unit 242, a tracking unit 244, a coordination unit 246, and a data transmission unit 248.
[0072] In some embodiments, the data acquisition unit 242 is configured to obtain Figure 1 120, and optionally acquires data (e.g., presentation data, interaction data, sensor data, location data, etc.) from one or more of input device 125, output device 155, sensor 190, and / or peripheral device 195. For this purpose, in various embodiments, data acquisition unit 242 includes instructions and / or logic for instructions as well as heuristics and metadata for the heuristics.
[0073] In some embodiments, tracking unit 244 is configured to map scene 105 and track at least display generation component 120 relative to Figure 1 The tracking unit 244 may include instructions and / or logic for instructions and heuristics and metadata for the heuristics for the scene 105 of the user's scene 105, and optionally track the location of one or more of the input device 125, the output device 155, the sensor 190, and / or the peripheral device 195. For this purpose, in various embodiments, the tracking unit 244 includes instructions and / or logic for instructions and heuristics and metadata for the heuristics. In some embodiments, the tracking unit 244 includes a hand tracking unit 245 and / or an eye tracking unit 243. In some embodiments, the hand tracking unit 245 is configured to track the location / position of one or more parts of the user's hand, and / or the position of one or more parts of the user's hand relative to the scene 105. Figure 1 The movement of the scene 105 relative to the display generation component 120 and / or relative to a coordinate system (the coordinate system is defined relative to the user's hand). Figure 4 The hand tracking unit 245 is described in more detail. In some embodiments, the eye tracking unit 243 is configured to track the position or movement of the user's gaze (or more generally, the user's eyes, face, or head) relative to the scene 105 (e.g., relative to the physical environment and / or relative to the user (e.g., the user's hands)) or relative to the XR content displayed via the display generation component 120. Figure 5 The eye tracking unit 243 is described in more detail.
[0074] In some embodiments, coordination unit 246 is configured to manage and coordinate the XR experience presented to the user by display generation component 120, and optionally by one or more of output device 155 and / or peripherals 195. To this end, in various embodiments, coordination unit 246 includes instructions and / or logic for instructions and heuristics and metadata for the heuristics.
[0075] In some embodiments, data transfer unit 248 is configured to transfer data (e.g., presentation data, position data, etc.) to at least display generation component 120, and optionally to one or more of input device 125, output device 155, sensor 190, and / or peripheral device 195. To this end, in various embodiments, data transfer unit 248 includes instructions and / or logic for instructions as well as heuristics and metadata for the heuristics.
[0076] Although the data acquisition unit 242, the tracking unit 244 (e.g., including the eye tracking unit 243 and the hand tracking unit 245), the coordination unit 246, and the data transmission unit 248 are illustrated as residing on a single device (e.g., the controller 110), it should be understood that in other embodiments, any combination of the data acquisition unit 242, the tracking unit 244 (e.g., including the eye tracking unit 243 and the hand tracking unit 245), the coordination unit 246, and the data transmission unit 248 may be located in separate computing devices.
[0077] also, Figure 2 It serves more as a functional description of various features that may be present in a particular implementation, as opposed to a block diagram of the embodiments described herein. As one of ordinary skill in the art will recognize, items shown separately may be combined, and some items may be separated. For example, Figure 2 Some functional modules shown separately in the figure may be implemented in a single module, and the various functions of a single functional block may be implemented by one or more functional blocks in various embodiments. The actual number of modules and the division of specific functions and how the features are distributed among them will vary depending on the specific implementation, and in some embodiments, depends in part on the specific combination of hardware, software and / or firmware selected for a specific implementation.
[0078] Figure 31 is a block diagram of an example of a display generation component 120 according to some embodiments. Although some specific features are shown, those skilled in the art will recognize from this disclosure that various other features are not shown for the sake of brevity and so as not to obscure more relevant aspects of the embodiments disclosed herein. For this purpose, as a non-limiting example, in some embodiments, the display generation component 120 (e.g., an HMD) includes one or more processing units 302 (e.g., a microprocessor, an ASIC, an FPGA, a GPU, a CPU, a processing core, etc.), one or more input / output (I / O) devices and sensors 306, one or more communication interfaces 308 (e.g., USB, FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE802.11x, IEEE 802.16x, GSM, CDMA, TDMA, GPS, IR, BLUETOOTH, ZIGBEE and / or similar types of interfaces), one or more programming (e.g., I / O) interfaces 310, one or more XR displays 312, one or more optional internal-facing and / or external-facing image sensors 314, a memory 320, and one or more communication buses 304 for interconnecting these components and various other components.
[0079] In some embodiments, one or more communication buses 304 include circuits for interconnecting and controlling communications between various system components. In some embodiments, one or more I / O devices and sensors 306 include an inertial measurement unit (IMU), an accelerometer, a gyroscope, a thermometer, one or more physiological sensors (e.g., a blood pressure monitor, a heart rate monitor, a blood oxygen sensor, a blood glucose sensor, etc.), one or more microphones, one or more speakers, a haptic engine, and / or one or more depth sensors (e.g., structured light, time of flight, etc.), etc.
[0080] In some embodiments, one or more XR displays 312 are configured to provide an XR experience to the user. In some embodiments, one or more XR displays 312 correspond to holographic, digital light processing (DLP), liquid crystal display (LCD), liquid crystal on silicon (LCoS), organic light emitting field effect transistor (OLET), organic light emitting diode (OLED), surface conduction electron emission display (SED), field emission display (FED), quantum dot light emitting diode (QD-LED), microelectromechanical system (MEMS) and / or similar display types. In some embodiments, one or more XR displays 312 correspond to diffraction, reflection, polarization, holographic and other waveguide displays. For example, the display generation component 120 (e.g., HMD) includes a single XR display. As another example, the display generation component 120 includes an XR display for each eye of the user. In some embodiments, one or more XR displays 312 are capable of presenting MR and VR content. In some embodiments, one or more XR displays 312 are capable of presenting MR or VR content.
[0081] In some embodiments, the one or more image sensors 314 are configured to acquire image data corresponding to at least a portion of the user's face, including the user's eyes (and may be referred to as an eye tracking camera). In some embodiments, the one or more image sensors 314 are configured to acquire image data corresponding to the user's hands and, optionally, at least a portion of the user's arms (and may be referred to as a hand tracking camera). In some embodiments, the one or more image sensors 314 are configured to face forward so as to acquire image data corresponding to a scene that the user would see in the absence of the display generating component 120 (e.g., an HMD) (and may be referred to as a scene camera). The one or more optional image sensors 314 may include one or more RGB cameras (e.g., with a complementary metal oxide semiconductor (CMOS) image sensor or a charge coupled device (CCD) image sensor), one or more infrared (IR) cameras, and / or one or more event-based cameras, etc.
[0082] The memory 320 includes a high-speed random access memory, such as a DRAM, SRAM, DDR RAM, or other random access solid-state memory device. In some embodiments, the memory 320 includes a non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 320 optionally includes one or more storage devices located away from the one or more processing units 302. The memory 320 includes a non-transitory computer-readable storage medium. In some embodiments, the memory 320 or the non-transitory computer-readable storage medium of the memory 320 stores the following programs, modules, and data structures or a subset thereof, including an optional operating system 330 and an XR rendering module 340.
[0083] The operating system 330 includes processes for handling various basic system services and for performing hardware-related tasks. In some embodiments, the XR rendering module 340 is configured to present XR content to a user via one or more XR displays 312. For such purposes, in various embodiments, the XR rendering module 340 includes a data acquisition unit 342, an XR rendering unit 344, an XR map generation unit 346, and a data transfer unit 348.
[0084] In some embodiments, the data acquisition unit 342 is configured to at least Figure 1 The controller 110 acquires data (e.g., presentation data, interaction data, sensor data, location data, etc.). For the purposes described, in various embodiments, the data acquisition unit 342 includes instructions and / or logic for instructions and heuristics and metadata for the heuristics.
[0085] In some embodiments, the XR rendering unit 344 is configured to render XR content via one or more XR displays 312. For such purposes, in various embodiments, the XR rendering unit 344 includes instructions and / or logic for the instructions and heuristics and metadata for the heuristics.
[0086] In some embodiments, the XR map generation unit 346 is configured to generate an XR map (e.g., a 3D map of a mixed reality scene or a map of a physical environment in which a computer-generated object can be placed to generate an extended reality) based on the media content data. For this purpose, in various embodiments, the XR map generation unit 346 includes instructions and / or logic for the instructions and heuristics and metadata for the heuristics.
[0087] In some embodiments, the data transmission unit 348 is configured to transmit data (e.g., presentation data, position data, etc.) to at least the controller 110, and optionally one or more of the input device 125, the output device 155, the sensor 190, and / or the peripheral device 195. For such purposes, in various embodiments, the data transmission unit 348 includes instructions and / or logic for the instructions and heuristics and metadata for the heuristics.
[0088] Although the data acquisition unit 342, the XR rendering unit 344, the XR map generation unit 346, and the data transfer unit 348 are shown as residing on a single device (e.g., Figure 1 , but it should be understood that in other embodiments, any combination of the data acquisition unit 342, the XR rendering unit 344, the XR mapping generation unit 346, and the data transmission unit 348 may be located in a separate computing device.
[0089] also, Figure 3 More as a functional description of various features that may be present in a particular embodiment, rather than a schematic diagram of the structures of the embodiments described herein. As one of ordinary skill in the art will recognize, items shown separately may be combined, and some items may be separated. For example, Figure 3 Some functional modules shown separately in the figure may be implemented in a single module, and the various functions of a single functional block may be implemented by one or more functional blocks in various embodiments. The actual number of modules and the division of specific functions and how the features are distributed among them will vary depending on the specific implementation, and in some embodiments, depends in part on the specific combination of hardware, software and / or firmware selected for a specific implementation.
[0090] Figure 4 is a schematic illustration of an exemplary embodiment of the hand tracking device 140. In some embodiments, the hand tracking device 140 ( Figure 1 ) is controlled by the hand tracking unit 245 ( Figure 2 ) to track the position / location of one or more parts of a user's hand, and / or one or more parts of a user's hand relative to Figure 1The hand tracking device 140 can be used to monitor movement of the scene 105 (e.g., relative to a portion of the physical environment surrounding the user, relative to the display generation component 120, or relative to a portion of the user (e.g., the user's face, eyes, or head), and / or relative to a coordinate system (which is defined relative to the user's hands)). In some embodiments, the hand tracking device 140 is part of the display generation component 120 (e.g., embedded in or attached to the head-mounted device). In some embodiments, the hand tracking device 140 is separate from the display generation component 120 (e.g., located in a separate housing or attached to a separate physical support structure).
[0091] In some embodiments, the hand tracking device 140 includes an image sensor 404 (e.g., one or more IR cameras, 3D cameras, depth cameras, and / or color cameras, etc.) that captures three-dimensional scene information including at least a human user's hand 406. The image sensor 404 captures hand images with sufficient resolution so that fingers and their corresponding positions can be distinguished. The image sensor 404 typically captures images of other parts of the user's body, and also or possibly all parts of the body, and may have zoom capabilities or a dedicated sensor with increased magnification to capture images of the hand with a desired resolution. In some embodiments, the image sensor 404 also captures 2D color video images of the hand 406 and other elements of the scene. In some embodiments, the image sensor 404 is used in conjunction with other image sensors to capture the physical environment of the scene 105, or is used as an image sensor to capture the physical environment of the scene 105. In some embodiments, the image sensor is positioned relative to the user or the user's environment in a manner that the field of view of the image sensor 404 or a portion thereof is used to define an interaction space, in which the hand movements captured by the image sensor are considered as input to the controller 110.
[0092] In some embodiments, the image sensor 404 outputs a sequence of frames containing 3D mapping data (and in addition, possible color image data) to the controller 110, which extracts high-level information from the mapping data. This high-level information is typically provided to an application running on the controller via an application program interface (API), which drives the display generation component 120 accordingly. For example, a user can interact with the software running on the controller 110 by moving their hands 406 and / or changing their hand gestures.
[0093] In some embodiments, the image sensor 404 projects a speckled pattern onto a scene containing the hand 406 and captures an image of the projected pattern. In some embodiments, the controller 110 calculates the 3D coordinates of points in the scene (including points on the surface of the user's hand) by triangulation based on the lateral offset of the spots in the pattern. This method is advantageous because it does not require the user to hold or wear any kind of beacon, sensor, or other marker. The method gives the depth coordinates of points in the scene at a specific distance from the image sensor 404 relative to a predetermined reference plane. In the present disclosure, it is assumed that the image sensor 404 defines an orthogonal set of x-axis, y-axis, and z-axis, so that the depth coordinates of points in the scene correspond to the z component measured by the image sensor. Alternatively, the image sensor 404 (e.g., a hand tracking device) may use other 3D mapping methods based on a single or multiple cameras or other types of sensors, such as stereo imaging or time-of-flight measurement.
[0094] In some embodiments, the hand tracking device 140 captures and processes a time series of depth maps containing the user's hand as the user moves their hand (e.g., the entire hand or one or more fingers). Software running on the image sensor 404 and / or a processor in the controller 110 processes the 3D mapping data to extract image patch descriptors of the hand in these depth maps. The software can match these descriptors with image patch descriptors stored in the database 408 based on a previous learning process to estimate the pose of the hand in each frame. The pose typically includes the 3D positioning of the user's hand joints and finger tips.
[0095] The software can also analyze the trajectory of the hand and / or finger over multiple frames in the sequence to recognize gestures. The pose estimation function described herein can be alternated with the motion tracking function so that the image block-based pose estimation is performed only once every two (or more) frames, and the tracking is used to find the changes in pose that occur on the remaining frames. The pose, motion, and gesture information is provided to the application running on the controller 110 via the above-mentioned API. The program can, for example, move and modify the image presented on the display generation component 120 in response to the pose and / or gesture information, or perform other functions.
[0096] In some embodiments, gestures include air gestures. An air gesture is a gesture detected without the user touching an input element that is part of a device (e.g., computer system 101, one or more input devices 125, and / or hand tracking device 140) (or independent of an input element that is part of a device) and based on detected movement of a part of the user's body (e.g., head, one or more arms, one or more hands, one or more fingers, and / or one or more legs) through the air (including movement of the user's body relative to an absolute reference (e.g., the angle of the user's arm relative to the ground or the distance of the user's hand relative to the ground), movement relative to another part of the user's body (e.g., movement of the user's hand relative to the user's shoulder, movement of one of the user's hands relative to the user's other hand, and / or movement of a user's finger relative to another finger or part of the user's hand), and / or absolute movement of a part of the user's body (e.g., a tap gesture that includes a hand moving a predetermined amount and / or speed in a predetermined posture, or a shake gesture that includes a predetermined speed or amount of rotation of a part of the user's body)).
[0097] In some embodiments, according to some embodiments, the input gestures used in the various examples and embodiments described herein include air gestures for interacting with an XR environment (e.g., a virtual or mixed reality environment) performed by movement of a user's fingers relative to other fingers or parts of the user's hand. In some embodiments, an air gesture is a gesture detected without the user touching an input element that is part of the device (or independent of an input element that is part of the device) and based on detected movement of a part of the user's body through the air (including movement of the user's body relative to an absolute reference (e.g., the angle of the user's arm relative to the ground or the distance of the user's hand relative to the ground), movement relative to another part of the user's body (e.g., movement of the user's hand relative to the user's shoulder, movement of one of the user's hands relative to the user's other hand, and / or movement of the user's fingers relative to another finger or part of the user's hand), and / or absolute movement of a part of the user's body (e.g., a tap gesture in which the hand moves a predetermined amount and / or speed in a predetermined posture, or a shake gesture including a predetermined speed or amount of rotation of a part of the user's body)).
[0098] In some embodiments where the input gesture is an in-air gesture (e.g., in the absence of physical contact with an input device that provides information to the computer system about which user interface element is the target of the user input, such as contact with a user interface element displayed on a touch screen, or contact with a mouse or trackpad to move a cursor to a user interface element), the gesture takes into account the user's attention (e.g., gaze) to determine the target of the user input (e.g., for direct input, as described below). Thus, in embodiments involving in-air gestures, for example, the input gesture is combined (e.g., simultaneously) with movement of the user's fingers and / or hand to detect attention (e.g., gaze) toward a user interface element to perform a pinch and / or tap input, as described below.
[0099] In some embodiments, an input gesture pointing to a user interface object is performed directly or indirectly with reference to the user interface object. For example, the user input is performed directly on the user interface object according to performing input with the user's hand at a position corresponding to the position of the user interface object in the three-dimensional environment (e.g., as determined based on the user's current viewpoint). In some embodiments, when the user's attention (e.g., gaze) to the user interface object is detected, the input gesture is performed indirectly on the user interface object according to the position of the user's hand not being at the position corresponding to the position of the user interface object in the three-dimensional environment while the user performs the input gesture. For example, for a direct input gesture, the user can guide the user's input to the user interface object by initiating a gesture at or near a position corresponding to the display position of the user interface object (e.g., within 0.5 cm, 1 cm, 5 cm, or a distance between 0 and 5 cm measured from the outer edge of the option or the center portion of the option). For an indirect input gesture, the user can guide the user's input to the user interface object by focusing on the user interface object (e.g., by gazing at the user interface object), and while focusing on the option, the user initiates an input gesture (e.g., at any position detectable by the computer system) (e.g., at a position that does not correspond to the display position of the user interface object).
[0100] In some embodiments, according to some embodiments, the input gestures (e.g., air gestures) used in various examples and embodiments described herein include pinch input and tap input for interacting with a virtual or mixed reality environment. For example, the pinch input and tap input described below are performed as air gestures.
[0101] In some embodiments, the pinch input is part of an air gesture that includes one or more of the following: a pinch gesture, a long pinch gesture, a pinch and drag gesture, or a double pinch gesture. For example, a pinch gesture as an air gesture includes movement of two or more fingers of a hand to contact each other, that is, optionally followed by an immediate (e.g., within 0 to 1 second) interruption of contact with each other. A long pinch gesture as an air gesture includes movement of two or more fingers of a hand in contact with each other for at least a threshold amount of time (e.g., at least 1 second) before an interruption of contact with each other is detected. For example, a long pinch gesture includes the user maintaining a pinch gesture (e.g., in which two or more fingers are in contact), and the long pinch gesture continues until an interruption of contact between the two or more fingers is detected. In some embodiments, a double pinch gesture as an air gesture includes two (e.g., or more) pinch inputs (e.g., performed by the same hand) that are detected consecutively immediately (e.g., within a predefined time period) with each other. For example, the user performs a first pinch input (e.g., a pinch input or a long pinch input), releases the first pinch input (e.g., interrupts contact between two or more fingers), and performs a second pinch input within a predefined time period after releasing the first pinch input (e.g., within 1 second or within 2 seconds).
[0102] In some embodiments, the pinch and drag gesture as an air gesture includes a pinch gesture (e.g., a pinch gesture or a long pinch gesture) performed in conjunction with (e.g., following) a drag input that changes the position of the user's hand from a first position (e.g., the start position of the drag) to a second position (e.g., the end position of the drag). In some embodiments, the user maintains the pinch gesture while performing the drag input, and releases the pinch gesture (e.g., opens their two or more fingers) to end the drag gesture (e.g., at the second position). In some embodiments, the pinch input and the drag input are performed by the same hand (e.g., the user pinches two or more fingers to contact each other and moves the same hand to a second position in the air using the drag gesture). In some embodiments, a pinch input is performed by a first hand of a user, and a drag input is performed by a second hand of the user (e.g., the second hand of the user moves from a first position to a second position in the air while the user continues to pinch input with the first hand of the user. In some embodiments, the input gesture as an air gesture includes input performed using both hands of the user (e.g., pinch and / or tap input). For example, the input gesture includes two (e.g., or more) pinch inputs performed in conjunction with each other (e.g., simultaneously or within a predefined time period). For example, a first pinch gesture (e.g., a pinch input, a long pinch input, or a pinch and drag input) is performed using the first hand of the user, and in conjunction with the pinch input performed using the first hand, a second pinch input is performed using another hand (e.g., a second hand of the user's two hands). In some embodiments, movement between the two hands of the user (e.g., increasing and / or decreasing the distance or relative orientation between the two hands of the user).
[0103] In some embodiments, a tap input performed as an air gesture (e.g., pointing to a user interface element) includes movement of a user's finger toward the user interface element, movement of a user's hand toward the user interface element (optionally, extension of the user's finger toward the user interface element), downward movement of a user's finger (e.g., mimicking a mouse click motion or a tap on a touch screen), or other predefined movement of a user's hand. In some embodiments, a tap input performed as an air gesture is detected based on movement characteristics of the finger or hand performing the tap gesture movement of the finger or hand, which is a movement of the finger or hand away from the user's viewpoint and / or toward an object that is the target of the tap input, followed by an end of the movement. In some embodiments, the end of the movement is detected based on a change in the movement characteristics of the finger or hand performing the tap gesture (e.g., the end of the movement away from the user's viewpoint and / or toward an object that is the target of the tap input, a reversal of the direction of movement of the finger or hand, and / or a reversal of the acceleration direction of the movement of the finger or hand).
[0104] In some embodiments, it is determined that the user's attention is directed to a portion of the three-dimensional environment based on detection of a gaze directed to that portion of the three-dimensional environment (optionally, no other conditions are required). In some embodiments, it is determined that the user's attention is directed to a portion of the three-dimensional environment based on detection of a gaze directed to that portion of the three-dimensional environment using one or more additional conditions, such as requiring the gaze to be directed to the portion of the three-dimensional environment for at least a threshold duration (e.g., a dwell duration) and / or requiring the gaze to be directed to the portion of the three-dimensional environment when the user's viewpoint is within a distance threshold from the portion of the three-dimensional environment, so that the device determines that the user's attention is directed to the portion of the three-dimensional environment, wherein if one of these additional conditions is not met, the device determines that the attention is not directed to the portion of the three-dimensional environment to which the gaze is directed (e.g., until the one or more additional conditions are met).
[0105] In some embodiments, detection of a ready state configuration of a user or a portion of a user is detected by a computer system. Detection of a ready state configuration of a hand is used by the computer system as an indication that the user may be preparing to interact with the computer system using one or more air gesture inputs (e.g., pinch, tap, pinch and drag, double pinch, long pinch, or other air gestures described herein) performed by the hand. For example, the ready state of the hand is determined based on whether the hand has a predetermined hand shape (e.g., a pre-pinch shape with the thumb and one or more fingers extended and spaced apart to prepare for a pinch or grab gesture, or a pre-tap with one or more fingers extended and the palm facing away from the user), based on whether the hand is in a predetermined position relative to the user's viewpoint (e.g., below the user's head and above the user's waist and extending at least 15 cm, 20 cm, 25 cm, 30 cm, or 50 cm from the body), and / or based on whether the hand has moved in a particular manner (e.g., toward an area in front of the user above the user's waist and below the user's head, or away from the user's body or legs). In some embodiments, the ready state is used to determine whether an interactive element of a user interface responds to attention (e.g., gaze) input.
[0106] In some embodiments, the software may be downloaded to the controller 110 in electronic form, for example, over a network, or may alternatively be provided on a tangible, non-transitory medium such as an optical, magnetic, or electronic memory medium. In some embodiments, the database 408 is also stored in a memory associated with the controller 110. Alternatively or in addition, some or all of the described functions of the computer may be implemented in dedicated hardware, such as a custom or semi-custom integrated circuit or a programmable digital signal processor (DSP). Although in Figure 4Controller 110 is shown in FIG. 1 , but some or all of the processing functions of the controller may be performed by a suitable microprocessor and software or by dedicated circuitry within the housing of the image sensor 404 (e.g., a hand tracking device) or other device associated with the image sensor 404, for example, as a separate unit from the image sensor 404. In some embodiments, at least some of these processing functions may be performed by a suitable processor integrated with the display generation component 120 (e.g., in a television receiver, handheld device, or head-mounted device) or with any other suitable computerized device (such as a game console or media player). The sensing functions of the image sensor 404 may also be integrated into a computer or other computerized device to be controlled by the sensor output.
[0107] Figure 4 Also included is a schematic diagram of a depth map 410 captured by the image sensor 404 according to some embodiments. As described above, the depth map includes a matrix of pixels with corresponding depth values. Pixels 412 corresponding to the hand 406 have been segmented from the background and wrist in the map. The brightness of each pixel within the depth map 410 is inversely proportional to its depth value (i.e., the measured z distance from the image sensor 404), where gray shades become darker as depth increases. The controller 110 processes these depth values in order to identify and segment components of the image that have human hand features (i.e., a group of adjacent pixels). These features may include, for example, overall size, shape, and motion from frame to frame in the depth map sequence.
[0108] Figure 4 Also schematically shown is a hand skeleton 414 that the controller 110 ultimately extracts from the depth map 410 of the hand 406 according to some embodiments. Figure 4 In the hand skeleton 414, a hand background 416 that has been segmented from the original depth map is superimposed. In some embodiments, key feature points of the hand and optionally on the wrist or arm connected to the hand (e.g., points corresponding to knuckles, finger tips, center of the palm, end of the hand connected to the wrist, etc.) are identified and located on the hand skeleton 414. In some embodiments, the controller 110 uses the position and movement of these key feature points over multiple image frames to determine the gesture performed by the hand or the current state of the hand according to some embodiments.
[0109] Figure 5 The eye tracking device 130 ( Figure 1 ). In some embodiments, the eye tracking device 130 is composed of an eye tracking unit 243 ( Figure 2) controls to track the position and movement of the user's gaze relative to the scene 105 or relative to the XR content displayed via the display generation component 120. In some embodiments, the eye tracking device 130 is integrated with the display generation component 120. For example, in some embodiments, when the display generation component 120 is a head-mounted device (such as headphones, helmets, goggles, or glasses) or a handheld device placed in a wearable frame, the head-mounted device includes both components for generating XR content for the user to view and components for tracking the user's gaze relative to the XR content. In some embodiments, the eye tracking device 130 is separate from the display generation component 120. For example, when the display generation component is a handheld device or an XR room, the eye tracking device 130 is optionally a device separate from the handheld device or the XR room. In some embodiments, the eye tracking device 130 is a head-mounted device or a part of a head-mounted device. In some embodiments, the head-mounted eye tracking device 130 is optionally used in conjunction with a display generation component that is also head-mounted or a display generation component that is not head-mounted. In some embodiments, the eye tracking device 130 is not a head mounted device, and is optionally used in conjunction with a head mounted display generation component. In some embodiments, the eye tracking device 130 is not a head mounted device, and is optionally part of a non-head mounted display generation component.
[0110] In some embodiments, the display generation component 120 uses a display mechanism (e.g., a left near-eye display panel and a right near-eye display panel) to display a frame including a left image and a right image in front of the user's eyes, thereby providing a 3D virtual view to the user. For example, the head-mounted display generation component may include a left optical lens and a right optical lens (referred to herein as eye lenses) located between the display and the user's eyes. In some embodiments, the display generation component may include or be coupled to one or more external cameras that capture a video of the user's environment for display. In some embodiments, the head-mounted display generation component may have a transparent or translucent display, and display a virtual object on the transparent or translucent display, and the user can directly view the physical environment through the transparent or translucent display. In some embodiments, the display generation component projects the virtual object into the physical environment. The virtual object may be projected, for example, on a physical surface or as a hologram, so that an individual using the system observes the virtual object superimposed on the physical environment. In this case, separate display panels and image frames for the left and right eyes may not be required.
[0111] like Figure 5As shown in , in some embodiments, the eye tracking device 130 (e.g., gaze tracking device) includes at least one eye tracking camera (e.g., an infrared (IR) or near infrared (NIR) camera), and an illumination source (e.g., an IR or NIR light source, such as an array or ring of LEDs) that emits light (e.g., IR or NIR light) toward the user's eyes. The eye tracking camera can be pointed at the user's eyes to receive the IR or NIR light reflected directly from the eyes by the light source, or alternatively can be pointed at "hot" mirrors located between the user's eyes and the display panel, which reflect the IR or NIR light from the eyes to the eye tracking camera while allowing visible light to pass through. The eye tracking device 130 optionally captures images of the user's eyes (e.g., as a video stream captured at 60-120 frames per second (fps)), analyzes the images to generate gaze tracking information, and transmits the gaze tracking information to the controller 110. In some embodiments, the user's two eyes are tracked separately by corresponding eye tracking cameras and illumination sources. In some embodiments, only one eye of the user is tracked by the corresponding eye tracking camera and illumination source.
[0112] In some embodiments, the eye tracking device 130 is calibrated using a device-specific calibration process to determine the parameters of the eye tracking device for a specific operating environment 100, such as the 3D geometric relationships and parameters of the LED, camera, thermal mirror (if present), eye lens, and display screen. The device-specific calibration process can be performed at a factory or another facility before the AR / VR equipment is delivered to the end user. The device-specific calibration process can be an automatic calibration process or a manual calibration process. According to some embodiments, the user-specific calibration process may include an estimate of the eye parameters of a specific user, such as pupil position, foveal position, optical axis, visual axis, eye spacing, etc. According to some embodiments, once the device-specific parameters and user-specific parameters are determined for the eye tracking device 130, a flash-assisted method can be used to process the images captured by the eye tracking camera to determine the current visual axis and the user's gaze point relative to the display.
[0113] like Figure 5As shown in , the eye tracking device 130 (e.g., 130A or 130B) includes an eye lens 520 and a gaze tracking system, which includes at least one eye tracking camera 540 (e.g., an infrared (IR) or near infrared (NIR) camera) positioned on the side of the user's face on which eye tracking is performed, and an illumination source 530 (e.g., an IR or NIR light source, such as an array or ring of NIR light emitting diodes (LEDs)) that emits light (e.g., IR or NIR light) toward the user's eye 592. The eye tracking camera 540 can be directed toward a mirror 550 (which reflects IR or NIR light from the eye 592 while allowing visible light to pass) located between the user's eye 592 and a display 510 (e.g., a left display panel or a right display panel of a head-mounted display, or a display of a handheld device, a projector, etc.) Figure 5 ), or alternatively may be directed toward the user's eye 592 to receive reflected IR or NIR light from the eye 592 (e.g., as shown in the top portion of Figure 5 ).
[0114] In some embodiments, the controller 110 renders AR or VR frames 562 (e.g., left and right frames for left and right display panels) and provides the frames 562 to the display 510. The controller 110 uses the gaze tracking input 542 from the eye tracking camera 540 for various purposes, such as for processing the frames 562 for display. The controller 110 optionally estimates the user's gaze point on the display 510 based on the gaze tracking input 542 obtained from the eye tracking camera 540 using a flash-assisted method or other suitable method. The gaze point estimated from the gaze tracking input 542 is optionally used to determine the direction in which the user is currently looking.
[0115] Several possible use cases for the user's current gaze direction are described below and are not intended to be limiting. As an exemplary use case, the controller 110 may render virtual content differently based on the determined direction of the user's gaze. For example, the controller 110 may generate virtual content at a higher resolution in the foveal region determined according to the user's current gaze direction than in the peripheral region. As another example, the controller may position or move virtual content in a view based at least in part on the user's current gaze direction. As another example, the controller may display specific virtual content in a view based at least in part on the user's current gaze direction. As another exemplary use case in an AR application, the controller 110 may direct an external camera used to capture the physical environment of the XR experience to focus in the determined direction. The autofocus mechanism of the external camera may then focus on an object or surface in the environment that the user is currently looking at on the display 510. As another exemplary use case, the eye lens 520 may be a focusable lens, and the controller uses gaze tracking information to adjust the focus of the eye lens 520 so that the virtual object that the user is currently looking at has an appropriate degree of convergence to match the convergence of the user's eye 592. The controller 110 can use the gaze tracking information to guide the eye lens 520 to adjust the focus so that nearby objects that the user is looking at appear at the correct distance.
[0116] In some embodiments, the eye tracking device is part of a head mounted device that includes a display (e.g., display 510), two eye lenses (e.g., eye lenses 520), an eye tracking camera (e.g., eye tracking camera 540), and a light source (e.g., light source 530 (e.g., IR or NIR LED)). The light source emits light (e.g., IR or NIR light) toward the user's eye 592. In some embodiments, the light sources may be arranged in a ring or circle around each of the lenses, such as Figure 5 In some embodiments, for example, eight light sources 530 (eg, LEDs) are arranged around each lens 520. However, more or fewer light sources 530 may be used, and other arrangements and locations of the light sources 530 may be used.
[0117] In some embodiments, the display 510 emits light in the visible range and does not emit light in the IR or NIR range, and therefore does not introduce noise into the gaze tracking system. Note that the positions and angles of the eye tracking cameras 540 are given by way of example and are not intended to be limiting. In some embodiments, a single eye tracking camera 540 is located on each side of the user's face. In some embodiments, two or more NIR cameras 540 may be used on each side of the user's face. In some embodiments, a camera 540 with a wider field of view (FOV) and a camera 540 with a narrower FOV may be used on each side of the user's face. In some embodiments, a camera 540 operating at one wavelength (e.g., 850 nm) and a camera 540 operating at a different wavelength (e.g., 940 nm) may be used on each side of the user's face.
[0118] like Figure 5 Embodiments of the gaze tracking system shown in the disclosure may be used, for example, in extended reality (e.g., including virtual reality and / or mixed reality) applications to provide an extended reality (e.g., including virtual reality, augmented reality, and / or augmented virtuality) experience to a user.
[0119] Figure 6 FIG. 2 shows a flash-assisted gaze tracking pipeline according to some embodiments. In some embodiments, the gaze tracking pipeline is implemented by a flash-assisted gaze tracking system (e.g., Figure 1 and Figure 5 The flash-assisted gaze tracking system can maintain a tracking state. Initially, the tracking state is off or "no". When in the tracking state, the flash-assisted gaze tracking system uses previous information from previous frames when analyzing the current frame to track the pupil outline and the flash in the current frame. When not in the tracking state, the flash-assisted gaze tracking system attempts to detect the pupil and the flash in the current frame, and if successful, initializes the tracking state to "yes" and continues with the next frame in the tracking state.
[0120] like Figure 6 As shown in , the gaze tracking camera can capture left and right images of the user's left and right eyes. The captured images are then input to the gaze tracking pipeline for processing starting at 610. As indicated by the arrow returning to element 600, the gaze tracking system can continue to capture images of the user's eyes at a rate of, for example, 60 to 120 frames per second. In some embodiments, each group of captured images can be input to the pipeline for processing. However, in some embodiments or under some conditions, not all captured frames are processed by the pipeline.
[0121] At 610, for the currently captured image, if the tracking status is yes, the method proceeds to element 640. At 610, if the tracking status is no, the image is analyzed to detect the user's pupil and glint in the image, as indicated at 620. At 630, if the pupil and glint are successfully detected, the method proceeds to element 640. Otherwise, the method returns to element 610 to process the next image of the user's eye.
[0122] At 640, if advancing from element 610, the current frame is analyzed to track pupils and glints based in part on previous information from previous frames. At 640, if advancing from element 630, the tracking state is initialized based on the pupils and glints detected in the current frame. The processing results at element 640 are checked to verify that the results of tracking or detection can be credible. For example, the results can be checked to determine whether the pupil and a sufficient number of glints for performing gaze estimation are successfully tracked or detected in the current frame. At 650, if the results are not likely to be credible, at element 660, the tracking state is set to no, and the method returns to element 610 to process the next image of the user's eye. At 650, if the results are credible, the method advances to element 670. At 670, the tracking state is set to YES (if not already yes), and the pupil and glint information is passed to element 680 to estimate the user's gaze point.
[0123] Figure 6 It is intended to be used as an example of an eye tracking technology that can be used for a particular implementation. As recognized by one of ordinary skill in the art, according to various embodiments, other eye tracking technologies currently existing or developed in the future can be used in place of or in combination with the flash-assisted eye tracking technology described herein in a computer system 101 for providing an XR experience to a user.
[0124] In the present disclosure, various input methods are described with respect to interaction with a computer system. When an input device or input method is used to provide an example, and another input device or input method is used to provide another example, it should be understood that each example is compatible with the input device or input method described with respect to another example and optionally utilizes the input device or input method. Similarly, various output methods are described with respect to interaction with a computer system. When an output device or output method is used to provide an example, and another output device or output method is used to provide another example, it should be understood that each example is compatible with the output device or output method described with respect to another example and optionally utilizes the output device or output method. Similarly, various methods are described with respect to interaction with a virtual environment or a mixed reality environment by a computer system. When an example is provided using interaction with a virtual environment, and another example is provided using a mixed reality environment, it should be understood that each example is compatible with the method described with respect to another example and optionally utilizes these methods. Therefore, the present disclosure discloses an embodiment as a combination of features of multiple examples, without exhaustively listing all features of the embodiment in the description of each exemplary embodiment.
[0125] User interface and associated processes
[0126] Attention is now focused on embodiments of a user interface ("UI") and associated processes that may be implemented on a computer system, such as a portable multifunction device or a head mounted device, in communication with a display generating component, one or more input devices, and optionally one or more cameras.
[0127] Figures 7A to 7ZA three-dimensional environment visible via a display generation component (e.g., display generation component 7100 or display generation component 120) of a computer system (e.g., computer system 101) is shown, as well as interactions occurring in the three-dimensional environment caused by user input directed to the three-dimensional environment and / or input received from other computer systems and / or sensors. In some embodiments, input is directed to a virtual object within the three-dimensional environment by a user gaze detected in an area occupied by a virtual object, or by a gesture performed at a location in the physical environment corresponding to the area of the virtual object. In some embodiments, input is directed to a virtual object within the three-dimensional environment by a gesture performed (e.g., optionally, at a location in the physical environment that is unrelated to the area of the virtual object in the three-dimensional environment) when the virtual object has input focus (e.g., when the virtual object has been selected by a gaze input detected simultaneously and / or previously, by a pointer input detected simultaneously or previously, and / or by a gesture input detected simultaneously and / or previously). In some embodiments, input is directed to a virtual object within the three-dimensional environment by an input device that has positioned a focus selector object (e.g., a pointer object or a selector object) at the location of the virtual object. In some embodiments, input is directed to a virtual object within a three-dimensional environment via other means (e.g., voice and / or control buttons). In some embodiments, input is directed to a physical object or a representation of a virtual object corresponding to a physical object by user hand movement (e.g., whole hand movement, whole hand movement in a corresponding posture, movement of one part of a user's hand relative to another part of the hand, and / or relative movement between both hands) and / or manipulation relative to a physical object (e.g., touch, swipe, tap, open, move toward, and / or move relative to). In some embodiments, a computer system displays some changes to the three-dimensional environment (e.g., displaying additional virtual content, stopping displaying existing virtual content, and / or transitioning between different immersion levels of displayed visual content) based on input from sensors (e.g., image sensors, temperature sensors, biometric sensors, motion sensors, and / or proximity sensors) and contextual conditions (e.g., location, time, and / or the presence of other people in the environment). In some embodiments, a computer system displays some changes to the three-dimensional environment (e.g., displaying additional virtual content, ceasing to display existing virtual content, and / or transitioning between different immersive levels of displayed visual content) based on input from other computers used by other users sharing a computer-generated environment with a user of the computer system (e.g., in a shared computer-generated experience, in a shared virtual environment, and / or in a shared virtual or augmented reality environment of a communication session).In some embodiments, a computer system displays some changes to a three-dimensional environment (e.g., displaying movement, deformation, and / or changes in visual characteristics of a user interface, virtual surfaces, user interface objects, and / or virtual scenery) based on input from a sensor that detects the movement of other people and objects as well as movement of a user that may not meet the criteria for being a recognized gesture input that triggers an associated operation of the computer system.
[0128] In some embodiments, the three-dimensional environment displayed or visible via the display generation component described herein is a virtual three-dimensional environment including virtual objects and content at different virtual locations in the three-dimensional environment without a representation of the physical environment. In some embodiments, the three-dimensional environment is a mixed reality environment that displays virtual objects at different virtual locations in the three-dimensional environment that are constrained by one or more physical aspects of the physical environment (e.g., walls, floors, positions and orientations of surfaces, gravity direction, time of day, and / or spatial relationships between physical objects). In some embodiments, the three-dimensional environment is an augmented reality environment that includes a representation of the physical environment. In some embodiments, the representation of the physical environment includes corresponding representations of physical objects and surfaces at different locations in the three-dimensional environment, so that the spatial relationship between different physical objects and surfaces in the physical environment is reflected by the spatial relationship between the representations of the physical objects and surfaces in the three-dimensional environment. In some embodiments, when a virtual object is placed relative to the position of the representation of the physical objects and surfaces in the three-dimensional environment, the virtual object appears to have a corresponding spatial relationship with the physical objects and surfaces in the physical environment. In some embodiments, a computer system transitions between displaying different types of environments based on user input and / or situational conditions (e.g., transitioning between presenting computer-generated environments or experiences with different levels of immersion, adjusting the relative prominence of audio / visual sensory input from virtual content and from representations of the physical environment).
[0129] In some embodiments, the display generation component includes a see-through portion in which a representation of the physical environment is displayed or visible. In some embodiments, the see-through portion of the display generation component is a transparent or translucent (e.g., see-through) portion of the display generation component that displays at least a portion of the physical environment around the user or within the user's field of view (sometimes referred to as "optical see-through"). For example, the see-through portion is a portion of a head-mounted display or a head-up display that is made translucent (e.g., less than 50%, 40%, 30%, 20%, 15%, 10% or 5% opacity) or transparent, so that the user can see through it to view the real world around the user without removing the head-mounted display or moving away from the head-up display. In some embodiments, when a virtual or mixed reality environment is displayed, the see-through portion gradually transitions from translucent or transparent to completely opaque. In some embodiments, the see-through portion of the display generating component displays a real-time feed of an image or video of at least a portion of the physical environment captured by one or more cameras (e.g., a rear-facing camera of a mobile device or associated with a head-mounted display, or other cameras that feed image data to a computer system) (sometimes referred to as "optical see-through"). In some embodiments, the one or more cameras are pointed at a portion of the physical environment that is directly in front of the user's eyes (e.g., behind the display generating component relative to the user of the display generating component). In some embodiments, the one or more cameras are pointed at a portion of the physical environment that is not directly in front of the user's eyes (e.g., in a different physical environment, or to the side or behind the user).
[0130] In some embodiments, when virtual objects are displayed at locations corresponding to the locations of one or more physical objects in a physical environment (e.g., at locations in a virtual reality environment, a mixed reality environment, or an augmented reality environment), at least some of the virtual objects are displayed in place of (e.g., replacing the display of) a portion of the camera's real-time view (e.g., a portion of the physical environment captured in the real-time view). In some embodiments, at least some of the virtual objects and content are projected onto a physical surface or blank space in the physical environment and are visible through a see-through portion of a display generation component (e.g., visible as part of the camera's view of the physical environment, or visible through a transparent or translucent portion of a display generation component). In some embodiments, at least some of the virtual objects and content are displayed to cover a portion of the display and obstruct at least a portion of the view of the physical environment visible through a transparent or translucent portion of a display generation component.
[0131] In some embodiments, the display generation component displays different views of the three-dimensional environment based on user input or movement that changes the viewpoint of the current display view of the three-dimensional environment relative to the virtual position of the three-dimensional environment. In some embodiments, when the three-dimensional environment is a virtual environment, the viewpoint moves based on a navigation or motion request (e.g., an air gesture and / or a gesture performed by movement of one part of the hand relative to another part of the hand) without requiring movement of the user's head, torso, and / or display generation component in the physical environment. In some embodiments, movement of the user's head and / or torso, and / or movement of the display generation component or other positioning sensing elements of the computer system (e.g., due to the user holding the display generation component or wearing an HMD) relative to the physical environment causes a corresponding movement of the viewpoint relative to the three-dimensional environment (e.g., with a corresponding movement direction, movement distance, movement speed, and / or orientation change), thereby causing a corresponding change in the current display view of the three-dimensional environment. In some embodiments, when a virtual object has a preset spatial relationship relative to a viewpoint (e.g., anchored or fixed to the viewpoint), movement of the viewpoint relative to the three-dimensional environment will cause movement of the virtual object relative to the three-dimensional environment while maintaining the position of the virtual object in the field of view (e.g., the virtual object is said to be head-locked). In some embodiments, the virtual object is body-locked to the user and moves relative to the three-dimensional environment as the user as a whole moves in the physical environment (e.g., carrying or wearing the display generation components and / or other position sensing components of the computer system), but will not move in the three-dimensional environment in response to individual user head movements (e.g., the display generation components and / or other position sensing components of the computer system rotate around a fixed position of the user in the physical environment). In some embodiments, the virtual object is optionally locked to another part of the user, such as the user's hand or the user's wrist, and moves in the three-dimensional environment in accordance with the movement of that part of the user in the physical environment to maintain a preset spatial relationship between the position of the virtual object and the virtual position of that part of the user in the three-dimensional environment. In some embodiments, the virtual object is locked to a preset portion of the field of view provided by the display generation component and moves in the three-dimensional environment based on the movement of the field of view, regardless of the user's movement that does not cause the field of view to change.
[0132] In some embodiments, such as Figures 7A to 7ZAs shown, the view of the three-dimensional environment sometimes does not include the representation of the user's hand, arm and / or wrist. In some embodiments, the representation of the user's hand, arm and / or wrist is included in the view of the three-dimensional environment. In some embodiments, the representation of the user's hand, arm and / or wrist is included in the view of the three-dimensional environment as a part of the representation of the physical environment provided via the display generation component. In some embodiments, these representations are not part of the representation of the physical environment, and are captured separately (for example, by one or more cameras pointing to the user's hand, arm and wrist) and displayed in a three-dimensional environment independent of the current display view of the three-dimensional environment. In some embodiments, these representations include camera images captured by one or more cameras of the computer system or stylized versions of arms, wrists and / or hands based on information captured by various sensors. In some embodiments, these representations replace the display of the portion of the representation of the physical environment, are covered on the portion of the representation of the physical environment or block the view of the portion of the representation of the physical environment. In some embodiments, when the display generation component does not provide a view of the physical environment and provides a completely virtual environment (e.g., no camera view and no transparent pass-through portion), a real-time visual representation of one or both arms, wrists, and / or hands of the user is optionally still displayed in the virtual environment (e.g., a stylized representation or a segmented camera image). In some embodiments, if no representation of the user's hands is provided in the view of the three-dimensional environment, the position corresponding to the user's hands is optionally indicated in the three-dimensional environment, for example, by changing the appearance of the virtual content at a position in the three-dimensional environment corresponding to the position of the user's hands in the physical environment (e.g., by a change in translucency and / or simulated reflectivity). In some embodiments, the representation of the user's hand or wrist is outside the current display view of the three-dimensional environment, and the virtual position in the three-dimensional environment corresponding to the position of the user's hand or wrist is outside the current field of view provided by the display generation component; and in response to the virtual position corresponding to the position of the user's hand or wrist moving within the current field of view due to movement of the display generation component, the user's hand or wrist, the user's head, and / or the user as a whole, the representation of the user's hand or wrist is visible in the view of the three-dimensional environment.
[0133] FIG. 7A to FIG. 7G A user interface element is shown displayed over a view of a physical environment (or a three-dimensional environment that optionally corresponds to and / or includes a representation of one or more portions of the physical environment) according to some embodiments, wherein the user interface element has an appearance based on a graphical composition of content in the physical environment behind the user interface element at multiple different points in time. FIG. 7A to FIG. 7G The user interface in is used to illustrate the processes described below, which include Figure 8 process.
[0134] In some embodiments, a user interface element presents a user interface of, for example, an application, an operating system, or an alert. In some embodiments, a user interface element is displayed as a three-dimensional object at a location in three-dimensional space. A user interface element typically includes a background based on the appearance of the underlying environment, and content with which a user can interact (e.g., whereas the background is typically non-interactive), such as text or graphics that can be (e.g., configured to be) scrolled, zoomed, and / or selected, and / or icons or buttons that can be (e.g., configured to be) pressed or activated. According to various embodiments, FIG. 7A to FIG. 7G The behaviors described for user interface elements in some examples apply to user interface elements in other examples unless otherwise noted in the description.
[0135] Figures 7A to 7Z An exemplary computer system (e.g., device 101 or another computer system) in communication with a display generation component (e.g., display generation component 7100 or another display generation component) is shown. Figures 7A to 7Z As shown in the example in FIG. 7 , display generating component 7100 is a touch screen held by user 7002. In some embodiments, the display generating component of computer system 101 is a head mounted display worn on the user's head (e.g., in FIG. 7 ). Figures 7A to 7Z7002 when wearing a head-mounted display). In some embodiments, the display generation component is a stand-alone display, a projector, or another type of display. In some embodiments, the computer system communicates with one or more input devices, which include cameras or other sensors and input devices that detect the movement of the user's hands, the movement of the user's entire body, and / or the movement of the user's head in the physical environment. In some embodiments, the one or more input devices detect the movement and current posture, orientation, and position of the user's hands, face, and / or entire body. In some embodiments, user input is detected via a touch-sensitive surface or a touch screen. In some embodiments, one or more input devices include an eye tracking component that detects the position and movement of the user's gaze. In some embodiments, the display generation component and optionally one or more input devices and the computer system are part of a head-mounted device (e.g., an HMD or a pair of goggles) that moves and rotates with the user's head in the physical environment and changes the user's viewpoint in the three-dimensional environment provided by the display generation component. In some embodiments, the display generating component is a heads-up display that does not move or rotate with the user's head or the user's entire body, but optionally changes the user's viewpoint in the three-dimensional environment based on the movement of the user's head or body relative to the display generating component. In some embodiments, the display generating component (e.g., a touch screen) is optionally moved and rotated by the user's hands relative to the physical environment or relative to the user's head, and changes the user's viewpoint in the three-dimensional environment based on the movement of the display generating component relative to the user's head or face or relative to the physical environment.
[0136] like FIG. 7B to FIG. 7G As shown, the computer system displays a view of a three-dimensional environment (e.g., environment 7104, a virtual three-dimensional environment, an augmented reality environment, a see-through view of a physical environment, or a camera view of a physical environment). In some embodiments, the three-dimensional environment is a virtual three-dimensional environment without a representation of a physical environment. In some embodiments, the three-dimensional environment is a mixed reality environment, which is a virtual environment enhanced by sensor data corresponding to a physical environment. In some embodiments, the three-dimensional environment is an augmented reality environment, which includes one or more virtual objects and a representation of at least a portion of the physical environment around the display generation component 7100 (e.g., representations 7004' and 7006' of the wall, representation 7008' of the floor, and representation 7014' of the physical object 7014). In some embodiments, the representation of the physical environment includes a camera view of the physical environment. In some embodiments, the representation of the physical environment includes a view of the physical environment through a transparent or translucent portion of the display generation component.
[0137] Fig. 7A An exemplary scene 105 in an exemplary physical environment 7102 is shown. Fig. 7A In scene 105 in FIG. 1 , user 7002 is in physical environment 7102, and user's hand 7022 holds display 7100 of computer system. Physical environment 7102 includes walls 7004 and 7006 and floor 7008. Physical box 7014 is positioned on floor 7008. In addition, physical box 7012 falls toward floor 7008 in space.
[0138] Figure 7B A three-dimensional environment 7104 is shown displayed via display 7100. Figure 7B In the example shown, environment 7104 optionally includes a view of one or more portions of scene 105 based on the portion of scene 105 that is in the field of view of a computer system that includes display 7100 (or, more specifically, the field of view of one or more cameras of the computer system). For example, environment 7104 includes display walls 7004' and 7006' that are representations of physical walls 7004 and 7006, respectively, display floor 7008' that is a representation of physical floor 7008, and box 7014' that is a representation of physical box 7014. Figure 7B In the example shown, the physical box 7012 is not in the field of view of the one or more cameras of the computer system, and therefore a representation of the physical box 7012 is not displayed in the environment 7104 (e.g., in contrast to the box 7012′, which is a representation of the physical box 7012 and is displayed in the environment 7104, as described herein). Figure 7C ). Figure 7B As shown in the example of , environment 7104 also optionally includes computer-generated objects (e.g., representations that do not correspond to physical objects), such as computer-generated wall hanging 7106, which appears to be positioned on wall 7004' as a physical object placed on wall 7004, and computer-generated balls 7108 and 7110 that appear on floor 7008' as a physical ball would appear on floor 7008. Ball 7110 is closer to the user's viewpoint than ball 7108, and both ball 7110 and ball 7108 are closer to the user's viewpoint than wall hanging 7106. Figure 7B , the view of the environment 7104 shown corresponds to time T=t 0 .
[0139] Figure 7C Shown in Figure 7B The time T shown in 0 A time different and later than this time T = t 1 A view of the environment 7104. Figure 7CThe illustrated environment 7104 reflects movement of the user's viewpoint downward and backward (e.g., away from) the wall 7004 in space (e.g., in response to movement of the computer system, or more specifically, movement of one or more cameras of the computer system downward and backward in space relative to the wall 7004). Figure 7C The walls 7004' in the environment 7104 in FIG. 7004 appear further away from the user's viewpoint, and more walls 7006' and floors 7008' are shown. In addition, the boxes 7014' are Figure 7C In Figure 7B 7004, and thus appear smaller in the image, further from the user's viewpoint, and further from the bottom edge of the display 7100. In addition, the wall mount 7106 is actually positioned on the wall 7004, and thus appears smaller in the image, further from the user's viewpoint, and further from the bottom edge of the display 7100. Figure 7C From the user's perspective, Figure 7B Further in Figure 7C The environment 7104 in the Figure 7B Medium is smaller. Figure 7C It is also shown that according to the physical box 7012 falling, the physical box 7012 has entered the field of view of the computer system (or more specifically, the field of view of one or more cameras of the computer system), and the box 7012' is displayed in the environment 7104. Figure 7C , ball 7108 has rolled to the right, as indicated by the displaced position of ball 7108 and by the clockwise rotation markings on ball 7108.
[0140] Fig.7D Shows the ratio Figure 7C The time t shown in 1 and Figure 7B The time t shown in 0 Later time T = t 2 A view of the environment 7104. Fig.7D represents a movement from the user's viewpoint via a clockwise rotation (e.g., via a clockwise rotation of a computer system) Figure 7C As the orientation of environment 7104 remains anchored to the physical environment 7102 ( Fig. 7A ),like Fig.7D The environment 7104 is shown to appear tilted (e.g., rotated counterclockwise) relative to the display 7100 of the computer system. The physical boxes 7012 continue to fall in space (e.g., in the physical environment 7102), such that more of the physical boxes 7012 have entered the field of view of the computer system, and therefore more boxes 7012' representing the physical boxes 7012 are displayed in the environment 7104. In addition, the ball 7108 rolls further to the right in the environment 7104, as shown by the displaced position of the ball 7108 and the markings on the ball 7108 relative to the computer system. Figure 7C Further clockwise rotation as indicated.
[0141] Fig.7D Also shown is a view of environment 7104 that is displayed in response to computer system 101 detecting an event that triggers display of user interface element 7030. In some embodiments, user interface element 7030 is a user interface, such as an application user interface or a system user interface displayed within environment 7104. Fig.7D In the example of FIG. 70 , user interface element 7030 is anchored to the user's viewpoint rather than environment 7104 , as shown in FIG. Fig.7D 7030 is tilted relative to the environment 7104 (as shown in FIG. Fig. 7E 7104, which is described in more detail below). User interface element 7030 may be a user interface of an application executed on the computer system, which is displayed in response to user input to launch the application. User interface element 7030 may be an alert or notification displayed in response to an event occurring at the computer system (e.g., one or more error conditions for displaying an alert are met, such as reaching a predetermined time). Fig.7D User interface element 7030 is shown displayed over a portion of environment 7104, and specifically displayed over a portion of box 7012', a portion of wall hanging 7106, a portion of ball 7108, and a portion of wall 7004'.
[0142] The appearance of at least a portion of user interface element 7030 is based on the 2 One or more times before and / or at time t 2 The appearance of the bottom part of the environment 7104. This article refers to Figure 7G Generating the appearance of user interface element 7030 based on the underlying portions of environment 7104 is described in more detail.
[0143] Fig. 7E Shown in Fig.7D The time t shown in 2 , Figure 7C The time t shown in 1 as well as Figure 7B The time t shown in 0 Different time T = t 3 A view of the environment 7104. Fig. 7E Indicates from Fig.7D Such as Fig. 7E The environment 7104 shown in FIG. 7104 reflects the user's viewpoint being moved via a counterclockwise rotation (e.g., with the computer system positioned upright, and reversed from FIG. 7C to FIG. 7D ) so that the environment 7104 is relative to Fig. 7E7100 in the environment 7104 appears horizontal. In addition, the physical boxes 7012 have fallen further in space relative to the field of view of the computer system, such that all corresponding boxes 7012' are behind and obscured by the user interface element 7030. In addition, the ball 7108 is shown as rolling further to the right in the environment 7104, as indicated by the displaced position of the ball 7108 and the markings on the ball 7108 relative to the Fig.7D The environment 7104 shown in FIG. 7 is further rotated clockwise as indicated.
[0144] Fig. 7E The user interface elements 7030 in FIG. 70 remain anchored to the user's viewpoint (e.g., the perspective of the computer system) rather than the environment 7104. Thus, in response to the user's viewpoint being rotated counterclockwise relative to the environment 7104, the user interface elements 7030 in FIG. 70 remain anchored to the user's viewpoint (e.g., the perspective of the computer system) rather than the environment 7104. Fig. 7E Environment 7104 is shown as being substantially horizontal, and user interface element 7030 is also rotated counterclockwise to be substantially upright relative to environment 7104 (e.g., maintaining the orientation of user interface element 7030 relative to the computer system). Persons of ordinary skill in the art will readily appreciate that user interface elements such as user interface element 7030 may alternatively be anchored to environment 7104 such that, despite changes in the user's viewpoint relative to environment 7104, the user interface element (e.g., user interface element 7030) does not move relative to environment 7104. Fig. 7E The appearance of user interface element 7030 displayed above environment 7104 in FIG. 70 is different from the appearance of user interface element 7030. Specifically, Fig. 7E The appearance of the user interface element 7030 in the environment 7104 is based on the underlying portion of the environment 7104 in the same Fig.7D The appearance of the user interface element 7030 in the example is different from the appearance of the time at which it is used. Fig. 7E The appearance in is based on the underlying portion of the environment 7104 at time t 3 One or more times before and / or at time t 3 The appearance of this article is as follows Figure 7G Described in more detail.
[0145] Figure 7F Different simulated positions of user interface element 7030 relative to environment 7104 are shown, as shown in top view 7034 of environment 7104. Top view 7034 shows the position of the user's viewpoint 7032 in environment 7104, the positions of ball 7110 and ball 7108, and several different positions 7030-1 through 7030-4 of user interface element 7030 in the three-dimensional environment. Figure 7F The different simulated positions shown in Fig.7D and Fig. 7E 7030 in environment 7104. For example, Fig.7D and / or Fig. 7E User interface element 7030 in environment 7104 may be associated with Figure 7F At a simulated position corresponding to position 7030-1 in the environment 7104, from the user's viewpoint 7032, the position is in front of other objects (such as ball 7110 and box 7012') shown in the environment 7104.
[0146] In another example, Fig.7D and / or Fig. 7E User interface element 7030 in environment 7104 may be associated with Figure 7F , where position 7030-2 is farther from viewpoint 7032 than position 7030-1 (e.g., the distance between position 7030-2 and viewpoint 7032 is greater than the distance between position 7030-1 and viewpoint 7032), farther from viewpoint 7032 than box 7012' (e.g., the simulated position of box 7012' in environment 7104 corresponds to the physical position of box 7012 in physical environment 7102), farther from viewpoint 7032 than ball 7110 (e.g., the simulated position of the ball), and closer to viewpoint 7032 than ball 7108 (e.g., its simulated position) (e.g., as well as other objects behind ball 7108, such as wall hanging 7106 and wall hanging 7004').
[0147] In another example, Fig.7D and / or Fig. 7E User interface element 7030 in environment 7104 may be associated with Figure 7F At a simulated position corresponding to position 7030-3 in the figure, where position 7030-3 is farther from viewpoint 7032 than positions 7030-1 and 7030-2 (e.g., the distance between position 7030-3 and viewpoint 7032 is greater than the distance between position 7030-2 and viewpoint 7032), farther from viewpoint 7032 than ball 7108 (e.g., a simulated position), and closer to viewpoint 7032 than wall hanging 7106 and wall 7004.
[0148] In yet another example, Fig.7D and / or Fig. 7E The user interface element 7030 in the environment 7104 may correspond to Figure 7F At the simulated position of position 7030-4 in the image, where position 7030-4 is farther from viewpoint 7030 than positions 7032-1 to 7030-3 (e.g., the distance between position 7030-4 and viewpoint 7032 is greater than the distance between position 7030-3 and viewpoint 7032), and is even farther from viewpoint 7032 than wall 7004'.
[0149] As referenced in this article Figure 7GTo describe in more detail, in some embodiments, the appearance of user interface element 7030 is based on the portion of environment 7104 that overlaps user interface element 7030, regardless of whether the overlapping portion is behind or in front of the simulated location of user interface element 7030. In some cases, the appearance of user interface element 7030 is based on the portion of environment 7104 that is behind user interface element 7030. In some cases, the appearance of user interface element 7030 is based on the portion of environment 7104 that is in front of the simulated location of user interface element 7030 (e.g., even if user interface element 7030 is displayed as overlaying the overlapping portion of environment 7104 and thereby obscuring that portion).
[0150] Figure 7G 7030 is shown as a way of generating the appearance of a user interface element (e.g., user interface element 7030) based on a graphical composition of the appearance of overlapping portions of a three-dimensional environment (e.g., environment 7104) that the user interface element covers. Figure 7G In scene 7036, user interface element 7030-d has Fig.7D Scene 7036 shows user interface element 7030-d at time t 2 appearance (e.g., Fig.7D , which shows the appearance of the user interface element 7030 shown in FIG. 7104 at time t 2 The view) is based on the 2 A composition of multiple frames generated, where different frames correspond to portions of the view of environment 7104 at different times. In some embodiments, when the appearance of a corresponding user interface element is based on a composition, as described herein with reference to Figure 7G As described, one or more visual transformations are applied to one or more regions of the composition to generate a resulting appearance of a user interface element, as described herein with reference to Figure 7X to Figure 7Z The composition of scene 7036 is based on environment 7104 at time t 0 ( Figure 7B ) corresponding to the portion of the first view of the environment 7104 on which the Fig.7D The portion of the user interface element 7030 in FIG. 7 is indicated by the dense dashed lines; the environment 7104 at time t 1 A portion of the second view ( Figure 7C ), which corresponds to the environment 7104 on which is displayed Fig.7D The portion of the user interface element 7030 in FIG. 70 is indicated by the dashed line; and the environment 7104 at time t 2 A portion of the third view of Fig.7D7030 - d , indicated by dashed lines. In the example of scene 7036 , the central portion of the composition indicated by solid lines defines the appearance of user interface element 7030 - d .
[0151] In some embodiments, such as Fig.7D As shown, user interface element 7030 includes a background portion 7030-a, a first content portion 7030-b, and a second content portion 7030-c. Content portions 7030-a and 7030-b optionally include visual content such as text or graphics, or include selectable and / or activatable objects such as buttons or controls. In some embodiments, the appearance of the background portion of the user interface element (e.g., background portion 7030-a of user interface element 7030) is based on a composition of the appearance of the underlying three-dimensional environment at different previous times. In some embodiments, the appearance of the content portion of the user interface element (e.g., content portions 7030-b and / or 7030-c) is based on the content displayed in the content portion, and optionally is not based on a composition (e.g., although the content portion may be transparent or partially transparent so that at least some of the background portion having an appearance based on the composition is visible, as shown in FIG. 1 ). Figure 7G ).
[0152] In some cases, the composition is based on the appearance of a portion of the view of the three-dimensional environment when no user interface element is displayed. For example, Fig.7D The appearance of the user interface element 7030 in is based on Figure 7B and Figure 7C The appearance of the corresponding part of the environment 7104 in the 0 and time t 1 User interface element 7030 is not displayed (e.g., because user interface element 7030 is in response to the user interface element 7030 being displayed at time t 1 Afterwards and at time t 2 In some embodiments, the portion of the view of environment 7104 that is incorporated into the composition corresponds to the area of display 7100 occupied by user interface element 7030. For example, Fig.7D User interface element 7030 is shown occupying a corresponding area of display 7100. Although user interface element 7030 is not Figure 7C , but in some embodiments, the view of environment 7104 occupies Figure 7CIn some embodiments, the portion of the view of environment 7104 that is incorporated into the composition includes all or substantially all (e.g., 90% or more) of the portion of the view of environment 7104 that is occupied (or later occupied) by user interface element 7030 in the corresponding area of display 7100. In some embodiments, the portion of the view of environment 7104 that is incorporated into the composition extends beyond the corresponding area of display 7100 (e.g., frame t 0 ,t 1 and t 2 A solid line outline extending beyond a central portion of the composition, optionally outlining user interface element 7030 - d ).
[0153] In the example in scene 7036, Figure 7B The view of environment 7104 from time t 0 The portion that begins to be included in the frame and incorporated into the composition is the portion that includes a portion of the left side of the wall hanging 7106 at the left portion of the frame and a portion of the top of the ball 7108 at the bottom portion of the frame. 0 Excluding box 7012' at time t 0 Any portion that is not displayed in the view of the environment 7104 (e.g., because the physical box 7012 has not yet entered the field of view of one or more cameras corresponding to the displayed portion of the environment 7104).
[0154] According to the user's viewpoint changes and the environment 7104 changes, Figure 7C The view of the environment 7104 is included from time t 1 The portion of the composition that is incorporated into scene 7036 in the frame that begins is different from frame t 0 Specifically, frame t 1 The left side portion of the frame includes a portion of the left side of the wall hanging 7106, which is located at a position lower than the frame t 0 The portion of the wall hanging 7106 in FIG. 7 is located higher and has a smaller proportion (e.g., because Figure 7C The user's viewpoint has moved downward and is smaller than Figure 7B The user's viewpoint in frame t is farther from the wall 7004' and the wall hanging 7106). 1 A portion of the top of the ball 7108 is also included in the bottom portion of the frame, which portion is a portion of the top of the ball 7108 that is smaller than the frame t. 0 Specifically, due to the larger part of the part included in Figure 7C The user's viewpoint has moved downward and is smaller than Figure 7B The user's viewpoint in t is farther from the wall 7004', so in frame t 1 Environment 7104 Figure 7C This portion of the view includes more of ball 7108. Figure 7C Relative to Figure 7B Roll further to the right, so that ball 7108 in frame t 1 In frame t 0 In the top part of the frame, frame t 1 Also included is a portion of the bottom of the box 7012', which is shown Figure 7C 7104 in the view of the environment 7104 (e.g., according to the physical box 7012 falling in space and entering the frame t 1 The field of view of the computer system corresponding to that portion of the view of the environment 7104).
[0155] From the user's point of view Fig.7D A clockwise rotation of the viewpoint shown in Fig.7D The view of the environment 7104 is included from time t 2 The portion of the scene 7036 that is incorporated into the scene 7036 reflects the changes in the environment 7104 and is not necessarily the same as the portion of the scene 7036 that is incorporated into the scene 7036. 0 and t 1 Specifically, the frame t 2 The left part of the frame is smaller than the frame t 1 More of the left side of the wall hanging 7106 is included, and the included portion of the wall hanging 7106 is tilted counterclockwise. Since the ball 7108 has rolled further to the right, the frame t 2 The bottom portion of the frame also includes a smaller portion of the top of ball 7108, and the included portion of ball 7108 is also tilted counterclockwise (e.g., to a discernible degree given that ball 7108 is round). 2 Including more of box 7012′ in the top portion of the frame (e.g., in accordance with physically dropping box 7012 in space so that more of box 7012 is in the field of view of the computer system corresponding to the displayed view of environment 7104, and correspondingly so that more of box 7012′ is in the field of view of the computer system corresponding to the displayed view of environment 7104) Fig.7D ), and the included portion of box 7012' is also relative to frame t 2 Tilt counterclockwise.
[0156] In some embodiments, such as Figure 7G As shown, the frames used in the composition may be offset from each other based on the user's viewpoint at the time associated with each frame. Figure 7B The user's viewpoint in frame t 0 ) is different from Figure 7C The user's viewpoint in frame t1 ), the user’s point of view FIG. 7B to FIG. 7C has moved downward and further from the wall 7004', so that when the composition is formed, the frame t 0 The position of frame t 1 to the right and / or scaled up (e.g., zoomed in) and down. In other words, frame t 1 Relative to frame t 0 The shift and / or scaling of the frame t is consistent with the change in the user's viewpoint, so that 1 The content relative to frame t 0 Similarly, the content in Fig.7D In relative to FIG. 7B to FIG. 7C Clockwise rotation, frame t 2 The content relative to frame t 0 and t 1 The content is tilted counterclockwise.
[0157] In some embodiments, the appearance of user interface element 7030 is based on a composite of the appearances of the various portions of environment 7104, even if the simulated location of user interface element 7030 is farther from the user's viewpoint than those portions of environment 7104, as described above with reference to Figure 7F discussed. For example, Fig.7D The simulated position of the user interface element 7030 in may be as follows Figure 7F In this example, the appearance of user interface element 7030-d is based on the frame t 0 ,t 1 and t 2 7030-4, these frames include object portions that are closer to the user's viewpoint 7032 in the environment 7104 than to the position 7030-4 (e.g., wall hanging 7106, ball 7108, and 1 and 2 Box 7012') in the view, even if Fig.7D The user interface element 7030 in covers or replaces the view of the portion of those closer objects. Fig.7D The simulated position of the user interface element 7030 in is as follows Figure 7F , and the appearance of user interface element 7030-d is based on the appearance of portions of environment 7104 including portions of wall hanging 7106, ball 7108, and box 7012', even though location 7030-3 is farther from the user's viewpoint 7032 than ball 7108 and box 7012'. In yet another example, Fig.7DThe simulated position of user interface element 7030 in is position 7030-2, and the appearance of user interface element 7030-d is also based at least in part on the appearance of box 7012', even though box 7012' is closer to viewpoint 7032 than position 7030-2. Figure 7F , user interface element 7030 may have a simulated position of position 7030-1, which is closer to the user's viewpoint 7032 than any of box 7012', ball 7108, and wall hanging 7106.
[0158] In some embodiments, generating the composition includes assigning different weights to different frames. Optionally, frames given greater weights when generating the composition have a greater impact on the appearance of user interface element 7030 than frames given less weights. In scene 7036, the appearance of user interface element 7030-d may be based on frame t 0 a first amount (eg, a first degree or range) of 1 The second amount (eg, second degree or range) of difference in the frame t 2 For example, if frame t 2 The weight is higher than that of frame t 1 , and frame t 1 The weight is higher than that of frame t 0 , the top portion of user interface element 7030-d (eg, outlined by a solid line in the composition) is based on frame t 2 The appearance of the bottom portion of the middle box 7012' (eg, where the box 7012' straddles the solid outline) is greater than the appearance of the bottom portion of the middle box 7012' based on the frame t 1 The appearance of the corresponding part of the frame t (e.g., where the box 7012' is outside the solid outline) is even greater than that based on the frame t 0 In other words, the appearance of the corresponding part of the frame t 2 Compared to the case where the weight of box 7012' is lower, box 7012' contributes more significantly to the appearance of user interface element 7030-d as shown in scene 7036. Continuing with the same example, the lower right portion of user interface element 7030-d is more based on frame t 2 The appearance of the top part of the ball 7108 is not based on the frame t 1 and frame t 0 In other words, if frame t 1 If the weight of ball 7108 is higher, the contribution of ball 7108 to the appearance of user interface element 7030-d as shown in scene 7036 will be more significant because at frame t 1 The ball 7108 in the frame is larger than that in the frame t 0 and t 2 The center extends further into the solid outline.
[0159] In some embodiments, the weighting of frames in a composition is based on whether the frames are close in time to or far away from the time when the composition was generated. For example, in some embodiments, the contribution of frames that are closer in time to the time when the composition was generated (e.g., later, newer frames) is greater than the contribution of frames that are farther in time from the time when the composition was generated (e.g., older, less newer frames). Using the example in scene 7036, based on the time t 0 To time t 2 Compared with time t 1 Closer to time t 2 , at time t 2 The resulting composition optionally includes a 1 Than from frame t 0 Larger contributions, such as from frame t 1 The contribution of box 7012' in frame t 0 The absence of box 7012' contributes even more.
[0160] In some embodiments, one or more transformations or alterations are applied when generating a composition (e.g., first applied to a frame before it is used to generate a composition, or applied to an intermediate composition of unaltered frames to generate a final composition). In some cases, the transformations / alternations are used to smooth the appearance of the frames and / or the resulting composition, which improves the readability of content displayed overlaid on user interface elements. For example, a composition and / or a frame used to generate a composition may be blurred. In another example, the resolution of image or graphical information in a frame and / or the resulting composition may be reduced (e.g., by downsampling). In another example, a noise pattern may be applied to a composition and / or a frame used to generate a composition. Thus, Figure 7G The scene 7036 in FIG. 7036 shows a state in which a 2 When generating a composition, the frame t 0 ,t 1 and / or 2 User interface element 7030-d that is blurred and / or has a noise pattern applied to achieve a blurred appearance. In some embodiments, the frames are made partially translucent for use in generating the composition and / or the resulting composition is made partially translucent, which will allow the underlying environment 7104 to be at least partially visible below the user interface element 7030.
[0161] return Figure 7G , scene 7038 shows the generation of Fig. 7E Scene 7038 shows the appearance of user interface element 7030-e at time t. 3 appearance (e.g., Fig. 7E, which shows the appearance of the user interface element 7030 shown in FIG. 7104 at time t 3 The view) is based on the 3 A composition of multiple frames is generated, where different frames correspond to a portion of the view of environment 7104 at different times. User interface element 7030 at time t 3 Appearance ( Fig. 7E ) is optionally based on and used to generate a user interface element 7030 at time t 2 The appearance of the composition of the frames is different based on the frame ( Fig.7D Specifically, the composition in scene 7038 is based on the environment 7104 at time t 1 The appearance of a portion of the first view ( Figure 7C ), which corresponds to the environment 7104 on which is displayed Fig. 7E The portion of the user interface element 7030 in FIG. 7 is indicated by the dashed line; the environment 7104 at time t 2 A portion of the second view having user interface element 7030 displayed thereon ( Fig.7D )(or alternatively, environment 7104 at time t 2 The portion of the view that is later at time t 3 The portion of environment 7104 on which user interface element 7030 is displayed corresponds to, e.g. Fig. 7E ), indicated by a dotted line; and environment 7104 at time t 3 A portion of the third view of Fig. 7E In the example of scene 7038, the central portion of the composition indicated by the solid line defines the appearance of user interface element 7030-e. Figure 7G In the example shown, the composition in scene 7038 differs from the composition in scene 7036 in that the composition in scene 7038 includes frame t 3 excluding frame t 0 One of ordinary skill in the art will recognize that different combinations of current and / or previous frames may be included (or excluded) in the composition that defines the appearance of a user interface element at a given point in time, relative to frames used to determine the appearance of the user interface element at other points in time.
[0162] As discussed above with reference to scene 7036, the composition may in some cases be based on the appearance of a portion of the view of environment 7104 when user interface element 7030 is not displayed. Scene 7038 shows the composition based on the appearance of a portion of the view of environment 7104 before user interface element 7030 is displayed. Figure 7C The environment 7104 shown in FIG. 1In this case, the portion of the view of environment 7104 that is incorporated into the composition corresponds to the portion of the view of environment 7104 that is incorporated into the composition at a later time such as t 2 or 3 The area of display 7100 occupied by user interface element 7030. In addition, in some embodiments, the portion of the view of environment 7104 that is included in the particular frame incorporated into the composition extends beyond the boundaries of user interface element 7030 (e.g., frame t 1 ,t 2 and t 3 A solid line outline extending beyond a central portion of the composition, optionally outlining a user interface element 7030-e).
[0163] Frames used in the composition of scene 7038 1 and t 2 Taken from reference Figure 7C and Fig.7D The views of the environment 7104 are the same frames as those used in the composition described above with reference to scene 7036. FIG. 7D to FIG. 7E The user's viewpoint rotates counterclockwise in the transformation, Fig. 7E The view of the environment 7104 is included from time t 3 The portion of the composition that is incorporated into scene 7038 (eg, rather than frame t 0 ) relative to frame t 2 This part of the clockwise rotation makes the frame t 3 7104. Specifically, frame t 3 The left portion of the frame includes a portion of the left side of the wall hanging 7106, and the bottom portion of the frame includes a portion of the top of the ball 7108. 3 Also including more of the box 7012' in the top portion of the frame (e.g., based on the physical box 7012 falling in space so that more of the box 7012' is within the environment 7104 with the Fig. 7E 7030 portion of the user interface element).
[0164] Thus, user interface element 7030-e in scene 7038 has a different appearance than user interface element 7030-d in scene 7036 because user interface element 7030-e is based on a composition of a different frame having different contents than the frame used for the composition on which user interface element 7030-d is based. 3 and because user interface element 7030-e is based on a frame including 3composition, so box 7012' contributes more significantly to the appearance of user interface element 7030-e as shown in scene 7038 than box 7012' contributes more significantly to the appearance of user interface element 7030-d as shown in scene 7036.
[0165] As discussed above with reference to scene 7036, the frames used in the composition may be offset from one another based on the user's viewpoint at the time associated with each frame. For example, in scene 7038, the user's viewpoint may be offset from one another based on the user's viewpoint relative to the frame. Figure 7C and Fig. 7E The user's viewpoint rotates (e.g., clockwise) in frame t 2 The content relative to frame t 1 and t 3 The content of the rotation (for example, counterclockwise).
[0166] As also discussed above with reference to scene 7036, the appearance of user interface element 7030 is optionally based on a composition of the appearances of portions of environment 7104, even if the simulated location of user interface element 7030 is farther from the user's viewpoint than those portions of environment 7104. For example, Fig. 7E The simulated location of the user interface element in may be any one of locations 7030-1 through 7030-4, and user interface element 7030-e may have the same appearance for any of those simulated locations.
[0167] Additionally, as discussed above with reference to scenario 7036, in some embodiments, in scenario 7038 at time t 3 One or more transformations or changes are applied when generating the composition, such as blurring, applying a noise pattern, and / or downsampling the image or graphic information. Thus, scene 7038 shows a scene having a pixel size of 1000 pixels at time t 3 When generating a composition, the frame t 1 ,t 2 and / or 3 User interface element 7030-e that is blurred, downsampled, and / or has a noise pattern applied to achieve a blurred appearance.
[0168] Similarly, in scene 7038, generating the composition optionally includes assigning different weights to different frames. For example, the appearance of user interface element 7030-e may be based on frame t 1 The first quantity, frame t 2 The different second quantities and the frame t 3 For example, if frame t 3 The weight is higher than that of frame t 2 , and frame t 2 The weight is higher than that of frame t 1, then the top portion of user interface element 7030-e (eg, outlined by a solid line in the composition) is more based on frame t 3 The appearance of the bottom portion of the middle box 7012' (eg, where the box 7012' extends farther into the frame) rather than based on the frame t 2 (e.g., where box 7012' extends less into the frame and is also rotated counterclockwise relative to the frame). In other words, with frame t 3 Compared to the case where the weight of box 7012' is lower, box 7012' contributes more significantly to the appearance of user interface element 7030-e as shown in scene 7038. Continuing with the same example, the right portion of user interface element 7030-e is more based on frame t 3 The appearance of the left part of the wall mount 7106 is not based on the frame t 2 and t 1 In other words, if frame t 2 , the contribution of wall hanging 7106 to the appearance of user interface element 7030-e as shown in scene 7038 will be more significant because in frame t 2 The wall mount 7106 is larger than the frame t 1 and t 3 The center extends further into the solid outline.
[0169] As another example of assigning greater weights to frames from temporally closer to the time when the composition was generated (e.g., later, newer frames) than to frames from temporally farther away from the time when the composition was generated (e.g., earlier, less newer frames), in scene 7038, frame t 3 The weight is higher than that of frame t 1 , which is the same at time t 3 The resulting composition (at time t 1 Correspondingly, at time t 3 The generated composition comes from the frame t 3 The contribution from frame t 1 The contribution, for example, from frame t 3 The contribution of box 7012' is greater than that from frame t 1 The contribution of the smaller portion of box 7012'.
[0170] At time t 2 The generated composition (scene 7036) and time t 3 In the comparison of the generated compositions (scene 7038), it is also clear that the later frames contribute more to the composition. For example, both compositions include frame t 1 However, time t 1 Compared to time t 3 Closer to time t 2 , so at time t2 The resulting composition (scene 7036) includes the ratio at time t 3 The resulting composition is larger from the frame t 1 Specifically, frame t 1 The 7108 pairs of balls in the 2 The contribution of the resulting composition (scene 7036) is greater than that of frame t 1 The 7108 pairs of balls in the 3 The contribution of the generated composition (scene 7038) makes the effect of ball 7108 more prominent in user interface element 7030-d than in user interface element 7030-e. 0 The absence of 2 The resulting composition (scene 7036) and the frame t 0 Not included in time t 3 The generated composition does not contribute to it (scene 7038), and instead, at time t 3 The generated composition is based on an additional frame t that does include a portion of box 7012' 3 , such that the top portion of the resulting user interface unit 7030-d is less affected by the presence of box 7012' than the top portion of user interface unit 7030-e.
[0171] In some embodiments, the number of frames included in the composition is based on the amount of movement of the user's viewpoint. Figure 7G In, based on FIG. 7B to FIG. 7D The amount of movement of the user's viewpoint between 2 The resulting composition consists of three frames t 0 ,t 1 and t 2 . Similarly, based on FIG. 7C to FIG. 7E The amount of movement of the user's viewpoint between 3 The resulting composition consists of three frames t 1 ,t 2 and t 3 Those of ordinary skill in the art will recognize that, in situations where the amount of movement of the user's viewpoint is less, fewer frames may be included when generating the composition. For example, if the view of environment 7104 is at Fig.7D Zhongyu Figure 7C In the same way, at t 2 The resulting composition may include two frames instead of three frames (e.g., frame t 0 And from frame t 1 and t 2In other words, as the user's viewpoint moves more, the appearance of the underlying environment is sampled more frequently, so that the time interval between different frames included in the composition is larger when the user's viewpoint moves less, and smaller for a larger amount of movement of the user's viewpoint.
[0172] FIG. 7H to FIG. 7J Displaying a user interface element over a view of a three-dimensional environment is shown according to some embodiments, wherein the user interface element has the appearance of a color gradient generated based on one or more colors sampled from multiple points in the three-dimensional environment. FIG. 7H to FIG. 7J The user interface in is used to illustrate the processes described below, which include Fig. 9 process.
[0173] In some embodiments, as described herein with reference to FIG. 7A to FIG. 7G As described, user interface elements present a user interface and / or are displayed as three-dimensional objects at locations in three-dimensional space. User interface elements typically include a background based on a color gradient generated based on one or more colors sampled from the underlying environment and content with which a user can interact. According to various embodiments, FIG. 7H to FIG. 7J The behaviors described in the specification for user interface elements in some examples apply to user interface elements in other examples unless otherwise specified in the specification. In some embodiments, when the appearance of a corresponding user interface element is based on a color gradient, as described in this document with reference to FIG. 7H to FIG. 7J As described herein, one or more visual transformations are applied to one or more regions of the color gradient to generate a resulting appearance of the user interface element, as described herein with reference to Figure 7X to Figure 7Z Described in more detail.
[0174] Figure 7H The environment 7104 is shown at time T = t 2 of views (for example, Figure 7H yes Fig.7D ). Figure 7H , display generation component 7100 displays a view of environment 7104 in response to computer system 101 detecting an event that triggers display of user interface element 7040 instead of user interface element 7030. Fig.7D ), user interface element 7040 can be an application user interface (e.g., displayed in response to user input to launch an application), an alert, a notification, an operating system user interface, or other computer-generated object. Fig.7D In contrast, in this figure, user interface element 7030 is shown as having an appearance based on a graphical composition of underlying portions of environment 7104 at different times, including time t 2 The time before (and optionally including t2 ), but in Figure 7H , user interface element 7040 is displayed as having the appearance of a color gradient generated based on the colors sampled from environment 7104. Figure 7H In the example shown, according to the time t 2 The color gradient is generated by sampling the color from the environment 7104 at the corresponding time (for example, at time t 2 , which causes the gradient to be generated after Figure 7H The time t shown 2 Displayed 2 The time before, including or ending at t 2 In some embodiments, generating a color gradient for a given time or time range is less computationally intensive than generating a graphic composition of multiple frames from different time points.
[0175] Specifically, based on the portion of the view of environment 7104 covered by user interface element 7040 (in Figure 7H (left) to generate a color gradient based on the colors sampled from region 7042 of environment 7104. That is, the appearance of user interface element 7040 is based on a color gradient between multiple colors (e.g., two or more colors) sampled from region 7042 of environment 7104. Figure 7H In the example of FIG. 7040 , the sampled colors include a first color 7044-1 taken from box 7012′, a second color 7044-2 taken from wall hanging 7106, and a third color 7044-3 taken from wall 7004′. Thus, user interface element 7040 is displayed in a color gradient between colors 7044-1, 7044-2, and 7044-3. Figure 7H (right). Specifically, the color gradient from the upper left corner of user interface element 7040 overlaid on box 7012' to the upper right corner of user interface element 7040 overlaid on wall hanging 7106 changes from color 7044-1 sampled from box 7012' to color 7044-2 sampled from box 7106. Similarly, the color gradient from the upper left corner of user interface element 7040 overlaid on box 7012' to the lower left corner of user interface element 7040 overlaid on wall 7004' changes from color 7044-1 sampled from box 7012' to color 7044-3 sampled from wall 7004'. Likewise, the color gradient from the upper right corner of user interface element 7040 overlaid on wall hanging 7106 to the lower right corner of user interface element 7040 overlaid on wall 7004' changes from color 7044-2 sampled from box 7106 to color 7044-3 sampled from wall 7004'. The color gradient along the bottom edge area of user interface element 7040 is based on two colors that are both sampled from wall 7004'. Figure 7H , and thus the bottom edge area of user interface element 7040 is shown with no discernible gradient.
[0176] In some embodiments, such as Figure 7H As shown, user interface element 7040 includes a background portion 7040-a, a first content portion 7040-b, and a second content portion 7040-c. Content portions 7040-a and 7040-b optionally include visual content such as text or graphics, or include selectable and / or activatable objects such as buttons or controls. In some embodiments, the appearance of the background portion of the user interface element (e.g., background portion 7040-a of user interface element 7040) is based on a color gradient generated from colors sampled from different portions of the underlying three-dimensional environment. In some embodiments, the appearance of the content portion of the user interface element (e.g., content portions 7040-b and / or 7040-c) is based on the content displayed in the content portion, and optionally is not based on a color gradient (e.g., although the content portion may be transparent or partially transparent so that at least some of the background portion having an appearance based on the color gradient is visible, as shown in FIG. 1 ). Figure 7H ).
[0177] In some embodiments, such as FIG. 7H to FIG. 7J , user interface elements such as user interface element 7040 are opaque. That is, user interface element 7040 (specifically, including background portion 7040-a) is displayed as having an appearance based on the generated color gradient, and is not displayed as having a transparency that allows the underlying three-dimensional environment to be at least partially visible through user interface element 7040. In some embodiments, as shown in FIG. FIG. 7H to FIG. 7J As shown, the effect of the color gradient on the appearance of user interface element 7040 extends to the edges of user interface element 7040 (specifically, including background portion 7040-a).
[0178] Fig.7I Shown in Figure 7H The time t shown in 2 Different time T = t 3 of the environment 7104 (e.g., Fig.7I yes Fig. 7E ). Fig.7I Indicates from Figure 7H An exemplary transformation of Fig.7I The environment 7104 shown in FIG. 7104 reflects the user's viewpoint moving via a counterclockwise rotation (e.g., similar to the user's viewpoint moving from FIG. 7D to FIG. 7E changes), making the environment 7104 relative to Fig.7IDisplay 7100 in FIG. 7 appears horizontal. User interface element 7040 remains anchored to the user's viewpoint (e.g., the perspective of the computer system) rather than environment 7104. Thus, in response to the user's viewpoint being rotated counterclockwise to be substantially horizontal relative to environment 7104, user interface element 7040 is also rotated counterclockwise to be substantially upright relative to environment 7104 (e.g., maintaining the orientation of user interface element 7040 relative to the computer system). Fig.7I , the appearance of the user interface element 7040 displayed above the environment 7104 is based on the time t 3 The corresponding time or time range (for example, at time t 3 , which results in a gradient Fig.7I The time t shown in 3 Displayed time t 3 The time before, including or ending at t 3 A color gradient generated from colors sampled from the environment 7104 (during a time range of the embodiment of the present invention), and in particular based on the portion of the environment 7104 on which the user interface element 7040 is displayed.
[0179] Specifically, according to Fig.7I The colors sampled by area 7046 in (left) to generate the color gradient indicate the portion of the view of environment 7104 covered by user interface element 7040. Fig.7I In the example of FIG. 7 , the sampled colors include a first color 7044-4 (eg, different from a first color 7044-4) taken from bin 7012′. Figure 7H 7044-1), a second color 7044-5 taken from the wall hanging 7106 (e.g., different from Figure 7H 7044-2) and a third color 7044-6 taken from wall 7004' (e.g., different from Figure 7H Thus, user interface element 7040 is displayed in a color gradient between colors 7044-4, 7044-5, and 7044-6. Fig.7I(right). Specifically, the color gradient from the upper left corner of user interface element 7040 overlaid on box 7012' to the upper right corner of user interface element 7040 overlaid on wall hanging 7106 changes from color 7044-4 sampled from box 7012' to color 7044-5 sampled from box 7106. Similarly, the color gradient from the upper left corner of user interface element 7040 overlaid on box 7012' to the lower left corner of user interface element 7040 overlaid on wall 7004' changes from color 7044-4 sampled from box 7012' to color 7044-6 sampled from wall 7004'. Likewise, the color gradient from the upper right corner of user interface element 7040 overlaid on wall hanging 7106 to the lower right corner of user interface element 7040 overlaid on wall 7004' changes from color 7044-5 sampled from box 7106 to color 7044-6 sampled from wall 7004'. The color gradient along the bottom edge area of user interface element 7040 is based on two colors that are both sampled from wall 7004'. Fig.7I , and thus the bottom edge area of user interface element 7040 is shown with no discernible gradient.
[0180] In some cases, the color of the portion of environment 7104 behind user interface element 7040, and thus the sampled color, is the same from one point in time to another, such as if the user's viewpoint does not change from one point in time to another. Figure 7H Change to Fig.7I , and the environment 7104 is Fig.7I The portion after user interface element 7040 is the same as Figure 7H 7044-4 is the same as color 7044-1, if color 7044-5 is the same as color 7044-2, and if color 7044-6 is the same as color 7044-3. In this case, the color gradient aspect of the appearance of user interface element 7040 is Fig.7I In and Figure 7H In some embodiments, when generating user interface element 7040 at time t 2 After the appearance of the color gradient, the computer system will not need to regenerate the user interface element 7040 at time t 3 The color gradient of the appearance of user interface element 7040 will reduce the computational burden of generating the appearance of user interface element 7040 and / or displaying the user interface element.
[0181] Figure 7J Shown in Fig.7I The time t shown in 3 Different time T = t 4 A view of the environment 7104. Figure 7J Indicates from Fig.7I An exemplary transformation of Figure 7J The environment 7104 shown reflects the user interface elements 7040 from its Fig.7I The user interface element 7040 is moved to the right and slightly downward. Figure 7J The appearance in is based on the 4 The color gradient is generated from colors sampled from environment 7104 at a corresponding time or time range, and in particular based on the portion of environment 7104 on which user interface element 7040 is displayed.
[0182] Figure 7J Area 7048 in (left) indicates the portion of the view of environment 7104 covered by user interface element 7040. Figure 7J (right), user interface element 7040 is overlaid on a portion of environment 7104 including wall hanging 7106 and box 7014'. The appearance of user interface element 7040 is accordingly based on a color gradient between a plurality of colors sampled from region 7048 of environment 7104. Figure 7H In the example of , the sampled colors include a first color 7044-7 taken from the wall hanging 7106, a second color 7044-8 taken from the wall 7004', a third color 7044-9 taken from the box 7014', and a fourth color 7044-10 taken from the wall 7004'. Figure 7J(right), user interface element 7040 is displayed with a color gradient between colors 7044-7, 7044-8, 7044-9, and 7044-10. Specifically, the color gradient from the upper left corner of user interface element 7040 overlaid on wall hanging 7106 to the upper right corner of user interface element 7040 overlaid on wall 7004' transitions from color 7044-7 sampled from wall hanging 7106 to color 7044-8 sampled from wall 7004'. Similarly, the color gradient from the upper left corner of user interface element 7040 overlaid on wall hanging 7106 to the lower left corner of user interface element 7040 overlaid on wall 7004' transitions from color 7044-7 sampled from wall hanging 7106 to color 7044-10 sampled from wall 7004'. Likewise, the color gradient from the upper right corner of user interface element 7040 overlaid on wall 7004' to the lower right corner of user interface element 7040 overlaid on box 7014' transitions from color 7044-8 sampled from wall 7004' to color 7044-9 sampled from box 7014'. Additionally, the color gradient along the bottom edge area of user interface element 7040 transitions from color 7044-10 sampled from wall 7004' to color 7044-9 sampled from box 7014' from the lower left corner of user interface element 7040 overlaid on wall 7004' to the lower right corner of user interface element 7040 overlaid on box 7014'.
[0183] In some embodiments, the appearance of a user interface element at a given time (such as user interface element 7040 at time t 2 The appearance of the given time) is based on a color gradient using colors sampled at a time corresponding to the given time and not using colors sampled at a time corresponding to a time before the given time, such as time t 1 or time t 0 , thereby reducing the computational burden of generating the color gradient and thus generating the user interface element. In another example, the user interface element 7040 at time t 4 The appearance is based on the use of 4 The color sampled at the corresponding time is not used in the 4 Previous time such as t 2 or 3 The color gradient corresponding to the color sampled at that time.
[0184] In some embodiments where the appearance of a user interface element is based on a gradient between colors sampled from portions of the environment behind the user interface element, the colors are sampled from one or more other computer-generated user interface elements, and the appearance of those elements is also based on corresponding gradients between colors sampled from portions of the environment behind those other computer-generated elements and updated over time, similar to the foreground user interface element. FIG. 7H to FIG. 7J 7106, the appearance of one or more areas of the wall hanging 7106 is based on a color gradient between multiple colors sampled from one or more portions of the environment 7104 behind the wall hanging 7106 (e.g., one or more portions of the wall 7004'), then the appearance of the user interface element 7040 will be based on the color sampled from another computer-generated object (the wall hanging 7106), and its appearance is also based on the color gradient between multiple colors sampled from one or more portions of the environment 7104 behind the wall hanging 7106. FIG. 7H to FIG. 7J The technology described in user interface element 7040 is updated over time.
[0185] In some cases, multiple user interface elements whose appearance is based on overlapping portions of a three-dimensional environment (e.g., based on graphical composition and / or color gradients) are displayed as at least partially overlapping each other (e.g., as described herein with reference to Figure 7K The overlapping user interface elements 7050 and 7052 described herein). In some embodiments, the appearance of the user interface element in the background is generated using one or more of the techniques described herein (e.g., based on graphic composition and / or color gradients), and the appearance of the portion of the user interface element in the foreground that overlaps the user interface element in the background is based on, defined by, or the same as the appearance of the corresponding portion of the underlying user interface element. For example, as described above, if the appearance of the wall hanging 7106 is based on a color gradient between a color sampled from the wall hanging 7004' and other underlying portions of the environment 7104 behind the wall hanging 7106, then the appearance of the portion of the user interface element 7040 overlaid on the wall hanging 7106 is optionally based on, the same as, or a copy of the corresponding underlying portion of the wall hanging 7106, thereby reducing the computational burden when generating the user interface element 7040.
[0186] In some embodiments, the appearance of a user interface element is based on a color gradient between colors sampled from portions of the environment that overlap the user interface element (although not necessarily behind the user interface element). Figure 7F As described, portions of environment 7104 that are closer to viewpoint 7032 than user interface element 7030 to the user's viewpoint 7032 may contribute to the appearance of user interface element 7030. Similarly, the simulated location of user interface element 7040 in environment 7104 may be closer to box 7012', wall hanging 7106, and / or 7014' than to the user's viewpoint 7032. FIG. 7H to FIG. 7J7040 is further away from the user's viewpoint, while the color gradient of the appearance of user interface element 7040 may be generated based on colors sampled from box 7012', wall hangings 7106 and / or 7014', and optionally one or more other portions of environment 7104 that are closer to the user's viewpoint than the simulated location of user interface element 7040 (e.g., if FIG. 7H to FIG. 7J The simulated position of user interface element 7040 in relative to environment 7104 is position 7030-4, as shown in FIG. Figure 7F shown).
[0187] Figures 7K to 7O User interface elements (e.g., user interface element 7050 and user interface element 7052) are shown having the appearance of a simulated material having simulated thickness and curvature along the edges of the user interface elements according to some embodiments, wherein the edges of the user interface elements have simulated optical properties that interact with light in a three-dimensional environment. Figures 7K to 7O The user interface in is used to illustrate the processes described below, which include Fig.10 and Fig.11 According to some embodiments, reference Figures 7K to 7O The user interface elements described herein optionally have differences with respect to other examples such as FIG. 7A to FIG. 7G , FIG. 7H to FIG. 7J , Figure 7P , Figure 7Q to Figure 7W and / or Figure 7X to Figure 7Z One or more of the characteristics and / or behaviors of the user interface elements described in the examples in the specification, unless otherwise stated in the specification.
[0188] Figure 7K A view of an environment 7104 is shown displayed via the display generation component 7100. The displayed environment view 7104 includes a view of a portion of the box 7012', a view of the wall hanging 7106, and a view of a portion of the box 7014'. Figure 7K Shown are first user interface element 7050 and second user interface element 7052 displayed over a view of environment 7104 . Figure 7K The user interface elements 7050 in are displayed as three-dimensional objects having the appearance of being made of simulated materials (e.g., a pane or tray of simulated materials, such as transparent or translucent materials). Figure 7K The user interface element 7052 in FIG. 70 is displayed as a three-dimensional object having the appearance of being made of simulated material (e.g., a pane or tray of simulated material, such as a transparent or translucent material). The user interface element 7050 has an appearance based on the overlapping parts of the environment 7104 (such as the wall 7004' and / or the box 7012'), using the same reference numerals as described herein. FIG. 7A to FIG. 7G The described graphics composition of frames from different times, such as reference FIG. 7H to FIG. 7JIn addition, in some embodiments, the appearance of user interface element 7050 is updated over time based on changes in the appearance of the overlapping portions of environment 7104, similar to the appearance of user interface element 7050 described in reference to FIG. 7A to 7J Similarly, user interface element 7052 has an appearance based on the appearance of an underlying portion of environment 7104 (such as wall 7004', box 7012', and / or wall hanging 7106), using graphic compositions from frames at different times, color gradients, or other exemplary techniques described herein. In some embodiments, the appearance of user interface element 7050 is also updated over time based on changes in the appearance of overlapping portions of environment 7104, similar to the appearance of user interface element 7050 described herein with reference to FIG. 7A to 7J and user interface elements described by user interface element 7050.
[0189] exist Figure 7K In the example of , from the user's viewpoint, user interface element 7050 is in front of user interface element 7052 in environment 7104 (e.g., user interface element 7050 is positioned closer to the user's viewpoint than user interface element 7052, and user interface element 7050 optionally obscures a portion of the left side of user interface element 7052). In addition, from the user's viewpoint, user interface element 7052 is in front of box 7012', wall hanging 7106, and wall 7004', and optionally obscures them (e.g., user interface element 7052 is positioned closer to the user's viewpoint than box 7012', wall hanging 7106, and wall 7004'). As described herein with reference FIG. 7H to FIG. 7J As described in Figure 7K , the appearance of the portion of foreground user interface element 7050 that overlaps with background user interface element 7052 is, optionally, based on, identical to, or a copy of the corresponding underlying portion of user interface element 7052 (e.g., the appearance of the overlapping portion of user interface element 7050 is not independently generated based on the appearance of wall 7004' and box 7012', separate from the appearance of the corresponding portion of user interface element 7052 being generated partially based on wall 7004' and box 7012').
[0190] also, Figure 7K A representation of edge 7050-e of user interface element 7050 is shown. Edge 7050-e represents that user interface element 7050 is displayed with a simulated thickness between the front surface of user interface element 7050 and the back surface of user interface element 7050. Edge 7050-e is shown as having a simulated thickness between the front surface of user interface element 7050 and the back surface of user interface element 7050. Figure 7K7050 - e is shown as being curved in two dimensions (e.g., from the user's point of view, the shape of user interface element 7050 is a rounded rectangle). Alternatively or in addition, edge 7050 - e represents curvature in three dimensions (e.g., there is no straight edge resulting from two faces intersecting at an angle). Alternatively, edge 7050 - e represents multiple planes (e.g., planes of a rectangular prism), such as Figure 7L 7054 in the environment 7104. In some embodiments, an edge 7050-e of the user interface element 7050 is displayed with a visual effect of reflecting light from one or more light sources in the environment 7104. For example, a reflection (sometimes referred to as a specular reflection) is optionally displayed at a first position on the edge 7050-e to simulate a reflection from an outer surface of the user interface element 7050. In some embodiments, a reflection is optionally displayed at a second position on the edge 7050-e opposite to the first position (e.g., the lower right corner opposite to the upper left corner, or vice versa) to simulate an internal reflection from an inner surface of the user interface element 7050 (e.g., an internal reflection of some light that was not reflected at the location of the external specular reflection and has traveled through to the opposite side of the user interface element 7050). In some embodiments, the amount of specular reflection displayed along the edge 7050-e is based on the simulated thickness of the edge 7050-e of the user interface element 7050 (e.g., a thinner pane reflects less light than a thicker pane).
[0191] Similarly, edge 7052-e indicates that user interface element 7052 is displayed with a simulated thickness between the front surface of user interface element 7052 and the back surface of user interface element 7052. Although edge 7052-e of user interface element 7052 is Figure 7K , but may optionally be three-dimensional or alternatively represent multiple planes, such as Figure 7L7054 in the environment 7104. In addition, in some embodiments, an edge 7052-e of the user interface element 7052 is displayed to have a visual effect of reflecting light from one or more light sources in the environment 7104. For example, a specular reflection is optionally displayed at a first position on the edge 7052-e to simulate a reflection from the outer surface of the user interface element 7052, and another specular reflection is optionally displayed at a second position on the edge 7052-e opposite to the first position (e.g., the bottom edge opposite to the top edge, or vice versa) to simulate an internal reflection from the inner surface of the user interface element 7052 (e.g., an internal reflection of some light that was not reflected at the position of the external specular reflection and has traveled through to the opposite side of the user interface element 7052). In some embodiments, the amount of specular reflection displayed along the edge 7052-e is based on the simulated thickness of the edge 7052-e of the user interface element 7052 (e.g., a thinner pane reflects less light than a thicker pane).
[0192] In some embodiments, Figure 7K Specular reflections of user interface elements 7050 and / or 7052 in simulate reflections of light from one or more light sources in environment 7104. In some embodiments, the one or more light sources include a physical environment corresponding to environment 7104 (e.g., Fig. 7A In some embodiments, the one or more light sources include one or more simulated light sources in the environment 7104. FIG. 7L to FIG. 7O Simulated specular reflections from computer-generated user interface objects are described in greater detail.
[0193] In some embodiments, the appearance of the user interface element (including any specular reflections) changes based on different contexts of the three-dimensional environment. For example, the appearance of user interface element 7050 and / or the appearance of user interface element 7052 changes based on different contexts of environment 7104, such as different times of day (e.g., dawn or dusk versus noon, physical environment 7102 corresponding to environment 7104 (e.g., Fig. 7A ) in environment 7104), different room color temperatures (e.g., warmer tones versus cooler tones in environment 7104), different brightness (e.g., the brightness of light and / or color in environment 7104), and other ambient characteristics of environment 7104.
[0194] As described above, user interface element 7050 is displayed, for example, as a pane simulating a transparent or partially transparent material. In some embodiments, content associated with user interface element 7050 is displayed. In some embodiments, content is displayed as having a visual effect of being positioned behind the front surface of user interface element 7050 and embedded in a pane of simulated material (e.g., between the front surface and back surface of user interface element 7050, at a depth less than the simulated thickness of user interface element 7050). In some embodiments, content near edge 7050-e (e.g., within a threshold distance of the edge) of user interface element 7050 is displayed as having a visual effect of bending or wrapping around the simulated thickness of edge 7050-e to simulate the appearance of internal reflection and / or refraction within user interface element 7050 of the content (e.g., as would appear at the edge of a lens or glass pane). Content is configured to be moved (e.g., scrolled, repositioned, resized, rescaled, rotated, and / or other transformations applied) in response to user input. As content moves, different parts of content are within a threshold distance of edge 7050-e. Thus, the optical effect of internal reflection and / or refraction is updated based on the updated portion of the content within the threshold distance of edge 7050-e.
[0195] Similarly, in some embodiments, user interface element 7052 is displayed as a pane simulating a transparent or partially transparent material. In some embodiments, content associated with user interface element 7052 is displayed with a visual effect of being positioned behind the front surface of user interface element 7052 and embedded in the pane of simulated material. In some embodiments, content of user interface element 7052 near edge 7052-e of user interface element 7052 is displayed with a visual effect of bending or wrapping around the simulated thickness of edge 7052-e, and is updated as the content moves so that different portions of the content move within a threshold distance of edge 7052-e.
[0196] In some embodiments, content displayed as embedded within a user interface element is visible from the front of the user interface element but not clearly visible or not visible at all from the back of the user interface element. Figure 7K 100 and 100 are front views of user interface elements 7050 and 7052. In some embodiments, content displayed as embedded within user interface element 7050 and / or user interface element 7052 is visible from the perspective of user interface elements 7050 and 7052, such as Figure 7KIf the user's viewpoint changes relative to user interface element 7050 to a view of the back of user interface element 7050 (e.g., via movement of user interface element 7050 by the user's viewpoint to the back of user interface element 7050 or flipping or rotating user interface element 7050), then in some embodiments, the content is visually weakened, such as by blurring, fading, shading or darkening, or the content is not displayed. User interface element 7052 optionally exhibits similar behavior to user interface element 7050.
[0197] exist Figure 7K In FIG. 7 , user interface elements 7050 and 7052 cast one or more shadows on other objects in environment 7104. FIG. 7L to FIG. 7O As described in more detail, in some embodiments, shadows cast by user interface elements in a displayed three-dimensional environment are based on one or more light sources in the three-dimensional environment, such as simulated or computer-generated light sources and / or physical light sources in a physical environment corresponding to the displayed three-dimensional environment. Figure 7K , user interface element 7050 casts a shadow 7050-s on user interface element 7052 behind user interface element 7050. User interface element 7052 casts a shadow 7052-s on box 7012', wall hanging 7106, and wall 7004' behind user interface element 7052.
[0198] Figure 7L User interface element 7054 is shown displayed above the view of environment 7104. User interface element 7054 is displayed with a certain thickness, from Figure 7L From the user's viewpoint in FIG. 70, the thickness is visible along the top and left edges of user interface element 7054. In addition, where user interface element 7054 is displayed as a transparent or partially transparent material, the thickness of user interface element 7054 is optionally clearly visible from the right and bottom edges, from Figure 7L From the user's point of view, it will be displayed as partially visible through user interface element 7054.
[0199] In addition, user interface element 7054 includes multiple regions. Specifically, user interface element 7054 includes a first region 7054-a (e.g., a pane or tray of simulated material) that defines a front surface (e.g., a front face or front plane) of user interface element 7054. In some embodiments, region 7054-a of user interface element 7054 is similar to background portion 7030-a ( Fig.7D ) and / or background portion 7040-a ( Figure 7H). User interface element 7054 also includes regions 7054-b, 7054-c, and 7054-d having different depths relative to the front surface defined by user interface element 7054-a. In some embodiments, region 7054-a is a background portion of user interface element 7054. In some embodiments, regions 7054-a to 7054-c are content regions that include visual content such as text or graphics, or selectable and / or activatable objects such as buttons or controls. Figure 7L As shown in , regions 7054-b and 7054-c have a recessed appearance in the front surface of user interface element 7054 (e.g., the appearance of a recess in the surface, or the appearance of a portion of material removed from the surface, such as by etching or cutting). In contrast, region 7054-d has the appearance of material that is raised relative to the front surface of user interface element 7054 (e.g., the appearance of a portion of material that is extruded, embossed, added to or placed on top of the surface, or lifted from the surface). In some embodiments, the user interface element includes one or more raised areas similar to raised area 7054-d. In some embodiments, the raised areas of user interface element 7054 correspond to user interface elements that can be activated to perform operations in the user interface or in environment 7104, such as buttons, menus, or other controls. In some embodiments, the recessed areas of user interface element 7054 correspond to user interface elements that are content input areas (such as text input boxes).
[0200] User interface element 7054 is displayed as a material having optical properties that interact with light in environment 7104. Additionally, different regions of user interface element 7054 interact with light in environment 7104 according to the properties of those regions and according to the source of the light. Figure 7L Two light sources are shown, light source 7056 and light source 7058. Light source 7056 can be a physical light source (e.g., physically present in physical environment 7102 ( Fig. 7A ) or a simulated light source in environment 7104. Similarly, light source 7058 can be a physical light source or a simulated light source. For example, light sources 7056 and 7058 can both be physical light sources. Light sources 7056 and 7058 can both be simulated light sources; or one light source can be a physical light source and the other a simulated light source.
[0201] like Figure 7L As shown in FIG. 1 , user interface element 7054 is shown as having the appearance of reflecting light from light source 7058, as it does in FIG. Figure 7L The location in the environment 7104 and from Figure 7L7054 is presented to a person observing user interface element 7054 from the user's viewpoint in the environment 7104. For example, the top edge of user interface element 7054 faces light source 7058 and is displayed as having a reflection (also sometimes referred to herein as a specular reflection) corresponding to light source 7058. In some embodiments, light source 7058 is a physical light source in physical environment 7102, as described herein, and the specular reflection from the top edge of user interface element 7054 is generated and displayed by the computer system to simulate the appearance of a physical object in physical environment 7102 reflecting light from light source 7058. In some embodiments, light source 7058 is a simulated light source in environment 7104, as described herein, and the specular reflection from the top edge of user interface element 7058 is also simulated. In some embodiments, the amount of specular reflection from the top edge of user interface element 7054 is based on the simulated thickness of user interface element 7054.
[0202] In another example, the raised area 7054-d reflects light along its top edge facing the light source 7058 in a similar manner as the top edge of the user interface 7054. Figure 7L In the example shown, the amount of specular reflection from the top edge of raised region 7054-d is less than the amount of specular reflection from the top edge of user interface element 7054 because the thickness of raised region 7054-d relative to the front surface of user interface element 7054 (e.g., the extent to which raised region 7054-d protrudes from the surface of user interface element 7054) is less than the thickness of the top edge of user interface element 7054.
[0203] Compared to the top edge of user interface element 7054 and raised area 7054-d, recessed areas 7054-b and 7054-c reflect light along their bottom edges because the bottom edges of recessed areas 7054-b and 7054-c face light source 7058. Although the depth of recessed areas 7054-b and 7054-c relative to the front surface of user interface element 7054 is the same as the thickness of raised area 7054-d relative to the front surface of user interface element 7054, the amount of specular reflection from the bottom edge of recessed area 7054-b is less than the amount of specular reflection from the top edge of raised area 7054-c. This is consistent with the principle that because light must travel through the simulated material of user interface element 7054, less light reaches the bottom edge of recessed area 7054-b, while light reaching the top edge of raised area 7054-c is relatively less blocked. The amount of specular reflection from the bottom edge of recessed area 7054-c is less than the amount of specular reflection from the bottom edge of recessed area 7054-b, which is consistent with the following principle: for example, because light must travel a longer distance through the simulated material of user interface element 7054 (for example, and pass through raised area 7054-c), light reaching the bottom edge of recessed area 7054-b will be blocked more than light reaching the bottom edge of recessed area 7054-b.
[0204] In some embodiments, user interface element 7054 is also displayed as having the appearance of light reflected from an edge of user interface element 7054 opposite the light source into user interface element 7054. For example, Figure 7L Specular reflections from the bottom edge of user interface element 7054 are shown based on internal reflections of light from light source 7058 traveling through user interface element 7054 and based on user interface element 7054 being displayed as a transparent or partially transparent material (e.g., internal specular reflections are shown along the inside of the edge of user interface element 7054 opposite the location of external specular reflections). Figure 7L As shown, based on the specular reflection from the bottom edge of user interface element 7054 being associated with an internal reflection and / or based on the bottom edge of user interface element 7054 being farther from light source 7058 than the top edge of user interface element 7054, the amount of specular reflection from the bottom edge of user interface element 7054 is less than the amount of specular reflection from the top edge of user interface element 7054.
[0205] Although user interface element 7054 and its constituent regions are generally illustrated as having rectangular corners (also referred to as vertices) and rectangular edges (e.g., regions 7054-a through 7054-d are illustrated as rectangular prisms with rectangular recesses), one of ordinary skill in the art will recognize that other three-dimensional shapes are possible. For example, the corners of user interface element 7054 and / or regions 7054-a through 7054-d are optionally rounded rather than rounded. FIG. 7L to FIG. 7O , e.g., having a rounded rectangular shape from the user's perspective, e.g., the top surface of user interface element 7054 curves downward and becomes a side surface of user interface element 7054, rather than intersecting the right surface at one edge and the left surface at another edge, similar to Figure 7K Alternatively or in addition, the edges of user interface element 7054 and / or regions 7054-a to 7054-d are optionally rounded rather than rounded. FIG. 7L to FIG. 7O 7054-a curves backward away from the user and becomes a side of user interface element 7054, rather than intersecting the right side at one edge and the left side at another edge. In some embodiments, specular reflections on user interface element 7054 are positioned according to the shape of the surface of the user interface element at the corners and edges (e.g., different specular reflections are shown for rounded corners than for rectangular corners).
[0206] In addition to specular reflections, user interface elements can also cast shadows on other objects. For example, Figure 7L 7054-d, based on raised area 7054-d blocking some of the light from light source 7058 from reaching the portion of user interface element 7054 that is below and slightly to the left of raised area 7054-d, the raised area 7054-d casts a shadow 7054-s2 onto user interface element 7054. Based on user interface element 7054 blocking some of the light from light source 7058 from reaching the portion of environment 7104 that is below and slightly to the left of user interface element 7054, user interface element 7054 is also illustrated as casting a shadow 7054-s1 in environment 7104. One of ordinary skill in the art will recognize that similar principles regarding specular reflections and / or shadows may be applied to other objects in environment 7104, including, but not limited to, other computer-generated objects and / or representations of physical objects (e.g., simulated light may be projected onto physical objects, resulting in simulated specular reflections, and the physical objects may cast simulated shadows).
[0207] In some embodiments, specular reflections displayed based on objects in environment 7104 are based on a subset of light sources in environment 7104 and / or the corresponding physical environment 7102. One of ordinary skill in the art will recognize that one or more light sources may be selectively ignored when generating and presenting a view of environment 7104. For example, although Figure 7L Two light sources 7056 and 7058 are shown, but Figure 7L 7056. In some cases, light source 7506 is a physical light source, light source 7508 is a simulated light source, and the specular reflection is based on light source 7508, while the physical light source 7506 is ignored. This can provide a user with a more immersive viewing experience of environment 7104 in which the light sources are completely generated by the computer system. Alternatively, light source 7508 is a physical light source, and displaying the specular reflection based on the physical light source 7508 improves user safety by providing the user with a viewing experience that is more closely related to the user's surrounding physical environment.
[0208] Figure 7M User interface elements 7054 are shown displayed at different locations relative to environment 7104. Figure 7M In the , the user interface element 7054 is larger than in Figure 7L is closer to the user's viewpoint. Therefore, user interface element 7054 is Figure 7M In Figure 7L are shown in larger proportions (e.g., wider and taller) and have a size greater than Figure 7L The thickness h of the user interface element 7054 in 1 Thickness h 2 . According to the fact that objects appear larger when positioned closer to the user, Figure 7M The thickness h of the user interface element 7054 in 2 The increase is due in part to the repositioning of user interface element 7054 closer to the user's viewpoint. Additionally, in some embodiments, the thickness of user interface element 7054 is increased by an amount greater than that associated with repositioning user interface element 7054. For example, if an object is moved from Figure 7L The repositioning of the position shown in FIG. 74 to position 754 is associated with a first increase in the displayed thickness of the object (eg, user interface element 7054 will be displayed with a thickness greater than h 1 and is less than h 2 Thickness h 3 ), user interface element 7054 is displayed with a second increase in its display thickness, wherein the second amount is greater than the first amount. In some embodiments, magnifying the increase in display thickness of an object that has moved close to the user in the displayed three-dimensional environment helps the user better identify the repositioned object as closer.
[0209] Figure 7M Also included is a side view 7055 showing a profile view of user interface element 7054. Side view 7055 indicates the thickness of recessed region 7054-b, recessed region 7054-c, and raised region 7054-d relative to user interface element 7054 (e.g., the depth of recessed regions 7054-b and 7054-c relative to the front surface of user interface element 7054, and the thickness of raised region 7054-d relative to the front surface of user interface element 7054).
[0210] In addition, Figure 7M , the specular reflection on the user interface element 7054 is located at the same Figure 7L Specifically, Figure 7M The specular reflection in is based on light source 7056 instead of Figure 7L and simulates reflections from light source 7056 off user interface element 7054, as it does in Figure 7M The location in the environment 7104 and from Figure 7M The user interface element 7054 is presented by a person observing the user interface element 7054 from the user's viewpoint. For example, Figure 7M Specular reflections are shown at the upper left corner (e.g., top edge) of user interface element 7054 (e.g., at a location along the outer edge of user interface element 7054 facing light source 7056), and at the upper left corner of raised region 7054-d (e.g., at a location along the outer edge of raised region 7054-d facing light source 7056). Specular reflections are also shown at the inner lower right corner of recessed region 7054-b (e.g., at a location along the edge of recessed region 7054-b opposite light source 7056) and at the inner lower right corner of recessed region 7054-c (e.g., at a location along the edge of recessed region 7054-c opposite light source 7056). User interface element 7054 is also shown as having the appearance of light reflected into user interface element 7054 from its lower right corner (e.g., the internal specular reflection is shown along the inside of the edge of user interface element 7054 opposite the location of the external specular reflection), where the amount of internal specular reflection at the lower right corner is less than the amount of external specular reflection at the upper left corner.
[0211] In some cases, the location of the specular reflection from user interface element 7054 is changed from Figure 7L The position shown in Figure 7M7054 is at least partially due to a change in position of user interface element 7054 (e.g., based on user interface element 7054 moving in spatial position in environment 7104 farther from and / or less directly beneath light source 7058, and moving in spatial position in environment 7104 closer to and / or more directly beneath light source 7056). In some cases, the change in position of the specular reflection from user interface element 7054 is at least partially due to a change in the user's viewpoint relative to user interface element 7054. In some cases, the position of the specular reflection from user interface element 7054 changes from Figure 7L The position shown in Figure 7M The change in position shown in FIG. 7050 is at least partially due to a change in light source 7056 and / or light source 7058 (e.g., with Figure 7L In comparison, the light source 7058 Figure 7M has been dimmed or turned off, and / or light source 7056 is Figure 7M In some embodiments, the computer system selects which light source for specular reflections based on, for example, due to contextual factors such as time of day (e.g., daylight may be used as a light source during the day, while lamps may be used as a light source at night), room color temperature (e.g., a light source with a warmer color temperature may be used for specular reflections in a room with warmer tones and / or to achieve a warmer ambience in environment 7104), brightness (e.g., a brighter light source may be used for specular reflections in a brighter lit room, or to achieve a brighter lit room), and / or in response to a user selection of one or more particular light sources.
[0212] As referenced in this article Figure 7L As discussed, user interface element 7054 and portions thereof may cast shadows on other objects. Figure 7M 7054-d casts a shadow 7054-s3 onto user interface element 7054 based on raised area 7054-d blocking some of the light from light source 7056 from reaching the portion of user interface element 7054 that is below and to the right of raised area 7054-d. User interface element 7054 is also shown as casting a shadow 7054-s4 in environment 7104 based on user interface element 7054 blocking some of the light from light source 7056 from reaching the portion of environment 7104 that is below and to the right of user interface element 7054.
[0213] As this article also refers to Figure 7L As discussed, in some embodiments, specular reflections from user interface element 7054 are based on a subset of light sources in environment 7104 and / or corresponding physical environment 7102. For example, Figure 7M The specular reflection shown in FIG. 7 is based on light source 7056 rather than light source 7058 (eg, Figure 7L One of ordinary skill in the art will recognize that other embodiments are possible in which specular reflections of both light source 7056 and light source 7058 are displayed on user interface element 7054 and / or other objects in environment 7104.
[0214] Figure 7N Transitions that occur in user interface element 7054 in response to user interaction with user interface element 7054 are shown. Figure 7N The user 7002 is shown focusing on (eg, gazing at) the raised area 7054-d. Figure 7N 7054-d is indicated by a dashed line extending from the eyes of user 7002 to raised region 7054-d. In response to user 7002 focusing attention on raised region 7054-d, raised region 7054-d protrudes further from the surface of user interface element 7054 (e.g., from the front surface defined by region 7054-a). Side view 7055 illustrates an example of an increase in the thickness of raised region 7054-d relative to the surface of user interface element 7054 (e.g., from the front surface defined by region 7054-a). Figure 7M 7055 in the side view (compared to the profile view in FIG. 7055 ) without any change in the thickness (e.g., depth) of recessed regions 7054-b and 7054-c. In accordance with the increased thickness of raised region 7054-d, a greater amount of specular reflection from the upper left corner of raised region 7054-d is shown, and raised region 7054-d is shown as casting a longer shadow onto the portion of user interface element 7054 below and to the right of raised region 7054-d.
[0215] In some embodiments, in response to the user focusing attention on the raised area, the thickness of the raised area of the user interface element relative to the surface of the user interface element is changed (e.g., the thickness of the raised area 7054-d is increased, such as Figure 7N ; alternatively, the thickness decreases). In some embodiments, the thickness of a raised area of a user interface element changes by a first amount in response to a first portion of user input focusing attention on the raised area (e.g., the thickness increases in response to gazing at the raised area), and then changes by a second amount in response to a second subsequent portion of the user input (e.g., the thickness decreases in response to selection or activation of the raised area or, more specifically, a control defined by the raised area). In some embodiments, the depth of a recessed area of a user interface element does not change in response to the user focusing attention on the recessed area (e.g., the depth of recessed areas 7054-b or 7054-c will not change in response to the user's gaze). Alternatively, in some embodiments, the depth of a recessed area of a user interface element is changed (e.g., the depth increases, or the recessed area is changed to a raised area) in response to the user focusing attention on the recessed area, as described herein with reference to. Fig.7ODescribed in more detail.
[0216] In some embodiments, the raised area of the user interface element includes multiple layers, each layer being raised to a different degree relative to the surface of the user interface element. Figures 7L to 7M is shown as having a first thickness relative to the front surface of the user interface element 7054 and at Figure 7N 7054-d may include a single layer having a second greater thickness relative to the front surface of the user interface element 7054, but one of ordinary skill in the art will recognize that the raised area 7054-d may include a stack of layers each having a corresponding thickness. Figure 7P User interface elements having different layers and interactions with such user interface elements are described in more detail.
[0217] Fig.7O shows the response to Figure 7N The interactions shown in are different from the transitions made in user interface element 7054 resulting from user interactions with user interface element 7054. Fig.7O The user 7002 is shown focusing on (eg, gazing at) the recessed area 7054-b. Fig.7O 7054-b is indicated by a dotted line extending from the eyes of the user 7002 to the recessed area 7054-b (e.g., due to the user 7002 focusing his attention on the recessed area 7054-b). Figure 7M transition, or due to user 7002 shifting attention from area 7054-d to area 7054-b Figure 7N In response to user 7002 focusing attention on recessed area 7054-b, recessed area 7054-b is recessed further from the surface of user interface element 7054 (e.g., from the front surface defined by area 7054-a). Side view 7055 illustrates an example of recessed area 7054-b being recessed further from the surface of user interface element 7054 (e.g., from the front surface defined by area 7054-a). Figure 7M 7055 in FIG. 7054 ) without any change in the thickness of recessed region 7054-c and without any change in the thickness (e.g., height) of raised region 7054-d. A greater amount of specular reflection from the inner lower right corner of recessed region 7054-b is shown in accordance with the increased depth of recessed region 7054-b (e.g., without any change in specular reflection from recessed region 7054-c and raised region 7054-d). Fig.7OIn the example of , the change in specular reflection from recessed area 7054-b is attributed to a change in user interface element 7054 (e.g., more generally, a change in the simulated optical properties of the simulated material forming recessed area 7054-b and / or user interface element 7054) rather than to a change in one or more simulated and / or physical light sources in the three-dimensional environment (which may also be considered in some embodiments as described herein). In some embodiments, user interface element 7054 is shown as casting a shadow onto recessed areas such as 7054-b and / or 7054-c (e.g., a shadow cast by an edge of user interface element 7054 adjacent to the recessed area), and optionally, as the depth of recessed area 7054-b increases, a greater amount of shadow is shown as being cast by user interface element 7054 onto recessed area 7054-b.
[0218] In some embodiments, in response to the user focusing attention on the recessed area, the depth of the recessed area of the user interface element relative to the surface of the user interface element is changed (e.g., the depth of the recessed area 7054-b is increased, such as Fig.7O ; alternatively, the depth decreases). In some embodiments, the depth of the recessed area of the user interface element changes by a first amount in response to a first portion of the user input focusing attention on the recessed area (e.g., the depth increases in response to gazing at the recessed area), and then changes by a second amount in response to a second subsequent portion of the user input (e.g., the depth decreases in response to selection or activation of the recessed area or, more specifically, a control defined by the recessed area). In some embodiments, the depth of the recessed area of the user interface element does not change in response to the user focusing attention on the recessed area (e.g., the depth of recessed areas 7054-b or 7054-c will not change in response to the user's gaze). Alternatively, in some embodiments, the depth of the recessed area of the user interface element is changed by changing the recessed area to a raised area in response to the user focusing attention on the recessed area.
[0219] In some cases, such as those embodiments in which the recessed area is an input field (such as for text entry), the recessed area includes text. For example, a recessed area that is a search bar may include a text label, such as the word "Search", as a visual cue as to the purpose of the recessed area and how to interact with the recessed area. In another example, a recessed area that is an input field includes text previously entered by the user (e.g., an entered search term or search query provided via voice command, keyboard, or other input device). Figures 7M to 7N, in some embodiments, when the user's attention is not focused on the recessed area 7054-b, the text is positioned at a first depth relative to the recessed area 7054-b. In some embodiments, the text is in the same plane as the surface into which the area is recessed (e.g., at a zero depth relative to the user interface element 7054, at the same simulated distance from the user's viewpoint as the front surface of the user interface element 7054 defined by the area 7054-a). In some embodiments, the text is in the plane of the surface into which the area is recessed beyond the area (e.g., at a non-zero depth relative to the user interface element 7054, at a simulated distance greater from the user's viewpoint than the front surface of the user interface element 7054). In some embodiments, the text is in front of the recessed surface of the area 7054-b (e.g., at a smaller depth than it). In some embodiments, as the viewpoint of the user 7002 moves, the text exhibits parallax relative to the recessed surface, which improves the user's depth perception within the environment 7104.
[0220] In some embodiments, in response to user 7002 focusing attention on recessed area 7054-b, as described herein with reference to Fig.7O As described, in conjunction with the change in the depth of the recessed area 7054-b (e.g., increase), the depth of the text in the recessed area 7054-b is also changed (e.g., increased), optionally by an amount corresponding to the amount of change in the depth of the recessed area 7054-b. In some embodiments, in response to the user 7002 focusing attention on the recessed area 7054-b (e.g., merely indicating readiness to interact), the depth of the text in the recessed area 7054-b does not change until the user 7002 interacts with the recessed area 7054-b. In some such embodiments, in response to the user 7002 interacting with the recessed area 7054-b, such as with a gesture similar to that described herein, Figure 7UIn some embodiments, the depth of the text in the recessed area 7054-b is changed (e.g., increased) in response to the first portion of the input gesture, optionally by an amount corresponding to the amount of change in the depth of the recessed area 7054-b that occurred previously in response to the user 7002 focusing attention on the recessed area 7054-b (e.g., the change in the depth of the text is delayed relative to the change in the depth of the recessed area 7054-b). In some embodiments, the depth of the recessed area 7054-b does not change further in response to the first portion of the input gesture. In some embodiments, in response to the first portion of the input gesture, the depth of the text in the recessed area 7054-b is further changed (e.g., further increased) by more than the amount of change (if any) that occurred previously in response to the user 7002 focusing attention on the recessed area 7054-b, optionally while maintaining the depth of the recessed area 7054-b. In some embodiments, in response to the end of the input gesture, the change in the depth of the text in the recessed area 7054-b is reversed. For example, in response to the end of the input gesture, the text is restored to the same depth as in response to the first portion of the input gesture, the same depth as in response to the user 7002 focusing attention on the recessed area 7054-b, the default depth just before the user 7002 focused attention on the recessed area 7054-b, or any other depth that is different from (e.g., less than) the depth of the text in the recessed area 7054-b in response to the first portion of the input gesture. In some embodiments, as long as the user 7002's attention remains focused on the recessed area 7054-b, the change in text depth is partially reversed to an intermediate depth (e.g., the same depth as in response to the user 7002 focusing attention on the recessed area 7054-b) after the end of the input gesture, and then further reversed in response to the user 7002's attention no longer being focused on the recessed area 7054-b. In some embodiments, the changed depth of the recessed area 7054-b is maintained after the end of the input gesture as long as the user 7002's attention remains focused on the recessed area 7054-b. In some embodiments, in response to the end of the input gesture, the change in text depth is completely reversed (e.g., regardless of whether or even if the user's 7002 attention is still focused on the recessed area 7054-b). In some embodiments, the change in the depth of the recessed area 7054-b is also reversed in response to the end of the input gesture (e.g., regardless of whether or even if the user's 7002 attention is still focused on the recessed area 7054-b).
[0221] Figure 7P The layers of a user interface element (e.g., user interface element 7060) are shown separated to different degrees in response to different user interactions including a user focusing attention on the user interface element according to some embodiments. Figure 7PThe user interface in is used to illustrate the processes described below, which include Fig.12 According to some embodiments, reference Figure 7P The user interface elements described herein optionally have differences with respect to other examples such as FIG. 7A to FIG. 7G , FIG. 7H to FIG. 7J , Figures 7K to 7O , Figure 7Q to Figure 7W and / or Figure 7X to Figure 7Z One or more of the characteristics and / or behaviors of the user interface elements described in the examples in the specification, unless otherwise stated in the specification.
[0222] exist Figure 7P , scene 7062 shows a view of a computer system 101 displaying an environment 7104 (eg, via display generation component 7100), the view including a physical environment 7102 ( Fig. 7A ) as described herein. In addition, Figure 7P Displayed in environment 7104 in 7070 are a plurality of user interface elements (also referred to herein as icons). The plurality of user interface elements are displayed as icon group 7070 and represent a main user interface or launchpad for computer system 101, such as an icon for launching an application, an icon for starting a communication session (e.g., an icon corresponding to a different user other than user 7002), an icon for starting a computer-generated experience, a group icon for different categories of user interface objects, a container object such as a folder or group, a main button, a dock, a root menu, or other user interface elements for performing operations and interacting with the three-dimensional environment. The respective icons in icon group 7070 can be activated to perform one or more operations in environment 7104 (e.g., launching an application or experience, opening a file or folder, etc.).
[0223] Figure 7P Also shown is an enlarged view 7072 of the corresponding icon 7060, which shows that the icon 7060 includes multiple icon elements associated with different icon layers. For example, the envelope graphic is associated with (e.g., assigned to) the foreground layer 7060-1; the circular element is associated with (e.g., assigned to) the middle layer 706-2; and the square backing element is associated with (e.g., assigned to) the background layer 7030-3. One of ordinary skill in the art will recognize that additional elements (e.g., more than one element at a time) can be associated with the corresponding layer of the icon 7060, and that the user interface element 7060 can include more or fewer layers.
[0224] Figure 7PAlso shown are icons 7060 with different degrees of separation between layers 7060-1, 7060-2, and 7060-3. For example, view 7074 shows icons 7060 with no separation between layers 7060-1 to 7060-3. View 7076 shows icons 7060 with a first amount (or degree) of separation between each of layers 7060-1 to 7060-3. View 7078 shows icons 7060 with a second amount (or degree) of separation between each of layers 7060-1 to 7060-3 that is greater than the first amount of separation. One of ordinary skill in the art will recognize that different amounts of separation may be used for different groups of layers (e.g., optionally, the amount of separation between layers 7060-1 and 7060-2 is different from the amount of separation between layers 7060-2 and 7060-3 in views 7076 and / or 7078).
[0225] In some embodiments, a layer of a user interface element casts light and / or shadows onto one or more other layers of user interface elements. Figure 7N As described, a raised area of a user interface element (e.g., corresponding to an interactive control or content input area) (such as raised area 7054-d of user interface element 7054) optionally casts a shadow on user interface element 7054 and / or other portions of environment 7104. In addition, as described herein with reference to Figure 7N As described, the raised area of the user interface element optionally includes a stack of layers each having a corresponding thickness. Figure 7P As shown in view 7074 in , layers 7060-1 to 7060-3 each have a corresponding thickness, and in the absence of separation between layers 7060-1 to 7060-3, layers 7060-1 to 7060-3 appear to be stacked (e.g., such that the total thickness of user interface element 7060 is the sum of the thickness of each of layers 7060-1 to 7060-3). In some embodiments, layer 7060-1 casts a shadow onto layer 7060-2 and / or 7060-3 based on the thickness of layer 7060-1. Similarly, in some embodiments, layer 7060-2 casts a shadow onto layer 7060-1 and / or layer 7060-3 based on the thickness of layer 7060-2. Likewise, in some embodiments, layer 7060-3 casts a shadow onto layer 7060-1 and / or layer 7060-2 based on the thickness of layer 7060-3. In some embodiments, layers 7060-1 to 7060-3 cast shadows even when there is no separation between the layers (e.g., Figure 7N7076 ). In some embodiments, as shown in, for example, view 7076 , layers 7060-1 through 7060-3 cast shadows on each other while separated: layer 7060-1 casts a shadow onto layer 7060-2 (indicated by the shadowed area of layer 7060-2), which in turn casts a shadow onto layer 7060-3 (indicated by the shadowed area of layer 7060-3). In some embodiments, the appearance of the shadow is based on the degree of separation between the layers. For example, as shown in view 7078 , depending on the increased degree of separation between layers 7060-1 and 7060-2 in view 7078 relative to the degree of separation in view 7076 , layer 7060-1 casts a more diffuse shadow onto layer 7060-2 than the shadow in view 7076 . Similarly, as shown in view 7078 , layer 7060-2 casts a more diffuse shadow onto layer 7060-3 than the shadow in view 7076 , depending on the increased degree of separation between layers 7060-2 and 7060-3 in view 7078 relative to the degree of separation in view 7076 .
[0226] In some embodiments, the layers of user interface elements project light onto each other. For example, Figure 7P 7074, 7076, and 7078 in the environment 7104 may alternatively represent light. Thus, similar to the behavior described above with reference to shadows, in some embodiments, light projected by layers 7060-1 through 7060-3 onto each other has a different appearance based on the degree of separation between the layers. For example, based on the greater degree of separation between layers 7060-1 through 7060-3 in view 7076 than in view 7078, the light projected by layers 7060-1 and 7060-2 in view 7078 (e.g., represented by shadows) is more diffuse than the light projected by layers 7060-1 and 7060-2 in view 7076. In some embodiments, light projected by a first layer onto a second layer (or elsewhere in the environment 7104) is displayed to simulate light emitted by the first layer. In some embodiments, light projected from the first layer onto the second layer (or elsewhere in the environment 7104) is displayed to simulate light reflected off the first layer from one or more separate light sources (e.g., one or more physical and / or simulated light sources) in the environment 7104.
[0227] In some embodiments, icon 7060 is displayed with different amounts of separation between layers 7060-1 through 7060-3 based on different types of user input directed to icon 7060 and / or different degrees to which user input has been performed. Figure 7P In scene 7062, user 7002 does not interact with icon 7060. Figure 7PIn scene 7064, user 7002 is looking at icon 7060. Figure 7P In scene 7066 of FIG. 7002 , user 7002 is looking at icon 7060, and user's hand 7020 is in a ready state (e.g., a state in which the position of the user's hand and / or fingers indicates that the user is ready to perform an air gesture (such as a pinch when the user's gaze is directed toward the icon, or a tap at a location corresponding to the icon in the three-dimensional environment)), wherein hand 7020 is raised toward computer system 101 in a configuration in which the index finger is extended in the direction of computer system 101. Although in Figure 7P The user's left hand 7020 is shown in FIG, but one of ordinary skill in the art will recognize that the user's right hand 7022 may additionally or alternatively be used to provide input.
[0228] In some embodiments, in the absence of user interaction with the icon 7060, as shown in scene 7062, the icon 7060 is displayed without any separation between the layers 7060-1 to 7060-3, as shown in view 7074. In some embodiments, as shown in scene 7064, in response to the user 7002 focusing attention on the icon 7060 based on gaze, the icon 7060 is visually distinguished in the environment 7104, and specifically, slightly increased in scale relative to other icons in the icon group 7070, and is outlined to cast a shadow behind it in the environment 7104 (e.g., on the other icons in the icon group 7070). In some embodiments, in response to the user 7002 focusing attention on the icon 7060 based on gaze, as shown in scene 7064, the layers 7060-1 to 7060-3 of the icon 7060 are separated to a first degree shown in view 7076.
[0229] In some embodiments, as shown in scene 7066, in response to user 7002 focusing attention on icon 7060 based on gaze and hand state (e.g., hand position and configuration), icon 7060 continues to be visually distinguished (e.g., slightly increased in scale, outlined, and / or cast a shadow relative to other icons in icon group 7070) in environment 7104. Optionally, the type of visual distinction between the icon that is the subject of user attention and the other icons changes as user input progresses (e.g., as user 7002 brings hand 7020 into a ready state while gazing at icon 7060, or as user 7002 shifts gaze to icon 7060 while hand 7020 is in the ready state), such as by changing the scale of icon 7060, changing the outline of icon 7060, and / or changing a simulated shadow cast by icon 7060 into environment 7104. In some embodiments, as shown in scene 7066 , in response to the user 7002 focusing attention on the icon 7060 based on the gaze and hand state, the layers 7060 - 1 through 7060 - 3 of the icon 7060 are separated to a second extent shown in view 7078 .
[0230] In some embodiments, in a transition from scene 7066, when icon 7060 is displayed with the degree of separation indicated in view 7078, and when user 7002's gaze is directed toward 7060 and user 7002's hand 7020 is in a ready state, user 7002 performs a selection gesture to select icon 7060 (e.g., an air gesture such as a pinch when the user's gaze is directed toward the icon, or a tap at a location corresponding to the icon in a three-dimensional environment). In some embodiments, the selection gesture is a pinch gesture that includes two or more fingers of the hand (e.g., a thumb and index finger) moving toward each other. In some embodiments, as the selection gesture proceeds (e.g., the two fingers move toward each other before contact), the amount of separation between layers 7060-1 to 7060-3 decreases (e.g., icon 7060 transitions from an appearance having the degree of separation shown in view 7078 or at least partially transitions to an appearance having the degree of separation shown in view 7076). In some embodiments, in conjunction with reducing the degree of separation in response to the performance of the selection gesture, icon 7060 is changed in scale (e.g., reduced in scale). In some embodiments, if the performance of the selection gesture is reversed (e.g., the two fingers move away from each other before contact), the transformation of icon 7060 is reversed: for example, the amount of separation between layers 7060-1 to 7060-3 is increased (e.g., icon 7060 transitions or at least partially transitions from an appearance having the degree of separation shown in view 7076 to an appearance having the degree of separation shown in view 7078), and / or icon 7060 is changed in scale (e.g., increased in scale).
[0231] In some embodiments, as the selection gesture is completed (e.g., the two fingers touch and / or separate after touching), optionally while the user 7002's gaze remains on the icon 7060, the amount of separation between layers 7060-1 to 7060-3 increases again, and / or the icon 7060 is changed in proportion (e.g., increased in proportion). In some embodiments, the transformation of the icon 7060 in response to the completion of the selection gesture at least partially reverses the transformation of the icon 7060 in response to the initiation of the selection gesture (e.g., the initial movement of the two fingers toward each other before touching). In some embodiments, in response to the completion of the selection gesture, an operation associated with the icon 7060 is performed in the environment 7104. For example, an application (such as an email application associated with the icon 7060) is launched and a user interface associated with the application (such as an email application user interface) is displayed (e.g., having a configuration described herein). 7A to 7O In another example, a folder is opened and its contents are displayed. In another example, a communication session is initiated.
[0232] In some embodiments, the transformation of icon 7060 in response to user 7002 focusing attention on icon 7060 includes animation of one or more elements of icon 7060 (e.g., in addition to separation of layers 7060-1 to 7060-3 and / or rescaling of icon 7060). For example, an envelope graphic is optionally animated to show that the envelope is opening (e.g., by lifting the top cover of the envelope), the envelope shaking or vibrating, or other animations. In some embodiments, the animation of icon 7060 is displayed or performed in response to user 7002 performing a selection gesture pointing to icon 7060.
[0233] Figure 7Q to Figure 7W Changing the appearance of a selectable user interface object in response to input corresponding to the selectable user interface object and indicating preparation for interaction with the selectable user interface object is shown according to some embodiments. Figure 7Q to Figure 7W The user interface in is used to illustrate the processes described below, which include Fig.13 According to some embodiments, reference Figure 7Q to Figure 7W The user interface elements described herein optionally have differences with respect to other examples such as FIG. 7A to FIG. 7G , FIG. 7H to FIG. 7J , Figures 7K to 7O , Figure 7P and / or Figure 7X to Figure 7Z One or more of the characteristics and / or behaviors of the user interface elements described in the examples in the specification, unless otherwise stated in the specification.
[0234] like Figure 7Q to Figure 7W As shown in the example in FIG. 1 , content visible via display generation component 7100 of computer system 101 is displayed on a touch screen held by user 7002. In some embodiments, display generation component 7100 of computer system 101 is a head mounted display worn on the head of user 7002 (e.g., in FIG. 1 ). Figure 7Q to Figure 7W The content shown as visible via the display generation component 7100 of the computer system 101 corresponds to the field of view of the user 7002 when wearing the head-mounted display).
[0235] Figure 7Q A view of an environment 7104 visible via display generation component 7100 (e.g., having one or more portions displayed via the display generation component and / or one or more see-through portions visible through a transparent or semi-transparent display) is shown. The view of environment 7104 includes a view of wall hanging 7106, a view of virtual ball 7108, and a view of box 7014'. Figure 7Q Also shown is a user interface element 7080 displayed above the view of environment 7104. User interface element 7080 may be a user interface of an application executing on computer system 101, a system user interface (e.g., a settings user interface or an application launch user interface), an alert or notification, or a settings menu. User interface element 7080 is displayed as a three-dimensional object having the appearance of being made of simulated material (e.g., a pane or tray of simulated material, such as a transparent or translucent material), with the appearance of being displayed from the user interface element 7080. Figure 7Q The thickness of the visible top and left edges of user interface element 7080 from the user's viewpoint. In addition, depending on whether user interface element 7080 is displayed as a transparent or partially transparent material, the thickness of the visible top and left edges of user interface element 7080 may be reduced. Figure 7Q From the user's viewpoint, the thickness of user interface element 7080 is clearly visible from the right and bottom edges. User interface element 7080 has an appearance based on the underlying portion of environment 7104 (such as wall 7004', wall hanging 7106, ball 7108, and / or box 7014'), optionally using graphic compositions from frames at different times, color gradients, or other exemplary techniques described herein. Similar to the appearance of the user interface element 7080 described herein with reference to FIG. 7A to 7J The user interface elements described, in some embodiments, the appearance of the user interface element 7080 is also updated over time based on changes in the appearance of overlapping portions of the environment 7104.
[0236] User interface element 7080 includes multiple regions. Specifically, user interface element 7080 includes a first region 7080-a (e.g., a pane or tray of simulated material) that defines a front surface (e.g., a front face or front plane) of user interface element 7080. In some embodiments, region 7080-a of user interface element 7080 is similar to background portion 7030-a ( Fig.7D ), background portion 7040-a of user interface element 7040 ( Figure 7H ) and / or the first area 7054-a ( Figure 7L ). User interface element 7080 also includes regions 7080-b, 7080-c, and 7080-d, which correspond to selectable objects, such as buttons, menus, or other controls, which can be activated to perform corresponding associated operations in environment 7104. Figure 7Q As shown in , regions 7080-b, 7080-c, and 7080-d are flat and flush with the surface of user interface element 7080 (e.g., when user 7002 does not indicate readiness to interact with any of regions 7080-b, 7080-c, and 7080-d, such as by not focusing attention on any of these regions), as indicated in top view 7082, which shows a top view of user interface element 7080 and its regions 7080-b, 7080-c, and 7080-d. Figure 7Q The appearance of regions 7080-b, 7080-c, and 7080-d in the diagram is optionally a default appearance (e.g., based on default settings or values of one or more visual properties, such as brightness or darkness, opacity or transparency, size, thickness, amount of specular reflection, degree of blur, and / or degree of separation from user interface element 7080), which default appearance indicates that regions 7080-b, 7080-c, and 7080-d are not currently selected for further interaction, and optionally indicates that regions 7080-b, 7080-c, and 7080-d are in a first (e.g., closed or inactive) state.
[0237] User interface element 7080 is displayed as a material having optical properties that interact with light in environment 7104. Figure 7Q As shown, user interface element 7080 is displayed as having the appearance (e.g., based on a visual effect) of reflecting light from one or more sources (e.g., one or more physical light sources in the physical environment surrounding computer system 101 and / or one or more simulated light sources in environment 7104, or a subset thereof), such as it is displayed in the Figure 7Q The location in the environment 7104 and from Figure 7QThe user interface element 7080 is presented by a person observing the user interface element 7080 from the user's viewpoint. For example, according to the light sources above and to the left of the user interface element 7080, Figure 7Q Specular reflections are shown at the upper left corner (e.g., the upper left corner of the top edge) of user interface element 7080 (e.g., at a location along an outer edge of user interface element 7080 that faces a given light source) and at the inner lower right corner of user interface element 7080 (e.g., the internal specular reflection is shown along the inner side of the edge of user interface element 7080 opposite the location of the external specular reflection in the upper left corner, where the amount of internal specular reflection at the lower right corner is less than the amount of external specular reflection at the upper left corner. Figure 7Q As shown, because regions 7080 - b , 7080 - c , and 7080 - d are flat and flush with the surface of user interface element 7080 , these regions optionally do not display specular reflections.
[0238] Figure 7R Transitions are shown that occur in user interface element 7080 in response to user 7002 indicating a readiness to interact with user interface element 7080 . Figure 7R The user 7002 is shown focusing on (eg, gazing at) area 7080-b, which is shown in FIG. Figure 7R 7080-b. Prior to receiving an interactive input directed to region 7080-b, user 7002 focusing attention on region 7080-b indicates that user 7002 is ready to interact with region 7080-b. In some embodiments, in order for the input to indicate that user 7002 is ready to interact with the corresponding area (such as region 7080-b), the hand of user 7002 (e.g., left hand 7020, or right hand 7022 if computer system 101 is not held in right hand 7022) must be in a ready state (e.g., as a substitute or in addition to the requirement that user 7002 focus attention on the corresponding area).
[0239] like Figure 7RAs shown, in response to user 7002 focusing attention on region 7080-b, the visual appearance of region 7080-b is changed (e.g., changed to an appearance indicating that region 7080-b is selected for further interaction): the thickness of region 7080-b increases; the opacity of region 7080-b decreases (so that region 7080-b becomes more transparent); and region 7080-b is lifted off the surface of region 7080-a and more generally away from the surface of user interface element 7080 so as to appear to hover above the surface of user interface element 7080 (e.g., separated from the surface of user interface element 7080, such as in the z direction of an xyz coordinate system in which the front surface of user interface element 7080 defines an xy plane) and moved closer to the viewpoint of user 7002, as shown in environment 7104 and Figure 7R 7080-b is shown as indicated in top view 7082 in . Thus, a shadow is displayed as being projected by lifted region 7080-b onto the surface of user interface element 7080 (e.g., due to an increase in the thickness of region 7080-b and / or a separation of region 7080-b from the surface of user interface element 7080). In some embodiments, the increase in thickness of region 7080-b is displayed via an animated transition, such as an animation of a gradual increase in thickness of region 7080-b. Optionally, other visual changes are also animated. In some embodiments, in response to user 7002 focusing attention on region 7080-b, the size of region 7080-b (e.g., in the x-dimension and the y-dimension) is maintained. In some embodiments, the brightness of region 7080-b is increased.
[0240] In some embodiments, such as Figure 7R 7080-b is shown as a material having optical properties that interact with light in environment 7104, and based on the increase in thickness of region 7080-b, elevated region 7080-b is shown as appearing to reflect light, as indicated by the specular reflection from the upper left corner of elevated region 7080-b (e.g., similar to Figure 7R The light source corresponding to other specular reflections displayed on the user interface element 7080 in the same way as referenced here Figure 7Q ). In some embodiments, the amount of specular reflection and / or the extent to which the specular reflection extends along one or more edges of region 7080-b indicates a magnitude of the thickness of region 7080-b (e.g., the amount and / or extent of specular reflection from region 7080-b gradually increases or decreases (e.g., during an animation) as the thickness of region 7080-b gradually increases or decreases, respectively). In some embodiments, as Figure 7RAs shown, in response to user 7002 focusing attention on region 7080-b, the amount of blur of region 7080-b increases as the thickness of region 7080-b increases and is lifted away from the user interface 7080 (e.g., to enhance the visual effect of the translucent material being lifted away from the underlying objects, which will make the underlying objects appear blurrier through the lifted material).
[0241] Based on the user 7002 not indicating a readiness to interact with those areas (e.g., not focusing attention on those areas, such as by gazing at those areas), the appearance of areas 7080-c and 7080-d is shown in FIG. Figure 7R remains unchanged.
[0242] In some cases, environment 7104 includes a user interface element that includes a slider (e.g., for selecting a value for a particular setting from a set or range of multiple values, such as an audio volume level or brightness level, or for selecting a position within content, such as a playback position within audio and / or video). For example, user interface element 7080 optionally also includes a slider. In some embodiments, the slider is displayed without displaying controls for changing the current value of the slider (e.g., a slider thumb or arrow buttons) prior to input indicating the user 7002's intention to interact with the slider. In some embodiments, controls for changing the current value of the slider are displayed in response to input indicating the user 7002's intention to interact with the slider. In some embodiments, display of the slider control requires that the user 7002's attention is focused on the slider and that the user 7002's hand is in a ready state (while in some embodiments, only one of the two conditions is sufficient to trigger the display of the slider control). In some embodiments, the displayed slider control exhibits the same properties as described above with reference to FIG. Figure 7R Some of the same behaviors as the described lifting area 7080-b and / or having one or more of the visual attributes of the lifting area. For example, in some embodiments, the slider control has a non-zero thickness and / or a non-zero degree of separation from the user interface element of which the slider is a part. Optionally, the slider control has an opacity corresponding to (e.g., equal or proportional to) the opacity of the lifting area 7080-b. Optionally, the slider and / or slider control exhibits specular reflections, while in some embodiments, one or both of the slider or slider control do not exhibit specular reflections (e.g., unlike buttons and other control areas). Optionally, the slider control casts a shadow onto the underlying content, such as a slider and / or surrounding user interface elements. In some embodiments, if the user 7002 stops focusing on the slider, or if the user 7002's hand stops being in a ready state, or in some embodiments, if both of these situations occur, the slider control stops being displayed.
[0243] In some cases, environment 7104 includes a user interface element that includes a toggle switch (e.g., for selecting one of multiple (typically two) mutually exclusive values for a particular setting, such as for enabling or disabling a function or feature, or switching between two modes). For example, user interface element 7080 optionally also includes a toggle switch. The toggle switch typically includes a movable element (e.g., a disk or other shape) superimposed on a background element, with different areas of the background element representing different values of the setting (e.g., a bar or groove, with one end representing one value and the opposite end representing another value). In some embodiments, in the default appearance of the toggle switch (e.g., displayed when the user 7002's attention is not focused on the toggle switch and / or when the user 7002's hand is not in a ready state), the background element is a recessed area (e.g., similar to recessed area 7054-c ( Figure 7M )) and has a corresponding depth relative to the front surface of the surrounding user interface element. In some embodiments, the movable element is positioned in the recessed background area. In some embodiments, the movable element exhibits the same Figure 7R In some embodiments, the movable element may have some or all of the same behaviors as described for the lifted region 7080-b and / or have one or more of the visual attributes of the lifted region (e.g., reduced opacity, increased brightness, maintained size, and / or projection of shadows onto underlying content, such as onto background elements). In some embodiments, in a default state, the movable element has a corresponding thickness and / or height relative to the recessed background region. In some such embodiments, in response to the user 7002 focusing their attention on the toggle switch, the thickness of the movable element is not increased (e.g., because the movable element already has a non-zero thickness) and / or is not lifted off the recessed background region or otherwise changed in height relative to the recessed background region, so that the shadow cast onto the underlying content is not enhanced, but the movable element optionally exhibits a similar appearance to region 7080-b ( Figure 7R ) such as maintaining the same size, changing opacity, and / or changing brightness.
[0244] Figure 7S In response to user 7002 indicating preparation for interaction with user interface element 7080, Figure 7R Transitions made in user interface element 7080 as a result of interaction between different parts of the interface. Figure 7S The user 7002 is shown focusing on (eg, gazing at) area 7080-c, which is shown in FIG. Figure 7S 7080-c instead of extending from the eyes of the user 7002. Figure 7RPrior to receiving an interactive input directed to region 7080-c, focusing the user 7002's attention on region 7080-c indicates that the user 7002 is ready to interact with region 7080-c. Figure 7S As shown, in response to user 7002 focusing attention on region 7080-c, the visual appearance of region 7080-c is changed to be similar to that previously described in this document with reference to region 7080-b ( Figure 7R ) is changed to indicate that region 7080-c is selected for further interaction in a manner similar to that described above (and with respect to some visual attributes (such as size) to be similar to those previously described herein with reference to region 7080-b ( Figure 7R ) is unchanged). For example, the thickness of region 7080-c is increased, the opacity of region 7080-c is decreased (making region 7080-c more transparent), and region 7080-c is lifted off the surface of user interface element 7080 so as to appear to hover over the surface of user interface element 7080 and closer to the viewpoint of user 7002, as shown in environment 7104 and Figure 7S 7080-c is shown as being projected by elevated region 7080-c onto the surface of user interface element 7080. In some embodiments, the brightness of region 7080-c is increased. In some embodiments, region 7080-c is shown as having a material with optical properties that interact with light in environment 7104, similar to region 7080-b, and elevated region 7080-c is shown as appearing to reflect light, as indicated by the specular reflection from the upper left corner of elevated region 7080-c (e.g., as described herein with reference to FIG. 1 ). Figure 7Q to Figure 7R When viewed through elevated region 7080-c, the blurriness of underlying content (such as region 7080-a of user interface element 7080) is also increased.
[0245] Additionally, in response to user 7002 no longer focusing attention on region 7080-b, the visual appearance of region 7080-b reverts to its original state. Figure 7Q7080-b is not currently selected for further interaction. For example, region 7080-b is reduced in thickness (e.g., restored to being flat) and thus is no longer displayed as having a specular reflection, has an increased opacity, has a reduced amount of blur of underlying content (such as region 7080-a), and is replaced on the surface of user interface element 7080 (e.g., restored to being flush with the surface of user interface element 7080) and thus is no longer shown as casting a shadow on user interface element 7080, as shown in environment 7104 and Figure 7S In some embodiments, the brightness of region 7080-b is reduced. Based on user 7002 not indicating a readiness to interact with region 7080-d, the appearance of region 7080-d is reduced. Figure 7S remains unchanged.
[0246] Figure 7T In response to user 7002 focusing attention on (eg, gazing at) area 7080-b (eg, again, and Figure 7R scene) and the transformation in the user interface element 7080, which is Figure 7T 7080-b instead of extending from the eyes of the user 7002 to the area 7080-b. Figure 7S Directing the user 7002's attention to the area 7080-b indicates that the user 7002 is ready to interact with the area 7080-b (e.g., again). Figure 7T As shown in FIG. 1 , in response to user 7002 focusing attention on region 7080 - b , the visual appearance of region 7080 - b is changed to be similar to that previously described in reference to FIG. Figure 7R Area 7080-b and Figure 7S The area 7080-c is changed in a manner similar to that described above to Figure 7R , thereby indicating that region 7080-b is selected (e.g., reselected) for further interaction: the thickness of region 7080-b increases; the opacity of region 7080-b decreases; the blurriness of the underlying content increases; and region 7080-b is lifted off the surface of user interface element 7080 so as to appear to hover over the surface of user interface element 7080 and closer to the viewpoint of user 7002, as shown in environment 7104 and Figure 7T 7080-b is shown with a specular reflection from the upper left corner of lift region 7080-b and optionally with an increased brightness of region 7080-b.
[0247] Additionally, in response to user 7002 no longer focusing on area 7080-c, the user 7002 may Figure 7S The visual appearance of region 7080-c is restored to its original state. Figure 7Q 7080-c is not currently selected for further interaction. For example, region 7080-c is reduced in thickness (e.g., flattened) and thus is no longer displayed as having a specular reflection, has increased opacity, has reduced the amount of blur of underlying content, and is replaced on the surface of user interface element 7080 (e.g., so that the surface is flush) and thus is no longer shown as casting a shadow on user interface element 7080, as shown in environment 7104 and Figure 7R As indicated in the top view 7082 in FIG. 7002 , and optionally with reduced brightness (e.g., restored). Based on the user 7002 not indicating a readiness to interact with the region 7080 - d , the appearance of the region 7080 - d is shown in FIG. Figure 7T Still remains unchanged.
[0248] Figure 7U 7080 - b based on user 7002 performing an input gesture with his hand 7020 (e.g., an air gesture such as a pinch or a tap at a location in the three-dimensional environment corresponding to region 7080 - b). Figure 7T (or from Figure 7R ) Figure 7U Indicated by the hand 7020 with an arrow next to the middle hand 7020. In some embodiments, the input gesture is initiated when the user 7002 focuses on the user interface element 7080 (for example, specifically on the area 7080-b). In some embodiments, the input gesture is initiated after the hand 7020 enters the ready state (for example, the input gesture is initiated from the ready state). Although Figure 7U The left hand 7020 of the user 7002 is shown, but one of ordinary skill in the art will recognize that the user's right hand 7022 may additionally or alternatively be used to provide input. Figure 7U In response to user 7002 focusing attention on region 7080-b and performing an input gesture, thereby interacting with region 7080-b, the visual appearance of region 7080-b changes from its original appearance in Figure 7T A change in appearance in (e.g., from its Figure 7Q 7080-b), as shown in environment 7104 and indicated in top view 7082. For example, the size of lifted region 7080-b decreases, the opacity of lifted region 7080-b decreases (e.g., further), and lifted region 7080-b becomes darker (e.g., the brightness is optionally reduced to less than 100%). Figure 7Q7080-b is enhanced (e.g., lengthened and / or darkened). Optionally, one or more visual attributes of elevated region 7080-b, such as thickness, corresponding specular reflection, amount of blur of underlying content, and / or separation from the surface of user interface element 7080, are maintained in response to the input gesture, as also shown in environment 7104 and Figure 7U As indicated in the top view 7082 in FIG. Based on the absence of input directed to those areas (e.g., neither any input indicating a readiness to interact nor any input actually interacting with those areas is detected), Figure 7U to Figure 7W The appearance of areas 7080-c and 7080-d is maintained throughout.
[0249] As described above, in some cases, the corresponding user interface element in environment 7104 includes a slider. In some embodiments, the control for changing the current value of the slider behaves similarly to the above referenced control when it is displayed with an appearance responsive to user 7002 indicating an intent to interact with the slider. Figure 7U The lifting area 7080-b described above may have some of the same behaviors and / or one or more of the visual attributes of the lifting area (e.g., in response to an input gesture of the hand 7020). For example, in response to a gesture similar to Figure 7U In some embodiments, the slider control is reduced in size, reduced in opacity, and / or dimmed (while in some embodiments, opacity and / or brightness are maintained) for an input gesture of the input gesture. Optionally, a shadow cast by the slider control onto the underlying content is enhanced. In some embodiments, one or more of the visual properties of the slider control are maintained, such as thickness, corresponding specular reflection (if any), amount of blur of the underlying content, and / or amount of separation from the user interface element of which the slider is a part (if any). The value indicated by the slider optionally changes during the input gesture in response to movement of the input gesture (e.g., in response to lateral movement of the hand 7020 when in an air pinch or air tap configuration), and the amount of change in the value of the slider is optionally based on the amount of movement of the input gesture (e.g., proportional to or accelerated with the amount of movement of the input gesture).
[0250] As described above, in some embodiments, the corresponding user interface element in environment 7104 includes a toggle switch. In some embodiments, the movable element (e.g., a disk) of the toggle switch appears similar to the above referenced when it is displayed as having an appearance in response to the user 7002 indicating an intent to interact with the toggle switch. Figure 7UThe lifting area 7080-b described above may have some of the same behaviors and / or one or more of the visual attributes of the lifting area (e.g., in response to an input gesture of the hand 7020). For example, in response to a gesture similar to Figure 7U In some embodiments, the movable switching element is reduced in size, reduced in opacity, and / or dimmed (while in some embodiments, opacity and / or brightness are maintained) for an input gesture of the movable switching element. Optionally, a shadow cast by the movable switching element onto underlying content (including, for example, background elements) is enhanced. In some embodiments, one or more of the visual attributes of the movable element are maintained, such as thickness, corresponding specular reflection (if any), amount of blur of the underlying content, and / or amount of separation from surrounding user interface elements (if any).
[0251] Figure 7V 7080-b in response to completion of an input gesture performed by user 7002 and with the user 7002's attention remaining directed toward area 7080-b. Figure 7U In response to the end of the input gesture, the computer system 101 performs a corresponding operation associated with the region 7080-b (e.g., activating a button or control represented by the region 7080-b, launching an application, displaying a menu, dismissing an alert, switching a function, or other operation) and changes the visual appearance of the region 7080-b from its original position to its original position. Figure 7U Specifically, in Figure 7V , the size of lifting region 7080-b increases (e.g., returns to the size of FIG. 7Q to FIG. 7T any figure in the same size, or increased to a different size, such as Figure 7Q ), the opacity of the lifting area 7080-b is increased (e.g., restored to the same Figure 7T The same opacity as in Figure 7Q the same opacity, or increase to a different opacity level, such as increasing to a ratio of Figure 7Q greater opacity in the region 7080-b), and the brightness of the lifted region 7080-b is increased (e.g., restored to the same Figure 7T The same brightness as Figure 7Q the same brightness, or increase to a different brightness level, such as Figure 7Q In addition, the shadow shown as being cast by lift region 7080-b onto the surface of user interface element 7080 is reduced in intensity (e.g., shortened and / or brightened, e.g., reduced to about the same intensity as the shadow shown above). Figure 7T or Figure 7QOptionally, while the user's 7002 attention remains focused on the elevated region 7080-b after the input gesture ends, one or more visual attributes of the elevated region 7080-b, such as thickness, specular reflection, separation from the surface of the user interface element 7080, and shadow intensity, are maintained, as shown in the environment 7104 and Figure 7V In some embodiments, in response to Figure 7U In some embodiments, in response to the end of the input gesture, the corresponding operation associated with area 7080-b is performed, regardless of (e.g., even if) the user 7002's attention remains focused on area 7080-b. Figure 7U The input gesture ends and the user 7002's attention has moved away from area 7080-b to perform a corresponding operation associated with area 7080-b (for example, in response to the end of the input gesture, the execution of the corresponding operation is delayed until the same situation occurs where the user 7002's attention is no longer focused on area 7080-b).
[0252] As described above, in some cases, environment 7104 includes a user interface element that includes a slider, and in some embodiments, a control for changing the current value of the slider behaves as described above with reference to FIG. Figure 7U Some of the same behaviors as described for lift region 7080-b and / or one or more of the visual attributes of the lift region (e.g., in response to Figure 7U In addition, in some embodiments, the slider control exhibits the same input gesture as the above reference Figure 7V Some of the same behaviors as described for lift region 7080-b and / or one or more of the visual attributes of the lift region (e.g., in response to Figure 7U For example, in response to a gesture similar to Figure 7UAt the end of the input gesture of the input gesture, in some embodiments, the slider control is increased (e.g., restored) in size, increased in opacity (e.g., restored), and / or brightened (e.g., restored to the same brightness as when user 7002 indicated the intention to interact with the slider control before the input gesture) (and in some embodiments, the opacity and / or brightness are maintained). Optionally, the shadow cast by the slider control onto the underlying content is reduced in intensity (e.g., reduced to the same intensity as when user 7002 indicated the intention to interact with the slider control, or reduced to the same intensity as before user 7002 indicated the intention to interact). In some embodiments, while the attention of user 7002 remains focused on the slider or particularly on the slider control, the slider control continues to be displayed, at which time one or more visual attributes are maintained, such as thickness, corresponding specular reflection (if any), amount of blur of the underlying content, and / or separation from the user interface element of which the slider is a part, and after the attention of user 7002 moves away from the slider, the slider control stops being displayed (e.g., gradually disappears). In some embodiments, the slider control stops being displayed after the input gesture ends (e.g., regardless of and even if user 7002's attention remains focused on the slider).
[0253] As described above, in some cases, environment 7104 includes a user interface element that includes a toggle switch having a movable element that, in some embodiments, exhibits the same behavior as described above with reference to FIG. Figure 7U Some of the same behaviors as described for lift region 7080-b and / or one or more of the visual attributes of the lift region (e.g., in response to Figure 7U In addition, in some embodiments, the movable element exhibits the same input gesture as described above. Figure 7V Some of the same behaviors as described for lift region 7080-b and / or one or more of the visual attributes of the lift region (e.g., in response to Figure 7U For example, in response to a gesture similar to Figure 7UAt the end of the input gesture of the input gesture, the movable element is, in some embodiments, increased (e.g., restored) in size, increased (e.g., restored) in transparency, and / or brightened (e.g., restored to the same default brightness as before user 7002 indicated the intention to interact with the toggle switch, restored to the same brightness as in response to user 7002 indicating the intention to interact with the toggle switch, or increased to a different brightness level, such as increased to a brightness greater than the default brightness) (while in some embodiments, the opacity and / or brightness are maintained). Optionally, the shadow cast by the movable element onto the underlying content is reduced in intensity (e.g., reduced to the same intensity as when user 7002 indicated the intention to interact with the toggle switch, or reduced to the same intensity as before user 7002 indicated the intention to interact). In some embodiments, in response to the completion of the input gesture, a lateral movement of the movable element is displayed. For example, the movable element moves from a position corresponding to one switch value relative to the background element of the toggle switch to a different position corresponding to a different switch value relative to the background element of the toggle switch (e.g., moves from one end of the background element to the opposite end). In addition, the appearance of the toggle switch is changed to indicate the new switch value (e.g., via a change in color, such as from gray or white to green, or vice versa, or other visual attribute change). In some embodiments, after the input gesture ends, while the user's 7002 attention remains directed toward the toggle switch, the movable element continues to be displayed while one or more visual attributes are maintained (e.g., maintaining an increased brightness indicating the user's 7002 intent to interact with the toggle switch, wherein the increased brightness is applied to the toggle switch, whose appearance corresponds to the new switch value), and then after the user's 7002 attention is moved away from the toggle switch, the one or more visual attributes are restored (e.g., in the absence of the user's intent to interact with the toggle switch, the brightness of the toggle switch is restored to a default brightness, while the toggle switch otherwise maintains the same appearance corresponding to the new switch value).
[0254] Figure 7W In response to user 7002's attention being moved away from area 7080-b (as indicated by Figure 7W 7002 and to the left of user interface element 7080) and / or in response to a Figure 7U The input gesture performed by the user 7002 in the process ends (e.g., completes) and the Figure 7V In some embodiments, Figure 7W Indicated in Figure 7U After the input gesture performed by the user 7002 has ended, in response to the user 7002's attention moving away from the area 7080-b, Figure 7V In some embodiments, Figure 7WIn response to user 7002's attention moving away from area 7080-b, Figure 7U The input gesture performed by user 7002 ends and Figure 7U In some embodiments, Figure 7W Indicates that after the user 7002's attention has been moved away from area 7080-b, in response to the input gesture performed by the user 7002 ending, Figure 7U In some embodiments, environment 7104 is Figure 7W The appearance in represents the end of the input gesture performed by the user 7002 from Figure 7U The transition is performed regardless of whether the user 7002's attention has moved away from area 7080-b (e.g., the transition occurs in response to the end of the input gesture even if the user 7002's attention remains on area 7080-b). Figure 7W , the visual appearance of area 7080-b changes from its Figure 7V Appearance change in: The thickness of region 7080-b decreases (e.g., returns to the same Figure 7Q , where region 7080-b is flat), and the separation between region 7080-b and the surface of user interface element 7080 is reduced (e.g., restored to the same thickness as Figure 7Q 7080-b is flush with the surface of user interface element 7080), as shown in environment 7104 and in Figure 7W As indicated in top view 7082. Figure 7W The area in 7080-b is Figure 7Q Region 7080-b in is brighter and more opaque (e.g., less transparent). In some embodiments, Figure 7W The visual appearance of area 7080-b in indicates that area 7080-b is in a second state, such as an on or activated state (e.g., activated to change a setting of computer system 101 and / or perform a corresponding operation on computer system 101).
[0255] Figure 7X to Figure 7Z Shown is a method of visually distinguishing different portions of a computer-generated user interface object by applying different transformations to a representation of underlying content according to some embodiments, where the appearance of the user interface object is based on content in a surrounding three-dimensional environment behind the user interface object. Figure 7X to Figure 7Z The user interface in is used to illustrate the processes described below, which include Fig.14 According to some embodiments, reference Figure 7X to Figure 7Z The user interface elements described herein optionally have differences with respect to other examples such as FIG. 7A to FIG. 7G , FIG. 7H to FIG. 7J , Figures 7K to 7O , Figure 7P and / or Figure 7Q to Figure 7W One or more of the characteristics and / or behaviors of the user interface elements described in the examples in the specification, unless otherwise stated in the specification.
[0256] like Figure 7X to Figure 7Z As shown in the example in FIG. 1 , content visible via display generation component 7100 of computer system 101 is displayed on a touch screen held by user 7002. In some embodiments, display generation component 7100 of computer system 101 is a head mounted display worn on the head of user 7002 (e.g., in FIG. 1 ). Figure 7X to Figure 7Z The content shown as visible via the display generation component 7100 of the computer system 101 corresponds to the field of view of the user 7002 when wearing the head-mounted display).
[0257] Figure 7X Shown with Fig.7D The same scenario as in , in which at time T = t 2 A view of environment 7104 is visible via display 7100 of computer system 101. At time t 2 User interface element 7030 has an appearance based on the appearance of one or more portions of environment 7104 beneath user interface element 7030. Figure 7X to Figure 7Z Shown based on FIG. 7D to FIG. 7G An example of a user interface element 7030 of the embodiment of the present invention, the appearance of which is based on the reference Figure 7G The underlying portions of the described environment 7104 are graphically composed of their appearance at one or more times, but reference is made herein to Figure 7X to Figure 7Z The concepts described apply similarly to FIG. 7H to FIG. 7J A user interface element 7040 whose appearance is based on a color gradient generated based on colors sampled from an underlying portion of the environment 7104. Figure 7G The graphic composition and FIG. 7H to FIG. 7J The color gradients are both examples of content that is a blurred representation of the underlying portion of what is referred to herein as environment 7104.
[0258] Figure 7X Also shown is an expanded view 7084 of user interface element 7030. Expanded view 7084 shows four regions that are part of user interface element 7030. Region 7084-a is a background portion of user interface 7030 that corresponds to, for example, a non-interactive area, such as an area that does not include selectable content (such as text, images, buttons, and / or other controls) (e.g., similar to region 7030-a ( Fig.7D )、Area 7040-a( Figure 7H ) and / or Area 7054-a( Figure 7L)). Region 7084-b represents interactive (e.g., selectable) objects such as buttons, toggle switches, sliders, and / or other controls (e.g., similar to regions 7030-b and 7030-c ( Fig.7D ), area 7040-b and 7040-c ( Figure 7H ) and / or Area 7054-d( Figure 7L )). Region 7084-c corresponds to the text "TEXT1" and encompasses the area occupied by the characters of "TEXT1". Region 7084-d corresponds to the text "TEXT2" and encompasses the area occupied by the characters of "TEXT2". In some embodiments, such as in Figure 7X In the example, background region 7084 - a , control region 7084 - b , text region 7084 - c , and text region 7084 - d are mutually exclusive regions (eg, mutually exclusive areas covering user interface element 7030 ).
[0259] like Figure 7X As shown, the appearance of user interface element 7030 is the result of different visual transformations applied to different areas of the starting point representation (also called blurred representation) of the one or more underlying portions of environment 7104. In some embodiments, the starting point representation is a Figure 7G In scene 7036 at time t 2 The appearance of the user interface element 7030-d is based on the resulting composition. In some embodiments, the starting point represents the generated color gradient, Figure 7H At time t 2 The appearance of user interface element 7040 is based on the generated color gradient. In some embodiments, the color saturation in the starting point representation (e.g., at any given time, including at time t 2 and / or at time t 3 ) relative to the appearance of an underlying portion of the environment 7104 on which the starting point representation is based (e.g., generating the composition or color gradient includes increasing the color saturation, or an additional step of increasing the color saturation is applied to the generated composition or color gradient to produce the starting point representation). Figure 7X 7084-a of user interface element 7084 is transformed by a process referred to herein as “Transform X A The first transformation of " is selectively applied to the region represented by the starting point corresponding to the region included in the background region 7084-a (for example, as if the transformation X A The image mask representing the shape of the background region 7084-a is generated before the starting point (eg, excluding other regions). In some embodiments, the transformation X A Apply Transform X AIn some embodiments, the transformation X A Apply a gray filter (e.g., to apply a transformation X A The area indicated by the starting point is darkened, the grayscale of the area is increased, and / or the color saturation of the area is reduced (e.g., offsetting the increased color saturation represented by the starting point or restoring the color saturation represented by the starting point)). Figure 7Z The transformation X is shown in A A larger view of the effect of , where panel 7088-a shows the applied 2 The entire starting point represents the transformation X A The result of transforming X A Not applied to certain other areas of user interface element 7084. Figure 7X In the example, we do not transform X A Applied to any of regions 7084-b, 7084-c, and 7084-d. Instead, different transformations are applied to those regions.
[0260] For example, the appearance of control area 7084-b is controlled by a process referred to herein as "Transform X B A different second transformation of " is selectively applied to the region represented by the starting point corresponding to the region included in the control region 7084-b (e.g., as if the transformation X B The image mask (eg, two rectangles) in the shape of the control region 7084-b is applied to the starting point representation to generate, and in some embodiments, the transformation X B Apply Transform X B The area is brightened (e.g., its brightness is increased). Figure 7Z The transformation X is shown in B A larger view of the effect of , where panel 7088-b shows the transformation X B Applied to time t 2 The result is represented by the entire starting point. Figure 7X In the example, we do not transform X B Applicable to any of regions 7084-a, 7084-c, and 7084-d.
[0261] Figure 7X Regions 7084-c and 7084-d of user interface element 7084 in FIG. 7084 show two different examples of transformations applied to text regions. For example, the appearance of text region 7084-c is the result of the following operations: abandoning the application of the transformation X described relative to background region 7084-a A , abandon the application of the transformation X described relative to control area 7084-b B , and abandoning the application of the transformation X described below for other text regions 7084-d D(For example, no transformation is applied to the origin representation, or a visual transformation that is an identity transformation is applied to the origin representation.) In other words, the appearance of the text area 7084-c is the result of maintaining the appearance of the transformation of the origin (for example, the result of maintaining the graphic composition or color gradient). Figure 7Z The abandonment of applying any transformation to time t is shown in 2 The starting point of the effect represents a larger view (e.g., time t 2 7084-c) where panel 7088-c shows the starting point representation without any transformation applied. In a corresponding area where one or more visual transformations are otherwise applied, refraining from applying some or all of the one or more visual transformations to a text character area is a way to improve the legibility of the text (e.g., a non-transformed area). In some embodiments, the appearance of text area 7084-c is the result of applying what is referred to herein as a "transformation X". C The fourth transformation (transformation X C Different from transformation X A , Transform X B and transform X D ), without transforming X A , Transform X B and transform X D Any of the above is applied to the text area 7084-c, and optionally the transformation X is not applied. C Applicable to any of regions 7084-a, 7084-b, and 7084-d.
[0262] In contrast, the appearance of text region 7084-d is the result of the following operation, which will be referred to herein as "Transformation X D The third t...
Claims
1. A method, include: At a computer system in communication with a display generating component: The display generation component simultaneously displays: a view of the physical environment; and a computer-generated user interface element overlaid on at least a portion of the view of the physical environment, wherein an appearance of the computer-generated user interface element is based on an appearance of one or more portions of the view of the physical environment overlaid by the computer-generated user interface element; When the view of the physical environment and the computer-generated user interface element are displayed simultaneously, the appearance of a portion of the physical environment changes; and In response to the change in the appearance of the portion of the physical environment, the appearance of the computer-generated user interface element is updated at a first time based on a graphical composition of the appearance of the one or more portions of the physical environment at different times prior to the first time, the appearance of the one or more portions of the physical environment at different times prior to the first time comprising: an appearance of a first portion of the physical environment at a second time prior to the first time; and The appearance of a second portion of the physical environment at a third time before the second time. 2 . The method of claim 1 , wherein the appearance of the portion of the physical environment changes in response to movement of the computer system relative to the physical environment.
3. The method of claim 1, wherein the appearance of the portion of the physical environment changes in response to movement of one or more objects in the physical environment, wherein the one or more objects are distinct from the computer system.
4. A method according to claim 1, wherein the computer-generated user interface element includes content, and the update to the appearance of the computer-generated user interface element based on the graphical composition is applied to one or more areas of the computer-generated user interface element that are different from the content of the computer-generated user interface element.
5. The method according to any one of claims 1 to 4, in: the graphic composition is based on a first amount of the appearance of the first portion of the physical environment at the second time before the first time, and based on a second amount of the appearance of the second portion of the physical environment at the third time before the second time; and The first amount is different from the second amount.
6. A method according to claim 5, wherein at the first time, one or more parts of the physical environment at a time closer to the first time contribute more to the appearance of the computer-generated user interface element at the first time than the one or more parts of the physical environment at a time farther from the first time contribute to the appearance of the computer-generated user interface element at the first time.
7. A method according to claim 6, wherein the contribution of one or more parts of the physical environment to the appearance of the computer-generated user interface at the first time at a time farthest from the first time is less than the contribution of the one or more parts of the physical environment to the appearance of the computer-generated user interface at the first time at any time closer to the first time.
8. A method according to any one of claims 1 to 4, wherein the graphical composition is based on the appearance of the one or more parts of the physical environment at multiple different times before the first time, and the multiple different times are based on the amount of movement of the computer system relative to the physical environment.
9. The method of any one of claims 1 to 4, wherein determining the graphical composition comprises applying a noise pattern to the captured information about the appearance of the one or more parts of the physical environment at the different times.
10. The method according to any one of claims 1 to 4, in, In determining the graphical composition of the one or more portions of the physical environment at the different times, the appearance of the first portion of the physical environment at the second time is offset from the appearance of the second portion of the physical environment at the third time based on a difference between the perspective of the computer system at the second time and the perspective of the computer system at the third time.
11. A method according to any one of claims 1 to 4, wherein determining the graphical composition of the appearance of the one or more portions of the physical environment at the different times includes blurring a view of the physical environment captured by one or more cameras of the computer system.
12. The method according to any one of claims 1 to 4, wherein the graphic composition is partially translucent.
13. A method according to any one of claims 1 to 4, wherein determining the graphical composition of the appearance of the one or more parts of the physical environment at the different times includes reducing the resolution of information about the one or more parts of the physical environment captured at different times before the first time.
14. The method of any one of claims 1 to 4, wherein the appearance of the computer-generated user interface element is updated as a viewing angle of the computer-generated user interface element changes.
15. The method of any one of claims 1 to 4, wherein the appearance of the computer-generated user interface element is updated as the computer-generated user interface element moves.
16. The method of any one of claims 1 to 4, updating the appearance of the computer-generated user interface element based on one or more additional computer-generated user interface elements having a simulated position behind the simulated position of the computer-generated user interface element.
17. The method of claim 16, wherein the appearance of the one or more additional computer-generated user interface elements is updated over time.
18. The method of any one of claims 1 to 4, wherein the computer-generated user interface element is a back surface of a displayed user interface comprising one or more selectable user interface objects.
19. A method according to any one of claims 1 to 4, wherein the appearance of the computer-generated user interface element is based on the appearance of one or more portions of the view of the physical environment covered by the computer-generated user interface element, without regard to a simulated position of the computer-generated user interface element relative to the physical environment.
20. A method according to any one of claims 1 to 4, wherein the simulated position of the computer-generated user interface element is at a first distance from a user's viewpoint, and the appearance of the computer-generated user interface element is based on the appearance of one or more portions of the physical environment at a second distance from the user's viewpoint, wherein the first distance is greater than the second distance.
21. A computer system in communication with a display generation component, the computer system include: one or more processors; and A memory storing one or more programs, wherein the one or more programs are configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the following operations: The display generation component simultaneously displays: a view of the physical environment; and a computer-generated user interface element overlaid on at least a portion of the view of the physical environment, wherein an appearance of the computer-generated user interface element is based on an appearance of one or more portions of the view of the physical environment overlaid by the computer-generated user interface element; When the view of the physical environment and the computer-generated user interface element are displayed simultaneously, the appearance of a portion of the physical environment changes; and In response to the change in the appearance of the portion of the physical environment, the appearance of the computer-generated user interface element is updated at a first time based on a graphical composition of the appearance of the one or more portions of the physical environment at different times prior to the first time, the appearance of the one or more portions of the physical environment at different times prior to the first time comprising: an appearance of a first portion of the physical environment at a second time prior to the first time; and The appearance of a second portion of the physical environment at a third time before the second time.
22. The computer system according to claim 21, in, The one or more programs include instructions for executing the method of any one of claims 1-20.
23. A computer-readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by a computer system in communication with a display generation component, cause the computer system to perform operations comprising: The display generation component simultaneously displays: View of the physical environment ; and a computer-generated user interface element overlaid on at least a portion of the view of the physical environment, wherein an appearance of the computer-generated user interface element is based on an appearance of one or more portions of the view of the physical environment overlaid by the computer-generated user interface element; the appearance of a portion of the physical environment changes while the view of the physical environment and the computer-generated user interface element are displayed simultaneously; and In response to the change in the appearance of the portion of the physical environment, the appearance of the computer-generated user interface element is updated at a first time based on a graphical composition of the appearance of the one or more portions of the physical environment at different times prior to the first time, the appearance of the one or more portions of the physical environment at different times prior to the first time comprising: an appearance of a first portion of the physical environment at a second time prior to the first time; and The appearance of a second portion of the physical environment at a third time before the second time.
24. The computer-readable storage medium of claim 23, in, The one or more programs include instructions which, when executed by the computer system, cause the computer system to perform the method of any one of claims 2-20.
25. A computer program product comprising instructions which, when executed by a computer system, cause the computer system to perform the method according to any one of claims 1 to 20.
