Masked objects in three-dimensional environment

By introducing technologies such as display generation components, hand tracking units and eye tracking units in computer systems, the problems of insufficient feedback and complex input of virtual/augmented reality environment interaction in the existing technology are solved, and more efficient and intuitive user interaction is achieved , saving energy and extending the use of the equipment.

CN119404170APending Publication Date: 2025-02-07APPLE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380048411.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-04-20
Filing Date
2023-04-20
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

When interacting with virtual/augmented reality environments, existing computer systems have insufficient feedback, complex input, cumbersome and prone to errors, resulting in a large cognitive burden on users and low interaction efficiency.

Method used

By providing improved user interface and interaction methods, including using display generation components, hand tracking units, eye tracking units and other technologies, reduce the visual prominence of virtual content, enable physical objects to penetrate virtual content, reduce the number of user inputs and Complexity.

Benefits of technology

Improves the efficiency and intuitiveness of user interaction with computer systems, reduces user errors, saves the energy of computer systems, and extends battery life especially in battery-powered devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119404170A_ABST
    Figure CN119404170A_ABST
Patent Text Reader

Abstract

In some embodiments, the computer system reduces visual highlight of virtual content relative to a three-dimensional environment. In some embodiments, a computer system displays an indication of a physical object in a three-dimensional environment. In some embodiments, the computer system reduces visual prominence of the virtual content and enables a physical object, such as a person, to penetrate the virtual content, such as based on determining that the physical object meets one or more criteria that make up a significant social interaction.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of U.S. Provisional Application No. 63 / 363,289, filed on April 20, 2022, the contents of which are incorporated herein by reference in their entirety for all purposes. Technical Field

[0003] The present invention generally relates to computer systems that provide computer-generated experiences, including but not limited to electronic devices that provide virtual reality and mixed reality experiences via displays. Background Art

[0004] In recent years, the development of computer systems for augmented reality has increased significantly. Example augmented reality environments include 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. Example virtual elements include virtual objects such as digital images, videos, text, icons, and control elements (such as buttons and other graphics). Summary of the invention

[0005] Some 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 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 that make virtual object manipulation complex, cumbersome, and error-prone can impose a huge cognitive burden on users and detract from the experience of virtual / augmented reality environments. In addition, these methods take longer than necessary, wasting energy on the computer system. This latter consideration is particularly important in battery-powered devices.

[0006] Therefore, there is a need for computer systems with improved methods and interfaces to provide computer-generated experiences to users, so that the user's interaction with the computer system is more efficient and more intuitive to the user. Such methods and interfaces optionally supplement or replace conventional methods for providing extended reality experiences to users. Such methods and interfaces reduce the amount, degree and / or nature of inputs from the user by helping the user understand the connection between the inputs provided and the device's response to those inputs, thereby forming a more effective human-computer interface.

[0007] The above-mentioned defects and other problems associated with the user interface of the computer system are reduced or eliminated by the disclosed system. In some embodiments, the computer system is a desktop computer with an associated display. In some embodiments, the computer system is a portable device (e.g., a notebook computer, a tablet computer, or a handheld device). In some embodiments, the computer system is a personal electronic device (e.g., a wearable electronic device, such as a watch or a head-mounted device). In some embodiments, the computer system has a touch pad. In some embodiments, the computer system has one or more cameras. In some embodiments, the computer system has a touch-sensitive display (also referred to as a "touch screen" or "touch screen display"). In some embodiments, the computer system has one or more eye tracking components. In some embodiments, the computer system has one or more hand tracking components. In some embodiments, in addition to the display generation component, the computer system also has one or more output devices, which include one or more tactile output generators and / or one or more audio output devices. In some embodiments, the computer system has a graphical user interface (GUI), one or more processors, a memory, and one or more modules, a program or instruction set stored in the memory for performing multiple functions. In some embodiments, the user interacts with the GUI through contact and gestures of a stylus and / or finger on a touch-sensitive surface, movement of the user's eyes and hands in space relative to the GUI (and / or computer system) or the user's body (as captured by a camera and other motion sensors), and / or voice input (as captured by one or more audio input devices). In some embodiments, the functions performed by interaction optionally include image editing, drawing, presentations, word processing, spreadsheet creation, playing games, making and receiving calls, video conferencing, sending and receiving emails, instant messaging, testing support, digital photography, digital video recording, web browsing, digital music playback, note-taking, and / or digital video playback. Executable instructions for performing these functions are optionally included in a transient and / or non-transient computer-readable storage medium or other computer program product configured for execution by one or more processors.

[0008] There is a need for electronic devices with improved methods and interfaces for interacting with content in a three-dimensional environment. Such methods and interfaces can supplement or replace conventional methods for interacting with content in a three-dimensional environment. Such methods and interfaces reduce the amount, degree, and / or nature of input from a user and produce a more efficient human-computer interface. For battery-powered computing devices, such methods and interfaces save power and increase the time interval between battery charges.

[0009] In some embodiments, according to some embodiments, the computer system reduces the visual prominence of the virtual content relative to the three-dimensional environment. In some embodiments, according to some embodiments, the computer system displays an indication of a physical object in the three-dimensional environment.

[0010] It should be noted that the various embodiments described above can be combined with any other embodiments described herein. The features and advantages described in this specification are not comprehensive, and in particular, many additional features and advantages will be apparent to those of ordinary skill in the art based on the drawings, the specification and the claims. In addition, it should be noted that the language used in this specification is selected in principle for readability and instructional purposes, and may not be selected to describe or define the subject matter of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] For a better understanding of the various described embodiments, reference should be made to the following detailed description taken in conjunction with the following drawings, wherein like reference numerals designate corresponding parts throughout the several views.

[0012] Figure 1 is a block diagram illustrating an operating environment of a computer system for providing an XR experience according to some embodiments.

[0013] Figure 2 is a block diagram illustrating a controller of a computer system configured to manage and coordinate an XR experience for a user according to some embodiments.

[0014] Figure 3 is a block diagram illustrating display generation components of a computer system configured to provide a visual component of an XR experience to a user according to some embodiments.

[0015] Figure 4 is a block diagram illustrating a hand tracking unit of a computer system configured to capture gesture input from a user according to some embodiments.

[0016] Figure 5 is a block diagram illustrating an eye tracking unit of a computer system configured to capture gaze input of a user according to some embodiments.

[0017] Figure 6 is a flow chart illustrating a flash-assisted gaze tracking pipeline according to some embodiments.

[0018] 7A to 7E An example of a computer system that reduces the visual prominence of virtual content relative to a three-dimensional environment according to some embodiments is illustrated.

[0019] FIG. 8A to FIG. 8Iis a flow chart illustrating an exemplary method of reducing the visual prominence of virtual content relative to a three-dimensional environment according to some embodiments.

[0020] 9A to 9E An example of a computer system that displays indications of physical objects in a three-dimensional environment according to some embodiments is illustrated.

[0021] FIG. 10A to FIG. 10F is a flowchart illustrating a method of displaying an indication of a physical object in a three-dimensional environment according to some embodiments. DETAILED DESCRIPTION

[0022] According to some embodiments, the present disclosure relates to a user interface for providing a computer-generated (CGR) experience to a user.

[0023] The systems, methods, and GUIs described herein provide improved ways for electronic devices to facilitate interaction with and manipulation of objects in a three-dimensional environment.

[0024] In some embodiments, the three-dimensional environment including the first virtual content is visible via the display generation component and obscures one or more portions of the physical environment. In some embodiments, a first physical object is detected within the physical environment, and based on determining that the first physical object meets one or more criteria to constitute a significant social interaction, the computer system reduces the visual prominence of the first virtual content and enables the first physical object to penetrate the first virtual content. However, if the user-defined setting is set to prevent penetration for physical objects that meet one or more criteria, the computer system optionally maintains the visual prominence of the first virtual content.

[0025] In some embodiments, the three-dimensional environment including the first virtual content is visible via the display generation component and obscures one or more portions of the physical environment. In some embodiments, a first physical object is detected within the physical environment, and based on determining that the first physical object meets one or more criteria to constitute a significant social interaction, the computer system reduces the visual prominence of the first virtual content and enables the first physical object to penetrate the first virtual content. However, if the first physical object does not meet the one or more criteria, an indication representing the first physical object is optionally displayed concurrently with the first virtual content.

[0026] Figures 1 to 6 A description of an example computer system for providing an XR experience to a user (such as described below with respect to methods 800 and 1000 ) is provided. 7A to 7E An example of a computer system that reduces the visual prominence of virtual content relative to a three-dimensional environment according to some embodiments is illustrated. FIG. 8A to FIG. 8Iis a flow chart of an example method of a computer system for reducing the visual prominence of virtual content relative to a three-dimensional environment according to some embodiments. 7A to 7E The user interface in FIG. 8A to FIG. 8I process. 9A to 9E An example of a computer system that displays indications of physical objects in a three-dimensional environment according to some embodiments is illustrated. FIG. 10A to FIG. 10F is a flow chart of a method of a computer system for displaying an indication of a physical object in a three-dimensional environment according to some embodiments. 9A to 9E The user interface in FIG. 10A to FIG. 10F process.

[0027] The process described below enhances the operability of the device and makes the user-device interface more efficient (e.g., by helping the user provide appropriate input and reducing user errors when operating the device / interacting with the device) through various technologies, including providing improved visual feedback to the user, reducing the number of inputs required to perform an operation, providing additional control options without cluttering the user interface with additional display controls, performing an operation without further user input when a set of conditions have been met, improving privacy and / or security, providing a more diverse, detailed and / or realistic user experience while saving storage space, and / or additional technologies. These technologies also reduce power usage and extend the battery life of the device by enabling the user to use the device faster and more efficiently. Saving battery power, and therefore saving weight, improves the ergonomics of the device. These technologies also enable real-time communication, allow the use of fewer and / or less accurate sensors, thereby producing a more compact, lighter and cheaper device, and enable the device to be used under various lighting conditions. These techniques reduce energy usage and thereby reduce the heat emitted by the device, which is particularly important for wearable devices where if the device generates too much heat well within the operating parameters of the device components, it may become uncomfortable for the user to wear the device.

[0028] In addition, in the method described herein where one or more steps depend on one or more conditions being met, it should be understood that the method can be repeated in multiple repetitions so that in the process of repetition, all conditions for determining the steps in the method have been met in different repetitions of the method. For example, if the method needs to perform the first step (if the condition is met), and perform the second step (if the condition is not met), then the ordinary technician will know that the steps stated are repeated until both the condition is met and the condition is not met (in no particular order). Therefore, the method described as having one or more steps depending on one or more conditions being met can be rewritten as a method of repeating until each condition described in the method is met. However, this does not require the system or computer-readable medium to declare that the system or computer-readable medium contains instructions for performing a contingent operation based on the satisfaction of the corresponding one or more conditions, and is therefore able to determine whether the possible situation has been met without explicitly repeating the steps of the method until all conditions for determining the steps in the method have been met. It will also be understood by ordinary technicians in the art that, similar to the method with the contingent step, the system or computer-readable storage medium can repeat the steps of the method as many times as needed to ensure that all the contingent steps have been performed.

[0029] In some embodiments, such as Figure 1 As shown, an XR experience is provided to a user via an operating environment 100 including a computer system 101. The computer system 101 includes a controller 110 (e.g., a processor of a portable electronic device or a remote server), a display generation component 120 (e.g., a head mounted device (HMD), a display, a projector, a touch screen, etc.), one or more input devices 125 (e.g., an eye tracking device 130, a hand tracking device 140, other input devices 150), one or more output devices 155 (e.g., a speaker 160, a tactile output generator 170, and other output devices 180), one or more sensors 190 (e.g., an image sensor, a light sensor, a depth sensor, a tactile sensor, an orientation sensor, a proximity sensor, a temperature sensor, a position sensor, a motion sensor, a speed sensor, etc.), and optionally one or more peripheral devices 195 (e.g., a household appliance, a wearable device, etc.). In some embodiments, one or more of the input device 125, the output device 155, the sensor 190, and the peripheral device 195 are integrated with the display generation component 120 (e.g., in a head mounted device or a handheld device).

[0030] In describing an XR experience, various terms are used to distinguishably refer to several related but distinct environments that a user can sense and / or with which the user can interact (e.g., using inputs detected by the computer system 101 generating the XR experience, which inputs cause the computer system generating the XR experience to generate audio, visual, and / or tactile feedback corresponding to the various inputs provided to the computer system 101). The following is a subset of these terms:

[0031] Physical environment: The physical environment refers to the physical world that people can sense and / or interact with without the help of electronic systems. A physical environment, such as a physical park, includes physical objects, such as physical trees, physical buildings, and physical people. People can directly sense and / or interact with the physical environment, such as through vision, touch, hearing, taste, and smell.

[0032] Extended Reality: In contrast, an extended reality (XR) environment refers to a fully or partially simulated environment that people sense and / or interact with via an electronic system. In XR, a subset of a person's physical movements, or a representation thereof, is tracked, and in response, one or more characteristics of one or more virtual objects simulated in the XR environment are adjusted in a manner that complies with at least one physical law. For example, an XR system may detect a person's head turn, and in response, adjust the graphical content and sound field presented to the person in a manner similar to the way such views and sounds change in a physical environment. In some cases (e.g., for accessibility reasons), adjustments to the characteristics of virtual objects in the XR environment may be made in response to a representation of physical movement (e.g., a voice command). People can sense and / or interact with XR objects using any of their senses, including vision, hearing, touch, taste, and smell. For example, people can sense and / or interact with audio objects, which create a 3D or spatial audio environment that provides the perception of a point audio source in 3D space. In another example, an audio object may enable audio transparency that selectively introduces ambient sounds from the physical environment with or without computer-generated audio.In some XR environments, a person may sense and / or interact only with an audio object.

[0033] Examples of XR include virtual reality and mixed reality.

[0034] Virtual Reality: A virtual reality (VR) environment refers to a simulated environment designed to be based entirely on computer-generated sensory input to one or more senses. A VR environment includes a plurality of virtual objects that a person can sense and / or interact with. For example, trees, buildings, and computer-generated images representing avatars of people are examples of virtual objects. A person can sense and / or interact with virtual objects in a VR environment through a simulation of the person's presence within the computer-generated environment and / or through a simulation of a subset of the person's physical movement within the computer-generated environment.

[0035] Mixed Reality: In contrast to VR environments, which are designed to be based entirely on computer-generated sensory input, a mixed reality (MR) environment refers to a simulated environment that is designed to include sensory input from the physical environment, or representations thereof, in addition to computer-generated sensory input (e.g., virtual objects). On the virtuality continuum, a mixed reality environment is anything between, but not including, a fully physical environment at one end and a virtual reality environment at the other end. In some MR environments, computer-generated sensory input can respond to changes in sensory input from the physical environment. In addition, some electronic systems used to render MR environments can track position and / or orientation relative to the physical environment to enable virtual objects to interact with real objects (i.e., physical items from the physical environment, or representations thereof). For example, the system can cause motion so that virtual trees appear stationary relative to the physical ground.

[0036] Examples of mixed reality include augmented reality and augmented virtuality.

[0037] Augmented reality: An augmented reality (AR) environment refers to a simulated environment in which one or more virtual objects are superimposed on a physical environment or a representation of a physical environment. For example, an electronic system for presenting an AR environment may have a transparent or translucent display through which a person can directly view the physical environment. The system may be configured to present virtual objects on a transparent or translucent display so that a person uses the system to perceive virtual objects superimposed on the physical environment. Alternatively, the system may have an opaque display and one or more imaging sensors that capture images or videos of the physical environment, which are representations of the physical environment. The system combines the image or video with the virtual object and presents the composition on an opaque display. A person uses the system to indirectly view the physical environment via an image or video of the physical environment and perceives virtual objects superimposed on the physical environment. As used herein, a video of a physical environment displayed on an opaque display is referred to as a "transparent video," meaning that the system uses one or more image sensors to capture images of the physical environment and uses those images when presenting the AR environment on an opaque display. Further alternatively, the system may have a projection system that projects virtual objects into a physical environment, such as a hologram or on a physical surface, so that a person using the system perceives virtual objects superimposed on the physical environment. An augmented reality environment also refers to a simulated environment in which a representation of a physical environment is transformed by computer-generated sensory information. For example, in providing a pass-through video, the system may transform one or more sensor images to apply a selected perspective (e.g., a viewpoint) that is different from the perspective captured by the imaging sensor. As another example, the representation of a physical environment may be transformed by graphically modifying (e.g., enlarging) a portion thereof so that the modified portion may be a representative but not real version of the original captured image. As another example, the representation of a physical environment may be transformed by graphically eliminating a portion thereof or blurring a portion thereof.

[0038] Augmented Virtual: An augmented virtual (AV) environment refers to a simulated environment in which a virtual environment or a computer-generated environment incorporates one or more sensory inputs from the physical environment. The sensory input may be a representation of one or more characteristics of the physical environment. For example, an AV park may have virtual trees and virtual buildings, but the faces of people are realistically reproduced from images taken of physical people. As another example, a virtual object may take the shape or color of a physical item imaged by one or more imaging sensors. As another example, a virtual object may take a shadow that conforms to the positioning of the sun in the physical environment.

