Devices, methods, and graphical user interfaces for interacting with a three-dimensional environment

The system addresses inefficiencies in virtual and augmented reality interactions by providing intuitive methods and interfaces that reduce input complexity and optimize energy use, improving user experience and safety.

JP7961342B2Active Publication Date: 2026-12-04APPLE INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2025177188
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-09-23
Filing Date
2025-10-21
Publication Date
2026-12-04
Estimated Expiration
2041-09-24

AI Technical Summary

Technical Problem

Existing methods and interfaces for interacting with virtual and augmented reality environments are cumbersome, inefficient, and complex, leading to increased cognitive burden and energy consumption, particularly in battery-powered devices.

Method used

The system enhances user interaction by providing intuitive methods and interfaces that reduce the number and complexity of inputs through features like visual indications, spatial adjustments, biometric feedback, and sensory enhancements, ensuring efficient and timely feedback to users.

Benefits of technology

The system improves user efficiency, reduces cognitive burden, and optimizes energy usage by simplifying interactions with three-dimensional environments, enhancing user satisfaction and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007961342000001
    Figure 0007961342000001
  • Figure 0007961342000002
    Figure 0007961342000002
  • Figure 0007961342000003
    Figure 0007961342000003
Patent Text Reader

Abstract

To simplify the use of a user of a computer system when interacting with a three-dimensional environment.SOLUTION: A first user interface object having a first appearance is displayed at a first position in a first view of a three-dimensional environment shared at least in part between a first user and a second user. While displaying the first user interface object, the computer system detects a first user input directed to the first user. In response to detecting the first user input, in accordance with a determination that the second user is not currently interacting with the first user interface object, perform a first operation, and in accordance with a determination that the second user is not currently interacting with the first user interface object, display a visual indication that the first user interface object is not available for interaction and forgo performing the first operation.SELECTED DRAWING: FIG. 7B
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] (Related Application) This application is a continuation of U.S. patent application Ser. No. 17 / 483,730, filed Sep. 23, 2021, which claims priority to U.S. Provisional Application No. 63 / 083,816, filed Sep. 25, 2020, each of which is incorporated by reference herein in its entirety.

[0002] (Technical Field) The present disclosure generally relates to computer systems having display generation components and one or more input devices for providing computer-generated reality (CGR) experiences, including, but not limited to, electronic devices that provide virtual reality and mixed reality experiences via a display. [Background Art]

[0003] Development of computer systems for augmented reality has advanced significantly in recent years. An exemplary augmented reality environment includes at least some virtual elements that replace or augment 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 reality environments. Exemplary virtual elements include virtual objects, such as digital images, video, text, icons, and buttons and other graphics.

[0004] However, the methods and interfaces for interacting with environments that include at least some virtual elements (e.g., applications, augmented reality environments, mixed reality environments, and virtual reality environments) are often 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 augmented reality environments, and systems where manipulating virtual objects is complex and error-prone impair the user's cognitive burden and detract from the virtual / augmented reality experience. In addition, these methods are unnecessarily time-consuming and thus waste energy. This latter consideration is particularly important in battery-powered devices. [Overview of the Initiative]

[0005] Therefore, there is a need for computer systems with improved methods and interfaces to provide users with computer-generated experiences that make interaction with the computer system more efficient and intuitive for the user. The above-mentioned deficiencies and other problems related to user interfaces for computer systems having display generation components and one or more input devices are mitigated or eliminated by the disclosed systems, methods, and user interfaces. Such systems, methods, and interfaces optionally complement or replace conventional systems, methods, and user interfaces that provide users with computer-generated reality experiences. Such methods and interfaces reduce the number, extent, and / or types of input from the user by helping the user understand the connection between the inputs provided and the device responses to those inputs, thereby generating a more efficient human-machine interface.

[0006] According to some embodiments, the method is performed in a computer system communicating with a first display generation component and one or more first input devices. The method includes displaying a first user interface object in a first view of a three-dimensional environment which is at least partially shared between a first user and a second user, and while the first user interface object is displayed in a first position in a first view of a three-dimensional environment which is at least partially shared. The method further includes detecting a first user input directed to the first user interface object, and, in accordance with the determination that a second user is not currently interacting with the first user interface object, performing a first action on the first user interface object in accordance with the first user input; and, in accordance with the determination that a second user is currently interacting with the first user interface object, displaying a visual indication that the first user interface object is not available for interaction with the first user, wherein displaying the visual indication includes changing at least one of the appearance of the first user interface object or the position of the first user interface object in a first view of a three-dimensional environment; and ceasing to perform the first action on the first user interface object in accordance with the first user input.

[0007] According to some embodiments, the method is performed in a computer system communicating with a first display generation component and one or more first input devices, and includes: displaying a first view of the three-dimensional environment including a first user interface object that represents a first object in a second physical environment different from the first physical environment, corresponding to a first viewpoint associated with a first location in the first physical environment, while a first user is at a first location in the first physical environment, wherein the individual positions of the first user interface object in the three-dimensional environment correspond in a first manner to individual locations of the first object in the second physical environment; detecting at least one of the movement of the first user in the first physical environment and the movement of the first object in the second physical environment; displaying a second view of the three-dimensional environment corresponding to a second viewpoint in response to the detection of at least one of the movement of the first user in the first physical environment and the movement of the first object in the second physical environment; and displaying the first user interface object in the second view of the three-dimensional environment.Displaying a first user interface object in a second view of a three-dimensional environment includes displaying the first user interface object at a first display position in the second view of the three-dimensional environment, where the first display position is the individual position of the first user interface object in the three-dimensional environment, according to a determination that the individual position of the first user interface object in the three-dimensional environment, corresponding in a first manner to the individual location of the first object in the second physical environment, is greater than a threshold distance from the individual position in the three-dimensional environment corresponding to the second viewpoint associated with the second view of the three-dimensional environment, and the first display position is the individual position of the first user interface object in the three-dimensional environment; and displaying the first user interface object at a second display position in the second view of the three-dimensional environment, where the second display position is offset from the individual position of the first user interface object in the three-dimensional environment, according to a determination that the individual position of the first user interface object in the three-dimensional environment, corresponding in a first manner to the individual location of the first object in the second physical environment, is less than a threshold distance from the individual position in the three-dimensional environment corresponding to the second viewpoint associated with the second view of the three-dimensional environment, and the second display position is offset from the individual position of the first user interface object in the three-dimensional environment.

[0008] According to some embodiments, the method is performed in a computer system communicating with a first display generation component and one or more first input devices, and includes: displaying a first computer-generated experience at a first level of immersion; receiving biometric data corresponding to a first user while displaying the first computer-generated experience at the first level of immersion; displaying the first computer-generated experience at a second level of immersion, in response to the reception of biometric data corresponding to the first user, according to a determination that the biometric data corresponding to the first user meets a first criterion, the first computer-generated experience displayed at the second level of immersion occupies a larger portion of the first user's field of view than the first computer-generated experience displayed at the first level; and continuing to display the first computer-generated experience at the first level of immersion, according to a determination that the biometric data corresponding to the first user does not meet the first criterion.

[0009] According to some embodiments, the method is performed in a computer system communicating with a first display generation component and one or more first input devices, and includes displaying a first view of a physical environment including a first representation of a first part of a physical environment; detecting a first user input corresponding to a request to activate a first type of computer-generated sensory adjustment among two or more types of computer-generated sensory adjustments while the first view of the physical environment is being displayed; and, in response to the detection of the first user input, displaying a second view of the physical environment, the second view of the physical environment including a second representation of a first part of the physical environment, the second representation of a first part of the physical environment having first display characteristics adjusted to the first representation of a first part of the physical environment according to a first type of computer-generated sensory adjustment. The functions include displaying a second view of the boundary, detecting a second user input corresponding to a request to activate a second type of computer-generated sensory adjustment, different from a first type of computer-generated sensory adjustment, among two or more types of computer-generated sensory adjustments, while the second view of the physical environment is being displayed, and displaying a third view of the physical environment in response to the detection of the second user input, the third view of the physical environment includes a third representation of a first part of the physical environment, the third representation of the first part of the physical environment having first display characteristics adjusted for the first representation of the first part of the physical environment according to a first type of computer-generated sensory adjustment, and second display characteristics adjusted for the second representation of the physical environment according to a second type of computer-generated sensory adjustment.

[0010] According to some embodiments, the method is performed in a computer system communicating with a first display generation component and one or more first input devices, and includes: displaying a first view of a three-dimensional environment including a first representation of a first part of a physical environment; detecting the movement of a first user from a first location to a second location of the physical environment while displaying the first view of the three-dimensional environment including a first representation of a first part of a physical environment; and, in response to the detection of the movement of the first user from the first location to the second location, and the movement to the second location being a first criterion, and for the first criterion to be satisfied, the first criterion includes a first requirement that the second location corresponds to a location associated with a first type of exercise, and, in accordance with the determination that the first criterion is satisfied, a second view of the three-dimensional environment, wherein the second view of the three-dimensional environment is a first virtual content set corresponding to a first type of exercise. The present invention includes displaying a second view of a three-dimensional environment, wherein the first set of virtual content replaces at least a portion of the second representation of a second part of a physical environment including a second location, and that, in accordance with the determination that movement to the second location is different from the first criterion and that for the second criterion to be satisfied, the second criterion includes a second requirement that the second location corresponds to a location associated with a second type of exercise, and that the second type of exercise is different from the first type of exercise and satisfies the second criterion, the present invention includes displaying a third view of a three-dimensional environment, wherein the third view of the three-dimensional environment includes a second set of virtual content corresponding to the second type of exercise, the second set of virtual content is different from the first set of virtual content, and the second set of virtual content replaces at least a portion of the third representation of a third part of a physical environment including a second location.

[0011] According to several embodiments, a computer system includes, or communicates with, a display generation component (e.g., a display, a projector, a head-mounted display), one or more input devices (e.g., one or more cameras, a touch-sensitive surface, optionally one or more sensors for detecting the intensity of contact with the touch-sensitive surface), optionally one or more tactile output generators, one or more processors, and a memory for storing or communicating with one or more programs, wherein one or more programs are configured to be executed by one or more processors, and one or more programs include instructions for performing or causing to perform any of the operations described herein. According to several embodiments, a non-temporary computer-readable storage medium has instructions stored therein, and 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, optionally one or more sensors for detecting the intensity of contact with the touch-sensitive surface), and optionally one or more tactile output generators, the instructions cause the device to perform or cause to perform any of the operations described herein. 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, one or more sensors that optionally detect the intensity of contact with the touch-sensitive surface), one or more tactile output generators optionally, memory, and one or more processors that execute one or more programs stored in memory, includes one or more elements that are displayed in any of the methods described herein, and these elements are updated in response to 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, one or more sensors that optionally detect the intensity of contact with the touch-sensitive surface), one or more tactile output generators optionally, and means for performing or causing to perform any of the operations described herein.According to some embodiments, an information processing device for use in a computer system having a display generation component, one or more input devices (e.g., one or more cameras, a touch-sensing surface, optionally one or more sensors for detecting the intensity of contact with the touch-sensing surface), and optionally one or more tactile output generators, includes means for performing or causing to perform any of the operations described herein.

[0012] Therefore, computer systems having display generation components are provided with improved methods and interfaces that enhance the effectiveness, efficiency, and user safety and satisfaction of such computer systems by interacting with a three-dimensional environment and simplifying the user's use of the computer system when interacting with a three-dimensional environment. Such methods and interfaces can complement or replace conventional methods for interacting with a three-dimensional environment and facilitating the user's use of the computer system when interacting with a three-dimensional environment.

[0013] It should be noted that the various embodiments described herein can be combined with any other embodiments described herein. The functions and advantages described herein are not exhaustive, and many additional functions and advantages will become apparent to those skilled in the art, in particular, in light of the drawings, specification and claims. Furthermore, it should be noted that the language used herein has been selected solely for readability and explanatory purposes and not to define or limit the subject matter of the invention. [Brief explanation of the drawing]

[0014] To better understand the various embodiments described, the following “Modes for Carrying Out the Invention” should be referenced in conjunction with the following drawings, and similar reference numbers throughout the following drawings refer to the corresponding parts.

[0015] [Figure 1]This block diagram shows the operating environment of a computer system for providing a CGR experience in several embodiments.

[0016] [Figure 2] Block diagram showing a controller for a computer system configured to manage and adjust the user's CGR experience, according to several embodiments.

[0017] [Figure 3] This block diagram shows a display generation component of a computer system configured to provide a user with visual components of a CGR experience, according to several embodiments.

[0018] [Figure 4] This is a block diagram showing a hand tracking unit for a computer system configured to capture user gesture input, according to several embodiments.

[0019] [Figure 5] This is a block diagram showing an eye-tracking unit for a computer system configured to capture user eye-gaze input, according to several embodiments.

[0020] [Figure 6] This is a flowchart showing a Glint-assisted eye-tracking pipeline according to several embodiments.

[0021] [Figure 7A] This is a block diagram showing interactions with user interface objects in a computer-generated three-dimensional environment shared between two or more users, according to several embodiments. [Figure 7B] This is a block diagram showing interactions with user interface objects in a computer-generated three-dimensional environment shared between two or more users, according to several embodiments. [Figure 7C]A block diagram illustrating interaction with a user interface object in a computer-generated three-dimensional environment shared between two or more users, in accordance with some embodiments.

[0022] [Figure 7D] A block diagram illustrating a method for displaying representations of physical objects in various manners relative to a viewpoint of a currently displayed view of a three-dimensional environment, in accordance with some embodiments, wherein the viewpoint moves in accordance with movement of a user in a first physical environment, the representation of the physical object moves in accordance with movement of the physical object in a second physical environment that is distinct from the first physical environment, and changing how the representation is displayed is triggered in accordance with a determination that a spatial relationship between the representation of the physical object and the viewpoint satisfies predefined criteria. [Figure 7E] A block diagram illustrating a method for displaying representations of physical objects in various manners relative to a viewpoint of a currently displayed view of a three-dimensional environment, in accordance with some embodiments, wherein the viewpoint moves in accordance with movement of a user in a first physical environment, the representation of the physical object moves in accordance with movement of the physical object in a second physical environment that is distinct from the first physical environment, and changing how the representation is displayed is triggered in accordance with a determination that a spatial relationship between the representation of the physical object and the viewpoint satisfies predefined criteria. [Figure 7F] A block diagram illustrating a method for displaying representations of physical objects in various manners relative to a viewpoint of a currently displayed view of a three-dimensional environment, in accordance with some embodiments, wherein the viewpoint moves in accordance with movement of a user in a first physical environment, the representation of the physical object moves in accordance with movement of the physical object in a second physical environment that is distinct from the first physical environment, and changing how the representation is displayed is triggered in accordance with a determination that a spatial relationship between the representation of the physical object and the viewpoint satisfies predefined criteria.

[0023] [Figure 7G]A block diagram illustrating the changing level of immersion in a computer-generated experience environment, according to changes in the user's biometric data received by a computer system, as in some embodiments. [Figure 7H] A block diagram illustrating the changing level of immersion in a computer-generated experience environment, according to changes in the user's biometric data received by a computer system, as in some embodiments. [Figure 7I] A block diagram illustrating the changing level of immersion in a computer-generated experience environment, according to changes in the user's biometric data received by a computer system, as in some embodiments. [Figure 7J] A block diagram illustrating the changing level of immersion in a computer-generated experience environment, according to changes in the user's biometric data received by a computer system, as in some embodiments.

[0024] [Figure 7K] This block diagram aggregates the effects of multiple types of sensory adjustments provided by a computer system when displaying a view of the environment, including a representation of the physical environment, according to several embodiments. [Figure 7L] This block diagram aggregates the effects of multiple types of sensory adjustments provided by a computer system when displaying a view of the environment, including a representation of the physical environment, according to several embodiments. [Figure 7M] This block diagram aggregates the effects of multiple types of sensory adjustments provided by a computer system when displaying a view of the environment, including a representation of the physical environment, according to several embodiments.

[0025] [Figure 7N]This block diagram shows how, according to several embodiments, virtual content corresponding to a particular type of exercise is selectively displayed within a view of a three-dimensional environment, based on the determination that a portion of the physical environment within the view of the three-dimensional environment corresponds to a particular type of exercise. [Figure 7O] This block diagram shows how, according to several embodiments, virtual content corresponding to a particular type of exercise is selectively displayed within a view of a three-dimensional environment, based on the determination that a portion of the physical environment within the view of the three-dimensional environment corresponds to a particular type of exercise. [Figure 7P] This block diagram shows how, according to several embodiments, virtual content corresponding to a particular type of exercise is selectively displayed within a view of a three-dimensional environment, based on the determination that a portion of the physical environment within the view of the three-dimensional environment corresponds to a particular type of exercise.

[0026] [Figure 8] This is a flowchart of a method, in several embodiments, for supporting interaction with user interface objects in a computer-generated three-dimensional environment shared among two or more users.

[0027] [Figure 9A] This flowchart illustrates various methods for displaying representations of physical objects relative to the viewpoint of the currently displayed view of a three-dimensional environment. In some embodiments, the viewpoint moves in accordance with the user's movement within a first physical environment, and the representations of physical objects move in accordance with the movement of physical objects within a second physical environment distinct from the first physical environment. A change in the method of displaying the representations is triggered when the spatial relationship between the representations of physical objects and the viewpoint satisfies a predetermined criterion. [Figure 9B]This flowchart illustrates various methods for displaying representations of physical objects relative to the viewpoint of the currently displayed view of a three-dimensional environment. In some embodiments, the viewpoint moves in accordance with the user's movement within a first physical environment, and the representations of physical objects move in accordance with the movement of physical objects within a second physical environment distinct from the first physical environment. A change in the method of displaying the representations is triggered when the spatial relationship between the representations of physical objects and the viewpoint satisfies a predetermined criterion.

[0028] [Figure 10] This is a flowchart of a method, according to several embodiments, for changing the level of immersion displayed in a computer-generated experience environment in accordance with changes in the user's biometric data received by a computer system.

[0029] [Figure 11] This is a flowchart of a method for aggregating multiple types of sensory adjustment effects provided by a computer system when displaying a view of the environment, including a representation of the physical environment, according to several embodiments.

[0030] [Figure 12] This is a flowchart of a method for selectively displaying virtual content corresponding to a particular type of exercise within a view of a three-dimensional environment, according to several embodiments, based on the determination that a portion of the physical environment within the view of the three-dimensional environment corresponds to a particular type of exercise. [Modes for carrying out the invention]

[0031] This disclosure relates to user interfaces that provide a computer-generated reality (CGR) experience to a user, in several embodiments.

[0032] The systems, methods, and GUIs described herein improve user interface interactions with virtual / augmented reality environments in multiple ways.

[0033] In some embodiments, the computer system allows multiple users to have the right to access a first user interface object displayed in a three-dimensional environment, but prevents a user from accessing the first user interface object while another user is interacting with it. When a view of the three-dimensional environment containing the first user interface object is displayed via a first display generation component used by the first user, the computer system detects a first user input directed to the first user interface object. In response to detecting the first user input, the computer system either performs a first action on the first user interface object corresponding to the first user input, depending on whether the first user interface object is available for interaction with the first user at that time, or displays a visual indication that the first user interface object is not available for interaction with the first user and cancels the execution of the first action. The computer system provides a visual indication and cancels the execution of the first action according to a determination that another user is controlling the first user interface object at that time (e.g., another user is interacting with the first user interface object, is interacting with the first user interface object to exclude the first user's simultaneous interaction, and / or is locking the first user interface object for the type of action the first user is about to perform). In some embodiments, displaying a visual indication includes moving the first user interface object in a view of the three-dimensional environment shown to the first user to maintain a predetermined distance between the first user interface object and the approach representation of the first user's hand. In some embodiments, displaying a visual indication includes changing the visual appearance of the first user interface object in a view of the three-dimensional environment shown to the first user.In some embodiments, when a first user interface object is released to the first user by a controlling user (e.g., by a slow gesture, a toss gesture, etc.), the computer system rotates the first user interface object so that it is displayed in a preset orientation relative to the viewpoint of the currently displayed view of the three-dimensional environment shown to the first user. In some embodiments, the computer system controls access to the first user interface object by displaying a representation of the first user interface object at or near a position of a part of the first user's representation (e.g., a representation of the first user's hand, within arm's reach of a virtual position of the user's face, etc.). Displaying a visual indication in the view of the three-dimensional environment displayed via a display generation component used by the first user that the first user interface object is unavailable for interaction with the first user, in response to the first user attempting to interact with the first user interface object, provides intuitive and timely feedback when interaction is attempted and reduces unnecessary visual clutter in the view of the three-dimensional environment. Furthermore, there is no need to display the same visual indications to the first user and other users sharing the same environment, reducing user confusion and improving the efficiency of the human-machine interface.

[0034] In some embodiments, the computer system displays a view of a three-dimensional environment that includes representations of physical objects (e.g., a second user, an animal, a moving drone, etc.) located in a physical environment different from the physical environment of a first user (and a first display-generating component used by the first user to view the three-dimensional environment). The computer system optionally moves the viewpoint corresponding to the currently displayed view of the three-dimensional environment in accordance with the movement of the first user (and / or the first display-generating component) in the physical environment. The computer system determines the position and movement path of the representations of physical objects in the three-dimensional environment based on the location and movement path of the physical objects in the physical environment. The computer system utilizes a first type of correspondence (e.g., mapping and transformation relationships, optionally various mapping and transformation relationships for viewpoints, physical objects, and the first user, etc.) between positions in the three-dimensional environment and locations in individual physical environments (e.g., the physical environments of the first user and the first display-generating component, the physical environment of physical objects, etc.). Depending on the circumstances (for example, due to the movement of a first user and / or the movement of a physical object), the position of the representation of the physical object will be within a threshold distance (e.g., arm length, 3 feet, user-specified distance, etc.) of the position shown via the first display generation component, where the position(s)(s) are determined using a first type of correspondence between a position in the three-dimensional environment and a location in the physical environment. Under such conditions, the computer system displays the representation of the physical object at an adjusted position offset from the position determined based on the first type of correspondence. In some embodiments, the adjusted position is determined based on a second type of correspondence, different from the first type of correspondence, to ensure that the adjusted position remains beyond a threshold distance from the viewpoint position of the currently displayed view of the three-dimensional environment shown via the first display generation component.The computer system continues to use a second type of correspondence to determine the adjusted position of the physical object's representation until the unadjusted position, calculated based on a first type of correspondence, moves beyond a threshold distance from the viewpoint position of the currently displayed view of the three-dimensional environment shown through the first display generation component. By monitoring the relative distance between the position of the physical object's representation and the viewpoint position of the currently displayed view of the three-dimensional environment shown through the first display generation component, the computer can adjust the display position of the physical object's representation in a timely manner, thereby avoiding visual collisions between the viewpoint and the physical object's representation. This improves the user's visual experience and reduces user confusion and errors when the user interacts with the three-dimensional environment.

[0035] In some embodiments, the computer system modifies the level of immersion to which a computer-generated experience (e.g., a visual experience, an audiovisual experience, a virtual reality experience, an augmented reality experience, etc.) is presented to the user according to biometric data corresponding to the user. For example, after the computer-generated experience has started, the computer system may detect changes in biometric data corresponding to the user (e.g., heart rate, blood pressure, respiratory rate, etc.) when the user is, for example, actively or under the influence of computer-generated content, adjusting their physical and emotional state. In accordance with changes in biometric data against each set of predefined criteria associated with various levels of immersion, the computer system increases or decreases the level of immersion that the computer-generated experience provides to the user by modifying the visual prominences of the virtual content (e.g., including spatial range, visual depth, saturation, visual contrast, etc.) relative to the visual prominences of the representation of the physical environment (e.g., by enhancing the complexity, spatial range, and / or visual characteristics of the virtual content, and / or by reducing the visual clarity, blur radius, opacity, saturation, etc., of the representation of the physical environment). Adjusting the level of immersion provided to a user through computer-generated experiences based on changes in biometric data corresponding to the user helps the computer system provide smoother transitions between low and high levels of immersion, better corresponding to the user's perception of the computer-generated experience, thereby reducing user confusion and improving the effectiveness of the computer-generated experience.

[0036] In some embodiments, the computer system provides multiple types of sensory enhancement functions that enhance the user's ability to perceive various aspects of the physical environment that would not be readily perceptible without special equipment or the assistance of the computer system. Instead of allowing the user to use only one type of sensory enhancement function when viewing a portion of the physical environment at once, the computer system aggregates the effects of two or more types of sensory enhancement functions on the representation of a portion of the physical environment so that features and characteristics present in previously hidden portions of the physical environment can be revealed within the view of the physical environment provided by the computer system. By enabling the effects of multiple types of sensory enhancement functions to be aggregated on the representation of the same portion of the physical environment and presented in a view of the three-dimensional environment including the representation of the portion of the physical environment, the user can better perceive and understand the physical environment, thereby improving the usefulness of the computer-generated view of the physical environment.

[0037] In some embodiments, the computer system displays virtual content corresponding to a particular type of exercise (e.g., virtual scenery, visual and functional enhancements to exercise equipment, user interface, health and scoreboards, etc.) based on a determination that a physical location represented in a view of a three-dimensional environment is associated with a particular type of exercise. For example, as the user and display-generating components move through a real-world location, the virtual content shown in the view of the three-dimensional environment is adjusted to correspond to the type of exercise associated with the user and display-generating components' current location. In some embodiments, if a location is associated with multiple types of exercises, the computer system selects a particular type of exercise from the multiple types associated with that location based on other contextual information (e.g., user movement, user interaction with objects at that location, etc.) and displays visual content corresponding to the selected type of exercise. Automatically selecting and / or modifying virtual content based on a particular type of exercise associated with the user and display-generating components' locations generates a more efficient human-machine interface by narrowing down the number, range, and / or nature of user input to achieve the desired result (e.g., selecting virtual content appropriate for the type of exercise, initiating a particular mode of exercise, etc.).

[0038] Figures 1-6 illustrate exemplary computer systems for providing a CGR experience to a user. Figures 7A-7C are block diagrams illustrating interactions with user interface objects in a computer-generated three-dimensional environment shared between two or more users, according to several embodiments. Figures 7D-7F are block diagrams illustrating various ways in which representations of physical objects are displayed relative to the viewpoint of the currently displayed view of the three-dimensional environment, according to several embodiments, the viewpoint moves in accordance with the user's movement within a first physical environment, and the representations of physical objects move in accordance with the movement of physical objects within a second physical environment different from the first physical environment, with a change in the way the representations are displayed triggered depending on whether the spatial relationship between the representations of physical objects and the viewpoint satisfies a predetermined criterion. Figures 7G-7J are block diagrams illustrating changes in the level of immersion in displaying the computer-generated experience environment according to changes in the user's biometric data received by the computer system, according to several embodiments. Figures 7K-7M are block diagrams illustrating the aggregation of multiple types of sensory adjustment effects provided by the computer system when displaying a view of the environment, including representations of the physical environment, according to several embodiments. Figures 7N to 7P are block diagrams illustrating how, in several embodiments, virtual content corresponding to individual types of exercises is selectively displayed within a view of a three-dimensional environment, based on the determination that parts of the physical environment within the view of the three-dimensional environment correspond to individual types of exercises. The user interfaces in Figures 7A to 7P are used to illustrate the processes in Figures 8 to 12, respectively.

