This relates generally to computer systems with a display generation component and one or more input devices that present graphical user interfaces, including but not limited to electronic devices that present three-dimensional environments, via the display generation component, that include virtual objects.
The development of computer systems for augmented reality has increased significantly in recent years. 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 include digital images, video, text, icons, and control elements such as buttons and other graphics.
But 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 a desired outcome in an augmented reality environment, and systems in which manipulation of virtual objects are complex, tedious and error-prone, create a significant cognitive burden on a user, and detract from the experience with the virtual/augmented reality environment. In addition, these methods take longer than necessary, thereby wasting energy. This latter consideration is particularly important in battery-operated devices.
Accordingly, there is a need for computer systems with improved methods and interfaces for providing computer generated experiences to users that make interaction with the computer systems more efficient and intuitive for a user. Such methods and interfaces optionally complement or replace conventional methods for providing computer generated reality experiences to users. Such methods and interfaces reduce the number, extent, and/or nature of the inputs from a user by helping the user to understand the connection between provided inputs and device responses to the inputs, thereby creating a more efficient human-machine interface.
The above deficiencies and other problems associated with user interfaces for computer systems with a display generation component and one or more input devices are reduced or eliminated by the disclosed systems. In some embodiments, the computer system is a desktop computer with an associated display. In some embodiments, the computer system is portable device (e.g., a notebook computer, tablet computer, or 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 touchpad. In some embodiments, the computer system has one or more cameras. In some embodiments, the computer system has a touch-sensitive display (also known 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, the computer system has one or more output devices in addition to the display generation component, the output devices including one or more tactile output generators and one or more audio output devices. In some embodiments, the computer system has a graphical user interface (GUI), one or more processors, memory and one or more modules, programs or sets of instructions stored in the memory for performing multiple functions. In some embodiments, the user interacts with the GUI through stylus and/or finger contacts and gestures on the touch-sensitive surface, movement of the user's eyes and hand in space relative to the GUI or the user's body as captured by cameras and other movement sensors, and voice inputs as captured by one or more audio input devices. In some embodiments, the functions performed through the interactions optionally include image editing, drawing, presenting, word processing, spreadsheet making, game playing, telephoning, video conferencing, e-mailing, instant messaging, workout support, digital photographing, digital videoing, web browsing, digital music playing, note taking, and/or digital video playing. Executable instructions for performing these functions are, optionally, included in a non-transitory computer readable storage medium or other computer program product configured for execution by one or more processors.
There is a need for electronic devices with improved methods and interfaces for interacting with objects in a three-dimensional environment. Such methods and interfaces may complement or replace conventional methods for interacting with objects in a three-dimensional environment. Such methods and interfaces reduce the number, extent, and/or the nature of the inputs from a user and produce a more efficient human-machine interface.
In some embodiments, an electronic device displays virtual objects on a user interface element. In some embodiments, an electronic device displays indications of a content entry tool. In some embodiments, an electronic device provides for interactions with virtual objects in a three-dimensional environment. In some embodiments, an electronic device facilitates marking input associated with a three-dimensional object. In some embodiments, electronic device indicates a boundary of a marking canvas or volume for creating marks associated with an object in a three-dimensional environment.
Note that the various embodiments described above can be combined with any other embodiments described herein. The features and advantages described in the specification are not all inclusive and, in particular, many additional features and advantages will be apparent to one of ordinary skill in the art in view of the drawings, specification, and claims. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter.
For a better understanding of the various described embodiments, reference should be made to the Description of Embodiments below, in conjunction with the following drawings in which like reference numerals refer to corresponding parts throughout the figures.
The present disclosure relates to user interfaces for providing a computer generated reality (CGR) or extended reality (XR) experience to a user, in accordance with some embodiments.
The systems, methods, and GUIs described herein provide improved ways for an electronic device to interact with and manipulate objects in a three-dimensional environment.
In some embodiments, an electronic device displays virtual objects on a user interface element. In some embodiments, one or more virtual objects are able to be placed on the user interface element. In some embodiments, virtual objects on the user interface element are able to be interacted with, manipulated, and/or removed from the user interface element.
In some embodiments, an electronic device displays indications of a content entry tool. In some embodiments, the content entry tool is displayed near the representation of the hand of the user. In some embodiments, the content entry tool indicates the currently active content entry tool that controls the visual characteristics of marks and/or drawings drawn by the user. In some embodiments, a content entry indication is displayed at the location where marks will be inserted in response to a content entry user input. In some embodiments, a plurality of content entry tools are displayed in a three-dimensional environment, which are selectable to change the currently active content entry tool to the selected content entry tool.
In some embodiments, an electronic device provides for interactions with virtual objects in a three-dimensional environment. In some embodiments, a user is able to draw marks (e.g., annotate) directed to objects in a three-dimensional object. In some embodiments, if the marks are drawn in a first context, the marks are drawn in the three-dimensional environment based on the three-dimensional position of the hand of the user. In some embodiments, if the marks are drawn in a second context, the marks are constrained to a plane that is located between the viewpoint of the user and the object to which the marks are directed.
In some embodiments, an electronic device displays a three-dimensional object in a three-dimensional environment. In some embodiments, a user is able to draw marks that are directed to the three-dimensional object. In some embodiments, the electronic device displays those marks in different regions of the three-dimensional environment depending on features of the three-dimensional object. In some embodiments, those regions are planes that are based on the viewpoint of the user when the marks are being created.
In some embodiments, an electronic device displays a three-dimensional object in a three-dimensional environment. In some embodiments, a user is able to draw marks that are directed to the three-dimensional object. In some embodiments, marks for an object can only be made within a canvas (e.g., two-dimensional or three-dimensional canvas). In some embodiments, the electronic device displays indications of one or more boundaries of the canvas based on the distance of a marking cursor from those boundaries.
In addition, in methods described herein where one or more steps are contingent upon one or more conditions having been met, it should be understood that the described method can be repeated in multiple repetitions so that over the course of the repetitions all of the conditions upon which steps in the method are contingent have been met in different repetitions of the method. For example, if a method requires performing a first step if a condition is satisfied, and a second step if the condition is not satisfied, then a person of ordinary skill would appreciate that the claimed steps are repeated until the condition has been both satisfied and not satisfied, in no particular order. Thus, a method described with one or more steps that are contingent upon one or more conditions having been met could be rewritten as a method that is repeated until each of the conditions described in the method has been met. This, however, is not required of system or computer readable medium claims where the system or computer readable medium contains instructions for performing the contingent operations based on the satisfaction of the corresponding one or more conditions and thus is capable of determining whether the contingency has or has not been satisfied without explicitly repeating steps of a method until all of the conditions upon which steps in the method are contingent have been met. A person having ordinary skill in the art would also understand that, similar to a method with contingent steps, a system or computer readable storage medium can repeat the steps of a method as many times as are needed to ensure that all of the contingent steps have been performed.
In some embodiments, as shown in
When describing a XR experience, various terms are used to differentially refer to several related but distinct environments that the user may sense and/or with which a user may interact (e.g., with inputs detected by a computer system 101 generating the XR experience that cause the computer system generating the XR experience to generate audio, visual, and/or tactile feedback corresponding to various inputs provided to the computer system 101). The following is a subset of these terms:
Physical environment: A physical environment refers to a physical world that people can sense and/or interact with without aid of electronic systems. Physical environments, such as a physical park, include physical articles, such as physical trees, physical buildings, and physical people. People can directly sense and/or interact with the physical environment, such as through sight, touch, hearing, taste, and smell.
Extended reality: In contrast, an extended reality (XR) or computer-generated reality (CGR) environment refers to a wholly or partially simulated environment that people sense and/or interact with via an electronic system. In XR, a subset of a person's physical motions, or representations thereof, are 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 comports with at least one law of physics. For example, a XR system may detect a person's head turning and, in response, adjust graphical content and an acoustic field presented to the person in a manner similar to how such views and sounds would change in a physical environment. In some situations (e.g., for accessibility reasons), adjustments to characteristic(s) of virtual object(s) in a XR environment may be made in response to representations of physical motions (e.g., vocal commands). A person may sense and/or interact with a XR object using any one of their senses, including sight, sound, touch, taste, and smell. For example, a person may sense and/or interact with audio objects that create a 3D or spatial audio environment that provides the perception of point audio sources in 3D space. In another example, audio objects may enable audio transparency, which selectively incorporates 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 audio objects.
Examples of XR include virtual reality and mixed reality.
Virtual reality: A virtual reality (VR) environment refers to a simulated environment that is designed to be based entirely on computer-generated sensory inputs for one or more senses. A VR environment comprises a plurality of virtual objects with which a person may sense and/or interact. For example, computer-generated imagery of trees, buildings, and avatars representing people are examples of virtual objects. A person may sense and/or interact with virtual objects in the 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 movements within the computer-generated environment.
Mixed reality: In contrast to a VR environment, which is designed to be based entirely on computer-generated sensory inputs, a mixed reality (MR) environment refers to a simulated environment that is designed to incorporate sensory inputs from the physical environment, or a representation thereof, in addition to including computer-generated sensory inputs (e.g., virtual objects). On a virtuality continuum, a mixed reality environment is anywhere between, but not including, a wholly physical environment at one end and virtual reality environment at the other end. In some MR environments, computer-generated sensory inputs may respond to changes in sensory inputs from the physical environment. Also, some electronic systems for presenting an MR environment may track location and/or orientation with respect to the physical environment to enable virtual objects to interact with real objects (that is, physical articles from the physical environment or representations thereof). For example, a system may account for movements so that a virtual tree appears stationary with respect to the physical ground.
Examples of mixed realities include augmented reality and augmented virtuality.
Augmented reality: An augmented reality (AR) environment refers to a simulated environment in which one or more virtual objects are superimposed over a physical environment, or a representation thereof. For example, an electronic system for presenting an AR environment may have a transparent or translucent display through which a person may directly view the physical environment. The system may be configured to present virtual objects on the transparent or translucent display, so that a person, using the system, perceives the virtual objects superimposed over the physical environment. Alternatively, a system may have an opaque display and one or more imaging sensors that capture images or video of the physical environment, which are representations of the physical environment. The system composites the images or video with virtual objects, and presents the composition on the opaque display. A person, using the system, indirectly views the physical environment by way of the images or video of the physical environment, and perceives the virtual objects superimposed over the physical environment. As used herein, a video of the physical environment shown on an opaque display is called “pass-through video,” meaning a system uses one or more image sensor(s) to capture images of the physical environment, and uses those images in presenting the AR environment on the opaque display. Further alternatively, a system may have a projection system that projects virtual objects into the physical environment, for example, as a hologram or on a physical surface, so that a person, using the system, perceives the virtual objects superimposed over 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 pass-through video, a system may transform one or more sensor images to impose a select perspective (e.g., viewpoint) different than the perspective captured by the imaging sensors. As another example, a representation of a physical environment may be transformed by graphically modifying (e.g., enlarging) portions thereof, such that the modified portion may be representative but not photorealistic versions of the originally captured images. As a further example, a representation of a physical environment may be transformed by graphically eliminating or obfuscating portions thereof.
Augmented virtuality: An augmented virtuality (AV) environment refers to a simulated environment in which a virtual or computer-generated environment incorporates one or more sensory inputs from the physical environment. The sensory inputs may be representations of one or more characteristics of the physical environment. For example, an AV park may have virtual trees and virtual buildings, but people with faces photorealistically reproduced from images taken of physical people. As another example, a virtual object may adopt a shape or color of a physical article imaged by one or more imaging sensors. As a further example, a virtual object may adopt shadows consistent with the position of the sun in the physical environment.
Viewpoint-locked virtual object: A virtual object is viewpoint-locked when a computer system displays the virtual object at the same location and/or position in the viewpoint of the user, even as the viewpoint of the user shifts (e.g., changes). In embodiments where the computer system is a head-mounted device, the viewpoint of the user is locked to the forward facing direction of the user's head (e.g., the viewpoint of the user is at least a portion of the field-of-view of the user when the user is looking straight ahead); thus, the viewpoint of the user remains fixed even as the user's gaze is shifted, without moving the user's head. In embodiments where the computer system has a display generation component (e.g., a display screen) that can be repositioned with respect to the user's head, the viewpoint of the user is the augmented reality view that is being presented to the user on a display generation component of the computer system. For example, a viewpoint-locked virtual object that is displayed in the upper left corner of the viewpoint of the user, when the viewpoint of the user is in a first orientation (e.g., with the user's head facing north) continues to be displayed in the upper left corner of the viewpoint of the user, even as the viewpoint of the user changes to a second orientation (e.g., with the user's head facing west). In other words, the location and/or position at which the viewpoint-locked virtual object is displayed in the viewpoint of the user is independent of the user's position and/or orientation in the physical environment. In embodiments in which the computer system is a head-mounted device, the viewpoint of the user 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.”
Environment-locked virtual object: A virtual object is environment-locked (alternatively, “world-locked”) when a computer system displays the virtual object at a location and/or position in the viewpoint of the user that is based on (e.g., selected in reference to and/or anchored to) a location and/or object in the three-dimensional environment (e.g., a physical environment or a virtual environment). As the viewpoint of the user shifts, the location and/or object in the environment relative to the viewpoint of the user changes, which results in the environment-locked virtual object being displayed at a different location and/or position in the viewpoint of the user. For example, an environment-locked virtual object that is locked onto a tree that is immediately in front of a user is displayed at the center of the viewpoint of the user. When the viewpoint of the user shifts to the right (e.g., the user's head is turned to the right) so that the tree is now left-of-center in the viewpoint of the user (e.g., the tree's position in the viewpoint of the user shifts), the environment-locked virtual object that is locked onto the tree is displayed left-of-center in the viewpoint of the user. In other words, the location and/or position at which the environment-locked virtual object is displayed in the viewpoint of the user is dependent on the position and/or orientation of the location and/or object in the environment onto which the virtual object is locked. In some embodiments, the computer system uses a stationary frame of reference (e.g., a coordinate system that is anchored to a fixed location and/or object in the physical environment) in order to determine the position at which to display an environment-locked virtual object in the viewpoint of the user. An environment-locked virtual object 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 moveable part of the environment (e.g., a vehicle, animal, person, or even a representation of portion of the users body that moves independently of a viewpoint of the user, such as a user's hand, wrist, arm, or foot) so that the virtual object is moved as the viewpoint or the portion of the environment moves to maintain a fixed relationship between the virtual object and the portion of the environment.
In some embodiments a virtual object that is environment-locked or viewpoint-locked exhibits lazy follow behavior which reduces or delays motion of the environment-locked or viewpoint-locked virtual object relative to movement of a point of reference which the virtual object is following. In some embodiments, when exhibiting lazy follow behavior the computer system intentionally delays movement of the virtual object when detecting movement of a point of reference (e.g., a portion of the environment, the viewpoint, or a point that is fixed relative to the viewpoint, such as a point that is between 5-300 cm from the viewpoint) which the virtual object is following. For example, when the point of reference (e.g., the portion of the environment or the viewpoint) moves with a first speed, the virtual object is moved by the device to remain locked to the point of reference but moves with a second speed that is slower than the first speed (e.g., until the point of reference stops moving or slows down, at which point the virtual object starts to catch up to the point of reference). In some embodiments, when a virtual object exhibits lazy follow behavior the device ignores small amounts of movement of the point of reference (e.g., ignoring movement of the point of reference that is below a threshold amount of movement such as movement by 0-5 degrees or movement by 0-50 cm). For example, when the point of reference (e.g., the portion of the environment or the viewpoint to which the virtual object is locked) moves by a first amount, a distance between the point of reference 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 point of reference to which the virtual object is locked) and when the point of reference (e.g., the portion of the environment or the viewpoint to which the virtual object is locked) moves by a second amount that is greater than the first amount, a distance between the point of reference 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 point of reference to which the virtual object is locked) and then decreases as the amount of movement of the point of reference 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 point of reference. In some embodiments the virtual object maintaining a substantially fixed position relative to the point of reference includes the virtual object being displayed within a threshold distance (e.g., 1, 2, 3, 5, 15, 20, 50 cm) of the point of reference in one or more dimensions (e.g., up/down, left/right, and/or forward/backward relative to the position of the point of reference).
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 having integrated display capability, windows having integrated display capability, displays formed as lenses designed to be placed on a person's eyes (e.g., similar to contact lenses), headphones/earphones, speaker arrays, input systems (e.g., wearable or handheld controllers with or without haptic feedback), smartphones, tablets, and desktop/laptop computers. A head-mounted system may have one or more speaker(s) and an integrated opaque display. Alternatively, a head-mounted system may be configured to accept an external opaque display (e.g., a smartphone). The head-mounted system may incorporate one or more imaging sensors to capture images or video of the physical environment, and/or one or more microphones to capture audio of the physical environment. Rather than an opaque display, a head-mounted system may have a transparent or translucent display. The transparent or translucent display may have a medium through which light representative of images is directed to a person's eyes. The display may utilize digital light projection, OLEDs, LEDs, uLEDs, liquid crystal on silicon, laser scanning light source, or any combination of these technologies. The medium may be an optical waveguide, a hologram medium, an optical combiner, an optical reflector, or any combination thereof. In one embodiment, the transparent or translucent display may be configured to become opaque selectively. Projection-based systems may employ retinal projection technology that projects graphical images onto a person's retina. Projection systems also may be configured to project virtual objects into the physical environment, for example, as a hologram or on a physical surface. In some embodiments, the controller 110 is configured to manage and coordinate a XR experience for the user. In some embodiments, the controller 110 includes a suitable combination of software, firmware, and/or hardware. The controller 110 is described in greater detail below with respect to
In some embodiments, the display generation component 120 is configured to provide the XR experience (e.g., at least a 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. The display generation component 120 is described in greater detail below with respect to
According to some embodiments, the display generation component 120 provides a XR experience to the user while the user is virtually and/or physically present within the scene 105.
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.). As such, the display generation component 120 includes one or more XR displays provided to display the XR content. For example, in various embodiments, the display generation component 120 encloses the field-of-view of the user. In some embodiments, the display generation component 120 is a handheld device (such as a smartphone or tablet) configured to present XR content, and the user holds the device with a display directed towards the field-of-view of the user and a camera directed towards the scene 105. In some embodiments, the handheld device is optionally placed within an enclosure that is worn on the head of the user. 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 a XR chamber, enclosure, 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) could 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 that happen in a space in front of a handheld or tripod mounted device could similarly be implemented with an HMD where the interactions happen in a space in front of the HMD and the responses of the XR content are displayed via the HMD. Similarly, a user interface showing interactions with XR content triggered based on movement of a handheld or tripod mounted device relative to the physical environment (e.g., the scene 105 or a part of the user's body (e.g., the user's eye(s), head, or hand)) could similarly be implemented with an HMD where the movement is caused by movement of the HMD relative to the physical environment (e.g., the scene 105 or a part of the user's body (e.g., the user's eye(s), head, or hand)).
While pertinent features of the operating environment 100 are shown in
In some embodiments, the one or more communication buses 204 include circuitry that interconnects and controls 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 touchpad, a joystick, one or more microphones, one or more speakers, one or more image sensors, one or more displays, and/or the like.
The memory 220 includes high-speed random-access memory, such as dynamic random-access memory (DRAM), static random-access memory (SRAM), double-data-rate random-access memory (DDR RAM), or other random-access solid-state memory devices. In some embodiments, the memory 220 includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 220 optionally includes one or more storage devices remotely located from the one or more processing units 202. The memory 220 comprises 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 a subset thereof including an optional operating system 230 and a XR experience module 240.
The operating system 230 includes instructions for handling various basic system services and for performing hardware dependent tasks. In some embodiments, the XR experience module 240 is configured to manage and coordinate one or more XR experiences for one or more users (e.g., a single XR experience for one or more users, or multiple XR experiences for respective groups of one or more users). To that end, in various embodiments, the XR experience module 240 includes a data obtaining unit 241, a tracking unit 242, a coordination unit 246, and a data transmitting unit 248.
In some embodiments, the data obtaining unit 241 is configured to obtain data (e.g., presentation data, interaction data, sensor data, location data, etc.) from at least the display generation component 120 of
In some embodiments, the tracking unit 242 is configured to map the scene 105 and to track the position/location of at least the display generation component 120 with respect to the scene 105 of
In some embodiments, the coordination unit 246 is configured to manage and coordinate the XR experience presented to the user by the display generation component 120, and optionally, by one or more of the output devices 155 and/or peripheral devices 195. To that end, in various embodiments, the coordination unit 246 includes instructions and/or logic therefor, and heuristics and metadata therefor.
In some embodiments, the data transmitting unit 248 is configured to transmit data (e.g., presentation data, location data, etc.) to at least the display generation component 120, and optionally, to one or more of the input devices 125, output devices 155, sensors 190, and/or peripheral devices 195. To that end, in various embodiments, the data transmitting unit 248 includes instructions and/or logic therefor, and heuristics and metadata therefor.
Although the data obtaining 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 transmitting unit 248 are shown as residing on a single device (e.g., the controller 110), it should be understood that in other embodiments, any combination of the data obtaining 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 transmitting unit 248 may be located in separate computing devices.
Moreover,
In some embodiments, the one or more communication buses 304 include circuitry that interconnects and controls communications between system components. In some embodiments, the one or more I/O devices and sensors 306 include at least one of an inertial measurement unit (IMU), an accelerometer, a gyroscope, a thermometer, one or more physiological sensors (e.g., blood pressure monitor, heart rate monitor, blood oxygen sensor, blood glucose sensor, etc.), one or more microphones, one or more speakers, a haptics engine, one or more depth sensors (e.g., a structured light, a time-of-flight, or the like), and/or the like.
In some embodiments, the one or more XR displays 312 are configured to provide the XR experience to the user. In some embodiments, the 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 transitory (OLET), organic light-emitting diode (OLED), surface-conduction electron-emitter display (SED), field-emission display (FED), quantum-dot light-emitting diode (QD-LED), micro-electro-mechanical system (MEMS), and/or the like display types. In some embodiments, the one or more XR displays 312 correspond to diffractive, reflective, polarized, holographic, etc. 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 a XR display for each eye of the user. In some embodiments, the one or more XR displays 312 are capable of presenting MR and VR content. In some embodiments, the one or more XR displays 312 are capable of presenting MR or VR content.
In some embodiments, the one or more image sensors 314 are configured to obtain image data that corresponds to at least a portion of the face of the user that includes the eyes of the user (and may be referred to as an eye-tracking camera). In some embodiments, the one or more image sensors 314 are configured to obtain image data that corresponds to at least a portion of the user's hand(s) and optionally arm(s) of the user (and may be referred to as a hand-tracking camera). In some embodiments, the one or more image sensors 314 are configured to be forward-facing so as to obtain image data that corresponds to the scene as would be viewed by the user if the display generation component 120 (e.g., HMD) was not present (and may be referred to as a scene camera). The one or more optional image sensors 314 can include one or more RGB cameras (e.g., with a complimentary metal-oxide-semiconductor (CMOS) image sensor or a charge-coupled device (CCD) image sensor), one or more infrared (IR) cameras, one or more event-based cameras, and/or the like.
The memory 320 includes high-speed random-access memory, such as DRAM, SRAM, DDR RAM, or other random-access solid-state memory devices. In some embodiments, the memory 320 includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 320 optionally includes one or more storage devices remotely located from the one or more processing units 302. The memory 320 comprises 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 a XR presentation module 340.
The operating system 330 includes instructions for handling various basic system services and for performing hardware dependent tasks. In some embodiments, the XR presentation module 340 is configured to present XR content to the user via the one or more XR displays 312. To that end, in various embodiments, the XR presentation module 340 includes a data obtaining unit 342, a XR presenting unit 344, a XR map generating unit 346, and a data transmitting unit 348.
In some embodiments, the data obtaining unit 342 is configured to obtain data (e.g., presentation data, interaction data, sensor data, location data, etc.) from at least the controller 110 of
In some embodiments, the XR presenting unit 344 is configured to present XR content via the one or more XR displays 312. To that end, in various embodiments, the XR presenting unit 344 includes instructions and/or logic therefor, and heuristics and metadata therefor.
In some embodiments, the XR map generating unit 346 is configured to generate a XR map (e.g., a 3D map of the mixed reality scene or a map of the physical environment into which computer-generated objects can be placed to generate the extended reality) based on media content data. To that end, in various embodiments, the XR map generating unit 346 includes instructions and/or logic therefor, and heuristics and metadata therefor.
In some embodiments, the data transmitting unit 348 is configured to transmit data (e.g., presentation data, location data, etc.) to at least the controller 110, and optionally one or more of the input devices 125, output devices 155, sensors 190, and/or peripheral devices 195. To that end, in various embodiments, the data transmitting unit 348 includes instructions and/or logic therefor, and heuristics and metadata therefor.
Although the data obtaining unit 342, the XR presenting unit 344, the XR map generating unit 346, and the data transmitting unit 348 are shown as residing on a single device (e.g., the display generation component 120 of
Moreover,
In some embodiments, the hand tracking device 140 includes image sensors 404 (e.g., one or more IR cameras, 3D cameras, depth cameras, and/or color cameras, etc.) that capture three-dimensional scene information that includes at least a hand 406 of a human user. The image sensors 404 capture the hand images with sufficient resolution to enable the fingers and their respective positions to be distinguished. The image sensors 404 typically capture images of other parts of the user's body, as well, or possibly all of the body, and may have either zoom capabilities or a dedicated sensor with enhanced magnification to capture images of the hand with the desired resolution. In some embodiments, the image sensors 404 also capture 2D color video images of the hand 406 and other elements of the scene. In some embodiments, the image sensors 404 are used in conjunction with other image sensors to capture the physical environment of the scene 105, or serve as the image sensors that capture the physical environments of the scene 105. In some embodiments, the image sensors 404 are positioned relative to the user or the user's environment in a way that a field of view of the image sensors or a portion thereof is used to define an interaction space in which hand movement captured by the image sensors are treated as inputs to the controller 110.
In some embodiments, the image sensors 404 output a sequence of frames containing 3D map data (and possibly color image data, as well) to the controller 110, which extracts high-level information from the map data. This high-level information is typically provided via an Application Program Interface (API) to an application running on the controller, which drives the display generation component 120 accordingly. For example, the user may interact with software running on the controller 110 by moving his hand 406 and changing his hand posture.
In some embodiments, the image sensors 404 project a pattern of spots onto a scene containing the hand 406 and capture an image of the projected pattern. In some embodiments, the controller 110 computes the 3D coordinates of points in the scene (including points on the surface of the user's hand) by triangulation, based on transverse shifts of the spots in the pattern. This approach is advantageous in that it does not require the user to hold or wear any sort of beacon, sensor, or other marker. It gives the depth coordinates of points in the scene relative to a predetermined reference plane, at a certain distance from the image sensors 404. In the present disclosure, the image sensors 404 are assumed to define an orthogonal set of x, y, z axes, so that depth coordinates of points in the scene correspond to z components measured by the image sensors. Alternatively, the image sensors 404 (e.g., a hand tracking device) may use other methods of 3D mapping, such as stereoscopic imaging or time-of-flight measurements, based on single or multiple cameras or other types of sensors.
In some embodiments, the hand tracking device 140 captures and processes a temporal sequence of depth maps containing the user's hand, while the user moves his hand (e.g., whole hand or one or more fingers). Software running on a processor in the image sensors 404 and/or the controller 110 processes the 3D map data to extract patch descriptors of the hand in these depth maps. The software matches these descriptors to patch descriptors stored in a database 408, based on a prior learning process, in order to estimate the pose of the hand in each frame. The pose typically includes 3D locations of the user's hand joints and finger tips.
The software may also analyze the trajectory of the hands and/or fingers over multiple frames in the sequence in order to identify gestures. The pose estimation functions described herein may be interleaved with motion tracking functions, so that patch-based pose estimation is performed only once in every two (or more) frames, while tracking is used to find changes in the pose that occur over the remaining frames. The pose, motion, and gesture information are provided via the above-mentioned API to an application program running on the controller 110. This program may, for example, move and modify images presented on the display generation component 120, or perform other functions, in response to the pose and/or gesture information.
In some embodiments, a gesture includes an air gesture. An air gesture is a gesture that is detected without the user touching (or independently of) an input element that is part of a device (e.g., computer system 101, one or more input device 125, and/or hand tracking device 140) and is based on detected motion of a portion (e.g., the head, one or more arms, one or more hands, one or more fingers, and/or one or more legs) of the user's body through the air including motion of the user's body relative to an absolute reference (e.g., an angle of the user's arm relative to the ground or a distance of the user's hand relative to the ground), relative to another portion of the user's body (e.g., movement of a hand of the user relative to a shoulder of the user, movement of one hand of the user relative to another hand of the user, and/or movement of a finger of the user relative to another finger or portion of a hand of the user), and/or absolute motion of a portion of the user's body (e.g., a tap gesture that includes movement of a hand in a predetermined pose by a predetermined amount and/or speed, or a shake gesture that includes a predetermined speed or amount of rotation of a portion of the user's body).
In some embodiments, input gestures used in the various examples and embodiments described herein include air gestures performed by movement of the user's finger(s) relative to other finger(s) or part(s) of the user's hand) for interacting with an XR environment (e.g., a virtual or mixed-reality environment), in accordance with some embodiments. In some embodiments, an air gesture is a gesture that is detected without the user touching an input element that is part of the device (or independently of an input element that is a part of the device) and is based on detected motion of a portion of the user's body through the air including motion of the user's body relative to an absolute reference (e.g., an angle of the user's arm relative to the ground or a distance of the user's hand relative to the ground), relative to another portion of the user's body (e.g., movement of a hand of the user relative to a shoulder of the user, movement of one hand of the user relative to another hand of the user, and/or movement of a finger of the user relative to another finger or portion of a hand of the user), and/or absolute motion of a portion of the user's body (e.g., a tap gesture that includes movement of a hand in a predetermined pose by a predetermined amount and/or speed, or a shake gesture that includes a predetermined speed or amount of rotation of a portion of the user's body).
In some embodiments in which the input gesture is an air gesture (e.g., in the absence of physical contact with an input device that provides the computer system with information about which user interface element is the target of the user input, such as contact with a user interface element displayed on a touchscreen, or contact with a mouse or trackpad to move a cursor to the 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 inputs, as described below). Thus, in implementations involving air gestures, the input gesture is, for example, detected attention (e.g., gaze) toward the user interface element in combination (e.g., concurrent) with movement of a user's finger(s) and/or hands to perform a pinch and/or tap input, as described in more detail below.
In some embodiments, input gestures that are directed to a user interface object are performed directly or indirectly with reference to a user interface object. For example, a user input is performed directly on the user interface object in accordance with performing the input gesture with the user's hand at a position that corresponds to the position of the user interface object in the three-dimensional environment (e.g., as determined based on a current viewpoint of the user). In some embodiments, the input gesture is performed indirectly on the user interface object in accordance with the user performing the input gesture while a position of the user's hand is not at the position that corresponds to the position of the user interface object in the three-dimensional environment while detecting the user's attention (e.g., gaze) on the user interface object. For example, for direct input gesture, the user is enabled to direct the user's input to the user interface object by initiating the gesture at, or near, a position corresponding to the displayed position of the user interface object (e.g., within 0.5 cm, 1 cm, 5 cm, or a distance between 0-5 cm, as measured from an outer edge of the option or a center portion of the option). For an indirect input gesture, the user is enabled to direct the user's input to the user interface object by paying attention to the user interface object (e.g., by gazing at the user interface object) and, while paying attention to the option, the user initiates the input gesture (e.g., at any position that is detectable by the computer system) (e.g., at a position that does not correspond to the displayed position of the user interface object).
In some embodiments, input gestures (e.g., air gestures) used in the various examples and embodiments described herein include pinch inputs and tap inputs, for interacting with a virtual or mixed-reality environment, in accordance with some embodiments. For example, the pinch inputs and tap inputs described below are performed as air gestures.
In some embodiments, a pinch input is part of an air gesture that includes one or more of: a pinch gesture, a long pinch gesture, a pinch and drag gesture, or a double pinch gesture. For example, a pinch gesture that is an air gesture includes movement of two or more fingers of a hand to make contact with one another, that is, optionally, followed by an immediate (e.g., within 0-1 seconds) break in contact from each other. A long pinch gesture that is an air gesture includes movement of two or more fingers of a hand to make contact with one another for at least a threshold amount of time (e.g., at least 1 second), before detecting a break in contact with one another. For example, a long pinch gesture includes the user holding a pinch gesture (e.g., with the two or more fingers making contact), and the long pinch gesture continues until a break in contact between the two or more fingers is detected. In some embodiments, a double pinch gesture that is an air gesture comprises two (e.g., or more) pinch inputs (e.g., performed by the same hand) detected in immediate (e.g., within a predefined time period) succession of 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., breaks contact between the two or more fingers), and performs a second pinch input within a predefined time period (e.g., within 1 second or within 2 seconds) after releasing the first pinch input.
In some embodiments, a pinch and drag gesture that is an air gesture includes a pinch gesture (e.g., a pinch gesture or a long pinch gesture) performed in conjunction with (e.g., followed by) a drag input that changes a position of the user's hand from a first position (e.g., a start position of the drag) to a second position (e.g., an end position of the drag). In some embodiments, the user maintains the pinch gesture while performing the drag input, and releases the pinch gesture (e.g., opens their two or more fingers) to end the drag gesture (e.g., at the second position). In some embodiments, the pinch input and the drag input are performed by the same hand (e.g., the user pinches two or more fingers to make contact with one another and moves the same hand to the second position in the air with the drag gesture). In some embodiments, the pinch input is performed by a first hand of the user and the drag input is performed by the second hand of the user (e.g., the user's second hand moves from the first position to the second position in the air while the user continues the pinch input with the user's first hand. In some embodiments, an input gesture that is an air gesture includes inputs (e.g., pinch and/or tap inputs) performed using both of the user's two hands. For example, the input gesture includes two (e.g., or more) pinch inputs performed in conjunction with (e.g., concurrently with, or within a predefined time period of) each other. For example, a first pinch gesture performed using a first hand of the user (e.g., a pinch input, a long pinch input, or a pinch and drag input), and, in conjunction with performing the pinch input using the first hand, performing a second pinch input using the other hand (e.g., the second hand of the user's two hands). In some embodiments, movement between the user's two hands (e.g., to increase and/or decrease a distance or relative orientation between the user's two hands)
In some embodiments, a tap input (e.g., directed to a user interface element) performed as an air gesture includes movement of a user's finger(s) toward the user interface element, movement of the user's hand toward the user interface element optionally with the user's finger(s) extended toward the user interface element, a downward motion of a user's finger (e.g., mimicking a mouse click motion or a tap on a touchscreen), or other predefined movement of the user's hand. In some embodiments a tap input that is performed as an air gesture is detected based on movement characteristics of the finger or hand performing the tap gesture movement of a finger or hand away from the viewpoint of the user 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 movement characteristics of the finger or hand performing the tap gesture (e.g., an end of movement away from the viewpoint of the user and/or toward the object that is the target of the tap input, a reversal of direction of movement of the finger or hand, and/or a reversal of a direction of acceleration of movement of the finger or hand).
In some embodiments, attention of a user is determined to be directed to a portion of the three-dimensional environment based on detection of gaze directed to the portion of the three-dimensional environment (optionally, without requiring other conditions). In some embodiments, attention of a user is determined to be directed to a portion of the three-dimensional environment based on detection of gaze directed to the portion of the three-dimensional environment with one or more additional conditions such as requiring that gaze is directed to the portion of the three-dimensional environment for at least a threshold duration (e.g., a dwell duration) and/or requiring that the gaze is directed to the portion of the three-dimensional environment while the viewpoint of the user is within a distance threshold from the portion of the three-dimensional environment in order for the device to determine that attention of the user is directed to the portion of the three-dimensional environment, where if one of the additional conditions is not met, the device determines that attention is not directed to the portion of the three-dimensional environment toward which gaze is directed (e.g., until the one or more additional conditions are met).
In some embodiments, the detection of a ready state configuration of a user or a portion of a user is detected by the computer system. Detection of a ready state configuration of a hand is used by a computer system as an indication that the user is likely preparing to interact with the computer system using one or more air gesture inputs performed by the hand (e.g., a pinch, tap, pinch and drag, double pinch, long pinch, or other air gesture described herein). 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 a thumb and one or more fingers extended and spaced apart ready to make a pinch or grab gesture or a pre-tap with one or more fingers extended and palm facing away from the user), based on whether the hand is in a predetermined position relative to a viewpoint of the user (e.g., below the user's head and above the user's waist and extended out from the body by at least 15, 20, 25, 30, or 50 cm), and/or based on whether the hand has moved in a particular manner (e.g., moved toward a region in front of the user above the user's waist and below the user's head or moved away from the user's body or leg). In some embodiments, the ready state is used to determine whether interactive elements of the user interface respond to attention (e.g., gaze) inputs.
In some embodiments, the software may be downloaded to the controller 110 in electronic form, over a network, for example, or it may alternatively be provided on tangible, non-transitory media, such as optical, magnetic, or electronic memory media. In some embodiments, the database 408 is likewise 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 the controller 110 is shown in
In some embodiments, the display generation component 120 uses a display mechanism (e.g., left and right near-eye display panels) for displaying frames including left and right images in front of a user's eyes to thus provide 3D virtual views to the user. For example, a head-mounted display generation component may include left and right optical lenses (referred to herein as eye lenses) located between the display and the user's eyes. In some embodiments, the display generation component may include or be coupled to one or more external video cameras that capture video of the user's environment for display. In some embodiments, a head-mounted display generation component may have a transparent or semi-transparent display through which a user may view the physical environment directly and display virtual objects on the transparent or semi-transparent display. In some embodiments, display generation component projects virtual objects into the physical environment. The virtual objects may be projected, for example, on a physical surface or as a holograph, so that an individual, using the system, observes the virtual objects superimposed over the physical environment. In such cases, separate display panels and image frames for the left and right eyes may not be necessary.
As shown in
In some embodiments, the eye tracking device 130 is calibrated using a device-specific calibration process to determine parameters of the eye tracking device for the specific operating environment 100, for example the 3D geometric relationship and parameters of the LEDs, cameras, hot mirrors (if present), eye lenses, and display screen. The device-specific calibration process may be performed at the factory or another facility prior to delivery of the AR/VR equipment to the end user. The device-specific calibration process may be an automated calibration process or a manual calibration process. A user-specific calibration process may include an estimation of a specific user's eye parameters, for example the pupil location, fovea location, optical axis, visual axis, eye spacing, etc. Once the device-specific and user-specific parameters are determined for the eye tracking device 130, images captured by the eye tracking cameras can be processed using a glint-assisted method to determine the current visual axis and point of gaze of the user with respect to the display, in accordance with some embodiments.
As shown in
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 gaze tracking input 542 from the eye tracking cameras 540 for various purposes, for example in processing the frames 562 for display. The controller 110 optionally estimates the user's point of gaze on the display 510 based on the gaze tracking input 542 obtained from the eye tracking cameras 540 using the glint-assisted methods or other suitable methods. The point of gaze estimated from the gaze tracking input 542 is optionally used to determine the direction in which the user is currently looking.
The following describes several possible use cases for the user's current gaze direction, and is 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 a foveal region determined from the user's current gaze direction than in peripheral regions. As another example, the controller may position or move virtual content in the view based at least in part on the user's current gaze direction. As another example, the controller may display particular virtual content in the view based at least in part on the user's current gaze direction. As another example use case in AR applications, the controller 110 may direct external cameras for capturing the physical environments of the XR experience to focus in the determined direction. The autofocus mechanism of the external cameras 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 lenses 520 may be focusable lenses, and the gaze tracking information is used by the controller to adjust the focus of the eye lenses 520 so that the virtual object that the user is currently looking at has the proper vergence to match the convergence of the user's eyes 592. The controller 110 may leverage the gaze tracking information to direct the eye lenses 520 to adjust focus so that close objects that the user is looking at appear at the right distance.
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 lens(es) 520), eye tracking cameras (e.g., eye tracking camera(s) 540), and light sources (e.g., light sources 530 (e.g., IR or NIR LEDs), mounted in a wearable housing. The light sources emit light (e.g., IR or NIR light) towards the user's eye(s) 592. In some embodiments, the light sources may be arranged in rings or circles around each of the lenses as shown in
In some embodiments, the display 510 emits light in the visible light range and does not emit light in the IR or NIR range, and thus does not introduce noise in the gaze tracking system. Note that the location and angle of eye tracking camera(s) 540 is given by way of example, and is 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 that operates at one wavelength (e.g., 850 nm) and a camera 540 that operates at a different wavelength (e.g., 940 nm) may be used on each side of the user's face.
Embodiments of the gaze tracking system as illustrated in
As shown in
At 610, for the current captured images, if the tracking state is YES, then the method proceeds to element 640. At 610, if the tracking state is NO, then as indicated at 620 the images are analyzed to detect the user's pupils and glints in the images. At 630, if the pupils and glints are successfully detected, then the method proceeds to element 640. Otherwise, the method returns to element 610 to process next images of the user's eyes.
At 640, if proceeding from element 610, the current frames are analyzed to track the pupils and glints based in part on prior information from the previous frames. At 640, if proceeding from element 630, the tracking state is initialized based on the detected pupils and glints in the current frames. Results of processing at element 640 are checked to verify that the results of tracking or detection can be trusted. For example, results may be checked to determine if the pupil and a sufficient number of glints to perform gaze estimation are successfully tracked or detected in the current frames. At 650, if the results cannot be trusted, then the tracking state is set to NO at element 660, and the method returns to element 610 to process next images of the user's eyes. At 650, if the results are trusted, then the method proceeds to element 670. At 670, the tracking state is set to YES (if not already YES), and the pupil and glint information is passed to element 680 to estimate the user's point of gaze.
In some embodiments, the captured portions of real world environment 602 are used to provide a XR experience to the user, for example, a mixed reality environment in which one or more virtual objects are superimposed over representations of real world environment 602.
In some embodiments, sensor group 612-2 includes an eye tracking unit (e.g., eye tracking unit 245 described above with reference to
In some embodiments, sensor group 612-1 includes a hand tracking unit (e.g., hand tracking unit 243 described above with reference to
In some embodiments, sensor group 612-1 optionally includes one or more sensors configured to capture images of real world environment 602, including table 604 (e.g., such as image sensors 404 described above with reference to
In some embodiments, the captured portions of real world environment 602 are used to provide a XR experience to the user, for example, a mixed reality environment in which one or more virtual objects are superimposed over representations of real world environment 602.
Thus, the description herein describes some embodiments of three-dimensional environments (e.g., XR environments) that include representations of real world objects and representations of virtual objects. For example, a three-dimensional environment optionally includes a representation of a table that exists in the physical environment, which is captured and displayed in the three-dimensional environment (e.g., actively via cameras and displays of an computer system, or passively via a transparent or translucent display of the computer system). As described previously, the three-dimensional environment is optionally a mixed reality system in which the three-dimensional environment is based on the physical environment that is captured by one or more sensors of the computer system and displayed via a display generation component. As a mixed reality system, the computer system is optionally able to selectively display portions and/or objects of the physical environment such that the respective portions 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 able to display virtual objects in the three-dimensional environment to appear as if the virtual objects exist in the real world (e.g., physical environment) by placing the virtual objects at respective locations in the three-dimensional environment that have corresponding locations in the real world. For example, the computer system optionally displays a vase such that it appears as if a real vase is placed on top of a table in the physical environment. In some embodiments, a respective location in the three-dimensional environment has a corresponding location in the physical environment. Thus, when the computer system is described as displaying a virtual object at a respective location with respect to a physical object (e.g., such as a location at or near the hand of the user, or at or near a physical table), the computer system displays the virtual object at a particular location in the three-dimensional environment such that it appears as if the virtual object is at or near the physical object in the physical world (e.g., the virtual object is displayed at a location in the three-dimensional environment that corresponds to a location in the physical environment at which the virtual object would be displayed if it were a real object at that particular location).
In some embodiments, real world objects that exist in the physical environment that are displayed in the three-dimensional environment (e.g., and/or visible via the display generation component) can interact with virtual objects that exist only in the three-dimensional environment. For example, a three-dimensional environment can include a table and a vase placed on top of the table, with the table being a view of (or a representation of) a physical table in the physical environment, and the vase being a virtual object.
Similarly, a user is optionally able to interact with virtual objects in the three-dimensional environment using one or more hands 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 of the hands of the user and display representations of the hands of the user in the three-dimensional environment (e.g., in a manner similar to displaying a real world object in three-dimensional environment described above), or in some embodiments, the hands of the user are visible via the display generation component via the ability to see the physical environment through the user interface due to the transparency/translucency of a portion of the display generation component that is displaying the user interface or due to projection of the user interface onto a transparent/translucent surface or projection of the user interface onto the user's eye or into a field of view of the user's eye. Thus, in some embodiments, the hands of the user are displayed at a respective location in the three-dimensional environment and are treated as if they were objects in the three-dimensional environment that are able to interact with the virtual objects in the three-dimensional environment as if they were physical objects in the physical environment. In some embodiments, the computer system is able to update display of the representations of the user's hands in the three-dimensional environment in conjunction with the movement of the user's hands in the physical environment.
In some of the embodiments described below, the computer system is optionally able to determine the “effective” distance between physical objects in the physical world and virtual objects in the three-dimensional environment, for example, for the purpose of determining whether a physical object is directly interacting with a virtual object (e.g., whether a hand is touching, grabbing, holding, etc. a virtual object or within a threshold distance of a virtual object). For example, a hand directly interacting with a virtual object optionally includes one or more of a finger of a hand pressing a virtual button, a hand of a user grabbing a virtual vase, two fingers of a hand of the user coming together and pinching/holding a user interface of an application, and any of the other types of interactions described here. For example, the computer system optionally determines the distance between the hands of the user and virtual objects when determining whether the user is interacting with virtual objects and/or how the user is interacting with virtual objects. In some embodiments, the computer system determines the distance between the hands of the user and a virtual object by determining the distance between the location of the hands in the three-dimensional environment and the location 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 particular position in the physical world, which the computer system optionally captures and displays at a particular corresponding position in the three-dimensional environment (e.g., the position in the three-dimensional environment at which the hands would be displayed if the hands were virtual, rather than physical, hands). The position of the hands in the three-dimensional environment is optionally compared with the position 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 a distance between a physical object and a virtual object by comparing positions in the physical world (e.g., as opposed to comparing positions in the three-dimensional environment). For example, when determining the distance between one or more hands of the user and a virtual object, the computer system optionally determines the corresponding location in the physical world of the virtual object (e.g., the position at which the virtual object would be located in the physical world if it were a physical object rather than a virtual object), and then determines the distance between the corresponding physical position and the one of more hands of the user. In some embodiments, the same techniques are optionally used to determine the distance between any physical object and any virtual object. Thus, 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, the computer system optionally performs any of the techniques described above to map the location of the physical object to the three-dimensional environment and/or map the location of the virtual object to the physical environment.
In some embodiments, the same or similar technique is used to determine where and what the gaze of the user is directed to and/or where and at what a physical stylus held by a user is pointed. For example, if the gaze of the user is directed to a particular position in the physical environment, the computer system optionally determines the corresponding position in the three-dimensional environment (e.g., the virtual position of the gaze), and if a virtual object is located at that corresponding virtual position, the computer system optionally determines that the gaze of the user is directed to that virtual object. Similarly, the computer system is optionally able to determine, based on the orientation of a physical stylus, to where in the physical environment the stylus is pointing. In some embodiments, based on this determination, the computer system determines the corresponding virtual position in the three-dimensional environment that corresponds to the location in the physical environment to which the stylus is pointing, and optionally determines that the stylus is pointing at the corresponding virtual position in the three-dimensional environment.
Similarly, the embodiments described herein may refer to the location of the user (e.g., the user of the computer system) and/or the location of the computer system in the three-dimensional environment. In some embodiments, the user of the computer system is holding, wearing, or otherwise located at or near the computer system. Thus, in some embodiments, the location of the computer system is used as a proxy for the location of the user. In some embodiments, the location of the computer system and/or user in the physical environment corresponds to a respective location in the three-dimensional environment. For example, the location of the computer system would be the location in the physical environment (and its corresponding location in the three-dimensional environment) from which, if a user were to stand at that location facing a respective portion of the physical environment that is visible via the display generation component, the user would see the objects in the physical environment in the same positions, orientations, and/or sizes as they are displayed by or visible via the display generation component of the computer system in the three-dimensional environment (e.g., in absolute terms and/or relative to each other). Similarly, if the virtual objects displayed in the three-dimensional environment were physical objects in the physical environment (e.g., placed at the same locations in the physical environment as they are in the three-dimensional environment, and having the same sizes and orientations in the physical environment as in the three-dimensional environment), the location of the computer system and/or user is the position from which the user would see the virtual objects in the physical environment in the same positions, orientations, and/or sizes as they are displayed by the display generation component of the computer system in the three-dimensional environment (e.g., in absolute terms and/or relative to each other and the real world objects).
In the present disclosure, various input methods are described with respect to interactions with a computer system. When an example is provided using one input device or input method and another example is provided using another input device or input method, it is to be understood that each example may be compatible with and optionally utilizes the input device or input method described with respect to another example. Similarly, various output methods are described with respect to interactions with a computer system. When an example is provided using one output device or output method and another example is provided using another output device or output method, it is to be understood that each example may be compatible with and optionally utilizes the output device or output method described with respect to another example. Similarly, various methods are described with respect to interactions with a virtual environment or a mixed reality environment through a computer system. When an example is provided using interactions with a virtual environment and another example is provided using mixed reality environment, it is to be understood that each example may be compatible with and optionally utilizes the methods described with respect to another example. As such, the present disclosure discloses embodiments that are combinations of the features of multiple examples, without exhaustively listing all features of an embodiment in the description of each example embodiment.
Attention is now directed towards embodiments of user interfaces (“UI”) and associated processes that may be implemented on a computer system, such as portable multifunction device or a head-mounted device, with a display generation component, one or more input devices, and (optionally) one or cameras.
As shown in
In
In some embodiments, virtual objects on visual clipboard 710 are displayed as two-dimensional objects. For example, if a respective virtual object is a three-dimensional object (e.g., is not merely a planar object), then upon placing the respective virtual object onto visual clipboard 710, the respective virtual object is converted into a two-dimensional object (e.g., and is optionally converted back into a three-dimensional object when removed from visual clipboard 710, as will be described in further detail below).
In
In some embodiments, user interface 716 is a user interface of an application that is running on device 101 (e.g., a photos application, a browser application, etc.). In some embodiments, user interface 716 includes content and/or one or more virtual elements and/or virtual objects, such as virtual element 718. For example, a browser application optionally displays a browser user interface that is navigated to a respective web page that includes virtual elements such as text blocks, images, hyperlinks, etc. In another example, a photo application optionally displays a plurality of photos.
In
In some embodiments, while representation 712 is detached from visual clipboard 710, representation 712 is able to be snapped to objects (e.g., representation of objects in real world environment 702 or virtual objects). For example, in
In some embodiments, when representation 712 is detached from visual clipboard 710, representation 712 optionally returns to the size that it had when it was added to visual clipboard 710. In some embodiments, when representation 712 is detached from visual clipboard 710, representation 712 is displayed at a 1:1 scale size (e.g., “actual” size). In some embodiments, the size of representation 712 within three-dimensional environment 704 is not necessarily the size/area of the display generation component (e.g., display screen) encompassed by representation 712. For example, representation 712 has a respective size in three-dimensional environment 704 such that it appears the same as if representation 712 were a physical car having the respective size in the user's real world environment 702. Thus, in some embodiments, the area of the display generation component encompassed by representation 712 is based on the size of representation 712 and the distance of representation 712 from the viewpoint of the user (e.g., based on the perspective effect).
In some embodiments, when representation 712 is detached from visual clipboard 710, one or more affordances are displayed in three-dimensional environment 704 that are selectable to change the size of representation 712. For example, device 101 displays an affordance to display representation 712 at a 1:1 scale (e.g., “actual” size), an affordance to display representation 712 at a 1:2 scale, an affordance to display representation 712 at a 1:4 scale, etc.
In
In
In
In
In the method 800, in some embodiments, an electronic device (e.g., computer system 101 in
In some embodiments, the display generation component is a display integrated with the electronic device (optionally a touch screen display), external display such as a monitor, projector, television, or a hardware component (optionally integrated or external) for projecting a user interface or causing a user interface to be visible to one or more users, etc. In some embodiments, the one or more input devices include an electronic device or component capable of receiving a user input (e.g., capturing a user input, detecting a user input, etc.) and transmitting information associated with the user input to the electronic device. Examples of input devices include a touch screen, mouse (e.g., external), trackpad (optionally integrated or external), touchpad (optionally integrated or external), remote control device (e.g., external), another mobile device (e.g., separate from the electronic device), a handheld device (e.g., external), a controller (e.g., external), a camera, a depth sensor and/or a motion sensor (e.g., a hand tracking sensor, a hand motion sensor), etc.
In some embodiments, the first user interface element is a virtual user interface element displayed in a three-dimensional environment that changes in appearance as a viewpoint of a user changes relative to a location of the first user interface element in the three-dimensional environment (804), such as visual clipboard 710 in
In some embodiments, the first user interface element is displayed in a three-dimensional environment (e.g., the user interface element is the three-dimensional environment and/or is displayed within a three-dimensional environment) that is generated, displayed, or otherwise caused to be viewable by the device (e.g., a computer-generated reality (CGR) environment such as a virtual reality (VR) environment, a mixed reality (MR) environment, or an augmented reality (AR) environment, etc.). In some embodiments, the first user interface is a planar object (optionally facing the user, perpendicular to the user, etc.), similar to a whiteboard, blackboard, dry erase board, chalk board, cork board, etc. In some embodiments, the first user interface element is a sandbox area. In some embodiments, the sandbox is configured to be able to “host” a number of different types of content, such as pictures, images, drawings, websites, two-dimensional virtual objects, three-dimensional virtual objects, etc. In some embodiments, objects on the first user interface element are able to be moved around, resized, edited, drawn on, or removed from the first user interface element.
In some embodiments, the first object has a respective spatial relationship relative to a surface of the first user interface element (806), such as representation 712 being attached to the surface of visual clipboard 710 in
In some embodiments, the first object is displayed between the viewpoint of the user and at least a portion of the first user interface element (808), such as representation 712 in
In some embodiments, while displaying, via the display generation component, the first user interface element that includes the first object, the electronic device detects (810), via the one or more input devices, a first input, such as a selection input by first hand 720 and/or second hand 722 in
In some embodiments, in response to detecting the first input and while the first object continues to be displayed between the viewpoint of the user and at least a portion of the first user interface element (812), in accordance with a determination that the first input includes more than a threshold amount of movement toward the viewpoint of the user in the three-dimensional environment (e.g., if the first input includes a movement of the hand of the user away from the first user interface element and toward the electronic device (and/or toward the user) by more than a threshold amount (e.g., moving away from the first user interface by more than 3 inches, 6 inches, 12 inches, 24 inches, etc.)), the electronic device separates (814) the first object from the first user interface element so that the first object does not have the respective spatial relationship relative to the surface of the first user interface element, such as first hand 720 moving toward the viewpoint of the user by more than the threshold amount in
For example, pulling the first object off the whiteboard using the user's hand. In some embodiments separating the first object from the first user interface causes the first object to no longer be spatially associated with the first user interface element, such that moving the first object does not cause the first user interface element to move and moving the first user interface element does not cause the first object to move (e.g., whereas when the first object is not separated from the first user interface element, the first object optionally moves with the movement of the first user interface element).
In some embodiments, in accordance with a determination that the first input includes less than the threshold amount of movement toward the viewpoint of the user in the three-dimensional environment, the electronic device moves (816) the first object within the first user interface element while maintaining the respective spatial relationship of the first object relative to the surface of the first user interface element, such as second hand 720 not moving toward the viewpoint of the user by more than the threshold amount in
In some embodiments, although the first object is not removed from the first user interface element, the first object moves and optionally is relocated to a new location on the first user interface element in accordance with the movement of the first input. For example, a hand is able to drag-and-drop the first object to a new location on the first user interface element by selecting the first object and, without pulling the first object more than the threshold amount, moving the first object to a new location.
The above-described manner of interacting with objects on a first user interface element (e.g., by removing objects from the first user interface element if the input selecting the object moves away from the first user interface element by more than a threshold amount, but maintaining the objects on the first user interface element if the input does not move away from the first user interface element by more than the threshold amount) provides for a quick and efficient method of maintaining a sandbox of objects, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., by providing a mechanism by which objects can be stored on a first user interface element, relocated, and removed from the first user interface element), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while the first object has the respective spatial relationship relative to a surface of the first user interface element, the first object has a first level of detail (818), such as representation 712 being a two-dimensional object in
In some embodiments, separating the first object from the first user interface element so that the first object does not have the respective spatial relationship relative to the surface of the first user interface element includes displaying the first object with a second level of detail, different from the first level of detail (820), such as representation 712 being a three-dimensional object in
In some embodiments, displaying the first object in an inspection mode allows the user to manipulate the first object in six dimensions (e.g., six degrees of freedom, for example, the ability to move along the three principal axes, the ability to rotate about the three principal axes, etc.) and inspect the different sides of the first object. In some embodiments, the first object is temporarily displayed in inspection mode and in response to a respective user input, the first object is returned to its original position on the first user interface element and optionally returned to its original level of detail (e.g., the first level of detail). In some embodiments, while the first object is in inspection mode, the user is able to move the first object to another location in the environment. In some embodiments, while the first object is in inspection mode, the user is able to edit or otherwise manipulate the first object before, for example, returning the first object to the first user interface element (e.g., with the edits and/or manipulations). In some embodiments, displaying the first object at a second level of detail includes displaying the first object at a higher resolution, at a higher quality, and/or with more information, and/or enabling more manipulation features. In some embodiments, displaying the first object at the second level of detail includes displaying the first object as a three-dimensional object (e.g., if, for example, the first object was displayed as a two-dimensional object when on the first user interface element). In some embodiments, if the first input does not satisfy the one or more first criteria (e.g., the first input does not pull the first object out of the first user interface element by more than the threshold amount), the first object is not removed from the first user interface element and/or the first object is not displayed at the second level of detail (e.g., optionally the first object is maintained displayed at the first level of detail). In some embodiments, if the first input does not satisfy the one or more first criteria, the first object remains attached and/or associated with the first user interface element, and the first object optionally is moved to a different location on the first user interface element.
The above-described manner of displaying objects (e.g., at a first level of detail when on the board and a second level of detail when removed from the board) provides for a quick and efficient method of displaying objects of interest from an element and/or first user interface element in more detail, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., by providing a mechanism by which objects can be stored on and/or in an element and/or first user interface element in a simplified form, optionally enabling more objects to be placed in the first user interface element, while providing a simple mechanism for displaying the objects in less simplified form without the need to display user interface elements for doing so), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, before detecting the first input, the first object is displayed (e.g., in two dimensions) in the first user interface element at a first size (e.g., the first object has a respective size when attached to the first user interface element), and separating the first object from the first user interface element so that the first object does not have the respective spatial relationship relative to the surface of the first user interface element includes displaying the first object in two dimensions at a second size, larger than the first size, in the three-dimensional environment (822) (e.g., the first object is increased in size (or optionally decreased in size) when separated from the first user interface element).
In some embodiments, the size is adjustable by the user in response to a resizing input (e.g., using two hands). In some embodiments, when the first object is attached to the first user interface element, the first object is automatically resized based on the size of the first user interface element (e.g., automatically scaled to fit the first user interface element).
In some embodiments, the first object increases in size due to being moved to a location closer to the viewpoint of the user (e.g., due to the perspective effect). In some embodiments, the first object is displayed at the size that it had before it was attached to the first user interface element (e.g., its non-scaled size). In some embodiments, the first object increases in absolute size with respect to the three-dimensional environment (e.g., not only is the object displayed at a larger size, but the object has a larger size). For example, if the object is 2 inches by 2 inches when attached to the first user interface element (e.g., which optionally is different than the amount of display area that is consumed by the object), then in response to the first input, the object is increased to 2.5 inches by 2.5 inches (e.g., which is also optionally different than the amount of display area that is consumed by the object). In some embodiments, the first object is displayed at an “actual” size (e.g., at 100% scale).
The above-described manner of displaying objects (e.g., at a first size when on the board and a second size when removed from the board) provides for a quick and efficient method of displaying objects of interest from an element and/or first user interface element in more detail, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., by providing a mechanism by which objects can be stored on and/or in an element and/or first user interface element in a simplified form, optionally enabling more objects to be placed in the first user interface element, while providing a simple mechanism for displaying the objects in less simplified form without the need to display user interface elements for doing so), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, prior to separating the first object from the first user interface element, the first object is displayed as a simulated two-dimensional object and separating the first object from the first user interface element so that the first object does not have the respective spatial relationship relative to the surface of the first user interface element includes displaying the first object as a simulated three-dimensional object in the three-dimensional environment (824), such as representation 712 being a two-dimensional object in
In some embodiments, if the first object is not a three-dimensional object (e.g., is originally a two dimensional object), then removing it from the first user interface element does not cause it to become a three-dimensional object (e.g., the first object optionally stays as a two dimensional object). For example, while on the first user interface element, the first object is optionally displayed as a circle (e.g., a two-dimensional circular object), but when removed from the first user interface element, the first object is optionally a sphere (e.g., a three-dimensional circular object). In another example, the first object is optionally a car object and while on the first user interface element, the first object is a flat two-dimensional car but when removed from the first user interface element, the first object is a three-dimensional model of the car.
The above-described manner of displaying objects (e.g., two dimensionally when on the board and three dimensionally when removed from the board) provides for a quick and efficient method of displaying objects of interest from an element and/or first user interface element in more detail, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., by providing a mechanism by which objects can be stored on and/or in an element and/or first user interface element in a simplified form, optionally enabling more objects to be placed in the first user interface element, while providing a simple mechanism for displaying the objects in less simplified form without the need to display user interface elements for doing so), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the first object is a representation of a physical object, and the physical object has a respective size (826), such as representation 712 in
In some embodiments, the input corresponding to a request to display the first object at the respective size is the first input separating the first object from the first user interface element (e.g., a pinch or drag gesture pulling the first object out of the first user interface element causes the object to be displayed at the respective size). In some embodiments, the respective size is a 1:1 scale (e.g., “actual” size). In some embodiments, the respective size is a 1:2 scale (e.g., half size). In some embodiments, a plurality of selectable options associated with a plurality of sizes and/or scales are displayed. In some embodiments, the single selectable option or the plurality of selectable options, depending on the implementation, are displayed in response to removing the first object from the first user interface element (e.g., and optionally are not displayed when the first object is attached to the first user interface element).
In some embodiments, in response to detecting the input corresponding to the request to display the first object at the respective size (830), in accordance with a determination that the respective size is a first size, the electronic device displays (832) the first object in the three-dimensional environment at the first size, such as if representation 712 were displayed at its “actual” size (e.g., relative to the three-dimensional environment). In some embodiments, if the physical object on which the first object is based has a respective dimension and/or size, then the first object is resized to have the respective dimension and/or size. For example, if the first object is a chair and the chair is 3 feet wide by 3 feet long and 4 feet tall, then in response to the input, the first object is resized to be 3 feet wide by 3 feet long and 4 feet tall. In some embodiments, displaying the first object at the first size includes displaying the first object with a respective size as if the first object were the first size relative to the objects in the three-dimensional environment. For example, if the object is four feet tall, then the first object is displayed with a size corresponding to four feet tall based on the location of the object in the three-dimensional environment (e.g., based on how a four-foot tall object would be displayed when located the respective distance away from the viewpoint of the user in the three-dimensional environment).
In some embodiments, in accordance with a determination that the respective size is a second size, different from the first size, the electronic device displays (834) the first object in the three-dimensional environment at the second size (e.g., relative to the three-dimensional environment). For example, if the first object is a chair that is 2 feet wide by 2 feet long and 3 feet tall, then in response to the input, the first object is resized to be 2 feet wide by 2 feet long and 3 feet tall (e.g., based on how an object of the second size would look when located at the respective distance away from the user). In some embodiments, when the first object is displayed according to “actual” size, an indication is displayed indicating that the first object is at an actual size.
The above-described manner of resizing objects provides for a quick and efficient method of displaying objects of interest in more detail (e.g., by increasing the size of the object in response to a request to increase the size of the object) provides for a quick and efficient method of displaying objects of interest in more detail, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., by providing a mechanism by which objects can be displayed at their “real life” sizes), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while the first object is separated from the first user interface element so that the first object does not have the respective spatial relationship relative to the surface of the first user interface element, the electronic device detects (836), via the one or more input devices, user input corresponding to a request to move the first object in the three-dimensional environment, such as the movement of first hand 720 in
In some embodiments, while detecting the user input (838), the electronic device moves (840) the first object in the three-dimensional environment in accordance with the user input, such as the movement of representation 712 in accordance with the movement of first hand 720 (e.g., moving the first object in a direction based on the direction of the movement of the user input) and in accordance with a determination that a location of the first object in the three-dimensional environment during the movement of the first object satisfies one or more criteria relative to a location of a representation of a physical feature in a physical environment of the electronic device, the electronic device snaps (842) the first object to the representation of the physical feature in the three-dimensional environment, such as snapping representation 712 to the surface of table 708 (e.g., if the first object is moved to within a threshold distance (e.g., 1 inch, 3 inches, 6 inches, 12 inches, etc.) from a respective surface (e.g., optionally in response to detecting a termination of the pinch gesture or optionally while the first object is being moved around the three-dimensional environment by the user input), the first object is snapped to the respective surface).
In some embodiments, the speed of the movement of the first object is based on the speed of the movement of the user's hand (e.g., the same speed, a scaled speed, etc.). In some embodiments, the respective surface is optionally a planar surface (e.g., either a virtual surface or a representation of a physical surface in the physical environment of the electronic device), such as a wall, a table top, the floor, etc. In some embodiments, in response to and/or when the first object is snapped to the respective surface, the electronic device generates a sound (e.g., audible tone) and/or a haptic indicating the snapping. In some embodiments, when a first object has snapped to a respective surface, a threshold amount of input is required to remove the first object from the respective surface (e.g., more than 0.5 inches of movement input, 1 inch, 3 inches, 10 inches, etc.). In some embodiments, the threshold amount of input required to remove the first object is the same as the distance within which the first object becomes snapped to the respective surface (e.g., the first object has to be moved beyond the “snap” radius of the respective surface to be removed from the respective surface).
The above-described manner of attaching an object to a surface (e.g., by moving the object to within a threshold distance of the surface and releasing the selection gesture), provides for a quick and efficient method of placing virtual objects around the three-dimensional environment, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., by providing a mechanism by which objects can be quickly and easily placed at different locations in the environment, without requiring the user to perform additional inputs to ensure that the first object is placed perfectly), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the display generation component displays a respective field of view of the three-dimensional environment (844). In some embodiments, while displaying the first object separated from the first user interface element so that the first object does not have the respective spatial relationship relative to the surface of the first user interface element, in accordance with a determination that the first object does not fit within the respective field of view of the three-dimensional environment, the electronic device deemphasizes (846) display of one or more edge regions of the first object in the three-dimensional environment, such as if representation 712 in
In some embodiments, fading the edges of the object that extend beyond the visible area avoids a harsh boundary on the first object. In some embodiments, fading the edges includes increasing the transparency of the edge region of the object. In some embodiments, fading the edges includes blending the edge region of the object. In some embodiments, portions of the three-dimensional environment are visible through the edges of the object that are faded, which optionally include representations of the physical environment around the device.
The above-described manner of displaying an object in the three-dimensional environment (e.g., by fading out or feathering portions of the object that extend beyond the displayed or currently viewable portions of the three-dimensional environment), provides for a quick and efficient method of displaying virtual objects around the environment, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., by smoothing out the edges of the first object and avoiding a harsh edge or boundary) and additionally maintains visibility of portions of the three-dimensional environment that may pose a safety concern if not visible (e.g., if the user were to move around the environment) and helps the user maintain some context of the three-dimensional environment that is behind the first object, which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, in response to detecting the first input and while the first object continues to be displayed between the viewpoint of the user and at least a portion of the first user interface element (848), in accordance with a determination that the first input includes a predefined portion of the user performing a first gesture to form a first shape with the predefined portion of the user, followed by movement of the predefined portion of the user while maintaining the first shape (e.g., if one or more hands of the user performs a pinch gesture using two or more fingers followed by a movement of the hand(s) that is performing the pinch gesture while maintaining the pinch hand shape), the electronic device moves (850) the first object within the first user interface element in accordance with the first movement while maintaining the respective spatial relationship of the first object relative to the surface of the first user interface element, such as second hand 722 performing a pinch gesture directed to representation 714 and moving leftwards while maintaining the pinch gesture, representation 714 remains attached to the surface of visual clipboard 710 and moves leftwards in accordance with the movement of second hand 722 (e.g., moving the first object along the first user interface element without removing the first object from the first user interface element).
In some embodiments, the pinch gesture is directed at the first object. In some embodiments, a pinch gesture directed at the first object includes pinching on a location associated with the first object (e.g., reaching out and pinching the first object or near the first object) or performing the pinch gesture while the gaze of the user is directed at the first object.
In some embodiments, while the hand is maintaining the pinch gesture, the first object is displayed as if slightly moved outwards/separated from the first user interface element (e.g., moved outwards by 0.1 inches, 0.5 inches, 1 inch, 5 inches, 10 inches, etc.) to indicate that the first object is selected and is able to be moved to a new location. In some embodiments, the first object is moved along the first user interface element in the same direction and/or at the same speed as the movement of the hand that is performing the pinch gesture. In some embodiments, while the first object is moving along the first user interface element, the orientation of the first object relative to the first user interface element is maintained (e.g., is not rotated, even if the user input would otherwise have caused a rotation if the first object were not attached to the first user interface element). In some embodiments, in response to detecting a termination of the pinch gesture, the movement of the first object is completed and the first object is placed at the new location (e.g., and optionally the first object returns to the size it had before the pinch gesture was received).
In some embodiments, in accordance with a determination that the first input includes the predefined portion of the user performing the first gesture to form the first shape, followed by the predefined portion of the user performing a second gesture to form a second shape, without detecting movement of the predefined portion of the user (e.g., if one or more hands of the user performs a pinch gesture using two or more fingers followed by a release of the pinch gesture within a threshold amount of time (e.g., within 0.25 seconds, 0.5 seconds, 1 second, 3 seconds) and/or without detecting a movement of the hand by more than a threshold distance (e.g., 0.1 inches, 0.5 inches, 1 inch, 3 inches, etc.) before detecting the release of the pinch gesture (e.g., a pinch-and-release gesture)), the electronic device separates (852) the first object from the first user interface element so that the first object does not have the respective spatial relationship relative to the surface of the first user interface element, such as if first hand 720 performed a pinch-and-release gesture directed to representation 712, causing representation 712 to be removed from visual clipboard 710 in
In some embodiments, the first object moves towards the user's viewpoint in depth and/or away from the first user interface element by a predefined amount (e.g., moves out of the first user interface element by 0.1 inches, 1 inch, 3 inches, 10 inches, etc., optionally while maintaining the same x- and y-position). In some embodiments, the first object is displayed as a three-dimensional object, as described above. In some embodiments, the first object optionally obscures portions of the first user interface element and/or objects on the first user interface element (e.g., due to being at a location that is closer to the viewpoint of the user than objects on the first user interface element). In some embodiments, while the first object is not attached to the first user interface element, the first object is able to be moved to different locations in the three-dimensional environment in response to a selection gesture directed at the first object (e.g., pinch) and a movement of the hand while maintaining the selection gesture. In some embodiments, while the first object is not attached to the first user interface, the first object is able to be rotated to have a different orientation, for example, based on the change of the orientation of the hand of the user while maintaining a selection gesture directed at the first object (e.g., the orientation of the first object is not locked to the orientation of the first user interface element).
The above-described manner of removing an object from the first user interface element (e.g., in response to a pinch-and-release gesture), provides for a quick and efficient method of either moving an object within the first user interface element or remove the object from the first user interface element (e.g., based on whether the user input includes a pinch-and-drag or a pinch-and-release gesture), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., by performing different functions based on the gesture performed by the user, without requiring the user to perform additional inputs to switch modes from either moving the object within the first user interface element or removing the object from the first user interface element), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while the first object is included in the first user interface element and before the first object is separated from the first user interface element so that the first object does not have the respective spatial relationship relative to the surface of the first user interface element (854), the electronic device detects (856), via the one or more input devices, a first user input corresponding to a request to move the first user interface element in the three-dimensional environment, such as first hand 720 in
In some embodiments, in response to detecting the first user input, the electronic device moves (858) the first user interface element in the three-dimensional environment in accordance with the first user input, such as visual clipboard 710 moving in accordance with the movement of first hand 710 in
In some embodiments, while the first object is separated from the first user interface element so that the first object does not have the respective spatial relationship relative to the surface of the first user interface element (860), the electronic device detects (862), via the one or more input devices, a second user input corresponding to a request to move the first user interface element in the three-dimensional environment, such as first hand 720 in
In some embodiments, the second user input is the same input and/or a continuation of the first user input. For example, while moving the first user interface element using a first hand, a second hand can be used to remove the first object from the first user interface element while the first hand continues to move the first user interface element.
In some embodiments, in response to detecting the second user input, the electronic device moves (864) the first user interface element in the three-dimensional environment in accordance with the first user input without moving the first object in the three-dimensional environment, such as visual clipboard 710 moving in accordance with the movement of first hand 710 in
The above-described manner of moving a first user interface element (e.g., by moving objects on the first user interface element with the first user interface element, but not objects that are not on the first user interface element), provides for a quick and efficient method of moving the first user interface element, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the first user interface element includes a second object, the second object has the respective spatial relationship relative to the surface of the first user interface element, and the second object is displayed between the viewpoint of the user and at least a second portion of the first user interface element (866), such as representation 714 in
In some embodiments, while the first object is separated from the first user interface element in accordance with the first input (868) (e.g., while using one hand to perform the first input to remove the first object from the first user interface element (e.g., a pinch gesture directed to the first object and a movement of the hand while maintaining the pinch gesture)) and while the first user interface element includes the second object, the electronic device detects (870), via the one or more input devices, a second input (e.g., detecting an input from a hand other than the hand that is interacting with the first object).
In some embodiments, in response to detecting the second input (872), in accordance with a determination that the second input includes more than the threshold amount of movement toward the viewpoint of the user in the three-dimensional environment, the electronic device separates (874) the second object from the first user interface element so that the second object does not have the respective spatial relationship relative to the surface of the first user interface element, such as if second hand 722 moved outwards away from visual clipboard 710 in
Thus, a user is able to use one hand to interact with one object while using another hand to interact with another object at the same time. In some embodiments, the first object is moved in response to and based on the movement of a first hand that is interacting with the first object (e.g., independently of the second hand), and the second object is moved in response to and based on the movement of the second hand that is interacting with the second object (e.g., independently of the first hand).
The above-described manner of interacting with objects on a first user interface element (e.g., by using one hand to interact with one object while simultaneously using a second hand to interact with a second object), provides for a quick and efficient method of interacting with the first user interface element (e.g., by enabling the user to interact with multiple objects at the same time), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the first input includes input provided by a first predefined portion of the user (876) (e.g., the first input is performed by a first hand of the user). In some embodiments, while the first predefined portion of the user is providing input to the first object, the electronic device detects (878), via the one or more input devices, a second input from a second predefined portion of the user, different from the first predefined portion of the user, directed to the first object, such as detecting an input from first hand 720 and second hand 722 concurrently in
In some embodiments, in response to detecting the second input, the electronic device modifies (880) display of the first object in the three-dimensional environment based on the second input, such as performing a resizing or rotation function on representation 712 instead of a movement function (e.g., the second input performed by the second hand causes the function being performed on the first object to change based on the second input).
For example, without the second input, the first input optionally corresponds to a movement of the first object, but with the second input, the set of inputs corresponds to a request to either rotate or resize the first object (e.g., while the location of the object remains fixed in the three-dimensional environment, even though the first hand continues moving). For example, rotating or resizing the first object is optionally a two-handed operation. For example, pinching with both hands and extending the distance between the two hands while maintaining the pinch input causes the first object to be enlarged (e.g., and reducing the distance between the two hands causes the first object to be reduced in size). In some embodiments, pinching with both hands and moving one hand rotationally around the other hand (or moving both hands rotationally around a central vertex) causes the first object to be rotated. Thus, receiving a pinch gesture from the second hand while the first hand is performing a pinch gesture directed at the first object optionally causes the function to be performed on the first object to change from movement to rotation and/or resize (e.g., while the location of the object remains fixed).
The above-described manner of rotating or resizing a virtual object (e.g., by using a second hand to begin rotating or resizing the object), provides for a quick and efficient method of performing different functions using one or more hands (e.g., without requiring the user to perform additional inputs to switch from movement mode to rotation or resizing mode), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the three-dimensional environment includes a second user interface element that includes a second object, wherein the second object has a second respective relationship relative to a surface of the second user interface element (882), such as user interface 716 including virtual element 718 in
In some embodiments, the other user interface element or user interface includes one or more elements or objects (e.g., similar to the first object). For example, the user interface is a user interface of a browser application and the user interface includes elements from a website (e.g., images, text, links, etc.). In some embodiments, the second user interface element has a different orientation than the first user interface element. For example, the first user interface element is facing forward, towards the viewpoint of the user (e.g., 0 degree angle, 5 degrees to the left or right, 10 degrees, 30 degrees, etc.) while the second user interface element is facing forwards and rightwards relative to the viewpoint of the user (e.g., 10 degrees to the left or right, 15 degrees to the left or right, 30 degrees, 45 degrees, etc.), optionally because the second user interface element is to the left of the first user interface element.
In some embodiments, while displaying the three-dimensional environment including the first user interface element and the second user interface element, the electronic device detects (884), via the one or more input devices, a second input corresponding to a request to move the second object from the second user interface element to the first user interface element, such as the user input by third hand 724 in
In some embodiments, the second input includes a movement component that is sufficient to remove the second object from the second user interface element (e.g., a movement by more than a threshold amount, such as 0.1 inches, 1 inch, 3 inches, 10 inches, etc.). In some embodiments, the second input includes a movement element moving the second object to within a threshold distance from the first user interface element (e.g., 0.1 inches, 1 inch, 3 inches, 10 inches, etc.) corresponding to a request to add the second object to the first user interface element.
In some embodiments, in response to detecting the second input (886), the electronic device separates (888) the second object from the second user interface element so that the second element does not have the second respective spatial relationship relative to the surface of the second user interface element, such as in
In some embodiments, when the second object is removed from the second user interface element, the second object has an orientation that is the same or similar to the orientation of the second user interface element. For example, the second object is parallel to the second user interface element when the second object is on the second user interface element and in response to removing the second object from the second user interface element, the second object maintains remains parallel to the second user interface element (e.g., optionally becoming a three-dimensional environment). In some embodiments, the second object changes from being a two-dimensional object to a three-dimensional object when the second object is separated from the second user interface element.
In some embodiments, the second object is re-oriented to align with the orientation of the first user interface element (e.g., as opposed to being aligned with the second user interface element). For example, the second object becomes parallel to the first user interface element when the second object is attached to the first user interface element. In some embodiments, if the second object is a three-dimensional object before being added to the first user interface element, the second object is changed into a two-dimensional object when added to the first user interface element (e.g., the same as or similar to the two-dimensional version of the second object when the second object was attached to the second user interface element).
The above-described manner of moving objects from another user interface to the first user interface element (e.g., by removing the object from the other user interface and adding it to the first user interface element), provides for a quick and efficient method of adding objects to the first user interface element (e.g., by allowing the user to add objects that already exist and are elements of other user interfaces, without recreating the object), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while displaying the first object separated from the first user interface element, the electronic device detects (892), via the one or more input devices, a respective rotation input, such as if first hand 720 performed a rotation motion in
For example, if the hand rotated about the y axis, the first object rotates about the y axis. If the hand rotated about the z axis, the first object optionally rotates about the z-axis. If the hand rotates around an axis other than the principal axes, the first object optionally rotates about the same axis. In some embodiments, additionally or alternatively to rotating the first object along the first axis, the first object is displayed as a three-dimensional object (e.g., and optionally rotated as a three-dimensional object). In some embodiments, the first object is displayed as a three-dimensional object while receiving the user input. For example, in response to detecting a termination of the first user input, the first object is returned to its two dimensionality on the first user interface element.
In some embodiments, in accordance with a determination that the respective rotation input includes an input for rotating the first object about a second axis, different from the first axis, the electronic device rotates (898) the object about the second axis in the three-dimensional environment in accordance with the respective rotation input (e.g., if the rotation of the hand is along a second axis, then the first object is rotated along the second axis). In some embodiments, if the rotation of the hand is along both the first and second axis (e.g., the rotation of the hand has a component that rotates about the first axis and a component that rotates about the second axis), then the first object rotates about both the first and second axis in accordance with the rotation of the hand along the first and second axis, respectively.
The above-described manner of displaying a preview of the first object as a three dimensional object (e.g., in response to receiving a rotational input directed at the first object), provides for a quick and efficient method of displaying a three dimensional preview of the first object (e.g., without requiring the user to remove the first object from the first user interface element to view the first object as a three-dimensional object), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
As shown in
In
In
In some embodiments, while in content entry mode, a representation of the currently active content entry tool is displayed at or near the representation of the hand of the user. For example, in
In
In
In
In some embodiments, if the input is a direct manipulation input, a content entry indicator is displayed at a location based on (e.g., near or attached to) the location of the hand performing the input (e.g., not necessarily on the surface of visual clipboard 908). For example, in
In some embodiments, while performing an input with one hand, a user is able to modify the function to be/being performed by that one hand by (e.g., concurrently) performing an input with a second hand. For example, in
In some embodiments, representations 932-1 to 932-3 are displayed adjacent to or near representation 920 and are selectable (e.g., by hand 916) to change the currently active content entry tool from the tool associated with representation 920 to the tool associated with the selected representation. For example, in
In the method 1000, in some embodiments, an electronic device (e.g., computer system 101 in
In some embodiments, the display generation component is a display integrated with the electronic device (optionally a touch screen display), external display such as a monitor, projector, television, or a hardware component (optionally integrated or external) for projecting a user interface or causing a user interface to be visible to one or more users, etc. In some embodiments, the one or more input devices include an electronic device or component capable of receiving a user input (e.g., capturing a user input, detecting a user input, etc.) and transmitting information associated with the user input to the electronic device. Examples of input devices include a touch screen, mouse (e.g., external), trackpad (optionally integrated or external), touchpad (optionally integrated or external), remote control device (e.g., external), another mobile device (e.g., separate from the electronic device), a handheld device (e.g., external), a controller (e.g., external), a camera, a depth sensor and/or a motion sensor (e.g., a hand tracking sensor, a hand motion sensor), etc. In some embodiments, a hand tracking device includes a visual light sensor (e.g., camera) and/or a depth sensor that is capable of detecting and/or tracking the movement of one or more hands of the user and/or the gestures being performed by the one or more hands of the user.
For example, a sketch pad, a note taking UI, etc. into which the user is able to enter text, draw content, insert objects, insert figures, etc. In some embodiments, the content entry user interface element is displayed in a three-dimensional environment (e.g., the content entry user interface element is the three-dimensional environment and/or is displayed within a three-dimensional environment) that is generated, displayed, or otherwise caused to be viewable by the device (e.g., a computer-generated reality (CGR) environment such as a virtual reality (VR) environment, a mixed reality (MR) environment, or an augmented reality (AR) environment, etc.
For example, the first content entry tool is a pencil tool, a marker tool, a pen tool, a highlighter tool, etc. In some embodiments, the first shape and/or respective pose corresponds to a request to enter content using the first content entry tool or corresponds to a request to change the active content entry tool, depending on the location of the gaze of the user. For example, the first shape is a pinch gesture performed by the hand.
In some embodiments, in response to detecting the first movement of the predefined portion of the user (e.g., hand) while the predefined portion of the user has the first shape (1004), in accordance with a determination that a gaze of the user was directed toward the content entry user interface element when the first movement of the predefined portion of the user was detected, the electronic device enters (1006) first content, based on the first content entry tool, corresponding to the first movement of the predefined portion of the user into the content entry user interface element, such as in
In some embodiments, in accordance with a determination that the gaze of the user was directed toward a menu user interface element when the first movement of the predefined portion of the user was detected, the electronic device selects (1008) a second content entry tool, different from the first content entry tool, for entering content into the content entry user interface element, such as in
In some embodiments, if the user's gaze is directed to a menu user interface element (e.g., that is optionally associated with content entry tools), then in response to the first movement of the hand while the hand has the first shape, a different content entry tool is selected. In some embodiments, if the user's gaze is directed to a menu user interface element (and optionally while a hand of the user is performing a respective gesture and/or has the first shape), one or more representations of content entry tools are displayed (e.g., a content entry palette that includes representations of content entry tools) and moving the hand causes a respective content entry tool of the displayed content entry tools to be selected as the active content entry tool.
The above-described manner of entering content or changing the content entry tool (e.g., based on whether the gaze of the user is directed to the content entry user interface element or a menu user interface element) provides for quick and efficient method of changing the content entry tool while entering content (e.g., by using the same gesture to enter content or change the content entry tool), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring the user to perform different or additional inputs to change content entry tools while drawing content), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, before detecting the predefined portion of the user having the first shape, the electronic device detects (1010), via the hand tracking device, that the predefined portion of the user has a respective shape, such as first hand 916 performing a pre-pinch gesture in
In some embodiments, in response to detecting that the predefined portion of the user has the respective shape (1012), in accordance with a determination that the respective shape is part of a gesture that ends with the predefined portion of the user having the first shape (e.g., the respective shape is an intermediate shape that the hand performs in the process of achieving the first shape), the electronic device displays (1014), via the display generation component, a visual indication of the first content entry tool in proximity to a representation of the predefined portion of the user displayed via the display generation component, such as representation 920 in
For example, the respective shape is a pre-pinch shape created by the thumb and the index finger before the thumb and index finger complete the pinch gesture and make contact. In some embodiments, the representation of the content entry tool is a tool tip, such as a pencil tip, a pen tip, a marker tip, etc. In some embodiments, the representation is displayed between the thumb and index finger (e.g., the location that the thumb and index finger will pinch). In some embodiments, additionally or alternatively to the visual indication of the first content entry tool, the device displays an indication of the shape of the content that will be drawn with the first content entry tool. For example, a pencil tool optionally draws content using a round tip, a marker tool optionally draws content using a flat tip (e.g., rectangular), etc.
In some embodiments, in accordance with a determination that the respective shape is not part of a gesture that ends with the predefined portion of the user having the first shape, the electronic device forgoes (1016) displaying, via the display generation component, the visual indication of the first content entry tool, such as not displaying representation 920 if the gesture performed by first hand 916 is not a pre-pinch gesture (e.g., if the hand is not performing the pre-pinch shape, then do not displaying the representation of the content entry tool).
In some embodiments, while the hand of the user is performing the pre-pinch shape and while displaying the visual indication of the first content entry tool, if the device detects that the hand stops performing the pre-pinch shape (e.g., and optionally that the hand is not performing a pinch gesture), then the visual indication is no longer displayed. In some embodiments, while displaying the visual indication of the first content entry tool, if the device detects that the hand has begun performing the pinch gesture (e.g., and no longer performing the pre-pinch shape), then display of the visual indication is optionally maintained (e.g., to indicate the content entry tool that is currently active and drawing).
The above-described manner of displaying a visual indication of a content entry tool (e.g., in response to detecting that the hand of the user has a shape consistent with performing a pinch gesture, such as by having a pre-pinch shape created between the thumb and index finger) provides for quick and efficient method of indicating the writing tool that will be used to insert content (e.g., by displaying the visual indication of the content entry tool when the hands of the user indicates a likelihood that a content entry input will be performed), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring the user to perform additional inputs to determine the content entry tool that is currently active), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while displaying, via the display generation component, the visual indication of the first content entry tool, the electronic device detects (1018), via the one or more input devices, that the gaze of the user is directed toward the menu user interface element, such as in
Optionally, detecting that the user has looked away from the content entry user interface element, without regard to what the gaze is directed toward after moving away from the content entry user interface element. In some embodiments, the menu user interface element is displayed at a location in the three-dimensional environment near the representation of the user's hand. In some embodiments, the menu user interface element is displayed near the content entry user interface element. In some embodiments, the menu user interface element is displayed near the edge of the display area of the device. In some embodiments, the menu user interface element is associated with content entry for the content entry user interface element and includes one or more affordances for performing one or more functions with respect to interacting with the content entry user interface element. For example, the menu user interface element is optionally a content entry palette that includes one or more affordances for changing the content entry tool.
In some embodiments, in response to detecting that the gaze of the user is directed toward the menu user interface element, the electronic device ceases (1020) display, via the display generation component, the visual indication of the first content entry tool, such as removing display of representation 920 in
The above-described manner of ceasing display of a visual indication of a content entry tool (e.g., in response to detecting that the user's gaze has shifted away from the content entry user interface element and toward the menu user interface element) provides for quick and efficient method of removing display of the visual indication of the content entry tool when not necessary (e.g., when the user is not looking at the content entry user interface element and likely will not be entering content using the content entry tool), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., by automatically reducing display clutter, without requiring the user to perform additional inputs to remove display of the visual indication), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the visual indication of the first content entry tool is displayed while (e.g., further in accordance with a determination that) the gaze of the user is directed toward the content entry user interface element when the predefined portion of the user has the respective shape (1022), such as in
In some embodiments, while displaying, via the display generation component, the visual indication of the first content entry tool, the electronic device detects (1024), via the one or more input devices, that the gaze of the user is not directed toward the content entry user interface element, such as in
In some embodiments, in response to detecting that the gaze of the user is not directed toward the content entry user interface element (e.g., while the predefined portion of the user has the respective shape or without regard to whether or not the predefined portion of the user has the respective shape), the electronic device ceases (1026) display, via the display generation component, the visual indication of the first content entry tool, such as ceasing display of representation 920 in
The above-described manner of ceasing display of a visual indication of a content entry tool (e.g., in response to detecting that the user's gaze has shifted away from the content entry user interface element) provides for quick and efficient method of removing display of the visual indication of the content entry tool when not necessary (e.g., when the user is not looking at the content entry user interface element and likely will not be entering content using the content entry tool), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., by automatically reducing display clutter, without requiring the user to perform additional inputs to remove display of the visual indication), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage (e.g., by avoiding accidental inputs if the user is not looking towards the content entry user interface element).
In some embodiments, before detecting the first movement of the predefined portion of the user while the predefined portion of the user has the first shape, the electronic device detects (1028), via the hand tracking device, a gesture performed by the predefined portion of the user that ends with the predefined portion of the user having the first shape, such as in
In some embodiments, in response to detecting the gesture performed by the predefined portion of the user (1030), in accordance with a determination that the gaze of the user is directed toward the menu user interface element when the gesture performed by the predefined portion of the user is detected, such as in
For example, the displayed tools include a pencil tool, a pen tool, a marker tool, a highlighter tool, etc. In some embodiments, the different content entry tools optionally cause content to be inserted (e.g., drawn) into the content entry user interface element (e.g., via a pinch gesture and a movement while maintaining the pinch gesture) with different visual characteristics. In some embodiments, the visual indications of the multiple available content entry tools are a similar size as the visual indication of the currently active entry tool and are optionally displayed adjacent to the visual indication of the currently active content entry tool. In some embodiments, the visual indications are selectable by moving the hand to a respective position and pinching on the respective visual indication. In some embodiments, in accordance with a determination that the gaze of the user is not directed toward the menu user interface element when the gesture performed by the predetermined portion of the user is detected, forgo displaying the plurality of visual indications of the plurality of available content entry tools. In some embodiments, while displaying the visual indications of the plurality of available content entry tools, if the device detects that the gaze has moved away from the menu user interface element, remove display of the visual indications of the plurality of available content entry tools.
The above-described manner of displaying multiple visual indications of available content entry tools (e.g., in response to detecting a pinch gesture while the gaze of the user is directed at a respective menu user interface element) provides for quick and efficient method of displaying and selecting amongst available content entry tools, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring additional inputs for the user to navigate through multiple user interfaces to change content entry tools), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the first movement of the predefined portion of the user while the predefined portion of the user has the first shape was detected while the plurality of visual indications of the plurality of available content entry tools was displayed, and the first movement of the predefined portion of the user corresponds to movement from a first visual indication of the plurality of visual indications corresponding to the first content entry tool to a second visual indication of the plurality of visual indications corresponding to the second content entry tool (1034), such as in
The above-described manner of selecting content entry tools (e.g., while displaying multiple visual indications of multiple content entry tools, detecting a movement of the hand to a respective content entry tool while maintaining a pinch gesture) provides for quick and efficient method of selecting amongst available content entry tools, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring additional inputs for the user to navigate through multiple user interfaces to change content entry tools), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while displaying the plurality of visual indications of the plurality of available content entry tools, the electronic device detects (1036), via the one or more input devices, a first input including second movement of the predefined portion of the user while the predefined portion of the user does not have the first shape followed by a gesture performed by the predefined portion of the user that ends with the predefined portion of the user having the first shape, such as in
In some embodiments, in response to detecting the second input (1038), in accordance with a determination that the second movement corresponds to movement from a first visual indication of the plurality of visual indications corresponding to the first content entry tool to a second visual indication of the plurality of visual indications corresponding to the second content entry tool, the electronic device selects (1040) the second content entry tool for entering content into the content entry user interface element, such as selecting the content entry tool associated with representation 932-2 in
If the hand moves to the location associated with the second content entry tool and while at the second content entry tool, the hand performs a pinch gesture, then the second content entry tool is optionally selected as the active content entry tool. If the hand moves to (e.g., within a threshold distance of, such as 0.1, 0.2, 0.5, 1, 2, 5 inch of) the location associated with the third content entry tool (e.g., as opposed to the location of the second content entry tool) and while at (e.g., within a threshold distance of, such as 0.1, 0.2, 0.5, 1, 2, 5 inch of) the third content entry tool, the hand performs a pinch gesture, then the third content entry tool is optionally selected as the active content entry tool.
The above-described manner of selecting content entry tools (e.g., while displaying multiple visual indications of multiple content entry tools, detecting a pinch gesture directed to a respective content entry tool) provides for quick and efficient method of selecting amongst available content entry tools, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring additional inputs for the user to navigate through multiple user interfaces to change content entry tools), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the plurality of visual indications of the plurality of available content entry tools are displayed at different respective locations in a three-dimensional environment that includes the content entry user interface element and the plurality of visual indications of the plurality of available content entry tools (1042), such as in
In some embodiments, while displaying the plurality of visual indications of the plurality of available content entry tools, the electronic device detects (1044), via the one or more input devices, second movement of the predefined portion of the user, such as in
In some embodiments, in response to detecting the second movement of the predefined portion of the user (1046), in accordance with a determination that the predefined portion of the user has moved to a location corresponding to a respective location in the three-dimensional environment of a second visual indication of the plurality of visual indications corresponding to the second content entry tool, the electronic device selects (1048) the second content entry tool for entering content into the content entry user interface element, such as selecting the content entry tool associated with representation 932-2 in
For example, if the hand moved to (e.g., within a threshold distance of, such as 0.1, 0.2, 0.5, 1, 2, 5 inch of) the location of the second content entry tool, then in response to detecting a pinch gesture (e.g., if the hand is not maintaining the pinch gesture) or unpinch gesture (e.g., if the hand is maintaining the pinch gesture), then selecting the second content entry tool. If the hand moved to (e.g., within a threshold distance of, such as 0.1, 0.2, 0.5, 1, 2, 5 inch of) the location of the third content entry tool, then selecting the third content entry tool.
The above-described manner of selecting content entry tools (e.g., while displaying multiple visual indications of multiple content entry tools, detecting a pinch gesture directed to a respective content entry tool) provides for quick and efficient method of selecting amongst available content entry tools, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring additional inputs for the user to navigate through multiple user interfaces to change content entry tools), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while displaying the plurality of visual indications of the plurality of available content entry tools, the electronic device detects (1050), via the one or more input devices, a first input including the gaze of the user directed toward a respective visual indication of the plurality of visual indications followed by a gesture performed by the predefined portion of the user that ends with the predefined portion of the user having the first shape while the gaze of the user is directed toward the respective visual indication, such as detecting a selection input by hand 916 while gaze 914 is directed to one of representations 932-1 to 932-3 in
In some embodiments, in response to detecting the first input (1052), in accordance with a determination that the respective visual indication, toward which the gaze of the user is directed, is a visual indication of the plurality of visual indications corresponding to the second content entry tool, the electronic device selects (1054) the second content entry tool for entering content into the content entry user interface element (e.g., if the user's gaze is looking at the second content entry tool when the pinch occurred, then select the second content entry tool as the currently active tool).
In some embodiments, in accordance with a determination that the respective visual indication, toward which the gaze of the user is directed, is a visual indication of the plurality of visual indications corresponding to a third content entry tool, the electronic device selects (1056) the third content entry tool for entering content into the content entry user interface element (e.g., if the user's gaze is looking at the third content entry tool when the pinch occurred, then select the third content entry tool as the currently active tool).
The above-described manner of selecting content entry tools (e.g., while displaying multiple visual indications of multiple content entry tools, detecting a pinch gesture while the gaze of the user is directed to a respective content entry tool) provides for quick and efficient method of selecting amongst available content entry tools, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring additional inputs for the user to navigate through multiple user interfaces to change content entry tools), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while detecting, via the hand tracking device, a respective input provided by the predefined portion of the user (e.g., while detecting a pinch gesture or a pre-pinch position by one hand of the user, such as if the one hand of the user is maintaining a pinch hand shape while moving) and in response to detecting the respective input (1058), in accordance with a determination that a second predefined portion, different from the first predefined portion, of the user is not providing a second respective input, the electronic device performs (1060) a first action with respect to the content entry user interface element in accordance with the respective input, such as if third hand 930 is not performing an input, performing a drawing function in
For example, if the first hand is performing a pinch gesture (e.g., plus motion) to cause insertion of content into the content entry region, and the second hand is not performing any gestures or is not performing a gesture predetermined to correspond to a rotation and/or resizing gesture (e.g., or any other gesture that is performed using two hands), then insert content into the content entry region according to the gesture being performed by the first hand.
In some embodiments, in accordance with a determination that the second predefined portion of the user is providing the second respective input, the electronic device performs (1062) a second action, different from the first action, with respect to the content entry user interface element in accordance with the respective input and the second respective input, such as if third hand 930 is performing an input, performing a resizing and/or rotation function in
The above-described manner of adjusting action performed by a first hand based on a second hand (e.g., by using a second hand to begin rotating or resizing the object), provides for a quick and efficient method of performing different functions using one or more hands (e.g., without requiring the user to perform additional inputs to switch from content insertion mode to rotation or resizing mode), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the content entry user interface element is displayed in a three-dimensional environment (1064). In some embodiments, while detecting the first movement of the predefined portion of the user while the predefined portion of the user has the first shape, and in accordance with a determination that the gaze of the user is directed towards the content entry user interface element (1066) (e.g., while detecting that the user is looking at the content entry user interface element and the hand of the user is holding a pre-pinch shape indicative of a potential or imminent pinch gesture), in accordance with a determination that the predefined portion of the user is at a location corresponding to a first location in the three-dimensional environment that is closer than a threshold distance from a surface of the content entry user interface element (e.g., if the hand is within a threshold distance from the content entry user interface (e.g., 1 inch, 3 inches, 6 inches, 12 inches, etc.)), the electronic device displays (1068), via the display generation component, a content entry indicator in proximity to a representation of the predefined portion of the user displayed in the three-dimensional environment, such as content entry indicator 928 displayed near second hand 918 in
In some embodiments, the threshold distance corresponds to the distance further than which user inputs are interpreted as indirect inputs (e.g., in which the location with which the user is interacting is at least partially based on the gaze of the user), and closer than which user inputs are interpreted as direct inputs (e.g., in which the location with which the user is interacting is based on the position of the hand and optionally not based on the gaze of the user).
In some embodiments, the content entry indicator indicates a location in the three-dimensional environment at which content will be entered based on the first content entry tool (1070) (e.g., the visual indicator is optionally displayed in space at the location where content will be inserted and the visual indicator is based at least in part on the location of the hand (e.g., x, y, and z position)).
For example, in response to detecting a pinch gesture while the content entry indicator is displayed, content is inserted (e.g., drawn) at the location of the content entry indicator (e.g., at the x, y, and z position). In some embodiments, the visual indicator is displayed in a space between the forefinger and the thumb that is creating the pre-pinch shape. In some embodiments, the visual indicator is displayed at the location where the forefinger and thumb meet when performing the pinch gesture.
In some embodiments, a location of the content entry indicator in the three-dimensional environment is based at least on a distance of the predefined portion of the hand from a location corresponding to the surface of the content entry user interface element (1072), such as the location of content entry indicator 928 being based on the position of second hand 918 in
The above-described manner of displaying a content entry indicator (e.g., at a location near the hand of the user if the hand of the user is within a threshold distance of a content entry user interface element), provides for a quick and efficient method of indicating the location at which content will be entered (e.g., without requiring the user to perform additional inputs of trial and error to determine at where content will be drawn), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while detecting the first movement of the predefined portion of the user while the predefined portion of the user has the first shape, and in accordance with the determination that the gaze of the user is directed towards the content entry user interface element (1074) (e.g., while detecting that the user is looking at the content entry user interface element and the hand of the user is holding a pre-pinch shape indicative of a potential or imminent pinch gesture), in accordance with a determination that the predefined portion of the user is at a location corresponding to a second location in the three-dimensional environment that is further than the threshold distance from the surface of the content entry user interface element (e.g., if the hand is farther than the threshold distance from the content entry user interface (e.g., 1 inch, 3 inches, 6 inches, 12 inches, etc.)), the electronic device displays (1076), via the display generation component, the content entry indicator in proximity to the surface of the content entry user interface element, such as content entry indicator 924 being displayed on the surface of visual clipboard 908 (e.g., displaying a visual indicator on or near the content entry user interface, indicating the location on the content entry user interface element on which at which content will be inserted in response to detecting a pinch gesture by the hand). For example, because the hand is farther than the threshold distance, the user's interactions using the hand are interpreted as an indirect manipulation interaction in which the gaze of the user at least partially determines where the content is inserted.
In some embodiments, the location of the content entry indicator in the three-dimensional environment is not based on the distance of the predefined portion of the hand from the location corresponding to the surface of the content entry user interface element (1078), for example in
In some embodiments, the lateral location of the content entry indicator on the surface of the content entry user interface element is based on the gaze of the user, the position of the hand, and/or both. In some embodiments, if the user moves his or her hand laterally (e.g., to the left or right), the visual indicator moves to the left or right with the movement of the hand.
The above-described manner of displaying a content entry indicator (e.g., at a location on or near the content entry user interface element), provides for a quick and efficient method of indicating the location at which content will be entered (e.g., without requiring the user to perform additional inputs of trial and error to determine at where content will be drawn), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
As shown in
In some embodiments, three-dimensional environment 1104 includes one or more representations of one or more hands of the user detected (e.g., captured) by the sensors of device 101. For example, in
In
In some embodiments, in accordance with a determination that third hand 1130 is within a threshold distance from circle 1122 (and/or in accordance with a determination that the gaze of the user is directed to circle 1122, optionally when third hand 1130 is performing a pre-pinch gesture), device 101 optionally displays an extrusion affordance 1124. In some embodiments, extrusion affordance 1124 is a selectable element that is selectable to perform an extrusion function on circle 1122, as will be described in further detail below with respect to
In
In
In
In
In
In
In some embodiments, in response to the rotation of representation 1108, planar surface 1140 rotates with the rotation of representation 1108 such that planar surface 1140 remains parallel to the same surface that it was parallel to before (e.g., the driver side of representation 1108). In some embodiments, planar surface 1140 rotates about the same pivot point as the rotation of representation 1108. As shown in
For example, in
In
In the method 1200, in some embodiments, an electronic device (e.g., computer system 101 in
In some embodiments, the display generation component is a display integrated with the electronic device (optionally a touch screen display), external display such as a monitor, projector, television, or a hardware component (optionally integrated or external) for projecting a user interface or causing a user interface to be visible to one or more users, etc. In some embodiments, the one or more input devices include an electronic device or component capable of receiving a user input (e.g., capturing a user input, detecting a user input, etc.) and transmitting information associated with the user input to the electronic device. Examples of input devices include a touch screen, mouse (e.g., external), trackpad (optionally integrated or external), touchpad (optionally integrated or external), remote control device (e.g., external), another mobile device (e.g., separate from the electronic device), a handheld device (e.g., external), a controller (e.g., external), a camera, a depth sensor and/or a motion sensor (e.g., a hand tracking sensor, a hand motion sensor), etc.
In some embodiments, the first user interface object is displayed on a virtual whiteboard or sandbox element, such as the first user interface element described with reference to method 800. In some embodiments, the first user interface object is displayed in space, unassociated with a virtual whiteboard or sandbox element. In some embodiments, the first user interface object is displayed in a three-dimensional environment that is generated, displayed, or otherwise caused to be viewable by the device (e.g., a computer-generated reality (CGR) environment such as a virtual reality (VR) environment, a mixed reality (MR) environment, or an augmented reality (AR) environment, etc.). In some embodiments, the first user interface object is a virtual object. In some embodiments, the first user interface object is based on a physical object in the physical world around the device. For example, the first user interface object is a representation of a physical object in the physical around the device (e.g., a photorealistic depiction, a simplified representation, a caricature, etc.), which is optionally captured by one or more sensors of the device.
In some embodiments, while displaying the first user interface object in the three-dimensional environment, the electronic device detects (1204), via the one or more input devices, a first input corresponding to a marking input associated with the first user interface object, such as the user input performed by first hand 1126 in
In some embodiments, in response to detecting the first input, the electronic device displays (1206), via the display generation component, a respective set of marks corresponding to the first input, such as mark 1136 in
In some embodiments, in accordance with a determination that the first input is made in a first context, the respective set of marks is contained within a first plane associated with the first user interface object (1208), such as mark 1142 in
In some embodiments, the first input is made in the first context if the hand has a first shape and/or first pose (e.g., have a particular pose, have a particular orientation, a particular shape, or be at a particular location, etc.). Thus, the first input is made in the first context if the hand of the user is farther than the threshold distance from the first user interface object (e.g., the drawing is performed via an indirect manipulation interaction). For example, if the hand of the user is farther than the threshold distance, then marks drawn via the hand are drawn on a transparent surface/plane located in front of the first user interface object (e.g., 1 inch in front, 3 inches in front, 6 inches in front, 12 inches in front, etc.), between the first user interface object and a viewpoint of the user of the electronic device from which the three-dimensional environment is displayed. In some embodiments, the marks appear as if drawn on a glass window placed in front of the first user interface object (e.g., the marks float in space). In some embodiments, the marks appear on the same plane even if the hand moves closer or farther away from the first user interface object while performing the first input. In some embodiments, the location of the first plane is based on the location of the user's hand when the first input is first performed. In some embodiments, the first plane is located a respective distance away from the first user interface object (e.g., optionally algorithmically determined based on one or more factors such as the size and/or shape of the first user interface object), without regard to the location of the user's hand when the first input is performed (e.g., the z-components of the movement of the user's hand is optionally ignored as long as the first input is made in the first context). In some embodiments, multiple marks drawn via multiple user inputs made in the first context are drawn on the same plane in front of the first user interface object. In some embodiments, a first part of the first input is performed while in the first context (e.g., while the hand is farther than the threshold distance) and a second part of the first input is performed while in the second context (e.g., the hand moves closer than the threshold distance) and in response, the set of marks due to the first part of the first input and the second part of the first input are both contained within the first plane. For example, if the first input begins in the first context, the marks as a result of the first input are contained within the first plane, even if the first input changes to being in the second context (e.g., even though the hand changes depth to be closer to first user interface object). In some embodiments, marks displayed in response to the first part of the first input are contained within the first plane while marks displayed in response to the second part of the first input are not contained in the first plane.
In some embodiments, in accordance with a determination that the first input is made in a second context, the respective set of marks extends out of the first plane associated with the first user interface object (1210), such as mark 1136 in
Thus, the first input is made in the second context if the hand of the user is closer than the threshold distance from the first user interface object (e.g., the drawing is performed via a direct manipulation interaction). For example, if the hand of the user is closer than the threshold distance, then marks drawn via the hand are drawn at a location in space based on the current location of the hand, such as a location just in front of the hand as if the user is drawing in space using a marker. For example, if the hand is at a first distance from the first user interface object (e.g., optionally making contact with the first user interface object, while in the second context), marks are drawn directly on the first user interface object (e.g., as if the user is drawing on the first user interface object with a marker), but if the hand is a second distance from the first user interface object, but not making contact with the first user interface object (e.g., such as 1 inch above the first user interface object), marks are drawn in space at the second distance away from the first user interface object (e.g., marks are drawn in space 1 inch above the first user interface object). Thus, a user is able to draw marks at different depths (e.g., different z positions) by changing the depth of the hand relative to the first user interface object (e.g., while remaining in the second context). In some embodiments, because the depth of the hand optionally determines the z position of the marks, a user is able to begin the first input at a first depth and while continuing to perform the first input, change to a second depth and the marks that are displayed in response to the first input reflect the change in depth. Thus, unlike marks inserted while in the first context, marks inserted while in the second context are not restricted to a plane (e.g., restricted to a particular depth) and are able to change depth based on the changing depth of the first input. In some embodiments, a first part of the first input is performed while in the second context (e.g., while the hand is closer than the threshold distance) and a second part of the first input is performed while in the first context (e.g., the hand moves farther than the threshold distance) and in response, the set of marks due to the first part of the first input and the second part of the first input are both not contained within the first plane (e.g., change depth based on the changing depth of the hand). For example, if the first input begins in the second context, the marks as a result of the first input are not contained within the first plane, even if the first input changes to being in the first context. In some embodiments, marks displayed in response to the first part of the first input are not contained within the first plane while marks displayed in response to the second part of the first input are contained in the first plane.
In some embodiments, while displaying, via the display generation component, the respective set of marks corresponding to the first input, the electronic device detects (1212) movement of the viewpoint of the user, such as if the user changed the perspective of device 101 in
In some embodiments, in response to detecting the movement of the viewpoint of the user (1214), the electronic device updates (1216) the appearance of the first user interface object and the first plane associated with the first user interface object based on the movement of the viewpoint of the user (e.g., updating the display of the three-dimensional environment, which includes the first user interface object and the first plane, to reflect the new perspective view of the three-dimensional environment). For example, if the device is moved slightly to the left, then the user is able to see more of the left side of three-dimensional objects in the environment (e.g., the viewpoint of the user has shifted leftwards).
In some embodiments, the electronic device updates (1218) the appearance of the respective set of marks, such as in
In some embodiments, when the respective set of marks extends out of the first plane associated with the first user interface object, the respective set of marks moves differently from the movement of the first plane (1222), such as mark 1136 in
The above-described manner of providing for marking with respect to an object (e.g., by drawing marks or annotations on a plane or not on a plane based on the context in which the drawing input was made) provides for quick and efficient method of annotating objects at different distances from a viewpoint of the user (e.g., by snapping markings to a plane if the user's hand is far away, but marking locations indicated by the user's hand if the user's hand is close), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring the user to perform additional inputs to switch from a planar marking mode to a non-planar marking mode), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the respective set of marks is made based on a first content entry tool that is currently selected when the first input is received (e.g., the respective set of marks is drawn by the user of the electronic device, such as described with reference to method 1000), the three-dimensional environment is accessible to the electronic device and a second electronic device (e.g., the environment is shared by the user of the electronic device and a user of a second electronic device), the first user interface object is displayed in the three-dimensional environment by the second electronic device (e.g., the first user interface object is viewable in the three-dimensional environment by both the user of the electronic device and the user of the second electronic device), the respective set of marks is displayed in the three-dimensional environment by the second electronic device (e.g., the set of marks drawn by the user of the electronic device is viewable by the user of the second electronic device), and a second content entry tool, different from the first content entry tool, is currently selected at the second electronic device (1224) (e.g., the user of the second electronic device has a different content entry tool selected than the user of the first electronic device).
For example, the three-dimensional environment is an environment of a shared multiplayer or multi-user session with the second electronic device or user in which the user of the electronic device is able to see the three-dimensional environment from a first perspective (e.g., as if the user is located in the three-dimensional environment) and the user of the second electronic device is also able to see the three-dimensional environment, optionally from a second perspective (e.g., as if the user of the second electronic device is also located in the three-dimensional environment, optionally at a different location than the user of the electronic device). In some embodiments, the electronic device and the second electronic device are in different physical locations.
For example, the first user interface object is a shared element that is enabled to be viewable to more than one (e.g., some, all, etc.) participants in the multiplayer or multi-user session. In some embodiments, the first user interface object is, or is included in, a content entry user interface element such as described with reference to method 1000. For example, the set of marks drawn by a user is a shared element that is enabled to be viewable to more than one (e.g., some, all, etc.) participants in the multiplayer or multi-user session.
Thus, in some embodiments, different users are able to have different active content entry tools to enter content into the three-dimensional environment. In some embodiments, multiple users are able to concurrently draw marks in the three-dimensional environment. In some embodiments, a drawing palette that includes one or more options for controlling the content that is inserted and/or changing the content entry tool that is active is local to each user and is optionally not visible to other users. For example, if the user of the electronic device performs an input and causes display of a drawing palette, the user of the second electronic device cannot see (e.g., the second electronic device does not display) that the user of the electronic device is interacting with a drawing palette. In some embodiments, the user of the second electronic device can see (e.g., the second electronic device displays) the preview of the content entry tool (e.g., as discussed above with respect to method 1000) in the representation of the hand of the user of the electronic device (e.g., the user of the electronic device can see which content entry tool is active for the user of the electronic device). In some embodiments, the user of the second electronic device cannot see (e.g., the second electronic device does not display) the preview of the content entry tool in the representation of the hand of the user of the electronic device.
The above-described manner of sharing elements of a three-dimensional environment with other users that are present in the three-dimensional environment (e.g., by sharing the first user interface object and the marks that are drawn on the first user interface object, but optionally not sharing the tool palette that a user uses to select the content entry tool to draw marks) provides for quick and efficient method of sharing a three-dimensional environment (e.g., by sharing objects and elements that exist in the three-dimensional environment, but not menus or options that are local to how a respective user interacts with the three-dimensional environment), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., by automatically avoiding cluttering the user interface of other users, without requiring users to perform additional inputs to turn on or off the sharing of user interface elements that are not relevant to other users), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the respective set of marks is made based on a first content entry tool that is currently selected when the first input is received, the first input includes detecting that a shape of a predefined portion of the user of the electronic device corresponds to the marking input (1226), such as in
In some embodiments, the respective set of marks has one or more visual characteristics based on the content entry tool that is currently active. For example, marks drawn using a pencil tool look as if they were drawn by a pencil, marks drawn by a marker tool look as if they were drawn by a marker, etc. In some embodiments, the shape of the predefined portion of the user includes a hand of the user assuming a pre-pinch shape with a thumb and index finger, for example, before or after performing a pinch gesture. In some embodiments, the shape of the predefined portion of the user includes the hand having a shape that is assumed before making a shape associated with a selection input (optionally including the shape associated with the selection input).
In some embodiments, before detecting a portion of the first input that makes the respective set of marks (e.g., before detecting movement of the hand of the user while in the pinch hand shape, and in some embodiments, before detecting the pinch gesture and/or hand shape) and in response to detecting that the shape of the predefined portion of the user corresponds to the marking input, the electronic device displays (1228), in association with a representation of the predefined portion of the user displayed in the three-dimensional environment, a visual indication of the first content entry tool, such as representation 920 in
The above-described manner of displaying an indication of the content entry tool that will be used to insert content (e.g., in response to detecting that the hand of the user has a shape indicative that the hand will imminently perform a pinch gesture for inserting content) provides for quick and efficient method of indicating the currently active content entry tool, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring users to perform additional inputs to determine which content entry tool is active), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the respective set of marks is made based on a first content entry tool that is currently selected when the first input is received (1230) (e.g., the respective set of marks is inserted while the first content entry tool is active and has one or more visual characteristics based on the first content entry tool).
In some embodiments, before detecting the first input (1232), the electronic device displays (1234), via the display generation component, a content entry tool user interface element that includes one or more selectable options that are selectable to select corresponding one or more content entry tools, wherein the content entry tool user interface is displayed remote from the first user interface object in the three-dimensional environment, such as if a content entry palette were displayed in three-dimensional environment 1104 (e.g., the user interface includes a palette that includes one or more content entry tools and/or one or more options that control how content is inserted or how the inserted content looks).
In some embodiments, the palette is displayed in response to a user input requesting display of the palette, such as the selection of a respective affordance, detecting the performance of a respective gesture performed by one or more hands of the user (e.g., a pre-pinch hand shape while the gaze of the user is directed toward the first user interface object/area in which content is to be entered), etc. In some embodiments, the palette is displayed as a visually separate object from the first user interface object and/or content entry user interface on which the first user interface object is optionally located. For example, the palette is a separate user interface element than either the first user interface object or the content entry user interface. In some embodiments, the palette is able to be moved around the three-dimensional environment independently of the first user interface object and the content entry user interface.
In some embodiments, while displaying the content entry tool user interface element, the electronic device detects (1236), via the one or more input devices, selection of a respective selectable option of the one or more selectable options corresponding to the first content entry tool (e.g., detecting a user selection of an option associated with the first content entry tool). In some embodiments, the palette includes one or more selectable options associated with one or more content entry tools (e.g., pencil, pen, marker, highlighter, eraser, etc.) that are selectable to set the respective tool as the active content entry tool. In some embodiments, the one or more selectable options are representations of the respective content entry tools (e.g., a representation of a pencil, a representation of a pen, etc.).
In some embodiments, in response to detecting the selection of the respective selectable option, the electronic device selects (1238) the first content entry tool for subsequent content entry in the three-dimensional environment, similar to the selection of one of representations 932-1 to 932-3 in
The above-described manner of displaying an indication of the content entry tool that will be used to insert content (e.g., in response to detecting that the hand of the user has a shape indicative that the hand will imminently perform a pinch gesture for inserting content) provides for quick and efficient method of indicating the currently active content entry tool, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring users to perform additional inputs to determine which content entry tool is active), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the content entry tool user interface element is displayed at a location in the three-dimensional environment that is determined based on a location of a representation of a predefined portion of the user in the three-dimensional environment (1240) (e.g., the palette is positionally associated with the hand of the user such that the position of the palette in three-dimensional space depends at least in part on the position of the hand of the user). In some embodiments, the palette is floating in space near the location of the hand (e.g., at a distance of 0.5 inches, 1 inch, 3 inches, 10 inches, etc. from the hand of the user), such that the hand is able to reach out and select an option from the palette without moving too far. In some embodiments, the palette is attached to the hand as if the hand is holding the palette (e.g., and optionally the other hand of the user is used to select an option from the palette).
In some embodiments, in accordance with a determination that the predefined portion of the user is at a first location in a physical environment of the electronic device, the content entry tool user interface element is displayed at a first respective location in the three-dimensional environment that corresponds to the first location of the predefined portion of the user (1242) (e.g., if the hand is at a first location, the palette is located at a first respective location based on the first hand being at the first location). In some embodiments, the first respective location is near the first location (e.g., within 1 inch, 3 inches, 6 inches, 12 inches, etc.).
In some embodiments, in accordance with a determination that the predefined portion of the user is at a second location, different from the first location, in the physical environment of the electronic device, the content entry tool user interface element is displayed at a second respective location, different from the first respective location, in the three-dimensional environment that corresponds to the second location of the predefined portion of the user (1244) (e.g., if the hand is at a second location, the palette is located at a second respective location based on the first hand being at the first location).
In some embodiments, the second respective location is near the second location (e.g., within 1 inch, 3 inches, 6 inches, 12 inches, etc.). Thus, as the hand moves from one location to another location, the palette will optionally move accordingly. In some embodiments, the palette lags the movement of the hand. For example, if the hand moves rightwards by 1 foot, the palette optionally moves rightwards by 1 foot after a delay of 3 seconds. In some embodiments, the movement of the palette exhibits acceleration and deceleration behaviors. For example, as the palette begins moving, it starts at a slow velocity, then increases to a maximum velocity and then slows down in velocity as it approaches and reaches its destination (e.g., the palette moves smoothly). In such embodiments, delaying and/or exhibiting acceleration and deceleration behaviors prevents the palette from having jerky and sudden movements.
The above-described manner of displaying an content entry tool user interface element (e.g., at a location based on the location of the hand of the user) provides for quick and efficient method of accessing content entry tools (e.g., by placing the content entry palette near the hand of the user), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring users to perform additional and unnecessary movements and/or inputs to access the content entry palette), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while displaying the first user interface object in the three-dimensional environment, the electronic device detects (1246), via the one or more input devices, a second input corresponding to a request to select a content selection tool (e.g., a user input selecting, from the content entry palette for example, a content selection tool as the currently active tool). In some embodiments, the content selection tool is not a content entry tool because activation of the content selection tool (e.g., in response to a pinch gesture) does not cause content to be inserted, but instead, causes content to be selected. In some embodiments, selecting content enables the selected content to be manipulated, for example to resize, move, delete, copy to clipboard, etc.
In some embodiments, in response to detecting the second input, the electronic device selects (1248) the content selection tool. In some embodiments, while the content selection tool is selected, the electronic device detects (1250), via the one or more input devices, a third input including movement of a predefined portion of the user, wherein the third input corresponds to a request to designate a selection volume in the three-dimensional environment using the content selection tool, such as the user input by second hand 1128 in
In some embodiments, the area between the first location and the second location defines the selection area such that selectable content within the selection area is selected (e.g., selected as soon as the content falls within the selection area or selected in response to detecting the termination of the pinch gesture). In some embodiments, the selection area is circular and the radius or diameter of the selection area is defined by the distance from the first location to the second location (e.g., any object within the circle is selected). In some embodiments, the selection area is a line between the first location and the second location (e.g., any object that the line contacts is selected). In some embodiments, the selection area is three-dimensional, such as a sphere, and the three-dimensional radius or diameter of the sphere is defined by the distance from the first location to the second location.
In some embodiments, in response to detecting the third input (1252), in accordance with a determination that the movement of the predefined portion of the user is a first movement, the electronic device selects (1254) one or more objects within a first volume in the three-dimensional environment for further interaction, wherein the first volume is based on the first movement of the predefined portion of the user, such as the selection of representation 1116 and portions of representation 1114 in
In some embodiments, in accordance with a determination that the movement of the predefined portion of the user is a second movement, different from the first movement, the electronic device selects (1256) one or more objects within a second volume, different from the first volume, in the three-dimensional environment for further interaction, wherein the second volume is based on the second movement of the predefined portion of the user, such as in
The above-described manner of selecting objects (e.g., by creating a selection area using the hand of the user while the selection tool is active) provides for quick and efficient method of selecting objects (e.g., by selecting all objects within the defined selection area), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring users to perform additional inputs to individually select each object), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, in response to detecting the first input and after displaying the respective set of marks corresponding to the first input, wherein the respective set of marks includes a two-dimensional portion (e.g., after the user has inserted a set of content that, in combination, form a two-dimensional shape (e.g., optionally an enclosed shape), such as a circle, square, rectangle, triangle, etc.), the electronic device displays (1258), via the display generation component in the three-dimensional environment, a user interface element in association with the two-dimensional portion of the respective set of marks that is interactable to extrude the two-dimensional portion into a three-dimensional object, such as extrusion affordance 1124 in
In some embodiments, the two-dimensional shape is not part of a three-dimensional object drawn by the user. In some embodiments, the two-dimensional shape is part of a three-dimensional object drawn by the user (e.g., a side or face of the three-dimensional object). In some embodiments, extruding the object includes extending the object in a certain direction to create a three-dimensional object that has a cross-sectional shape that is the same or similar to the original two-dimensional enclosed shape. For example, if the enclosed shape is a circle, extruding the circle in a direction perpendicular to the circle results in a cylinder whose cross-section is the same shape as the circle (e.g., if the initial circle is a perfect circle, the cross-section of the cylinder is a perfect circle with the same radius, and if the initial circle is an oblong circle, the cross-section of the cylinder is an oblong circle, etc.). In some embodiments, the option is a extrusion affordance that is selectable by the user to “pull” the two-dimensional shape in the direction of the extrusion. In some embodiments, the amount that the extrusion affordance is pulled (e.g., the amount of hand movement after selection of the affordance with a pinch gesture) determines the amount of extrusion. For example, if the extrusion affordance is pulled by three inches, the object is extruded by three inches (e.g., the cylinder in the example above has a height or length (as the case may be) of three inches).
In some embodiments, while displaying the user interface element, the electronic device detects (1260), via the one or more input devices, a second input including selection of the user interface element and movement of a predefined portion of the user, such as the selection of extrusion affordance 1124 and pulling movement by third hand 1130 in
In some embodiments, in response to detecting the second input, the electronic device displays (1262), via the display generation component in the three-dimensional environment, a respective three-dimensional object corresponding to extrusion of the two-dimensional portion of the respective set of marks based on the movement of the predefined portion of the user, such as the extrusion of circle 1122 in
For example, the height of the three-dimensional object is determined by the amount of the extrusion, and the width and length of the three-dimensional object (e.g., the cross-sectional shape of the three-dimensional object) is the same or similar to the width and length of the two-dimensional object. In some embodiments, if the two-dimensional portion of the respective set of marks is attached to another object, then the resulting three-dimensional object that is the extrusion of the two-dimensional portion of the respective set of marks continues to be attached to the other object.
The above-described manner of creating a three-dimensional object from a two-dimensional drawing (e.g., by extruding the two-dimensional drawing) provides for quick and efficient method of creating three-dimensional objects (e.g., by drawing only the cross-sectional shape that is desired and extruding the cross-sectional shape to achieve a three-dimensional object with the desired cross-sectional shape), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring users to perform additional inputs to draw a three-dimensional object), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while detecting the second input (1264) (and in response to detecting the second input) (e.g., while receiving the input that is interacting with the extrusion affordance and optionally causing the two-dimensional object to be extruded into a three-dimensional object, such as while a first hand of the user is holding the pinch hand shape after having selected the extrusion affordance, and optionally while the first hand of the user is moving/extruding the object), in accordance with a determination that a third input from a second predefined portion of the user is detected (e.g., receiving a user input from the other hand performing a pinch gesture and optionally moving while performing the pinch gesture), the electronic device scales (1266) the two-dimensional portion of the respective set of marks that is being extruded based on the third input from the second predefined portion of the user, wherein the respective three-dimensional object is a first three-dimensional object based on the scaled two-dimensional portion of the respective set of marks, such as if another hand performed a resizing input on circle 1122 while the extrusion function is being performed in
In some embodiments, the other hand of the user must be within 0.1, 1, 2, 5, 10 inches of the first hand for the input from the other hand to adjust the extrusion performed by the first hand. In some embodiments, changing the size of the two-dimensional object while performing the extrusion operation causes the extrusion to adapt to the new size. For example, if the user extrudes a two-dimensional object by half an inch, then performs the third input to increase the size of the two-dimensional object by 50%, then the user continues extruding by another half inch, then the first half inch has a cross-sectional shape with the original size of the two-dimensional object and the second half inch has a cross-sectional shape with the 50% larger size due to the 50% increased size of the two-dimensional object. Thus, a user is able to create a three-dimensional object using a two-dimensional object to control the shape of the cross-section of the three-dimensional object, but vary the size of the cross-section of the three-dimensional object (e.g., by changing the scale of the two-dimensional object while extruding).
In some embodiments, in accordance with a determination that the third input from the second predefined portion of the user is not detected, the electronic device forgoes (1268) scaling the two-dimensional portion of the respective set of marks that is being extruded, wherein the respective three-dimensional object is a second three-dimensional object, different from the first three-dimensional object, not based on the scaled two-dimensional portion of the respective set of marks (e.g., if the device does not detect that the second hand is performing a pinch gesture (or if the pinch performed by the second hand is too far away from the first hand), do not scale the two-dimensional object and maintain the same cross-sectional size of the three-dimensional environment as the object is being extruded).
The above-described manner of creating a variable sized three-dimensional object from a two-dimensional drawing (e.g., by changing the size of the two-dimensional object on which the extrusion is based while performing the extrusion) provides for quick and efficient method of creating three-dimensional objects, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring users to perform additional inputs to draw three-dimensional objects with different sized cross-sections), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the electronic device displays (1270), in the three-dimensional environment, a first two-dimensional object and a second two-dimensional object, such as in
In some embodiments, while displaying the first two-dimensional object and the second two-dimensional object, the electronic device detects (1272), via the one or more input devices, a second input corresponding to movement together of the first two-dimensional object and the second two-dimensional object in the three-dimensional environment, such as the movement of circle 1110 towards line 1112 in
In some embodiments, in response to detecting the second input, the electronic device displays (1274), in the three-dimensional environment, a three-dimensional object that is based on the first two-dimensional object and the second two-dimensional object, such as shape 1138 in
In some embodiments, the first two-dimensional object is a non-enclosed shape, such as a line, a curved line, etc. In some embodiments, the first two-dimensional object is an enclosed shape, such as a circle or oval. In some embodiments, the second two-dimensional object is an enclosed shape, such as a circle, square, rectangle, triangle, etc. In some embodiments, performing the extrusion operation includes extruding the enclosed shape along the path of the non-enclosed (or enclosed) shape. For example, if the first shape is a two inch long straight line, and the second shape is a perfect circle, the result is a two-inch tall cylinder with a cross-sectional shape that is a perfect circle that is the same or similar to the second shape (e.g., taking the second shape and extruding it by the amount defined by the first shape and in a direction defined by the path of the first shape). In some embodiments, if the first shape is a one inch long straight line with a 90 degree bend connected to another one inch long straight line and the second shape is a perfect circle, then the resulting three-dimensional object is a two inch long pipe that is bent by 90 degrees in the center (e.g., the perfect circle extruded along the first one inch long straight line, then turned by the 90 degrees defined by the first shape, and extruded by another inch that is perpendicular to the original inch).
The above-described manner of creating a three-dimensional object using a first two-dimensional object to define the cross-sectional shape of the three-dimensional object and a second shape to define the extrusion path (e.g., by moving the first two-dimensional object to the second two-dimensional object) provides for quick and efficient method of creating three-dimensional objects, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring users to perform additional inputs to manually draw a three-dimensional object), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while moving the first two-dimensional object and the second two-dimensional object together in the three-dimensional environment (1276) (e.g., while moving the first two-dimensional object towards the two-dimensional object, for example, to perform an extrusion operation based on the two two-dimensional objects), in accordance with a determination that the first two-dimensional object is within a threshold distance of the second two-dimensional object (e.g., within 1 inch, 3 inches, 6 inches, 1 foot, 3 feet, etc.), the electronic device displays (1278), via the display generation component, a visual indication that the first two-dimensional object and the second two-dimensional object can be combined to create the three-dimensional object, such as displaying circle 1110 with a grey color in
The above-described manner of indicating that a three-dimensional object will be created by extruding a first object along the path of a second object (e.g., by display a visual indication that the extrusion will be performed when the first object is moved near the second object such that releasing the pinch gesture that is holding the first object will perform the extrusion operation) provides for quick and efficient method of creating three-dimensional objects, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring users to perform test inputs to determine whether an extrusion operation will be performed), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the three-dimensional object corresponds to extrusion of the first two-dimensional object along a path defined by the second two-dimensional object in the three-dimensional environment (1280), such as shape 1138 in
For example, the three-dimensional object has a cross-sectional shape and size that is based on (e.g., the same or similar as) the first two-dimensional object and the height (e.g., or length, as the case may be, depending on the orientation of the object) has a length and shape based on the second two-dimensional object. In some embodiments, the extrusion operation is only available if the first two-dimensional object is an enclosed object (e.g., circle, square, rectangle, triangle, etc.). In some embodiments, the extrusion operation is only available if the second two-dimensional object is an unenclosed object (e.g., line, curved line, etc.). In some embodiments, the extrusion operation is available if the first and second two-dimensional objects are enclosed objects.
The above-described manner of creating a three-dimensional object using a first two-dimensional object to define the cross-sectional shape of the three-dimensional object and a second shape to define the extrusion path (e.g., by extruding the first two-dimensional object along the path of the second two-dimensional object) provides for quick and efficient method of creating three-dimensional objects, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring users to perform additional inputs to manually draw a three-dimensional object), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while detecting the first input, the electronic device displays (1282), in the three-dimensional environment, a first visual indication of first area or first volume of the three-dimensional environment that is available for marking based on the first input, such as three-dimensional volume 1144 in
For example, if the marks are able to be drawn anywhere within a three-dimensional volume, the respective three-dimensional volume is displayed with a respective visual indication and if the marks are able to be drawn on the surface of an object, the surface is displayed with a respective visual indication. In some embodiments, the visual indication is a highlighting of the area or volume. In some embodiments, the visual indication is a border (e.g., two dimensional or three dimensional boundary, as the case may be) indicating the space within which marks can be made. In some embodiments, the movement of the hand of the user while inserting the respective set of marks is mapped to the area or volume defined by the first visual indication. For example, if the hand moves from the right-most position to the left-most position while drawing content, the content is drawn from the right-most position in the marked area or volume to the left-most position in the marked area or volume. In some embodiments, the visual indication indicates and/or encompasses a content entry user interface element such as described with reference to method 1000.
The above-described manner of indicating the space within which a mark is able to be drawn (e.g., by displaying a visual indication of the space that the mark is able to be drawn in while the user is performing the input for drawing marks), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring users to perform unnecessary inputs to determine whether the user is able to draw marks at respective locations), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, in accordance with the determination that the first input is made in the first context, the first visual indication is a visual indication of the first plane associated with the first user interface object in the three-dimensional environment (1284), such as two-dimensional surface 1146 in
In such embodiments, because the user is able to draw on a two-dimensional surface but is optionally not able to draw in three dimensions (e.g., only able to draw in two dimensions), the visual indication is on or of the planar surface (e.g., a rectangle or a circle) on which the user is able to draw. In some embodiments, the planar surface is selected such that the first user interface object (e.g., toward which the gaze of the user is directed) fits within the planar boundaries of the planar surface—which is optionally located between the first user interface object and the viewpoint of the user—when displayed from the viewpoint of the user in the three-dimensional environment.
The above-described manner of indicating the two-dimensional space within which a mark is able to be drawn (e.g., by displaying a visual indication on the plane on which the marks are able to be drawn when the first input is performed while in the first context), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring users to perform unnecessary inputs to determine whether the user is able to draw marks at respective locations), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, in accordance with the determination that the first input is made in the second context, the first visual indication is a visual indication of a first volume associated with the first user interface object (1286), such as three-dimensional volume 1144 in
In such embodiments, because the user is able to draw in a three-dimensional space, the visual indication highlights the volume of space in which the user is able to draw. In some embodiments, the volume or space (e.g., cube or sphere) encompasses the first user interface object (e.g., toward which the gaze of the user is directed).
The above-described manner of indicating the three-dimensional space within which a mark is able to be drawn (e.g., by displaying a visual indication encompassing the volume in which the marks are able to be drawn when the first input is performed while in the second context), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring users to perform unnecessary inputs to determine whether the user is able to draw marks at respective locations), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, while displaying the first visual indication, the electronic device detects (1288), via the one or more input devices, movement of a gaze of the user of the electronic device away from the first area or first volume of the three-dimensional environment, such as if the gaze of the user moved away from looking at three-dimensional volume 1144 in
In some embodiments, in response to detecting the movement of the gaze of the user away from the first area or first volume of the three-dimensional environment (1290), in accordance with a determination that respective marking input is being received when the movement of the gaze of the user is detected (e.g., a user input is being received for drawing marks when the gaze moves away from the space indicated by the first visual indication, such as the hand of the user still maintaining a pinch hand shape and/or still moving), the electronic device maintains (1292) the first visual indication in the three-dimensional environment and displaying a set of marks corresponding to the respective marking input within the first visual indication in the three-dimensional environment, such as if the user is currently inserting content into three-dimensional volume 1144, maintaining display of there-dimensional volume 1144 at its current location in
Thus, if the user is in the middle of drawing into the space indicated by the first visual indication, the device allows the user to continue drawing into that space even if the gaze of the user is no longer directed toward that space. In some embodiments, if the gaze of the user does not return to the space indicated by the first visual indication and the respective marking input is terminated, then the first visual indication is optionally ceased to be displayed and a new visual indication is displayed at a new location based on the location of the gaze (e.g., and the space within which the user is able to mark moves to the new location).
In some embodiments, in accordance with a determination that respective marking input is not being received when the movement of the gaze of the user is detected (e.g., if an input for drawing a mark is not being received when the gaze moves away from the space indicated by the first visual indication, such as the hand of the user is no longer maintaining the pinch hand shape), the electronic device ceases (1294) display of the first visual indication in the three-dimensional environment, and displaying, in the three-dimensional environment, a second visual indication of second area or second volume of the three-dimensional environment that is available for marking based on the gaze of the user, such as if three-dimensional volume 1144 were moved to the new location indicated by the new location of the user's gaze in
In some embodiments, the new location is the new location within which the user is able to draw marks and the space indicated by the first visual indication is no longer able to accept drawn marks. Thus, a user is able to move or shift the space within which the user is able to draw by moving the user's gaze to the desired location. In some embodiments, in response to moving the user's gaze to a new location and/or a trigger event, the space within which the user is able to draw is moved to a new location. For example, the trigger event includes the movement of the user's gaze by more than a threshold distance from the original location (e.g., more than 3 inches, 6 inches, 1 foot, 3 feet, 6 feet, etc.). In some embodiments, the trigger event includes the movement of the user's gaze and a predetermined gesture, such as the hand of the user assuming a ready position (e.g., the pre-pinch shape) or the hand selecting an affordance for resetting and/or moving the location of the visual indication.
The above-described manner of moving the visual indication of the space within which the user is able to draw marks (e.g., in response to the gaze of the user moving if the device is not receiving an input for drawing marks, but not moving the visual indication if the device is currently receiving an input for drawing marks) provides for a quick and efficient method of drawing marks at a new location (e.g., automatically, based on the gaze of the user, without requiring the user to perform additional inputs to move the space within which to draw marks), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., if the user is not performing a marking input, which prevents the space from moving to a new location when the user is in the middle of drawing a mark, thus reducing unexpected behavior or unintentional marks), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, after displaying the respective set of marks based on the first input, the electronic device detects (1296), via the one or more input devices, a second input corresponding to a request to modify an orientation of the respective set of marks relative to the viewpoint of the user, such as in
In some embodiments, in response to detecting the second input, the electronic device modifies (1298) the orientation of the respective set of marks relative to the viewpoint of the user, such as in
In some embodiments, in accordance with a determination that the first input is made in the second context (1299) (e.g., if the marks were made when the hand was less than the threshold distance such that the marks are made on the first user interface object or in space near the first user interface object, not confined on the first plane), in accordance with a determination that an orientation of the viewpoint of the user relative to a portion of the respective set of marks is within a first set of orientations, the electronic device ceases (1297) display of the portion of the respective set of marks, such as in
In some embodiments, automatically ceasing display of the mark if the front of the mark is no longer viewable by the user simplifies the display and removes clutter from the three-dimensional environment that is otherwise not properly viewable by the user. In some embodiments, if the first user interface object (e.g., and the respective set of marks) is rotated such that the “front” of the set of marks would otherwise be visible (e.g., if it were displayed, for example, if the marks were rotated from being more than 90 degrees from its original orientation to being less than 90 degrees from its original orientation), then the set of marks are restored (e.g., re-displayed).
In some embodiments, in accordance with a determination that the orientation of the viewpoint of the user relative to the portion of the respective set of marks is within a second set of orientations, different from the first set of orientations, the electronic device maintains (1295) display of the portion of the respective set of marks without ceasing display of the portion of the respective set of marks, such as in
In some embodiments, display or non-display of the set of marks exhibits similar behavior when made in the first context. For example, if a set of marks is displayed on the first plane, then in response to rotating the first user interface object, the first plane rotates by the same amount as the rotation of the first user interface object (e.g., the first plane remains at the same location relative to the first user interface object and parallel to the same portion of the first user interface object). In such embodiments, marks drawn on the first plane also move and rotate with the first plane (e.g., due to being “drawn” on the first plane) and if the front of the marks are no longer visible (e.g., the plane rotates more than 90 degrees), display of the marks are ceased, but if the front of the marks are still visible (e.g., the plane rotates less than 90 degrees), display of the marks is maintained. In some embodiments, marks made in the first context and marks made in the second context have different behaviors with respect to whether they cease to be displayed in response to a change in orientation. For example, marks made in the first context optionally remain visible even if the object on which they are drawn is rotated in such a way that the “front” of the mark is no longer visible to the user. In some embodiments, three-dimensional marks and two-dimensional marks have different behaviors with respect to whether they cease to be displayed in response to a change in orientation. For example, two-dimensional marks optionally remain visible even if the object on which they are drawn is rotated in such a way that the “front” of the mark is no longer visible to the user.
The above-described manner of displaying the marks as the marks are rotated (e.g., by ceasing display of the marks if the marks are rotated to a certain orientation, but maintaining display if the marks are rotated to another set of orientations) provides for a quick and efficient method of displaying content in the three-dimensional environment (e.g., by automatically removing display of objects that have orientations that cause the object to not be properly viewable by the user), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring the user to perform additional inputs to disable display of certain marks), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, after displaying the respective set of marks based on the first input, the electronic device detects (1293), via the one or more input devices, a second input corresponding to a request to modify an orientation of the respective set of marks relative to the viewpoint of the user, such as in
In some embodiments, in response to detecting the second input, the electronic device modifies (1291) the orientation of the respective set of marks relative to the viewpoint of the user, such as in
In some embodiments, in accordance with a determination that the first input is made in the second context (1289) (e.g., if the marks were made when the hand was less than the threshold distance such that the marks are made on the first user interface object or in space near the first user interface object, not confined on the first plane), in accordance with a determination that an orientation of the viewpoint of the user relative to a portion of the respective set of marks is within a first set of orientations, the electronic device reduces (1287) a prominence of display of the portion of the respective set of marks, such as in
In some embodiments, reducing the visual prominence of the mark includes fading the mark, making the mark more transparent, reducing the size of the mark, etc. In some embodiments, automatically ceasing display of the mark if the front of the mark is no longer viewable by the user simplifies the display and removes clutter from the three-dimensional environment that is otherwise not properly viewable by the user. In some embodiments, the respective set of marks become less prominent as the respective set of marks are rotated (e.g., gradually become less prominent, such as becoming more faded, becoming more transparent, etc.). For example, when the “front” of the respective set of marks is no longer viewable by the user, the prominence of the respective set of marks is such that the respective set of marks is no longer visible (e.g., fully faded, fully transparent, etc.), but before reaching the rotational position such that the respective set of marks is no longer visible, the respective set of marks have a reduced prominence but is still visible (e.g., partially faded, partially transparent, etc.). In some embodiments, as the “front” of the respective set of marks rotates away from facing the user and/or as the respective set of marks moves farther away from the user (e.g., whether due to the object rotating or the object being moved farther away), the prominence of the set of marks is gradually reduced (e.g., reduced based on the amount that the marks are rotated away or moved away). In some embodiments, if the first user interface object (e.g., and the respective set of marks) is rotated such that the “front” of the set of marks would otherwise be visible (e.g., if it were displayed, for example, if the marks were rotated from being more than 90 degrees from its original orientation to being less than 90 degrees from its original orientation), then the set of marks are restored to their original prominence.
In some embodiments, in accordance with a determination that the orientation of the viewpoint of the user relative to the portion of the respective set of marks is within a second set of orientations, different from the first set of orientations, the electronic device maintains (1285) display of the portion of the respective set of marks without reducing a prominence of the portion of the respective set of marks, such as in
In some embodiments, display or non-display of the set of marks exhibits similar behavior when made in the first context. For example, if a set of marks is displayed on the first plane, then in response to rotating the first user interface object, the first plane rotates by the same amount as the rotation of the first user interface object (e.g., the first plane remains at the same location relative to the first user interface object and parallel to the same portion of the first user interface object). In such embodiments, marks drawn on the first plane also move and rotate with the first plane (e.g., due to being “drawn” on the first plane) and if the front of the marks are no longer visible (e.g., the plane rotates more than 90 degrees), display of the marks are ceased, but if the front of the marks are still visible (e.g., the plane rotates less than 90 degrees), the prominence of the marks is maintained. In some embodiments, marks made in the first context and marks made in the second context have different behaviors with respect to whether they cease to be displayed in response to a change in orientation. For example, marks made in the first context optionally are not reduced in prominence even if the object on which they are drawn is rotated in such a way that the “front” of the mark is no longer visible to the user. In some embodiments, three-dimensional marks and two-dimensional marks have different behaviors with respect to whether they cease to be displayed in response to a change in orientation. For example, two-dimensional marks optionally remain fully visible even if the object on which they are drawn is rotated in such a way that the “front” of the mark is no longer visible to the user.
The above-described manner of displaying the marks as the marks are rotated (e.g., by ceasing display of the marks if the marks are rotated to a certain orientation, but maintaining display if the marks are rotated to another set of orientations) provides for a quick and efficient method of displaying content in the three-dimensional environment (e.g., by automatically removing display of objects that have orientations that cause the object to not be properly viewable by the user), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient (e.g., without requiring the user to perform additional inputs to disable display of certain marks), which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the first input is made in the first context in accordance with a first content entry tool being currently selected when the first input is detected, and the first input is made in the second context in accordance with a second content entry tool, different from the first content entry tool, being currently selected when the first input is detected (1283), such as in
In some embodiments, the two-dimensional marking tool and three-dimensional marking tool are separate tools that are selectable from a content entry user interface element (e.g., a content entry palette). In some embodiments, whether the drawn marks are two-dimensional or three-dimensional is based on whether the two-dimensional or three-dimensional tool is selected and optionally not based on whether the marks are drawn when the hand drawing the mark is closer or farther than a threshold distance from the object on which the mark is to be drawn. In some embodiments, the two-dimensional or three-dimensional tool is automatically selected based on whether the hand drawing the mark is closer (e.g., three-dimensional tool) or farther (e.g., two-dimensional tool) than the threshold distance from the object on which the mark is to be drawn (e.g., automatically switching from the two-dimensional tool to the three-dimensional tool and vice versa if the hand moves from being farther than the threshold distance to closer, or vice versa, respectively).
The above-described manner of drawing marks on a user interface object (e.g., by drawing two-dimensional marks if the two-dimensional marking tool is active, or by drawing three-dimensional marks if the three-dimensional marking tool is active) provides for a quick and efficient method of selecting between two-dimensional or three-dimensional marks, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
In some embodiments, the first input is made in the first context using a first content entry tool in accordance with a determination that one or more first criteria are satisfied (1281), such as in
In some embodiments, the first input is made in the second context using the first content entry tool in accordance with a determination that one or more second criteria, different from the first criteria, are satisfied (1279), such as in
In some embodiments, whether the marks are performed in the first or second context is based not on the marking tool (e.g., because it is the same tool used for marking in the first and second context) and is based at least on other criteria, such as the content that is being marked up on (e.g., whether the content to which the gaze of the user is directed while providing the marking input is two-dimensional (e.g., resulting in the first context) or three-dimensional (e.g., resulting in the second context)) and/or whether the hand of the user is more than or less than a threshold distance from the content while making the marks.
The above-described manner of drawing marks on a user interface object (e.g., by using the same drawing tool to draw either two-dimensional marks or three-dimensional marks based on certain criteria) provides for a quick and efficient method of selecting between two-dimensional or three-dimensional marks (e.g., automatically, without requiring the user to perform additional inputs to switch between a two-dimensional drawing mode and a three-dimensional drawing mode), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the electronic device by enabling the user to use the electronic device more quickly and efficiency, while reducing errors in usage.
As shown in
In
In some embodiments, device 101 facilitates marking inputs directed to objects in three-dimensional environment 1302, such as marking inputs described with reference to methods 1000, 1200, 1400 and/or 1600. For example, while a marking tool or mode is currently active at device 101 (e.g., as described with reference to methods 1000, 1200, 1400 and/or 1600), in response to detecting a hand of the user in a particular hand shape (e.g., in a pinch hand shape in which the thumb and the tip of the index finger are touching) followed by movement of the hand in the particular hand shape, device 101 creates marks corresponding to the movement of the hand in the three-dimensional environment 1302. In some embodiments, the location of the marks is based on the location to which the gaze of the user is directed when the marking input is detected, or the location of a cursor for creating the marks, as will be described below. Additional details about marking inputs are described with reference to methods 1000, 1200, 1400 and/or 1600.
In
In some embodiments, while one or more marks that are part of the same collection of marks are being created, device 101 displays those marks in a region or plane that is between the viewpoint of user 1326 and object 1304. For example, in
In
After device 101 detects an end of marking input corresponding to a mark or marks corresponding to the same collection of marks, in some embodiments device 101 projects or moves that mark or collection of marks back towards object 1304, and in some embodiments device 101 maintains that mark or collection of marks on plane 1310. For example, in
Marks 1330b are optionally moved back towards object 1304 by device 101 while remaining contained within a local region or plane 1331b that moves back towards object 1304 and away from plane 1310. Plane 1331b or an indication of plane 1331b is optionally not displayed in three-dimensional environment 1302; however, in some embodiments, plane 1331b or an indication of plane 1331b (e.g., outline of plane 1331b, shading of the surface of plane 1331b, etc.) is displayed in three-dimensional environment 1302. Plane 1331b optionally has a size based on the size of marks 1330b (e.g., the more area consumed by marks 1330b and/or the outer boundary of marks 1330b, the larger plane 1331b, and the less area consumed by marks 1330b and/or the outer boundary of marks 1330b, the smaller plane 1331b), and is optionally different from the size of plane 1310 (e.g., is smaller than plane 1310). In some embodiments, plane 1331b is parallel to plane 1310, and marks 1330b are moved further from the viewpoint of user 1326 than plane 1310. In some embodiments, the size of marks 1330b in three-dimensional environment 1302 is maintained as marks 1330b move away from the viewpoint of user 1326; thus, marks 1330b are optionally displayed at a smaller size via device 101 because they have moved further from the viewpoint of user 1326. In some embodiments, device 101 moves marks 1330b as far back towards object 1304 as possible until plane 1331b touches or collides with object 1304 (e.g., without intersecting with object 1304) and/or until marks 1330b touch or collide with object 1304 (e.g., without intersecting with object 1304).
Different marks that are created on plane 1310 are optionally projected or moved back towards object 1304 by different distances and/or to different positions in three-dimensional environment 1302 depending on their positions relative to object 1304. For example, marks 1330c are optionally moved back towards object 1304 by a greater amount than marks 1330b are moved back towards object 1304, because the distance between the location on plane 1310 on which marks 1330c were created and the surface of object 1304 (e.g., distance perpendicular to plane 1310) is greater than the distance between the location on plane 1310 on which marks 1330b were created and the surface of object 1304 (e.g., distance perpendicular to plane 1310). Similar to marks 1330b, marks 1330c are optionally moved back towards object 1304 by device 101 while remaining contained within a local region or plane 1331c that moves back towards object 1304 and away from plane 1310. Plane 1331c or an indication of plane 1331c is optionally not displayed in three-dimensional environment 1302; however, in some embodiments, plane 1331c or an indication of plane 1331c (e.g., outline of plane 1331c, shading of the surface of plane 1331c, etc.) is displayed in three-dimensional environment 1302. Plane 1331c optionally has a size based on the size of marks 1330c (e.g., the more area consumed by marks 1330c and/or the outer boundary of marks 1330c, the larger plane 1331c, and the less area consumed by marks 1330c and/or the outer boundary of marks 1330c, the smaller plane 1331c), and is optionally different from the size of plane 1310 (e.g., is smaller than plane 1310). In some embodiments, plane 1331c is parallel to plane 1310, and marks 1330c are moved further from the viewpoint of user 1326 than plane 1310. In some embodiments, the size of marks 1330c in three-dimensional environment 1302 is maintained as marks 1330c move away from the viewpoint of user 1326; thus, marks 1330c are optionally displayed at a smaller size via device 101 because they have moved further from the viewpoint of user 1326. In some embodiments, device 101 moves marks 1330c as far back towards object 1304 as possible until plane 1331c touches or collides with object 1304 (e.g., without intersecting with object 1304) and/or until marks 1330c touch or collide with object 1304 (e.g., without intersecting with object 1304).
In some embodiments, as the viewpoint of the user 1326 changes as compared with the original viewpoint from which marks were created, device 101 modifies the visual appearance of the marks. In some embodiments, device 101 modifies the appearance of the marks more the greater the deviation from that original viewpoint. For example, in
In
In some embodiments, device 101 creates marks in different regions and/or planes in three-dimensional environment 1302 when those marks are associated with marking inputs directed to object 1304 from different viewpoints. For example, in
In some embodiments, method 1400 is performed at an electronic device (e.g., 101) in communication 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, a smartphone, a media player, or a wearable device), or a computer. In some embodiments, the display generation component is a display integrated with the electronic device (optionally a touch screen display), external display such as a monitor, projector, television, or a hardware component (optionally integrated or external) for projecting a user interface or causing a user interface to be visible to one or more users, etc. In some embodiments, the one or more input devices include an electronic device or component capable of receiving a user input (e.g., capturing a user input, detecting a user input, etc.) and transmitting information associated with the user input to the electronic device. Examples of input devices include a touch screen, mouse (e.g., external), trackpad (optionally integrated or external), touchpad (optionally integrated or external), remote control device (e.g., external), another mobile device (e.g., separate from the electronic device), 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 electronic device is in communication with a hand tracking device (e.g., one or more cameras, depth sensors, proximity sensors, touch sensors (e.g., a 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 stylus.
In some embodiments, while displaying, via the display generation component, a three-dimensional environment that includes a first three-dimensional object (e.g., a three-dimensional object such as a three-dimensional representation of a car, a box, a ball, a statue, etc. In some embodiments, the first three-dimensional object is displayed in a three-dimensional environment that is generated, displayed, or otherwise caused to be viewable by the device (e.g., a computer-generated reality (CGR) environment such as a virtual reality (VR) environment, a mixed reality (MR) environment, or an augmented reality (AR) environment, etc.)), the electronic device receives (1402a), via the one or more input devices, a first input corresponding to a marking input associated with the first three-dimensional object, such as shown in
In some embodiments, in response to receiving the first input, the electronic device displays (1402b), in the three-dimensional environment, a first set of marks associated with the first three-dimensional object, such as marks 1330a, 1330b or 1330c in
In some embodiments, in accordance with a determination that the respective portion of the three-dimensional object has a second location, different from the first location, in the three-dimensional environment, the first set of marks is displayed in a second region (e.g., two-dimensional plane) in the three-dimensional environment (1402d), wherein the second region has a second distance from the viewpoint of the user (1402e), such as region 1331c in
In some embodiments, the second distance is different from (e.g., greater than or less than) the first distance (14020, such as shown with respect to regions 1331b and 1331c in
In some embodiments, the first region and the second region are not surfaces of the first three-dimensional object (1404), such as shown with respect to regions 1331b and 1331c in
In some embodiments, the respective portion of the first three-dimensional object is selected based on a first respective location of the first set of marks (1406a), such as region 1331b being selected based on the location of marks 1330b in
In some embodiments, while displaying, via the display generation component, the three-dimensional environment that includes the first three-dimensional object, the electronic device receives (1406b), via the one or more input devices, a second input corresponding to a marking input associated with the first three-dimensional object, such as the input corresponding to marks 1330c in
In some embodiments, in response to receiving the second input, the electronic device displays (1406c), in the three-dimensional environment, a second set of marks associated with the three-dimensional object, such as marks 1330c in
In some embodiments, the first set of marks is displayed in the first region in accordance with a determination that the first set of marks does not intersect with the first three-dimensional object while displayed in the first region (1408a). In some embodiments, the second set of marks is displayed in the third region in accordance with a determination that the second set of marks does not intersect with the first three-dimensional object while displayed in the third region (1408b), such as shown with respect to regions 1331b and 1331c in
In some embodiments, the first set of marks is displayed in the first region in accordance with a determination that the first region does not intersect with the first three-dimensional object (1410a). In some embodiments, the second set of marks is displayed in the third region in accordance with a determination that the third region does not intersect with the first three-dimensional object (1410b), such as shown with respect to regions 1331b and 1331c in
In some embodiments, while displaying, via the display generation component, the three-dimensional environment that includes the first three-dimensional object and the first set of marks displayed in the first region, such as the portion of marks 1330b shown in
In some embodiments, in response to receiving the second input, the electronic device displays (1412b), in the three-dimensional environment, a second set of marks associated with the three-dimensional object, such as the portion of marks 1330b completed in
In some embodiments, in accordance with a determination that the one or more criteria are not satisfied (e.g., if the second set of marks is not part of the same group of marks including the first set of marks. For example, if the first set of marks is a dollar sign “S”, and the second set of marks is an outline of a heart shape), the second set of marks is displayed in a third region, different from the first region, in the three-dimensional environment (1412d), such as if the “|” portion of marks 1330b in
In some embodiments, the one or more criteria include a criterion that is satisfied when the first set of marks and the second set of marks together correspond to a collective context, and not satisfied when the first set of marks and the second set of marks do not correspond to a collective context (1414), such as the “S” and “|” portions of marks 1330b collectively corresponding to a dollar sign. For example, if the first and second set of marks, together, have a meaning, then the criterion is satisfied. As an example, the two strokes of a question mark (e.g., corresponding to the first and second set of marks, respectively), together, have a meaning. As another example, the “S” portion of a dollar sign (e.g., corresponding to the first set of marks) and the “|” portion of the dollar sign (e.g., corresponding to the second set of marks), together, have a meaning. In these scenarios, the criterion is optionally satisfied. However, a first set of marks corresponding to a “%” symbol and a second set of marks corresponding to all or a portion of the letter “E”, together, optionally do not have a meaning. In such a scenario, the criterion is optionally not satisfied. Determining groups of marks based on collective context provides an effective manner of determining the relationship between marks, thereby reducing errors in usage and improving user-device interaction.
In some embodiments, the one or more criteria include a criterion that is satisfied when an elapsed time between an end of the first input (e.g., when the pinch of the thumb and tip of the index finger of the hand of the user providing the first input is released, thus no longer creating marks in the three-dimensional environment in accordance with the movement of the hand) and a beginning of the second input (e.g., when the pinch of the thumb and tip of the index finger of the hand of the user providing the second input is established (e.g., the thumb touching the tip of the index finger), thus causing marks to be created in the three-dimensional environment in accordance with the movement of the hand) is less than a time threshold (e.g., 0.1, 0.3, 0.5, 1, 2, 3, 5, or 10 seconds), and not satisfied when the elapsed time between the end of the first input and the beginning of the second input is more than the time threshold (1416), such as the time between the “S” and “|” portions of marks 1330b. For example, in some embodiments determining whether the two sets of marks are part of the same group of marks is additionally or alternatively based on the length of time between the end of the first input and the beginning of the second input. In some embodiments, the longer the length of time, the less likely the marks are determined to be part of the same group of marks, and the shorter the length of time, the more likely the marks are determined to be part of the same group of marks. Determining groups of marks based on elapsed time between marks provides an effective manner of determining the relationship between marks, thereby reducing errors in usage and improving user-device interaction.
In some embodiments, the one or more criteria include a criterion that is satisfied when a distance between a portion of the first set of marks (e.g., any portion of the first set of marks, a portion of the first set of marks created in response to an end of the first input (e.g., based on the last 1%, 3%, 5%, 10%, 20%, 30%, 50%, or 75% of the movement in the first input). In some embodiments, the end of the first input occurs when the pinch of the thumb and tip of the index finger of the hand of the user providing the first input is released, thus no longer creating marks in the three-dimensional environment in accordance with the movement of the hand) and a portion of the second set of marks (e.g., any portion of the second set of marks, a portion of the second set of marks created in response to a beginning of the second input (e.g., based on the first 1%, 3%, 5%, 10%, 20%, 30%, 50%, or 75% of the movement in the second input). In some embodiments, the beginning of the second input occurs when the pinch of the thumb and tip of the index finger of the hand of the user providing the second input is established (e.g., the thumb touching the tip of the index finger), thus causing marks to be created in the three-dimensional environment in accordance with the movement of the hand) is less than a distance threshold (e.g., 0.1, 0.3, 0.5, 1, 2, 3, 5, 10, 20, 30, 50 or 100 inches), and not satisfied when the distance between the portion of the first set of marks and the portion of the second set of marks is greater than the distance threshold (1418), such as the distance between marks 1330b and 1330c. For example, in some embodiments determining whether the two sets of marks are part of the same group of marks is additionally or alternatively based on the distance between the end (or other portion) of the first input and the beginning (or other portion) of the second input. In some embodiments, the longer the distance, the less likely the marks are determined to be part of the same group of marks, and the shorter the distance, the more likely the marks are determined to be part of the same group of marks. In some embodiments, the distance between the sets of marks is a two-dimensional distance (e.g., the distance within the plane in which the marks are being created), because the marks are optionally confined to a plane while being created. In some embodiments, the distance between the sets of marks is a two-dimensional distance (e.g., the distance within the plane in which the marks are being created), because the distance in the third dimension (e.g., towards or away from the viewpoint of the user) is determined automatically and/or corresponds to the location of the hand of the user that is creating the marks. Determining groups of marks based on distance between marks provides an effective manner of determining the relationship between marks, thereby reducing errors in usage and improving user-device interaction.
In some embodiments, the one or more criteria include a criterion that is satisfied based on an attention of the user with respect to the second set of marks during the second input (1420). In some embodiments, the attention of the user is based on the gaze of the user. For example, the attention of the user is optionally directed to the second set of marks when the gaze of the user is directed to the second set of marks, and the attention of the user is optionally directed to the first set of marks when the gaze of the user is directed to the first set of marks. In some embodiments, determining whether the two sets of marks are part of the same group of marks is additionally or alternatively based on the attention of the user. If there is a break in attention of the user directed to the first and/or second set of marks (e.g., if the attention of the user is not directed to the second set of marks after the first set of marks is created until after a time threshold such as 0.1, 0.3, 0.5, 1, 2, 3, 5, or 10 seconds), then the criterion is not satisfied and/or is less likely to be satisfied. If there is not a break in attention of the user (e.g., if the attention of the user is directed to the second set of marks after the first set of marks is created within the time threshold), then the criterion is satisfied and/or is more likely to be satisfied. If the attention of the user was directed to marks within the second set of marks during the second input in a manner that is consistent with the attention of the user directed to marks within the first set of strokes during the first input, the more likely the marks are determined to be part of the same group of marks, and if the attention of the user was directed to marks within the second set of marks during the second input in a manner that is not consistent with the attention of the user directed to marks within the first set of strokes during the first input, the less likely the marks are determined to be part of the same group of marks. Attention consistency optionally includes one or more of the attention of the user moving with similar speed, acceleration, distance from mark to mark within the first set of marks, within the second set of marks and/or from a mark in the first set of marks to a mark in the second set of marks. In some embodiments, if the attention of the user remains within a threshold distance (e.g., 0.1, 0.5, 1, 3, 5, 10, 20, 30, or 50 inches) of the first and/or second set of marks between the first input and the second input, the criterion is optionally satisfied. In some embodiments, if the attention of the user moves further than the threshold distance of the first and/or second set of marks between the first input and the second input, the criterion is optionally not satisfied. Determining groups of marks based on attention provides an effective manner of determining the relationship between marks, thereby reducing errors in usage and improving user-device interaction.
In some embodiments, while receiving the first input and before displaying the first set of marks in the first region, the electronic device displays (1422a), via the display generation component, the first set of marks in a fourth region different from the first region and the third region, such as displaying marks 1330b in region 1310 while the marks are being created. In some embodiments, when the first set of marks are being created in response to the first input, the first set of marks are initially displayed in an initial plane that is between the first three-dimensional object and the viewpoint of the user, optionally normal to the viewpoint of the user.
In some embodiments, after receiving the first input, the electronic device moves (1422b) the first set of marks from the fourth region to the first region, such as moving marks 1330b away from region 1310 into region 1331b in
In some embodiments, while receiving the second input and before displaying the second set of marks in the third region, the electronic device displays (1422c), via the display generation component, the second set of marks in the fourth region, such as displaying marks 1330c in region 1310 while the marks are being created. In some embodiments, when the second set of marks are being created in response to the second input, the second set of marks are initially displayed in the same initial plane that is between the first three-dimensional object and the viewpoint of the user, optionally normal to the viewpoint of the user, in which the first set of marks were created.
In some embodiments, after receiving the second input, the electronic device moves (1422d) the second set of marks from the fourth region to the third region, such as moving marks 1330c away from region 1310 into region 1331c in
In some embodiments, moving the first set of marks from the fourth region to the first region includes displaying an animation of the first set of marks moving from the fourth region to the first region along a path from the fourth region to the first region (1424a), such as an animation of marks 1330b moving away from the viewpoint of the user in
In some embodiments, the first input is received while the viewpoint of the user relative to the first three-dimensional object is a first viewpoint and the first set of marks is displayed in the first region (1426a), such as the viewpoint shown in
In some embodiments, while displaying, via the display generation component, the three-dimensional environment that includes the first three-dimensional object from a second viewpoint, different from the first viewpoint, relative to the first three-dimensional object, such as the viewpoint shown in
In some embodiments, in response to receiving the second input, the electronic device displays (1426c), in the three-dimensional environment, a second set of marks associated with the three-dimensional object, wherein the second set of marks is displayed in a third region (e.g., two-dimensional plane), different from the first region, in the three-dimensional environment, such as marks 1330d being displayed in region 1311 in
In some embodiments, the first input is received while the viewpoint of the user relative to the first three-dimensional object is a first viewpoint (1428a), such as the viewpoint shown in
In some embodiments, while displaying the first three-dimensional object from the first viewpoint relative to the first three-dimensional object, the electronic device displays (1428b) the first set of marks with a visual characteristic having a first value, such as the display of marks 1330a, 1330b, 1330c in
In some embodiments, while displaying the first three-dimensional object from a second viewpoint, different from the first viewpoint, such as the viewpoint shown in
In some embodiments, the electronic device displays (1430), via the display generation component, the first three-dimensional object and the first set of marks as the viewpoint of the user changes from the first viewpoint to the second viewpoint (e.g., while the input for changing the viewpoint of the user is being received), including displaying the visual characteristic of the first set of marks gradually changing from having the first value to having the second value as the viewpoint of the user changes from the first viewpoint to the second viewpoint, such as while changing the viewpoint from the viewpoint of
In some embodiments, the first input is received while the viewpoint of the user relative to the first three-dimensional object is a first viewpoint and the first set of marks is displayed in the first region (1432a), such as the viewpoint shown in
In some embodiments, while displaying the first three-dimensional object from the first viewpoint relative to the first three-dimensional object, the electronic device displays (1432b) the first set of marks in the first region at a first distance from the first viewpoint of the user, such as marks 1330b at the first distance from the viewpoint in
In some embodiments, while displaying the first three-dimensional object from a second viewpoint, different from the first viewpoint, such as the viewpoints shown in
As shown in
In
In some embodiments, device 101 facilitates marking inputs directed to objects in three-dimensional environment 1502, such as marking inputs described with reference to methods 1000, 1200, 1400 and/or 1600. For example, while a marking tool or mode is currently active at device 101 (e.g., as described with reference to methods 1000, 1200, 1400 and/or 1600), in response to detecting a hand of the user in a particular hand shape (e.g., in a pinch hand shape in which the thumb and the tip of the index finger are touching) followed by movement of the hand in the particular hand shape, device 101 creates marks corresponding to the movement of the hand in the three-dimensional environment 1502. In some embodiments, the location of the marks is based on the location of a cursor that is controlled by the hand of the user when the marking input is detected, further details of which will be described below. Additional details about marking inputs are described with reference to methods 1000, 1200, 1400 and/or 1600. It is understood that while
In
In response to detecting one or more of hands 1503a and/or 1503b and/or gazes 1512a and 1512b as described above, device displays cursor 1516a associated with creating marks associated with object 1508, and cursor 1516b associated with creating marks associated with object 1504, as shown in
In some embodiments, in addition to displaying cursors 1516a and/or 1516b in response to detecting one or more of hands 1503a and/or 1503b and/or gazes 1512a and 1512b as described above, device 101 displays an indication of volume 1519a and/or volume 1519b. For example, device 101 optionally displays outlines of volumes 1519a and/or 1519b, highlighting of the space within volumes 1519a and/or 1519b, etc. In some embodiments, device 101 does not display an indication of volumes 1519a and/or 1519b.
As previously mentioned, cursors 1516a and/or 1516b are optionally associated with creating marks associated with objects 1508 and 1504, respectively. For example, when hand 1503a associated with cursor 1516a provides a marking input (e.g., hand 1503a performs a gesture moving from the pre-pinch hand shape to a pinch hand shape in which the tip of the index finger and the thumb are touching, and holds the pinch hand shape), device 101 optionally creates marks associated with object 1508 at the location of cursor 1516a in accordance with the position and/or movement of hand 1503a. Similarly, when hand 1503b associated with cursor 1516b provides marking inputs (e.g., as described above and/or with reference to methods 1000, 1200, 1400 and/or 1600), device 101 optionally creates marks associated with object 1504 at the location of cursor 1516b in accordance with the position and/or movement of hand 1503b. The location of cursor 1516a is optionally controlled by the position and/or movement of hand 1503a, and the location of cursor 1516b is optionally controlled by the position and/or movement of hand 1503b.
In some embodiments, the marks associated with a cursor are two-dimensional marks, and in some embodiments the marks associated with a cursor are three-dimensional marks (e.g., as described in more detail with reference to methods 1000, 1200, 1400 and/or 1600). For example, with reference to object 1504, if the viewpoint of the user and/or the hand providing the marking input is closer than a threshold distance (e.g., 1, 3, 5, 10, 20, 30, 50, 100, 200, or 500 inches) to object 1504, the marks created by cursor 1516b are optionally three-dimensional marks if a three-dimensional marking mode or tool is currently active, or two-dimensional marks if a two-dimensional marking mode or tool is currently active. For three-dimensional marks, cursor 1516b—and therefore marks created by cursor 1516b—is optionally able to move both laterally with respect to the viewpoint of the user (and/or object 1504) in accordance with lateral movements of hand 1503b, as well as towards and/or away from the viewpoint of the user in accordance with movements of hand 1503b towards and/or away from the viewpoint of the user. In
With reference to object 1508, if the viewpoint of the user and/or the hand providing the marking input is further than the threshold distance from object 1508, the marks created by cursor 1516a are optionally two-dimensional marks, and three-dimensional marking is optionally not available. For two-dimensional marks, cursor 1516a—and therefore marks created by cursor 1516a—is optionally able to move laterally with respect to the viewpoint of the user in accordance with lateral movements of hand 1503a (e.g., within a plane 1518 contained within volume 1519a), but not towards and/or away from the viewpoint of the user (and/or object 1508) in accordance with movements of hand 1503a towards and/or away from the viewpoint of the user during the marking input. In
In some embodiments, device 101 displays a palette 1514 of marking tools in three-dimensional environment 1502, as shown in
In
Returning to
In
Similar to cursor 1516a, in
In
Similarly with reference to cursor 1516b, it is now closer to the left boundary of volume 1519b. Therefore, device 101 displays indication 1522b at an increased size and/or with increased brightness/intensity/color/etc. as compared with indication 1522b in
Further in
In
In
In some embodiments, method 1600 is performed at an electronic device (e.g., 101) in communication 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, a smartphone, a media player, or a wearable device), or a computer. In some embodiments, the display generation component is a display integrated with the electronic device (optionally a touch screen display), external display such as a monitor, projector, television, or a hardware component (optionally integrated or external) for projecting a user interface or causing a user interface to be visible to one or more users, etc. In some embodiments, the one or more input devices include an electronic device or component capable of receiving a user input (e.g., capturing a user input, detecting a user input, etc.) and transmitting information associated with the user input to the electronic device. Examples of input devices include a touch screen, mouse (e.g., external), trackpad (optionally integrated or external), touchpad (optionally integrated or external), remote control device (e.g., external), another mobile device (e.g., separate from the electronic device), 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 electronic device is in communication with a hand tracking device (e.g., one or more cameras, depth sensors, proximity sensors, touch sensors (e.g., a 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 stylus.
In some embodiments, while displaying, via the display generation component, a three-dimensional environment that includes a first three-dimensional object (e.g., a three-dimensional object such as a three-dimensional representation of a car, a box, a ball, a statue, etc. In some embodiments, the first three-dimensional object is displayed in a three-dimensional environment that is generated, displayed, or otherwise caused to be viewable by the device (e.g., a computer-generated reality (CGR) environment such as a virtual reality (VR) environment, a mixed reality (MR) environment, or an augmented reality (AR) environment, etc.)), the electronic device receives (1602a), via the one or more input devices, a first input corresponding to a request to move a cursor from a first location to a respective location, different from the first location, in the three-dimensional environment, wherein a location of the cursor in the three-dimensional environment indicates a location at which content associated with the first three-dimensional object in the three-dimensional environment will be modified in response to user inputs, such as cursor 1516a and/or 1516b (e.g., marking or editing inputs). For example, the cursor is for providing a marking input such as described with reference to method 800, such as an input corresponding to a request to draw on or near and/or annotate the first three-dimensional object (e.g., a cursor movement input, whether or not the cursor is engaged to actually create marks in the three-dimensional environment). In some embodiments, the input includes a pinch gesture performed by a hand of the user while a marking tool is the currently active tool, followed by movement of the hand while maintaining a pinch hand shape, which optionally moves the cursor in accordance with the movement of the hand and creates mark(s) corresponding to the marking input at the locations of the cursor in the three-dimensional environment as it moves. In some embodiments, the input includes a pre-pinch hand shape of the hand of the user in which the index finger and thumb are not touching but are within a threshold distance (e.g., 0.1, 0.2, 0.5, 1, 2, 5, 10, or 20 inches) of one another, followed by movement of the hand in the pre-pinch hand shape, which optionally moves the cursor in the three-dimensional environment in accordance with the movement of the hand without creating marks in accordance with that movement. In some embodiments, the first input is an input such as described with reference to method 800 (e.g., for entering content). In some embodiments, the first input and/or other inputs described with reference to method 1600 are air gesture inputs, such as described with reference to method 1400.
In some embodiments, in response to receiving the first input (1602b), the electronic device moves (1602c) the cursor to the respective location in the three-dimensional environment in accordance with the first input, such as shown with cursors 1516a and 1516b in
In some embodiments, in accordance with a determination that the respective location is a second location in the three-dimensional environment, the electronic device displays (1602d), via the display generation component, a first visual indication associated with a boundary of a volume in the three-dimensional environment for modifying content associated with the first three-dimensional object, such as indication 1522a or 1522b in
In some embodiments, in accordance with a determination that the respective location is a third location, different from the second location, the electronic device forgoes (1602e) displaying the first visual indication in the three-dimensional environment, such as if the location is the location of cursor 1516a or 1516b in
In some embodiments, the first input is received while displaying, via the display generation component, the cursor for creating marking content associated with the first three-dimensional object (1604), such as cursors 1516a and/or 1516b. In some embodiments, the cursor creates a mark at a current location of the cursor in the three-dimensional environment. In some embodiments, as the cursor moves (e.g., in accordance with hand movement) while creating the mark, a continuous mark based on the movement of the cursor is created in the three-dimensional environment. In some embodiments, the cursor creates such marks if the hand that is controlling the cursor is in a pinch hand shape (e.g., thumb touching the tip of the index finger), but does not create such marks if the hand that is controlling the cursor is not in the pinch hand shape. Additional details about cursor-based marking are provided with reference to methods 1000, 1200 and/or 1400. Providing for marking input using the cursor provides a convenient manner of creating marking input in the three-dimensional environment, thereby reducing errors in usage and improving user-device interaction.
In some embodiments, while receiving the first input, the electronic device creates (1606a) marking content associated with the first three-dimensional object in accordance with the first input, such as marks 1520a or 1520b (e.g., lines, curves, etc. in accordance with the movement of the hand that is controlling the cursor, such as marking content described with reference to method 1400), wherein, in accordance with a determination that the first three-dimensional object is further than a threshold distance (e.g., 1, 3, 5, 10, 20, 30, 50, 100, 200, or 500 inches) from a viewpoint of a user of the electronic device (e.g., the viewpoint from which the electronic device is displaying the three-dimensional environment), the marking content is two-dimensional marking content associated with the first three-dimensional object (1606b), such as marks 1520a. For example, the marking content includes marks that are contained within a two-dimensional plane or region, and do not extend outside of that plane or region, even if the hand of the user that is controlling the cursor moves closer to or further away from the three-dimensional object while creating the marking content. Additional details about such two-dimensional marking content are provided with reference to methods 1200 and/or 1400. Thus, in some embodiments, only two-dimensional marking and not three-dimensional marking (as will be described in more detail below) is available for marking (e.g., three-dimensional) objects that are further than the threshold distance from the viewpoint of the user. Creating two-dimensional marking content for objects that are relatively far from the viewpoint of the user avoids imprecise placement of marking content due to imprecise movement of the hand of the user, thereby reducing errors in usage and improving user-device interaction.
In some embodiments, while receiving the first input (1608a), in accordance with a determination that the first three-dimensional object is closer than the threshold distance (e.g., 1, 3, 5, 10, 20, 30, 50, 100, 200, or 500 inches) from the viewpoint of the user of the electronic device (1608b) (e.g., the viewpoint from which the electronic device is displaying the three-dimensional environment), in accordance with a determination that one or more first criteria are satisfied (e.g., a two-dimensional marking tool is currently selected, such as described with reference to methods 1000 and/or 1200), the marking content is two-dimensional marking content associated with the first three-dimensional object (1608c), such as marks 1520a.
In some embodiments, in accordance with a determination that one or more second criteria are satisfied (e.g., a three-dimensional marking tool is currently selected, such as described with reference to methods 1000 and/or 1200), the marking content is three-dimensional marking content associated with the first three-dimensional object (1608d), such as marks 1520b. Two-dimensional marking content was previously described. Three-dimensional marking content optionally includes marks that are not confined to a two-dimensional plane or region and extend beyond such a plane or region. Three-dimensional marks optionally extend towards and/or away from the three-dimensional object in accordance with the movement of the hand of the user that is controlling the cursor towards or away from the three-dimensional object, respectively. Additional details about such three-dimensional marking content are provided with reference to methods 1200 and/or 1400. Thus, in some embodiments, both two-dimensional marking and three-dimensional marking are available for marking (e.g., three-dimensional) objects that are closer than the threshold distance to the viewpoint of the user. Allowing for two-dimensional or three-dimensional marking content for objects that are close to the viewpoint of the user provides flexibility to the user in creating marking content, thereby improving user-device interaction.
In some embodiments, in response to detecting a beginning of the first input (e.g., detecting the tip of the index finger coming to and touching and remaining in contact with the thumb of the hand of the user that is controlling the cursor, optionally before detecting movement of the hand of the user) while the first three-dimensional object is further than the threshold distance (e.g., 1, 3, 5, 10, 20, 30, 50, 100, 200, or 500 inches) from the viewpoint of the user, the electronic device creates (1610a) two-dimensional marking content associated with the first three-dimensional object in accordance with the beginning of the first input, such as with respect to hand 1503a and marks 1520a in
In some embodiments, after creating the two-dimensional marking input and while continuing to detect the first input (1610b) (e.g., while the tip of the index finger and the thumb of the hand of the user that is controlling the cursor remain in contact with one another), the electronic device detects (1610c) a change in a distance between the first three-dimensional object and the viewpoint of the user to a distance less than the threshold distance, such as with respect to hand 1503a in
In some embodiments, while detecting the continuation of the first input, the electronic device creates (1610d) two-dimensional marking content associated with the first three-dimensional object in accordance with the continuation of the first input, such as shown with marks 1520a in
In some embodiments, the electronic device displays (1612), via the display generation component, a first selectable option that is selectable to associate the cursor with two-dimensional marking input, and a second selectable option that is selectable to associate the cursor with three-dimensional marking input, such as options 1516a and 1516b in
In some embodiments, while a gaze of the user is directed to the first selectable option (1614a), in accordance with a determination that a respective portion (e.g., hand) of a user of the electronic device is in a predefined pose (e.g., the hand of the user is in a ready hand position and/or shape in which the hand of the user is raised in front of the viewpoint of the user and/or the index finger and thumb are not touching each other, but are in a pre-pinch hand shape such that the thumb and index finger are within a threshold distance (e.g., 0.3, 0.5, 1, 2, 3, 5, or 10 inches) of touching each other), the electronic device designates (1614b) the first selectable option for subsequent selection by the respective portion of the user, such as gaze 1512c being directed to option 1516a while hand 1503a is in the predefined pose in
In some embodiments, in accordance with a determination that the respective portion of the user of the electronic device is not in the predefined pose (e.g., the hand of the user is not in the ready hand shape and/or position), the electronic device forgoes (1614c) designating the first selectable option for subsequent selection by the respective portion of the user, such as if hand 1503a in
In some embodiments, while the cursor is associated with the two-dimensional marking input, the electronic device receives (1616a), via the one or more input devices, a second input including a respective portion of a user of the electronic device performing a predefined gesture (e.g., a hand of the user performing a pinch gesture) while a gaze of the user is directed to the first selectable option, such as the selection input of option 1516a in
In some embodiments, in response to receiving the second input, the electronic device displays (1616b), via the display generation component, one or more selectable options for modifying one or more characteristics of the two-dimensional marking input, such as options 1516d and 1516e in
In some embodiments, the second location is within a threshold distance (e.g., 0.1, 0.2, 0.3, 0.5, 1, 2, 3, 5, 10, 20, or 50 inches) of the boundary of the volume in the three-dimensional environment, and the third location is further than the threshold distance of the boundary of the volume in the three-dimensional environment (1618). In some embodiments, the distance of the cursor from the boundary is the perpendicular or shortest distance projection from the cursor to the boundary of the volume. Thus, if the cursor is within the threshold distance—using perpendicular or shortest distance projection—of the boundary of the volume, the electronic device optionally displays the visual indication associated with the boundary at that location on the boundary corresponding to the perpendicular or shortest distance projection from the cursor. Selectively displaying an indication of the boundary of a marking volume for an object based on distance of the cursor from the boundary conveys information about the boundary when needed, but otherwise does not consume space in the three-dimensional environment, thereby reducing errors in usage and improving user-device interaction.
In some embodiments, the first visual indication associated with the boundary of the volume has a first visual appearance (e.g., a first size, a first color, a first brightness, and/or a first translucency, etc. corresponding to the current distance—optionally using perpendicular or shortest distance projection—of the cursor from the boundary) while the cursor is at the second location in the three-dimensional environment (1620a), such as the visual appearance of indication 1522b in
In some embodiments, the electronic device receives (1620b), via the one or more input devices, a second input corresponding to a request to move the cursor from the second location to a fourth location that is closer to the boundary of the volume than the second location, such as the input for moving cursor 1516b in
In some embodiments, in response to receiving the second input (1620c), the electronic device moves (1620d) the cursor to the fourth location in the three-dimensional environment in accordance with the second input, such as shown with cursor 1516b in
In some embodiments, the electronic device displays (1620e), via the display generation component, the first visual indication with a second visual appearance (e.g., a second size, a second color, a second brightness, and/or a second translucency, etc. corresponding to the updated distance—optionally using perpendicular or shortest distance projection—of the cursor from the boundary), different from the first visual appearance, such as the updated visual appearance of indication 1522b in
In some embodiments, the first visual indication includes a simulated lighting effect emanating from the cursor onto the boundary of the volume (1622), such as described with reference to indications 1522a and 1522b. For example, the cursor is optionally treated as a simulated light source, and the indication of the boundary is optionally the casting of the simulated light from the cursor onto the boundary. Thus, in some embodiments, the size, intensity, etc. of the indication corresponds to simulated casting of light onto the boundary. Because in some embodiments the boundary of the volume is transparent or mostly transparent, the casting of the light from the cursor onto the boundary and/or the reflection of such light from the boundary is optionally the primary indication of where the boundary is located in the three-dimensional environment. Indicating the boundary of the volume using simulated casting of light efficiently conveys how close the cursor is to the boundary, thereby reducing errors in usage and improving user-device interaction.
In some embodiments, displaying the first visual indication associated with the boundary of the volume in the three-dimensional environment is further in accordance with a determination that a plurality of criteria is satisfied (1624a), including a first criterion that is satisfied when a gaze of a user of the electronic device is directed to the volume (1624b). For example, the gaze of the user is directed to any location within the volume. In some embodiments, the first criterion is not satisfied if the gaze of the user is directed to a location outside of the volume—and therefore, the first visual indication is optionally not displayed.
In some embodiments, the plurality of criteria includes a second criterion that is satisfied when a respective portion of the user (e.g., a hand) of the electronic device has a predefined pose (1624c), such as hands 1503a and 1503b in
In some embodiments, the cursor is displayed in the volume in accordance with the determination that the plurality of criteria are satisfied (1626), such as display of cursors 1516a and 1516b in
In some embodiments, the electronic device receives (1628a), via the one or more input devices, a second input corresponding to a request to move the cursor to a fourth location in the three-dimensional environment, such as the cursor movement inputs in
In some embodiments, in response to receiving the second input (1628b), in accordance with a determination that the fourth location is within the volume (e.g., the magnitude of the second input (e.g., the magnitude of the hand movement in the second input) is sufficiently small and/or corresponds to movement of the cursor that is sufficiently small such that the movement of the cursor away from its current location in the volume in accordance with the magnitude would result in the cursor remaining within the volume), the electronic device moves (1628c) the cursor to the fourth location in accordance with the second input, such as the cursor movements in
In some embodiments, in accordance with a determination that the fourth location is outside of the volume, such as with respect to the cursor movement inputs in
In some embodiments, in response to receiving a beginning of the first input (e.g., detecting the tip of the index finger coming to and touching and remaining in contact with the thumb of the hand of the user that is controlling the cursor, optionally before detecting movement of the hand of the user) and in accordance with a determination that the first input is a marking input for creating marking content associated with the first three-dimensional object (e.g., the plurality of criteria previously described for displaying the cursor are satisfied), the electronic device displays (1630), via the display generation component, a representation of the boundary of the volume in the three-dimensional environment, such as displaying an outline of the boundaries of volume 1519b, volume 1519a and/or plane 1518 in
In some embodiments, the first visual indication associated with the boundary of the volume is at a first respective location (e.g., on the boundary of the volume, such as at the perpendicular or shortest distance projection from the cursor at the second location onto the boundary) in the three-dimensional environment while the cursor is at the second location in the three-dimensional environment (1632a), such as shown in
In some embodiments, aspects/operations of methods 800, 1000, 1200, 1400 and 1600 may be interchanged, substituted, and/or added between these methods. For example, the marking inputs of methods 800, 1000, 1200, 1400 and 1600, the objects of methods 800, 1000, 1200, 1400 and 1600, the three-dimensional environments of methods 800, 1000, 1200, 1400 and 1600, the marking tools or palettes of methods 800, 1000, 1200, 1400 and 1600, and/or the marking modes or techniques of methods 800, 1000, 1200, 1400 and 1600 are optionally interchanged, substituted, and/or added between these methods. For brevity, these details are not repeated here.
The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, to thereby enable others skilled in the art to best use the invention and various described embodiments with various modifications as are suited to the particular use contemplated.
As described above, one aspect of the present technology is the gathering and use of data available from various sources to improve XR experiences of users. The present disclosure contemplates that in some instances, this gathered data may include personal information data that uniquely identifies or can be used to contact or locate a specific person. Such personal information data can include demographic data, location-based data, telephone numbers, email addresses, twitter IDs, home addresses, data or records relating to a user's health or level of fitness (e.g., vital signs measurements, medication information, exercise information), date of birth, or any other identifying or personal information.
The present disclosure recognizes that the use of such personal information data, in the present technology, can be used to the benefit of users. For example, the personal information data can be used to improve an XR experience of a user. Further, other uses for personal information data that benefit the user are also contemplated by the present disclosure. For instance, health and fitness data may be used to provide insights into a user's general wellness, or may be used as positive feedback to individuals using technology to pursue wellness goals.
The present disclosure contemplates that the entities responsible for the collection, analysis, disclosure, transfer, storage, or other use of such personal information data will comply with well-established privacy policies and/or privacy practices. In particular, such entities should implement and consistently use privacy policies and practices that are generally recognized as meeting or exceeding industry or governmental requirements for maintaining personal information data private and secure. Such policies should be easily accessible by users, and should be updated as the collection and/or use of data changes. Personal information from users should be collected for legitimate and reasonable uses of the entity and not shared or sold outside of those legitimate uses. Further, such collection/sharing should occur after receiving the informed consent of the users. Additionally, such entities should consider taking any needed steps for safeguarding and securing access to such personal information data and ensuring that others with access to the personal information data adhere to their privacy policies and procedures. Further, such entities can subject themselves to evaluation by third parties to certify their adherence to widely accepted privacy policies and practices. In addition, policies and practices should be adapted for the particular types of personal information data being collected and/or accessed and adapted to applicable laws and standards, including jurisdiction-specific considerations. For instance, in the US, collection of or access to certain health data may be governed by federal and/or state laws, such as the Health Insurance Portability and Accountability Act (HIPAA); whereas health data in other countries may be subject to other regulations and policies and should be handled accordingly. Hence different privacy practices should be maintained for different personal data types in each country.
Despite the foregoing, the present disclosure also contemplates embodiments in which users selectively block the use of, or access to, personal information data. That is, the present disclosure contemplates that hardware and/or software elements can be provided to prevent or block access to such personal information data. For example, in the case of XR experiences, the present technology can be configured to allow users to select to “opt in” or “opt out” of participation in the collection of personal information data during registration for services or anytime thereafter. In addition to providing “opt in” and “opt out” options, the present disclosure contemplates providing notifications relating to the access or use of personal information. For instance, a user may be notified upon downloading an app that their personal information data will be accessed and then reminded again just before personal information data is accessed by the app.
Moreover, it is the intent of the present disclosure that personal information data should be managed and handled in a way to minimize risks of unintentional or unauthorized access or use. Risk can be minimized by limiting the collection of data and deleting data once it is no longer needed. In addition, and when applicable, including in certain health related applications, data de-identification can be used to protect a user's privacy. De-identification may be facilitated, when appropriate, by removing specific identifiers (e.g., date of birth, etc.), controlling the amount or specificity of data stored (e.g., collecting location data a city level rather than at an address level), controlling how data is stored (e.g., aggregating data across users), and/or other methods.
Therefore, although the present disclosure broadly covers use of personal information data to implement one or more various disclosed embodiments, the present disclosure also contemplates that the various embodiments can also be implemented without the need for accessing such personal information data. That is, the various embodiments of the present technology are not rendered inoperable due to the lack of all or a portion of such personal information data. For example, an XR experience can be generated by inferring preferences based on non-personal information data or a bare minimum amount of personal information, such as the content being requested by the device associated with a user, other non-personal information available to the service, or publicly available information.
This application claims the benefit of U.S. Provisional Application No. 63/164,470, filed Mar. 22, 2021, and U.S. Provisional Application No. 63/261,665, filed Sep. 25, 2021, the contents of which are incorporated herein by reference in their entireties for all purposes.
Number | Date | Country | |
---|---|---|---|
63164470 | Mar 2021 | US | |
63261665 | Sep 2021 | US |