[0039] In augmented reality, mixed reality or virtual reality environment, the view of the three-dimensional environment is visible to the user. The view of the three-dimensional environment is usually visible to the user through a virtual viewport via one or more display generation components (e.g., a display or a pair of display modules that provide stereoscopic content to different eyes of the same user), and the virtual viewport has a viewport boundary, which defines the scope of the three-dimensional environment visible to the user via one or more display generation components. In some embodiments, the area defined by the viewport boundary is smaller than the user's visual range in one or more dimensions (e.g., based on the user's visual range, the size of one or more display generation components, optical properties or other physical properties, and / or the position and / or orientation of one or more display generation components relative to the user's eyes). In some embodiments, the area defined by the viewport boundary is larger than the user's visual range in one or more dimensions (e.g., based on the user's visual range, the size of one or more display generation components, optical properties or other physical properties, and / or the position and / or orientation of one or more display generation components relative to the user's eyes). The viewport and viewport boundary usually move with the movement of one or more display generation components (e.g., for head-mounted devices, move with the user's head, or for handheld devices such as tablet devices or smart phones, move with the user's hands). The user's viewpoint determines what is visible in the viewport, and the viewpoint typically specifies a position and orientation relative to the three-dimensional environment, and as the viewpoint moves, the view of the three-dimensional environment will also move in the viewport. For head-mounted devices, the viewpoint is typically based on the position and orientation of the user's head, face, and / or eyes to provide a view of the three-dimensional environment that is perceptually accurate and provides an immersive experience when the user is using the head-mounted device. For handheld or fixed devices, the viewpoint moves as the handheld or fixed device moves and / or as the user's positioning relative to the handheld or fixed device changes (e.g., the user moves toward, away from, up, down, right, and / or left). For devices including display generation components with virtual pass-through, portions of the physical environment that are visible (e.g., displayed and / or projected) via one or more display generation components are based on the field of view of one or more cameras in communication with the display generation components, which one or more cameras typically move with movement of the display generation components (e.g., with movement of the user's head for a head-mounted device, or with movement of the user's hands for a handheld device such as a tablet device or smart phone) because the user's viewpoint moves with movement of the field of view of the one or more cameras (and the appearance of one or more virtual objects displayed via the one or more display generation components is updated based on the user's viewpoint (e.g., the display position and pose of the virtual objects are updated based on movement of the user's viewpoint)).For display generation components with optical transmittance, portions of the physical environment that are visible via one or more display generation components (e.g., optically visible through one or more partially or fully transparent portions of the display generation components) are based on the user's field of view through the partially or fully transparent portions of the display generation components (e.g., moves as the user's head moves for a head-mounted device, or moves as the user's hands move for a handheld device such as a tablet device or smart phone) because the user's viewpoint moves as the user moves through the field of view of the partially or fully transparent portions of the display generation components (and the appearance of one or more virtual objects is updated based on the user's viewpoint).

[0040] Viewpoint-locked virtual objects: When a computer system displays a virtual object at the same position and / or location in a user's viewpoint, the virtual object is viewpoint-locked even if the user's viewpoint shifts (e.g., changes). In embodiments where the computer system is a head-mounted device, the user's viewpoint is locked to the forward direction of the user's head (e.g., when the user is looking straight ahead, the user's viewpoint is at least a portion of the user's field of view); thus, without moving the user's head, the user's viewpoint remains fixed even when the user's gaze shifts. In embodiments where the computer system has a display generation component (e.g., a display screen) that is repositionable relative to the user's head, the user's viewpoint is an augmented reality view presented to the user on the display generation component of the computer system. For example, a viewpoint-locked virtual object that is displayed in the upper left corner of the user's viewpoint when the user's viewpoint is in a first orientation (e.g., the user's head is facing north) continues to be displayed in the upper left corner of the user's viewpoint even when the user's viewpoint changes to a second orientation (e.g., the user's head is facing west). In other words, the position and / or location of the viewpoint-locked virtual object displayed in the user's viewpoint is independent of the user's position and / or orientation in the physical environment. In embodiments where the computer system is a head-mounted device, the user's viewpoint is locked to the orientation of the user's head, such that the virtual object is also referred to as a "head-locked virtual object."

[0041] Environment-locked visual objects: A virtual object is environment-locked (alternatively, "world-locked") when a computer system displays a virtual object at a position and / or location in a user's viewpoint that is based on (e.g., selected with reference to and / or anchored to) a location and / or object in a three-dimensional environment (e.g., a physical environment or a virtual environment). As the user's viewpoint moves, the location and / or objects in the environment change relative to the user's viewpoint, which causes the environment-locked virtual object to be displayed at a different location and / or location in the user's viewpoint. For example, an environment-locked virtual object locked to a tree immediately in front of the user is displayed at the center of the user's viewpoint. When the user's viewpoint shifts to the right (e.g., the user's head turns to the right) such that the tree is now to the left of center in the user's viewpoint (e.g., the tree location in the user's viewpoint shifts), the environment-locked virtual object locked to the tree is displayed to the left of center in the user's viewpoint. In other words, the position and / or orientation of the virtual object that is locked to the environment in the user's viewpoint depends on the position and / or orientation of the object in the environment to which the virtual object is locked. In some embodiments, the computer system uses a stationary reference system (e.g., a coordinate system anchored to a fixed position and / or object in the physical environment) to determine the position of the virtual object that is locked to the user's viewpoint. The virtual object that is locked to the environment can be locked to a stationary part of the environment (e.g., a floor, wall, table or other stationary object), or can be locked to a movable part of the environment (e.g., a vehicle, an animal, a person, or even a representation of a part of the user's body that moves independently of the user's viewpoint, such as a hand, wrist, arm or foot of the user) so that the virtual object moves as the viewpoint or the part of the environment moves to maintain a fixed relationship between the virtual object and the part of the environment.

[0042] In some embodiments, an environment-locked or viewpoint-locked virtual object exhibits an inertial following behavior that reduces or delays the movement of the environment-locked or viewpoint-locked virtual object relative to the movement of the reference point followed by the virtual object. In some embodiments, when exhibiting inertial following behavior, when detecting the movement of a reference point (e.g., a portion of the environment, a viewpoint, or a point fixed relative to the viewpoint, such as a point between 5cm and 300cm from the viewpoint) that the virtual object is following, the computer system intentionally delays the movement of the virtual object. For example, when the reference point (e.g., the portion of the environment or the viewpoint) moves at a first speed, the virtual object is moved by the device to remain locked to the reference point, but moves at a second speed that is slower than the first speed (e.g., until the reference point stops moving or slows down, at which point the virtual object begins to catch up with the reference point). In some embodiments, when the virtual object exhibits inertial following behavior, the device ignores small amounts of movement of the reference point (e.g., ignoring movements of the reference point below a threshold movement amount, such as moving 0 degrees to 5 degrees or moving 0cm to 50cm). For example, when the reference point (e.g., the portion of the environment or viewpoint to which the virtual object is locked) moves a first amount, the distance between the reference point and the virtual object increases (e.g., because the virtual object is being displayed so as to maintain a fixed or substantially fixed position relative to a viewpoint or portion of the environment that is different from the reference point to which the virtual object is locked), and when the reference point (e.g., the portion of the environment or viewpoint to which the virtual object is locked) moves a second amount greater than the first amount, the distance between the reference point and the virtual object initially increases (e.g., because the virtual object is being displayed so as to maintain a fixed or substantially fixed position relative to a viewpoint or portion of the environment that is different from the reference point to which the virtual object is locked), and then decreases as the amount of movement of the reference point increases above a threshold (e.g., a “lazy follow” threshold) because the virtual object is moved by the computer system to maintain a fixed or substantially fixed position relative to the reference point. In some embodiments, maintaining a substantially fixed position of the virtual object relative to the reference point includes displaying the virtual object within a threshold distance (e.g., 1 cm, 2 cm, 3 cm, 5 cm, 15 cm, 20 cm, 50 cm) of the reference point in one or more dimensions (e.g., up / down, left / right, and / or forward / backward relative to the position of the reference point).

[0043] Hardware: There are many different types of electronic systems that enable a person to sense and / or interact with various XR environments. Examples include head-mounted systems, projection-based systems, heads-up displays (HUDs), vehicle windshields with integrated display capabilities, windows with integrated display capabilities, displays formed as lenses designed to be placed on a person's eyes (e.g., similar to contact lenses), headphones / earpieces, speaker arrays, input systems (e.g., wearable or handheld controllers with or without tactile feedback), smartphones, tablet devices, and desktop / laptop computers. A head-mounted system can have one or more speakers and an integrated opaque display. Alternatively, a head-mounted system can be configured to accept an external opaque display (e.g., a smartphone). A head-mounted system can incorporate one or more imaging sensors for capturing images or video of the physical environment and / or one or more microphones for capturing audio of the physical environment. Instead of an opaque display, a head-mounted system can have a transparent or translucent display. A transparent or translucent display can have a medium through which light representing the image is directed to a person's eyes. The display can utilize digital light projection, OLED, LED, uLED, liquid crystal on silicon, laser scanning light source, or any combination of these technologies. The medium can be an optical waveguide, a hologram medium, an optical combiner, an optical reflector, or any combination thereof. In one embodiment, a transparent or translucent display can be configured to become selectively opaque. The projection-based system can employ retinal projection technology that projects graphic images onto a person's retina. The projection system can also be configured to project virtual objects into a physical environment, such as as a hologram or on a physical surface. In some embodiments, the controller 110 is configured to manage and coordinate the user's XR experience. In some embodiments, the controller 110 includes a suitable combination of software, firmware, and / or hardware. The following description with respect to Figure 2Controller 110 is described in more detail. In some embodiments, controller 110 is a computing device that is located locally or remotely relative to scene 105 (e.g., physical environment). For example, controller 110 is a local server located within scene 105. In another example, controller 110 is a remote server (e.g., cloud server, central server, etc.) located outside of scene 105. In some embodiments, controller 110 is communicatively coupled to display generation component 120 (e.g., HMD, display, projector, touch screen, etc.) via one or more wired or wireless communication channels 144 (e.g., Bluetooth, IEEE 802.11x, IEEE 802.16x, IEEE 802.3x, etc.). In another example, controller 110 is included within a housing (e.g., a physical housing) of display generation component 120 (e.g., an HMD or a portable electronic device including a display and one or more processors, etc.), one or more input devices of input devices 125, one or more output devices of output devices 155, one or more sensors of sensors 190, and / or one or more peripheral devices of peripheral devices 195, or shares the same physical housing or support structure with one or more of the above devices.

[0044] In some embodiments, the display generation component 120 is configured to provide an XR experience (e.g., at least the visual component of the XR experience) to the user. In some embodiments, the display generation component 120 includes a suitable combination of software, firmware, and / or hardware. Figure 3 Display generation component 120 is described in further detail. In some embodiments, the functionality of controller 110 is provided by and / or combined with display generation component 120.

[0045] According to some embodiments, the display generation component 120 provides an XR experience to the user when the user is virtually and / or physically present within the scene 105.

[0046] In some embodiments, the display generation component is worn on a part of the user's body (e.g., on his / her head, on his / her hand, etc.). Thus, the display generation component 120 includes one or more XR displays provided for displaying XR content. For example, in various embodiments, the display generation component 120 surrounds the user's field of view. In some embodiments, the display generation component 120 is a handheld device (such as a smart phone or tablet device) configured to present XR content, and the user holds a device with a display facing the user's field of view and a camera facing the scene 105. In some embodiments, the handheld device is optionally placed in a housing worn on the user's head. In some embodiments, the handheld device is optionally placed on a support (e.g., a tripod) in front of the user. In some embodiments, the display generation component 120 is an XR room, housing, or room configured to present XR content, in which the user does not wear or hold the display generation component 120. Many user interfaces described with reference to one type of hardware for displaying XR content (e.g., a handheld device or a device on a tripod) may be implemented on another type of hardware for displaying XR content (e.g., an HMD or other wearable computing device). For example, a user interface showing interactions with XR content triggered based on interactions occurring in the space in front of a handheld device or a tripod-mounted device may similarly be implemented with an HMD, where the interactions occur in the space in front of the HMD and responses to the XR content are displayed via the HMD. Similarly, a user interface showing interactions with XR content triggered based on movement of a handheld device or a tripod-mounted device relative to a physical environment (e.g., scene 105 or a part of a user's body (e.g., the user's eyes, head, or hands)) may similarly be implemented with an HMD, where the movement is caused by movement of the HMD relative to the physical environment (e.g., scene 105 or a part of a user's body (e.g., the user's eyes, head, or hands)).

[0047] Despite Figure 1 Relevant features of operating environment 100 are shown in , but those skilled in the art will recognize from this disclosure that various other features are not illustrated for the sake of brevity and so as not to obscure more relevant aspects of the example embodiments disclosed herein.

[0048] Figure 2is a block diagram of an example of a controller 110 according to some embodiments. While some specific features are illustrated, those skilled in the art will recognize from this disclosure that various other features are not illustrated for the sake of brevity and so as not to obscure more relevant aspects of the embodiments disclosed herein. To this end, as a non-limiting example, in some embodiments, the controller 110 includes one or more processing units 202 (e.g., a microprocessor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a graphics processing unit (GPU), a central processing unit (CPU), a processing core, etc.), one or more input / output (I / O) devices 206, one or more communication interfaces 208 (e.g., a universal serial bus (USB), FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE 802.11x, IEEE 802.16x, Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Global Positioning System (GPS), infrared (IR), Bluetooth, ZIGBEE, and / or similar types of interfaces), one or more programming (e.g., I / O) interfaces 210, a memory 220, and one or more communication buses 204 for interconnecting these components and various other components.

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

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

[0051] The operating system 230 includes instructions for handling various basic system services and for performing hardware-related tasks. In some embodiments, the XR experience module 240 is configured to manage and coordinate single or multiple XR experiences of one or more users (e.g., a single XR experience of one or more users, or multiple XR experiences of corresponding groups of one or more users). To this end, in various embodiments, the XR experience module 240 includes a data acquisition unit 241, a tracking unit 242, a coordination unit 246, and a data sending unit 248.

[0052] In some embodiments, the data acquisition unit 241 is configured to obtain Figure 1 120, and optionally acquires data (e.g., presentation data, interaction data, sensor data, location data, etc.) from one or more of input device 125, output device 155, sensor 190, and / or peripheral device 195. To this end, in various embodiments, data acquisition unit 241 includes instructions and / or logic for instructions as well as heuristics and metadata for the heuristics.

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

[0054] In some embodiments, coordination unit 246 is configured to manage and coordinate the XR experience presented to the user by display generation component 120, and optionally by one or more of output device 155 and / or peripheral device 195. To this end, in various embodiments, coordination unit 246 includes instructions and / or logic for instructions and heuristics and metadata for the heuristics.

[0055] In some embodiments, the data sending unit 248 is configured to send data (e.g., presentation data, position data, etc.) to at least the display generation component 120, and optionally to one or more of the input device 125, the output device 155, the sensor 190, and / or the peripheral device 195. To this end, in various embodiments, the data sending unit 248 includes instructions and / or logic for the instructions as well as heuristics and metadata for the heuristics.

[0056] Although the data acquisition unit 241, the tracking unit 242 (e.g., including the eye tracking unit 243 and the hand tracking unit 244), the coordination unit 246, and the data sending unit 248 are illustrated as residing on a single device (e.g., the controller 110), it should be understood that in other embodiments, any combination of the data acquisition unit 241, the tracking unit 242 (e.g., including the eye tracking unit 243 and the hand tracking unit 244), the coordination unit 246, and the data sending unit 248 may be located in separate computing devices.

[0057] also, Figure 2 It serves more as a functional description of various features that may be present in a particular implementation, as opposed to a block diagram of the embodiments described herein. As one of ordinary skill in the art will recognize, items shown separately may be combined, and some items may be separated. For example, Figure 2 Some functional modules shown separately in the figure may be implemented in a single module, and the various functions of a single functional block may be implemented by one or more functional blocks in various embodiments. The actual number of modules and the division of specific functions and how the features are distributed among them will vary depending on the specific implementation, and in some embodiments, depends in part on the specific combination of hardware, software and / or firmware selected for a specific implementation.

[0058] Figure 31 is a block diagram of an example of a display generation component 120 according to some embodiments. While some specific features are illustrated, those skilled in the art will recognize from this disclosure that various other features are not illustrated for the sake of brevity and so as not to obscure more relevant aspects of the embodiments disclosed herein. To this end, as a non-limiting example, in some embodiments, the display generation component 120 (e.g., an HMD) includes one or more processing units 302 (e.g., a microprocessor, an ASIC, an FPGA, a GPU, a CPU, a processing core, etc.), one or more input / output (I / O) devices and sensors 306, one or more communication interfaces 308 (e.g., USB, FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE 802.11x, IEEE802.16x, GSM, CDMA, TDMA, GPS, IR, Bluetooth, ZIGBEE, and / or similar types of interfaces), one or more programming (e.g., I / O) interfaces 310, one or more XR displays 312, one or more optional internal-facing and / or external-facing image sensors 314, a memory 320, and one or more communication buses 304 for interconnecting these and various other components.

[0059] In some embodiments, one or more communication buses 304 include circuits for interconnecting and controlling communications between various system components. In some embodiments, one or more I / O devices and sensors 306 include an inertial measurement unit (IMU), an accelerometer, a gyroscope, a thermometer, one or more physiological sensors (e.g., a blood pressure monitor, a heart rate monitor, a blood oxygen sensor, a blood glucose sensor, etc.), one or more microphones, one or more speakers, a haptic engine, and / or one or more depth sensors (e.g., structured light, time of flight, etc.), etc.

[0060] In some embodiments, one or more XR displays 312 are configured to provide an XR experience to the user. In some embodiments, one or more XR displays 312 correspond to holographic, digital light processing (DLP), liquid crystal display (LCD), liquid crystal on silicon (LCoS), organic light emitting field effect transistor (OLET), organic light emitting diode (OLED), surface conduction electron emission display (SED), field emission display (FED), quantum dot light emitting diode (QD-LED), microelectromechanical system (MEMS) and / or similar display types. In some embodiments, one or more XR displays 312 correspond to diffraction, reflection, polarization, holographic and other waveguide displays. For example, the display generation component 120 (e.g., HMD) includes a single XR display. In another example, the display generation component 120 includes an XR display for each eye of the user. In some embodiments, one or more XR displays 312 can present MR and VR content. In some embodiments, one or more XR displays 312 can present MR or VR content.

[0061] In some embodiments, the one or more image sensors 314 are configured to acquire image data corresponding to at least a portion of the user's face, including the user's eyes (and may be referred to as an eye tracking camera). In some embodiments, the one or more image sensors 314 are configured to acquire image data corresponding to the user's hands and, optionally, at least a portion of the user's arms (and may be referred to as a hand tracking camera). In some embodiments, the one or more image sensors 314 are configured to face forward so as to acquire image data corresponding to a scene that the user would see in the absence of the display generation component 120 (e.g., an HMD) (and may be referred to as a scene camera). The one or more optional image sensors 314 may include one or more RGB cameras (e.g., with a complementary metal oxide semiconductor (CMOS) image sensor or a charge coupled device (CCD) image sensor), one or more infrared (IR) cameras, and / or one or more event-based cameras, etc.

[0062] The memory 320 includes a high-speed random access memory, such as a DRAM, SRAM, DDR RAM, or other random access solid-state memory device. In some embodiments, the memory 320 includes a non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 320 optionally includes one or more storage devices located away from the one or more processing units 302. The memory 320 includes a non-transitory computer-readable storage medium. In some embodiments, the memory 320 or the non-transitory computer-readable storage medium of the memory 320 stores the following programs, modules, and data structures or a subset thereof, including an optional operating system 330 and an XR rendering module 340.

[0063] The operating system 330 includes processes for handling various basic system services and for performing hardware-related tasks. In some embodiments, the XR rendering module 340 is configured to present XR content to a user via one or more XR displays 312. To this end, in various embodiments, the XR rendering module 340 includes a data acquisition unit 342, an XR rendering unit 344, an XR map generation unit 346, and a data transmission unit 348.

[0064] In some embodiments, the data acquisition unit 342 is configured to at least Figure 1 The controller 110 acquires data (e.g., presentation data, interaction data, sensor data, location data, etc.). To this end, in various embodiments, the data acquisition unit 342 includes instructions and / or logic for instructions and heuristics and metadata for the heuristics.

[0065] In some embodiments, the XR rendering unit 344 is configured to render XR content via one or more XR displays 312. To this end, in various embodiments, the XR rendering unit 344 includes instructions and / or logic for the instructions and heuristics and metadata for the heuristics.

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

[0067] In some embodiments, the data sending unit 348 is configured to send data (e.g., presentation data, position data, etc.) to at least the controller 110, and optionally one or more of the input device 125, the output device 155, the sensor 190, and / or the peripheral device 195. To this end, in various embodiments, the data sending unit 348 includes instructions and / or logic for the instructions and heuristics and metadata for the heuristics.

[0068] Although the data acquisition unit 342, the XR rendering unit 344, the XR map generation unit 346, and the data transmission unit 348 are shown as residing on a single device (e.g., Figure 1 , but it should be understood that in other embodiments, any combination of the data acquisition unit 342, the XR rendering unit 344, the XR mapping generation unit 346, and the data sending unit 348 may be located in a separate computing device.

[0069] also, Figure 3 More as a functional description of various features that may be present in a particular embodiment, rather than a schematic diagram of the structures of the embodiments described herein. As one of ordinary skill in the art will recognize, items shown separately may be combined, and some items may be separated. For example, Figure 3 Some functional modules shown separately in the figure may be implemented in a single module, and the various functions of a single functional block may be implemented by one or more functional blocks in various embodiments. The actual number of modules and the division of specific functions and how the features are distributed among them will vary depending on the specific implementation, and in some embodiments, depends in part on the specific combination of hardware, software and / or firmware selected for a specific implementation.

[0070] Figure 4 is a schematic illustration of an example implementation of the hand tracking device 140. In some implementations, the hand tracking device 140 ( Figure 1 ) is controlled by the hand tracking unit 244 ( Figure 2 ) to track the position / location of one or more parts of a user's hand and / or one or more parts of a user's hand relative to Figure 1The hand tracking device 140 can be used to track movement of the scene 105 (e.g., relative to a portion of the physical environment surrounding the user, relative to the display generation component 120, or relative to a portion of the user (e.g., the user's face, eyes, or head), and / or relative to a coordinate system that is defined relative to the user's hands). In some embodiments, the hand tracking device 140 is part of the display generation component 120 (e.g., embedded in or attached to the head-mounted device). In some embodiments, the hand tracking device 140 is separate from the display generation component 120 (e.g., located in a separate housing or attached to a separate physical support structure).

[0071] In some embodiments, the hand tracking device 140 includes an image sensor 404 (e.g., one or more IR cameras, 3D cameras, depth cameras, and / or color cameras, etc.) that captures three-dimensional scene information including at least a human user's hand 406. The image sensor 404 captures hand images with sufficient resolution to enable the fingers and their corresponding positioning to be distinguished. The image sensor 404 typically captures images of other parts of the user's body, and also or possibly all parts of the body, and may have zoom capabilities or a dedicated sensor with increased magnification to capture images of the hand with a desired resolution. In some embodiments, the image sensor 404 also captures 2D color video images of the hand 406 and other elements of the scene. In some embodiments, the image sensor 404 is used in conjunction with other image sensors to capture the physical environment of the scene 105, or is used as an image sensor to capture the physical environment of the scene 105. In some embodiments, the image sensor is positioned relative to the user or the user's environment in a manner that the field of view of the image sensor 404 or a portion thereof is used to define an interaction space, in which the hand movements captured by the image sensor are considered as input to the controller 110.

[0072] In some embodiments, the image sensor 404 outputs a sequence of frames containing 3D image data (and in addition, possible color image data) to the controller 110, which extracts high-level information from the image data. The high-level information is typically provided to an application running on the controller via an application program interface (API), which drives the display generation component 120 accordingly. For example, a user can interact with the software running on the controller 110 by moving the hand 406 and changing his hand posture.

[0073] In some embodiments, the image sensor 404 projects a speckled pattern onto a scene containing the hand 406 and captures an image of the projected pattern. In some embodiments, the controller 110 calculates the 3D coordinates of points in the scene (including points on the surface of the user's hand) by triangulation based on the lateral offset of the spots in the pattern. This method is advantageous because it does not require the user to hold or wear any kind of beacon, sensor, or other marker. The method gives the depth coordinates of points in the scene at a specific distance from the image sensor 404 relative to a predetermined reference plane. In the present disclosure, it is assumed that the image sensor 404 defines an orthogonal set of x-axis, y-axis, and z-axis, so that the depth coordinates of points in the scene correspond to the z component measured by the image sensor. Alternatively, the image sensor 404 (e.g., a hand tracking device) may use other 3D mapping methods based on a single or multiple cameras or other types of sensors, such as stereo imaging or time-of-flight measurement.

[0074] In some embodiments, the hand tracking device 140 captures and processes a time series of depth maps containing the user's hand as the user moves his hand (e.g., the entire hand or one or more fingers). Software running on the image sensor 404 and / or the processor in the controller 110 processes the 3D map data to extract image patch descriptors of the hand in these depth maps. The software can match these descriptors with image patch descriptors stored in the database 408 based on a previous learning process to estimate the pose of the hand in each frame. The pose typically includes the 3D position of the user's hand joints and finger tips.

[0075] The software can also analyze the trajectory of the hand and / or finger over multiple frames in the sequence to identify gestures. The pose estimation function described herein can be alternated with the motion tracking function so that the image block-based pose estimation is performed only once every two (or more) frames, and the tracking is used to find the changes in pose that occur on the remaining frames. The pose, motion, and gesture information is provided to the application running on the controller 110 via the above-mentioned API. The program can, for example, move and modify the image presented on the display generation component 120 in response to the pose and / or gesture information, or perform other functions.

[0076] In some embodiments, gestures include air gestures. An air gesture is a gesture detected without the user touching an input element that is part of a device (e.g., computer system 101, one or more input devices 125, and / or hand tracking device 140) (or independent of an input element that is part of a device) and based on detected movement of a part of the user's body (e.g., head, one or more arms, one or more hands, one or more fingers, and / or one or more legs) through the air (including movement of the user's body relative to an absolute reference (e.g., the angle of the user's arm relative to the ground or the distance of the user's hand relative to the ground), movement relative to another part of the user's body (e.g., movement of the user's hand relative to the user's shoulder, movement of one of the user's hands relative to the user's other hand, and / or movement of a user's finger relative to another finger or part of the user's hand), and / or absolute movement of a part of the user's body (e.g., a tap gesture in which a hand moves a predetermined amount and / or speed in a predetermined posture, or a shake gesture including a predetermined speed or amount of rotation of a part of the user's body)).

[0077] In some embodiments, according to some embodiments, the input gestures used in the various examples and embodiments described herein include air gestures for interacting with an XR environment (e.g., a virtual or mixed reality environment) performed by movement of a user's fingers relative to other fingers or parts of the user's hand. In some embodiments, an air gesture is a gesture detected without the user touching an input element that is part of the device (or independent of an input element that is part of the device) and based on detected movement of a part of the user's body through the air (including movement of the user's body relative to an absolute reference (e.g., the angle of the user's arm relative to the ground or the distance of the user's hand relative to the ground), movement relative to another part of the user's body (e.g., movement of the user's hand relative to the user's shoulder, movement of one of the user's hands relative to the user's other hand, and / or movement of the user's fingers relative to another finger or part of the user's hand), and / or absolute movement of a part of the user's body (e.g., a tap gesture in which the hand moves a predetermined amount and / or speed in a predetermined posture, or a shake gesture including a predetermined speed or amount of rotation of a part of the user's body)).

[0078] In some embodiments where the input gesture is an in-air gesture (e.g., in the absence of physical contact with an input device that provides information to the computer system about which user interface element is the target of the user input, such as contact with a user interface element displayed on a touch screen, or contact with a mouse or trackpad to move a cursor to a user interface element), the gesture takes into account the user's attention (e.g., gaze) to determine the target of the user input (e.g., for direct input, as described below). Thus, in specific implementations involving in-air gestures, for example, the input gesture is combined with (e.g., concurrently with) movement of the user's fingers and / or hand to detect attention (e.g., gaze) toward a user interface element to perform a pinch and / or tap input, as will be described in more detail below.

[0079] In some embodiments, an input gesture pointing to a user interface object is performed directly or indirectly with reference to the user interface object. For example, the user input is performed directly on the user interface object according to performing the input with the user's hand at a location corresponding to the location of the user interface object in the three-dimensional environment (e.g., as determined based on the user's current viewpoint). In some embodiments, when the user's attention (e.g., gaze) to the user interface object is detected, the input gesture is performed indirectly on the user interface object according to the location of the user's hand not being at the location corresponding to the location of the user interface object in the three-dimensional environment while the user performs the input gesture. For example, for a direct input gesture, the user can guide the user's input to the user interface object by initiating a gesture at or near a location corresponding to the display location of the user interface object (e.g., within 0.5 cm, 1 cm, 5 cm, or within a distance between 0 cm and 5 cm measured from the outer edge of the option or the center portion of the option). For an indirect input gesture, the user can guide the user's input to the user interface object by focusing on the user interface object (e.g., by gazing at the user interface object), and while focusing on the option, the user initiates an input gesture (e.g., at any location detectable by the computer system) (e.g., at a location that does not correspond to the display location of the user interface object).

[0080] In some embodiments, according to some embodiments, the input gestures (e.g., air gestures) used in various examples and embodiments described herein include pinch input and tap input for interacting with a virtual or mixed reality environment. For example, the pinch input and tap input described below are performed as air gestures.

[0081] In some embodiments, the pinch input is part of an air gesture that includes one or more of the following: a pinch gesture, a long pinch gesture, a pinch and drag gesture, or a double pinch gesture. For example, a pinch gesture as an air gesture includes movement of two or more fingers of a hand to contact each other, that is, optionally followed by an immediate (e.g., within 0 seconds to 1 second) interruption of contact with each other. A long pinch gesture as an air gesture includes movement of two or more fingers of a hand in contact with each other for at least a threshold amount of time (e.g., at least 1 second) before an interruption of contact with each other is detected. For example, a long pinch gesture includes the user maintaining a pinch gesture (e.g., in which two or more fingers are in contact), and the long pinch gesture continues until an interruption of contact between the two or more fingers is detected. In some embodiments, a double pinch gesture as an air gesture includes two (e.g., or more) pinch inputs (e.g., performed by the same hand) that are detected consecutively immediately (e.g., within a predefined time period) with each other. For example, the user performs a first pinch input (e.g., a pinch input or a long pinch input), releases the first pinch input (e.g., interrupts contact between two or more fingers), and performs a second pinch input within a predefined time period after releasing the first pinch input (e.g., within 1 second or within 2 seconds).

[0082] In some embodiments, the pinch and drag gesture as an air gesture includes a pinch gesture (e.g., a pinch gesture or a long pinch gesture) performed in conjunction with (e.g., following) a drag input that changes the positioning of the user's hand from a first positioning (e.g., a starting positioning for dragging) to a second positioning (e.g., an ending positioning for dragging). In some embodiments, the user maintains the pinch gesture while performing the drag input, and releases the pinch gesture (e.g., opens their two or more fingers) to end the drag gesture (e.g., at the second positioning). In some embodiments, the pinch input and the drag input are performed by the same hand (e.g., the user pinches two or more fingers to contact each other and moves the same hand to the second positioning in the air using the drag gesture). In some embodiments, a pinch input is performed by a first hand of a user, and a drag input is performed by a second hand of the user (e.g., the second hand of the user moves in the air from a first position to a second position while the user continues the pinch input with the first hand of the user. In some embodiments, the input gesture as an air gesture includes an input (e.g., a pinch and / or tap input) performed using both hands of the user. For example, the input gesture includes two (e.g., or more) pinch inputs performed in conjunction with each other (e.g., concurrently or within a predefined time period). For example, a first pinch gesture (e.g., a pinch input, a long pinch input, or a pinch and drag input) is performed using the first hand of the user, and in conjunction with performing the pinch input using the first hand, a second pinch input is performed using another hand (e.g., a second hand of the user's two hands). In some embodiments, movement between the two hands of the user (e.g., increasing and / or decreasing the distance or relative orientation between the two hands of the user)

[0083] In some embodiments, a tap input performed as an air gesture (e.g., pointing to a user interface element) includes movement of a user's finger toward the user interface element, movement of a user's hand toward the user interface element (optionally, extension of the user's finger toward the user interface element), downward movement of a user's finger (e.g., mimicking a mouse click motion or a tap on a touch screen), or other predefined movement of a user's hand. In some embodiments, a tap input performed as an air gesture is detected based on movement characteristics of the finger or hand performing the tap gesture movement of the finger or hand, which is a movement of the finger or hand away from the user's viewpoint and / or toward an object that is the target of the tap input, followed by an end of the movement. In some embodiments, the end of the movement is detected based on a change in the movement characteristics of the finger or hand performing the tap gesture (e.g., the end of the movement away from the user's viewpoint and / or toward an object that is the target of the tap input, a reversal of the direction of movement of the finger or hand, and / or a reversal of the acceleration direction of the movement of the finger or hand).

[0084] In some embodiments, it is determined that the user's attention is directed to a portion of the three-dimensional environment based on detection of a gaze directed to that portion of the three-dimensional environment (optionally, no other conditions are required). In some embodiments, it is determined that the user's attention is directed to a portion of the three-dimensional environment based on detection of a gaze directed to that portion of the three-dimensional environment using one or more additional conditions, such as requiring the gaze to be directed to the portion of the three-dimensional environment for at least a threshold duration (e.g., a dwell duration) and / or requiring the gaze to be directed to the portion of the three-dimensional environment when the user's viewpoint is within a distance threshold from the portion of the three-dimensional environment, so that the device determines that the user's attention is directed to the portion of the three-dimensional environment, wherein if one of these additional conditions is not met, the device determines that the attention is not directed to the portion of the three-dimensional environment to which the gaze is directed (e.g., until the one or more additional conditions are met).

[0085] In some embodiments, the detection of a ready state configuration of a user or a portion of a user is detected by a computer system. The detection of the ready state configuration of a hand is used by the computer system as an indication that the user may be preparing to interact with the computer system using one or more air gesture inputs (e.g., pinch, tap, pinch and drag, double pinch, long pinch, or other air gestures described herein) performed by the hand. For example, the ready state of the hand is determined based on whether the hand has a predetermined hand shape (e.g., a pre-pinch shape with the thumb and one or more fingers extended and spaced apart to prepare for a pinch or grab gesture, or a pre-tap with one or more fingers extended and the palm facing away from the user), based on whether the hand is in a predetermined position relative to the user's viewpoint (e.g., below the user's head and above the user's waist and extending at least 15 cm, 20 cm, 25 cm, 30 cm, or 50 cm from the body), and / or based on whether the hand has moved in a particular manner (e.g., toward an area in front of the user above the user's waist and below the user's head or away from the user's body or legs). In some embodiments, the ready state is used to determine whether an interactive element of a user interface responds to attention (e.g., gaze) input.

[0086] In scenarios where input is described with reference to in-air gestures, it should be understood that similar gestures may be detected using a hardware input device attached to or held by one or more hands of a user, where the positioning of the hardware input device in space may be tracked using optical tracking, one or more accelerometers, one or more gyroscopes, one or more magnetometers, and / or one or more inertial measurement units, and the positioning and / or movement of the hardware input device is used in place of the positioning and / or movement of the one or more hands in the corresponding in-air gesture. In scenarios where input is described with reference to in-air gestures, it should be understood that similar gestures may be detected using a hardware input device attached to or held by one or more hands of a user. User input may be detected using controls contained in hardware input devices, such as one or more touch-sensitive input elements, one or more pressure-sensitive input elements, one or more buttons, one or more knobs, one or more dials, one or more joysticks, one or more hand or finger overlays that can detect the position or change in position of parts of a hand and / or finger relative to each other, relative to the user's body, and / or relative to the user's physical environment, and / or other hardware input device controls, wherein user input using the controls contained in the hardware input devices is used in place of hand and / or finger gestures such as air taps or air pinches in corresponding air gestures. For example, a selection input described as being performed using an air tap or air pinch input may alternatively be detected using a button press, a tap on a touch-sensitive surface, a press on a pressure-sensitive surface, or other hardware input. As another example, movement input described as being performed using an air pinch and drag may alternatively be detected based on interaction with a hardware input control, such as a button press and hold, a touch on a touch-sensitive surface, a press on a pressure-sensitive surface, or other hardware input following movement of a hardware input device (e.g., along with a hand associated with the hardware input device) through space. Similarly, two-handed input involving movement of hands relative to each other may be performed using one air gesture and one hardware input device in which the hand is not performing the air gesture, two hardware input devices held in different hands, or two air gestures performed by different hands using various combinations of air gestures and / or inputs detected by one or more of the above hardware input devices.

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

[0088] Figure 4 Also included is a schematic diagram of a depth map 410 captured by the image sensor 404 according to some embodiments. As described above, the depth map includes a matrix of pixels with corresponding depth values. Pixels 412 corresponding to the hand 406 have been segmented from the background and wrist in the figure. The brightness of each pixel in the depth map 410 is inversely proportional to its depth value (i.e., the measured z distance from the image sensor 404), where gray shades become darker as the depth increases. The controller 110 processes these depth values ​​in order to identify and segment components of the image that have human hand characteristics (i.e., a group of adjacent pixels). These characteristics may include, for example, overall size, shape, and movement from frame to frame in the depth map sequence.

[0089] Figure 4 Also schematically illustrated is a hand skeleton 414 that the controller 110 ultimately extracts from the depth map 410 of the hand 406 according to some embodiments. Figure 4 In the hand skeleton 414, a hand background 416 that has been segmented from the original depth map is superimposed. In some embodiments, key feature points of the hand and optionally on the wrist or arm connected to the hand (e.g., points corresponding to knuckles, finger tips, palm center, end of the hand connected to the wrist, etc.) are identified and located on the hand skeleton 414. In some embodiments, the controller 110 uses the position and movement of these key feature points over multiple image frames to determine the gesture performed by the hand or the current state of the hand according to some embodiments.

[0090] Figure 5 The eye tracking device 130 ( Figure 1 ). In some embodiments, the eye tracking device 130 is composed of an eye tracking unit 243 ( Figure 2) controls to track the position and movement of the user's gaze relative to the scene 105 or relative to the XR content displayed via the display generation component 120. In some embodiments, the eye tracking device 130 is integrated with the display generation component 120. For example, in some embodiments, when the display generation component 120 is a head-mounted device (such as headphones, helmets, goggles, or glasses) or a handheld device placed in a wearable frame, the head-mounted device includes both components for generating XR content for viewing by the user and components for tracking the user's gaze relative to the XR content. In some embodiments, the eye tracking device 130 is separate from the display generation component 120. For example, when the display generation component is a handheld device or an XR room, the eye tracking device 130 is optionally a device separate from the handheld device or the XR room. In some embodiments, the eye tracking device 130 is a head-mounted device or a part of a head-mounted device. In some embodiments, the head-mounted eye tracking device 130 is optionally used in conjunction with a display generation component that is also head-mounted or a display generation component that is not head-mounted. In some embodiments, the eye tracking device 130 is not a head mounted device, and is optionally used in conjunction with a head mounted display generation component. In some embodiments, the eye tracking device 130 is not a head mounted device, and is optionally part of a non-head mounted display generation component.

[0091] In some embodiments, the display generation component 120 uses a display mechanism (e.g., a left near-eye display panel and a right near-eye display panel) to display a frame including a left image and a right image in front of the user's eyes, thereby providing a 3D virtual view to the user. For example, a head-mounted display generation component may include a left optical lens and a right optical lens (referred to herein as an eye lens) located between the display and the user's eyes. In some embodiments, the display generation component may include or be coupled to one or more external cameras that capture a video of the user's environment for display. In some embodiments, the head-mounted display generation component may have a transparent or translucent display, and display a virtual object on the transparent or translucent display, and the user can directly view the physical environment through the transparent or translucent display. In some embodiments, the display generation component projects the virtual object into the physical environment. The virtual object may, for example, be projected on a physical surface or projected as a hologram so that an individual uses the system to observe a virtual object superimposed on the physical environment. In such cases, separate display panels and image frames for the left and right eyes may not be required.

[0092] like Figure 5As shown, in some embodiments, the eye tracking device 130 (e.g., gaze tracking device) includes at least one eye tracking camera (e.g., an infrared (IR) or near infrared (NIR) camera), and an illumination source (e.g., an IR or NIR light source, such as an array or ring of LEDs) that emits light (e.g., IR or NIR light) toward the user's eyes. The eye tracking camera can be pointed at the user's eyes to receive the IR or NIR light reflected directly from the eyes by the light source, or alternatively can be pointed at "hot" mirrors located between the user's eyes and the display panel, which reflect the IR or NIR light from the eyes to the eye tracking camera while allowing visible light to pass through. The eye tracking device 130 optionally captures images of the user's eyes (e.g., as a video stream captured at 60 to 120 frames per second (fps)), analyzes the images to generate gaze tracking information, and transmits the gaze tracking information to the controller 110. In some embodiments, the user's two eyes are tracked separately by corresponding eye tracking cameras and illumination sources. In some embodiments, only one eye of the user is tracked by the corresponding eye tracking camera and illumination source.

[0093] In some embodiments, the eye tracking device 130 is calibrated using a device-specific calibration process to determine the parameters of the eye tracking device for a specific operating environment 100, such as the 3D geometric relationships and parameters of the LED, camera, thermal mirror (if present), eye lens, and display screen. The device-specific calibration process can be performed at a factory or another facility before the AR / VR equipment is delivered to the end user. The device-specific calibration process can be an automatic calibration process or a manual calibration process. According to some embodiments, the user-specific calibration process may include an estimate of the eye parameters of a specific user, such as pupil position, foveal position, optical axis, visual axis, eye spacing, etc. According to some embodiments, once the device-specific parameters and user-specific parameters are determined for the eye tracking device 130, a flash-assisted method can be used to process the images captured by the eye tracking camera to determine the current visual axis and the user's gaze point relative to the display.

[0094] like Figure 5As shown, the eye tracking device 130 (e.g., 130A or 130B) includes an eye lens 520 and a gaze tracking system, which includes at least one eye tracking camera 540 (e.g., an infrared (IR) or near infrared (NIR) camera) positioned on the side of the user's face on which eye tracking is performed, and an illumination source 530 (e.g., an IR or NIR light source, such as an array or ring of NIR light emitting diodes (LEDs)) that emits light (e.g., IR or NIR light) toward the user's eye 592. The eye tracking camera 540 can be directed toward a mirror 550 (which reflects IR or NIR light from the eye 592 while allowing visible light to pass) located between the user's eye 592 and a display 510 (e.g., a left display panel or a right display panel of a head-mounted display, or a display of a handheld device, a projector, etc.) (e.g., as Figure 5 ), or alternatively may be directed toward the user's eye 592 to receive reflected IR or NIR light from the eye 592 (e.g., as shown in the top portion of Figure 5 ).

[0095] In some embodiments, the controller 110 renders AR or VR frames 562 (e.g., left and right frames for left and right display panels) and provides the frames 562 to the display 510. The controller 110 uses the gaze tracking input 542 from the eye tracking camera 540 for various purposes, such as for processing the frames 562 for display. The controller 110 optionally estimates the user's gaze point on the display 510 based on the gaze tracking input 542 obtained from the eye tracking camera 540 using a flash-assisted method or other suitable method. The gaze point estimated from the gaze tracking input 542 is optionally used to determine the direction in which the user is currently looking.

[0096] Several possible use cases for the user's current gaze direction are described below and are not intended to be limiting. As an example use case, the controller 110 may render virtual content differently based on the determined direction of the user's gaze. For example, the controller 110 may generate virtual content at a higher resolution in the foveal region determined according to the user's current gaze direction than in the peripheral region. As another example, the controller may position or move virtual content in a view based at least in part on the user's current gaze direction. As another example, the controller may display specific virtual content in a view based at least in part on the user's current gaze direction. As another example use case in an AR application, the controller 110 may guide an external camera used to capture the physical environment of the XR experience to focus in the determined direction. The autofocus mechanism of the external camera may then focus on an object or surface in the environment that the user is currently looking at on the display 510. As another example use case, the eye lens 520 may be a focusable lens, and the controller uses gaze tracking information to adjust the focus of the eye lens 520 so that the virtual object that the user is currently looking at has an appropriate degree of convergence to match the convergence of the user's eye 592. The controller 110 can use the gaze tracking information to guide the eye lens 520 to adjust the focus so that nearby objects that the user is looking at appear at the correct distance.

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

[0098] In some embodiments, the display 510 emits light in the visible range and does not emit light in the IR or NIR range, and therefore does not introduce noise into the gaze tracking system. Note that the positions and angles of the eye tracking cameras 540 are given by way of example and are not intended to be limiting. In some embodiments, a single eye tracking camera 540 is located on each side of the user's face. In some embodiments, two or more NIR cameras 540 may be used on each side of the user's face. In some embodiments, a camera 540 with a wider field of view (FOV) and a camera 540 with a narrower FOV may be used on each side of the user's face. In some embodiments, a camera 540 operating at one wavelength (e.g., 850 nm) and a camera 540 operating at a different wavelength (e.g., 940 nm) may be used on each side of the user's face.

[0099] like Figure 5 Embodiments of the gaze tracking system illustrated in the drawings may be used, for example, in computer-generated reality, virtual reality, and / or mixed reality applications to provide a user with a computer-generated reality, virtual reality, augmented reality, and / or augmented virtual experience.

[0100] Figure 6 A flash-assisted gaze tracking pipeline according to some embodiments is illustrated. In some embodiments, the gaze tracking pipeline is implemented by a flash-assisted gaze tracking system (e.g., Figure 1 and Figure 5 The flash-assisted gaze tracking system may maintain a tracking state. Initially, the tracking state is off or "no". When in the tracking state, the flash-assisted gaze tracking system uses previous information from previous frames when analyzing the current frame to track the pupil outline and the flash in the current frame. When not in the tracking state, the flash-assisted gaze tracking system attempts to detect the pupil and the flash in the current frame, and if successful, initializes the tracking state to "yes" and continues with the next frame in the tracking state.

[0101] like Figure 6 As shown, the gaze tracking camera can capture left and right images of the user's left and right eyes. The captured images are then input to the gaze tracking pipeline for processing starting at 610. As indicated by the arrow returning to element 600, the gaze tracking system can continue to capture images of the user's eyes at a rate of, for example, 60 to 120 frames per second. In some embodiments, each group of captured images can be input to the pipeline for processing. However, in some embodiments or under some conditions, not all captured frames are processed by the pipeline.

[0102] At 610, for the currently captured image, if the tracking status is yes, the method proceeds to element 640. At 610, if the tracking status is no, the image is analyzed to detect the user's pupil and glint in the image, as indicated at 620. At 630, if the pupil and glint are successfully detected, the method proceeds to element 640. Otherwise, the method returns to element 610 to process the next image of the user's eye.

[0103] At 640, if advancing from element 610, the current frame is analyzed to track pupils and glints based in part on previous information from previous frames. At 640, if advancing from element 630, the tracking state is initialized based on the pupils and glints detected in the current frame. The processing results at element 640 are checked to verify that the results of the tracking or detection can be credible. For example, the results can be checked to determine whether the pupil and a sufficient number of glints for performing gaze estimation are successfully tracked or detected in the current frame. At 650, if the results are not likely to be credible, at element 660, the tracking state is set to no, and the method returns to element 610 to process the next image of the user's eye. At 650, if the results are credible, the method advances to element 670. At 670, the tracking state is set to "yes" (if not already "yes"), and the pupil and glint information is passed to element 680 to estimate the user's gaze point.

[0104] Figure 6 It is intended to be used as an example of an eye tracking technology that may be used for a particular implementation. As one of ordinary skill in the art will recognize, according to various embodiments, other eye tracking technologies currently existing or developed in the future may be used in place of or in combination with the flash-assisted eye tracking technology described herein in a computer system 101 for providing an XR experience to a user.

[0105] In some embodiments, the captured portion of the real-world environment 602 is used to provide an XR experience to the user, such as a mixed reality environment in which one or more virtual objects are superimposed on top of a representation of the real-world environment 602 .

[0106] Thus, the description herein describes some embodiments of a three-dimensional environment (e.g., an XR environment) including representations of real-world objects and representations of virtual objects. For example, the three-dimensional environment optionally includes a representation of a table present in a physical environment, which is captured and displayed in the three-dimensional environment (e.g., actively displayed via a camera and display of a computer system or passively displayed via a transparent or translucent display of a computer system). As previously described, the three-dimensional environment is optionally a mixed reality system, wherein the three-dimensional environment is based on a physical environment captured by one or more sensors of a computer system and displayed via a display generation component. As a mixed reality system, the computer system is optionally capable of selectively displaying parts and / or objects of the physical environment so that the corresponding parts and / or objects of the physical environment appear as if they exist in the three-dimensional environment displayed by the computer system. Similarly, the computer system is optionally capable of displaying virtual objects in a three-dimensional environment by placing virtual objects at corresponding positions in the three-dimensional environment that have corresponding positions in the real world to appear as if the virtual objects exist in the real world (e.g., a physical environment). For example, the computer system optionally displays a vase so that the vase appears as if a real vase is placed on top of a table in the physical environment. In some embodiments, a corresponding position in the three-dimensional environment has a corresponding position in the physical environment. Thus, when a computer system is described as displaying a virtual object at a corresponding position relative to a physical object (e.g., such as a position at or near a user's hand or at or near a physical table), the computer system displays the virtual object at a specific position in the three-dimensional environment so that it appears as if the virtual object is at or near the physical object in the physical environment (e.g., the virtual object is displayed at a position in the three-dimensional environment that corresponds to the position in the physical environment where the virtual object would be displayed if it were a real object at that specific position).

[0107] In some embodiments, real-world objects present in the physical environment that are displayed in the three-dimensional environment (e.g., and / or visible via a display generation component) can interact with virtual objects that only exist in the three-dimensional environment. For example, the three-dimensional environment may include a table and a vase placed on top of the table, where the table is a view (or representation) of a physical table in the physical environment and the vase is a virtual object.

[0108] In a three-dimensional environment (e.g., a real environment, a virtual environment, or a mixed environment including real objects and virtual objects), an object is sometimes referred to as having depth or simulated depth, or an object is referred to as being visible, displayed, or placed at different depths. In this context, depth refers to a dimension other than height or width. In some embodiments, depth is defined relative to a fixed coordinate set (e.g., where a room or object has a height, depth, and width defined relative to a fixed coordinate set). In some embodiments, depth is defined relative to the user's position or viewpoint, in which case the depth dimension varies based on the position and angle of the user's position and / or the user's viewpoint. In some embodiments where depth is defined relative to the position of the user relative to the surface of the environment (e.g., the surface of the floor or ground of the environment), an object farther away from the user along a line extending parallel to the surface is considered to have greater depth in the environment, and / or the depth of the object is measured along an axis extending outward from the user's position and parallel to the surface of the environment (e.g., depth is defined in a cylindrical or substantially cylindrical coordinate system, where the user's position is at the center of a cylinder extending from the user's head toward the user's feet). In some embodiments where depth is defined relative to a user's viewpoint (e.g., relative to a direction of a point in space that determines which portion of an environment is visible via a head mounted device or other display), objects that are farther away from the user's viewpoint along a line extending parallel to the user's viewpoint are considered to have greater depth in the environment, and / or the depth of an object is measured along an axis extending outward from a line extending from and parallel to the user's viewpoint (e.g., depth is defined in a spherical or substantially spherical coordinate system with the origin of the viewpoint at the center of a sphere extending outward from the user's head). In some embodiments, depth is defined relative to a user interface container (e.g., a window or application in which applications and / or system content are displayed), where the user interface container has a height and / or width, and depth is a dimension orthogonal to the height and / or width of the user interface container. In some embodiments, where depth is defined relative to a user interface container, when the container is placed in a three-dimensional environment or initially displayed (e.g., such that the depth dimension for the container extends outward away from the user or the user's viewpoint), the height and / or width of the container is generally orthogonal or substantially orthogonal to a straight line extending from a user-based position (e.g., the user's viewpoint or the user's position) to the user interface container (e.g., the center of the user interface container or another feature point of the user interface container). In some embodiments, where depth is defined relative to a user interface container, the depth of an object relative to the user interface container refers to the positioning of the object along the depth dimension for the user interface container. In some embodiments, multiple different containers may have different depth dimensions (e.g., different depth dimensions extending away from the user or the user's viewpoint in different directions and / or from different starting points).In some embodiments, when depth is defined relative to a user interface container, the direction of the depth dimension remains constant for the user interface container as the position of the user interface container, the user, and / or the user's viewpoint changes (e.g., or when multiple different observers are viewing the same container in a three-dimensional environment, such as during an in-person collaboration session and / or when multiple participants are in a real-time communication session with shared virtual content that includes the container). In some embodiments, for curved containers (e.g., including containers with curved surfaces or curved content areas), the depth dimension optionally extends into the surface of the curved container. In some cases, z spacing (e.g., the spacing between two objects in the depth dimension), z height (e.g., the distance of one object from another in the depth dimension), z positioning (e.g., the positioning of an object in the depth dimension), z depth (e.g., the positioning of an object in the depth dimension), or simulated z dimension (e.g., depth used as a dimension of an object, a dimension of an environment, a direction in space, and / or a direction in simulated space) is used to refer to the concept of depth as described above.

[0109] Similarly, the user is optionally able to use one or two hands to interact with virtual objects in the three-dimensional environment as if the virtual objects were real objects in the physical environment. For example, as described above, one or more sensors of the computer system optionally capture one or more hands of the user and display representations of the user's hands in the three-dimensional environment (e.g., in a manner similar to displaying real-world objects in the three-dimensional environment described above), or in some embodiments, due to the transparency / translucency of a portion of the user interface being displayed by the display generation component, or due to the projection of the user interface onto a transparent / translucent surface or the projection of the user interface onto the user's eyes or into the field of view of the user's eyes, the user's hands are visible via the display generation component, via the ability to see the physical environment through the user interface. Therefore, in some embodiments, the user's hands are displayed at corresponding locations in the three-dimensional environment and are treated as if they are objects in the three-dimensional environment, which can interact with virtual objects in the three-dimensional environment as if these virtual objects were physical objects in the physical environment. In some embodiments, the computer system can update the display of the representation of the user's hands in the three-dimensional environment in conjunction with the movement of the user's hands in the physical environment.

[0110] In some embodiments described below, the computer system is optionally capable of determining the "effective" distance between a physical object in the physical world and a virtual object in a three-dimensional environment, for example, to determine whether the physical object is directly interacting with the virtual object (e.g., whether the hand is touching, grabbing, holding, etc., a virtual object or is within a threshold distance of the virtual object). For example, a hand that directly interacts with a virtual object optionally includes one or more of the following: a finger of a hand pressing a virtual button, a user's hand grabbing a virtual vase, a user's hand closing together and pinching / holding the user interface of the application, and two fingers that perform any other type of interaction described herein. For example, when determining whether a user is interacting with a virtual object and / or how a user is interacting with a virtual object, the computer system optionally determines the distance between the user's hand and the virtual object. In some embodiments, the computer system determines the distance between the user's hand and the virtual object by determining the distance between the position of the hand in the three-dimensional environment and the position of the virtual object of interest in the three-dimensional environment. For example, the one or more hands of the user are located at a specific location in the physical world, and the computer system optionally captures the one or more hands and displays the one or more hands at a specific corresponding location in the three-dimensional environment (e.g., if the hand is a virtual hand instead of a physical hand, the location where the hand will be displayed in the three-dimensional environment). The location of the hand in the three-dimensional environment is optionally compared with the location of the virtual object of interest in the three-dimensional environment to determine the distance between the one or more hands of the user and the virtual object. In some embodiments, the computer system optionally determines the distance between the physical object and the virtual object by comparing the location in the physical world (e.g., instead of comparing the location in the three-dimensional environment). For example, when determining the distance between the one or more hands of the user and the virtual object, the computer system optionally determines the corresponding position of the virtual object in the physical world (e.g., if the virtual object is a physical object instead of a virtual object, the location where the virtual object will be located in the physical world), and then determines the distance between the corresponding physical location and the one or more hands of the user. In some embodiments, the same technology is optionally used to determine the distance between any physical object and any virtual object. Therefore, as described herein, when determining whether a physical object is in contact with a virtual object or whether a physical object is within a threshold distance of a virtual object, a computer system optionally executes any of the techniques described above to map the position of the physical object to a three-dimensional environment and / or to map the position of the virtual object to the physical environment.

[0111] In some embodiments, the same or similar techniques are used to determine where and what the user's gaze is directed to, and / or where and what the physical stylus held by the user is pointed to. For example, if the user's gaze is directed to a particular location in the physical environment, the computer system optionally determines the corresponding location in the three-dimensional environment (e.g., the virtual location of the gaze), and if a virtual object is located at the corresponding virtual location, the computer system optionally determines that the user's gaze is directed to the virtual object. Similarly, the computer system is optionally able to determine the direction in which the stylus is pointing in the physical environment based on the orientation of the physical stylus. In some embodiments, based on this determination, the computer system determines a corresponding virtual location in the three-dimensional environment that corresponds to the location in the physical environment that the stylus is pointing to, and optionally determines that the stylus is pointing to the corresponding virtual location in the three-dimensional environment.

[0112] Similarly, the embodiments described herein may refer to the position of a user (e.g., a user of a computer system) in a three-dimensional environment and / or the position of a computer system in a three-dimensional environment. In some embodiments, the user of the computer system is holding, wearing, or otherwise located at or near the computer system. Therefore, in some embodiments, the position of the computer system is used as a proxy for the position of the user. In some embodiments, the position of the computer system and / or the user in the physical environment corresponds to the corresponding position in the three-dimensional environment. For example, the position of the computer system will be the position in the physical environment (and its corresponding position in the three-dimensional environment), and if the user stands at this position, facing the corresponding part of the physical environment visible via the display generation component, the user will see from this position in the physical environment in the same positioning, orientation and / or size (e.g., in an absolute sense and / or relative to each other) of the object displayed in the three-dimensional environment by the display generation component of the computer system or the object visible in the three-dimensional environment via the display generation component. Similarly, if the virtual objects displayed in the three-dimensional environment are physical objects in the physical environment (e.g., physical objects placed at the same location in the physical environment as the virtual objects are in the three-dimensional environment, and physical objects that have the same size and orientation in the physical environment as they do in the three-dimensional environment), then the position of the computer system and / or user is the position from which the user would see the positions of the virtual objects in the physical environment at the same position, orientation, and / or size (e.g., in an absolute sense and / or relative to each other and real-world objects) as the virtual objects displayed in the three-dimensional environment by the display generation components of the computer system.

[0113] In the present disclosure, various input methods are described with respect to interaction with a computer system. When an input device or input method is used to provide an example, and another input device or input method is used to provide another example, it should be understood that each example is compatible with the input device or input method described with respect to another example and optionally utilizes the input device or input method. Similarly, various output methods are described with respect to interaction with a computer system. When an output device or output method is used to provide an example, and another output device or output method is used to provide another example, it should be understood that each example is compatible with the output device or output method described with respect to another example and optionally utilizes the output device or output method. Similarly, various methods are described with respect to interaction with a virtual environment or a mixed reality environment by a computer system. When an example is provided using interaction with a virtual environment, and another example is provided using a mixed reality environment, it should be understood that each example is compatible with the method described with respect to another example and optionally utilizes these methods. Therefore, the present disclosure discloses an embodiment as a combination of features of multiple examples, without exhaustively listing all features of the embodiment in the description of each example embodiment.

[0114] User interface and associated processes

[0115] Attention is now turned to embodiments of a user interface ("UI") and associated processes that may be implemented on a computer system (such as a portable multifunction device or a head mounted device) having a display generating component, one or more input devices, and (optionally) one or more cameras.

[0116] 7A to 7E An example of a computer system that reduces the visual prominence of virtual content relative to a three-dimensional environment according to some embodiments is illustrated.

[0117] Fig. 7A The display generation components (eg, Figure 1 101 ) is visible from a user's viewpoint 726 illustrated in a top view (e.g., facing a back wall of the physical environment in which the computer system 101 is located). Figures 1 to 6 As described above, the computer system 101 optionally includes a display generation component (e.g., a touch screen, an HMD or other wearable computing device, a display, a projector, etc.) and a plurality of image sensors (e.g., Figure 3The image sensor 314). The image sensor optionally includes one or more of the following: a visible light camera; an infrared camera; a depth sensor; or any other sensor that the computer system 101 can use to capture one or more images of a user or a portion of a user (e.g., one or more hands of a user) when the user interacts with the computer system 101. In some embodiments, the user interface illustrated and described below can also be implemented on a head-mounted display, which includes a display generation component that displays a user interface or a three-dimensional environment to the user, and sensors that detect movement of the physical environment and / or the user's hands (e.g., external sensors facing outward from the user) and / or sensors that detect the user's gaze (e.g., internal sensors facing inward toward the user's face).

[0118] like Fig. 7A As shown, computer system 101 captures one or more images of the physical environment (e.g., operating environment 100) surrounding computer system 101 (including one or more objects in the physical environment surrounding computer system 101). In some embodiments, computer system 101 displays a representation of the physical environment in three-dimensional environment 702, and / or the physical environment is visible in three-dimensional environment 702 via display generation component 120. For example, three-dimensional environment 702 visible via display generation component 120 includes a representation of the physical floor and rear and side walls of the room in which computer system 101 is located. For example, and as Fig. 7A As shown, the physical environment surrounding the computer system 101 includes a sofa 724 (shown in a top view) which is displayed via the display generation component 120. Fig. 7A The user's viewpoint 726 is visible.

[0119] exist Fig. 7A In FIG. 7 , three-dimensional environment 702 includes user interface 704 and user interface 706. Fig. 7A In , user interface 704 and user interface 706 are two-dimensional objects. It should be understood that the examples of the present disclosure are optionally also applicable to three-dimensional objects. User interfaces 704 and 706 are optionally one or more of the following: user interfaces of applications (e.g., messaging user interfaces and / or content browsing user interfaces), three-dimensional objects (e.g., virtual clocks, virtual balls, and / or virtual cars), or any other elements displayed by computer system 101 that are not included in the physical environment of computer system 101. In 7A to 7EIn the method 800, user interface 704 is a content playback user interface (e.g., a user interface in which computer system 101 displays video and / or via which audio content is presented), and user interface 706 is a system user interface (e.g., a user interface that includes one or more controls that can be selected to control one or more functionalities of computer system 101 and / or a system virtual environment displayed within three-dimensional environment 702). One or more details of user interface 704 and user interface 706 are provided with reference to method 800.

[0120] exist Fig. 7A In some embodiments, the computer system 101 is also presenting visual environmental effects to the three-dimensional environment 702, such as dimming, desaturation, or otherwise reducing the visual prominence of one or more portions of the physical environment visible via the display generation component 120. In some embodiments, the computer system 101 additionally or alternatively presents audio environmental effects that at least partially obscure one or more portions of physical audio and / or virtual audio that would otherwise be audible from the physical environment.

[0121] In some embodiments, computer system 101 presents three-dimensional environment 702 in a manner that obscures or otherwise reduces the visibility of one or more portions of the physical environment surrounding computer system 101. For example, Fig. 7A The user interface 704 in the embodiment occludes and / or obscures a portion of a rear wall and a floor in the physical environment, and Fig. 7A The user interface 706 in occludes and / or obscures a portion of the back wall and floor in the physical environment. As another example, in Fig. 7A , the audio ambient effects and / or visual ambient effects presented by the computer system 101 are also obscuring and / or blocking a portion of the sofa 724 and / or the audio components of the physical environment.

[0122] In some embodiments, and as discussed in more detail below, computer system 101 reduces the visual prominence of one or more virtual portions of three-dimensional environment 702 based on one or more characteristics of objects in the physical environment to allow those physical objects to become more visible in three-dimensional environment 702. In some embodiments, computer system 101 performs the above operations for non-system user interfaces (e.g., user interface 704), but does not perform the above operations for system user interfaces (e.g., user interface 706), as will be discussed in more detail below.

[0123] exist Fig. 7A In FIG. 1 , person 708 and person 710 (two persons other than the user of computer system 101 ) are present in the physical environment surrounding computer system 101 . Fig. 7AAs shown, person 708 and person 710 are located outside of the field of view of three-dimensional environment 702 viewable via display generation component 120 and are not visible in three-dimensional environment 702 .

[0124] from FIG. 7A to FIG. 7B , person 708 and person 710 have moved within the physical environment surrounding computer system 101 and are now partially located behind user interfaces 704 and 706, respectively. Figure 7B As shown, within three-dimensional environment 702, user interface 704 at least partially obscures person 708, and user interface 706 at least partially obscures person 710. This obscuration is optionally due to person 708 and person 710 not exhibiting one or more characteristics corresponding to computer system 101 designating person 708 and person 710 as participating in a significant social interaction with a user of computer system 101, as will be described in greater detail later. Additionally, and because person 708 and person 710 are not designated as participating in a significant social interaction, and as Figure 7B As shown, the audio and / or audio effects (e.g., audio corresponding to speech from person 708 or person 710) of person 708 and person 710 are blocked. In addition, it should be noted that because person 708 and person 710 have been determined not to exhibit characteristics of significant social interaction, the audio environment effects and / or visual environment effects of user interfaces 704 and 706 are not shown. Figure 7B In and Fig. 7A Same as Figure 7B As shown, portions of person 708 not obscured by user interface 704 (e.g., the feet of person 708) and portions of person 710 not obscured by user interface 706 (e.g., the feet of person 710) are visible in three-dimensional environment 702 to which visual environment effects (e.g., dimming) are applied.

[0125] from FIG. 7B to FIG. 7C , person 708 and person 710 exhibit one or more characteristics corresponding to computer system 101 designating person 708 and / or person 710 as engaging in a significant social interaction with a user of computer system 101. Reference method 800 provides details regarding various criteria used by computer system 101 to designate such significant social interactions. For example, in Figure 7C , person 708 and person 710 have turned to and / or are talking to the user of computer system 101. Therefore, person 708 is eligible to penetrate user interface 704, such as Figure 7C However, person 710 is not eligible to penetrate user interface 706 because user interface 706 is a system user interface. Therefore, and as Figure 7C As shown and discussed in more detail below, person 708 penetrates user interface 704 and person 710 does not penetrate user interface 706 .

[0126] For example, and if Figure 7C As shown, the action of person 708 turning around and talking to the user of computer system 101 is recognized by computer system 101 as a significant social interaction, and computer system 101 takes actions to increase the visibility and / or audio effects of person 708. For example, and as Figure 7C As shown, computer system 101 reduces (e.g., by 5%, 10%, 15%, or 25%) the visual prominence of a portion of three-dimensional environment 702 that includes and / or surrounds person 708 to allow person 708 to be more visible (e.g., by 5%, 10%, 15%, or 25%) in three-dimensional environment 702. The reduction in visual prominence optionally includes reducing the magnitude or amount of opacity of environmental effects and / or user interface 704, reducing the brightness or saturation of environmental effects and / or user interface 704, and / or reducing the number or density of particles in particle effects. In some embodiments, environmental effects are optionally reduced in an area and / or volume that includes and / or surrounds person 708. For example, in some embodiments, environmental effects are reduced in an area and / or volume between person 708 and viewpoint 726 (e.g., a projection of person 708 toward viewpoint 726). In this manner, the user's view of person 708 (eg, including the portion of three-dimensional environment 702 between viewpoint 726 and person 708 ) is less obstructed than before the penetration.

[0127] In addition, and if Figure 7C As shown, computer system 101 penetrates user interface 704, such that person 708 is visible through user interface 704. It should be noted that although the physical environment is optionally shown through the penetration of user interface 704, person 708 obscures the physical environment directly behind person 708. In addition, and as shown in FIG. Figure 7C As shown, the portion of the user interface 704 that is not penetrated retains its previous visual prominence, so that the user can still view the portion of the user interface 704. In addition, and as shown Figure 7C As shown, portions of person 708 that are not obscured by user interface 704 (e.g., the feet of person 708) are easier to see in the three-dimensional environment because the visual prominence in the area surrounding person 708 is reduced. Figure 7C As shown, portions of person 710 that are not obscured by user interface 706 (e.g., the feet of person 710) are visible in three-dimensional environment 702 to which visual environment effects (e.g., dimming) are applied. Figure 7C As shown, the visual prominence of areas and / or volumes outside of the projection of person 708 (e.g., three-dimensional environment 702 including the non-penetrating portion of user interface 704) is not reduced. Figure 7CAs shown, computer system 101 reduces audio effects of three-dimensional environment 702 to allow audio to be heard and / or generated from person 708. For example, the audio effects from person 708 are optionally person 708 talking to a user of computer system 101 and / or playing audio from a device (e.g., a mobile phone, a tablet device, and / or a stereo system).

[0128] like Figure 7C As shown, the action of person 710 turning around and talking to the user of computer system 101 is recognized by computer system 101 as a significant social interaction. However, computer system 101 does not take action to increase the visibility of person 710 and / or the audio effects from the person because user interface 706 is a system user interface. Therefore, computer system 101 maintains the visual prominence of the portion of three-dimensional environment 702 surrounding person 710 and / or corresponding to the projection of person 710 toward viewpoint 726 (e.g., including user interface 706). For example, in some embodiments, environmental effects are maintained in the area and / or volume between person 710 and viewpoint 726. In addition, and as shown in FIG. Figure 7C As shown, the ambient effects are maintained in the area and / or volume surrounding person 710. Additionally, the audio effects and / or ambient effects for user interface 706 are maintained, and the audio effects for person 710 do not penetrate.

[0129] In some embodiments, a user of computer system 101 is able to provide variable input (e.g., in the form of a slider input) for controlling when and / or the extent to which penetration occurs. For example, the variable input optionally controls the amount of interaction with persons 708 and / or 710 that needs to occur to be classified as a significant social interaction. Additionally or alternatively, the variable input optionally controls the amount of audio penetration and / or visual penetration of three-dimensional environment 702 that occurs once a significant social interaction is determined. Reference method 800 provides details regarding various criteria used by computer system 101 to specify such significant social interactions. Figure 7C In the example, the user of computer system 101 has optionally set the slider to a specific penetration amount and / or a specific penetration threshold. FIG. 7C to FIG. 7D , the user of computer system 101 has optionally set the above slider to a higher penetration amount and / or a lower penetration threshold. Fig.7D As shown, because the action of person 708 turning around and talking to the user of computer system 101 is recognized by computer system 101 as a significant social interaction, computer system 101 takes actions to increase the visibility of person 708 and / or the audio effects from the person according to the amount of penetration set in the above slider. Figure 7CAs shown, computer system 101 reduces (e.g., by 25%, 50%, 75%, or 90%) the visual prominence of a portion of three-dimensional environment 702 that includes and / or surrounds person 708 to allow person 708 to be more visible (e.g., by 25%, 50%, 75%, or 90%) in three-dimensional environment 702. The reduction in visual prominence optionally includes reducing the magnitude or amount of opacity of environmental effects and / or user interface 704, reducing the brightness or saturation of environmental effects and / or user interface 704, and / or reducing the number or density of particles in particle effects. In some embodiments, environmental effects are optionally reduced (e.g., by 25%, 50%, 75%, or 90%) in an area and / or volume that includes and / or surrounds person 708. For example, in some embodiments, environmental effects are reduced (e.g., by 25%, 50%, 75%, or 90%) in an area and / or volume between person 708 and viewpoint 726 (e.g., a projection of the person toward viewpoint 726). In this manner, the user's view of person 708 (eg, including the portion of three-dimensional environment 702 between viewpoint 726 and person 708 ) is less obstructed than before the penetration.

[0130] In addition, and if Fig.7D As shown, computer system 101 penetrates user interface 704, such that person 708 is visible through user interface 704. It should be noted that although the physical environment is optionally shown through the penetration of user interface 704, person 708 obscures the physical environment directly behind person 708. In addition, and as shown in FIG. Fig.7D As shown, the portion of the user interface 704 that is not penetrated retains its previous visual prominence, so that the user can still view the portion of the user interface 704. In addition, and as shown Fig.7D As shown, portions of person 708 that are not obscured by user interface 704 (e.g., the feet of person 708) are more visible in three-dimensional environment 702 because the visual prominence of user interface 704 and / or the environmental effects in the area surrounding person 708 are reduced (e.g., by 25%, 50%, 75%, or 90%). In addition, and as shown Fig.7D As shown, portions of person 710 that are not obscured by user interface 706 (e.g., the feet of person 710) are visible in three-dimensional environment 702 to which a visual environment effect (e.g., dimming) is applied. Fig.7D As shown, the visual prominence of areas and / or volumes outside of the projection of person 708 (e.g., three-dimensional environment 702 including the non-penetrating portion of user interface 704) is not reduced. Fig.7DAs shown, computer system 101 further reduces the audio effects of three-dimensional environment 702 to allow additional (e.g., 25%, 50%, 75%, or 90%) audio from person 708 to be heard and / or generated. For example, the audio effects from person 708 are optionally person 708 talking to a user of computer system 101 and / or playing audio from a device (e.g., a mobile phone, a tablet device, and / or a stereo system).

[0131] like Fig.7D As shown, the action of person 710 turning around and talking to the user of computer system 101 is still recognized by computer system 101 as a significant social interaction. However, computer system 101 still does not take action to increase the visibility of person 710 and / or the audio effects from the person because user interface 706 is a system user interface. Therefore, computer system 101 maintains the visual prominence of the portion of three-dimensional environment 702 surrounding person 710. For example, in some embodiments, the environmental effects are maintained in the area and / or volume between person 710 and viewpoint 726. In addition, and as shown in FIG. Fig.7D As shown, the ambient effects are maintained in the area and / or volume surrounding person 710. Additionally, the audio effects and / or ambient effects for user interface 706 are maintained, and the audio for person 710 does not penetrate.

[0132] In some embodiments, the amount of penetration optionally depends on the position of the object relative to the content (e.g., user interface) being penetrated. FIG. 7D to FIG. 7E , person 708 has moved closer to the edge of user interface 704. In some embodiments, computer system 101 optionally fully penetrates an object whose action is identified as a significant social interaction and is positioned toward an edge of the content (e.g., user interface 704), such as within a threshold distance (e.g., 0.1 m, 0.5 m, 1 m, 3 m, 5 m, 10 m, or 20 m) of the edge of the content. In some embodiments, and as Fig. 7E As shown, as the physical object gets closer to the edge of the user interface (e.g., user interface 704), the computer system 101 increases the visibility of the physical object to make it easier to see in the three-dimensional environment 702. For example, and as Fig. 7EAs shown, the computer system 101 reduces (e.g., by 25%, 50%, 75%, or 100%) the visual prominence of the portion of the three-dimensional environment 702 that includes and / or surrounds the person 708 to allow the person 708 to be visible in the three-dimensional environment 702 (e.g., by 25%, 50%, 75%, or 100%). The reduction in visual prominence optionally includes removing environmental effects and / or opacity of the user interface 704, removing brightness or saturation of environmental effects and / or user interface 704, and / or removing the number or density of particles in particle effects. In some embodiments, environmental effects are optionally removed in an area and / or volume that includes and / or surrounds the person 708. For example, in some embodiments, environmental effects are removed in an area and / or volume between the person 708 and the viewpoint 726 (e.g., the projection of the person toward the viewpoint 726). In this way, the user's view of the person 708 (e.g., the portion of the three-dimensional environment 702 that includes the viewpoint 726 and the person 708) is less obstructed than before penetration.

[0133] In addition, and if Fig. 7E As shown, computer system 101 penetrates user interface 704, such that person 708 is completely visible through user interface 704. It should be noted that although the physical environment is optionally shown through the penetration of user interface 704, person 708 obscures the physical environment directly behind person 708. In addition, and as shown in FIG. Fig. 7E As shown, the portion of the user interface 704 that is not penetrated retains its previous visual prominence, so that the user can still view the portion of the user interface 704. In addition, and as shown Fig. 7E As shown, computer system 101 reduces (eg, by 50%, 75%, 90%, or 100%) the audio effects of three-dimensional environment 702 to allow audio from person 708 to be heard.

[0134] FIG. 8A to FIG. 8I 8 is a flowchart illustrating an exemplary method 800 for reducing the visual prominence of virtual content relative to a three-dimensional environment according to some embodiments. In some embodiments, the method 800 is performed on a computer system (e.g., Figure 1 The computer system 101 in the embodiment of the present invention is executed at a computer system 101 in the embodiment of the present invention, such as a tablet device, a smart phone, a wearable computer, or a head mounted device, the computer system including a display generation component (e.g., Figure 1 , Figure 3 and Figure 4100 ) and one or more cameras (e.g., cameras pointing downward toward the user's hands (e.g., color sensors, infrared sensors, and other depth sensing cameras) or cameras pointing forward from the user's head). In some embodiments, method 800 is performed by storing in a non-transitory computer-readable storage medium and by one or more processors of a computer system, such as one or more processors 202 of computer system 101 (e.g., Figure 1 Some operations in method 800 are optionally combined, and / or the order of some operations is optionally changed.

[0135] In some embodiments, method 800 is performed at a computer system (e.g., 101) that communicates with a display generation component (e.g., 120) and one or more input devices (e.g., 314). For example, a mobile device (e.g., a tablet device, a smart phone, a media player, or a wearable device) or a computer or other electronic device. In some embodiments, the display generation component is a display (optionally a touch screen display) integrated with the electronic device, an external display such as a monitor, a projector, a television, or a hardware component (optionally integrated or external) for projecting a user interface or making the user interface visible to one or more users. In some embodiments, the one or more input devices include the ability to receive user input (e.g., capture user input, detect user input, etc.) and send information associated with the user input to the computer system. Examples of input devices include a touch screen, a mouse (e.g., external), a trackpad (optionally integrated or external), a touchpad (optionally integrated or external), a remote control device (e.g., external), another mobile device (e.g., separate from the computer system), a handheld device (e.g., external), a controller (e.g., external), a camera, a depth sensor, an eye tracking device, and / or a motion sensor (e.g., a hand tracking device, a hand motion sensor), etc. In some embodiments, the computer system communicates with a hand tracking device (e.g., one or more cameras, depth sensors, proximity sensors, touch sensors (e.g., touch screen, trackpad)). In some embodiments, the hand tracking device is a wearable device, such as a smart glove. In some embodiments, the hand tracking device is a handheld input device, such as a remote control or a stylus.

[0136] In some embodiments, the three-dimensional environment is visible via a display generation component (e.g., generating, displaying, or otherwise enabling the three-dimensional environment to be viewed by a computer system (e.g., an extended reality (XR) environment such as a virtual reality (VR) environment, a mixed reality (MR) environment, or an augmented reality (AR) environment, etc.)), such as Fig. 7AIn some embodiments, the three-dimensional environment includes a first virtual content (e.g., the first virtual content is a user interface of an application on the computer system (such as a content (e.g., movie, television program, and / or music) playback application), and the user interface is displaying or otherwise presenting the content; in some embodiments, the first virtual content is a first portion of the physical environment (such as a Fig. 7A A two-dimensional model or a three-dimensional model of an object (such as a tent, a building, or a car) in the user interface 704 and / or the user interface 706.

[0137] In some embodiments, a first physical object (e.g., a person other than a user, an animal such as a pet, or any other physical object capable of moving) located at a first location in a first portion of a physical environment is detected via one or more input devices (802a), e.g., Fig. 7A 708 and / or 710 in a physical environment in the computer system. In some embodiments, the three-dimensional environment includes virtual content (e.g., content that is not in the physical environment) displayed by the computer system and one or more parts of the physical environment of the display generation component. In some embodiments, one or more parts of the physical environment are displayed in the three-dimensional environment via the display generation component (e.g., virtual or video pass-through). In some embodiments, one or more parts of the physical environment are views of one or more parts of the physical environment of the computer system visible through a transparent part of the display generation component (e.g., real or real pass-through). In some embodiments, the first virtual content is displayed in a manner that obscures or otherwise reduces the visibility of the first part of the physical environment. For example, the first virtual content is optionally closer to the user's viewpoint from which the three-dimensional environment is visible via the display generation component than the first part of the physical environment, and is between the first part and the viewpoint. In some embodiments, when the first virtual content is obscuring the first part of the physical environment, the computer system detects a first physical object in the first part of the physical environment, and the first virtual content also obscures, obscures or otherwise reduces the visibility of the first physical object. In some embodiments, before the first physical object is detected in the first portion of the physical environment, the first physical object is not in the first portion of the physical environment (e.g., in the second portion of the physical environment and subsequently moves to the first portion of the physical environment). In some embodiments, when the first physical object is in the second portion of the physical environment, visibility of the first physical object is not obscured by the virtual content. In some embodiments, when the first physical object is in the second portion of the physical environment, visibility of the first physical object is obscured by virtual content (e.g., the first virtual content).

[0138] In some embodiments, in response to detecting a first physical object (e.g., Figure 7C 708 within the physical environment of the first virtual content) (802b), based on determining that a first physical object at a first location (e.g., 708) satisfies one or more first criteria (e.g., satisfaction of the one or more first criteria corresponds to a significant social interaction, and the one or more criteria are discussed in more detail below, such as with reference to steps 810 to 818) and a current value of a first user-defined setting is set to allow penetration for the physical object that satisfies the one or more first criteria (e.g., a user is able to adjust at least one setting that controls whether the computer system adjusts display of the first virtual content based on the presence of an object whose visibility is being obscured by the first virtual content and / or adjusts the degree to which the first virtual content is displayed, as will be described in more detail below), reducing the visual prominence of the first virtual content relative to the three-dimensional environment (e.g., 702) (802c), such as reducing the visual prominence of the user interface 704 relative to the three-dimensional environment 702, such as Figure 7C As shown (e.g., including increasing the visibility of the first portion of the physical environment through the first virtual content). In some embodiments, the computer system completely stops the display of the first virtual content, so that the first physical object is completely visible through the first virtual content via the display generation component. In some embodiments, the computer system reduces or changes the opacity, brightness, color saturation and / or other visual characteristics of the first virtual content to incompletely reduce the visual prominence of the first virtual content relative to the three-dimensional environment, and increases the visibility of the first physical object through the first virtual content (e.g., from 0% visible to 20%, 40%, 60% or 80% visible, or from 5% visible to 20%, 40%, 60% or 80% visible) through the first virtual content. In some embodiments, the amount by which the computer system reduces the visual prominence of the first virtual content varies according to the current value of the first user-defined setting. In some embodiments, the visibility of the first physical object and / or the display of the first virtual content before the computer system reduces the visual prominence of the first virtual content relative to the three-dimensional environment is controlled according to one or more of the steps of method 1000. In some embodiments, the visual prominence of one or more portions of the first virtual content is reduced while maintaining the visual prominence of one or more other portions of the first virtual content, as will be described in more detail later. In some embodiments, the visual prominence of the entire first virtual content is reduced.

[0139] In some embodiments, based on determining that a first physical object (e.g., 708) at a first location satisfies one or more first criteria and a current value of a first user-defined setting is set to prevent penetration of a physical object that satisfies the one or more first criteria, visual prominence of the first virtual content relative to the three-dimensional environment (e.g., 702) is maintained (e.g., without increasing visibility of the first portion of the physical environment through the first virtual content) (802d). For example, if a user of computer system 101 sets the current value of the first user-defined setting to prevent penetration of a physical object that satisfies the one or more first criteria, and person 708 satisfies the one or more first criteria, visual prominence of the first virtual content relative to the three-dimensional environment 702 is maintained (e.g., with respect to the first virtual content). Figure 7C In some embodiments, when the computer system maintains the visual prominence of the first virtual content relative to the three-dimensional environment, the visibility (or lack of visibility) of the first physical object in the three-dimensional environment does not change. In some embodiments, the user can set a control or setting to prevent the penetration of the physical object. Therefore, even if the physical object meets one or more first criteria, the computer system maintains the visual prominence of the first virtual content relative to the three-dimensional environment. Selectively reducing the visual prominence of the virtual content allows the user to interact with the physical environment when needed, while otherwise maintaining the display of the virtual content and reducing distractions to the user, which reduces input errors and makes interaction with the computer system more efficient, thereby reducing power usage and extending battery life of battery-powered devices.

[0140] In some embodiments, in response to detecting a first physical object (e.g., 708) (804a) in a first portion of a physical environment, a first physical object (e.g., 708) at a first location is determined to not satisfy one or more first criteria (e.g., a characteristic of the first physical object or an action of the first physical object does not amount to a significant social interaction). A significant social interaction optionally refers to an interaction of the first physical object with a user of the computer system that the user would typically like to hear / see. For example, if the first physical object is the user's spouse who asks the user what the user wants for dinner, this is optionally an interaction that the user would like to see and / or hear, and such characteristics and / or actions of the first physical object optionally satisfy one or more first criteria. Alternatively, if the first physical object is the user's dog who is walking around the physical environment and playing with toys, this is optionally an interaction that the user would not want to see and / or hear, and such characteristics and / or actions of the first physical object optionally do not satisfy one or more first criteria. For example, in some embodiments, one or more first criteria include criteria that are not satisfied when the user's spouse is simply walking around the physical environment. Additionally, in some embodiments, the one or more first criteria include criteria that are not satisfied when the user's spouse is talking to another person (other than the user of the computer system) or an animal in the physical environment. Conversely, in some embodiments, the one or more first criteria include criteria that are satisfied when the user's spouse turns and talks directly to the user), maintaining visual prominence (804b) of the first virtual content (e.g., 704) relative to the three-dimensional environment (e.g., 702). For example, Figure 7B As shown, person 708 does not meet the one or more first criteria, and visual prominence of user interface 704 is maintained relative to three-dimensional environment 702. In some embodiments, and when the first physical object fails to meet the one or more first criteria, the visibility (or lack of visibility) of the first physical object in the three-dimensional environment does not change when the computer system maintains visual prominence of the first virtual content relative to the three-dimensional environment. Maintaining the visual prominence of the first virtual content when the first physical object does not meet the one or more first criteria avoids interruption of the display of the first virtual content for physical objects that do not warrant penetration, which reduces the need for additional input to return to the display of the virtual content, thereby reducing power usage and extending battery life of battery-powered devices.

[0141] In some embodiments, when the current value of the first user-defined setting corresponds to a Do Not Disturb mode of the computer system, the current value of the first user-defined setting is set to prevent penetration of physical objects that meet one or more first criteria (e.g., 101). In some embodiments, a user of the computer system is able to set a control or setting to Do Not Disturb mode to prevent penetration of physical objects. In Do Not Disturb mode, the computer system maintains visual prominence of the first virtual content relative to the three-dimensional environment even if the physical object meets one or more first criteria. In some embodiments, during Do Not Disturb mode, one or more notifications are suppressed in response to detecting the generation of one or more notification events (806). In some embodiments, physical objects are also suppressed from penetrating virtual content during Do Not Disturb mode. For example, if a user of the computer system 101 sets the current value of the first user-defined setting to Do Not Disturb mode and the person 710 meets one or more first criteria, the person 710 will not penetrate, such as in Figure 7C In some embodiments, the Do Not Disturb mode also suppresses notifications of received messages, notifications, received calls, or other events that would cause the computer system to present a notification, whether audio, visual, and / or tactile. Controlling punch-through in conjunction with the Do Not Disturb mode allows the user to choose to avoid interruptions when viewing the first virtual content, and reduces the number of inputs required to prevent punch-through, which reduces power usage and extends battery life for battery-powered devices.

[0142] In some embodiments, in response to detecting a first physical object (e.g., 708) in a first portion of the physical environment (808a), based on determining that a current value of a first user-defined setting corresponds to a dynamic setting for the first user-defined setting and satisfies one or more first criteria, and the satisfaction of the one or more first criteria is based on one or more characteristics of the first physical object (e.g., 708) (e.g., where the first physical object is a person or an animal, based on whether and / or how the first physical object interacts with a user of the computer system, such as in a manner equivalent to a significant social interaction, one or more first criteria are optionally satisfied, such as discussed in more detail below, such as with reference to steps 810 to 818), reducing the visual prominence of the first virtual content (e.g., 704) relative to the three-dimensional environment (e.g., 702) (808b), such as Figure 7C In some embodiments, the first user-defined setting is set to a dynamic setting. In such a setting, determining whether penetration occurs for a physical object is optionally based on a determined property of the physical object, as will be described in more detail below.

[0143] In some embodiments, based on determining that the current value of the first user-defined setting corresponds to a dynamic setting for the first user-defined setting and does not satisfy one or more first criteria (e.g., because one or more of the characteristics of the first physical object described below do not satisfy the one or more first criteria), the visual prominence of the first virtual content (e.g., 704) relative to the three-dimensional environment (e.g., 702) is maintained (e.g., the first physical object is not allowed to penetrate the first virtual content) (808c). For example, if the user of computer system 101 sets the first user-defined setting to a dynamic setting and does not satisfy one or more criteria, the visual prominence of user interface 704 relative to three-dimensional environment 702 is maintained, such as Figure 7B Using dynamic settings to control penetration allows the computer system to appropriately determine whether an object is penetrating while avoiding over- or under-penetration, which reduces power usage and extends battery life for battery-powered devices.

[0144] In some embodiments, the first physical object is a person other than the user of the computer system (e.g., 101) (e.g., the user's spouse, partner, child, friend, or just another person in the environment), and the one or more first criteria include a criterion (810) that is met when the person's gaze is directed to the user of the computer system (e.g., 101). For example, if the person 708 is looking at the user of the computer system 101, the criterion is met. In some embodiments, if the person is looking at or directly looking at the user of the computer system, the action meets the criterion and corresponds to a significant social interaction. In some embodiments, before meeting the criterion, the gaze must be detected within a predetermined time period (e.g., 0.3 seconds, 0.5 seconds, 1 second, 3 seconds, 5 seconds, 10 seconds, 20 seconds, or 60 seconds). The time period is optionally set by the user or determined by the computer system. In some embodiments, if the person's gaze is not directed to the user of the computer system, the criterion is not met. Allowing penetration based on the gaze of the user of the computer system directed to the computer system reduces the number of inputs required for the user to interact with the individual, which reduces input errors and makes the interaction with the computer system more efficient, thereby reducing power use and extending the battery life of battery-driven devices.

[0145] In some embodiments, the first physical object is a person other than a user of the computer system (e.g., 101), and the one or more first criteria include a criterion that is met when the person is oriented toward the user of the computer system (e.g., 101) (812) (or when the person has changed the orientation of a part of his body so that it is oriented toward the user of the computer system). For example, if the person 708 is oriented toward the user of the computer system 101, the criterion is met. In some embodiments, if the person turns toward the user of the computer system, the action meets the criterion and corresponds to a significant social interaction. In some embodiments, this turning toward the user is a partial or full turn toward the user of the computer system (e.g., turning toward the user so that the person's head, torso, shoulders and / or other parts are within a threshold range of an angle directly toward the user orientation (e.g., within 1 degree, 3 degrees, 5 degrees, 15 degrees, 30 degrees, 45 degrees, 60 degrees, 90 degrees, or 180 degrees)). In some embodiments, this turning of the user is required to last for a set time period (e.g., 0.3 seconds, 0.5 seconds, 1 second, 3 seconds, 5 seconds, 10 seconds, 20 seconds, or 60 seconds) before the criterion is met. The time period is optionally set by the user or determined by the computer system. In some embodiments, if the person is walking beside the user and / or is not turning toward the user, the criteria is not met. Allowing penetration based on the orientation of the person relative to the user of the computer system reduces the number of inputs required by the user to interact with the individual, which reduces input errors and makes interaction with the computer system more efficient, thereby reducing power usage and extending battery life of battery-powered devices.

[0146] In some embodiments, the first physical object is a person other than a user of a computer system (e.g., 101), and the one or more first criteria include a criterion (814) that is satisfied when the person is talking to the user of the computer system (e.g., 101). For example, if the person 708 is talking to the user of the computer system 101, the criterion is satisfied. In some embodiments, if the person is talking to the user (directly), the action satisfies the criterion and corresponds to a significant social interaction. In some embodiments, if the person is talking to another person in the room but not talking to the user of the computer system (directly), this will not satisfy the criterion and will not correspond to a significant social interaction. However, if the person first talks to another person in the room (which optionally does not satisfy the criterion), and then starts talking to the user of the computer system (directly), the criterion will optionally become satisfied. In some embodiments, if the person does not talk to the user, the criterion is not satisfied. In some embodiments, the computer system detects that the person is talking to the user of the computer system based on whether the person is oriented toward the user, whether the person's mouth is open and / or moving, and / or whether the microphone of the computer system detects words spoken by the person. Allowing penetration based on human conversation with a user of a computer system reduces the amount of input required by the user to interact with the individual, which reduces input errors and makes interaction with the computer system more efficient, thereby reducing power usage and extending battery life of battery-powered devices.

[0147] In some embodiments, the first physical object is a person other than a user of the computer system (e.g., 101), and one or more criteria include a criterion (816) that is met when the person is a known person as specified by the user of the computer system (e.g., 101). For example, if the person 708 is a known person specified by the user of the computer system 101, the criterion is met. In some embodiments, if the person is identified as known to the user, the identification meets the criterion and corresponds to a significant social interaction. For example, the computer system optionally identifies the person as a partner or child of the user. The identification is optionally performed by the computer system in various ways. For example, the identification is optionally performed by a computer system, etc. based on facial recognition. In some embodiments, the person known to the user is set by the user (e.g., the user registers the person in the facial recognition system of the computer system) or determined by the system. In some embodiments, if the person is not a person known to the user and / or the computer system, the criterion is not met. Allowing penetration of the identification of the person based on the computer system reduces the number of inputs required for the user to interact with the individual, which reduces input errors and makes the interaction with the computer system more efficient, thereby reducing power usage and extending the battery life of battery-driven devices.

[0148] In some embodiments, the first physical object is a person other than a user of a computer system (e.g., 101), and the one or more first criteria include a criterion (818) that is met when the person is within a threshold distance of a user of the computer system (e.g., 101). For example, if the person 708 is within a threshold distance of a user of the computer system 101, the criterion is met. In some embodiments, if the person is within a threshold distance of the user (e.g., 0.05 meters, 0.1 meters, 0.25 meters, 0.5 meters, 0.8 meters, 1 meters, 2 meters, 5 meters, 10 meters, or 20 meters), this meets the criterion and corresponds to a significant social interaction. In some embodiments, the threshold is optionally achieved over time as the person walks around. For example, if the person enters the room and is not within the threshold distance of the user, the criterion will not be met until the person walks closer to the user and falls within the threshold distance of the user. In addition, if the person approaches the user and falls within the threshold distance (which will optionally meet the criterion), and then moves away from the user and falls outside the threshold distance, the criterion will optionally become unmet subsequently. Allowing penetration based on the distance of a person from a user of a computer system reduces the amount of input required for user-to-person interaction and also avoids collisions between users, which reduces input errors and makes interaction with the computer system more efficient, thereby reducing power usage and extending battery life for battery-powered devices.

[0149] In some embodiments, the three-dimensional environment (e.g., 702) includes first virtual content (e.g., 704) and an environmental effect (e.g., Fig. 7A and Fig. 7E The environmental effects shown (e.g., dimming or brightening effects of the three-dimensional environment, virtual lighting effects on one or more portions of the three-dimensional environment, and / or virtual particle effects in one or more portions of the three-dimensional environment) are displayed (820a). In some embodiments, in response to detecting a first physical object (e.g., 708) in a first portion of the physical environment (820b), the visual prominence of the environmental effects in the three-dimensional environment (e.g., 702) is reduced based on determining that the first physical object (e.g., 708) at the first position satisfies one or more first criteria and the current value of the first user-defined setting is set to allow penetration of the physical object that satisfies the one or more first criteria (820c). For example, if person 708 satisfies one or more first criteria and the current value of the first user-defined setting is set to allow penetration of the physical object that satisfies the one or more first criteria, the visual prominence of the environmental effects in the three-dimensional environment 702 is reduced, as shown. Figure 7CAs shown. In some embodiments, and when the first physical object satisfies one or more first criteria, as part of the physical object penetrating the first virtual content and / or the three-dimensional environment, visibility of environmental effects in the three-dimensional environment is reduced. In some embodiments, reducing the visual prominence of environmental effects includes reducing the magnitude or amount of environmental effects, reducing the brightness or saturation of environmental effects, and / or reducing the number or density of particles in particle effects. Reducing the visual prominence of environmental effects in the three-dimensional environment facilitates visibility of physical objects in penetration, which reduces the need for additional input to display visibility of physical objects, thereby reducing power usage and extending battery life of battery-powered devices.

[0150] In some embodiments, the environmental effect is displayed in a first portion of the three-dimensional environment (e.g., 702) that is within a threshold distance (e.g., 0.05 meters, 0.1 meters, 1 meter, 3 meters, 5 meters, or 10 meters) of a projection of a first physical object (e.g., 708) relative to a viewpoint of a user (e.g., 726) of the computer system (e.g., 101), and the environmental effect is displayed in a second portion of the three-dimensional environment (e.g., 702) that is outside the threshold distance (822a) of the projection of the first physical object (e.g., 708) relative to the viewpoint of the user (e.g., 726), such as Figure 7BEnvironmental effects shown. In some embodiments, environmental effects are displayed in multiple (or all) parts of the three-dimensional environment before the first physical object is detected in the first part of the physical environment. For example, when a user of the computer system is viewing the three-dimensional environment from a viewpoint, environmental effects are applied to both the area surrounding the first physical object and the area outside the first physical object. In some embodiments, the projection of the first physical object relative to the user's viewpoint corresponds to one or more parts of the three-dimensional environment that exist between the first physical object and the user's viewpoint (e.g., a logical extrusion of the first physical object from the viewpoint to the first physical object along the user's line of sight), and the threshold distance is measured perpendicular to such line of sight / viewpoint and extending from the outer boundary of such projection. In some embodiments, in response to detecting a first physical object (e.g., 708) in a first portion of the physical environment (822b), based on determining that the first physical object (e.g., 708) at the first location satisfies one or more first criteria and the current value of the first user-defined setting is set to allow penetration for physical objects that satisfy the one or more first criteria, the visual prominence of the first virtual content is reduced relative to the three-dimensional environment (e.g., 702) and the visual prominence of environmental effects in the first portion of the three-dimensional environment is reduced while maintaining the visual prominence of environmental effects in the second portion of the three-dimensional environment (822c). For example, if person 708 satisfies one or more first criteria, the visual prominence of environmental effects within a threshold distance of the projection of person 708 is reduced while maintaining the visual prominence of environmental effects outside the threshold distance of the projection of person 708, such as Figure 7C As shown. In some embodiments, and in response to the first physical object satisfying one or more first criteria, the visual prominence of environmental effects within a threshold distance of the projection of the first physical object is reduced, while maintaining the visual prominence of environmental effects outside the threshold distance of the projection of the first physical object. In this way, the area surrounding the projection of the first physical object is penetrated without interrupting the display of other areas of the three-dimensional environment. Penetrating only the area surrounding the projection of the first physical object allows the user to interact with the physical object while still maintaining the display of environmental effects outside the projection of the first physical object, which reduces the need for additional inputs to display virtual content, thereby reducing power usage and extending battery life of battery-powered devices.

[0151] In some embodiments, a first portion of the first virtual content is displayed in a first portion of the three-dimensional environment, the first portion being within a threshold distance of a projection of a first physical object (e.g., 708) relative to a viewpoint of a user (e.g., 726) of the computer system, and a second portion of the first virtual content is displayed in a second portion of the three-dimensional environment, the second portion being outside a threshold distance of a projection of the first physical object (e.g., 708) relative to a viewpoint of the user (e.g., 726) (824a) (e.g., as described above). In some embodiments, in response to detecting the first physical object (e.g., 708) in the first portion of the physical environment (824b), based on determining that the first physical object (e.g., 708) at the first position satisfies one or more first criteria and the current value of the first user-defined setting is set to allow penetration for physical objects that satisfy the one or more first criteria, the visual prominence of the first portion of the first virtual content in the first portion of the three-dimensional environment is reduced relative to the three-dimensional environment (e.g., 702), while maintaining the visual prominence of the second portion of the first virtual content in the second portion of the three-dimensional environment (824c). For example, if person 708 satisfies one or more first criteria, the visual prominence of user interface 704 within a threshold distance of the projection of person 708 is reduced while maintaining the visual prominence of user interface 704 outside the threshold distance of the projection of person 708, such as Figure 7C As shown. In some embodiments, and in response to the first physical object satisfying one or more first criteria, the visual prominence of the first virtual content within a threshold distance of the projection of the first physical object is reduced, while maintaining the visual prominence of the first virtual content outside the threshold distance of the projection of the first physical object. In this way, the area of ​​the first virtual content surrounding the projection of the first physical object is penetrated without interrupting the display of other areas of the first virtual content. Penetrating only the area of ​​the first virtual content surrounding the projection of the first physical object allows the user to interact with the physical object while still maintaining the display of the first virtual content outside the projection of the first physical object, which reduces the need for additional input to display the first virtual content, thereby reducing power usage and extending the battery life of battery-powered devices.

[0152] In some embodiments, the three-dimensional environment (e.g., 702) further includes second virtual content, wherein the first physical object (e.g., 708) is located between the first virtual content (e.g., 704) and the second virtual content relative to a viewpoint of a user (e.g., 726) of the computer system (e.g., 101), and the second virtual content is farther from the viewpoint of the user (e.g., 726) than the first virtual content. (826a) In some embodiments, from the viewpoint of the user, the second virtual content is displayed behind a person, and the person is displayed behind the first virtual content. In some embodiments, in response to detecting the first physical object (e.g., 708) in the first portion of the physical environment (826b), based on determining that the first physical object (e.g., 708) at the first location meets one or more first criteria and the current value of the first user-defined setting is set to allow penetration for physical objects that meet the one or more first criteria, the visual prominence of the first virtual content is reduced relative to the three-dimensional environment (e.g., 702), while maintaining the visual prominence of the second virtual content relative to the three-dimensional environment (e.g., 702) (826c). For example, if person 708 is standing between the second virtual content and user interface 704, and person 708 meets one or more first criteria, person 708 penetrates user interface 704, such as Figure 7C As shown, while maintaining the second virtual content. In some embodiments, the first physical object is a person who is optionally standing between two portions of the virtual content. In this case, and in response to determining that the person meets one or more first criteria, the person penetrates the virtual content closest to the user of the computer system while maintaining the virtual content farther away. In some embodiments, the second virtual content is system content, such as a virtual environment as described below. Maintaining the visual prominence of the second virtual content allows the user to interact with the first physical object without interrupting the interaction with the second virtual content, which reduces the need for additional input to display the second virtual content, thereby reducing power usage and extending the battery life of battery-powered devices.

[0153] In some embodiments, the three-dimensional environment (e.g., 702) further includes second virtual content, wherein the first physical object (e.g., 708) is located between the first virtual content (e.g., 704) and the second virtual content relative to a viewpoint of a user (e.g., 726) of the computer system, and the second virtual content is farther from the viewpoint of the user (e.g., 726) than the first virtual content (e.g., 704) (828a). In some embodiments, from the user's viewpoint, the second virtual content is displayed behind a person, who is displayed behind the first virtual content. In some embodiments, in response to detecting the first physical object (e.g., 708) in the first portion of the physical environment (828b), based on determining that the first physical object (e.g., 708) at the first location meets one or more first criteria and the current value of the first user-defined setting is set to allow penetration for physical objects that meet the one or more first criteria, the visual prominence of the first virtual content is reduced relative to the three-dimensional environment (e.g., 702), and the visual prominence of the second virtual content is reduced relative to the three-dimensional environment (e.g., 702) (828c). For example, if person 708 is standing in the line of sight of the user of computer system 101 and between user interface 704 and the second virtual content, and person 708 meets one or more criteria, then person 708 penetrates user interface 704, such as Figure 7C As shown, the visual prominence of the second virtual content is also reduced. In some embodiments, the first physical object is optionally a person standing in the line of sight of the user of the computer system, between the two parts of the virtual content. If the person meets the penetration criteria, the visual prominence of the two parts of the virtual content is reduced. Reducing the visual prominence of both the first virtual content and the second virtual content reduces distraction when interacting with the first physical object, which reduces the need for additional input to interact with the first physical object, thereby reducing power usage and extending the battery life of battery-powered devices.

[0154] In some embodiments, in response to detecting a first physical object (e.g., 708) in a first portion of the physical environment (830a), based on determining that a current value of a first user-defined setting is set to a first value, (in some embodiments, the first user-defined setting is adjustable via a slider that is optionally displayed in a control user interface of the computer system. For example, the slider is optionally adjustable up or down by a user to adjust one or more characteristics of the penetration, as described in more detail below) and based on determining that one or more second criteria are met (e.g., the one or more second criteria are optionally criteria for controlling whether the first physical object penetrates the first virtual content, as described herein. In some embodiments, the one or more second criteria are the same or different than the one or more first criteria), the visual prominence of the first virtual content (e.g., 704) relative to the three-dimensional environment (e.g., 702) is reduced by a first amount (830b), for example, relative to Figure 7C The three-dimensional environment 702 shown reduces the visual prominence of the user interface 704 by a first amount. In some embodiments, the first amount is based on a first value set by the user. In some embodiments, if one or more second criteria are not met, the visual prominence of the first virtual content is maintained. These and other details will be discussed in more detail below, such as with reference to steps 832 to 838.

[0155] In some embodiments, based on determining that a current value of a first user-defined setting is set to a second value that is different from the first value (e.g., the user has adjusted the first user-defined setting up or down to the second value via a slider. In some embodiments, the second value being higher than the first value corresponds to easier triggering of penetration and / or more penetration than the first value) and based on determining that one or more third criteria are met (in some embodiments, the one or more third criteria are optionally criteria for controlling whether a first physical object penetrates the first virtual content, as described herein, and optionally are the same as or different from the one or more second criteria, as described in more detail below), the visual prominence of the first virtual content relative to the three-dimensional environment (e.g., 702) is reduced by a second amount (e.g., optionally the same as or different from the first amount), for example, the visual prominence of the user interface 704 relative to the first virtual content. Fig.7D The three-dimensional environment 702 shown is reduced by a second amount (830c). In some embodiments, the second amount is based on a second value set by the user. In some embodiments, if one or more third criteria are not met, the visual prominence of the first virtual content is maintained. Allowing the user to adjust the penetration threshold provides the user with control over the penetration attribute, which reduces the need for additional input to achieve the desired penetration attribute, thereby reducing power usage and extending battery life of battery-powered devices.

[0156] In some embodiments, one or more second criteria are different from one or more third criteria (832). In some embodiments, one or more second criteria and one or more third criteria correspond to settings for determining whether penetration occurs based on a first value and a second value, respectively. For example, in some embodiments, if the user adjusts the slider to a low value (e.g., the first value is a low amount less than 50% of the value range of the slider), one or more second criteria will correspond to a relatively high (or relatively difficult to meet) setting for penetration. In one example, the duration required to meet the penetration criteria for a person's gaze will optionally be relatively high (e.g., the gaze length required by the second criterion is a high setting that exceeds 50% of the value range of the gaze length setting). In some embodiments, if the user adjusts the slider to a high value (e.g., the second value is a high amount higher than 50% of the value range of the slider), one or more third criteria will correspond to a relatively low (or relatively easy to meet) setting for penetration. For example, the duration required to meet the penetration criteria for a person's gaze will optionally be relatively low (e.g., the gaze length required by the second criterion is a low setting that is less than 50% of the value range of the gaze length setting). Thus, in some embodiments, a slider control adjusts the ease with which an object penetrates virtual content, wherein a lower slider value makes penetration more difficult, and a higher slider value makes penetration less difficult. Allowing a user to adjust a setting for whether penetration occurs provides the user with control over the penetration conditions and better aligns the user's expectations of penetration with the operation of the computer system, which reduces the need for additional input to achieve the desired penetration conditions, thereby reducing power usage and extending battery life for battery-powered devices.

[0157] In some embodiments, the second amount is different from the first amount (834), such as Figure 7C and Fig.7DAs shown. In some embodiments, the first amount and the second amount correspond to the amount of penetration (if any) that occurs for a given set of penetration trigger conditions (e.g., one or more second criteria are met, or one or more third criteria are met). For example, if the first amount is greater than the second amount, a larger area of ​​the first virtual content is optionally penetrated compared to the second amount. In some embodiments, if the first amount is greater than the second amount, the penetrated area of ​​the first virtual content has a higher transparency than the second amount. Additionally or alternatively, if the first amount is greater than the second amount, the opacity, brightness, or color saturation is optionally reduced (or more generally appropriately changed) by a higher amount compared to the second amount. One or more additional or alternative visual characteristics of the first virtual content are optionally changed (e.g., appropriately increased or decreased) by a larger amount so that for the first penetration amount, the first virtual content less obscures the physical environment behind the first virtual content than the second penetration amount. Allowing a user to adjust the amount of penetration that occurs enables the user to control how much the visual prominence of virtual content is reduced when penetration occurs and better aligns user expectations of penetration with the operation of the computer system, which reduces the need for additional inputs to achieve the desired penetration, thereby reducing power usage and extending battery life for battery-powered devices.

[0158] In some embodiments, detecting, via one or more input devices, a user input corresponding to a request to set a current value of a first user-defined setting to a first value, such as an input to set the user-defined setting to a first value, results in Figure 7C , a response of the computer system 101 in (e.g., the user input includes adjusting the penetration slider to a position corresponding to the first value or the second value as described herein). In some embodiments, the user input is detected when the current value of the first user-defined setting corresponds to the dynamic setting for the first user-defined setting (836a). As described above, in some embodiments, the first user-defined setting is set to a dynamic setting so that determining whether penetration occurs for the physical object is optionally based on a determined property of the physical object. In some embodiments, in response to detecting the user input, the current value of the first user-defined setting is set to the first value (836b), and after setting the current value of the first user-defined setting to the first value (or the second value), based on determining that a time period (e.g., 0.1 minutes, 0.3 minutes, 1 minute, 3 minutes, 5 minutes, 20 minutes, 45 minutes, 60 minutes, 120 minutes, or 240 minutes) has passed since the user input was received, the current value of the first user-defined setting is automatically adjusted to correspond to the dynamic setting (836c), such as to restore to a value that causes Fig.7DIn some embodiments, the user-defined settings of the response of the computer system in the first user definition setting are set. In some embodiments, and when the user overrides the dynamic mode for the first user definition setting, the settings set by the user are only applied for a time period. The time period is optionally set by the user or determined by the computer system. In some embodiments, when the settings set by the user return to the dynamic mode, the computer system will adjust the penetration accordingly. For example, if the dynamic setting requires a smaller penetration amount, the penetration will be reduced compared to the user-defined value for the first user definition setting. Alternatively, if the dynamic setting requires a larger penetration amount, the penetration will be increased compared to the user-defined value for the first user definition setting. In addition, the dynamic setting can require the same penetration amount as the user-defined value. In this case, the penetration will optionally remain the same. Automatically restoring the penetration setting to the dynamic mode after the time period ensures that the potential unreasonable or unsafe penetration setting will not remain valid at the computer system, which reduces the need for additional input to restore the penetration setting, thereby reducing power use and extending the battery life of battery-driven devices.

[0159] In some embodiments, the user input corresponds to a request to switch between a first mode and a second mode, in which the current value of the first user-defined setting is user-defined, and in which the current value of the first user-defined setting is dynamic (838). In some embodiments, the user of the computer system can switch between a dynamic mode and a sliding zoom mode (e.g., a user-defined mode) to penetrate the setting. For example, the user of the computer system can optionally set the user-defined setting to a setting amount at the first time, and then decide that they want the computer system to operate in the dynamic mode. In such a scenario, the user can optionally switch the user-defined setting back to the dynamic mode. Subsequent user inputs optionally continue to switch between the dynamic mode and the user-defined mode. This switching is optionally implemented by a slider, a button, etc. Enabling the user to switch between the penetration slider mode and the dynamic mode allows the user to easily adjust to a new situation in the user's physical environment, which reduces the need for additional inputs to adjust to the new situation, thereby reducing power use and extending the battery life of battery-driven devices.

[0160] In some embodiments, the one or more first criteria include criteria that are met when the first physical object (e.g., 708) is designated by the user as allowing penetration (840), such as if Figure 7C Person 708 is designated as allowed to penetrate, resulting in Figure 7CThe computer system 101 shown responds to the person 708. In some embodiments, if the first physical object is a specific object, the object meets the criteria. For example, the user of the computer system can optionally select or specify a specific physical object (e.g., a person or animal / pet) that enables penetration. Determining a specific person or animal is optionally based on object and / or facial recognition (e.g., using manually specified rules and / or machine learning models for identifying objects and / or faces). In some embodiments, if the person entering the room is not a specified person or animal, the penetration criteria will not be met, even if the person (or physical object) will otherwise meet the conditions required for penetration. Allowing penetration based on the specified or selected object reduces the incidence of undesirable penetration, which reduces the need for additional input to enable penetration for the specified or selected object, thereby reducing power usage and extending the battery life of battery-powered devices.

[0161] In some embodiments, the one or more first criteria include criteria that are not met when the first physical object (e.g., 708) is specified by the user as not allowing penetration (842), such as if Figure 7B Person 708 is designated as not allowed to penetrate, resulting in Figure 7B Response of computer system 101 to person 708 shown. In some embodiments, if the first physical object is a specific object, the object does not meet the criteria. For example, a user of the computer system can optionally select or specify a specific physical object (e.g., a person or animal / pet) that is not allowed to be penetrated. Determining a specific person or animal is optionally based on object and / or facial recognition. In some embodiments, if the person entering the room is not a specified person or animal, the penetration criteria can be met. Preventing penetration based on a specified or selected object allows the user to maintain the display of virtual content and reduces distraction to the user, which reduces the need for additional input to return to the display of the virtual content, thereby reducing power usage and extending the battery life of battery-powered devices.

[0162] In some embodiments, the first virtual content includes a border (for example, the first virtual content is displayed in a rectangular area or other area of ​​the three-dimensional environment having one or more borders (such as a top border, a bottom border, a left border, and / or a right border)), a first portion of the first virtual content, and a second portion of the first virtual content that is closer to the border than the first portion of the first virtual content (such as a 7A to 7E, and portions of the user interface 704 that are closer to and further from such a boundary). In some embodiments, the visual prominence of the first virtual content relative to the three-dimensional environment (e.g., 702) is reduced (844a). In some embodiments, the first virtual content has different portions, and the visual prominence of these portions is reduced to different levels in the event of penetration, as will be described in more detail below. The second portion of the first virtual content is optionally closer to the boundary than the first portion of the virtual content. For example, if the boundary is the right boundary of the first virtual content, the second portion of the first virtual content is the portion of the virtual content adjacent to the right boundary, and the first portion of the first virtual content is to the left of the second portion, such as a center portion of the first virtual content. In some embodiments, the reduction includes reducing the visual prominence of the first portion of the first virtual content relative to the three-dimensional environment (e.g., 702) by a first amount (844b), such as Fig.7D A reduction in visual prominence of the portion of the illustrated user interface 704. In some embodiments, the visual prominence of the first portion of the first virtual content is reduced by a first amount, such as 0%, 10%, 20%, 40%, 50%, 70%, or 90%.

[0163] In some embodiments, reducing includes reducing the visual prominence of the second portion of the first virtual content relative to the three-dimensional environment (e.g., 702) by a second amount (844c) that is greater than the first amount, such as Fig. 7E The reduction of visual prominence of the portion of the user interface 704 shown. In some embodiments, the visual prominence of the second portion of the first virtual content is reduced by a second amount greater than the first amount, such as 30%, 50%, 70%, 90% or 100%. Therefore, in some embodiments, the portion of the first virtual content closer to the border of the first virtual content is reduced more in visual prominence than the portion of the first virtual content farther away from the border of the first virtual content. In some embodiments, the position of the first physical object relative to the first virtual content results in different levels of penetration for the first physical object. For example, if the first physical object is located behind the central area of ​​the first virtual content and triggers penetration, the computer system reduces the visual prominence of the central area by a first amount (e.g., corresponding to a user-defined setting that defines the penetration amount value), but if the first physical object is located behind the right area of ​​the first virtual content and triggers penetration, the computer system reduces the visual prominence of the right area by a second amount greater than the first amount (e.g., not corresponding to and / or greater than the amount defined by the user-defined setting). Feathering penetration from the edge of the first virtual content reduces interruption of the main portion (e.g., the center area) of the first virtual content while still allowing the user to interact with the first physical object, which reduces the need for additional input to return to the display of the first virtual content, thereby reducing power usage and extending battery life of battery-powered devices.

[0164] In some embodiments, in response to detecting a first physical object in a first portion of a physical environment, and in accordance with determining that a current value of a first user-defined setting is set to not allow penetration for physical objects that meet one or more first criteria (846a), in accordance with determining that the first physical object (e.g., 708) at the first location meets one or more second criteria (wherein the one or more second criteria are safety-related), the visual prominence of first virtual content (e.g., 704) relative to the three-dimensional environment (e.g., 702) is reduced (846b). For example, if the current value of the first user-defined setting is set to not allow penetration for physical objects that meet the one or more first criteria, and if person 708 meets the one or more second criteria related to safety, the visual prominence of user interface 704 relative to the three-dimensional environment is reduced, such as FIG. 7C to FIG. 7E As shown, even if the person 708 would not otherwise cause penetration. In some embodiments, the computer system defines one or more second criteria related to safety, such as criteria that are met if conditions in the user's physical environment pose a potential safety risk to the user without the user being able to see them. For example, if a person or animal runs toward the user of the computer system, an alarm disappears in the user's physical environment, and / or the first physical object is very close to the user of the computer system (e.g., within 0.1 meters, 0.3 meters, 0.5 meters, 1 meter, 3 meters, 5 meters, or 10 meters), then one or more second criteria are optionally met. In this case, regardless of whether the current value of the first user-defined setting is set to prevent penetration and / or whether one or more first criteria are met, the computer system will optionally reduce the visual prominence of the first virtual content relative to the three-dimensional environment to allow the user to see the potential unsafe conditions in the user's physical environment. Allowing penetration for safety reasons protects the user of the computer system from potential safety-related issues and protects the device from potential dangers.

[0165] In some embodiments, when the first physical object (e.g., 708) is in the first portion of the physical environment, the computer system (e.g., 101) generates an audio output (e.g., Fig. 7AIn some embodiments, in response to detecting a first physical object (e.g., 708) in a first portion of the physical environment (848b), a magnitude of audio output associated with the three-dimensional environment (e.g., 702) is reduced (848c) (e.g., based on determining that the first physical object (e.g., 708) at the first location satisfies one or more first criteria and a current value of the first user-defined setting is set to allow penetration for physical objects that satisfy the one or more first criteria. Figure 7C In some embodiments, the penetration includes reducing the magnitude of the audio output associated with the three-dimensional environment, such as reducing the magnitude by 1%, 10%, 20%, 40%, 60%, 80%, or 100%. In some embodiments, this magnitude is determined by a user or by a computer system. In some embodiments, the magnitude is based on a reduction in the visual prominence of the first virtual content. For example, if the visual prominence of the first virtual content is reduced by 40%, the magnitude will also be reduced by 40% or another amount that is the same as the amount by which the visual prominence of the first virtual content is reduced. Alternatively, the magnitude is independent of the reduction in the visual prominence of the first virtual content. For example, if the visual prominence of the first virtual content is reduced by 40%, the magnitude is optionally reduced by 10% or another amount that is different from the amount by which the visual prominence of the first virtual content is reduced. Reducing the magnitude of the audio output associated with the three-dimensional environment limits distractions caused by the audio output associated with the three-dimensional environment, which reduces the need for additional input to reduce the magnitude of the audio output associated with the three-dimensional environment, thereby reducing power usage and extending battery life of battery-powered devices.

[0166] In some embodiments, the visual prominence of the first virtual content (e.g., user interface 704) is reduced relative to the three-dimensional environment (e.g., 702). In some embodiments, the reduction includes one or more of: dimming, blurring, or stopping the display of one or more portions of the first virtual content (e.g., user interface 704) (850). For example, in some embodiments, Figure 7CAs shown, relative to the three-dimensional environment 702, the visual prominence of the first virtual content is reduced by dimming, blurring or stopping the display of one or more parts of the user interface 704. In some embodiments, the first virtual content is optionally dimmed in the three-dimensional environment to reveal a part of the first physical object. For example, the first virtual content is optionally reduced to a less clear shine. Additionally or alternatively, the first virtual content is optionally blurred in the three-dimensional environment to reveal a part of the first physical object. For example, the first virtual content is optionally displayed less obvious or becomes unclear. Additionally or alternatively, the first virtual content is optionally hidden in the three-dimensional environment to reveal a part of the first physical object. Performing the penetration of the first virtual content in various ways ensures that the effectiveness of the penetration is high, which reduces the need for additional input to increase the effectiveness of the penetration, thereby reducing power use and extending the battery life of battery-driven devices.

[0167] In some embodiments, the one or more first criteria include a criterion that is not satisfied when the first virtual content is system virtual content (852), for example, even if the person 710 satisfies the criterion, the user interface 706 may not be displayed in the system virtual content. Figure 7CIn some embodiments, the first virtual content is system virtual content, such as a user interface that displays or presents one or more controls that enable a user to control one or more functionalities of a computer system (e.g., system volume and / or system Wi-Fi). For example, the system virtual content optionally includes a play button, a rewind button, a fast forward button, a stop button, an end button, etc. to control the playback of the corresponding content (e.g., video or audio). In some embodiments, the computer system does not penetrate the system virtual content, even if the first physical object has characteristics that would otherwise cause the first physical object to penetrate non-system virtual content. In some embodiments, the system virtual content is a system virtual environment (e.g., a simulated three-dimensional environment) that can be displayed in a three-dimensional environment in response to input provided by a user to display such a simulated environment. In some embodiments, the simulated environment includes a scene that at least partially covers at least a portion of the three-dimensional environment so that it appears as if the user is located in the scene (e.g., and optionally no longer in the three-dimensional environment). In some embodiments, the simulated environment is an atmospheric transformation that modifies one or more visual characteristics of the three-dimensional environment so that it appears as if the three-dimensional environment is located at a different time, place, and / or condition (e.g., morning light instead of afternoon light, sunny instead of cloudy, etc.). In some embodiments, the three-dimensional environment is a mixed environment that includes a simulated environment and a physical environment (representation). In some embodiments, the boundary between the simulated environment and the representation of the physical environment is based on distance. For example, a portion of the three-dimensional environment that includes the simulated environment is optionally further away from the user's viewpoint than a portion of the three-dimensional environment that includes a representation of the physical environment. Non-penetration of the system virtual content ensures the uninterrupted ability to interact with the system virtual content, which reduces the need for additional input to return to the display of the system virtual content, thereby reducing power usage and extending the battery life of battery-driven devices.

[0168] It should be understood that the specific order in which the operations in method 800 are described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations may be performed. A person of ordinary skill in the art will recognize many ways to reorder the operations described herein.

[0169] 9A to 9E An example of a computer system that displays indications of physical objects associated with virtual content in a three-dimensional environment is illustrated according to some embodiments.

[0170] Fig.9A The display generation components (eg, Figure 1 The three-dimensional environment 902 is visible to the display generation component 120 of the computer system 101, and the three-dimensional environment 902 is visible from the user's viewpoint 926 illustrated in the top view (e.g., it faces the back wall of the physical environment in which the computer system 101 is located). Figures 1 to 6 As described above, the computer system 101 optionally includes a display generation component (e.g., a touch screen, an HMD or other wearable computing device, a display, a projector, etc.) and a plurality of image sensors (e.g., Figure 3 The image sensor 314). The image sensor optionally includes one or more of the following: a visible light camera; an infrared camera; a depth sensor; or any other sensor that the computer system 101 can use to capture one or more images of a user or a portion of a user (e.g., one or more hands of a user) when the user interacts with the computer system 101. In some embodiments, the user interface illustrated and described below can also be implemented on a head-mounted display, which includes a display generation component that displays a user interface or a three-dimensional environment to the user, and sensors that detect movement of the physical environment and / or the user's hands (e.g., external sensors facing outward from the user) and / or sensors that detect the user's gaze (e.g., internal sensors facing inward toward the user's face).

[0171] like Fig.9A As shown, computer system 101 captures one or more images of the physical environment (e.g., operating environment 100) surrounding computer system 101 (including one or more objects in the physical environment surrounding computer system 101). In some embodiments, computer system 101 displays a representation of the physical environment in three-dimensional environment 902, and / or the physical environment is visible in three-dimensional environment 902 via display generation component 120. For example, three-dimensional environment 902 visible via display generation component 120 includes a representation of the physical floor and rear and side walls of the room in which computer system 101 is located. For example, and as Fig.9A As shown, the physical environment surrounding the computer system 101 includes a sofa 924 (shown in a top view) which is displayed via the display generation component 120. Fig.9A The user's viewpoint 926 is visible.

[0172] exist Fig.9A In FIG. 1 , three-dimensional environment 902 includes user interface 904 and user interface 906. Fig.9A In , user interface 904 and user interface 906 are two-dimensional objects. It should be understood that the examples of the present disclosure are optionally also applicable to three-dimensional objects. User interfaces 904 and 906 are optionally one or more of the following: user interfaces of applications (e.g., messaging user interfaces and / or content browsing user interfaces), three-dimensional objects (e.g., virtual clocks, virtual balls, and / or virtual cars), or any other elements displayed by computer system 101 that are not included in the physical environment of computer system 101. In 9A to 9EIn the embodiment of the present invention, user interface 904 is a content playback user interface (e.g., a user interface in which computer system 101 displays video and / or via which audio content is presented), and user interface 906 is also a content playback user interface. One or more details of user interfaces 904 and 906 are provided with reference to method 1000.

[0173] exist Fig.9A In some embodiments, the computer system 101 is also presenting visual environmental effects to the three-dimensional environment 902, such as dimming, desaturation, or otherwise reducing the visual prominence of one or more portions of the physical environment visible via the display generation component 120. In some embodiments, the computer system 101 additionally or alternatively presents an audio environmental effect that at least partially obscures one or more portions of the physical audio that would otherwise be audible from the physical environment. Additional details of visual and / or audio environmental effects are described with reference to methods 800 and / or 1000.

[0174] In some embodiments, computer system 101 presents three-dimensional environment 902 in a manner that obscures or otherwise reduces the visibility of one or more portions of the physical environment surrounding computer system 101. For example, Fig.9A The user interface 904 in FIG. 1 is obscuring and / or occluding a portion of a back wall and a floor in the physical environment, and Fig.9A The user interface 906 in is blocking and / or obscuring a portion of the back wall and floor in the physical environment. As another example, in Fig.9A , the audio ambient effects and / or visual ambient effects presented by the computer system 101 are also obscuring and / or blocking a portion of the sofa 924 and / or the audio components of the physical environment.

[0175] In some embodiments, and as discussed in more detail below, computer system 101 reduces the visual prominence of one or more virtual portions of three-dimensional environment 902 based on one or more characteristics of objects in the physical environment to allow those physical objects to become more visible in three-dimensional environment 902. In some embodiments, and as discussed in more detail below, computer system 101 presents indications in three-dimensional environment 902 that represent corresponding objects in the physical environment.

[0176] exist Fig.9A In FIG. 1 , person 908 and person 910 (two persons other than the user of computer system 101 ) are present in the physical environment surrounding computer system 101 . Fig.9A As shown, person 908 and person 910 are located outside of the field of view of three-dimensional environment 902 viewable via display generation component 120 and are not visible in three-dimensional environment 902 .

[0177] from FIG. 9A to FIG. 9B , person 908 and person 910 have moved within the physical environment surrounding computer system 101 and are now partially located behind user interfaces 904 and 906, respectively. Fig. 9B As shown, user interface 904 at least partially obscures a portion of person 908, and computer system 101 presents an indication 909 of the obscured portion of person 908 in user interface 904 as indication 909 (e.g., as a shadow overlaid on user interface 904). Fig. 9B As shown, user interface 906 at least partially obscures a portion of person 910, and computer system 101 presents an indication 911 of the obscured portion of person 910 in user interface 906 as indication 911 (e.g., as a shadow overlaid on user interface 906). This obscuration and subsequent presentation of indications 909, 911 rather than penetrating user interfaces 904 and / or 906 is optionally due to persons 908 and 910 not exhibiting one or more characteristics corresponding to computer system 101 designating persons 908 and 910 as engaging in significant social interactions with a user of computer system 101, such as described with reference to method 800 and as will be described in greater detail later. Fig. 9B As shown, the sizes of indicators 909 and 911 correspond to the sizes of representative portions of persons 908 and 910, respectively. Fig. 9B As shown, the shapes of indications 909 and 911 correspond to the sizes of representative portions of person 908 and person 910, respectively. In some embodiments, indications such as indications 909 and 911 have a shape and / or size that is different from the representative objects (e.g., an oval, a rectangle, and / or a square). However, it should be noted that typically the indications optionally correspond to the shape and / or size of the representative objects. In some embodiments, displaying representative indications of corresponding physical objects (e.g., 909 and 911) allows the user to see and / or determine where the physical objects are within the physical environment without interrupting and / or distracting the user from the display of virtual content (e.g., 904 and 906). Additionally, and because person 908 and person 910 are not designated as participating in a significant social interaction, and as Fig. 9B As shown, the audio environment effect and / or visual environment effect of the three-dimensional environment 902 is Fig. 9B In and Fig.9A Same as Fig. 9B As shown, portions of person 908 that are not obscured by user interface 904 (e.g., the feet of person 908) and portions of person 910 that are not obscured by user interface 906 (e.g., the feet or person 910) are visible in three-dimensional environment 902 to which visual environment effects (e.g., dimming) are applied.

[0178] In some embodiments, an indication representing an object within the physical environment lightens or dims based on the movement of the represented object. For example, when an object moves faster than the object previously moved, the indication for the object optionally dims, and when the object moves slower than the object previously moved, the indication for the object optionally brightens. FIG. 9B to FIG. 9C , person 908 moves faster within the physical environment around computer system 101 and behind user interface 904, and person 910 moves slower within the physical environment around computer system 101 and behind user interface 906. Fig. 9C As shown, indication 909 of person 910 becomes darker to indicate faster movement of person 908 , and indication 911 of person 910 becomes brighter to indicate slower movement of person 908 .

[0179] In some embodiments, if the object stops moving, then the indication representing the object within the physical environment stops being displayed. FIG. 9C to FIG. 9D , person 908 moves more slowly within the physical environment, and person 910 stops moving. Fig.9D As shown, indication 909 of person 910 has brightened to indicate slower movement, while indication 911 of person 908 has disappeared (eg, is no longer displayed by computer system 101) because person 910 has stopped moving.

[0180] In some embodiments, and as described above, if computer system 101 designates an action from an object within the physical environment as exhibiting characteristics of a significant social interaction, the corresponding object will penetrate the three-dimensional environment in one or more of the manners described with reference to methods 800 and / or 1000 and described below. Additionally, if the object is positioned in front of a user interface (e.g., user interface 904 or user interface 906) within three-dimensional environment 902, computer system 101 optionally changes one or more visual characteristics of a portion of the object that obscures the user interface (e.g., blurs and / or fades the portion of the object).

[0181] from FIG. 9D to FIG. 9E , person 908 exhibits one or more characteristics corresponding to computer system 101 designating person 908 as engaging in a significant social interaction with a user of computer system 101, and person 910 moves in front of user interface 906. Reference methods 800 and / or 1000 provide details regarding various criteria used by computer system 101 to designate such significant social interactions. For example, in Fig.9E In FIG. 1 , person 908 has turned to and / or is talking to a user of computer system 101. Therefore, person 908 is eligible to penetrate user interface 904, such as Fig.9E Therefore, and as Fig.9EAs shown, person 908 penetrates user interface 904. As previously mentioned, person 908 penetrating user interface 904 and / or three-dimensional environment 902 optionally has one or more of the penetrating characteristics described with reference to method 800. FIG. 9D to FIG. 9E As shown, computer system 101 optionally transitions from displaying an indication of person 908 associated with user interface 904 to penetrating user interface 904 based on determining that person 908 meets the penetration criteria.

[0182] In addition, and if Fig.9E As shown, head 912 of person 910 is obscuring user interface 906, while body of person 910 is below user interface 906 within three-dimensional environment 902 (e.g., not obscuring user interface 906). Fig.9E As shown, in response to such occlusion, computer system 101 modifies one or more visual characteristics of person 910's head to present a representation of person 910's head 912 in a blurred, faded, less saturated, and / or more transparent manner and / or in other manners with reduced visual prominence relative to three-dimensional environment 902. As a result, occlusion of user interface 906 is optionally reduced, and portions of user interface 906 that would otherwise be occluded by the representation of person 910's head 912 are more visible in three-dimensional environment 902. Additionally, as shown in FIG. Fig.9E As shown, computer system 101 does not modify the visual characteristics of person 910's body, and thus person 910's body is visible in three-dimensional environment 902 to which visual environment effects (e.g., dimming) are applied. It should be noted that portions of user interface 906 that are not obscured by person 910's head retain their visual prominence, so that the user can still view those portions of user interface 906. In addition, and as shown in FIG. Fig.9E As shown, the visual appearance of the area and / or volume outside of person 910 (eg, three-dimensional environment 902 including the unobstructed portion of user interface 906 ) does not change.

[0183] FIG. 10A to FIG. 10F 1 is a flowchart illustrating a method 1000 for displaying an indication of a physical object in a three-dimensional environment according to some embodiments. In some embodiments, the method 1000 is performed on a computer system (e.g., Figure 1 The computer system 101 in the embodiment of the present invention is executed at a computer system 101 in the embodiment of the present invention, such as a tablet device, a smart phone, a wearable computer, or a head mounted device, the computer system including a display generation component (e.g., Figure 1 , Figure 3 and Figure 4In some embodiments, method 1000 is performed by storing in a non-transitory computer-readable storage medium and executed by one or more processors of a computer system, such as one or more processors 202 of computer system 101 (e.g., Figure 1 Some operations in method 1000 are optionally combined, and / or the order of some operations is optionally changed.

[0184] In some embodiments, method 1000 is performed at a computer system (e.g., computer system 101) in communication with a display generation component (e.g., 120) and one or more input devices (e.g., 314). In some embodiments, the computer system has one or more characteristics of the computer system in method 800. In some embodiments, the display generation component has one or more characteristics of the display generation component of method 800. In some embodiments, the one or more input devices have one or more of the characteristics of the one or more input devices of method 800.

[0185] In some embodiments, when a three-dimensional environment (e.g., 902) is visible via a display generation component (e.g., 120) (e.g., the three-dimensional environment has one or more of the characteristics of the three-dimensional environment of method 800), and the three-dimensional environment (e.g., 902) includes first virtual content that is obscuring a first portion of the physical environment (e.g., the first virtual content has one or more of the characteristics of the first virtual content of method 800) (1002a), the computer system (e.g., 101) detects a first physical object (e.g., 908) located in the first portion of the physical environment (e.g., a person other than a user, an animal such as a pet, or any other physical object capable of moving) (1002b). In some embodiments, the first portion of the physical environment is obscured in a manner similar to that described with respect to method 800. In some embodiments, the first physical object is detected via one or more input devices in a manner similar to that described with respect to method 800. In some embodiments, in response to detecting a first physical object (e.g., 908) in a first portion of a physical environment, based on determining that the first physical object (e.g., 908) satisfies one or more first criteria (e.g., satisfaction of the one or more first criteria corresponds to a significant social interaction, and the one or more criteria are discussed in more detail below and / or with reference to method 800), a computer system (e.g., 101) reduces the visual prominence of first virtual content relative to the three-dimensional environment (e.g., 902) to reveal a portion of the first physical object (e.g., 908) (1002c), for example, reducing the visual prominence of user interface 904 relative to three-dimensional environment 902 to reveal a portion of person 908 (e.g., including increasing visibility of the first portion of the physical environment through the first virtual content). In some embodiments, the visual prominence of the first virtual content (or a portion of the first virtual content) is reduced in a manner similar to that described with respect to method 800 to reveal a portion of the first physical object. In some embodiments, the opacity, brightness, color saturation, and / or other visual characteristics of the first virtual content are optionally reduced or changed by a first amount to increase the visibility of the first physical object through the first virtual content (e.g., from 0% visible to 20%, 40%, 60%, or 80% visible, or from 5% visible to 20%, 40%, 60%, or 80% visible).

[0186] In some embodiments, based on determining that the first physical object (e.g., 908) does not meet one or more first criteria, the computer system (e.g., 101) concurrently displays an indication (e.g., 909) of a portion of the first physical object (e.g., 908) in the three-dimensional environment (e.g., 902) with the first virtual content (e.g., 904) without revealing the portion of the first physical object (e.g., 1002d), for example, in Fig. 9B, an indication 909 of person 908 is displayed concurrently with user interface 904 in three-dimensional environment 902 without revealing a portion of person 908 (e.g., without increasing visibility of a first portion of the physical environment through first virtual content). In some embodiments, a computer system displays an indication of a first physical object and / or first virtual content corresponding to its location within the physical environment at a location within the three-dimensional environment. For example, the computer system does not reduce or change the opacity, brightness, color saturation, and / or other visual characteristics of the first virtual content to increase visibility of the first physical object through the first virtual content, but instead optionally displays a shadow of the first physical object that overlays and / or passes through a portion of the first virtual content that is positioned between the user's viewpoint and a portion of the first physical object in the three-dimensional environment. This indication of the first physical object is optionally displayed in various ways, discussed in more detail below, such as with reference to steps 1016 to 1020. In some embodiments, the computer system reduces or changes the opacity, brightness, color saturation, and / or other visual characteristics of the first virtual content by a second amount that is less than the first amount (e.g., the first amount is a 100%, 75%, 50%, 40%, or 30% reduction in visual prominence, and the second amount is a 50%, 40%, 20%, 10%, or 5% reduction in visual prominence) so that an indication of the portion of the first physical object is visible through the first virtual content. In some embodiments, the brightness of the first virtual content (optionally only at a location corresponding to the portion of the first physical object) is reduced (optionally without reducing opacity) as an indication of the portion of the first physical object. When the penetration criteria are not met, selectively reducing the visual prominence of the virtual content or enabling the display of the indication allows the user to interact with the physical environment when desired, while maintaining the display of the virtual content in a manner that still allows the user to be otherwise aware of the physical environment, and reduces distraction to the user, which reduces input errors and makes interaction with the device more efficient, thereby reducing power usage and extending battery life of battery-powered devices.

[0187] In some embodiments, a first physical object (e.g., 908) is a physical object of a first type (1004a) (e.g., the first physical object is an animate object, such as a person or an animal), and a second physical object (e.g., 924) located in a first portion of a physical environment is detected via one or more input devices (1004b). In some embodiments, in response to detecting the second physical object (e.g., 924) in the first portion of the physical environment (1004c), based on determining that the second physical object (e.g., 924) is a physical object of a second type different from the first type of physical object (e.g., the second physical object is an inanimate object, such as a couch, chair, and / or table), the computer system (e.g., 101) maintains visual prominence of the first virtual content in the three-dimensional environment relative to the three-dimensional environment (e.g., 902) without revealing a portion of the second physical object (e.g., 924) and does not display an indication of a portion of the second physical object with the first virtual content (1004d), for example, if in Fig. 9B , person 908 is a different object of the second type and the computer system does not display indication 909. In some embodiments, and upon determining that the second physical object is an inanimate object located in the first portion of the physical environment, visual prominence of the first virtual content relative to the three-dimensional environment is maintained; furthermore, an indication of the second physical object is optionally not displayed. By not allowing penetration or indication of inanimate objects, a user of the computer system is able to interact with the three-dimensional environment with reduced distraction, which reduces input errors and makes interaction with the device more efficient, thereby reducing power usage and extending battery life of battery-powered devices.

[0188] In some embodiments, the one or more first criteria include a criterion (1006) that is satisfied based on the motion of the first physical object (e.g., 908). For example, if a person is moving within the physical environment, the criterion is satisfied and an indication (e.g., 909) is displayed, such as Fig. 9BIn some embodiments, if the person or animal moves, the action meets the criteria. In some embodiments, before the criteria are met, movement must be detected within a predetermined time period (e.g., 0.5 seconds, 1 second, 3 seconds, 5 seconds, 10 seconds, 20 seconds, or 60 seconds). The time period is optionally set by the user or determined by the computer system. In some embodiments, if the person or animal does not move, the criteria are not met. In some embodiments, for the criteria to be met, the movement must be greater than a threshold distance (e.g., 0.05 m, 0.1 m, 0.3 m, 0.5 m, 1 m, 3 m, 5 m, 10 m, or 20 m), have a speed greater than a threshold (e.g., 0.1 m / s, 0.3 m / s, 0.5 m / s, 1 m / s, 3 m / s, 5 m / s, or 10 m / s), and / or have an acceleration greater than a threshold (e.g., 0.01 m / s2, 0.05 m / s2, 0.1 m / s2, 0.3 m / s2, 0.5 m / s2, 1 m / s2, 3 m / s2, 5 m / s2, or 10 m / s2). Requiring the object movement to meet the criteria reduces the likelihood that an object of no interest (e.g., a stationary inanimate object) will not interrupt the user's interaction with the first virtual content, which reduces the input required to redisplay the first virtual content and makes interaction with the device more efficient, thereby reducing power usage and extending battery life for battery-powered devices.

[0189] In some embodiments, displaying an indication (e.g., 909) of a portion of a first physical object (e.g., 908) includes dimming at least a portion of a first virtual content (e.g., 904) corresponding to the first physical object (e.g., 908), wherein the indication (e.g., 909) includes the dimmed at least portion (1008) of the first virtual content (e.g., 904), such as Fig. 9B , Fig. 9C and Fig.9D Indication 909 is shown. In some embodiments, the indication is displayed as a dimmed portion of at least a portion of the first virtual content. The darkness of the indication may optionally vary based on various factors, discussed in more detail below, such as with reference to steps 1016 to 1020. Darkening a portion of the content enables the user to view the first virtual content with limited distraction and still be aware of physical objects in the physical environment, which reduces input errors and makes interaction with the device more efficient, thereby reducing power usage and extending battery life of battery-powered devices.

[0190] In some embodiments, the indication (e.g., 909) of the portion of the first physical object (e.g., 908) has a size and / or shape (1010) corresponding to the size and / or shape of the first physical object (e.g., 908), such as Fig. 9B , Fig. 9C and Fig.9DIndication 909 shown. In some embodiments, the indication is generally shaped to resemble the first physical object. For example, if the first physical object is a tall person, the indication will generally be shaped as a tall person, and the indication will dim a larger portion of the first virtual content. Alternatively, if the first physical object is a puppy, the indication will generally be shaped as a puppy, and the indication will only dim a small portion of the first virtual content. In some embodiments, the indication has the same shape as the first physical object. In some embodiments, the shape of the indication corresponds to the shape of the first physical object in the same or similar manner as the shape of the shadow corresponds to the object casting the shadow. In some embodiments, the shape that the indication has is an approximation of the shape of the physical object (e.g., an oval or irregular spot of the size of a person or dog). Displaying an indication with the general shape of an object enables a user of a computer system to more easily determine what physical object the indication represents, which reduces input errors and makes interaction with the device more efficient, thereby reducing power usage and extending the battery life of battery-driven devices.

[0191] In some embodiments, an indication (e.g., 909) of a portion of a first physical object (e.g., 908) is displayed at a first position (1012a) relative to first virtual content (e.g., 904) (e.g., the indication is displayed at a first position within the first virtual content and / or overlaid on the first virtual content, such as in a right-hand portion of the first virtual content because the first physical object is located behind the right-hand portion of the first virtual content). In some embodiments, when the indication (e.g., 909) of the first portion of the first physical object (e.g., 908) is displayed at a first position relative to the first virtual content (e.g., 904), movement of the first physical object (e.g., 904) from a second position to a third position in the first portion of the physical environment (e.g., movement of the first physical object from behind the right-hand portion of the first virtual content to behind the left-hand portion of the first virtual content) is detected via one or more input devices (e.g., 314). In some embodiments, in response to (and / or when) detecting movement of a first physical object (e.g., 908) from a second position to a third position in a first portion of a physical environment, the computer system moves (1012c) an indication (e.g., 909) of a first portion of the first physical object (e.g., 908) from a first position relative to first virtual content to a fourth position relative to the first virtual content (e.g., 904) that is different from the first position (e.g., the indication is displayed at a second position within the first virtual content and / or overlaid on the first virtual content, such as in a left-hand portion of the first virtual content because the first physical object is located behind the left-hand portion of the first virtual content). In some embodiments, the fourth position of the indication relative to the first virtual content corresponds to the third position (1012c) of the first physical object in the first portion of the physical environment. For example, as Fig. 9B , Fig. 9C and Fig.9DAs shown, the indication 909 of the person 908 moves in the three-dimensional environment 902 in a manner that mirrors the movement of the person 908 in the physical environment as shown in the top view. In some embodiments, the indication moves in the three-dimensional environment and / or in the first virtual content in a manner that mirrors the movement of the first physical object in the physical environment. For example, if the first physical object moves from the second position to the third position in the physical environment, the corresponding indication in the three-dimensional environment will also move from the corresponding second position in the three-dimensional environment to the corresponding third position in the three-dimensional environment. In some embodiments, the attribute of the indication is optionally changed based on the movement of the first physical object, which is discussed in more detail below with reference to steps 1016 to 1018. The indication is moved in the three-dimensional environment based on the movement of the corresponding first physical object in the physical environment to give feedback to the user of the computer system about where the first physical object is moving and how fast it is moving, which reduces input errors and makes interaction with the device more efficient, thereby reducing power usage and extending the battery life of battery-driven devices.

[0192] In some embodiments, a computer system (e.g., 101) reduces the visual prominence of a first virtual content relative to a three-dimensional environment (e.g., 902), which includes reducing the visual prominence of a first portion (e.g., 904) of the first virtual content, wherein the first portion of the first virtual content has a first size (1014a). In some embodiments, rather than displaying an indication of a first physical object, the visual prominence of the first portion of the first virtual content is reduced (e.g., penetrated), and the penetrated portion of the first virtual content has a first size. In some embodiments, the indication of the portion of the first physical object (e.g., 909) has a second size (1014b) that is smaller than the first size. For example, Fig.9EAs shown, if the person 908 penetrates the user interface 904, the indication 909 optionally has a smaller size / representation in the three-dimensional environment 902 than the penetrated area. In some embodiments, and in the case where the indication of the portion of the first physical object is displayed within the three-dimensional environment, the indication has a size smaller than the size of the penetration. For example, if the first physical object meets the penetration criteria and is visible in the three-dimensional environment, the penetrated portion of the first virtual content (e.g., such as described in more detail with reference to method 800) is larger than the indication of the first physical object displayed if the first physical object does not meet the penetration criteria but meets the indication criteria. In some embodiments, the (general) shape of the penetrated portion of the first virtual content is the same as the (general) shape of the displayed indication of the first physical object, which optionally corresponds to the shape and / or size of the first physical object, as described above. In some embodiments, the (general) shape of the penetrated portion of the first virtual content is different from the (general) shape of the displayed indication of the first physical object (e.g., is a rectangle rather than a shape that mirrors the shape of the first physical object); conversely, the size of the penetrated portion of the first virtual content optionally corresponds to the size of the first physical object, but the shape of the penetrated portion of the first virtual content optionally does not correspond to the shape of the first physical object. Making the penetrated size of the first physical object larger than the size of the indication representing the first physical object makes the user more likely to be aware of the penetrated than the indication of the physical object, which reduces input errors and makes interaction with the device more efficient, thereby reducing power usage and extending battery life of battery-powered devices.

[0193] In some embodiments, in response to detecting a first physical object (e.g., 908) in a first portion of a physical environment and based on determining that the first physical object (e.g., 908) does not meet one or more first criteria, a computer system (e.g., 101) displays an indication (e.g., 909) of a portion of the first physical object (e.g., 908) with a first visual prominence (e.g., a first brightness, a first opacity, a first saturation, and / or a first contrast level relative to the remainder of the first virtual content). In some embodiments, while the indication (e.g., 909) of the portion of the first physical object (e.g., 908) is displayed with the first visual prominence, a decrease in the magnitude (e.g., distance, speed, and / or acceleration) of the movement of the first physical object (e.g., 908) is detected (1016b). In some embodiments, in order for the decrease in magnitude to be noticed by the computer system, the movement of the first physical object must be reduced by at least a predetermined magnitude, as described in more detail below. The magnitude is optionally set by a user of the computer system or determined by the computer system. In some embodiments, in response to detecting a decrease in the magnitude of the movement of the first physical object (e.g., 908), the visual prominence of the indication of the portion of the first physical object (e.g., 908) is reduced (e.g., to a second brightness greater than the first brightness, a second opacity less than the first opacity, a second saturation less than the first saturation, and / or a second contrast level less than the first contrast level relative to the remainder of the first virtual content). For example, Fig. 9C As shown, when person 910 moves quickly, indication 909 of person 908 becomes darker, and when person 908 moves slowly, indication 911 of person 910 becomes brighter. In some embodiments, and in response to the detection that the magnitude of the movement of the first physical object is reduced by a predetermined magnitude (5%, 10%, 20%, 40%, 50%, 70%, or 90%), the visual prominence of the indication of that portion of the first physical object is reduced. For example, if the first physical object slows down, the indication will optionally become brighter. Alternatively, if the first physical object accelerates, the indication will optionally become darker. In some embodiments, if the movement of the object does not decrease by a predetermined magnitude, the visual prominence of the indication is maintained. Brightening the indication of the first physical object in response to a decrease in the magnitude of the movement of the first physical object gives the user an indication of the speed at which the first physical object is moving, and reduces interruptions in interaction with the first virtual content, as well as reducing interruptions caused by stationary objects that are unlikely to be of interest to the user, which reduces the input required to display the first virtual content and makes interaction with the device more efficient, thereby reducing power usage and extending battery life of battery-powered devices.

[0194] In some embodiments, reducing the visual prominence of the indication (e.g., 911) of the portion of the first physical object (e.g., 910) includes ceasing display (1018) of the indication (e.g., 911) of the portion of the first physical object (e.g., 910), such as if the person 910 stops moving, e.g. Fig.9D As shown, the indication 911 of the person 910 will optionally stop being displayed (e.g., if the first physical object does not meet the penetration criteria, it is optional not to penetrate the first virtual content). In some embodiments, and in response to detecting that the magnitude of the movement of the first physical object decreases by 100% (e.g., the first physical object stops moving), the indication of the portion of the first physical object stops being displayed. In some embodiments, if the indication of the portion of the first physical object stops being displayed, the first virtual content is displayed in the same manner as if the physical object was not present in the first part of the physical environment (e.g., the same visual prominence and / or other visual characteristics). Ceasing to display the indication of the first physical object in response to the cessation of the movement of the first physical object gives the user an indication that the first physical object has stopped moving and that the interruption of the interaction with the first virtual content is further reduced, which reduces the input required to display the first virtual content and makes the interaction with the device more efficient, thereby reducing power usage and extending the battery life of battery-powered devices.

[0195] In some embodiments, reducing the visual prominence of the first virtual content (e.g., 904) relative to the three-dimensional environment includes ceasing display (1020) of at least a portion of the first virtual content (e.g., 904), e.g., Fig.9E In some embodiments, the penetration of the first virtual content is partial or full based on one or more factors, as described in more detail with reference to method 800. For example, if the first physical object is a person who is looking at the user of the computer system for a desired time, the person will optionally penetrate the first virtual content. Allowing penetration of the first physical object enables the user to interact with the first physical object, which reduces the need for additional input to penetrate the first physical object, thereby reducing power usage and extending battery life of battery-powered devices.

[0196] In some embodiments, when, based on a determination that the first physical object (e.g., 908) does not satisfy the one or more first criteria, an indication (e.g., 909) of a portion of the first physical object (e.g., 908) is displayed concurrently with the first virtual content (e.g., 904) in the three-dimensional environment (e.g., 902) without revealing the portion of the first physical object (e.g., 908), it is detected that the first physical object (e.g., 908) satisfies the one or more first criteria (1022a). In some embodiments, in response to detecting that the first physical object (e.g., 908) satisfies the one or more first criteria, the computer system stops displaying the indication (e.g., 909) of the portion of the first physical object (e.g., 908) (1022b), for example, when the person 908 penetrates Fig.9E 904 in the user interface 906 and the computer system 101 no longer displays the indication 909 (and optionally additionally penetrates the first virtual content, as described above and in method 800). For example, the first physical object is optionally a person walking around the physical environment but not talking directly to the user of the computer system, and therefore, an indication of the person is displayed within the three-dimensional environment (e.g., on or in the first virtual content), but the first virtual content is not penetrated. However, if the person optionally turns and begins talking directly to the user of the computer system, one or more first criteria are met, and the indication stops being displayed and / or the person penetrates the first virtual content. Alternatively, if one or more first criteria remain unmet, the display of the indication is optionally maintained. Stopping the display of the indication if the penetration criteria are met reduces the resources required to unnecessarily display the indication in the environment, thereby reducing power usage and extending the battery life of battery-powered devices.

[0197] In some embodiments, when a first physical object (e.g., 908) is in a first portion of a physical environment and when an indication (e.g., 909) of a portion of the first physical object (e.g., 908) is not displayed (e.g., because the first physical object is not moving), it is detected via one or more input devices (e.g., 314) that the first physical object (e.g., 908) satisfies one or more first criteria (1024a). In some embodiments, in response to detecting that the first physical object (e.g., 908) satisfies the one or more first criteria, the computer system (e.g., 101) reduces the visual prominence of the first virtual content (e.g., 904) relative to the three-dimensional environment (e.g., 902) to reveal the portion of the first physical object (e.g., 908) (1024b). For example, even if an indication (e.g., 909) is not displayed for the person 908 and the person 908 satisfies the one or more first criteria, the person 908 is visible through, such as Fig.9EAs shown. In some embodiments, even if no indication is displayed for the first physical object, but it is detected that the first physical object meets one or more first criteria, the visual prominence of the first virtual content is reduced relative to the three-dimensional environment to reveal the portion of the first physical object. For example, if the first physical object is optionally a person sitting on a couch (and therefore no indication representing the person is displayed) and the person turns to the user of the computer system and begins to talk directly to the user of the computer system, the person will optionally penetrate the first virtual content. Even if the indication is not displayed, if the first physical object meets the penetration criteria, revealing the portion of the first physical object enables the user to view and interact with the first physical object in a timely manner, which reduces the need for additional input to penetrate the first physical object, thereby reducing power usage and extending the battery life of battery-powered devices.

[0198] In some embodiments, the first physical object (e.g., 908) is a person other than the user of the computer system (e.g., 101) (e.g., the user's spouse, partner, child, friend, or simply another person in the environment), and the one or more first criteria include criteria that are satisfied when the person's gaze is directed toward the user (e.g., of the computer system), the person (e.g., 908) is oriented toward the user, the person (e.g., 908) is talking to the user, the person (e.g., 908) is a known person specified by the user, or the person (e.g., 908) is within a threshold distance of the user (1026). For example, if the person 908 is looking at the user of the computer system 101, is oriented toward the user of the computer system 101, is talking to the user of the computer system 101, is a known person of the user of the computer system 101, and / or is within a threshold distance of the user of the computer system 101, then the person 908 will optionally be penetrated, as shown in FIG. Fig.9E Details of such criteria are optionally as described with reference to method 800. Allowing penetration based on the gaze of the person directed toward the user of the computer system, the orientation of the person relative to the user of the computer system, the person talking to the user of the computer system, based on the computer system's recognition of the person, and / or the person's position relative to the user of the computer system reduces the amount of input required for the user to interact with the person, thereby reducing power usage and extending battery life of battery-powered devices.

[0199] In some embodiments, while the first virtual content (e.g., 904) is displayed with reduced visual prominence, and based on determining that the first physical object (e.g., 908) satisfies the one or more first criteria, it is detected that the first physical object (e.g., 908) no longer satisfies the one or more first criteria (1028a). In some embodiments, the first physical object is, optionally, a person who satisfies the one or more first criteria by talking directly to the user of the computer system to achieve penetration. In some embodiments, the person stops talking directly to the user of the computer system and thus no longer satisfies the one or more first criteria. In some embodiments, in response to detecting that the first virtual content (e.g., 908) no longer satisfies the one or more first criteria (1028b), the visual prominence of the first virtual content (e.g., 904) is increased relative to the three-dimensional environment (1028c). For example, if the person 908 is Fig.9E pierced, and subsequently no longer meets one or more of the first criteria, the visual prominence of the user interface 904 increases, as shown. Fig.9A As shown. In some embodiments, and in response to the person no longer satisfying one or more of the first criteria, the computer system reduces the penetration of the person so that a user of the computer system can better view the first virtual content. For example, the visual prominence of the first virtual content is increased back to its visual prominence before the penetration. In some embodiments, an indication (e.g., 909) of a portion of a first physical object (e.g., 908) is displayed concurrently with the first virtual content (e.g., 904) in a three-dimensional environment (e.g., 902) without revealing the portion of the first physical object (e.g., 908) (1028d). For example, an indication 909 of person 908 is displayed concurrently with user interface 904 in three-dimensional environment 902 without revealing person 908, as shown. Fig. 9B In some embodiments, an indication is displayed within the three-dimensional environment to indicate a person who no longer meets the penetration criteria. If the physical object no longer meets the penetration criteria, ceasing penetration and displaying the indication reduces distraction to the user of the computer system, which reduces the need for additional input to return to the display of the indication, thereby reducing power usage and extending battery life of battery-powered devices.

[0200] In some embodiments, in response to detecting a first physical object (e.g., 910) in a first portion of a physical environment (1030a), based on determining that the first physical object (e.g., 910) is in front of first virtual content (e.g., 906) and a portion of the physical object (e.g., 910) is obscuring at least a portion of the first virtual content (e.g., 906) (e.g., in some embodiments, the first physical object is optionally in front of the first virtual content from a user's point of view. For example, the first physical object is optionally a person walking in front of at least a portion of the first virtual content.), modifying the visual appearance of the portion of the first physical object (e.g., 910) that is obscuring at least a portion of the first virtual content (e.g., 906) (1030b), such as Fig.9E 910 in the user's viewpoint. For example, the computer system performs one or more of the following to change the appearance of the portion of the first physical object that is obscuring the first virtual content from the user's viewpoint: 1) increasing the transparency of the portion of the first physical object so that the first virtual content is at least partially visible through the portion of the first physical object; 2) increasing the blurriness of the portion of the first physical object; 3) reducing the color saturation of the portion of the first physical object; 4) reducing the brightness of the portion of the first physical object. Modifying the appearance of the portion of the object that is obscuring the virtual content indicates to the user that the virtual content is being obscured and reduces the impact of such obscuration on the user, which reduces the need for additional inputs for reducing the obscuration, thereby reducing power usage and extending battery life of battery-powered devices.

[0201] It should be understood that the specific order in which the operations in method 1000 are described is merely exemplary and is not intended to indicate that the described order is the only order in which these operations can be performed. One of ordinary skill in the art will appreciate that a variety of ways are used to reorder the operations described herein. In some embodiments, aspects / operations of methods 800 and 1000 may be interchanged, replaced, and / or added between these methods. For example, the three-dimensional environment of method 800 and / or 1000, the indication of the object of method 800 and / or 1000, the environmental impact of method 800 and / or 1000, the penetration standard of method 800 and / or 1000, and / or the characteristics of the physical object of method 800 and / or 1000 are optionally interchanged, replaced, and / or added between these methods. For the sake of simplicity, these details are not repeated here.

[0202] For the purpose of explanation, the foregoing description is described by reference to specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the invention to the disclosed precise form. According to the above teachings, many modifications and variations are possible. The embodiments are selected and described in order to best illustrate the principles of the present invention and its practical application, so that other technical personnel in the field can best use the present invention and the various described embodiments with various modifications suitable for the specific purpose contemplated.

[0203] As described above, one aspect of the present technology is to collect and use data from various sources to improve the user's XR experience. The present disclosure contemplates that, in some instances, the collected data may include personal information data that uniquely identifies or can be used to contact or locate a specific person. Such personal information data may include demographic data, location-based data, phone numbers, email addresses, Twitter IDs, home addresses, data or records related to the user's health or fitness level (e.g., vital sign measurements, medication information, exercise information), date of birth, or any other identification or personal information.

[0204] The present disclosure recognizes that the use of such personal information data in the present technology can be used to benefit the user. For example, the personal information data can be used to improve the user's XR experience. In addition, the present disclosure also anticipates other uses of personal information data that benefit the user. For example, health and fitness data can be used to provide insights into the user's overall health or can be used as positive feedback to individuals who use technology to pursue health goals.

[0205] The disclosure anticipates that entities responsible for the collection, analysis, disclosure, transmission, storage or other uses of such personal information data will comply with sound privacy policies and / or privacy practices. Specifically, such entities should implement and adhere to the use of privacy policies and privacy practices that are recognized as meeting or exceeding industry or government requirements for maintaining the privacy and security of personal information data. Such policies should be easy for users to access and should be updated as changes in the collection and / or use of data occur. Personal information from users should be collected for legal and reasonable entity purposes and should not be shared or sold outside these legal purposes. In addition, such collection / sharing should be carried out after receiving the user's informed consent. In addition, such entities should consider taking any necessary steps to protect and safeguard access to such personal information data, and ensure that other entities with access to personal information data comply with the privacy policies and procedures of other entities. In addition, such entities can subject themselves to third-party assessments to prove that they comply with widely accepted privacy policies and privacy practices. In addition, policies and practices should be adapted to specific types of personal information data collected and / or accessed, and to applicable laws and standards including considerations of special jurisdictions. For example, in the United States, the collection or acquisition of certain health data may be governed by federal and / or state laws, such as the Health Insurance Portability and Accountability Act (HIPAA); while health data in other countries may be subject to other regulations and policies and should be handled accordingly. Therefore, different privacy practices should be advocated for different types of personal data in each country.

[0206] Notwithstanding the foregoing, the present disclosure also contemplates implementation scenarios in which users selectively block the use or access of personal information data. That is, the present disclosure contemplates that hardware elements and / or software elements may be provided to prevent or block access to such personal information data. For example, with respect to XR experiences, the technology of the present invention may be configured to allow users to choose to "opt in" or "opt out" to participate in the collection of personal information data at any time during or after registration for a service. In addition to providing "opt-in" and "opt-out" options, the present disclosure contemplates providing notifications related to access or use of personal information. For example, a user may be notified that the user's personal information data will be accessed when downloading an application, and then be reminded again just before the personal information data is accessed by the application.

[0207] In addition, it is the intention of the present disclosure that personal information data should be managed and processed in a manner that minimizes the risk of unintentional or unauthorized access or use. Once the data is no longer needed, the risk can be minimized by limiting the collection of data and deleting the data. In addition, and when applicable, including in certain health-related applications, data de-identification can be used to protect the privacy of users. De-identification can be facilitated by removing specific identifiers (e.g., date of birth, etc.), controlling the amount or specificity of stored data (e.g., collecting location data at the city level rather than at the address level), controlling how the data is stored (e.g., aggregating data between users), and / or other methods when appropriate.

[0208] Thus, while the present disclosure broadly covers the use of personal information data to implement one or more of the various disclosed embodiments, the present disclosure also contemplates that various embodiments may be implemented without requiring access to such personal information data. That is, various embodiments of the present technology will not fail to function properly due to the lack of all or a portion of such personal information data. For example, an XR experience may be generated by inferring preferences based on non-personal information data or an absolute minimum amount of personal information (such as content requested by a device associated with a user, other non-personal information available to a service, or publicly available information).

Claims

1. A method comprising: At a computer system in communication with a display generation component and one or more input devices: detecting, via the one or more input devices, a first physical object located at a first position in a first portion of a physical environment while a three-dimensional environment is visible via the display generation component, wherein the three-dimensional environment includes first virtual content that is obscuring the first portion of the physical environment; and In response to detecting the first physical object in the first portion of the physical environment: reducing a visual prominence of the first virtual content relative to the three-dimensional environment based on determining that the first physical object at the first location satisfies one or more first criteria and a current value of a first user-defined setting is set to allow penetration for physical objects that satisfy the one or more first criteria; as well as Based on determining that the first physical object at the first position satisfies the one or more first criteria, and the current value of the first user-defined setting is set to prevent penetration of physical objects that satisfy the one or more first criteria, the visual prominence of the first virtual content relative to the three-dimensional environment is maintained.

2. The method according to claim 1, further comprising: In response to detecting the first physical object in the first portion of the physical environment: Based on determining that the first physical object at the first location does not satisfy the one or more first criteria, maintaining the visual prominence of the first virtual content relative to the three-dimensional environment.

3. A method according to any one of claims 1 to 2, wherein when the current value of the first user-defined setting corresponds to a do not disturb mode of the computer system, the current value of the first user-defined setting is set to prevent penetration of physical objects that meet the one or more first criteria, and during the do not disturb mode, one or more notifications are suppressed in response to detecting the generation of one or more notification events.

4. The method according to any one of claims 1 to 3, further comprising: In response to detecting the first physical object in the first portion of the physical environment: reducing the visual prominence of the first virtual content relative to the three-dimensional environment based on determining that the current value of the first user-defined setting corresponds to a dynamic setting for the first user-defined setting and determining that the one or more first criteria are satisfied, wherein the satisfaction of the one or more first criteria is based on one or more characteristics of the first physical object; as well as Based on determining that the current value of the first user-defined setting corresponds to a dynamic setting for the first user-defined setting and determining that the one or more first criteria are not satisfied, the visual prominence of the first virtual content relative to the three-dimensional environment is maintained.

5. The method of claim 4, wherein the first physical object is a person other than a user of the computer system), and the one or more first criteria include a criterion that is satisfied when the person's gaze is directed toward the user of the computer system.

6. The method of any one of claims 4 to 5, wherein the first physical object is a person other than a user of the computer system, and the one or more first criteria include criteria that are satisfied when the person is oriented toward the user of the computer system.

7. A method according to any one of claims 4 to 6, wherein the first physical object is a person other than a user of the computer system, and the one or more first criteria include criteria that are satisfied when the person is conversing with the user of the computer system.

8. A method according to any one of claims 4 to 7, wherein the first physical object is a person other than a user of the computer system, and the one or more criteria include a criterion that is satisfied when the person is a known person as specified by the user of the computer system.

9. A method according to any one of claims 4 to 8, wherein the first physical object is a person other than a user of the computer system, and the one or more first criteria include criteria that are satisfied when the person is within a threshold distance of the user of the computer system.

10. The method according to any one of claims 1 to 9, wherein the three-dimensional environment includes the first virtual content and the three-dimensional environment is displayed with an environmental effect, the method further comprising: In response to detecting the first physical object in the first portion of the physical environment: The visual prominence of the environmental effect is reduced in the three-dimensional environment based on determining that the first physical object at the first location satisfies the one or more first criteria and the current value of the first user-defined setting is set to allow penetration for physical objects that satisfy the one or more first criteria.

11. The method of claim 10, wherein the environmental effect is displayed in a first portion of the three-dimensional environment that is within a threshold distance of a projection of the first physical object relative to a viewpoint of a user of the computer system, and the environmental effect is displayed in a second portion of the three-dimensional environment that is outside the threshold distance of the projection of the first physical object relative to the viewpoint of the user, the method further comprising: In response to detecting the first physical object in the first portion of the physical environment: Based on determining that the first physical object at the first position satisfies the one or more first criteria and the current value of the first user-defined setting is set to allow penetration of the physical object that satisfies the one or more first criteria, the visual prominence of the first virtual content and the visual prominence of the ambient effects in the first portion of the three-dimensional environment are reduced relative to the three-dimensional environment, while maintaining the visual prominence of the ambient effects in the second portion of the three-dimensional environment.

12. The method of any one of claims 1 to 11, wherein a first portion of the first virtual content is displayed in a first portion of the three-dimensional environment, the first portion being within a threshold distance of the projection of the first physical object relative to a viewpoint of a user of the computer system, and a second portion of the first virtual content is displayed in a second portion of the three-dimensional environment, the second portion being outside the threshold distance of the projection of the first physical object relative to the viewpoint of the user, the method further comprising: In response to detecting the first physical object in the first portion of the physical environment: Based on determining that the first physical object at the first position satisfies the one or more first criteria and the current value of the first user-defined setting is set to allow penetration of the physical object that satisfies the one or more first criteria, reducing the visual prominence of the first portion of the first virtual content in the first portion of the three-dimensional environment relative to the three-dimensional environment while maintaining the visual prominence of the second portion of the first virtual content in the second portion of the three-dimensional environment.

13. The method according to any one of claims 1 to 12, wherein the three-dimensional environment further comprises second virtual content, wherein the first physical object is located between the first virtual content and the second virtual content relative to a viewpoint of a user of the computer system, and the second virtual content is farther from the viewpoint of the user than the first virtual content, the method further comprising: In response to detecting the first physical object in the first portion of the physical environment: Based on determining that the first physical object at the first position satisfies the one or more first criteria and the current value of the first user-defined setting is set to allow penetration of the physical object that satisfies the one or more first criteria, the visual prominence of the first virtual content relative to the three-dimensional environment is reduced while maintaining the visual prominence of the second virtual content relative to the three-dimensional environment.

14. The method according to any one of claims 1 to 13, wherein the three-dimensional environment further includes second virtual content, wherein the first physical object is located between the first virtual content and the second virtual content relative to a viewpoint of a user of the computer system, and the second virtual content is farther from the viewpoint of the user than the first virtual content, the method further comprising: In response to detecting the first physical object in the first portion of the physical environment: Based on determining that the first physical object at the first position satisfies the one or more first criteria and the current value of the first user-defined setting is set to allow penetration of the physical object that satisfies the one or more first criteria, the visual prominence of the first virtual content is reduced relative to the three-dimensional environment and the visual prominence of the second virtual content is reduced relative to the three-dimensional environment.

15. The method according to any one of claims 1 to 14, further comprising: In response to detecting the first physical object in the first portion of the physical environment: based on determining that the current value of the first user-defined setting is set to a first value, and based on determining that one or more second criteria are satisfied, reducing the visual prominence of the first virtual content relative to the three-dimensional environment by a first amount; as well as based on determining that the current value of the first user-defined setting is set to a second value different from the first value, and Based on determining that one or more third criteria are satisfied, the visual prominence of the first virtual content is reduced by a second amount relative to the three-dimensional environment. The method of claim 15 , wherein the one or more second criteria are different from the one or more third criteria.

17. The method of any one of claims 15 to 16, wherein the second amount is different from the first amount.

18. The method according to any one of claims 15 to 17, further comprising: detecting, via the one or more input devices, a user input corresponding to a request to set the current value of the first user-defined setting to the first value, wherein the user input is detected when the current value of the first user-defined setting corresponds to a dynamic setting for the first user-defined setting; In response to detecting the user input, setting the current value of the first user-defined setting to the first value; and After setting the current value of the first user-defined setting to the first value, based on determining that a time period has elapsed since receiving the user input, the current value of the first user-defined setting is automatically adjusted to correspond to the dynamic setting.

19. The method of claim 18, wherein the user input corresponds to a request to switch between a first mode in which the current value of the first user-defined setting is user-defined and a second mode in which the current value of the first user-defined setting is dynamic.

20. The method of any one of claims 1 to 19, wherein the one or more first criteria include criteria that are satisfied when the first physical object is designated by a user as allowing penetration.

21. The method of any one of claims 1 to 20, wherein the one or more first criteria include criteria that are not satisfied when the first physical object is specified by a user as not allowing penetration.

22. The method according to any one of claims 1 to 21, wherein the first virtual content includes a boundary, a first portion of the first virtual content, and a second portion of the first virtual content that is closer to the boundary than the first portion of the first virtual content, and reducing the visual prominence of the first virtual content relative to the three-dimensional environment comprises: reducing a visual prominence of the first portion of the first virtual content relative to the three-dimensional environment by a first amount; and reducing the visual prominence of the second portion of the first virtual content relative to the three-dimensional environment by a second amount greater than the first amount.

23. The method according to any one of claims 1 to 22, further comprising: In response to detecting the first physical object in the first portion of the physical environment, and in accordance with determining that the current value of the first user-defined setting is set to not allow penetration for physical objects that meet the one or more first criteria: Based on determining that the first physical object at the first location satisfies one or more second criteria, the visual prominence of the first virtual content relative to the three-dimensional environment is reduced, wherein the one or more second criteria are safety-related.

24. The method of any one of claims 1 to 23, wherein the computer system is generating an audio output associated with the three-dimensional environment when the first physical object is in the first portion of the physical environment, the method further comprising: In response to detecting the first physical object in the first portion of the physical environment: in response to determining that the first physical object at the first location satisfies one or more first criteria and the current value of the first user-defined setting is set to allow penetration for the physical object satisfying the one or more first criteria, A magnitude of the audio output associated with the three-dimensional environment is reduced.

25. The method of any one of claims 1 to 24, wherein reducing the visual prominence of the first virtual content relative to the three-dimensional environment comprises one or more of: dimming, blurring, or stopping display of one or more portions of the first virtual content.

26. The method of any one of claims 1 to 25, wherein the one or more first criteria include a criterion that is not satisfied when the first virtual content is system virtual content.

27. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; Memory; and One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for: detecting, via the one or more input devices, a first physical object located at a first position in a first portion of a physical environment while a three-dimensional environment is visible via the display generation component, wherein the three-dimensional environment includes first virtual content that is obscuring the first portion of the physical environment; and In response to detecting the first physical object in the first portion of the physical environment: reducing a visual prominence of the first virtual content relative to the three-dimensional environment based on determining that the first physical object at the first location satisfies one or more first criteria and a current value of a first user-defined setting is set to allow penetration for physical objects that satisfy the one or more first criteria; as well as Based on determining that the first physical object at the first position satisfies the one or more first criteria, and the current value of the first user-defined setting is set to prevent penetration of physical objects that satisfy the one or more first criteria, the visual prominence of the first virtual content relative to the three-dimensional environment is maintained.

28. A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by one or more processors of a computer system in communication with a display generation component and one or more input devices, cause the computer system to perform a method comprising: detecting, via the one or more input devices, a first physical object located at a first position in a first portion of a physical environment while a three-dimensional environment is visible via the display generation component, wherein the three-dimensional environment includes first virtual content that is obscuring the first portion of the physical environment; and In response to detecting the first physical object in the first portion of the physical environment: reducing the visual prominence of the first virtual content relative to the three-dimensional environment based on determining that the first physical object at the first location satisfies one or more first criteria and a current value of a first user-defined setting is set to allow penetration for physical objects that satisfy the one or more first criteria; and Based on determining that the first physical object at the first position satisfies the one or more first criteria, and the current value of the first user-defined setting is set to prevent penetration of physical objects that satisfy the one or more first criteria, the visual prominence of the first virtual content relative to the three-dimensional environment is maintained.

29. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; Memory; means for detecting, via the one or more input devices, a first physical object located at a first position in a first portion of a physical environment when a three-dimensional environment is visible via the display generation component, wherein the three-dimensional environment includes first virtual content that is obscuring the first portion of the physical environment; means for, in response to detecting the first physical object in the first portion of the physical environment: means for reducing visual prominence of the first virtual content relative to the three-dimensional environment based on determining that the first physical object at the first location satisfies one or more first criteria and a current value of a first user-defined setting is set to allow penetration for physical objects that satisfy the one or more first criteria; as well as A component for maintaining the visual prominence of the first virtual content relative to the three-dimensional environment based on determining that the first physical object at the first position satisfies the one or more first criteria, while the current value of the first user-defined setting is set to prevent penetration of the physical object that satisfies the one or more first criteria.

30. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; Memory; and One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing any one of the methods according to claims 1 to 26.

31. A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by one or more processors of a computer system in communication with a display generation component and one or more input devices, cause the computer system to perform any one of the methods of claims 1 to 26.

32. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; Memory; and Means for performing any of the methods according to claims 1 to 26.

33. A method comprising: At a computer system in communication with a display generation component and one or more input devices: detecting, via the one or more input devices, a first physical object located in a first portion of a physical environment while a three-dimensional environment is visible via the display generation component, wherein the three-dimensional environment includes first virtual content that is obscuring the first portion of the physical environment; and In response to detecting the first physical object in the first portion of the physical environment: Based on determining that the first physical object satisfies one or more first criteria, reducing the visual prominence of the first virtual content relative to the three-dimensional environment to reveal a portion of the first physical object; and Based on determining that the first physical object does not satisfy the one or more first criteria, an indication of the portion of the first physical object is concurrently displayed in the three-dimensional environment with the first virtual content without revealing the portion of the first physical object.

34. The method of claim 33, wherein the first physical object is a physical object of a first type, the method further comprising: detecting, via the one or more input devices, a second physical object located in the first portion of the physical environment; as well as In response to detecting the second physical object in the first portion of the physical environment: Based on determining that the second physical object is a second type of physical object different from the first type of physical object, maintaining the visual prominence of the first virtual content relative to the three-dimensional environment without revealing a portion of the second physical object and without displaying an indication of a portion of the second physical object with the first virtual content.

35. A method according to any one of claims 33 to 34, wherein the one or more first criteria comprise criteria that are satisfied based on motion of the first physical object.

36. A method according to any one of claims 33 to 35, wherein displaying the indication of the portion of the first physical object includes dimming at least a portion of the first virtual content corresponding to the first physical object, wherein the indication includes at least the dimmed portion of the first virtual content.

37. A method according to any one of claims 33 to 36, wherein the indication of the portion of the first physical object has a size and / or shape corresponding to a size and / or shape of the first physical object.

38. The method of any one of claims 33 to 37, wherein the indication of the portion of the first physical object is displayed at a first position relative to the first virtual content, the method further comprising: detecting, via the one or more input devices, movement of the first physical object from a second position to a third position in the first portion of the physical environment while the indication of the first portion of the first physical object is displayed at the first position relative to the first virtual content; as well as In response to detecting the movement of the first physical object from the second position to the third position in the first part of the physical environment, moving the indication of the first part of the first physical object from the first position relative to the first virtual content to a fourth position relative to the first virtual content that is different from the first position, wherein the fourth position of the indication relative to the first virtual content corresponds to the third position of the first physical object in the first part of the physical environment.

39. A method according to any one of claims 33 to 38, wherein: Reducing the visual prominence of the first virtual content relative to the three-dimensional environment includes reducing the visual prominence of a first portion of the first virtual content, wherein the first portion of the first virtual content has a first size, and The indication of the portion of the first physical object has a second size that is smaller than the first size.

40. The method of any one of claims 33 to 39, wherein in response to detecting the first physical object in the first portion of the physical environment and based on determining that the first physical object does not satisfy the one or more first criteria, displaying the indication of the portion of the first physical object with a first visual prominence, the method further comprises: detecting a decrease in a magnitude of movement of the first physical object while the indication of the portion of the first physical object is displayed with the first visual prominence; as well as In response to detecting the decrease in the magnitude of the movement of the first physical object, a visual prominence of the indication of the portion of the first physical object is reduced.

41. The method of claim 40, wherein reducing the visual prominence of the indication of the portion of the first physical object comprises ceasing the display of the indication of the portion of the first physical object.

42. The method of any one of claims 33 to 41, wherein reducing the visual prominence of the first virtual content relative to the three-dimensional environment comprises ceasing display of at least a portion of the first virtual content.

43. The method according to any one of claims 33 to 42, further comprising: detecting that the first physical object satisfies the one or more first criteria when the indication of the portion of the first physical object is concurrently displayed with the first virtual content in the three-dimensional environment without revealing the portion of the first physical object based on a determination that the first physical object does not satisfy the one or more first criteria; and In response to detecting that the first physical object satisfies the one or more first criteria, ceasing to display the indication of the portion of the first physical object.

44. The method according to any one of claims 33 to 43, further comprising: detecting, via the one or more input devices, that the first physical object satisfies the one or more first criteria when the first physical object is in the first portion of the physical environment and when the indication of the portion of the first physical object is not displayed; as well as In response to detecting that the first physical object satisfies the one or more first criteria, the visual prominence of the first virtual content relative to the three-dimensional environment is reduced to reveal the portion of the first physical object.

45. A method according to any one of claims 33 to 44, wherein the first physical object is a person other than a user of the computer system, and the one or more first criteria include criteria that are satisfied when the person's gaze is directed toward the user, the person is oriented toward the user, the person is talking to the user, the person is a known person specified by the user, or the person is within a threshold distance of the user.

46. ​​The method according to any one of claims 33 to 45, further comprising: When the first virtual content is displayed with reduced visual prominence based on a determination that the first physical object satisfies the one or more first criteria, detecting that the first physical object no longer satisfies the one or more first criteria; and In response to detecting that the first physical object no longer satisfies the one or more first criteria: increasing the visual prominence of the first virtual content relative to the three-dimensional environment; and The indication of the portion of the first physical object is concurrently displayed with the first virtual content in the three-dimensional environment without revealing the portion of the first physical object.

47. The method according to any one of claims 33 to 46, further comprising: In response to detecting the first physical object in the first portion of the physical environment: Based on determining that the first physical object is in front of the first virtual content and the portion of the physical object is obscuring at least a portion of the first virtual content, modifying a visual appearance of the portion of the first physical object that is obscuring the at least a portion of the first virtual content.

48. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; Memory; and One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for: detecting, via the one or more input devices, a first physical object located in a first portion of a physical environment while a three-dimensional environment is visible via the display generation component, wherein the three-dimensional environment includes first virtual content that is obscuring the first portion of the physical environment; and In response to detecting the first physical object in the first portion of the physical environment: Based on determining that the first physical object satisfies one or more first criteria, reducing the visual prominence of the first virtual content relative to the three-dimensional environment to reveal a portion of the first physical object; and Based on determining that the first physical object does not satisfy the one or more first criteria, an indication of the portion of the first physical object is concurrently displayed in the three-dimensional environment with the first virtual content without revealing the portion of the first physical object.

49. A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by one or more processors of a computer system in communication with a display generation component and one or more input devices, cause the computer system to perform a method comprising: detecting, via the one or more input devices, a first physical object located in a first portion of a physical environment while a three-dimensional environment is visible via the display generation component, wherein the three-dimensional environment includes first virtual content that is obscuring the first portion of the physical environment; and In response to detecting the first physical object in the first portion of the physical environment: Based on determining that the first physical object satisfies one or more first criteria, reducing the visual prominence of the first virtual content relative to the three-dimensional environment to reveal a portion of the first physical object; and Based on determining that the first physical object does not satisfy the one or more first criteria, an indication of the portion of the first physical object is concurrently displayed in the three-dimensional environment with the first virtual content without revealing the portion of the first physical object.

50. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; Memory; means for detecting, via the one or more input devices, a first physical object located in a first portion of a physical environment when a three-dimensional environment is visible via the display generation component, wherein the three-dimensional environment includes first virtual content that is obscuring the first portion of the physical environment; as well as means for, in response to detecting the first physical object in the first portion of the physical environment: means for reducing the visual prominence of the first virtual content relative to the three-dimensional environment to reveal a portion of the first physical object based on determining that the first physical object satisfies one or more first criteria; as well as Based on determining that the first physical object does not satisfy the one or more first criteria, means for concurrently displaying an indication of the portion of the first physical object with the first virtual content in the three-dimensional environment without revealing the portion of the first physical object.

51. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; Memory; and One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing any one of the methods according to claims 33 to 37.

52. A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by one or more processors of a computer system in communication with a display generation component and one or more input devices, cause the computer system to perform any of the methods of claims 33 to 47.

53. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; Memory; and Means for performing any of the methods according to claims 33 to 47.