[0039] In some embodiments, as shown in Figure 1, the CGR experience is provided to the 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 remote server), a display generation component 120 (e.g., a head-mounted device (HMD), a display, a projector, a touchscreen, 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 location sensor, a motion sensor, a velocity sensor, etc.), and optionally one or more peripheral devices 195 (e.g., a home appliance, a wearable device, etc.). In some embodiments, one or more of the input device 125, output device 155, sensor 190, and peripheral device 195 are integrated with the display generation component 120 (for example, in a head-mounted device or handheld device).

[0040] When describing a CGR experience, various terms are used to refer individually to several related but distinct environments that the user perceives and / or interacts with (for example, using inputs detected by the computer system 101, which causes the computer system generating the CGR experience to generate audio, visual, and / or haptic feedback corresponding to various inputs provided to the computer system 101 that generates the CGR experience). The following is a subset of these terms.

[0041] Physical Environment: The physical environment refers to the physical world that people can perceive and / or interact with without the help of electronic systems. Examples of physical environments, such as a physical park, include physical objects such as physical trees, physical buildings, and physical people. People can directly perceive and / or interact with the physical environment through their senses of sight, touch, hearing, taste, and smell.

[0042] Computer-Generated Reality: In contrast, a computer-generated reality (CGR) environment refers to a fully or partially simulated environment that people perceive and / or interact with through an electronic system. In CGR, a subset of a person's bodily movements or their representations are tracked, and accordingly, one or more properties of one or more virtual objects simulated within the CGR environment are adjusted to behave according to at least one law of physics. For example, a CGR system may detect a person's head rotation and, accordingly, adjust the graphic content and sound field presented to the person in a similar manner to how such views and sounds would change in a physical environment. In some circumstances (e.g., for reasons of accessibility), adjustments to the properties(s) of virtual objects(s) in the CGR environment may be made in response to representations of bodily movements (e.g., voice commands). A person may perceive and / or interact with CGR objects using any one of these senses, including sight, hearing, touch, taste, and smell. For example, a person may perceive and / or interact with an audio object that creates a 3D or spatially expansive audio environment, providing the perception of a point source in 3D space. In another example, an audio object may enable audio transparency, selectively incorporating ambient sounds from the physical environment, with or without computer-generated audio. In some CGR environments, a person may perceive and / or interact with only audio objects.

[0043] Examples of CGR include virtual reality and mixed reality.

[0044] Virtual reality: A virtual reality (VR) environment refers to a simulated environment designed to be entirely based on computer-generated sensory input for one or more senses. A VR environment includes multiple virtual objects that a person can perceive and / or interact with. For example, computer-generated images of trees, buildings, and avatars representing people are examples of virtual objects. A person can perceive and / or interact with virtual objects in a VR environment through a simulation of their presence within the computer-generated environment and / or through a simulation of a subset of their bodily movements within the computer-generated environment.

[0045] Mixed Reality: A mixed reality (MR) environment is a simulation environment designed to incorporate sensory input from or its representation from a physical environment, in addition to including computer-generated sensory input (e.g., virtual objects), in contrast to a virtual reality (VR) environment designed to rely entirely on computer-generated sensory input. On a virtual continuum, a mixed reality environment is any location between, but not including, the complete physical environment at one end and the virtual reality environment at the other end. In some MR environments, computer-generated sensory input may respond to changes in sensory input from the physical environment. Also, some electronic systems for presenting an MR environment may track location and / or orientation relative to the physical environment to enable virtual objects to interact with real objects (i.e., physical items or their representations from the physical environment). For example, the system may account for movement so that a virtual tree appears stationary relative to the physical ground.

[0046] Examples of mixed reality include augmented reality and augmented virtual reality.

[0047] Augmented Reality: An augmented reality (AR) environment refers to a simulated environment in which one or more virtual objects are superimposed on or onto a physical environment. For example, an electronic system for presenting an AR environment may have a transparent or translucent display that allows a person to directly view the physical environment. The system may also be configured to present virtual objects on the transparent or translucent display, thereby allowing a person to use the system to perceive the 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 composites the images or videos with the virtual objects and presents the composite on the opaque display. A person uses this system to perceive the virtual objects superimposed on the physical environment by indirectly viewing the physical environment through images or videos of the physical environment. As used herein, videos of the physical environment shown on an opaque display are referred to as “pass-through videos,” and it means 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 the opaque display. Alternatively, the system may have a projection system that projects virtual objects, for example, as holograms, into or onto the physical environment, thereby allowing a person to perceive the virtual objects superimposed on the physical environment. An augmented reality environment also refers to a simulated environment in which the representation of the physical environment is transformed by computer-generated sensory information. For example, when providing pass-through video, the system may transform one or more sensor images to plane a selected perspective (e.g., viewpoint) different from the perspective captured by the image sensor. As another example, the representation of the physical environment may be transformed by graphically altering (e.g., enlarging) a portion of it, thereby making the altered portion a modified version that represents the original captured image but is not photorealistic. As yet another example, the representation of the physical environment may be transformed by graphically removing or obscuring a portion of it.

[0048] Augmented Virtual: An Augmented Virtual (AV) environment refers to a simulation environment in which a virtual or computer-generated environment incorporates one or more sensory inputs from a physical environment. These sensory inputs may be representations of one or more characteristics of the physical environment. For example, an AV park might have virtual trees and virtual buildings, while people with faces are realistically reproduced from images of real people. Another example is that a virtual object might adopt the shape or color of a physical article captured by one or more imaging sensors. A further example is that a virtual object might adopt shadows that correspond to the position of the sun in the physical environment.

[0049] Hardware: There are many different types of electronic systems that enable people to perceive 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 over a person's eyes (similar to contact lenses), headphones / earphones, speaker arrays, input systems (e.g., wearable or handheld controllers with or without haptic feedback), smartphones, tablets, and desktop / laptop computers. A head-mounted system may have one or more speakers and an integrated opaque display. Alternatively, a head-mounted system may be configured to receive an external opaque display (e.g., a smartphone). A head-mounted system may incorporate one or more imaging sensors for capturing images or videos of the physical environment and / or one or more microphones for capturing audio of the physical environment. A head-mounted system may have a transparent or translucent display instead of an opaque display. A transparent or translucent display may have a medium through which light representing an image is directed to the human eye. The display may utilize digital light projection, OLED, LED, uLED, liquid crystal on silicon, laser scanning light source, or any combination thereof. The medium may be an optical waveguide, a holographic medium, an optical coupler, an optical reflector, or any combination thereof. In one embodiment, the transparent or translucent display may be configured to be selectively opaque. The projection-based system may employ retinal projection technology to project a graphical image onto the human retina. The projection system may also be configured to project virtual objects into the physical environment, for example, as holograms or as physical surfaces. In some embodiments, the controller 110 is configured to manage and adjust the user's CGR experience.In some embodiments, the controller 110 includes a preferred combination of software, firmware, and / or hardware. The controller 110 is described in more detail below with reference to Figure 2. In some embodiments, the controller 110 is a computing device that is local or remote to the scene 105 (e.g., physical setup / environment). For example, the controller 110 is a local server located within the scene 105. In another example, the controller 110 is a remote server located outside the scene 105 (e.g., a cloud server, a central server, etc.). In some embodiments, the controller 110 is coupled to a display generation component 120 (e.g., an HMD, display, projector, touchscreen, etc.) via one or more wired or wireless communication channels 144 (e.g., Bluetooth, IEEE 802.11x, IEEE 802.16x, IEEE 802.3x, etc.). In another example, the controller 110 is contained within a housing (e.g., a physical housing) of one or more of the display generation components 120 (e.g., a portable electronic device including a display and one or more processors), one or more of the input devices 125, one or more of the output devices 155, one or more of the sensors 190, and / or peripheral devices 195, or shares the same physical housing or support structure as one or more of the above.

[0050] In some embodiments, the display generation component 120 is configured to provide the user with a CGR experience (e.g., at least the visual component of the CGR experience). In some embodiments, the display generation component 120 includes a preferred combination of software, firmware, and / or hardware. The display generation component 120 is described in more detail below with reference to Figure 3. In some embodiments, the functions of the controller 110 are provided by and / or combined with the display generation component 120.

[0051] According to some embodiments, the display generation component 120 provides the user with a CGR experience while the user is virtually and / or physically present in scene 105.

[0052] In some embodiments, the display generation component is mounted on a part of the user's body (e.g., their head or hand). Thus, the display generation component 120 includes one or more CGR displays provided for displaying CGR 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 smartphone or tablet) configured to present CGR content, and the user holds the device, which has a display directed towards the user's field of view and a camera directed towards scene 105. In some embodiments, the handheld device is optionally placed in a housing mounted on the user's head. In some embodiments, the handheld device is optionally placed on a support in front of the user (e.g., a tripod). In some embodiments, the display generation component 120 is a CGR chamber, housing, or room configured to present CGR content when the user is not wearing or holding the display generation component 120. Many user interfaces described with reference to one type of hardware for displaying CGR content (e.g., a handheld device or a device on a tripod) may be implemented on another type of hardware for displaying CGR content (e.g., an HMD or other wearable computing device). For example, a user interface showing interaction with CGR content triggered based on interaction occurring in the space in front of a handheld or tripod-mounted device may be implemented similarly to an HMD where the interaction occurs in the space in front of the HMD and the CGR content response is displayed via the HMD. Similarly, a user interface showing interaction with CGR content triggered based on the movement of a handheld or tripod-mounted device relative to the physical environment (e.g., Scene 105 or a part of the user's body (e.g., the user's eyes, head, or hands)) may be implemented similarly to an HMD where the interaction is triggered by the movement of the HMD relative to the physical environment (e.g., Scene 105 or a part of the user's body (e.g., the user's eyes, head, or hands)).

[0053] While relevant features of the operating environment 100 are shown in Figure 1, those skilled in the art will understand from this disclosure that various other features for the sake of simplification are not shown so as not to obscure more suitable embodiments of the exemplary embodiments disclosed herein.

[0054] Figure 2 is a block diagram of an example of the controller 110 according to several embodiments. While certain features are shown, those skilled in the art will understand from this disclosure that various other features have been omitted for brevity so as not to obscure more suitable embodiments of the embodiments disclosed herein. Therefore, as a non-limiting example, in some embodiments, the controller 110 includes one or more processing units 202 (e.g., a microprocessor, application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), graphics processing unit (GPU), central processing unit (CPU), processing core, etc.), one or more input / output (I / O) devices 206, one or more communication interfaces 208 (e.g., Universal Serial Bus (USB), FireWire, Thunderbolt, IEEE 802.3x, IEEE 802.11x, IEEE 802.16x, Global Mobile Communication System (GSM), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Global Positioning System (GPS), Infrared (IR), Bluetooth, ZiGBEE, or similar types of interfaces), one or more programming (e.g., I / O) interfaces 210, memory 220, and one or more communication buses 204 for interconnecting these and various other components.

[0055] In some embodiments, one or more communication buses 204 include circuits that interconnect system components and control communication between system components. In some embodiments, one or more I / O devices 206 include at least one of the following: a keyboard, mouse, touchpad, joystick, one or more microphones, one or more speakers, one or more image sensors, one or more displays, etc.

[0056] Memory 220 includes high-speed random-access memory such as dynamic random-access memory (DRAM), static random-access memory (SRAM), double-data-rate random-access memory (DDRRAM), or other random-access solid-state memory devices. In some embodiments, memory 220 includes non-volatile memory such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile storage devices. Memory 220 optionally includes one or more storage devices located remotely from one or more processing units 202. Memory 220 includes a non-temporary computer-readable storage medium. In some embodiments, memory 220, or the non-temporary computer-readable storage medium of memory 220, stores the following programs, modules, and data structures, or subsets thereof, including an optional operating system 230 and CGR experience module 240.

[0057] The operating system 230 includes instructions for handling various basic system services and instructions for performing hardware-dependent tasks. In some embodiments, the CGR experience module 240 is configured to manage and coordinate one or more CGR experiences for one or more users (e.g., a single CGR experience for one or more users, or multiple CGR experiences for each group of one or more users). For this purpose, in various embodiments, the CGR experience module 240 includes a data acquisition unit 242, a tracking unit 244, a coordination unit 246, and a data transmission unit 248.

[0058] In some embodiments, the data acquisition unit 242 is configured to acquire data (e.g., presentation data, interaction data, sensor data, location data, etc.) from at least the display generation component 120 in Figure 1, and optionally from one or more of the input device 125, output device 155, sensor 190, and / or peripheral device 195. To this end, in various embodiments, the data acquisition unit 242 includes instructions and / or logic for that purpose, as well as heuristics and metadata for that purpose.

[0059] In some embodiments, the tracking unit 244 is configured to map scene 105, at least display generation component 120 relative to scene 105 in Figure 1, and optionally track the position / location of one or more of the input device 125, output device 155, sensor 190, and / or peripheral device 195. For this purpose, in various embodiments, the tracking unit 244 includes instructions and / or logic therefor, as well as heuristics and metadata therefor. In some embodiments, the tracking unit 244 includes a hand tracking unit 243 and / or an eye tracking unit 245. In some embodiments, the hand tracking unit 243 is configured to track the position / location of one or more parts of the user's hand and / or the movement of one or more parts of the user's hand relative to scene 105 in Figure 1, relative to the display generation component 120, and / or relative to a coordinate system defined for the user's hand. The hand tracking unit 243 is described in more detail below with reference to Figure 4. In some embodiments, the eye-tracking unit 245 is configured to track the position and movement of the user's gaze (or, more broadly, the user's eyes, face, or head) relative to the scene 105 (e.g., the physical environment and / or the user (e.g., the user's hands)) or to the CGR content displayed via the display generation component 120. The eye-tracking unit 245 is described in more detail below with reference to Figure 5.

[0060] In some embodiments, the adjustment unit 246 is configured to manage and adjust the CGR experience presented to the user by the display generation component 120 and optionally by one or more of the output devices 155 and / or peripheral devices 195. For this purpose, in various embodiments, the adjustment unit 246 includes instructions and / or logic for that purpose, as well as heuristics and metadata for that purpose.

[0061] In some embodiments, the data transmission unit 248 is configured to transmit data (e.g., presentation data, location data, etc.) to at least the display generation component 120, and optionally to one or more of the input device 125, output device 155, sensor 190, and / or peripheral devices 195. For this purpose, in various embodiments, the data transmission unit 248 includes instructions and / or logic for that purpose, as well as heuristics and metadata for that purpose.

[0062] While the data acquisition unit 242, tracking unit 244 (including, for example, an eye-tracking unit 243 and a hand-tracking unit 244), adjustment unit 246, and data transmission unit 248 are shown as residing on a single device (e.g., a controller 110), it should be understood that in other embodiments, any combination of the data acquisition unit 242, tracking unit 244 (including, for example, an eye-tracking unit 243 and a hand-tracking unit 244), adjustment unit 246, and data transmission unit 248 may be located in separate computing devices.

[0063] Furthermore, Figure 2 is intended to illustrate the functionality of various features that may be present in a particular embodiment, in contrast to the structural schematics of the embodiments described herein. As will be recognized by those skilled in the art, the separately shown items can be combined, and some items can be separated. For example, several functional modules shown separately in Figure 2 can be implemented within a single module, and the various functions of a single functional block can be implemented by one or more functional blocks in various embodiments. The actual number of modules, as well as the division of certain functions and how functions are assigned between them, will vary depending on the implementation and, in some embodiments, will partially depend on a particular combination of hardware, software, and / or firmware selected for a particular implementation.

[0064] Figure 3 is a block diagram of an example of a display generation component 120 according to several embodiments. While certain features are shown, those skilled in the art will understand from this disclosure that various other features have been omitted for brevity so as not to obscure more suitable embodiments of the embodiments disclosed herein. For that purpose, in some non-limiting embodiments, the HMD120 may include one or more processing units 302 (e.g., microprocessors, ASICs, FPGAs, GPUs, CPUs, processing cores, 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, IEEE 802.11x, IEEE 802.16x, GSM, CDMA, TDMA, GPS, infrared, Bluetooth, ZiGBEE, and / or similar types of interfaces), one or more programming (e.g., I / O) interfaces 310, one or more CGR displays 312, one or more optional inward and / or outward image sensors 314, memory 320, and one or more communication buses 304 for interconnecting these and various other components.

[0065] In some embodiments, one or more communication buses 304 include circuits that interconnect system components and control communication between system components. In some embodiments, one or more I / O devices and sensors 306 include at least one of the following: an inertial measuring 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, one or more depth sensors (e.g., structured light, time of flight, etc.).

[0066] In some embodiments, one or more CGR displays 312 are configured to provide the user with a CGR experience. In some embodiments, one or more CGR 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), MEMS, and / or similar display types. In some embodiments, one or more CGR displays 312 correspond to waveguide displays such as diffraction, reflection, polarization, and holographic. For example, the HMD 120 includes a single CGR display. In another embodiment, the HMD 120 includes a CGR display for each of the user's eyes. In some embodiments, one or more CGR displays 312 can present MR or VR content. In some embodiments, one or more CGR displays 312 can present MR or VR content.

[0067] In some embodiments, 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, one or more image sensors 314 are configured to acquire image data corresponding to at least a portion of the user's hands and optionally a portion of the user's arms (and may be referred to as a hand-tracking camera). In some embodiments, one or more image sensors 314 are configured to face forward to acquire image data corresponding to a scene viewed by the user when the HMD 120 is not present (and may be referred to as a scene camera). One or more optional image sensors 314 may include one or more RGB cameras (e.g., complementary metal-oxide-semiconductor (CMOS) image sensors or charge-coupled device (CCD) image sensors), one or more infrared (IR) cameras, one or more event-based cameras, and / or similar.

[0068] Memory 320 includes high-speed random-access memory, such as DRAM, SRAM, DDR RAM, or other random-access solid-state memory devices. In some embodiments, memory 320 includes 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. Memory 320 optionally includes one or more storage devices located remotely from one or more processing units 302. Memory 320 includes a non-temporary computer-readable storage medium. In some embodiments, memory 320, or the non-temporary computer-readable storage medium of memory 320, stores the following programs, modules, and data structures, or subsets thereof, including an optional operating system 330 and CGR presentation module 340.

[0069] The operating system 330 includes instructions for handling various basic system services and instructions for performing hardware-dependent tasks. In some embodiments, the CGR presentation module 340 is configured to present CGR content to the user via one or more CGR displays 312. For this purpose, in various embodiments, the CGR presentation module 340 includes a data acquisition unit 342, a CGR presentation unit 344, a CGR map generation unit 346, and a data transmission unit 348.

[0070] In some embodiments, the data acquisition unit 342 is configured to acquire data (e.g., presentation data, interaction data, sensor data, location data, etc.) from at least the controller 110 in Figure 1. For this purpose, in various embodiments, the data acquisition unit 342 includes instructions and / or logic for that purpose, as well as heuristics and metadata for that purpose.

[0071] In some embodiments, the CGR presentation unit 344 is configured to present CGR content via one or more CGR displays 312. For this purpose, in various embodiments, the CGR presentation unit 344 includes instructions and / or logic therefor, as well as heuristics and metadata therefor.

[0072] In some embodiments, the CGR map generation unit 346 is configured to generate a CGR map (e.g., a 3D map of a mixed reality scene or a map of a physical environment on which computer-generated objects can be placed) based on media content data. For this purpose, in various embodiments, the CGR map generation unit 346 includes instructions and / or logic for that purpose, as well as heuristics and metadata for that purpose.

[0073] In some embodiments, the data transmission unit 348 is configured to transmit data (e.g., presentation data, location data, etc.) to at least the controller 110 and optionally to one or more of the input device 125, output device 155, sensor 190, and / or peripheral devices 195. For this purpose, in various embodiments, the data transmission unit 348 includes instructions and / or logic for that purpose, as well as heuristics and metadata for that purpose.

[0074] Although the data acquisition unit 342, CGR presentation unit 344, CGR map generation unit 346, and data transmission unit 348 are shown as residing on a single device (e.g., the display generation component 120 in Figure 1), it should be understood that in other embodiments, any combination of the data acquisition unit 342, CGR presentation unit 344, CGR map generation unit 346, and data transmission unit 348 may be located in separate computing devices.

[0075] Furthermore, Figure 3 is intended to illustrate the functionality of various features that may be present in a particular implementation, in contrast to the structural schematics of the embodiments described herein. As will be recognized by those skilled in the art, the separately shown items can be combined, and some items can be separated. For example, several functional modules shown separately in Figure 3 can be realized within a single module, and the various functions of a single functional block can be performed by one or more functional blocks in various embodiments. The actual number of modules, as well as the division of certain functions and how functions are assigned between them, will vary depending on the implementation and, in some embodiments, will partially depend on a particular combination of hardware, software, and / or firmware selected for a particular implementation.

[0076] Figure 4 is a schematic diagram of an exemplary embodiment of the hand tracking device 140. In some embodiments, the hand tracking device 140 (Figure 1) is controlled by a hand tracking unit 243 (Figure 2) to track the position / location of one or more parts of the user's hand and / or the movement of one or more parts of the user's hand relative to a coordinate system defined for the scene 105 in Figure 1 (e.g., relative to parts of the physical environment surrounding the user, relative to the display generation component 120, or relative to parts of the user (e.g., the user's face, eyes, or head) and / or relative to the user's hand. In some embodiments, the hand tracking device 140 is part of the display generation component 120 (e.g., embedded in or attached to a 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).

[0077] 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) that captures three-dimensional scene information including at least the hand 406 of a human user. The image sensor 404 captures a hand image with sufficient resolution to allow for the distinction of fingers and their respective positions. The image sensor 404 can typically capture images of other parts of the user's body, or images of the entire body, and may have either a zoom function or a dedicated sensor with high magnification to capture an image of the hand at a desired resolution. In some embodiments, the image sensor 404 also captures a 2D color video image 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 that capture the physical environment of the scene 105, or functions as an image sensor that captures the physical environment of the scene 105. In some embodiments, the image sensor 404 is positioned relative to the user or the user's environment such that the field of view of the image sensor or a portion thereof is used to define an interaction space in which hand movements captured by the image sensor are processed as input to the controller 110.

[0078] In some embodiments, the image sensor 404 outputs a sequence of frames containing 3D map data (and possibly color image data) to the controller 110, thereby extracting high-level information from the map data. This high-level information is typically provided to an application running on the controller via an application programming interface (API), which in turn drives the display generation component 120. For example, a user can interact with the software running on the controller 110 by moving their hand 408 and changing the hand's orientation.

[0079] In some embodiments, the image sensor 404 projects a spot pattern onto a scene including 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 shift of the spot in the pattern. This approach is advantageous in that the user does not need to hold or wear any kind of beacon, sensor, or other marker. This gives the depth coordinates of points in the scene relative to a given reference plane at a specific distance from the image sensor 404. In this disclosure, it is assumed that the image sensor 404 defines a set of orthogonal x, y, and z axes such that the depth coordinates of points in the scene correspond to the z component measured by the image sensor. Alternatively, the hand tracking device 440 may use other 3D mapping methods such as stereoscopic imaging or time-of-flight measurement based on one or more cameras or other types of sensors.

[0080] In some embodiments, the hand tracking device 140 captures and processes a time sequence of depth maps containing the user's hand while the user moves their hand (e.g., the entire hand or one or more fingers). Software running on the processor in the image sensor 404 and / or controller 110 processes the 3D map data to extract patch descriptors of the hand within these depth maps. Based on a previous learning process, the software matches these descriptors against patch descriptors stored in the database 408 to estimate the hand pose in each frame. The pose typically includes the 3D location of the user's wrist and fingertips.

[0081] The software can also analyze the trajectory of the hand and / or fingers across multiple frames in a sequence to identify gestures. The posture estimation function described herein may be interleaved with the motion tracking function, so that patch-based posture estimation is performed only once every two (or more) frames, while tracking is used to detect changes in posture that occur over the remaining frames. Posture, motion, and gesture information is provided to an application program running on the controller 110 via the API described above. This program can, for example, move and modify the image presented on the display generation component 120, or perform other functions, depending on the posture and / or gesture information.

[0082] In some embodiments, the software may be downloaded electronically to the controller 110, for example, over a network, or instead, it may be provided on a tangible non-temporary medium such as an optical, magnetic, or electronic memory medium. In some embodiments, the database 408 is similarly stored in memory associated with the controller 110. Alternatively or additionally, some or all of the computer's described functions may be implemented in dedicated hardware such as a custom or semi-custom integrated circuit or a programmable digital signal processor (DSP). The controller 110 is shown in Figure 4, for example, as a separate unit from the image sensor 440, but some or all of the controller's processing functions may be associated with the image sensor 404 by a suitable microprocessor and software, or by dedicated circuitry within the housing of the hand tracking device 402, or in other ways. In some embodiments, at least some of these processing functions may be performed by a suitable processor integrated with the display generation component 120 (for example, in a television set, handheld device, or head-mounted device), or by any other suitable computerized device such as a game console or media player. The sensing function of the image sensor 404 can also be integrated into a computer or other computerized device controlled by the sensor output.

[0083] Figure 4 further includes schematic diagrams of depth maps 410 captured by image sensor 404 according to several embodiments. The depth map includes a matrix of pixels, each having a depth value, as described above. Pixels 412 corresponding to the hand 406 are segmented in this map from the background and the wrist. The brightness of each pixel in the depth map 410 is inversely proportional to the depth value, i.e., the measured z-distance from image sensor 404, with the gradation becoming richer as the depth increases. Controller 110 processes these depth values ​​to identify and segment image components (i.e., adjacent pixel groups) that have features of a human hand. These characteristics may include, for example, the overall size, shape, and frame-to-frame motion of the depth map sequence.

[0084] Figure 4 also schematically shows the hand skeleton 414 that the controller 110 ultimately extracts from the depth map 410 of the hand 406, according to several embodiments. In Figure 4, the skeleton 414 is superimposed on the hand background 416, which has been segmented from the original depth map. In some embodiments, the hand (e.g., finger joints, fingertips, center of the palm, end of the hand connected to the wrist), and optionally major feature points on the wrist or arm connected to the hand, are identified and positioned on the hand skeleton 414. In some embodiments, the location and movement of these major feature points across multiple image frames are used by the controller 110 to determine, according to several embodiments, a hand gesture performed by the hand or the current state of the hand.

[0085] Figure 5 shows an exemplary embodiment of the eye-tracking device 130 (Figure 1). In some embodiments, the eye-tracking device 130 is controlled by an eye-tracking unit 245 (Figure 2) to track the position and movement of the user's gaze relative to the scene 105 or to the CGR 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, if the display generation component 120 is a head-mounted device such as a headset, helmet, goggles, or glasses, or a handheld device positioned in a wearable frame, the head-mounted device includes both a component for generating CGR content for user viewing and a component for tracking the user's gaze relative to the CGR content. In some embodiments, the eye-tracking device 130 is separate from the display generation component 120. For example, if the display generation component is a handheld device or a CGR chamber, the eye-tracking device 130 is optionally a separate device from the handheld device or CGR chamber. In some embodiments, the eye-tracking device 130 is a head-mounted device or part of a head-mounted device. In some embodiments, the head-mounted eye-tracking device 130 is optionally used with a display generation component that is mounted on the head or a display generation component that is not mounted on the head. In some embodiments, the eye-tracking device 130 is optionally used in combination with a head-mounted display generation component, rather than being a head-mounted device. In some embodiments, the eye-tracking device 130 is optionally part of a non-head-mounted display generation component, rather than being a head-mounted device.

[0086] In some embodiments, the display generation component 120 uses a display mechanism (e.g., left and right near-eye display panels) that displays frames containing left and right images in front of the user's eyes to provide the user with a 3D virtual view. For example, the head-mounted display generation component may include left and right optical lenses (referred to herein as eyepieces) positioned 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 video cameras that capture video of the user's environment for display. In some embodiments, the head-mounted display generation component may have a transparent or translucent display on which the user can directly view the physical environment and display virtual objects on a transparent or translucent display. In some embodiments, the display generation component projects virtual objects onto the physical environment. The virtual objects are projected, for example, onto a physical surface or as holograms, so that the individual can use the system to observe the virtual objects superimposed on the physical environment. In such cases, separate display panels and image frames for the left and right eyes may not be required.

[0087] As shown in Figure 5, in some embodiments, the eye-tracking device 130 includes at least one eye-tracking camera (e.g., an infrared (IR) or near-IR (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 eye. The eye-tracking camera may be directed toward the user's eye to receive reflected IR or NIR light from the light source directly from the eye, or alternatively, it may be directed toward a "hot" mirror positioned between the user's eye and a display panel that reflects IR or NIR light from the eye to the eye-tracking camera while allowing visible light to pass through. The eye-tracking device 130 optionally captures images of the user's eye (e.g., as a video stream captured at 60 to 120 frames per second (fps)), analyzes the images to generate eye-tracking information, and communicates the eye-tracking information to the controller 110. In some embodiments, both of the user's eyes are tracked separately by their respective eye-tracking cameras and illumination sources. In some embodiments, only one of the user's eyes is tracked by a separate eye-tracking camera and light source.

[0088] 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, e.g., the 3D geometric relationships and parameters of the LEDs, camera, hot mirror (if present), eyepiece, and display screen. The device-specific calibration process may be performed at the factory or another facility before delivery of the AR / VR equipment to the end user. The device-specific calibration process may be an automated calibration process or a manual calibration process. The user-specific calibration process may include estimating the eye parameters of a particular user, e.g., pupil location, central visual location, optical axis, visual axis, interpupillary distance. According to some embodiments, once the device-specific and user-specific parameters for the eye-tracking device 130 are determined, the images captured by the eye-tracking camera can be processed using a glint-assisted method to determine the user's current visual axis and viewpoint relative to the display.

[0089] As shown in Figure 5, the eye-tracking device 130 (e.g., 130A or 130B) includes an eyepiece (one or more) 520 and an eye-tracking system which includes at least one eye-tracking camera 540 (e.g., an infrared (IR) or near-IR (NIR) camera) positioned on the side of the user's face where 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 eyes (one or more) 592. The eye-tracking camera 540 is positioned between the user's eye(s) 592 and the display 510 (e.g., the left or right display panel of a head-mounted display, or the display or projector of a handheld device) and may be directed towards a mirror 550 that transmits visible light while reflecting IR or NIR light from the eye(s) 592 (e.g., as shown at the top of Figure 5), or may be directed towards the eye(s) 592 to receive reflected IR or NIR light from the user's eye(s) 592 (e.g., as shown at the bottom of Figure 5).

[0090] In some embodiments, the controller 110 renders AR or VR frames 562 (e.g., left and right frames of left and right display panels) and provides the frames 562 to the display 510. For various purposes, for example, when processing the frames 562 for display, the controller 110 uses eye-tracking input 542 from the eye-tracking camera 540. The controller 110 optionally uses a glint-assisted method or other appropriate method to estimate the user's viewpoint on the display 510 based on the eye-tracking input 542 obtained from the eye-tracking camera 540. The viewpoint estimated from the eye-tracking input 542 is optionally used to determine the direction the user is currently looking.

[0091] The following describes, but is not intended to be limiting, several possible use cases of the user's current gaze direction. As an exemplary use case, the controller 110 may render virtual content differently based on the determined user gaze direction. For example, the controller 110 may generate virtual content at a higher resolution in the central visual region determined from the user's current gaze direction than in the peripheral region. As another example, the controller may position or move virtual content within the view based at least partially on the user's current gaze direction. As yet another example, the controller may display specific virtual content within the view based at least partially on the user's current gaze direction. As another exemplary use case in an AR application, the controller 110 may capture the physical environment of the CGR experience and orient an external camera to focus in the determined direction. The external camera's autofocus mechanism can then focus on an object or surface in the environment that the user is currently viewing on the display 510. In another exemplary use case, the eyepiece 520 may be a focusing lens, and the controller uses eye-tracking information to adjust the focus of the eyepiece 520 so that the virtual object currently being viewed by the user has appropriate binocular coordination to match the convergence of the user's eye 592. The controller 110 can utilize the eye-tracking information to orient and adjust the focus of the eyepiece 520 so that the nearby object being viewed by the user appears at the correct distance.

[0092] In some embodiments, the eye-tracking device is part of a head-mounted device mounted on a wearable housing, which includes a display (e.g., display 510), two eyepieces (e.g., one or more eyepieces 520), an eye-tracking camera (e.g., one or more eye-tracking cameras 540), and a light source (e.g., a light source 530 (e.g., an IR LED or NIR LED)). The light source emits light (e.g., IR or NIR light) toward the user's eye(s) 592. In some embodiments, the light sources may be arranged in a ring or circle around each lens, as shown in Figure 5. In some embodiments, eight light sources 530 (e.g., LEDs) are arranged around each lens 520 as an example. However, more or fewer light sources 530 may be used, and other arrangements and locations of the light sources 530 may be used.

[0093] In some embodiments, the display 510 emits light within the visible light range and does not emit light within the IR or NIR range, thus not introducing noise into the eye-tracking system. Note that the location and angle of the eye-tracking camera(s) 540 are given as examples and are not intended to be limiting. In some embodiments, a single eye-tracking camera 540 is positioned on each side of the user's face. In some embodiments, two or more NIR cameras 540 can 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.

[0094] Embodiments of eye-tracking systems, such as those shown in Figure 5, can be used, for example, in computer-generated reality (including, for example, virtual reality and / or mixed reality) applications to provide users with computer-generated reality (including, for example, virtual reality, augmented reality and / or augmented virtual reality) experiences.

[0095] Figure 6 shows glint-assisted eye-tracking pipelines according to several embodiments. In some embodiments, the eye-tracking pipeline is implemented by a glint-assisted eye-tracking system (e.g., an eye-tracking device 130 as shown in Figures 1 and 5). The glint-assisted eye-tracking system can maintain a tracking state. Initially, the tracking state is off or "no". When in a tracking state, the glint-assisted eye-tracking system tracks the pupil contour and glint in the current frame by using prior information from previous frames when analyzing the current frame. When not in a tracking state, the glint-assisted eye-tracking system attempts to detect the pupil and glint in the current frame, and if successful, initializes the tracking state to "yes" and continues in tracking state for the next frame.

[0096] As shown in Figure 6, the eye-tracking camera can capture left and right images of the user's left and right eyes. The captured images are then fed into the eye-tracking pipeline for processing, which is initiated at 610. As indicated by the arrow returning to element 600, the eye-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 set of captured images may be fed into the pipeline for processing. However, in some embodiments, or under some conditions, not all captured frames are processed by the pipeline.

[0097] At 610, if the tracking status is yes for the currently captured image, 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 shown in 620. At 630, if the pupil and glint are successfully detected, the method proceeds to element 640. If they are not successfully detected, the method returns to element 610 and processes the next image of the user's eyes.

[0098] At 640, if the process proceeds from element 410, the current frame is analyzed and the pupil and glint are tracked, based in part on prior information from the previous frame. At 640, if the process proceeds from element 630, the tracking state is initialized based on the detected pupil and glint in the current frame. The results of the processing at element 640 are checked to confirm that the tracking or detection results are reliable. For example, the results may be checked to determine whether a sufficient number of glints for pupil and gaze estimation are successfully tracked or detected in the current frame. At 650, if the results are unreliable, the tracking state is set to no, and the method returns to element 610 to process the next image of the user's eyes. At 650, if the results are reliable, the method proceeds 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.

[0099] Figure 6 is intended to serve as an example of an eye-tracking technology that may be used in a particular implementation. As will be recognized by those skilled in the art, other eye-tracking technologies that currently exist or may be developed in the future may be used in the computer system 101 to provide the user with a CGR experience in various embodiments, either in place of or in combination with the glint-assisted eye-tracking technology described herein.

[0100] This disclosure describes various input methods for interaction with computer systems. Where one example is provided using one input device or method, and another example is provided using a different input device or method, each example may be compatible with the input device or method described in the other example, and their use should be considered optional. Similarly, various output methods for interaction with computer systems are described. Where one example is provided using one output device or method, and another example is provided using a different output device or method, each example may be compatible with the output device or method described in the other example, and their use should be considered optional. Similarly, various methods for interaction with virtual or mixed reality environments via computer systems are described. Where one example is provided using interaction with a virtual environment, and another example is provided using a mixed reality environment, each example may be compatible with the method described in the other example, and their use should be considered optional. Therefore, this disclosure discloses embodiments that are combinations of features of multiple examples, without exhaustively listing all features of the embodiments in the description of each exemplary embodiment. User interface and related processes

[0101] Here, we focus on embodiments of a user interface ("UI") and related processes that may be performed in a computer system such as a portable multifunction device or head-mounted device, which includes a display generation component, one or more input devices, and (optionally) one or more cameras.

[0102] Figures 7A to 7P illustrate a three-dimensional environment displayed via display generation components (e.g., display generation component 7100, display generation component 7200, display generation component 120, etc.) and interactions occurring in the three-dimensional environment caused by user input directed towards the three-dimensional environment and / or inputs received from other computer systems and / or sensors. In some embodiments, inputs are directed towards a virtual object in three dimensions by: the user's gaze detected at the position of a virtual object in the three-dimensional environment; by hand gestures performed at locations in the physical environment corresponding to the position of the virtual object; by hand gestures performed at locations in the physical environment independent of the position of the virtual object while the virtual object has input focus (e.g., selected by a gaze input that is simultaneously and / or previously detected; selected by a pointer input that is simultaneously or previously detected; selected by a gesture input that is simultaneously and / or previously detected; etc.); and by an input device that places a focus selector object (e.g., a pointer object, a selector object, etc.) at the position of the virtual object. In some embodiments, input is directed to a representation of a physical object or a virtual object corresponding to a physical object by the user's hand movements (e.g., movement of the entire hand, movement of the entire hand in individual poses, movement of one part of the hand relative to another part of the hand, relative movement between two hands, etc.) and / or operations on a physical object (e.g., touching, swiping, tapping, opening, moving toward, moving relative to, etc.). In some embodiments, the computer system modifies the display of the three-dimensional environment according to input from sensors (e.g., image sensors, temperature sensors, biometric sensors, motion sensors, proximity sensors, etc.) and contextual conditions (e.g., location, time, presence of different things in the environment, etc.) (e.g., displaying additional virtual content, stopping the display of existing virtual content, transitioning between different levels of immersion in displaying visual content, etc.).In some embodiments, the computer system modifies the display of a three-dimensional environment in accordance with input from other computers used by other users who are sharing a computer-generated environment with the computer system's users (for example, in a shared computer-generated experience, a shared virtual environment, or a shared virtual or augmented reality environment for a communication session). This includes, for example, displaying additional virtual content, stopping the display of existing virtual content, or transitioning between different levels of immersion in displaying visual content.

[0103] In some embodiments, the three-dimensional environment displayed via a display generation component is a virtual three-dimensional environment containing virtual objects and content in various virtual positions within 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 in various virtual positions within the three-dimensional environment constrained by one or more physical aspects of the physical environment (e.g., position and orientation such as walls, floors, surfaces, direction of gravity, time). In some embodiments, the three-dimensional environment is an augmented reality environment that includes a representation of the physical environment. The representation of the physical environment includes respective representations of physical objects and surfaces at different positions within the three-dimensional environment, such that the spatial relationships between different physical objects and surfaces within the physical environment are reflected by the spatial relationships between the representations of physical objects and surfaces within the three-dimensional environment. When a virtual object is positioned relative to the positions of the representations of physical objects and surfaces within the three-dimensional environment, the virtual object appears to have corresponding spatial relationships with the physical objects and surfaces within the physical environment. In some embodiments, the computer system transitions between displaying different types of environments based on user input and / or contextual conditions (for example, between presenting computer-generated environments or experiences at different levels of immersion, or adjusting the relative prominences of audio / visual sensory input from virtual content and representations of the physical environment).

[0104] In some embodiments, the display generation component includes a pass-through portion on which a representation of the physical environment is displayed. In some embodiments, the pass-through portion is a transparent or translucent (e.g., see-through) portion of the display generation component that surrounds the user's field of view and reveals at least a portion of the physical environment within the user's field of view. For example, the pass-through portion is a portion of a head-mounted display that is translucent (e.g., with opacity less than 50%, 40%, 30%, 20%, 15%, 10%, or 5%) or transparent, thereby allowing the user to view the real world surrounding the user through the pass-through portion without removing the head-mounted display or moving away from the head-up display. In some embodiments, the pass-through portion gradually transitions from translucent or transparent to completely opaque when displaying a virtual or mixed reality environment. In some embodiments, the pass-through portion of the display generation component displays a live feed of images or videos of at least a portion of the physical environment captured by one or more cameras (e.g., one or more rear cameras associated with a mobile device or head-mounted display, or other cameras supplying image data to an electronic device). In some embodiments, one or more cameras are directed towards a part of the physical environment that is directly in front of the user (e.g., behind the display generation component). In some embodiments, one or more cameras are directed towards a part of the physical environment that is not directly in front of the user (e.g., in a different physical environment, or to the side or behind the user).

[0105] In some embodiments, when displaying virtual objects at positions corresponding to the locations of one or more physical objects within a physical environment (e.g., a virtual reality environment, a mixed reality environment, an augmented reality environment, etc.), at least some of the virtual objects are displayed in place of (e.g., replace) a portion of the camera's live view (e.g., a portion of the physical environment captured within the live view). In some embodiments, at least some of the virtual objects and content are projected onto a physical surface or open space within the physical environment and are visible through the pass-through portion of the display generation component (e.g., as part of the camera view of the physical environment, or visible through a transparent or translucent portion of the display generation component). In some embodiments, at least some of the virtual objects and content are displayed overlapping a portion of the display, blocking the view of at least a portion of the physical environment that is visible through a transparent or translucent portion of the display generation component.

[0106] In some embodiments, the display generation component displays different views of the three-dimensional environment in accordance with user input or movement that changes the virtual position of the viewpoint of the currently displayed view of the three-dimensional environment relative to the three-dimensional environment. In some embodiments, when the three-dimensional environment is a virtual environment, the viewpoint moves in accordance with navigation or movement requests (e.g., hand gestures in the air, gestures made by moving one part of the hand to another part of the hand) without requiring movement of the user's head, torso, and / or the display generation component in the physical environment. In some embodiments, movement of the user's head and / or torso relative to the physical environment (e.g., by the user holding the display generation component or wearing an HMD), and / or movement of the display generation component or other location-sensing elements of a computer system, etc., causes a corresponding movement of the viewpoint relative to the three-dimensional environment (e.g., with corresponding changes in direction, distance, speed, and / or orientation), resulting in a corresponding change in the currently displayed view of the three-dimensional environment. In some embodiments, when a virtual object has a predetermined spatial relationship with respect to a viewpoint, movement of the viewpoint relative to the three-dimensional environment causes movement of the virtual object relative to the three-dimensional environment while the position of the virtual object in the field of view is maintained (for example, the virtual object is said to be head-locked). In some embodiments, the virtual object moves relative to the three-dimensional environment when the body is locked to the user and the user moves as a whole within the physical environment (for example, carrying or wearing a computer system display generation component and / or other location sensing component), but does not move within the three-dimensional environment in response to the user's head movement (for example, a computer system display generation component and / or other location sensing component rotates around the user's fixed location within the physical environment).

[0107] In some embodiments, the view of the three-dimensional environment shown in Figures 7A–7P includes a representation(s) of the user's hand(s), arm(s), and / or wrist(s). In some embodiments, the representation(s) is part of the representation of the physical environment provided via a display generation component. In some embodiments, the representation(s) is not part of the representation of the physical environment and is displayed within the three-dimensional environment independently of the view of the three-dimensional environment (e.g., by one or more cameras pointed at the user's hand(s), arm(s), and wrist(s)). In some embodiments, the representation(s) includes a stylized version of the arm(s), wrist(s), and / or hand(s) based on camera images captured by one or more cameras of a computer system(s), or information captured by various sensors. In some embodiments, a representation(s) replaces, overlaps with, or obscures a portion of the representation of the physical environment. In some embodiments, when the representation generating component does not provide a view of the physical environment and provides a complete virtual environment (e.g., without a camera view or transparent pass-through portion), a real-time visual representation (e.g., a stylized representation or segmented camera image) of one or both of the user's arms, wrists, and / or hands may still be displayed within the virtual environment.

[0108] Figures 7A to 7C are block diagrams illustrating interactions with user interface objects in a computer-generated three-dimensional environment shared between two or more users, according to several embodiments.

[0109] In some embodiments, the computer system allows multiple users (e.g., a first user 7102, a second user 7002, another user, etc.) to have the right to access a first user interface object (e.g., a first user interface object 7016, another user interface object, a control panel, a virtual menu, a media object, etc.) displayed in a three-dimensional environment (e.g., a three-dimensional environment 7015, another virtual environment or augmented reality environment, etc.), but prevents a user (e.g., the first user 7102, or another user different from the first user 7102, etc.) from accessing the first user interface object while another user (e.g., a second user 7002, another user different from the second user 7002, etc.) is interacting with the first user interface object. When a computer system displays a view of a three-dimensional environment containing a first user interface object via a first display generation component (e.g., display generation component 7200, different types of display generation components such as an HMD) used by a first user (e.g., first user 7102), the computer system detects first user input directed to the first user interface object (e.g., gaze input, hand movement, a combination of gaze input and the user's hand movement). In response to the detection of a first user input, the computer system may, depending on whether the first user interface object is available for interaction with the first user at that time, perform a first action on the first user interface object corresponding to the first user input (for example, moving the first user interface object or its representation to the representation 7202' of the first user's hand 7202, changing the three-dimensional environment (for example, causing the display or dedisplay of virtual content in the three-dimensional environment, changing other virtual content in the three-dimensional environment, etc.), or display a visual indication that the first user interface object is not available for interaction with the first user and cancel the execution of the first action.The computer system provides a visual indication and cancels the execution of the first action according to a determination that another user (e.g., a second user 7002) is controlling the first user interface object at that time (e.g., another user is interacting with the first user interface object, is interacting with the first user interface object to exclude the first user's simultaneous interaction, and / or is locking the first user interface object for the type of action the first user is about to perform). In some embodiments, displaying a visual indication includes moving the first user interface object in a view of the three-dimensional environment shown to the first user to maintain a predetermined distance between the first user interface object and the approach representation of the first user's hand. In some embodiments, displaying a visual indication includes changing the visual appearance of the first user interface object in a view of the three-dimensional environment shown to the first user (e.g., the view on the user 7102's side, as shown in Figure 7C). In some embodiments, when the first user interface object is released to the first user by a controlling user (e.g., by a slow gesture, a toss gesture, etc.), the computer system rotates the first user interface object so that it is displayed in a preset orientation relative to the viewpoint of the currently displayed view of the three-dimensional environment shown to the first user (e.g., with the content side or the control side facing the first user 7102). In some embodiments, the computer system controls the first user's access to the first user interface object by displaying a representation of the first user interface object at or near a position of a part of the first user's representation (e.g., a representation of the first user 7102's hand 7202, within arm reach of the virtual position of the user's face, etc.).

[0110] In the examples shown in Figures 7A to 7C, according to some embodiments, the three-dimensional environment 7015 is started by one of users 7102 and 7002 using a computer system controlled by one user, and shared between the first user 7102 and the second user 7002 in response to a request accepted by the other user using a computer system controlled by the other user. In some embodiments, both users receive and accept a request to share the three-dimensional environment using their respective computer systems from a computer system used by a third user. In some embodiments, both users send a request to share the three-dimensional environment to a server using their respective computer systems, and the user's request is accepted by the server. When sharing the computer-generated three-dimensional environment, the user's location and orientation, as well as the location and orientation of each user's head, eyes, hands, arms, and / or wrists, are captured in real time or periodically by sensors (e.g., cameras, motion sensors, etc.), and the location and orientation data is provided to one or both of the user-controlled computer systems and / or to a server communicating with the computer systems. Location data is used by a computer system and / or server to determine the position and orientation of each user in a computer-generated three-dimensional environment, as well as the position and orientation of each of the user's head, eyes, hands, arms, and / or wrists, and correspondingly, the position of each of the user's representations, including each of the user's head, arms, hands, and / or wrists, in views of the three-dimensional environment provided through different display generation components associated with the user, as well as the field of view and viewpoint of the views of the three-dimensional environment provided through different display generation components associated with the user.

[0111] In some embodiments, when two or more users share a computer-generated environment (e.g., a virtual teleconferencing, chat session, multiplayer game, shared computer-generated experience (e.g., group meditation, exercise, game, collaborative work, etc.)), they may wish to control and / or manipulate the same user interface objects (e.g., a virtual ball, virtual control panel, document or media content, virtual menu, user interface, etc.) present within the computer-generated environment. This can make it difficult for the computer system to consistently prioritize the actions of different users with respect to the user interface objects, and the resulting changes in the three-dimensional environment may confuse the user. As disclosed herein, the computer system provides visual feedback in response to the first user 7102's attempt to interact with the first user interface object 7016, which is already under the control of the second user 7002 in the environment, by changing a set of appearance characteristics of the first user interface object in a view 7015-1 of the environment presented to the first user 7102, thereby reducing conflicts between user actions and reducing user confusion when the user interacts with the first user interface object 7016. In some embodiments, the first user interface object 7016 presented in a view 7015-2 of a three-dimensional environment shown to a second user 7002 controlling the first user interface object is not modified as a result of the first user's attempt to interact with the first user interface object, and does not cause confusion for the second user 7002 when the second user 7002 interacts with the first user interface object 7016.

[0112] Figure 7A shows an exemplary physical environment (e.g., Scene 105, another indoor or outdoor physical environment). In some embodiments, as shown in Figure 7A, two or more users (e.g., user 7102, user 7002, etc.) are present in the same physical environment. The first user 7102 views a first view 7015-1 of the three-dimensional environment 7015 (e.g., an augmented reality environment, a virtual environment, etc.) through a first display generation component (e.g., display generation component 7200, another type of display generation component such as an HMD used by the first user, etc.). The second user 7002 views a second view 7015-2 of the same three-dimensional environment 7015 through a second display generation component (e.g., display generation component 7100, another type of display generation component such as an HMD used by the second user, etc.). In some embodiments, the three-dimensional environment 7015 (for example, labeled 7015-1 when presented via a first display generation component 7200, and labeled 7015-2 when presented via a second display generation component 7100, etc.) is an environment such as a shared computer-generated experience, a communication session, an application environment, a game, or a movie.

[0113] In some embodiments, the first user 7102 and the second user 7002 do not necessarily have to be located in the same physical environment at the same time, but may be located separately in two different physical environments. In some embodiments, the three-dimensional environment 7015 includes a representation of the first user's physical environment rather than the second user's, and the first and second users have a shared experience in the three-dimensional environment based on the first user's physical environment. In some embodiments, the three-dimensional environment 7015 includes a representation of the second user's physical environment rather than the first user's, and the first and second users have a shared experience in the three-dimensional environment based on the second user's physical environment. In some embodiments, the three-dimensional environment 7015 includes a representation of a third physical environment that is neither the first user's physical environment nor the second user's physical environment, and the first and second users have a shared experience in the three-dimensional environment based on the third physical environment (e.g., the physical environment of a third user participating in the shared experience, another physical environment not associated with a user, or associated with a user not participating in the shared experience). In some embodiments, the three-dimensional environment 7015 includes a virtual three-dimensional environment, and the first user and the second user have a shared experience within the virtual three-dimensional environment. In some embodiments, the positions and movements of the first user and the second user in their respective physical environments (e.g., the same physical environment, different physical environments, etc.) are mapped to their positions and movements within the same three-dimensional environment (e.g., using the same mapping relationships or different mapping relationships, etc.), but the appearance of the three-dimensional environment can be adjusted (e.g., using different wallpapers, color schemes, different virtual furniture, etc.) to adapt to individual users within the view of the three-dimensional environment shown to them.

[0114] In some embodiments, the computer system determines that the three-dimensional environment is at least partially shared between the first user 7102 and the second user 7002, based on the determination that at least a spatial portion of the environment 7015 is shared (for example, a spatial portion of the environment corresponding to the living room but not the kitchen, or a spatial portion of the environment corresponding to a physical space in front of the first user but not the physical space behind the first user). In some embodiments, the computer system determines that the three-dimensional environment is at least partially shared between the first user and the second user, based on the determination that at least a spatial portion of the environment 7015 is shared for at least a certain period of time (for example, during a communication session between the first user and the second user, in the morning, during working hours, or when both users are online). In some embodiments, the computer system determines that the three-dimensional environment 7015 is at least partially shared between a first user and a second user, based on the determination that objects within the environment 7105 are fully or partially shared (e.g., simultaneously visible and accessible, simultaneously visible but not simultaneously accessible, visible but not accessible when controlled by another (e.g., another can or cannot see the object)). In some embodiments, the computer system determines that the three-dimensional environment 7015 is at least partially shared between a first user and a second user, based on the determination that at least a portion of the three-dimensional environment 7015 (e.g., a portion shown in the first view 7015-1 of the three-dimensional environment, another portion of the three-dimensional environment 7015, etc.) is displayed for simultaneous viewing by both the first user and the second user. In some embodiments, the computer system determines that the three-dimensional environment 7015 is at least partially shared between a first user and a second user, based on the determination that some or all of the virtual objects within the three-dimensional environment are simultaneously displayed to both the first user and the second user within the three-dimensional environment.

[0115] In Figures 7B and 7C, the computer system displays a first view 7015-1 of the three-dimensional environment 7015, which is at least partially shared between a first user 7102 and a second user 7002, via a first display generation component 7200, substantially simultaneously (adjusted for network delays, processing time delays, etc.), the computer system or another computer system communicating with the computer system displays a second view 7015-2 of the three-dimensional environment 7105 via a second display generation component 7100. According to some embodiments, both the first view 7015-1 and the second view 7015-2 include at least a first portion of the three-dimensional environment (e.g., separate portions corresponding to the same portion of the physical environment represented in the three-dimensional environment, separate portions corresponding to the same portion of the virtual environment of the three-dimensional environment, etc.). In some embodiments, a first portion of the three-dimensional environment is optionally shown from different viewing angles within a first view 7015-1 and a second view 7015-2 of the three-dimensional environment 7105 (based on, for example, the respective spatial relationships between a first user and its physical environment, and / or the respective spatial relationships between a first user and its physical environment).

[0116] In some embodiments, a first view 7015-1 has a first viewpoint having a position corresponding to the current location of the first user 7102 in the physical environment of the first user 7102, and that position moves within the three-dimensional environment 7015 in accordance with the movement of the first user 7102 in the physical environment of the first user 7102 (e.g., scene 105, another physical environment, etc.). In some embodiments, a second view 7015-2 has a second viewpoint having a position in the three-dimensional environment 7015 corresponding to the current location of the second user 7002 in the physical environment of the second user 7002, and that position moves within the three-dimensional environment 7015 in accordance with the movement of the second user 7002 in the physical environment of the second user (e.g., scene 105, another physical environment, etc.). In some embodiments, the viewpoint of the currently displayed view of the three-dimensional environment 7015, shown via individual display generation components (e.g., a first display generation component 7200, a second display generation component 7100, etc.), has a position in the three-dimensional environment 7015 corresponding to the current location of the individual display generation component, and that position moves in the three-dimensional environment 7015 in accordance with the movement of the individual display generation component in the physical environment of the individual display generation component (e.g., scene 105, another physical environment, etc.). In some embodiments, the viewpoint of the currently displayed view of the three-dimensional environment 7015, shown via individual display generation components (e.g., a first display generation component 7200, a second display generation component 7100, etc.), has a position in the three-dimensional environment corresponding to the current location of one or more cameras associated with the individual display generation component, and that position moves in the three-dimensional environment 7015 in accordance with the movement of one or more cameras associated with the individual display generation component in the physical environment of the individual display generation component (e.g., scene 105, another physical environment, etc.).In the examples shown in Figures 7A to 7C, the first view 7015-1 and the second view 7015-2 appear to have the same viewpoint. However, it should be understood that the respective views shown through the first display generation component 7200 and the second display generation component 7100, and their corresponding viewpoints, are determined separately and independently based on the spatial relationships and movements present in the respective physical environments of the first display generation component (and the first user) and the second display generation component (and the second user), and do not need to be exactly the same at a given time.

[0117] In Figures 7B and 7C, the first view 7015-1 and the second view 7015-2 of the three-dimensional environment 7015 include one or more user interface objects (e.g., the first user interface object 7016, the second user interface object 7018, other user interface objects, virtual three-dimensional objects, etc.), and optionally, one or more surfaces (e.g., a representation 7004' or 7004'' of wall 7004, a representation 7006' or 7006'' of wall 7006, a representation 7008' or 7008'' of floor 7008, virtual surfaces such as virtual walls, virtual screens, virtual windows, virtual landscapes, etc.), and / or representations of one or more physical objects (e.g., a representation 7014' or 7014'' of physical object 7014 in physical environment 7015, a representation of other physical objects in another physical environment represented in the three-dimensional environment 7014, etc.). In some embodiments, the first view 7015-1 and the second view 7015-2 do not include a representation of a physical environment but include a virtual three-dimensional environment (e.g., a virtual meeting room, a game environment, a virtual experience, a virtual arena, etc.).

[0118] In some embodiments, the first user interface object 7016 is a representation of the application, and interaction with the first user interface object that satisfies predefined criteria causes the computer system to start the application in a three-dimensional environment or to execute the application functions of the application. In some embodiments, the first user interface object 7016 is a user interface that includes a plurality of user interface objects (e.g., selectable avatars, selectable menu items, selectable device controls, selectable content items, slider controls, buttons, etc.). In some embodiments, the first user interface object 7016 is a virtual three-dimensional object that can be manipulated in a three-dimensional environment according to the movement of the user's hand in a physical environment (e.g., deform, separate into parts, rotate, move, etc.). In some embodiments, the first user interface object 7016 is a single control or control panel that includes a plurality of controls corresponding to different functions or actions. In some embodiments, the first user interface object 7016 is an information item, notification, alert, etc. In some embodiments, the first user interface object 7016 is a media item or document, etc.

[0119] In some embodiments, as shown in Figures 7B and 7C, the first view 7015-1 includes a representation 7202' of the hand 7202 of the first user 7102 and a representation 7028' of the hand 7028 of the second user 7002, and the second view 7015-2 includes a representation 7202'' of the hand 7202 of the first user 7102 and a representation 7028'' of the hand 7028 of the second user 7002. In the scenarios shown in Figures 7B and 7C, the second user 7002 controls the first user interface object 7016, excluding simultaneous interaction between the first user 7102 and the first user interface object 7016. For example, in some embodiments, when the first user interface object 7016 is under the control of the first user 7002, the first user interface object 7016 is displayed at a position in the three-dimensional environment 7015 corresponding to the location of the second user 7002's hand 7028 in the second user 7002's physical environment. In some embodiments, when the first user interface object 7016 is under the control of the second user 7002, the representation of the first user interface object 7016 is displayed at a position in the three-dimensional environment 7015 corresponding to the location of the second user 7002's hand 7028 in the second user 7002's physical environment, and the first user interface object 7016 is displayed at a different position away from the position of the representation of the first user interface object 7016. In this example, the second user 7002 controls the first user interface object 7016, which is displayed in a position within the three-dimensional environment 7015 that corresponds to the location of the second user's hand 7028.In some embodiments, when the first user interface object 7016 is under the control of the second user 7002, the first user interface object 7016 is oriented within the three-dimensional environment 7015 such that a preset face of the first user interface object 7016 (e.g., front A, content presentation face, interactive face, etc.) faces a viewpoint corresponding to the currently displayed second view 7015-2 of the three-dimensional environment 7105 (e.g., a view shown to the second user 7002 controlling the first user interface object 7016, a view displayed by the second display generation component 7100, etc.). In some embodiments, the first user interface object 7016 can be reoriented in the three-dimensional environment by a second user 7002 controlling the first user interface object 7016 such that a preset surface of the first user interface object 7016 faces a viewpoint corresponding to the currently displayed first view 7015-1 of the three-dimensional environment (for example, a view shown to a first user 7102 who does not control the first user interface object 7016 at that time, a view displayed by the first display generation component 7200, etc.). In some embodiments, if the first user interface object 7016 is under the control of the second user 7002 and is not shared with the first user 7102 (for example, even if the content display side of the first user interface object 7016 is in the first view 7015-1 of the three-dimensional environment presented to the first user 7102 by the first display generation component 7200), then at least a portion of the content on the first user interface object 7016 is shown only in the second view 7015-2 of the three-dimensional environment and not in the first view 7015-1 of the three-dimensional environment.In some embodiments, the second user 7002 can make the hidden content of the first user interface object 7016 visible to the first user 7102 by reorienting the first user interface object 7016 such that the content-presenting side of the first user interface object 7016 faces away from the viewpoint of the second view 7015-2.

[0120] In Figures 7B and 7C, both the first view 7015-1 and the second view 7015-2 include individual representations of the first user's hand 7202 (e.g., representation 7202' or 7202'') and the second user's hand 7028 (e.g., representation 7028' or 7028''). In some embodiments, the computer system displays the hand representations based on a camera view of the user's hand. In some embodiments, the computer system provides a view of the hand representations through a transparent portion of a display generation component(s). In some embodiments, the computer system generates a style representation of the user's hand based on sensor information received from one or more sensors located within the physical environment(s) of the first and second users. In some embodiments, the position and configuration of the user's hand(s) representations vary according to the location(s) and configuration(s) of the user's hand(s) in the user's physical environment(s). In some embodiments, the computer system displays a representation of a user's hand based on a camera view of the user's hand. In some embodiments, the computer system displays a representation of one user's hand but not the other user's hand at a given time. For example, if a second user 7002 is controlling a first user interface object 7016, the representation of the second user's hand 7028 is optionally displayed only in the second view 7015-2 shown to the second user 7002, and not in the first view 7015-1 shown to the first user 7102. In another example, the representation of a user's hand may move in and out of the field of view provided via separate display-generating components due to the movement of the first user and / or the second user (and / or their respective display-generating components or cameras, etc.) within their respective physical environments.

[0121] In Figures 7B and 7C, the first user interface object 7016 is displayed in a second view 7015-2 of a three-dimensional environment, which is displayed via a second display generation component 7100 used by a second user 7002 controlling the first user interface object 7016. The first user interface object 7016 is displayed with a first set of appearance characteristics (e.g., the normal appearance of the first user interface object as displayed to the second user by the second display generation component (e.g., a first shape, a first size, a first color, a first opacity, a first saturation, a first brightness, etc.)). The first user interface object 7016 maintains the first set of appearance characteristics under the control of the second user 7002, regardless of whether the first user 7102 is attempting to access the first user interface object 7016 using separate movements or inputs directed towards the first user interface object. The first user interface object 7016 can change its appearance in an independent manner according to the interaction between the second user 7002 and the first user interface object 7016 via a computer system used by the second user 7002. These changes in appearance caused by the interaction between the second user 7002 and the first user interface object 7016 are optionally shown in both the first view 7015-1 and the second view 7015-2 at any given time in which the changes occur.

[0122] In Figure 7B, while the first user interface object 7016 is under the control of the second user 7002, if the first user 7002 is not attempting to access the first user interface object 7016 or to gain control of the first user interface object 7016 (for example, through the movement of a part of the user such as the user's hand, through eye-tracking input, through air gestures, through gestures involving the movement of a part of the hand relative to another part of the hand, through inputs provided via a control object, etc.), the first user interface object 7016 will be displayed in the first view 7015-1 with the same first set of appearance characteristics as the second view 7015-2 of the three-dimensional environment (optionally, from different viewpoints, and / or editing of hidden content, etc.). If both the first and second views capture a portion of the three-dimensional environment corresponding to the location of the first user's hand 7202 in physical space, the movement of the first user's hand 7202 within the physical environment of the first user 7102 may be represented in both the first view 7015-1 and the second view 7015-2.

[0123] In contrast, in Figure 7C, the computer system detects a first user input provided by the first user 7102 directed towards the first user interface object 7016. For example, in some embodiments, the computer system detects the movement of a part of the first user 7102 (e.g., the user's hand 7202, another hand of the first user, etc.) to a location in the first user 7102's physical environment corresponding to the position of the first user interface object 7016 in the three-dimensional environment 7015. In some embodiments, the computer system detects gaze input directed towards the first user interface object 7016 and control inputs detected along with the gaze input (e.g., finger movement gestures, air gestures, inputs provided by a controller, etc.). In the example shown in Figure 7C, the first user input is the movement of the first user's hand 7202 to a location corresponding to the position of the first user interface object 7016, optionally accompanied by a movement or posture for grasping the first user interface object 7016 in the three-dimensional environment. In some embodiments, the movement, position, and / or orientation of the hand 7202 of the first user 7102 is shown in both the first view 7015-1 and the second view 7015-2. In some embodiments, the movement, position, and / or orientation of the hand 7202 of the first user 7102 is shown only in the first view 7015-1 and not in the second view 7015-2. In some embodiments, by not showing the movement, position, and / or orientation of the hand 7202 of the first user 7102 in the second view 7015-2, the computer system used by the second user 7002 reduces confusion for the second user 7002 when the second user 7002 interacts with the first user interface object 7016.

[0124] In Figure 7C, upon detecting a first user input directed to the first user interface object 7016, and in accordance with the determination that a second user 7002 is currently interacting with the first user interface object (e.g., controlling the first user interface object 7016, or controlling the first user interface object while excluding the interaction requested by the first user 7102), the computer system displays a visual indication that the first user interface object 7016 is not available for interaction with the first user 7102. In some embodiments, displaying the visual indication includes changing at least one of the appearance of the first user interface object 7016 in a first view 7015-1 of the three-dimensional environment 7015 or the position of the first user interface object 7016.

[0125] In some embodiments, the computer system determines that the second user 7002 is currently interacting with the first user interface object 7016, based on the determination that the first user interface object 7016 has a predefined spatial relationship with respect to the virtual position of the second user 7002 in a three-dimensional environment (for example, the first user interface object 7016 is in a representation of the second user's palm or hand 7028, or the first user interface object 7016 is in the second user's private space within a first view 7015-1 of the three-dimensional environment). In some embodiments, the computer system determines that the second user 7002 is currently interacting with the first user interface object 7016, based on the determination that the second user 7002 is controlling, selecting, moving, modifying, and / or otherwise interacting with the first user interface object 7016 through a computer system that displays a second view 7015-2 of the three-dimensional environment via a second display generation component 7100.

[0126] In some embodiments, to display a visual indication in a first view 7015-1 of the three-dimensional environment 7015 that the first user interface object 7016 is not available for interaction with the first user 7102, the computer system displays the first user interface object 7016 having a second set of appearance characteristics (e.g., a second shape, a second size, a second color, a second opacity, a second saturation, a second brightness, etc.) that is different from a first set of appearance characteristics (e.g., the second set of appearance characteristics provides a visual indication that the first user interface object is currently under the control of the second user and is not available for interaction with the first user). For example, the first user interface object 7016 shown in the first view 7015-1 of Figure 7C is semi-transparent compared to the one shown in the second view 7015-2 of Figure 7C. In some embodiments, to display a visual indication in a first view 7015-1 of the three-dimensional environment 7015 to show that the first user interface object 7016 is not available for interaction with the first user 7102, the computer system moves the first user interface object 7016 so as not to interfere when the first user 7102 attempts to grasp it. In some embodiments, the first user interface object 7016 maintains its appearance and / or position in a second view 7015-2 displayed to the second user 7002, since the visual indication only needs to be displayed to the first user 7102.In some embodiments, if a first user input provided by a first user 7102 corresponds to a request to perform a first action with respect to a first user interface object 7016, the computer system does not perform the first action with respect to the first user interface object 7016, according to the determination that a second user 7002 is currently interacting with the first user interface object 7016 (e.g., controlling the first user interface object 7016, controlling the first user interface object 7016 while excluding the interaction requested by the first user 7102). For example, in some embodiments, the computer system does not show the first user interface object 7106 being grasped by a representation 7202' of the first user's hand 7202. In some embodiments, the computer system does not show a ghost image or other representation of the first user interface object 7016 moving within the representation 7202' of the first user's hand 7202.

[0127] In some embodiments, upon detecting a first user input directed to a first user interface object 7106, and in accordance with the determination that a second user 7002 is not currently interacting with the first user interface object 7016, the computer system performs a first action on the first user interface object in accordance with the first user input. In some embodiments, performing the first action includes indicating that the first user interface object 7016 is being grasped or moved by the first user 7102 in accordance with the first user input (e.g., being moved toward a virtual position of the first user 7102 in a three-dimensional environment, being moved in accordance with the movement of the first user input, etc.). In some embodiments, performing the first action includes showing a ghost image or other representation of the first user interface object 7016 being grasped and / or moved within a representation 7202' of the first user's hand 7202. In some embodiments, the first user interface object 7016 continues to be displayed with a first set of appearance characteristics (for example, in its original location or as a representation of the first user's hand) according to the determination that the second user 7002 was not interacting with the first user interface object 7106 when the first user input from the first user 7102 was detected.

[0128] In some embodiments, while a second user 7002 is interacting with the first user interface object, if the first user 7102 attempts to grasp the first user interface object 7016 or otherwise interacts with the first user interface object, the computer system modifies the appearance of the first user interface object, such as fading out the first user interface object in the first view 7015-1 displayed to the first user user 7102, as the first user 7102 attempts to grasp the first user interface object 7016. For example, the computer system may optionally modify at least one of a first set of appearance characteristics of the first user interface object 7016 (e.g., increase the transparency level, decrease the saturation, decrease the opacity, blur, darken, decrease the resolution, reduce the size, etc.) to reduce the visual prominence of the first user interface object 7016 in a first view 7015-1 of a three-dimensional environment while maintaining the appearance of the surrounding environment of the first user interface object 7016 (e.g., without changing the appearance of the surrounding environment and / or the visual prominence). In some embodiments, upon detecting that the first user 7102 has ceased an attempt to interact with the first user interface object 7016, the computer system restores at least one (e.g., some, all, etc.) of a first set of appearance characteristics of the first user interface object that have been modified in response to the first user's attempt to grasp or interact with the first user interface object (e.g., to the level that existed immediately before the detection of the first user input, or before the modification was made in response to the detection of the first user input) in order to restore the visual prominence of the first user interface object.

[0129] In some embodiments, if the first user interface object 7016 is moved away from the position corresponding to the location of the first user's hand 7202 (for example, moved away from the representation 7202' of the hand 7202 in the three-dimensional environment 7015 due to an action by a second user 7002 and / or in accordance with other events occurring in the three-dimensional environment (for example, events unrelated to the first user 7102's attempt to interact), the computer system restores at least one of the first set of appearance characteristics of the first user interface object (e.g., some, all, etc.) that have been modified in response to the first user attempting to grasp the first user interface object or otherwise interact with the first user interface object (e.g., to the level that existed immediately before the detection of the first user input, or before the modification was made in response to the detection of the first user input) in order to restore the visual prominence of the first user interface object.

[0130] In some embodiments, after a visual indication that the first user interface object 7016 is unavailable for interaction with the first user 7102 is displayed in the first view 7015-1, the computer system continues to display the visual indication until the computer system detects that the second user 7002 is no longer interacting with the first user interface object and / or has relinquished control of the first user interface object, so that the first user interface object becomes available for interaction with the first user 7102. In some embodiments, after a visual indication that the first user interface object 7016 is unavailable for interaction with the first user 7102 is displayed in the first view 7015-1, the computer system continues to display the visual indication for a predetermined period (e.g., 10 seconds, 5 seconds, etc.) after the first user has stopped attempting to interact with the first user interface object 7106 via the first user input or another input.

[0131] In some embodiments, the first user interface object 7016 can be transmitted to a position corresponding to the location of the first user (e.g., a position corresponding to the hand 7202 of the first user 7102, a position corresponding to the private space surrounding the first user 7102, etc.) in accordance with gesture input (e.g., a toss gesture, a slow gesture, a push gesture, etc.) provided by the second user 7002 controlling the first user interface object 7016. In some embodiments, the first user interface object 7016 rotates (e.g., reorients, changes direction, etc.) while moving from the first position to the second position in the three-dimensional environment 7015 as a result of the gesture input provided by the second user 7002. In some embodiments, the first user interface object 7016 can also be transmitted to a position corresponding to the location of the second user 7002 according to gesture inputs (e.g., toss gesture, slow gesture, push gesture, etc.) provided by the first user 7102 after the first user 7102 has gained control of the first user interface object 7016. In some embodiments, the first user interface object 7016 rotates (e.g., changes orientation, changes direction of facing, etc.) while moving from a second position to a third position in the three-dimensional environment 7015 as a result of the gesture inputs provided by the first user 7102. In some embodiments, the first user interface object 7106 rotates so that its content-presenting side or interactive side faces the side that receives the first user interface object.

[0132] In some embodiments, the first user interface object 7016 can be transmitted to a position in a three-dimensional environment where it can be viewed in a better view by both the first and second users (e.g., displayed in the center of the three-dimensional environment 7015, displayed in a position corresponding to a wall in the physical environment 105, displayed on a virtual surface within the three-dimensional environment 7015, etc.) in response to gesture input (e.g., toss gesture, slow gesture, push gesture, etc.) provided by a user controlling the first user interface object. In some embodiments, the first user interface object rotates while moving to a position in the three-dimensional environment (e.g., reorient, change facing direction, etc.) such that when it reaches a position in the three-dimensional environment, it has an orientation that allows both the first and second users to view its content and / or interactive side, and / or has a predetermined spatial relationship (e.g., overlapping, parallel, oblique, perpendicular, upright, etc.) with respect to a surface (e.g., representation of a wall, table surface, virtual surface, virtual screen, virtual table top, etc.) at the position in the three-dimensional environment.

[0133] In some embodiments, the computer system changes the position of the first user interface object 7016 in a first view 7015-1 of the three-dimensional environment as a visual indication that the first user interface object 7016 is not available for interaction with the first user 7102. In some embodiments, changing the position of the first user interface object in a first view 7015-1 of the three-dimensional environment includes moving the first user interface object 7016 from its original position to maintain at least a predetermined distance between the first user interface object and the representation 7202' of the first user 7102's hand 7202 that provided the first user input (for example, the first user interface object appears to move in one or more directions to avoid the representation 7202' of the first user 7102's hand 7202 attempting to grasp the first user interface object). In some embodiments, the movement of the first user interface object 7016 involves a change made to the appearance of the first user interface object (for example, the first user interface object appears to weaken or darken while moving in order to prevent the representation of the first user's hand 7202' from getting too close to it).

[0134] In some embodiments, if the first user interface object 7016 is not under the control of the second user 7002 but is available for interaction with the first user 7102, the computer system moves the first user interface object 7016 toward the representation 7202' of the first user's hand 7202 in the first view 7015-1 of the three-dimensional environment 7015, and optionally also moves it toward the second view 7015-2 of the three-dimensional environment.

[0135] In some embodiments, the first user input provided by the first user 7102 includes a predetermined selection gesture (e.g., is, includes, starts with, ends with, etc.) (e.g., the selection gesture is a pinch gesture including a touchdown of the index finger to the thumb of the same hand (optionally, then lifting the index finger from the thumb, or flicking the wrist connected to the hand, or translating the entire hand, etc.), a gesture including pulling the index finger and thumb of the same hand away from each other from a touch position, a pinch gesture, a pinch-and-drag gesture, a pinch-and-flick gesture, etc.). In some embodiments, the computer system, upon detecting a first user input while the second user 7002 is not interacting with the first user interface object 7016, selects the first user interface object 7016 as the target for subsequent inputs received from the first user 7102 (e.g., a drag gesture while a pinch gesture is being maintained, a flick gesture while a pinch gesture is being maintained, a drag gesture after a predetermined selection gesture has finished, etc.). In some embodiments, in conjunction with selecting the first user interface object 7016 as the target of subsequent input received from the first user 7102, the computer system displays a representation of the first user interface object 7106 (e.g., a copy of the first user interface object, a ghost image of the first user interface object, etc.) at a position corresponding to the location of the first user 7102's hand 7202, while maintaining the first user interface object 7016 in a first position within a first view 7015-1 of the three-dimensional environment (e.g., the first user interface object remains in its original location but can be “remotely” controlled by the first user 7102 according to the interaction between the first user 7102 and the representation of the first user interface object).In some embodiments, a representation of the first user interface object is displayed near a representation 7202' of the first user's hand 7102, but does not advance to a position corresponding to the location of the first user's hand until the computer system detects another selection input provided by the first user 7202. In some embodiments, the computer system changes the shape of the representation of the first user interface object according to a determination that the first user 7102 has provided an input that matches the requirements of a selection input, and the change in the shape of the representation of the first user interface object optionally provides visual guidance regarding the requirements for completing the selection input. In some embodiments, user interaction with the representation of the first user interface object is translated into interaction with the first user interface object, causing the computer system to perform an action on the first user interface object according to the interaction between the first user 7102 and the representation of the first user interface object. In some embodiments, the representation of the first user interface object remains displayed in the position of the representation 7202' of the first user's hand 7202, and optionally, the first user 7102 controls the first user interface object, excluding the interaction of other users who share the three-dimensional environment with the first user.

[0136] In some embodiments, some or all of the features described above with respect to the behavior of the computer system, the first display generation component 7200, and the second display generation component 7100 in Figures 7A to 7C are equally applicable to other scenarios in which the roles of the first user 7102 and the second user 7002 with respect to the first user interface object 7016 are reversed. In such other scenarios, the operation of the computer system and display generation components used by the first user and the second user may be reversed as appropriate in the particular scenario. The features described above remain valid and are therefore not repeated herein for the sake of brevity.

[0137] Figures 7D to 7F are block diagrams illustrating various methods for displaying representations of physical objects relative to the viewpoint of the currently displayed view of a three-dimensional environment, according to several embodiments. The viewpoint moves according to the user's movement within a first physical environment, and the representations of physical objects move according to the movement of physical objects within a second physical environment distinct from the first physical environment. Changes in the method of displaying the representations are triggered when the spatial relationship between the representations of physical objects and the viewpoint satisfies a predetermined criterion.

[0138] In some embodiments, the computer system displays a view of the three-dimensional environment 7204 that includes representations of physical objects (e.g., a second user 7102, animals, a mobile drone, etc.) located in a different physical environment (e.g., scene 105-a, or another indoor or outdoor physical environment) from the physical environment of the first user (and a first display generating component 7100 used by the first user 7002 to view the three-dimensional environment 7304). The computer system optionally moves the viewpoint corresponding to the currently displayed view of the three-dimensional environment 7304 in accordance with the movement of the first user 7002 (and / or the first display generating component 7100) within the physical environment of the first user 7002 (e.g., scene 105-a, or another physical environment). The computer system determines the position and movement path of the representation of the physical object in the three-dimensional environment 7204 (e.g., the representation of the second user 7102'-a, the representation of another physical object, etc.) based on the location and movement path of the physical object in its physical environment (e.g., scene 105-b, or another physical environment, etc.). The computer system utilizes a first type of correspondence (e.g., mapping and transformation relationships, optionally different mapping and transformation relationships such as viewpoint, physical object, and first user) between the position in the three-dimensional environment 7304 and the location in the individual physical environment (e.g., the physical environment 105-a of the first user 7002 and the first display generation component 7100, the physical environment of the physical object (e.g., the physical environment 105-b of the second user 7102, another physical environment of the physical object, etc.)).Under certain conditions (for example, due to the movement of the first user 7002 and / or the movement of a physical object (for example, a physical object represented by the second user 7102 in this example)), the position(s) of the physical object's representation(s) is within a threshold distance (e.g., arm length, 3 feet, user-specified distance, etc.) of the viewpoint position of the currently displayed view (e.g., view 7304-a, 7304-a', etc.) of the three-dimensional environment 7304, as shown via the first display generation component 7100, where the position is determined using a first type of correspondence between the position in the three-dimensional environment 7304 and the location in the physical environment (e.g., scene 105-a, 105-b, etc.). Under such conditions, the computer system displays the physical object's representation(s) (e.g., representation 7102'-a in this example) at an adjusted position offset from the position determined based on the first type of correspondence (e.g., as shown in Figure 7F, etc.). In some embodiments, the adjusted position is determined based on a second type of correspondence distinct from a first type of correspondence, ensuring that the adjusted position remains greater than a threshold distance from the viewpoint position of the currently displayed view of the three-dimensional environment shown through the first display-generating component (e.g., view 7304-a'', subsequent views shown through the first display-generating component 7100, etc.). The computer system continues to use the second type of correspondence to determine the adjusted position of the representation of the physical object (e.g., representation 7102'-a in this example) until the unadjusted position calculated based on the first type of correspondence moves beyond a threshold distance from the viewpoint position of the currently displayed view of the three-dimensional environment shown through the first display-generating component (e.g., view 7304-a'', subsequent views shown through the first display-generating component 7100, etc.).

[0139] In some embodiments, when a computer system provides a view of a three-dimensional environment 7304 to a first user 7002, and the viewpoint position corresponding to the currently displayed view of the three-dimensional environment 7304 is based on the location of the first user's head, body, or eyes in the first user's physical environment, the computer system may, at times, display representations of other physical objects (for example, physical objects represented by a second user 7102 in this example, which may be inanimate or living objects that do not share the computer-generated environment 7304 with the first user 7002) at positions corresponding to the locations of those physical objects in their respective physical environments. In some situations, even if there is no risk or possibility of actual physical collision or uncomfortable spatial proximity between the first user 7002 and other physical objects in the real world, the position of the representation of a physical object may collide with or be too close to (for example, if not specifically adjusted or otherwise addressed) the position of the viewpoint corresponding to the view shown to the first user, causing discomfort or sometimes irritation to the first user's visual experience in the three-dimensional environment.

[0140] As disclosed herein, when the position of a representation of a physical object determined based on a first type of correspondence is not within the threshold range of the viewpoint corresponding to the currently displayed view of the three-dimensional environment shown to the first user, the computer system determines the position of a representation of a physical object located in a physical environment other than that of the first user, based on a first type of correspondence or mapping relationship between the position in the three-dimensional environment and the corresponding location of the physical object in the physical environment. This means that if the representation of a physical object is at a certain distance from the virtual position of the viewpoint, the movement of the representation of the physical object in the three-dimensional environment can correspond to the movement of the physical object in a manner that mimics movement and spatial relationships in the real world, and the representation of the physical object does not infringe upon the first user's sense of personal space. However, if the representation of a physical object is very close to the virtual position of the viewpoint, the movement of the representation of the physical object corresponding to the movement of the physical object in the same manner (e.g., according to a first type of correspondence or mapping relationship) would cause the representation of the physical object to be displayed at an unreasonable size, overlap with the viewpoint, and / or infringe upon the first user's sense of personal space. Therefore, based on the determination that the representation of a physical object is within a threshold distance from the viewpoint, the computer system uses a second type of correspondence or mapping relationship between the position in the three-dimensional environment and the corresponding location of the physical object in the physical environment to calculate the adjusted position of the representation of the physical object, thereby allowing the representation of the physical object to be displayed in the adjusted position and / or moved to avoid being displayed at an unreasonable size, overlapping with the viewpoint, and / or infringing on the first user's sense of personal space.

[0141] Figure 7D shows a scenario in which two users, for example, a first user 7002 and a second user 7102, share a computer-generated three-dimensional environment 7304, according to several embodiments. In some embodiments, the first user 7002 is located in the first physical environment 105-a, and the second user 7102 is located in the second physical environment 105-b. In some embodiments, the first and second physical environments are parts of the same physical environment that may overlap with each other. In some embodiments, the first and second physical environments are separate physical environments that do not overlap with each other. In some embodiments, the first and second physical environments are optionally an indoor environment, an outdoor environment, one indoor environment and one outdoor environment, a mixture of indoor and outdoor environments, etc. In this example, the first physical environment includes physical surfaces (e.g., walls 7004-a and 7006-a, floor 7008-a, etc.) and physical objects (e.g., physical object 7010, other physical objects, etc.). The second physical environment includes physical surfaces (e.g., walls 7004-b and 7006-b, floor 7008-b, etc.) and physical objects (e.g., physical object 7014, other physical objects, etc.). The first user 7002 is a user of the first display generation component 7100, and is provided with a first view 7304-a (and subsequently updated first views 7304-a', 7304-a'', etc.) of the shared three-dimensional environment 7304 via the first display generation component 7100. The second user 7102 is a user of the second display generation component 7200, and is provided with a second view 7304-b (and subsequently updated first views 7304-b', 7304-b'', etc.) of the shared three-dimensional environment 7304 via the second display generation component 7200.For illustrative purposes, the first user 7002 moves forward along a straight line 7300 in the first physical environment 105-a, the second user 7102 moves forward along a straight line 7302 in the second physical environment 105-b, the representation 7300' of the straight line 7300 in the second view 7304-b of the three-dimensional environment 7304 passes through the viewpoint of the second view 7304-b, and the representation 7302' of the straight line 7302 in the first view 7304-a of the three-dimensional environment 7304 passes through the viewpoint of the first view 7304-a. In some embodiments, the movement paths of the first user 7002 and the second user 7102 do not have to be straight lines, the paths may be of any shape and / or have any suitable spatial range within their physical environments. In some embodiments, it is not necessary for both the first and second users to move within separate physical environments. In some embodiments, the viewpoint of the currently displayed view of the three-dimensional environment provided via individual display generation components does not have to be stationary and / or may move in accordance with the movement of the individual display generation components and / or the movement of individual users of the individual display generation components. In some embodiments, there is no requirement that the three-dimensional environment be a shared environment between a first user and a second user. For example, in some embodiments, from the perspective of the first display generation component 7100, the second user 7102 in this example is simply a representation of a physical object in the second physical environment (e.g., an animal, a drone, a person not using the three-dimensional environment or not providing input to the three-dimensional environment). Similarly, in some embodiments, from the perspective of the second display generation component, the first user 7002 in this example is simply a representation of a physical object in the first physical environment (e.g., an animal, a drone, a person not using the three-dimensional environment or not providing input to the three-dimensional environment). In some embodiments, only one of the display generation components (e.g., a first display generation component, a second display generation component, etc.) is used, and the other display generation components are either absent or not involved in the process described herein.

[0142] In the example shown in Figure 7D, according to some embodiments, the three-dimensional environment 7304 is shared between users 7002 and 7102, initiated by one of the users 7002 and 7102 using a computer system controlled by one user, and shared by the other user using a computer system controlled by the other user 7002 and 7102 upon request. In some embodiments, both users receive and accept requests to share the three-dimensional environment using their respective computer systems from a computer system used by a third user. In some embodiments, both users send requests to share the three-dimensional environment to a server using their respective computer systems, and the user requests are accepted by the server. When sharing the computer-generated three-dimensional environment, the location and orientation of the users, as well as the location and orientation of each user's head, eyes, hands, arms, and / or wrists, are captured in real time or periodically by sensors (e.g., cameras, motion sensors, etc.), and the location and orientation data is provided to one or both of the user-controlled computer systems and / or to a server communicating with the computer systems. Location data is used by a computer system and / or server to determine the location and orientation of each user in a computer-generated three-dimensional environment, as well as the location and orientation of each of the user's heads, eyes, hands, arms, and / or wrists, and correspondingly, the position of each of the user's representations, including each of the user's heads, arms, hands, and / or wrists, in a view of the three-dimensional environment provided through different display generation components associated with the user, as well as the field of view and viewpoint of the view of the three-dimensional environment provided through different display generation components associated with the user. In some embodiments, the computer-generated environment shared by the user is an environment such as a virtual conference call, a chat session, a multiplayer game, or a shared computer-generated experience (e.g., group meditation, exercise, games, collaborative work, etc.). In some embodiments, the user's representation is the user's avatar.In some embodiments, the user's representation is optionally not attached to or supported by a surface in the three-dimensional environment.

[0143] In part (A) of Figure 7D, the computer system displays a first view 7304-a of the three-dimensional environment 7304 via a first display generation component 7100. In the first view 7304-a of the three-dimensional environment, the representation 7102'-a of the second user 7102 is displayed in a position corresponding to the current location of the second user 7102 in the second physical environment 105-b. Other objects are also present in the first view 7304-a of the three-dimensional environment, such as a virtual path 7306-a and a virtual object 7308-a. The appearance and display position of the representation 7102'-a of the second user 7102, the virtual object 7308-a, and the virtual path 7306-a in the first view 7304-a are based on their respective positions in the three-dimensional environment relative to the viewpoint position of the currently displayed first view 7304-a of the three-dimensional environment, as shown via the first display generation component 7100. In some embodiments, the representation 7002'-a of the first user 7002 is optionally visible within the first view 7304-a of the three-dimensional environment at a position corresponding to the virtual position of the first user 7002 and / or the viewpoint of the first view 7304-a currently displayed in the three-dimensional environment. In this example, as shown in Figure 7D, Part (A), the computer system displays the movement of representation 7102'-a along the straight line representation 7302' of representation 7302 toward the virtual position of the viewpoint of the first view 7304-a. At the moment shown in Figure 7D, representation 7102'-a is displayed at a position calculated according to a first type of correspondence between a position in the three-dimensional environment 7304 and a location in a second physical environment (e.g., scene 105-b, or another physical environment of the second user 7102). The representation 7102'-a of the second user 7102 is shown to move toward and approach the viewpoint of the first view 7304-a as the second user 7102 moves forward along line 7302 in the second physical environment.

[0144] In some embodiments, as shown in part (B) of Figure 7D, a computer system, or another computer system communicating with the computer system, optionally displays a second view 7304-b of the three-dimensional environment 7304 via the display generation component 7200. In the second view 7304-b of the three-dimensional environment, the representation 7002'-b of the first user 7002 is displayed at a position corresponding to the current location of the first user 7002 in the first physical environment (e.g., scene 105-a, or another physical environment of the first user). The second view 7304-b of the three-dimensional environment contains other objects such as virtual paths 7306-b (e.g., the same virtual path as virtual path 7306-a, but viewed from the viewpoint of the second view 7304-b) and virtual objects 7308-b (e.g., the same virtual object as virtual object 7308-a, but viewed from the viewpoint of the second view 7304-b). The appearance and display positions of the representation 7002'-b of the first user 7002, the virtual object 7308-b, and the virtual path 7306-b within the second view 7304-b are based on their respective positions within the three-dimensional environment relative to the position of the viewpoint of the currently displayed second view 7304-b, as shown via the second display generation component 7200. In some embodiments, the representation 7102'-b of the second user 7102 is visible within the second view 7304-b of the three-dimensional environment at a position corresponding to the virtual position of the second user 7102 and / or the viewpoint of the currently displayed second view 7304-b. In this example, as shown in part (B) of Figure 7D, the computer system displays the movement of representation 7002'-b along representation 7300' of a straight line 7300 toward the virtual position of the viewpoint of the second view 7304-b. At the moment shown in Figure 7D, representation 7002'-b is displayed at a position calculated according to a first type of correspondence between a position in the three-dimensional environment 7304 and a location in a first physical environment (e.g., scene 105-a, or another physical environment of the first user).The representation 7002'-b of the first user 7002 is shown to move toward and approach the virtual position of the viewpoint of the second view 7304-b as the first user 7002 moves forward along line 7300 within the first physical environment.

[0145] Figure 7E shows the point in time when either or both of the first user 7002 and the second user 7102 have moved within their respective physical environments such that their respective positions within the three-dimensional environment 7304, calculated according to a first type of correspondence (e.g., a first type of correspondence between a position in the three-dimensional environment 7304 and a location in the first physical environment, or a first type of correspondence between a position in the three-dimensional environment 7304 and a location in the second physical environment), are at a first threshold distance from each other within the three-dimensional environment 7304. In some embodiments, at this point, as shown in part (A) of Figure 7E, the individual position of the second user 7102'-a representation and the viewpoint position of the updated first view 7304-a', calculated according to the first type of correspondence between a position in the three-dimensional environment 7304 and a location in the second physical environment, are at a first threshold distance from each other within the three-dimensional environment 7304. In some embodiments, optionally, as shown in part (B) of Figure 7E, the individual positions of the representation 7002'-b of the first user 7002 and the viewpoint positions of the updated second view 7304-b' are calculated according to a first type of correspondence between positions in the three-dimensional environment 7304 and locations in the first physical environment, such that they are at a second preset threshold distance from each other in the three-dimensional environment (e.g., the same as the first preset threshold distance, or different preset threshold distances). In some embodiments, the first threshold distance is different from the second threshold distance depending on the respective personal settings and other characteristics of the first and second users (e.g., size, shape, posture, activity, etc.).

[0146] In part (A) of Figure 7E, in response to detecting the movement of the first user 7002 and the second user 7102 within their physical environment, the computer system displays an updated first view 7304-a' of the three-dimensional environment having a viewpoint that moves in accordance with the movement of the first user 7002 within the first physical environment. In some embodiments, the viewpoint of the updated first view 7304-a' remains stationary within the three-dimensional environment if the first user 7002 and / or the first display generation component 7100 have not moved within the first physical environment. In some embodiments, the computer system displays the representation 7102'-a at a first display position in the updated first view 7304-a' of the three-dimensional environment, where the first display position is the individual position of the representation 7102'-a of the second user 7102 in the three-dimensional environment, calculated based on the current location of the second user in the second physical environment according to a first type of correspondence, and where the individual position of the representation 7102'-a in the three-dimensional environment is greater than or equal to a first preset threshold distance from the individual position in the three-dimensional environment corresponding to the viewpoint associated with the updated first view 7304-a' of the three-dimensional environment, the computer system displays the representation 7102'-a at a first display position in the updated first view 7304-a' of the three-dimensional environment, where the first display position is the individual position of the representation 7102'-a in the three-dimensional environment.

[0147] In some embodiments, the first preset threshold distance is the length of an arm, a preset radius of personal space for the first user 7002 in the three-dimensional environment 7304, and is defined by a preset boundary surface surrounding the virtual position of the first user 7002 in the three-dimensional environment (e.g., a virtual surface of the representation of the first user 7002, or a bounding box surrounding the virtual position of the first user 7002).

[0148] In some embodiments, optionally, as shown in part (B) of Figure 7E, in response to detecting the movement of the second user 7102 within the physical environment of the second user 7102, the second user 7102's computer system displays an updated second view 7304-b' of the three-dimensional environment 7304, which has a viewpoint that moves in accordance with the movement of the second user 7102 within the second physical environment. In some embodiments, the viewpoint of the updated second view 7304-b' remains stationary within the three-dimensional environment if the second user 7102 and / or the second display generation component 7200 have not moved within the second physical environment. In some embodiments, the computer system of the second user 7102 displays representation 7002'-b at a second display position in the updated second view 7304-b' of the three-dimensional environment, where the second display position is the individual position of representation 7002'-b in the three-dimensional environment, calculated based on the current location of the first user 7002 in the first physical environment according to a first type correspondence, and where the individual position of representation 7002'-b in the three-dimensional environment is greater than or equal to a second preset threshold distance from the individual position in the three-dimensional environment corresponding to the viewpoint associated with the updated second view 7304-b' of the three-dimensional environment, the computer system of the second user 7102 displays representation 7002'-b at a second display position in the updated second view 7304-b' of the three-dimensional environment, where the second display position is the individual position of representation 7002'-b in the three-dimensional environment.

[0149] In some embodiments, the second preset threshold distance is the length of an arm, a preset radius of the personal space of the second user 7102 in the three-dimensional environment, and is defined by a preset boundary surface surrounding the virtual position of the second user 7102 in the three-dimensional environment (e.g., a virtual surface of the representation of the second user 7102, a bounding box surrounding the virtual position of the second user 7102, etc.).

[0150] In Figure 7F, the moment following what is shown in Figure 7E, the movement of either or both of the first user 7002 and the second user 7102 continues in their respective physical environments such that the respective positions of the first user and the second user in the three-dimensional environment are within each other's individual preset threshold distance in the three-dimensional environment, calculated according to a first type of correspondence (e.g., a first type of correspondence between a position in the three-dimensional environment 7304 and a location in the first physical environment, a first type of correspondence between a position in the three-dimensional environment 7304 and a location in the second physical environment, etc.). In some embodiments, at this point, the individual positions of the second user 7102's representation and the viewpoint of the further updated first view 7304-a'', calculated according to a first type of correspondence between a position in the three-dimensional environment 7304 and a location in the second physical environment, are less than the first preset threshold distance between each other in the three-dimensional environment.

[0151] In part (A) of Figure 7F, in response to detecting further movement of the first user 7002 and / or the second user 7102 within their respective physical environments, the computer system displays a further updated first view 7304-a'' of the three-dimensional environment, having a viewpoint that moves in accordance with the further movement of the first user 7002 within the first physical environment. In some embodiments, the viewpoint of the further updated first view 7304-a'' remains stationary within the three-dimensional environment if the first user 7002 and / or the first display generation component 7100 have not moved within the first physical environment. In some embodiments, according to a determination that the individual position of the representation 7102'-a of the second user 7102 in the three-dimensional environment, calculated based on the current location of the second user 7102 in the second physical environment according to a first type correspondence, is less than a first preset threshold distance from the individual position in the three-dimensional environment corresponding to the viewpoint associated with a further updated first view 7304-a'' of the three-dimensional environment, the computer system displays the representation 7102'-a in an adjusted display position in the further updated first view 7304-a'' of the three-dimensional environment, where the adjusted display position is offset from the individual position of the representation 7102'-a in the three-dimensional environment at this point. For example, in part (A) of Figure 7F, instead of displaying representation 7002'-a in a position directly in front of representation 7102'-a, or overlapping with representation 7002'-a in a further updated first view 7304-a'', the adjusted display position of representation 7002'-a is offset to the side of representation 7002'-a for the first user 7002 (e.g., to the right, or to another side or direction). Generally, instead of displaying representation 7102'-a in a position within a first preset threshold distance of the viewpoint of the currently displayed first view 7304-a'', the computer system displays representation 7102'-a in an adjusted display position offset from an unadjusted position calculated according to a first type correspondence.In some embodiments, the computer system continues to apply adjustments to the display position of representation 7102'-a while the first user 7002 and / or second user 7102 are moving, until the distance between the position of representation 7102'-a and the viewpoint position of the currently displayed first view 7304-a'' is no longer within a first predetermined threshold distance of each other.

[0152] In some embodiments, optionally, as shown in part (B) of Figure 7F, the individual positions of the representation 7002'-b of the first user 7002 and the viewpoint positions of the further updated second view 7304-b'' are less than a second preset threshold distance from each other in the three-dimensional environment (e.g., the same as the first preset threshold distance, a different preset threshold distance, etc.).

[0153] In part (B) of Figure 7F, in response to detecting further movement of the first user 7002 and / or the second user 7102 within their respective physical environments, the second user 7102's computer system displays a further updated second view 7304-b'' of the three-dimensional environment, which has a viewpoint that moves in accordance with the further movement of the second user 7102 within the second physical environment. In some embodiments, the viewpoint of the further updated second view 7304-a'' remains stationary within the three-dimensional environment if the second user 7102 and / or the second display generation component 7200 have not moved within the second physical environment. In some embodiments, the computer system of the second user 7102 displays representation 7002'-b at an adjusted display position in the further updated second view 7304-b'' of the three-dimensional environment, according to a determination that the individual position of representation 7002'-b of the first user 7002 in the three-dimensional environment, calculated based on the first user 7002's current location in the first physical environment according to a first type correspondence, is less than a second preset threshold distance from the individual position in the three-dimensional environment corresponding to a viewpoint associated with a further updated second view 7304-b'' of the three-dimensional environment, and the adjusted display position is offset from the individual position of representation 7002'-b in the three-dimensional environment at this point in time. For example, in part (B) of Figure 7F, instead of displaying representation 7002'-b in a position directly in front of representation 7102'-b, or overlapping with representation 7102'-b in a further updated second view 7304-b'', the adjusted display position of representation 7002'-b is offset to the side of representation 7102'-b for the second user 7102 (e.g., to the right, to another side or direction). Generally, instead of displaying representation 7002'-b in a position within a second preset threshold distance of the viewpoint of the currently displayed second view 7304-b'', the second user 7102's computer system displays representation 7002'-b in an adjusted display position offset from an unadjusted position calculated according to the first type of correspondence.In some embodiments, the computer system of the second user 7102 continues to apply adjustments during the movement of the first user and / or the second user until the distance between the position of representation 7002'-b and the viewpoint position of the currently displayed second view 7304-b'' is no longer within a predetermined second threshold distance between them.

[0154] In some embodiments, in the examples above, the first user 7002 is moving and the second user 7102 is stationary. As a result, unless adjusted as described above, the viewpoints of the currently displayed views 7304-a, 7304-a', and 7304-a'' have different positions in the three-dimensional environment, and the representation 7002'-b of the first user 7002 has a different position in the three-dimensional environment (for example, in the currently displayed first views 7304-a, 7304-a', and 7304-a'' in Figures 7D to 7F, and in the currently displayed second views 7304-b, 7304-b', and 7304-b''). Unless adjusted as described above, the viewpoints of the currently displayed views 7304-b, 7304-b', and 7304-b'' have the same position in the three-dimensional environment, and the representation 7102'-a of the second user 7102 has the same position in the three-dimensional environment (for example, in the currently displayed first views 7304-a, 7304-a', and 7304-a'' in Figures 7D to 7F, as well as in the currently displayed second views 7304-b, 7304-b', and 7304-b'').

[0155] In some embodiments, in the examples above, the first user 7002 is stationary, while the second user 7102 is moving within the second physical environment. As a result, unless adjusted as described above, the viewpoints of the currently displayed views 7304-b, 7304-b', and 7304-b'' have different positions in the three-dimensional environment, and the representation 7102'-a of the second user 7102 has a different position in the three-dimensional environment (for example, in the currently displayed first views 7304-a, 7304-a', and 7304-a'' in Figures 7D to 7F, and in the currently displayed second views 7304-b, 7304-b', and 7304-b''). Unless adjusted as described above, the viewpoints of the currently displayed views 7304-a, 7304-a', and 7304-a'' have the same position in the three-dimensional environment, and the representation 7002'-b of the first user 7002 has the same position in the three-dimensional environment (for example, in the currently displayed first views 7304-a, 7304-a', and 7304-a'' in Figures 7D to 7F, and in the currently displayed second views 7304-b, 7304-b', and 7304-b'').

[0156] In some embodiments, as in the example above, both the first user 7002 and the second user 7102 are moving within their respective physical environments. As a result, the viewpoints of the currently displayed first views 7304-b, 7304-b', and 7304-b'', as well as the viewpoints of the currently displayed second views 7304-a, 7304-a', and 7304-a'', all have different positions in the three-dimensional environment. Representation 7102'-a of the second user 7102 has different positions in the three-dimensional environment in the currently displayed first views 7304-a, 7304-a', and 7304-a'' and the currently displayed second views 7304-b, 7304-b', and 7304-b'' of Figures 7D to 7F, and representation 7002'-b of the first user 7002 has different positions in the three-dimensional environment in the currently displayed first views 7304-a, 7304-a', and 7304-a'' and the currently displayed second views 7304-b, 7304-b', and 7304-b'' of Figures 7D to 7F.

[0157] In some embodiments, the representation 7002'-b of the first user 7002 and / or the representation 7102'-a of the second user 7102 float in the space within the first and second views. For example, in some embodiments, the representation 7002'-b of the first user 7002 is a floating avatar of the first user 7002 floating in the second views 7034-b, 7034-b', and 7034-b'' of the three-dimensional environment, and automatically moves out of the way of view when the viewpoint of the second view 7034-b'' enters a second preset threshold distance of the representation 7002'-b due to the movement of the first user and / or the movement of the second user. Similarly, in some embodiments, the representation 7102'-a of the second user 7102 is a floating avatar of the second user 7102 floating in the first views 7034-a, 7034-a', and 7034-a'' of the three-dimensional environment, and automatically moves out of the way when the viewpoint of the first view 7034-a'' enters within a first preset threshold distance of the representation 7102'-a due to the movement of the first user and / or the movement of the second user. In some embodiments, the avatar of the user in the three-dimensional environment is a reality level selected based on the reality level of the three-dimensional environment (e.g., the reality level of a photograph, the reality level of a cartoon, etc.). In some embodiments, according to a determination that the three-dimensional environment 7304 is displayed at a first realism level, the user's representation is displayed with a first set of display characteristics corresponding to the first realism level (e.g., first resolution, first number of dimensions, first sharpness, first color palette, no lighting effects, etc.), and according to a determination that the three-dimensional environment is displayed at a second realism level different from the first realism level (e.g., higher, lower, etc.), the user's representation is displayed with a second set of display characteristics corresponding to the second realism level (e.g., second resolution, second number of dimensions, second sharpness, second color palette, with lighting effects, etc.), where the second set of display characteristics is different from the first set of display characteristics (e.g., higher, lower, added, subtracted, etc.).

[0158] In some embodiments, when the display position of an individual user's representation is adjusted, the individual user's representation moves with a moving component that does not correspond to the individual user's movement in the physical environment in the usual way (e.g., without adjustment, according to a first type of correspondence). In some embodiments, the amount of offset applied to the adjusted position of an individual user's individual representation is variable based on the spatial relationship between the individual representation and the virtual position of the viewpoint in the three-dimensional environment. In some embodiments, the adjustment to the display position of representation 7102'-a is optionally applied to the first view 7304-a'' displayed to the first user 7002, but not to the second view 7304-b'' displayed to the second user 7102. In some embodiments, the adjustment to the display position of representation 7002'-b is optionally applied to the second view 7304-b'' displayed to the second user 7102, rather than the first view 7304-a'' displayed to the first user 7002.

[0159] In some embodiments, the three-dimensional environment 7304 includes a virtual three-dimensional environment or an augmented reality environment, and the first user and the second user have a shared experience in the virtual three-dimensional environment. In some embodiments, the positions and movements of the first user and the second user in their respective physical environments (e.g., the same physical environment, different physical environments, etc.) are mapped to their positions and movements in the same three-dimensional environment (e.g., using the same mapping relationships, or different mapping relationships, etc.), but the appearance of the three-dimensional environment can be adjusted (e.g., using different wallpapers, color schemes, different virtual furniture, etc.) to adapt to individual users within the view of the three-dimensional environment shown to them.

[0160] Figures 7G to 7J are block diagrams illustrating the changes in immersion levels in a computer-generated experience environment according to changes in the user's biometric data received by the computer system, according to several embodiments.

[0161] In some embodiments, the computer system modifies the level of immersion in which it presents a computer-generated experience (e.g., a visual experience, an audiovisual experience, a virtual reality experience, an augmented reality experience, etc.) to the user (e.g., user 7002) according to biometric data (e.g., biometric data represented by bar 7312, other biometric data, etc.). For example, after a computer-generated experience has started, and for example, when the user is adjusting their physical and emotional state, for example, actively and / or under the influence of the computer-generated content, the computer system can detect changes in the biometric data (e.g., heart rate, blood pressure, respiratory rate, etc.) corresponding to the user. In accordance with changes in biometric data for each set of predefined criteria associated with various levels of immersion (e.g., thresholds represented by indicator 7326 or other types of thresholds or criteria), the computer system increases or decreases the level of immersion that the user receives from the computer-generated experience by altering the visual prominences of the virtual content (e.g., including spatial range, visual depth, saturation, visual contrast, etc.) relative to the visual prominences of the representation of the physical environment (e.g., by enhancing the complexity, spatial range, and / or visual characteristics of the virtual content, and / or by reducing the visual clarity, blur radius, opacity, saturation, etc., of the representation of the physical environment).

[0162] In the examples shown in Figures 7G to 7J, the computer system first displays a view 7316 of the three-dimensional environment via a display generation component (e.g., display generation component 7100, or another type of display generation component such as an HMD). In some embodiments, the view 7316 of the three-dimensional environment is a pass-through view of the user 7002's physical environment and does not contain virtual content within the peripheral portion of the field of view provided by the display generation component, or contains a minimal amount of virtual content (e.g., system controls, indicators). The view 7316 corresponds to a low level of immersion in providing the user with a computer-generated experience because, for example, the amount of virtual content displayed relative to the representation of the user's physical environment is minimal. In this example, the view 7316 of the three-dimensional environment includes representations of physical surfaces (e.g., representations 7004' and 7006' of two adjacent walls 7004 and 7006 in user 7002's physical environment 105, representation 7008' of the floor 7008, etc.) and representations of physical objects (e.g., representation 7010' of physical object 7010 in user 7002's physical environment 105, and representations of other physical objects, etc.).

[0163] Figure 7G also shows that while the computer system is displaying a view 7316 of the three-dimensional environment at a low level of immersion (e.g., displaying a pass-through view of the physical environment or a representation of the physical environment with a minimal amount of virtual content), the computer system receives biometric data corresponding to user 7002. According to the determination that user 7002's biometric data does not meet the pre-set criteria corresponding to the next higher level of immersion, the computer system maintains the display of the first view 7316 of the three-dimensional environment without reducing the visual prominence of the representation of the physical environment in the currently displayed view of the three-dimensional environment. For example, as shown in Figure 7G, the biometric data has a value or set of values ​​indicated by the length of a bar 7312 for the entire range of the biometric data values, and thresholds corresponding to pre-set criteria for transitioning to different higher levels of immersion are indicated by the position of an indicator 7326 for the entire range of the biometric data values.

[0164] In some embodiments, the biometric data corresponding to user 7002 includes one or more of the following: user 7002's heart rate, respiratory rate, body temperature, serum concentrations of specific chemicals, drugs, and / or hormones, blood pressure, electroencephalogram, concentration level, pupil size, metabolic rate, blood glucose level, etc. In some embodiments, the biometric data corresponding to user 7002 includes one or more types of biometric data (e.g., respiratory rate, blood pressure, concentration level, blood glucose level, etc.) that may change over time during the user's engagement with the computer-generated experience. In some embodiments, the biometric data corresponding to user includes one or more types of biometric data that may fluctuate through the user's physical actions (e.g., meditation, changes in breathing patterns, exercise, etc., as opposed to direct interaction with user interface elements or controls provided by the computer system during the user's engagement with the computer-generated experience). In some embodiments, the biometric data corresponding to user includes one or more types of composite metrics of multiple types of biometric data corresponding to the user's mood, well-being, and / or stress level, etc. In some embodiments, the biometric data includes real-time data corresponding to the user's physiological state in the time prior to the display of the current view of the three-dimensional environment via the display generation component or within a preset amount of time. In some embodiments, biometric data is collected continuously and / or periodically through one or more biometric sensors connected to or directed at the user (e.g., various suitable medical devices, vibration sensors, cameras, thermal sensors, chemical sensors, etc.) and transmitted continuously and / or periodically to a computer system. In some embodiments, the biometric data does not include non-primary human features (e.g., fingerprints, iris patterns and colors, facial features, voiceprints, etc.) that typically do not change over the period an average user is involved in a computer-generated experience.

[0165] In some embodiments, the computer system determines that the biometric data does not meet the predefined criteria for transitioning to displaying the computer-generated experience at a predefined higher level of immersion, according to determinations such as the heart rate being greater than a first threshold heart rate, the blood pressure being higher than a first threshold blood pressure, the user's exercise being greater than a first threshold displacement during a threshold time, the user's body temperature being higher than a first threshold body temperature, the stress level metric being above a first threshold stress level, and the metric corresponding to the user's mood indicating that the user is agitated and dissatisfied. In some embodiments, when the predefined criteria are met, the computer system switches to displaying the three-dimensional environment at a predefined higher level of immersion (as shown, for example, in Figure 7J) without going through a progressive transition based on the changes in biometric data before the predefined criteria were met. In some embodiments, optionally, the computer-generated experience includes visual and / or audio guidance (e.g., music, scenery, motivational messages, medication record guidance, visual, audio, or verbal breathing instructions) to help the user enter a state in which the corresponding biometric data received from the user will meet the predefined criteria.

[0166] Figures 7H to 7I illustrate that, in some embodiments, the computer system gradually adjusts the level of immersion provided to the user in the computer-generated experience according to the trend and / or magnitude of changes in the user's biometric data. For example, in some embodiments, when the biometric data exhibits changes that approach the satisfaction of a preset criterion for switching to a preset higher level of immersion (e.g., Augmented Reality View, Augmented Virtuality View, Virtual Reality View, etc.), the computer system increases the visual prominences and / or quantity of the virtual content corresponding to the computer-generated experience and decreases the visual prominences and / or quantity of the representation of the physical environment in the currently displayed view of the three-dimensional environment. In some embodiments, the computer system changes the visual balance between the virtual content corresponding to the computer-generated experience and the representation of the physical environment by an amount corresponding to the amount and / or nature of the changes in the user's biometric data. Similarly, in some embodiments, when biometric data exhibits a change that deviates from meeting a preset criterion for switching to a preset higher level of immersion, the computer system reduces the visual prominences and / or quantity of virtual content corresponding to the computer-generated experience and increases the visual prominences and / or quantity of the representation of the physical environment within the currently displayed view of the three-dimensional environment.

[0167] In some embodiments, the computer system alters the visual balance between the virtual content and the representation of the physical environment by an amount corresponding to the amount and / or nature of the change in the biometric data corresponding to the user. As shown in Figure 7H, when the values ​​of the biometric data change to meet a preset criterion (for example, indicated by the increased length of the bar 7312 as it approaches the position of indicator 7326), the amount of virtual content displayed in the view of the three-dimensional environment (e.g., view 7318 in Figure 7H) increases compared to the previous state (e.g., view 7316 in Figure 7G), and the visual prominence of the representation of the physical environment decreases. More specifically, in Figure 7H, the representations 7004' and 7006' of walls 7004 and 7006 are replaced or hidden by the display of virtual content 7320 and 7322 (e.g., visual effects that visually obscure parts of the representation of the physical environment to which the visual effects are applied, virtual surfaces, virtual objects, virtual scenery, etc.), and at least a portion of the surface of representation 7010' is also replaced or hidden by the display of virtual content 7324 (e.g., visual effects that visually obscure parts of the representation of the physical environment to which the visual effects are applied, virtual surfaces, virtual objects, virtual scenery, etc.). As shown in Figure 7I following Figure 7H, when the values ​​of biometric data deviate from meeting a preset criterion (for example, as indicated by the reduced length of bar 7312 receding from the position of indicator 7326), the amount of virtual content displayed within the view of the three-dimensional environment (e.g., view 7328 in Figure 7I) decreases compared to the previous state (e.g., view 7318 in Figure 7H), and the visual prominence of the representation of the physical environment increases again (e.g., optionally, still lower than the state shown in Figure 7G). More specifically, in Figure 7I, the representation 7006' of wall 7006 reappears after the virtual content 7332 is removed, and the representation 7004' of wall 7004 is partially reappears when the visual prominence of virtual content 7320 is reduced (e.g., the magnitude of the visual effect that visually obscures the portion of the representation of the physical environment to which the visual effect is applied is reduced, and virtual surfaces and virtual objects are shrunk, removed, reduced in number, or made more translucent).The visual prominence of the portion of the surface of representation 7010' replaced or hidden by the display of virtual content 7324 is similarly increased by any changes made to the virtual content 7324 (e.g., making it more translucent, less opaque, including less distortion for representation 7010'). In some embodiments, before a preset criterion for transitioning to a preset higher level of immersion is met (e.g., before a threshold indicated by indicator 7326 is met by the biometric data corresponding to the user, or before other criteria are met by the biometric data), as the biometric data is updated based on the user's current state, the computer system continuously or periodically adjusts the visual balance between the virtual content and the representation of the physical environment in the currently displayed view of the three-dimensional environment according to the biometric data (e.g., increasing the visual prominence of the virtual content relative to the representation of the physical environment, decreasing the visual prominence of the virtual content relative to the representation of the physical environment, etc.).

[0168] In Figure 7J, the computer system detects that the updated biometric data corresponding to the user meets the pre-set criteria for transitioning to a pre-set higher immersion level (e.g., Augmented Reality Environment, Augmented Virtual Reality Environment, Virtual Reality Environment, etc.) that has a higher level of immersion compared to what was displayed before the pre-set criteria were met by the biometric data (e.g., views 7316, 7318, 7328 in Figures 7G-7I), and the computer system transitions to displaying the three-dimensional environment at the pre-set higher immersion level (e.g., view 7334 in Figure 7J, or another view of the three-dimensional environment at the pre-set higher immersion level). In this example, as shown in Figure 7J, the computer system increases the visual prominence of the virtual content and further decreases the visual prominence of the representation of the physical environment through the visual properties of the virtual content (for example, virtual content 7322, 7320, 7330, and 7324 that visually obscures the representations of the walls 7006, 7004, floor 7008, and physical object 7010 in view 7334 of Figure 7J), so that only hints of the physical environment (e.g., structural relationships between walls and floors, the presence of physical objects, etc.) remain visible in the three-dimensional environment. In some embodiments, the computer system further displays virtual objects at various positions in the three-dimensional environment. For example, virtual object 7332 is displayed in a position corresponding to the location of physical object 7010 in the physical environment, virtual object 7326 is displayed in a position corresponding to its location on the floor 7008, and other virtual objects may be displayed in positions corresponding to free space in the physical environment, or independently of the state of the physical environment. In some embodiments, after a preset criterion for transitioning to a preset higher level of immersion is met, the computer system abruptly increases the amount of virtual content in the currently displayed view of the three-dimensional environment, or displays an entirely new environment (e.g., a new virtual world, a new scene, etc.) corresponding to the computer-generated experience.In some embodiments, after a preset criterion is met and the computer system displays the three-dimensional environment at a preset higher level of immersion, and it is determined that the preset criterion is no longer met by updated biometric data, the computer system gradually adjusts the level of immersion at which the three-dimensional environment is displayed based on the changes in biometric data, as shown in Figures 7H and 7I. In some embodiments, after a preset criterion is met and the computer system displays the three-dimensional environment at a preset higher level of immersion, and it is determined that the preset criterion is no longer met by updated biometric data, the computer system abruptly switches back to displaying the three-dimensional environment at a lower level of immersion (for example, as shown in Figure 7G).

[0169] In some embodiments, a set of criteria is met according to the determination that the heart rate is lower than a first threshold heart rate, the respiratory rate is lower than a first threshold respiratory rate, the blood pressure is lower than a first threshold blood pressure, the user's movement is less than a first threshold amount of movement during a threshold time, the user's body temperature is lower than a first threshold body temperature, the stress level metric is lower than a first threshold stress level, and the metric corresponding to the user's mood indicates that the user is relaxed and happy.

[0170] In some embodiments, a view of the three-dimensional environment shown at a low level of immersion (e.g., as shown in Figure 7G, or another view of the three-dimensional environment) is displayed when the computer system's display generation component is first turned on or placed in front of the user's head or eyes, and virtual elements are not displayed in the three-dimensional environment, or a minimal number of virtual elements are displayed in the three-dimensional environment. This allows the user to start with a view of the three-dimensional environment that is very similar to a direct view of the real world, without the display generation component obstructing the user's eyes. In some embodiments, a view of the three-dimensional environment corresponding to a low level of immersion is a view of the user interface or environment (e.g., a two-dimensional environment, a three-dimensional environment, etc.) of an application or computer-generated experience that is displayed within a two-dimensional window or limited to a display area that is displayed in position relative to a representation of the physical environment. In some embodiments, a view of the three-dimensional environment shown at a low level of immersion (e.g., as shown in Figure 7G, or another view of the three-dimensional environment) is displayed when the application or computer-generated experience is first launched or started by the user, and the full spatial extent of the application or experience is not yet displayed in the three-dimensional environment. This allows users to start with a less immersive view of the three-dimensional environment, seen within the context of a real-world view.

[0171] In some embodiments, virtual content displayed by a computer system (e.g., virtual wallpaper, virtual objects, virtual surfaces, virtual scenery, virtual three-dimensional environments, etc.) obstructs or obscures, at least partially, the view of the physical environment. In some embodiments, when displaying a view of the three-dimensional environment at a higher level of immersion than a preset, the computer system replaces or obstructs the view of a first class of physical objects or surfaces (e.g., front walls, and ceilings, etc.) with the newly displayed virtual element or a newly displayed portion of an existing virtual element. In some embodiments, an animated transition is displayed to cover or obstruct the view of a first class of physical objects or surfaces by gradually expanding or becoming more opaque and filling the virtual element. In some embodiments, when displaying a view of the three-dimensional environment at a higher level of immersion than a preset, the computer system adds virtual elements to the three-dimensional environment without replacing any entire class of physical elements. In some embodiments, the added virtual elements optionally include user interface objects such as menus (e.g., application menus, documents, etc.), controls (e.g., display brightness controls, display focus controls, etc.), or other objects that can be operated by user input or that provide information or feedback to the three-dimensional environment (e.g., virtual assistants, documents, media items, etc.). In some embodiments, the added virtual elements optionally include non-interactive objects or surfaces that cannot be operated by user input and that function to provide a look and feel of a three-dimensional environment that replaces the look and feel of the physical environment. In some embodiments, the virtual content displayed by the computer system includes visual effects that at least partially obscure or blur the view of the physical environment (e.g., fade out, blur, or distort the representation of the physical environment).

[0172] In some embodiments, biometric data is updated, and according to a determination that the updated biometric data meets predefined criteria for transitioning to displaying a three-dimensional environment at a higher level of immersion, the computer system increases the visual prominence of the virtual content corresponding to the computer-generated experience and reduces the visual stimuli from the physical environment to another level corresponding to a higher level of immersion. For example, in some embodiments, the computer system replaces, obscures, or blocks off additional classes of physical objects or surfaces (e.g., floors) with newly displayed virtual elements or newly displayed portions of existing virtual elements. In some embodiments, an animated transition is displayed to cover or block off the v-view of additional classes of physical objects and surfaces by gradually expanding or becoming more opaque and filling the virtual element.

[0173] In some embodiments, the three-dimensional environment is a computer-generated mediated experience environment, and when biometric data indicates that the user has achieved levels such as concentration, relaxation, and focus required to enter a deeper meditative state, the computer system transforms the currently displayed view of the environment into a more immersive environment with, for example, an expanded spatial range (e.g., width, depth, angle, etc.) and visual prominences of virtual content corresponding to the meditative experience, as well as a reduced spatial range and visual prominences of the representation of the physical environment.

[0174] In some embodiments, along with increasing the level of immersion in displaying the visual content of the computer-generated experience, the computer system also increases the level of suppression of sounds in the physical environment that are perceptible to the user through the actions of the computer system's audio output device, and / or increases the level of immersion in the audio content of the computer-generated experience output by the audio output device (e.g., increasing the volume, changing from stereo audio output mode or surround sound output mode to spatial audio output mode, or changing from stereo audio output mode to surround sound output mode).

[0175] In some embodiments, the computing system is configured to display the visual components of the CGR content via a display generation component at two or more immersion levels. In some embodiments, the computer system displays the visual components of the CGR content at at least a first, second, and third immersion level. In some embodiments, the computer system displays the visual components of the CGR content at at least two immersion levels, each providing a less immersive and a more immersive visual experience relative to the other. In some embodiments, the computing system transitions the visual content displayed via the display generation component between different immersion levels in response to the user's corresponding biometric data meeting different sets of criteria. In some embodiments, the first, second, and third immersion levels correspond to increasing the amount of virtual content corresponding to the CGR experience present in the CGR environment and / or decreasing the amount of representation of the surrounding physical environment present in the CGR environment. In some embodiments, the first, second, and third immersion levels correspond to different modes of content display having increased image fidelity (e.g., increased pixel resolution, increased color resolution, increased color saturation, increased luminance, increased opacity, increased image detail, etc.) and / or spatial range (e.g., angular range, spatial depth, etc.) of computer-generated content, and / or decreased image fidelity and / or spatial range of representation of the surrounding physical environment. In some embodiments, the first immersion level is a pass-through mode, where the physical environment is fully visible to the user through display-generated components (e.g., as a camera view of the physical environment, or through transparent or translucent portions of the display-generated components). In some embodiments, the visual CGR content presented in pass-through mode includes a pass-through view of the physical environment having a minimum amount of virtual elements that are simultaneously visible as a view of the physical environment, or having only virtual elements around the user's view of the physical environment (e.g., indicators and controls displayed in the peripheral area of ​​the display).For example, the view of the physical environment occupies the central and majority of the field of view provided by the display generation component, with only a few controls (e.g., movie title, progress bar, playback controls (e.g., play button)) displayed in the peripheral areas of the field of view provided by the display generation component. In some embodiments, the first level of immersion is pass-through mode, where the physical environment is fully visible to the first user through the display generation component (e.g., as a camera view of the physical environment or through the transparent portion of the display generation component), and the visual CGR content is displayed in a virtual window or frame, overlaid on the representation of the physical environment, replacing part of the representation of the physical environment, or blocking part of the view of the representation of the physical environment. In some embodiments, the second level of immersion is mixed reality mode, where the pass-through view of the physical environment is augmented with computer-generated virtual elements, which occupy the central and / or majority of the user's field of view (e.g., the virtual content is integrated with the physical environment in the computer-generated environment view). In some embodiments, the second level of immersion is a mixed reality mode in which a pass-through view of the physical environment is extended by a virtual window, viewport, or frame that has additional depth or spatial range revealed when the display-generating component is moved relative to the physical environment, such as superimposing a portion of the representation of the physical environment, replacing the display of a portion of the representation of the physical environment, or blocking the view of a portion of the representation of the physical environment. In some embodiments, the third level of immersion is an augmented reality mode in which virtual content is displayed in a three-dimensional environment together with a representation of the physical environment, and virtual objects are distributed throughout the three-dimensional environment in positions corresponding to different locations in the physical environment. In some embodiments, the third level of immersion is a virtual reality mode in which virtual content is displayed in a three-dimensional environment without a representation of the physical environment. In some embodiments, the different levels of immersion described above represent increasing levels of immersion relative to one another.

[0176] In some embodiments, the computer system selects an audio output mode for outputting audio content of a computer-generated experience (e.g., an application, communication session, movie, video, game, etc.) according to the level of immersion in which the visual content of the computer-generated experience is displayed by a display-generated component. In some embodiments, as the level of immersion in displaying the visual content increases (e.g., from a first level of immersion to a second level, from a first level of immersion to a third level of immersion, or from a second level of immersion to a third level of immersion), the computer system switches the audio output mode from a lower level of immersion to a higher level of immersion (e.g., from a first audio output mode to a second audio output mode, or from a first audio output mode to a third audio output mode, or from a second audio output mode to a third audio output mode, where the first, second, and third audio output modes correspond to audio outputs with increasing levels of immersion). As described herein, spatial audio output modes correspond to higher levels of immersion than stereo audio output modes and mono audio output modes. Spatial audio output modes correspond to higher levels of immersion than surround sound output modes. Surround sound output modes correspond to higher levels of immersion than stereo audio output modes and mono audio output modes. Stereo audio output modes correspond to higher levels of immersion than mono audio output modes. In some embodiments, the computer system selects an audio output mode from several available audio output modes, such as mono audio output mode, stereo audio output mode, surround sound output mode, spatial audio output mode, etc., based on the level of immersion provided by the visual content of the computer-generated experience via the display generation component.

[0177] Figures 7K-7M are block diagrams summarizing the effects of multiple types of sensory adjustments provided by a computer system when displaying a view of the environment, including a representation of the physical environment, according to several embodiments.

[0178] In some embodiments, the computer system provides multiple types of sensory enhancement functions that enhance the user's ability to perceive various aspects of the physical environment that would not be readily perceptible without special equipment or the assistance of the computer system. Instead of allowing the user to use only one type of sensory enhancement function when viewing a portion of the physical environment at once, the computer system aggregates the effects of two or more types of sensory enhancement functions on the representation of a portion of the physical environment so that features and characteristics present in previously hidden portions of the physical environment can be revealed within the view of the physical environment provided by the computer system.

[0179] In some embodiments, when a computer system displays a three-dimensional environment, including a representation of the physical environment, via a display generation component (e.g., display generation component 7100, or another type of display generation component such as an HMD), the computer system optionally enhances and adjusts the representation of the physical environment using sensor inputs or information corresponding to the currently displayed portion of the physical environment, thereby enabling the user to perceive portions of the physical environment using sensory information that would not be available to the user when viewing those portions without the assistance of the display generation component.

[0180] In Figure 7K, the computer system displays a view 7340 of a three-dimensional environment, which includes a first representation of a first part of the physical environment. In view 7340, the first representation of a first part of the physical environment corresponds to the appearance of the first part of the physical environment without sensory adjustments made by the computer system. In some embodiments, the first representation of a first part of the physical environment corresponds to a view of the first part of the physical environment captured by a color camera having a first level of imaging sensitivity corresponding to average color and intensity detection within the range of normal human perception. In some embodiments, the first representation of a first part of the physical environment corresponds to a view of the first part of the physical environment through a transparent portion of a display generation component, which is not enhanced or adjusted by the computer system.

[0181] In some embodiments, the computer system provides a plurality of affordances (e.g., hardware controls 7354, 7356, and 7358, user interface elements displayed in a three-dimensional environment, etc.) for activating each of a plurality of sensory adjustment functions provided by the computer system. In some embodiments, the computer system activates each of the plurality of sensory adjustment functions sequentially or in combination according to user activation inputs (e.g., button press inputs, tap inputs, gesture inputs, touch inputs, gaze inputs, selection inputs, combinations thereof, etc.) directed to the affordances corresponding to each of the plurality of sensory adjustment functions. In some embodiments, one of each of the plurality of sensory adjustment functions is optionally activated by a pre-configured input (e.g., gesture input, touch input, voice command, etc.) without requiring the presence of a corresponding hardware affordance associated with the computer system or a corresponding user interface control in a three-dimensional environment.

[0182] In this example, as shown in Figure 7K, the first representation of the first part of the physical environment includes a view from inside the room toward a window on the wall of the room. This example is non-limiting, and according to various embodiments, the first part of the physical environment can be any indoor or outdoor environment. In this example, the first representation of the first part of the physical environment includes a representation of the wall 7344', a representation of the window 7346', a representation of a hill outside the window at a first distance from the window 7348', and a representation of a tree near the top of the hill at a second distance from the window 7350'. Because the hills and trees are at a great distance from the display generation component, and the representations of the hills 7348' and the trees 7350' are far from the viewpoint corresponding to the currently displayed view of the three-dimensional environment (for example, the respective distances between the viewpoint and the representations 7348' and 7350' correspond to the respective distances from the user's eyes (or the display generation component) to the hills and trees), the representations of the hills 7348' and the trees 7350' occupy a small portion of the field of view provided by the display generation component 7100.

[0183] In Figure 7L, the computer system detects user input that activates a first sensory adjustment function among several sensory adjustment functions provided by the computer system. For example, the computer system detects that a hardware affordance 7354 has been activated by user input, that a user interface object corresponding to the first sensory adjustment function has been activated or selected by user input, or that the user has provided a gesture input, voice command, and / or touch input that meets the criteria for activating the first sensory adjustment function. Accordingly, the computer system displays a second view 7361 of the three-dimensional environment, which includes a second representation of a second part of the physical environment, the second part of the physical environment being contained within the first part of the physical environment (for example, all or part of the first part of the physical environment shown in Figure 7K, or a part of the physical environment shown before the detection of the input that activated the first sensory adjustment function). In the second view 7361 of the three-dimensional environment, as shown in the example in Figure 7L, the display characteristics of the tree representation 7350'' are adjusted to the tree representation 7350' shown in the first view 7340 of the three-dimensional environment according to the operation of the first sensory adjustment function. For example, if the first sensory adjustment function is a simulated telescope view that reduces the focal length of an object so that the object appears closer to the user, as shown in Figure 7L, then the tree representation 7350'' will appear to be much closer to the viewpoint than the second distance, as shown in Figure 7K (e.g., the adjusted distance is one-fifth of the second distance, the adjusted distance is one-tenth of the second distance, the adjusted distance is a distance selected based on a preset ratio of the second distance and / or the maximum magnification of the simulated telescope view, etc.). Similarly, the hill representation 7348'' will also appear to be much closer to the user than the first distance, as shown in Figure 7K (e.g., the adjusted distance is one-fifth of the first distance, the adjusted distance is one-tenth of the first distance, the adjusted distance is a distance selected based on a preset ratio of the first distance and / or the maximum magnification of the simulated telescope view, etc.).In this example, the user's viewpoint or virtual position in view 7361 is moved to the window's position in view 7340, according to some embodiments. In this example, according to some embodiments, the user's viewpoint or virtual position in view 7361 is still based on the actual location of the user and / or display-generating components in the physical environment.

[0184] In some embodiments, when the computer applies the first sensory adjustment function, it selects a target portion of the physical environment based on the location of the user's gaze directed to the current view of the three-dimensional environment. For example, as shown in Figure 7K, the computer system detects that the user's gaze 7352 is directed to a representation of a tree 7350' in the first view 7340 of the three-dimensional environment, and selects the portion of the physical environment containing the tree from the first portion of the physical environment as the second portion of the physical environment to which the first sensory adjustment function is applied.

[0185] In some embodiments, the simulated telescope view is an exemplary example of a first type of sensory accommodation function provided by a computer system, which may be replaced by another type of sensory accommodation function provided by the computer system and selected by user input.

[0186] In Figure 7M, while the computer system displays a second view 7361 of the three-dimensional environment, which includes a second representation of the physical environment adjusted according to the operation of a first sensory adjustment function activated by user input, the computer system detects a second user input that activates a second sensory adjustment function different from the first sensory adjustment function among a plurality of sensory adjustment functions. For example, the computer system detects that a hardware affordance 7356 has been activated by user input, that a user interface object corresponding to the second sensory adjustment function has been activated or selected by user input, or that the user has provided a gesture input, voice command, and / or touch input that meets the criteria for activating the second sensory adjustment function. Accordingly, the computer system displays a third view 7364 of the three-dimensional environment, which includes a third representation of a third part of the physical environment, the third part of the physical environment being contained within the second part of the physical environment (for example, all or part of the second part of the physical environment shown in Figure 7L, or a part of the physical environment shown before the detection of the input that activated the second sensory adjustment function). In the third view 7364 of the three-dimensional environment, as shown in the example in Figure 7M, the display characteristics of the tree representation 7350'' are further adjusted relative to the tree representation 7350'' shown in the second view 7361 of the three-dimensional environment, according to the operation of the second sensory adjustment function. For example, if the second sensory adjustment function is a simulated thermal vision that presents variations in color and / or intensity according to variations in temperature and / or thermal radiation, as shown in Figure 7M, the tree representation 7350'' will appear to have a different color and / or intensity relative to the background environment in the third view 7364, and the display characteristics of portions 7366'' and 7368'' of representation 7350'' will be further adjusted based on the temperature of those portions of the tree relative to other portions of the tree in the physical environment (e.g., as indicated by thermal data transmitted to or retrieved by the computer system from another computer system, as detected by a thermal imaging sensor or other sensor communicating with the computer system).For example, the higher temperatures of these parts represented by parts 7366''' and 7368''' are likely to radiate more heat or reveal small animals or objects that have a higher temperature than the tree itself. Parts 7366''' and 7368''' within representation 7350''' have representational characteristics that are generated based on the operation of both the first and second sensory adjustment functions relative to the original first representation 7350' of the tree, as shown in Figure 7K.

[0187] In some embodiments, when the computer system applies the second sensory adjustment function, it selects a target portion of the physical environment based on the location of the user's gaze directed to the currently displayed view of the three-dimensional environment. For example, as shown in Figure 7L, the computer system detects that the user's gaze 7360 is directed to a representation of a tree 7350'' in the second view 7361 of the three-dimensional environment, and selects the portion of the physical environment containing the tree from the second portion of the physical environment as the third portion of the physical environment to which both the first and second sensory adjustment functions are applied.

[0188] In some embodiments, simulated thermal vision is an illustrative example of a second type of sensory adjustment function provided by a computer system, which may be replaced by another type of sensory adjustment function provided by a computer system and selected by user input.

[0189] In some embodiments, first display characteristics (e.g., resolution, zoom level, magnification, color distribution, intensity distribution, focal length, etc.) are adjusted to a baseline representation of a particular part of the physical environment (e.g., part 7366''', 7368''' of Figure 7M, corresponding to tree representation 7350' of Figure 7K, another part of the physical environment, etc.) according to a first type of computer-generated sensory adjustment (e.g., binocular view, telescope view, microscope view, night vision, thermal vision, etc.) to a first adjusted representation of a particular part of the physical environment (e.g., part 7350''' of tree representation 7M). A representation of the tree in Figure 7L corresponding to minutes 7366''', 7368''' (e.g., representation 7350'' of the tree, or a further adjusted representation of another part of the physical environment) is obtained, and second display characteristics (e.g., resolution, zoom level, magnification, color distribution, intensity distribution, focal length, etc.) are adjusted for the second representation of the physical environment according to a second type of computer-generated sensory adjustment to obtain a third representation of a specific part of the physical environment (e.g., portion 7366''', 7368''' of the tree representation 7350''' in Figure 7M, or a further adjusted representation of another part of the physical environment). In some embodiments, the second display characteristics have the same value in the first and second representations in some combination of the first and second type sensory adjustment functions, and the second display characteristics have different values ​​in the first and second representations in some combination of the first and second type sensory adjustment functions.

[0190] In some embodiments, the computer system enables the representation of the physical environment to be further adjusted based on a third sensory adjustment function (e.g., an affordance 7358 corresponding to the third sensory adjustment function, a sensory adjustment function that can be activated by interaction with user interface objects, gesture inputs, voice commands, etc.). In some embodiments, while displaying a third view 7364 of a three-dimensional environment including a third representation of the physical environment, the computer system detects a third user input corresponding to a request to activate a third type of computer-generated sensory adjustment (e.g., binocular view, microscopic view, night vision, thermal vision, color filter, etc.) that is different from the first and second types of sensory adjustment functions. Accordingly, the computer system displays a fourth view of a three-dimensional environment including a fourth representation of a fourth part of the physical environment (e.g., all or part of a third part of the physical environment), the fourth representation of the physical environment having first display characteristics (e.g., resolution, zoom level, magnification, color distribution, intensity distribution, focal length, etc.) adjusted for the first representation of the fourth part of the physical environment according to a first type of sensory adjustment function, second display characteristics (e.g., resolution, zoom level, magnification, color distribution, intensity distribution, focal length, etc.) adjusted for the second representation of the fourth part of the physical environment according to a second type of sensory adjustment function, and third display characteristics (e.g., resolution, zoom level, magnification, color distribution, intensity distribution, focal length, etc.) adjusted for the third representation of the physical environment of the fourth part of the physical environment according to a third type of sensory adjustment function.

[0191] In some embodiments, a first sensory adjustment function includes simulated telescopic viewing (e.g., binocular viewing, monocular viewing, telescope viewing, etc.) for viewing distant physical objects (e.g., reducing the focal length of an object so that the object appears closer to the user), and a second sensory adjustment function includes simulated microscopic viewing for magnifying nearby physical objects.

[0192] In some embodiments, a first sensory adjustment function includes simulated telescopic vision for viewing distant physical objects (e.g., reducing the focal length of an object so that the object appears closer to the user), and a second sensory adjustment function includes simulated night vision for viewing physical objects in low-light conditions (e.g., high sensitivity in low-light conditions, visual enhancement of object brightness, amplification of small variations in brightness, etc.).

[0193] In some embodiments, a first sensory adjustment function includes simulated telescopic viewing for viewing distant physical objects (e.g., reducing the focal length of an object so that it appears closer to the user), and a second sensory adjustment function includes modifying the view of physical objects using filters (e.g., color filters, optical frequency filters, intensity filters, motion filters, etc.).

[0194] In some embodiments, a first sensory adjustment function includes simulated telescopic viewing for viewing distant physical objects (e.g., reducing the focal length of an object so that it appears closer to the user), and a second sensory adjustment function includes selective sound augmentation for sounds corresponding to a subset of physical objects in the physical environment (e.g., a selected subset of all sound-generating physical objects, a physical object at the center of the current field of view, etc.) (e.g., increasing volume, selectively augmenting / suppressing certain sound frequencies, etc.).

[0195] In some embodiments, while displaying a third representation of the physical environment, the computer system outputs sounds corresponding to parts of the physical environment that are visible in the third representation of the physical environment, and these sounds are selectively augmented compared to sounds from sound sources outside the part of the physical environment (e.g., increasing the volume, modifying the amplitude of certain selected frequencies).

[0196] In some embodiments, while displaying a third representation of the physical environment, the computer system displays text output corresponding to utterances emanating from a portion of the physical environment that is visible in both the second and third representations of the physical environment, and the utterances are selectively amplified for sounds from sound sources outside the portion of the physical environment.

[0197] In some embodiments, the first sensory adjustment function includes simulated microscopy for magnifying nearby physical objects, and the second sensory adjustment function includes simulated thermal vision for viewing physical objects having various thermal radiation profiles (e.g., high sensitivity to temperature variations, presenting variations in color and / or intensity according to variations in temperature and / or thermal radiation).

[0198] In some embodiments, a first sensory adjustment function includes simulated night vision for viewing physical objects in low light conditions (e.g., high sensitivity in low light conditions, visual enhancement of object brightness, amplification of small brightness variations, etc.), and a second sensory adjustment function includes simulated telescopic vision for viewing distant physical objects (e.g., reducing the focal length of an object so that it appears closer to the user).

[0199] In some embodiments, the first sensory adjustment function includes simulated night vision for viewing physical objects under low light conditions (e.g., high sensitivity under low light conditions, visual enhancement of object brightness, magnification of small brightness variations, etc.), and the second sensory adjustment function includes simulated microscopy for magnifying nearby physical objects.

[0200] In some embodiments, the first sensory adjustment function includes simulated night vision for viewing physical objects under low light conditions (e.g., high sensitivity under low light conditions, visual enhancement of object brightness, amplification of small brightness fluctuations, etc.), and the second sensory adjustment function includes simulated thermal vision for viewing physical objects with various thermal radiation profiles (e.g., high sensitivity to temperature fluctuations, presentation of color and / or intensity fluctuations in response to temperature and / or thermal radiation fluctuations, etc.).

[0201] In some embodiments, the first sensory adjustment function includes simulated night vision for viewing physical objects under low light conditions (e.g., high sensitivity under low light conditions, visual enhancement of object brightness, amplification of small brightness fluctuations, etc.), and the second sensory adjustment function and the second type of computer-generated sensory adjustment include selective auditory enhancement for sounds corresponding to a subset of physical objects in the physical environment (e.g., a selected subset of all sound-generating physical objects, a physical object at the center of the current field of view, etc.) (e.g., increasing volume, selectively enhancing / suppressing certain sound frequencies, etc.).

[0202] In some embodiments, the first sensory adjustment function includes simulated thermal vision for viewing physical objects having various thermal radiation profiles (e.g., high sensitivity to temperature fluctuations, presenting color and / or intensity fluctuations according to temperature and / or thermal radiation fluctuations), and the second sensory adjustment function includes simulated telescopic vision for viewing distant physical objects (e.g., reducing the focal length of an object to make it appear closer to the user).

[0203] In some embodiments, the first sensory adjustment function includes simulated thermal vision for viewing physical objects having various thermal radiation profiles (e.g., high sensitivity to temperature variations, presenting variations in color and / or intensity according to temperature and / or thermal radiation variations), and the second sensory adjustment function includes simulated microscopy for magnifying nearby physical objects.

[0204] In some embodiments, a first sensory adjustment operation includes simulated thermal vision for viewing physical objects having various thermal radiation profiles (e.g., high sensitivity to temperature variations, presenting variations in color and / or intensity according to variations in temperature and / or thermal radiation), and a second sensory adjustment operation includes simulated night vision for viewing physical objects under low light conditions (e.g., high sensitivity under low light conditions, visual enhancement of object brightness, magnification of small variations in brightness).

[0205] In some embodiments, the first sensory adjustment function includes simulated thermal vision for viewing physical objects having various thermal radiation profiles (e.g., high sensitivity to temperature variations, presenting variations in color and / or intensity according to variations in temperature and / or thermal radiation), and the second sensory adjustment function includes selective sound augmentation for sounds corresponding to a subset of physical objects in the physical environment (e.g., a selected subset of all sound-generating physical objects, a physical object at the center of the current field of view, etc.) (e.g., increasing volume, selectively augmenting / suppressing specific sound frequencies, etc.).

[0206] In some embodiments, the order in which multiple selected sensory adjustment functions chosen by the user are applied to a baseline representation of a portion of the physical environment is adjusted by the computer system based on one or more pre-set constraints, and is optionally different from the order in which these sensory adjustment functions are activated by the user. For example, in some embodiments, adjustments corresponding to simulated telescopic viewing are performed before adjustments corresponding to other types of sensory adjustments in order to reduce the portion of the physical environment in which other types of sensory adjustments need to be performed for the purpose of presenting the user with the final result. In some embodiments, the computer system observes the order in which different types of sensory adjustment functions are activated by the user and presents intermediate results obtained in accordance with each additional sensory adjustment activated by the user.

[0207] Figures 7N to 7P are block diagrams illustrating how, in several embodiments, virtual content corresponding to individual types of exercises is selectively displayed within a view of a three-dimensional environment, based on the determination that parts of the physical environment within the view of the three-dimensional environment correspond to individual types of exercises.

[0208] In some embodiments, the computer system displays virtual content (e.g., virtual open water area 7406, virtual hiking trail 7412, etc.) (e.g., virtual scenery, visual and functional enhancements to exercise equipment, user interface, health and scoreboards, etc.) corresponding to a particular type of exercise (e.g., rowing, hiking, etc.) based on the determination that a physical location (e.g., location of physical object 7404, location of physical object 7402, etc.) represented in a view of the three-dimensional environment (e.g., view 7408, view 7410, etc.) is associated with a particular type of exercise (e.g., rowing, hiking, etc.). For example, as a user and a display-generating component (e.g., user 7002 and display-generating component 7100, or another user having a different type of display-generating component such as an HMD) moves between locations in the real world (e.g., in scene 105, or in another physical environment, etc.), the virtual content shown in the view of the three-dimensional environment is adjusted to correspond to the type of exercise associated with the current location of the user and the display-generating component. In some embodiments, if a location is associated with multiple types of exercises, the computer system selects one type of exercise from the multiple types of exercises associated with that location based on other contextual information (e.g., user movement, user interaction with objects at that location), and displays visual content corresponding to the selected type of exercise.

[0209] Part (A) of Figure 7N shows that user 7002 is located in a physical environment (e.g., scene 105, or another physical environment). User 7002 may be located in different physical environments, such as an outdoor or indoor environment, or may move between indoor and outdoor environments. User 7002 views the physical environment through a field of view provided via a first display generation component (e.g., display generation component 7100, another type of display generation component such as an HMD). The physical environment includes physical surfaces (e.g., walls 7004 and 7006, floor 7008, other physical surfaces, etc.) and one or more physical objects (e.g., exercise equipment 7402, 7404, other physical objects, etc.). In some embodiments, the physical environment is a building containing multiple rooms or sections that are separated from each other and cannot be seen by the user simultaneously. In some embodiments, the physical environment includes multiple areas that are separated from each other, such as rooms within individual buildings, various parks, or various geographical areas. In some embodiments, the physical environment is an outdoor environment including outdoor physical objects and surfaces such as roads, trees, the sky, open water, rocks, mountains, vehicles, animals, and people. In some embodiments, the computer system stores information and / or implements rules and artificial intelligence to determine one or more types of exercise (e.g., indoor exercise, indoor sports, outdoor exercise, outdoor sports, physical activities that promote health and physical ability, rehabilitation training and therapy, etc.) associated with individual locations within the user's physical environment (e.g., within the user's field of view through a display generation component, near the user's threshold (e.g., within 5 meters, within a few steps, etc.)). In some embodiments, the computer system determines the type of exercise associated with an individual location based on the type of physical objects present at that location. In some embodiments, the computer system determines the type of exercise associated with an individual location based on the type of environment or setting present at that location.In some embodiments, the computer system determines the type of exercise associated with a particular location based on other types of markers and signals, or combinations of individually present information.

[0210] In part (B) of Figure 7N, the computer system displays a first view 7405 of a three-dimensional environment that includes a representation of the user 7002's physical environment. In some embodiments, the first view 7405 of the three-dimensional environment is a real view with no virtual elements, or with minimal virtual elements, as shown in Figure 7N(B). In this example, the first view 7405 includes, without virtual content, representations of physical surfaces (e.g., representations 7004' and 7006' of walls 7004 and 7006, representation 7008 of floor 7008, etc.) and representations of physical objects (e.g., representation 7402' of physical object 7402, representation 7404' of physical object 7404, etc.). In some embodiments, the first view of the three-dimensional environment is a real view (e.g., view 7405 shown in Figure 7N(B)) with user interface objects for controlling the basic functions of the computer system (e.g., application icons for launching various computer-generated experiences, display settings, voice controls, etc.). In some embodiments, the first view of the three-dimensional environment is an augmented reality view displayed at a low level of immersion (for example, displaying user interface objects (e.g., application launch pad, welcome user interface, settings user interface) displayed in a limited floating window, etc., that occupy only a small percentage (e.g., less than 10%, less than 20%) of the user's field of view as a whole, rather than being part of a specific application experience (e.g., health use, meditation application, workout application, game application, etc.)). In some embodiments, the representation of the physical environment included in the first view 7405 of the three-dimensional environment is a camera view of a portion of the physical environment. In some embodiments, the portion of the physical environment shown in the first view 7405 of the three-dimensional environment changes as the user moves around the physical environment (e.g., when the user is wearing a display-generating component on their head or holding a display-generating component in their hand). In some embodiments, the portion of the physical environment shown in the first view 7405 of the three-dimensional environment changes as the display-generating component moves around the physical environment.In some embodiments, the representation of the physical environment included in the first view 7405 of the three-dimensional environment is a view of the physical environment through the transparent portion of the display-generating component. In this example, physical object 7402 is located at a first location within the first portion of the physical environment shown in the first view 7405 of the three-dimensional environment, and physical object 7404 is located at a second location within the first portion of the physical environment shown in the first view 7405 of the three-dimensional environment. In some embodiments, the first and second locations do not necessarily have to be in the same view of the three-dimensional environment, but may be two separate locations within the same physical environment, or located in different physical environments that are completely separate from each other. In this example, physical object 7402 corresponds to equipment or settings corresponding to a first type of exercise (e.g., running, walking, etc.), and physical object 7402 corresponds to equipment or settings corresponding to a second type of exercise (e.g., rowing, water skiing, etc.).

[0211] In Figures 7O and 7P, the computer system detects the movement of the user 7002 within the physical environment while displaying a first view 7450 of the three-dimensional environment. In some embodiments, the portion of the physical environment visible within the first view of the three-dimensional environment changes as the user moves around within the physical environment. Figure 7O shows a first scenario in which the user 7002 moves to a first location containing a physical object 7404 or setting corresponding to a first type of exercise. Figure 7O shows a second scenario in which the user 7002 moves to a second location containing a physical object 7402 or setting corresponding to a second type of exercise.

[0212] In some embodiments, user movement includes the movement of the entire user to individual locations (e.g., a first location including a first physical object 7404, a second location including a second physical object 7402, etc.) (e.g., while the user is holding or wearing the display-generating component, the spatial relationship between the display-generating component and the user is maintained so that the user can continue to view the physical environment through the display-generating component). In some embodiments, user movement includes the movement of the user to orient the display-generating component or a camera associated with the display-generating component to capture a view of the individual locations (e.g., a first location including a first physical object 7404, a second location including a second physical object 7402, etc.) (e.g., while the user is holding or wearing the display-generating component, the spatial relationship between the display-generating component and the user is maintained so that the user can continue to view the physical environment through the display-generating component). In some embodiments, the user's movement further includes movement corresponding to the operation of one or more physical objects at individual locations (e.g., turning on exercise equipment at an individual location, lifting exercise equipment at an individual location, starting to use exercise equipment at an individual location, etc.).

[0213] As shown in Figure 7O, the user moves to a first location in a physical environment that includes a physical object 7404 corresponding to a first type of exercise. In this example, the user also moves to a position relative to the physical object 7404 that allows the user to begin using the physical object 7404 for the first type of exercise (e.g., sitting on the equipment, standing on the equipment, holding one or more parts of the equipment). In some embodiments, the computer system optionally detects that the user has begun one or more repetitions of the exercise corresponding to the first type of exercise (e.g., rowing an oar, pulling a shift lever, assuming a starting position). In response to detecting the movement of a first user to a first location containing a physical object 7404 corresponding to a first type of exercise, and in accordance with the determination that the first location corresponds to a first type of exercise, and optionally, the determination that the user's movement satisfies a first set of criteria (e.g., criteria corresponding to a first location, criteria corresponding to a first type of exercise), the computer system displays a second view 7408 of the three-dimensional environment, the second view 7408 containing first virtual content corresponding to a first type of exercise, and the view of the first virtual content replaces at least a portion of the view of the physical environment containing the first location (e.g., a location containing physical object 7404 but not physical object 7402, a location not corresponding to a second type of exercise, etc.). In some embodiments, the first virtual content completely replaces the view of the physical environment in the second view 7408 of the three-dimensional environment. In some embodiments, the virtual content is displayed overlapping, obscuring, or replacing the display of the representation of the physical environment in the second view 7408 of the three-dimensional environment.

[0214] In some embodiments, the computer system determines that a first location corresponds to a first type of exercise based on the determination that the first location has a first type of exercise equipment (e.g., a rowing machine, a boat, etc.) that corresponds to a first type of exercise. In some embodiments, the computer system determines that a first location corresponds to a first type of exercise based on the determination that the first location is a location designed for a first type of exercise (e.g., having a suitable floor, structure, etc.) for a first type of exercise (e.g., rowing, meditation, etc.).

[0215] As shown in part (B) of Figure 7O, the computer system displays a second view 7408 of the three-dimensional environment when the user 7002 moves to a first location corresponding to a first type of exercise. In some embodiments, the second view 7408 is an augmented reality view with more virtual elements corresponding to the first location and a first computer-generated experience corresponding to the first type of exercise. In some embodiments, the second view 7408 is an augmented reality view that shows a preview or start of the first computer-generated experience corresponding to the first location and the first type of exercise. In some embodiments, the second view 7408 is an augmented reality view displayed at a higher level of immersion (for example, displaying user interface objects that are part of a first specific application experience corresponding to a first type of exercise, such as a virtual hiking trail, virtual scenery, scoreboard, exercise statistics, controls to change exercise parameters, etc.) and occupying a significant portion of the user's field of view as a whole (e.g., more than 60%, more than 90%, etc.) or displayed in a three-dimensional virtual or augmented reality environment. In this example, the virtual content displayed in the second view of the three-dimensional environment includes a virtual open body of water 7406 that replaces the views of representations 7004', 7006', and / or 7008' of various parts of the physical environment that are potentially within the field of view provided by the display generation component of the first location. In some embodiments, all parts of the physical environment within the potential field of view provided by the display generation component are replaced or obscured by the display of virtual content. In some embodiments, parts of the physical environment, such as parts of the user's body, at least parts of the exercise equipment, etc., remain visible within the second view 7408 of the three-dimensional environment.

[0216] As shown in Figure 7P, the user moves to a second location in a physical environment that includes a physical object 7402 corresponding to a second type of exercise. In this example, the user also moves to a position relative to the physical object 7402 that allows the user to begin using the physical object 7402 for the second type of exercise (e.g., sitting on the equipment, standing on the equipment, holding one or more parts of the equipment). In some embodiments, the computer system optionally detects that the user has begun one or more repetitions of the movement corresponding to the second type of exercise (e.g., stepping up stairs, starting to pedal, starting to walk). In response to detecting the user's movement to a second location containing a physical object 7402 corresponding to a second type of exercise, and in accordance with the determination that the second location corresponds to a second type of exercise, and optionally, the determination that the user's movement satisfies a second set of criteria (e.g., criteria corresponding to a second location, criteria corresponding to a second type of exercise), the computer system displays a third view 7412 of the three-dimensional environment, the third view 7412 containing second virtual content corresponding to a second type of exercise, and the view of the second virtual content replaces at least a portion of the view of the physical environment containing the second location (e.g., a location corresponding to a second type of exercise but not to a first type of exercise, a location not containing physical object 7404, etc.). In some embodiments, the first virtual content completely replaces the view of the physical environment in the third view 7410 of the three-dimensional environment. In some embodiments, the virtual content is displayed overlapping, obscuring, or replacing the display of at least a portion of the representation of the physical environment.

[0217] In some embodiments, the computer system determines that a second location corresponds to a second type of exercise based on the determination that the second location has a second type of exercise equipment (e.g., stairs, steppers, treadmills, etc.) that corresponds to a second type of exercise. In some embodiments, the computer system determines that a second location corresponds to a second type of exercise based on the determination that the second location is a location designed for a second type of exercise (e.g., hiking, running, etc.) (e.g., having a suitable floor, structure, etc.).

[0218] As shown in part (B) of Figure 7P, the computer system displays a third view 7410 of the three-dimensional environment when the user 7002 moves to a second location corresponding to a second type of exercise. In some embodiments, the third view 7410 is an augmented reality view with more virtual elements corresponding to a second computer-generated experience corresponding to the second location and the second type of exercise. In some embodiments, the third view 7410 is an augmented reality view that shows a preview or start of the second computer-generated experience corresponding to the second location and the second type of exercise. In some embodiments, the third view 7410 is an augmented reality view displayed at a higher level of immersion (e.g., part of a second specific application experience corresponding to the second type of exercise (e.g., a virtual hiking trail, virtual scenery, scoreboard, exercise statistics, controls to change exercise parameters, etc.) that occupies a significant percentage of the user's field of view as a whole (e.g., more than 60%, more than 90%, etc.) or displays user interface objects displayed in a three-dimensional virtual or augmented reality environment). In this example, the virtual content displayed in the third view 7410 of the three-dimensional environment includes a virtual hiking trail 7412 that replaces the views of representations 7004', 7006', and / or 7008' of various parts of the physical environment potentially within the field of view provided by the display generation component of the second location. In some embodiments, all parts of the physical environment within the potential field of view provided by the display generation component are replaced or obscured by the display of the virtual content. In some embodiments, parts of the physical environment, such as parts of the user's body or at least parts of exercise equipment, remain visible in the third view 7410 of the three-dimensional environment.

[0219] In some embodiments, the computer system determines that the current location corresponds to a particular type of exercise based on the detection of a particular type of exercise equipment corresponding to that particular type of exercise at the current location. In some embodiments, the detection of a particular type of exercise equipment is based on the detection of an RFID signal corresponding to the particular type of exercise equipment, the detection of an image of the particular type of exercise equipment in a camera feed capturing the current location, and the detection that the current location matches a registered location of the particular type of exercise equipment.

[0220] In some embodiments, upon determination that the user's current location corresponds to a location associated with a particular type of exercise, the computer system displays a view of the three-dimensional environment corresponding to the particular type of exercise, which includes gradually decreasing the visual prominence of the representation of the physical environment in the currently displayed view of the three-dimensional environment while increasing the visual prominence of the virtual content corresponding to the particular type of exercise associated with the current location in the view of the three-dimensional environment. In some embodiments, decreasing the visual prominence of the representation of the physical environment includes stopping the display of more of the representation of the physical environment, fading out the representation of the physical environment, etc. In some embodiments, gradually increasing the visual prominence of the virtual content corresponding to the particular type of exercise includes starting the display of the virtual content, increasing the visibility of the virtual content, increasing the proportion of the user's field of view occupied by the virtual content, increasing the opacity or brightness of the virtual content, etc.

[0221] In some embodiments, individual locations may correspond to multiple types of exercise, and the computer system requires the user to perform some movement corresponding to one of the multiple types of exercise in order to clarify which type of exercise the user wants to perform, and selects the corresponding virtual content to display in a view of the three-dimensional environment at the individual location. For example, in some embodiments, the computer system detects a movement corresponding to one of the multiple types of exercise associated with the individual location (e.g., initiation of a characteristic movement (e.g., initiation of walking on a treadmill, stepping on a stair stepper, forward and backward movement of the legs on an ellipse, or initiation of rowing on a rowing machine), stepping / sitting on exercise equipment corresponding to the individual type of exercise (e.g., sitting on a rowing machine or weight training machine), a preparatory posture corresponding to the individual type of exercise (e.g., standing in a preparatory posture for hitting a virtual tennis ball, sitting on the floor to begin meditation or yoga), and the computer system displays a view of the three-dimensional environment containing the virtual content corresponding to the individual type of exercise.

[0222] In some embodiments, the computer system gradually changes the virtual content displayed in the view of the three-dimensional environment in accordance with the progress of a particular type of exercise performed by the user at a particular location. For example, in some embodiments, the view of the real world gradually disappears and / or the display stops and is gradually replaced by virtual content corresponding to the particular type of exercise. In some embodiments, the computer system gradually increases the amount of virtual content displayed within the field of view of the first user until the particular virtual environment corresponding to the particular type of exercise is fully displayed via the first display generation component (for example, a second view of the three-dimensional environment includes the virtual environment corresponding to the first type of exercise, and a third view of the three-dimensional environment includes the virtual environment corresponding to the second type of exercise). For example, in some embodiments, when the open gym is a location associated with both yoga and dance, after the first user arrives at the open gym, if the first user sits in Namaste pose, the computer system displays a virtual ocean view with ocean sounds for the user to practice yoga on a virtual beach, and if the first user stands in dancer's pose, the computer system displays a virtual stage with dance music for the user to practice dancing.

[0223] In some embodiments, when the computer system detects that the user has left a particular location, the computer system stops displaying virtual content corresponding to the type of exercise associated with that location. For example, in Figure 70, when the computer system detects that user 7002 has left a first location containing physical object 7404, after view 7408 is displayed, the computer system stops displaying view 7408 corresponding to the first type of exercise. In some embodiments, the computer system redisplays view 7405, which does not contain virtual content corresponding to either the first or second type of exercise. In some embodiments, when the computer system detects that the user has moved from the first location to the second location, the computer system displays virtual content 7410 corresponding to the second type of exercise.

[0224] In some embodiments, when a computer system displays a view of a three-dimensional environment containing virtual content corresponding to an individual type of exercise, it displays status information corresponding to that individual type of exercise (e.g., progress in the current session, duration, speed, force, height, pace, stride length, performance level, score, number of repetitions completed, historical statistics, average statistics across a first user and / or multiple users, status of other users performing the same type of exercise, etc.).

[0225] In some embodiments, the computer system displays health information corresponding to the user (e.g., real-time biometric data (e.g., heart rate, blood pressure, respiratory rate, body temperature, blood glucose level, etc.), weight, BMI, etc.) when displaying a view of a three-dimensional environment containing virtual content corresponding to individual types of exercise.

[0226] In some embodiments, the computer system displays a view of a three-dimensional environment containing virtual content corresponding to individual types of exercises, visually presenting progress information for individual types of exercises performed by the user (e.g., real-time score, completed laps, remaining laps, duration, steps, distance traveled, completed poses, etc.).

[0227] In some embodiments, the three-dimensional environment containing virtual content corresponding to individual types of exercises is an immersive environment that includes a spatial range larger than the currently displayed view of the three-dimensional environment. For example, if the user rotates their head or otherwise changes the viewpoint corresponding to the currently displayed view of the three-dimensional environment, different parts of the virtual content will be displayed in the currently displayed view of the three-dimensional environment.

[0228] In some embodiments, a second and / or third view of the three-dimensional environment includes a virtual representation of the user instructed to compete with the user and perform individual types of exercises (e.g., based on the first user's previous best record, or based on the first user's pre-configured settings for a first type of exercise).

[0229] In some embodiments, a second and / or third view of the three-dimensional environment includes a virtual representation of at least one other user distinct from the user, who is shown competing with the user to perform individual types of exercises.

[0230] As disclosed herein, in some embodiments, the three-dimensional environment displayed via a display generation component is a virtual three-dimensional environment that includes virtual objects and content at various virtual positions within 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 various virtual positions within the three-dimensional environment constrained by one or more physical aspects of the physical environment (e.g., positions and orientations such as walls, floors, surfaces, direction of gravity, and time). In some embodiments, the three-dimensional environment is an augmented reality environment that includes a representation of the physical environment. The representation of the physical environment includes respective representations of physical objects and surfaces at different positions within the three-dimensional environment, such that the spatial relationships between different physical objects and surfaces within the physical environment are reflected by the spatial relationships between the representations of physical objects and surfaces within the three-dimensional environment. When a virtual object is positioned relative to the positions of the representations of physical objects and surfaces within the three-dimensional environment, the virtual object appears to have corresponding spatial relationships with the physical objects and surfaces within the physical environment. In some embodiments, the display generation component includes a pass-through portion on which the representation of the physical environment is displayed. In some embodiments, the pass-through portion is a transparent or translucent (e.g., see-through) portion of a display-generating component that surrounds the user's field of view and reveals at least a portion of the physical environment within the user's field of view. For example, the pass-through portion is a portion of a head-mounted display that is translucent (e.g., with opacity less than 50%, 40%, 30%, 20%, 15%, 10%, or 5%) or transparent, thereby allowing the user to view the real world surrounding them through the pass-through portion without removing the head-mounted display or moving away from the head-up display. In some embodiments, the pass-through portion gradually transitions from translucent or transparent to completely opaque when displaying a virtual or mixed reality environment.In some embodiments, the pass-through portion of the display generation component displays a live feed of images or videos of at least a portion of the physical environment captured by one or more cameras (e.g., one or more rear cameras associated with a mobile device or head-mounted display, or other cameras supplying image data to an electronic device). In some embodiments, one or more cameras are directed towards a portion of the physical environment that is directly in front of the user (e.g., behind the display generation component). In some embodiments, one or more cameras are directed towards a portion of the physical environment that is not directly in front of the user (e.g., in a different physical environment, or to the side or behind the user). In some embodiments, when displaying virtual objects or content at positions corresponding to the locations of one or more physical objects in the physical environment, at least some of the virtual objects are displayed in place of (e.g., replace the display of) a portion of the camera's live view (e.g., a portion of the physical environment captured in the live view). In some embodiments, at least some of the virtual objects and content are projected onto a physical surface or open space in the physical environment and are visible through the pass-through portion of the display generation component (e.g., as part of the camera view of the physical environment, or visible through a transparent or translucent portion of the display generation component). In some embodiments, at least some of the virtual objects and content are displayed so as to overlap a portion of the display, blocking the view of at least some, but not all, of the physical environment that is visible through the transparent or semi-transparent portions of the display-generating components. In some embodiments, at least some of the virtual objects are projected directly onto the user's retina in a position relative to an image representation of the physical environment (for example, visible through a camera view of the physical environment or through the transparent portions of the display-generating components).

[0231] In some embodiments (for example with respect to Figures 7A-7P and Figures 8-12), the input gestures used in the various embodiments and models described herein include, optionally, according to some embodiments, discontinuous small motor gestures performed by moving one or more of the user's fingers relative to other fingers or parts of the user's hand to perform an action immediately before or during the gesture in order to interact with a virtual or mixed reality environment.

[0232] In some embodiments, input gestures are detected by analyzing data and signals captured by a sensor system (e.g., sensor 190 in Figure 1, image sensor 314 in Figure 3). In some embodiments, the sensor system includes one or more imaging sensors (e.g., one or more cameras such as a motion RGB camera, an infrared camera, a depth camera, etc.). For example, one or more imaging sensors are components of a computer system (e.g., computer system 101 in Figure 1 (e.g., portable electronic device 7100 or HMD)) that includes a display generation component (e.g., display generation component 120 in Figures 1, 3, and 4 (e.g., a touchscreen display that functions as a display and a touch-sensing surface, a stereoscopic display, a display with a pass-through portion, etc.)) or provide data to the computer system. In some embodiments, one or more imaging sensors include one or more rear cameras on the side of the device opposite to the device's display. In some embodiments, input gestures are detected by a sensor system of a head-mounted system (e.g., a VR headset that includes a stereoscopic display that provides a left image for the user's left eye and a right image for the user's right eye). For example, one or more cameras, which are components of a head-mounted system, are mounted on the front and / or bottom of the head-mounted system. In some embodiments, one or more imaging sensors are positioned in the space in which the head-mounted system is used (e.g., arranged around the head-mounted system at various locations in a room) so that the imaging sensors capture images of the head-mounted system and / or the user of the head-mounted system. In some embodiments, input gestures are detected by a sensor system of a head-up device (e.g., a head-up display, a car windshield capable of displaying graphics, a window capable of displaying graphics, or a lens capable of displaying graphics). For example, one or more imaging sensors are mounted on the interior of a car. In some embodiments, the sensor system includes one or more depth sensors (e.g., a sensor array).For example, one or more depth sensors include one or more light-based (e.g., infrared) sensors and / or one or more acoustic-based (e.g., ultrasonic) sensors. In some embodiments, the sensor system includes one or more signal emitters, such as light emitters (e.g., infrared emitters) and / or sound emitters (e.g., ultrasonic emitters). For example, while light (e.g., light from an infrared light emitter array having a predetermined pattern) is projected onto a hand (e.g., hand 7200), an image of the hand under light illumination is captured by one or more cameras, and the captured image is analyzed to determine the position and / or configuration of the hand. In contrast to using signals from a touch-sensing surface or other direct contact or proximity-based mechanisms, determining input gestures using signals from image sensors directed at the hand allows the user to freely choose whether to perform large movements or remain relatively stationary when providing input gestures with their hand, without experiencing constraints imposed by a particular input device or input area.

[0233] In some embodiments, a tap input optionally indicates a tap of the thumb on the index finger of the user's hand (e.g., on the side of the index finger adjacent to the thumb). In some embodiments, a tap input is detected without requiring the thumb to be lifted from the side of the index finger. In some embodiments, a tap input is detected according to a determination that a downward movement of the thumb is followed by an upward movement of the thumb, and the thumb is in contact with the side of the index finger for less than a threshold time. In some embodiments, a tap-hold input is detected according to a determination that the thumb moves from an elevated position to a touch-down position and remains in the touch-down position for at least a first threshold time (e.g., a tap-time threshold or another time threshold longer than the tap-time threshold). In some embodiments, the computer system requires the entire hand to remain substantially stationary at a location for at least a first threshold time in order to detect a tap-hold input by the thumb on the index finger. In some embodiments, a touch-hold input is detected without requiring the hand to remain substantially stationary (e.g., the entire hand can move while the thumb is placed on the side of the index finger). In some embodiments, tap-hole drag input is detected when the thumb touches the side of the index finger and the entire hand moves while the thumb remains stationary on the side of the index finger.

[0234] In some embodiments, a flick gesture optionally represents a push or flick input of the thumb moving across the index finger (e.g., from the palmar side to the rear side of the index finger). In some embodiments, an extension of the thumb involves an upward movement away from the side of the index finger, such as an upward flick input by the thumb. In some embodiments, the index finger moves in the opposite direction to the thumb while the thumb moves forward and upward. In some embodiments, a reverse flick input is performed by the thumb moving from an extended position to a retracted position. In some embodiments, the index finger moves in the opposite direction to the thumb while the thumb moves backward and downward.

[0235] In some embodiments, the swipe gesture is optionally a swipe input by moving the thumb along the index finger (e.g., along the side of the index finger adjacent to the thumb or along the side of the palm). In some embodiments, the index finger is optionally extended (e.g., substantially straight) or flexed. In some embodiments, the index finger moves between the extended and flexed states while the thumb moves in the swipe input gesture.

[0236] In some embodiments, different phalanges of different fingers correspond to different inputs. Thumb tap inputs across different phalanges of different fingers (e.g., index finger, middle finger, ring finger, and optionally little finger) are optionally mapped to different actions. Similarly, in some embodiments, different push or click inputs performed by the thumb across different fingers and / or different parts of the fingers can trigger different actions in individual user interface contacts. Likewise, in some embodiments, different swipe inputs performed by the thumb along different fingers and / or in different directions (e.g., towards the distal or proximal end of the finger) trigger different actions in individual user interface contexts.

[0237] In some embodiments, the computer system processes tap input, flick input, and swipe input as different types of input based on the type of thumb movement. In some embodiments, the computer system processes input having different finger locations tapped, touched, or swiped by the thumb as different sub-input types (e.g., proximal, intermediate, distal subtypes, or index finger, middle finger, ring finger, or little finger subtypes) of a given input type (e.g., tap input type, flick input type, swipe input type, etc.). In some embodiments, the amount of movement performed by the moving finger (e.g., thumb), and / or other measures of movement associated with the finger movement (e.g., velocity, initial velocity, ending velocity, duration, direction, movement pattern, etc.) are used to quantitatively influence the action triggered by the finger input.

[0238] In some embodiments, the computer system recognizes combination input types that combine a series of thumb movements, such as tap-swipe input (e.g., the thumb swiping along the side of a finger after touching down another finger), tap-flick input (e.g., the thumb flicking across a finger from the side of the palm to the back of the finger after touching down another finger), and double-tap input (e.g., two consecutive taps on the side of a finger at approximately the same location).

[0239] In some embodiments, gesture input is performed by the index finger instead of the thumb (e.g., the index finger performs a tap or swipe on the thumb, or the thumb and index finger move toward each other to perform a pinch gesture). In some embodiments, wrist movement (e.g., a wrist flick in a horizontal or vertical direction) is performed immediately before, immediately after (e.g., within a threshold time), or concurrently with finger movement input to trigger an additional, different, or modified action in the current user interface context compared to finger movement input without modification by wrist movement. In some embodiments, finger input gestures performed with the user's palm facing the user's face are treated as a different type of gesture than finger input gestures performed with the user's palm facing away from the user's face. For example, a tap gesture performed with the user's palm facing the user performs an action with added (or reduced) privacy protection compared to the action performed in response to a tap gesture performed with the user's palm facing away from the user's face (e.g., the same action).

[0240] In the embodiments provided herein, one type of finger input can be used to trigger an action type, but in other embodiments, other types of finger input may be optionally used to trigger the same type of action.

[0241] Further explanations regarding Figures 7A to 7P are provided below with reference to methods 8000, 9000, 10000, 11000, and 12000 described with respect to Figures 8 to 12 below.

[0242] Figure 8 is a flowchart illustrating, in several embodiments, a method for supporting interaction with user interface objects in a computer-generated three-dimensional environment shared among two or more users.

[0243] In some embodiments, Method 8000 is performed on a computer system (e.g., the first computer system 101 in Figure 1). It includes a display generation component (e.g., the display generation component 120 in Figures 1, 3, and 4) (e.g., a head-up display, a display, a touchscreen, a projector, etc.) and one or more cameras (e.g., cameras (e.g., a color sensor, an infrared sensor, and other depth-sensing cameras)) which are cameras facing forward from the user's hand or the user's head. In some embodiments, Method 8000 is stored on a non-temporary computer-readable storage medium and is performed by instructions executed by one or more processors of the computer system, such as one or more processors 202 of the computer system 101 (e.g., the control unit 110 in Figure 1A). Some operations of Method 8000 are optionally combined, and / or the order of some operations is optionally changed.

[0244] In some embodiments, Method 8000 is performed in a computer system (e.g., the first computer system 101 in Figure 1) communicating with a display generation component (e.g., display generation component 120, display generation component 7100, etc., in Figures 1, 3, and 4) (e.g., a head-up display, HMD, display, touchscreen, projector, etc.) and one or more input devices (e.g., a camera, controller, touch-sensing surface, joystick, button, etc.). In some embodiments, the computer system is an integrated device having one or more processors and memory enclosed in the same housing as the display generation component, and at least some of the one or more input devices. In some embodiments, the computer system includes a computing component having one or more processors and memory separate from the display generation component and / or the one or more input devices. In some embodiments, the display generation component and the one or more input devices are integrated within and enclosed in the same housing.

[0245] In Method 8000, the computer system displays a first user interface object (e.g., user interface object 7016 in Figure 7B, another user interface object, etc.) (e.g., an application representation, a user interface including multiple user interface objects (e.g., selectable avatars, selectable menu items, selectable device controls, selectable content items, slider controls, buttons, etc.), a virtual three-dimensional object, controls, a control panel including multiple controls corresponding to different functions or actions, information items, media items, etc.) in a first view of a three-dimensional environment (e.g., first view 7015-1 in Figure 7B, another first view, etc.) (8002), and the three-dimensional environment is at least partially shared between a first user (e.g., user 7102 in Figures 7A-7C) and a second user (e.g., user 7002 in Figures 7A-7C) (e.g., at least a spatial portion of the environment is shared, the environment is shared for at least a certain period of time, objects within the environment are fully or partially shared (e.g.) For example, when simultaneously viewable and accessible, simultaneously viewable but not simultaneously accessible, when others have control (e.g., others can view or cannot view the object), (for example, when at least a portion of the three-dimensional environment (e.g., a portion shown in a first view of the three-dimensional environment, another portion of the three-dimensional environment, etc.) is displayed for viewing by both a first user and a second user, and / or when virtual objects in the three-dimensional environment (e.g., a first user interface object, another user interface object, etc.) are simu...

Claims

1. It is a method, In a computer system communicating with a first display generation component and one or more first input devices, The present invention relates to displaying a first view of a three-dimensional environment corresponding to a first viewpoint associated with a first location in a first physical environment, wherein the first view of the three-dimensional environment includes a first user interface object representing a first object in a second physical environment distinct from the first physical environment, and the individual positions of the first user interface object in the three-dimensional environment correspond in a first manner to individual locations of the first object in the second physical environment. To detect at least one of the movement of the first user in the first physical environment and the movement of the first object in the second physical environment, In response to detecting at least one of the movement of the first user in the first physical environment and the movement of the first object in the second physical environment, Displaying a second view of the three-dimensional environment corresponding to the second viewpoint, Displaying the first user interface object in the second view of the three-dimensional environment, The first method involves displaying the first user interface object at a first display position in the second view of the three-dimensional environment, based on the determination that the individual position of the first user interface object in the three-dimensional environment, corresponding to the individual location of the first object in the second physical environment, exceeds a threshold distance from the individual position in the three-dimensional environment, corresponding to the second viewpoint associated with the second view of the three-dimensional environment, wherein the first display position is the individual position of the first user interface object in the three-dimensional environment. The first method involves displaying the first user interface object at a second display position in the second view of the three-dimensional environment, based on the determination that the individual position of the first user interface object in the three-dimensional environment, corresponding to the individual location of the first object in the second physical environment, is less than the threshold distance from the individual position in the three-dimensional environment, corresponding to the second viewpoint associated with the second view of the three-dimensional environment, wherein the second display position is offset from the individual position of the first user interface object in the three-dimensional environment. This includes, Methods that include...

2. Detecting at least one of the movement of the first user in the first physical environment and the movement of the first object in the second physical environment includes detecting the first movement of the first user in the first physical environment while the first object remains stationary in the second physical environment. During the first movement of the first user within the first physical environment, In accordance with the determination that the individual position of the first user interface object in the three-dimensional environment corresponding to the individual location of the first object in the second physical environment in the first manner exceeds the threshold distance from the individual position in the three-dimensional environment corresponding to the viewpoint associated with the currently displayed view of the three-dimensional environment, the first user interface object is displayed at the individual position of the first user interface object in the three-dimensional environment corresponding to the individual location of the first object in the second physical environment in the first manner. The method according to claim 1, wherein, in accordance with the determination that the individual position of the first user interface object in the three-dimensional environment corresponding to the individual location of the first object in the second physical environment in the first manner is less than or equal to the threshold distance from the individual position in the three-dimensional environment corresponding to the viewpoint associated with the currently displayed view of the three-dimensional environment, the first user interface object is displayed at an adjusted position in the three-dimensional environment while the first object remains stationary in the second physical environment, and the adjusted position in the three-dimensional environment corresponds to the individual location of the first object in the second physical environment in a second manner different from the first manner.

3. Detecting at least one of the movement of the first user in the first physical environment and the movement of the first object in the second physical environment includes detecting a second movement of the first object in the second physical environment while the first user remains stationary in the first physical environment. During the second movement of the first object within the second physical environment, In accordance with the determination that the individual position of the first user interface object in the three-dimensional environment corresponding to the individual location of the first object in the second physical environment in the first manner exceeds the threshold distance from the individual position in the three-dimensional environment corresponding to the viewpoint associated with the currently displayed view of the three-dimensional environment, the first user interface object is displayed at the updated position in the three-dimensional environment, and the updated position in the three-dimensional environment corresponds to the updated location of the first object in the second physical environment as a result of the second movement in the first manner. The method according to claim 1, wherein, in accordance with the determination that the individual position of the first user interface object in the three-dimensional environment corresponding to the individual location of the first object in the second physical environment in the first manner is less than or equal to the threshold distance from the individual position in the three-dimensional environment corresponding to the viewpoint associated with the currently displayed view of the three-dimensional environment, the first user interface object is displayed at an adjusted updated position in the three-dimensional environment while the first object remains stationary in the second physical environment, and the adjusted updated position in the three-dimensional environment corresponds to the updated location of the first object in the second physical environment in a second manner different from the first manner.

4. Detecting at least one of the movement of the first user in the first physical environment and the movement of the first object in the second physical environment includes simultaneously detecting a third movement of the first user in the first physical environment and a fourth movement of the first object in the second physical environment. During the third movement of the first user in the first physical environment and the fourth movement of the first object in the second physical environment, In accordance with the determination that the individual position of the first user interface object in the three-dimensional environment corresponding to the individual location of the first object in the second physical environment in the first manner exceeds the threshold distance from the individual position in the three-dimensional environment corresponding to the viewpoint associated with the currently displayed view of the three-dimensional environment, the first user interface object is displayed at the updated position in the three-dimensional environment, and the updated position in the three-dimensional environment corresponds to the updated location of the first object in the second physical environment as a result of the fourth movement in the first manner, The method according to claim 1, wherein, in accordance with the determination that the individual position of the first user interface object in the three-dimensional environment corresponding to the individual location of the first object in the second physical environment in the first manner does not exceed the threshold distance from the individual position in the three-dimensional environment corresponding to the viewpoint associated with the currently displayed view of the three-dimensional environment, the first user interface object is displayed in an adjusted updated position in the three-dimensional environment, and the adjusted updated position in the three-dimensional environment corresponds to the individual location of the first object in the second physical environment in a third manner different from the first manner.

5. The method according to claim 1, wherein the first object is a second user located in the second physical environment, and the first user and the second user share the three-dimensional environment at least partially.

6. The method according to claim 5, wherein, in a third view of the three-dimensional environment displayed to the second user via a second display generation component, the second user interface object is displayed at a modified position in the third view of the three-dimensional environment, according to the determination that the individual position of the second user interface object in the three-dimensional environment corresponding to the individual location of the first user in the first physical environment in the first manner does not exceed the threshold distance from the individual position in the three-dimensional environment corresponding to the third viewpoint associated with the third view of the three-dimensional environment, and the modified position is offset from the individual position of the second user interface object in the three-dimensional environment corresponding to the individual location of the first user in the first physical environment in the first manner.

7. The method according to claim 1, wherein the first object is a physical object located in the second physical environment.

8. The method according to claim 1, wherein the first user interface object is an object floating in the three-dimensional environment.

9. In accordance with the determination that the three-dimensional environment is displayed at a first level of realism, the first user interface object is displayed with a first set of display characteristics corresponding to the first level of realism. The method according to claim 1, wherein, in accordance with the determination that the three-dimensional environment is displayed at a second reality level different from the first reality level, the first user interface object is displayed with a second set of display characteristics corresponding to the second reality level, the second set of display characteristics being different from the first set of display characteristics.

10. The method according to claim 1, wherein the second display position in the second view of the three-dimensional environment is displaced by a first displacement amount from the individual position of the first user interface object in the three-dimensional environment corresponding to the individual location of the first object in the second physical environment in the first manner, and the first displacement amount does not correspond to the movement of the first object in the second physical environment in the first manner.

11. The method according to claim 10, wherein the first displacement has a direction determined according to a spatial relationship between the viewpoint of the currently displayed view of the three-dimensional environment and the individual position of the first user interface object in the three-dimensional environment corresponding to the individual location of the first object in the second physical environment in the first manner.

12. The method according to claim 1, wherein the second display position in the second view of the three-dimensional environment is displaced by a second displacement from the individual position of the first user interface object in the three-dimensional environment corresponding to the individual location of the first object in the second physical environment in the first manner, and the second displacement has a direction different from the forward direction toward the individual position in the three-dimensional environment corresponding to the second viewpoint associated with the second view of the three-dimensional environment.

13. The method according to claim 1, wherein the second display position in the second view of the three-dimensional environment is displaced by a third displacement from the individual position of the first user interface object in the three-dimensional environment corresponding to the individual location of the first object in the second physical environment in the first manner, the third displacement having a direction different from the approach direction between the first user interface object and the individual position in the three-dimensional environment corresponding to the second viewpoint associated with the second view of the three-dimensional environment.

14. The method according to claim 1, wherein at least one of the magnitude and direction of displacement between the second display position in the second view of the three-dimensional environment and the individual position of the first user interface object in the three-dimensional environment corresponding to the individual location of the first object in the second physical environment in the first manner is based on a spatial relationship between the individual position of the first user interface object in the three-dimensional environment corresponding to the individual location of the first object in the second physical environment in the first manner and the individual position in the three-dimensional environment corresponding to the second viewpoint associated with the second view of the three-dimensional environment.

15. A computer system, The first display generation component, One or more input devices, One or more processors, A memory storing one or more programs is provided, and the one or more programs are configured to be executed by the one or more processors, The present invention relates to displaying a first view of a three-dimensional environment corresponding to a first viewpoint associated with a first location in a first physical environment, wherein the first view of the three-dimensional environment includes a first user interface object representing a first object in a second physical environment distinct from the first physical environment, and the individual positions of the first user interface object in the three-dimensional environment correspond in a first manner to individual locations of the first object in the second physical environment. To detect at least one of the movement of the first user in the first physical environment and the movement of the first object in the second physical environment, In response to detecting at least one of the movement of the first user in the first physical environment and the movement of the first object in the second physical environment, Displaying a second view of the three-dimensional environment corresponding to the second viewpoint, Displaying the first user interface object in the second view of the three-dimensional environment, The first method involves displaying the first user interface object at a first display position in the second view of the three-dimensional environment, based on the determination that the individual position of the first user interface object in the three-dimensional environment, corresponding to the individual location of the first object in the second physical environment, exceeds a threshold distance from the individual position in the three-dimensional environment, corresponding to the second viewpoint associated with the second view of the three-dimensional environment, wherein the first display position is the individual position of the first user interface object in the three-dimensional environment. The first method involves displaying the first user interface object at a second display position in the second view of the three-dimensional environment, based on the determination that the individual position of the first user interface object in the three-dimensional environment, corresponding to the individual location of the first object in the second physical environment, is less than the threshold distance from the individual position in the three-dimensional environment, corresponding to the second viewpoint associated with the second view of the three-dimensional environment, wherein the second display position is offset from the individual position of the first user interface object in the three-dimensional environment. This includes, A computer system that includes instructions for performing a specific task.

16. The computer system according to claim 15, wherein the one or more programs include instructions for performing the method described in any one of claims 2 to 14.

17. A computer program including instructions, wherein when the instructions are executed by a computer system including a first display generation component and one or more input devices, the computer system shall The present invention relates to displaying a first view of a three-dimensional environment corresponding to a first viewpoint associated with a first location in a first physical environment, wherein the first view of the three-dimensional environment includes a first user interface object representing a first object in a second physical environment distinct from the first physical environment, and the individual positions of the first user interface object in the three-dimensional environment correspond in a first manner to individual locations of the first object in the second physical environment. To detect at least one of the movement of the first user in the first physical environment and the movement of the first object in the second physical environment, In response to detecting at least one of the movement of the first user in the first physical environment and the movement of the first object in the second physical environment, Displaying a second view of the three-dimensional environment corresponding to the second viewpoint, Displaying the first user interface object in the second view of the three-dimensional environment, The first method involves displaying the first user interface object at a first display position in the second view of the three-dimensional environment, based on the determination that the individual position of the first user interface object in the three-dimensional environment, corresponding to the individual location of the first object in the second physical environment, exceeds a threshold distance from the individual position in the three-dimensional environment, corresponding to the second viewpoint associated with the second view of the three-dimensional environment, wherein the first display position is the individual position of the first user interface object in the three-dimensional environment. The first method involves displaying the first user interface object at a second display position in the second view of the three-dimensional environment, based on the determination that the individual position of the first user interface object in the three-dimensional environment, corresponding to the individual location of the first object in the second physical environment, is less than the threshold distance from the individual position in the three-dimensional environment, corresponding to the second viewpoint associated with the second view of the three-dimensional environment, wherein the second display position is offset from the individual position of the first user interface object in the three-dimensional environment. This includes, A computer program that causes an action to be performed, including the actions mentioned above.

18. The computer program according to claim 17, wherein the computer program, when executed by the computer system, includes an instruction causing the computer system to perform the method described in any one of claims 2 to 14.

Citation Information

Patent Citations

  • mixed reality system

    JP2018511098A

  • Motion Data Sharing

    US20140282105A1

  • Augmented Reality User Interface Including Dual Representation of Physical Location

    US20200051335A1

  • Apparatus and method for generating view images

    WO2019137821A1