This relates generally to electronic devices with touch-sensitive surfaces, including but not limited to electronic devices with touch-sensitive surfaces that present computer-generated reality (CGR) files.
Programming a CGR application can be a difficult and time-consuming process, requiring expert knowledge in, for example, 3D object design and application coding. This presents a high barrier to the generation of quality CGR applications.
Accordingly, there is a need for electronic devices with faster, more efficient methods and interfaces for presenting computer-generated reality (CGR) files (such as an executable CGR application or a CGR file that can be read by a CGR application to provide a CGR experience to a user). Such methods and interfaces optionally complement or replace conventional methods for presenting CGR files. Such methods and interfaces reduce the cognitive burden on a user and produce a more efficient human-machine interface. For battery-operated devices, such methods and interfaces conserve power and increase the time between battery charges.
The above deficiencies and other problems associated with user interfaces for electronic devices with touch-sensitive surfaces are reduced or eliminated by the disclosed devices. In some embodiments, the device is a desktop computer. In some embodiments, the device is portable (e.g., a notebook computer, tablet computer, or handheld device). In some embodiments, the device has a touchpad. In some embodiments, the device has a touch-sensitive display (also known as a “touch screen” or “touch-screen display”). In some embodiments, the device 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 primarily through stylus and/or finger contacts and gestures on the touch-sensitive surface. In some embodiments, the functions optionally include image editing, drawing, presenting, word processing, website creating, disk authoring, spreadsheet making, game playing, telephoning, video conferencing, e-mailing, instant messaging, workout support, digital photographing, digital videoing, web browsing, digital music playing, 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.
In accordance with some embodiments, a method is performed at a device including one or more processors, non-transitory memory, a camera, a display, and one or more input devices. The method includes, receiving, via the one or more input devices, a user input to present a computer-generated reality (CGR) scene including one or more CGR objects, wherein the CGR scene is associated with a first anchor and a second anchor. The method includes capturing, using the camera, an image of a physical environment. The method includes determining that the image of the physical environment lacks a portion corresponding to the first anchor. The method includes detecting a portion of the image of the physical environment corresponding to the second anchor. The method includes, in response to determining that image of the physical environment lacks a portion corresponding to the first anchor and detecting a portion of the image of the physical environment corresponding to the second anchor, displaying, on a display, the CGR scene at a location of the display corresponding to the second anchor.
In accordance with some embodiments, a method is performed at a device with one or more processors, non-transitory memory, and a display. The method includes displaying, on the display, a representation of a computer-generated reality (CGR) object associated with a first parameter and a second parameter, wherein the first parameter has a first one of a plurality of first parameter values and the second parameter has a first one of a plurality of second parameter values. The method includes displaying, on the display, a first user interface element for selection of a second one of the plurality of first parameter values. The method includes displaying, on the display, a second user interface element for selection of a second one of the plurality of second parameter values, wherein, based on the first one of the plurality of first parameter values and one or more selection rules, a subset of the plurality of second parameters values are presented for selection via the second user interface element.
In accordance with some embodiments, a method is performed at a device with one or more processors, non-transitory memory, and a display. The method includes displaying, on the display, a representation of CGR scene including displaying a representation of a first CGR object of the CGR scene, wherein displaying the representation of the first CGR object is based on a display mesh associated with the first CGR object. The method includes determining an interaction of the first CGR object with a second CGR object of the CGR scene based on a physics mesh associated with the first CGR object, wherein the physics mesh associated with the first CGR object is different than the display mesh associated with the first CGR object.
In accordance with some embodiments, an electronic device includes a display, one or more input devices, one or more processors, non-transitory memory, and one or more programs; the one or more programs are stored in the non-transitory memory and configured to be executed by the one or more processors and the one or more programs include instructions for performing or causing performance of the operations of any of the methods described herein. In accordance with some embodiments, a non-transitory computer readable storage medium has stored therein instructions which when executed by one or more processors of an electronic device with a display and one or more input devices, cause the device to perform or cause performance of the operations of any of the methods described herein. In accordance with some embodiments, a graphical user interface on an electronic device with a display, one or more input devices, a non-transitory memory, and one or more processors configured to execute one or more programs stored in the non-transitory memory, including one or more of the elements displayed in any of the methods described above, which are updated in response to inputs, as described in any of the methods described herein. In accordance with some embodiments, an electronic device includes: a display, one or more input devices; and means for performing or causing performance of the operations of any of the methods described herein. In accordance with some embodiments, an information processing apparatus, for use in an electronic device with a display and one or more input devices, includes means for performing or causing performance of the operations of any of the methods described herein.
Thus, electronic devices with displays and input devices, such as touch-sensitive surfaces are provided with faster, more efficient methods and interfaces for presenting CGR files, thereby increasing the effectiveness, efficiency, and user satisfaction with such devices. Such methods and interfaces may complement or replace conventional methods for presenting CGR files.
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.
In accordance with various embodiments, a graphical user interface (GUI) is provided to simplify the generation of a CGR file includes data regarding CGR content and further includes data describing how the CGR content is to presented.
Below,
Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the various described embodiments. However, it will be apparent to one of ordinary skill in the art that the various described embodiments may be practiced without these specific details. In other instances, well-known methods, procedures, components, circuits, and networks have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.
It will also be understood that, although the terms first, second, etc. are, in some instances, used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first contact could be termed a second contact, and, similarly, a second contact could be termed a first contact, without departing from the scope of the various described embodiments. The first contact and the second contact are both contacts, but they are not the same contact, unless the context clearly indicates otherwise.
The terminology used in the description of the various described embodiments herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used in the description of the various described embodiments and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms “includes,” “including,” “comprises,” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
As used herein, the term “if” is, optionally, construed to mean “when” or “upon” or “in response to determining” or “in response to detecting,” depending on the context. Similarly, the phrase “if it is determined” or “if [a stated condition or event] is detected” is, optionally, construed to mean “upon determining” or “in response to determining” or “upon detecting [the stated condition or event]” or “in response to detecting [the stated condition or event],” depending on the context.
Embodiments of electronic devices, user interfaces for such devices, and associated processes for using such devices are described. In some embodiments, the device is a portable communications device, such as a mobile telephone, that also contains other functions, such as PDA and/or music player functions. Example embodiments of portable multifunction devices include, without limitation, the iPhone®, iPod Touch®, and iPad® devices from Apple Inc. of Cupertino, California. Other portable electronic devices, such as laptops or tablet computers with touch-sensitive surfaces (e.g., touch-screen displays and/or touchpads), are, optionally, used. It should also be understood that, in some embodiments, the device is not a portable communications device, but is a desktop computer with a touch-sensitive surface (e.g., a touch-screen display and/or a touchpad).
In the discussion that follows, an electronic device that includes a display and a touch-sensitive surface is described. It should be understood, however, that the electronic device optionally includes one or more other physical user-interface devices, such as a physical keyboard, a mouse and/or a joystick.
The device typically supports a variety of applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disk authoring application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an e-mail application, an instant messaging application, a workout support application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, and/or a digital video player application.
The various applications that are executed on the device optionally use at least one common physical user-interface device, such as the touch-sensitive surface. One or more functions of the touch-sensitive surface as well as corresponding information displayed on the device are, optionally, adjusted and/or varied from one application to the next and/or within a respective application. In this way, a common physical architecture (such as the touch-sensitive surface) of the device optionally supports the variety of applications with user interfaces that are intuitive and transparent to the user.
Attention is now directed toward embodiments of portable devices with touch-sensitive displays.
As used in the specification and claims, the term “tactile output” refers to physical displacement of a device relative to a previous position of the device, physical displacement of a component (e.g., a touch-sensitive surface) of a device relative to another component (e.g., housing) of the device, or displacement of the component relative to a center of mass of the device that will be detected by a user with the user's sense of touch. For example, in situations where the device or the component of the device is in contact with a surface of a user that is sensitive to touch (e.g., a finger, palm, or other part of a user's hand), the tactile output generated by the physical displacement will be interpreted by the user as a tactile sensation corresponding to a perceived change in physical characteristics of the device or the component of the device. For example, movement of a touch-sensitive surface (e.g., a touch-sensitive display or trackpad) is, optionally, interpreted by the user as a “down click” or “up click” of a physical actuator button. In some cases, a user will feel a tactile sensation such as an “down click” or “up click” even when there is no movement of a physical actuator button associated with the touch-sensitive surface that is physically pressed (e.g., displaced) by the user's movements. As another example, movement of the touch-sensitive surface is, optionally, interpreted or sensed by the user as “roughness” of the touch-sensitive surface, even when there is no change in smoothness of the touch-sensitive surface. While such interpretations of touch by a user will be subject to the individualized sensory perceptions of the user, there are many sensory perceptions of touch that are common to a large majority of users. Thus, when a tactile output is described as corresponding to a particular sensory perception of a user (e.g., an “up click,” a “down click,” “roughness”), unless otherwise stated, the generated tactile output corresponds to physical displacement of the device or a component thereof that will generate the described sensory perception for a typical (or average) user.
It should be appreciated that device 100 is only one example of a portable multifunction device, and that device 100 optionally has more or fewer components than shown, optionally combines two or more components, or optionally has a different configuration or arrangement of the components. The various components shown in
Memory 102 optionally includes high-speed random access memory and optionally also includes non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. Access to memory 102 by other components of device 100, such as CPU(s) 120 and the peripherals interface 118, is, optionally, controlled by memory controller 122.
Peripherals interface 118 can be used to couple input and output peripherals of the device to CPU(s) 120 and memory 102. The one or more processors 120 run or execute various software programs and/or sets of instructions stored in memory 102 to perform various functions for device 100 and to process data.
In some embodiments, peripherals interface 118, CPU(s) 120, and memory controller 122 are, optionally, implemented on a single chip, such as chip 104. In some other embodiments, they are, optionally, implemented on separate chips.
RF (radio frequency) circuitry 108 receives and sends RF signals, also called electromagnetic signals. RF circuitry 108 converts electrical signals to/from electromagnetic signals and communicates with communications networks and other communications devices via the electromagnetic signals. RF circuitry 108 optionally includes well-known circuitry for performing these functions, including but not limited to an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chipset, a subscriber identity module (SIM) card, memory, and so forth. RF circuitry 108 optionally communicates with networks, such as the Internet, also referred to as the World Wide Web (WWW), an intranet and/or a wireless network, such as a cellular telephone network, a wireless local area network (LAN) and/or a metropolitan area network (MAN), and other devices by wireless communication. The wireless communication optionally uses any of a plurality of communications standards, protocols and technologies, including but not limited to Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), high-speed downlink packet access (HSDPA), high-speed uplink packet access (HSUPA), Evolution, Data-Only (EV-DO), HSPA, HSPA+, Dual-Cell HSPA (DC-HSPDA), long term evolution (LTE), near field communication (NFC), wideband code division multiple access (W-CDMA), code division multiple access (CDMA), time division multiple access (TDMA), Bluetooth, Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11ac, IEEE 802.11ax, IEEE 802.11b, IEEE 802.11g and/or IEEE 802.11n), voice over Internet Protocol (VOIP), Wi-MAX, a protocol for e-mail (e.g., Internet message access protocol (IMAP) and/or post office protocol (POP)), instant messaging (e.g., extensible messaging and presence protocol (XMPP), Session Initiation Protocol for Instant Messaging and Presence Leveraging Extensions (SIMPLE), Instant Messaging and Presence Service (IMPS)), and/or Short Message Service (SMS), or any other suitable communication protocol, including communication protocols not yet developed as of the filing date of this document.
Audio circuitry 110, speaker 111, and microphone 113 provide an audio interface between a user and device 100. Audio circuitry 110 receives audio data from peripherals interface 118, converts the audio data to an electrical signal, and transmits the electrical signal to speaker 111. Speaker 111 converts the electrical signal to human-audible sound waves. Audio circuitry 110 also receives electrical signals converted by microphone 113 from sound waves. Audio circuitry 110 converts the electrical signal to audio data and transmits the audio data to peripherals interface 118 for processing. Audio data is, optionally, retrieved from and/or transmitted to memory 102 and/or RF circuitry 108 by peripherals interface 118. In some embodiments, audio circuitry 110 also includes a headset jack (e.g., 212,
I/O subsystem 106 couples input/output peripherals on device 100, such as touch-sensitive display system 112 and other input or control devices 116, with peripherals interface 118. I/O subsystem 106 optionally includes display controller 156, optical sensor controller 158, intensity sensor controller 159, haptic feedback controller 161, and one or more input controllers 160 for other input or control devices. The one or more input controllers 160 receive/send electrical signals from/to other input or control devices 116. The other input or control devices 116 optionally include physical buttons (e.g., push buttons, rocker buttons, etc.), dials, slider switches, joysticks, click wheels, and so forth. In some alternate embodiments, input controller(s) 160 are, optionally, coupled with any (or none) of the following: a keyboard, infrared port, USB port, stylus, and/or a pointer device such as a mouse. The one or more buttons (e.g., 208,
Touch-sensitive display system 112 provides an input interface and an output interface between the device and a user. Display controller 156 receives and/or sends electrical signals from/to touch-sensitive display system 112. Touch-sensitive display system 112 displays visual output to the user. The visual output optionally includes graphics, text, icons, video, and any combination thereof (collectively termed “graphics”). In some embodiments, some or all of the visual output corresponds to user-interface objects.
Touch-sensitive display system 112 has a touch-sensitive surface, sensor or set of sensors that accepts input from the user based on haptic/tactile contact. Touch-sensitive display system 112 and display controller 156 (along with any associated modules and/or sets of instructions in memory 102) detect contact (and any movement or breaking of the contact) on touch-sensitive display system 112 and converts the detected contact into interaction with user-interface objects (e.g., one or more soft keys, icons, web pages or images) that are displayed on touch-sensitive display system 112. In an example embodiment, a point of contact between touch-sensitive display system 112 and the user corresponds to a finger of the user or a stylus.
Touch-sensitive display system 112 optionally uses LCD (liquid crystal display) technology, LPD (light emitting polymer display) technology, or LED (light emitting diode) technology, although other display technologies are used in other embodiments. Touch-sensitive display system 112 and display controller 156 optionally detect contact and any movement or breaking thereof using any of a plurality of touch sensing technologies now known or later developed, including but not limited to capacitive, resistive, infrared, and surface acoustic wave technologies, as well as other proximity sensor arrays or other elements for determining one or more points of contact with touch-sensitive display system 112. In an example embodiment, projected mutual capacitance sensing technology is used, such as that found in the iPhone®, iPod Touch®, and iPad® from Apple Inc. of Cupertino, California.
Touch-sensitive display system 112 optionally has a video resolution in excess of 100 dpi. In some embodiments, the touch screen video resolution is in excess of 400 dpi (e.g., 500 dpi, 800 dpi, or greater). The user optionally makes contact with touch-sensitive display system 112 using any suitable object or appendage, such as a stylus, a finger, and so forth. In some embodiments, the user interface is designed to work with finger-based contacts and gestures, which can be less precise than stylus-based input due to the larger area of contact of a finger on the touch screen. In some embodiments, the device translates the rough finger-based input into a precise pointer/cursor position or command for performing the actions desired by the user.
In some embodiments, in addition to the touch screen, device 100 optionally includes a touchpad for activating or deactivating particular functions. In some embodiments, the touchpad is a touch-sensitive area of the device that, unlike the touch screen, does not display visual output. The touchpad is, optionally, a touch-sensitive surface that is separate from touch-sensitive display system 112 or an extension of the touch-sensitive surface formed by the touch screen.
Device 100 also includes power system 162 for powering the various components. Power system 162 optionally includes a power management system, one or more power sources (e.g., battery, alternating current (AC)), a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator (e.g., a light-emitting diode (LED)) and any other components associated with the generation, management and distribution of power in portable devices.
Device 100 optionally also includes one or more optical sensors 164.
Device 100 optionally also includes one or more contact intensity sensors 165.
Device 100 optionally also includes one or more proximity sensors 166.
Device 100 optionally also includes one or more tactile output generators 163.
Device 100 optionally also includes one or more accelerometers 167, gyroscopes 168, and/or magnetometers 169 (e.g., as part of an inertial measurement unit (IMU)) for obtaining information concerning the position (e.g., attitude) of the device.
In some embodiments, the software components stored in memory 102 include operating system 126, communication module (or set of instructions) 128, contact/motion module (or set of instructions) 130, graphics module (or set of instructions) 132, haptic feedback module (or set of instructions) 133, text input module (or set of instructions) 134, Global Positioning System (GPS) module (or set of instructions) 135, and applications (or sets of instructions) 136. Furthermore, in some embodiments, memory 102 stores device/global internal state 157, as shown in
Operating system 126 (e.g., iOS, Darwin, RTXC, LINUX, UNIX, OS X, WINDOWS, or an embedded operating system such as VxWorks) includes various software components and/or drivers for controlling and managing general system tasks (e.g., memory management, storage device control, power management, etc.) and facilitates communication between various hardware and software components.
Communication module 128 facilitates communication with other devices over one or more external ports 124 and also includes various software components for handling data received by RF circuitry 108 and/or external port 124. External port 124 (e.g., Universal Serial Bus (USB), FIREWIRE, etc.) is adapted for coupling directly to other devices or indirectly over a network (e.g., the Internet, wireless LAN, etc.). In some embodiments, the external port is a multi-pin (e.g., 30-pin) connector that is the same as, or similar to and/or compatible with the 30-pin connector used in some iPhone®, iPod Touch®, and iPad® devices from Apple Inc. of Cupertino, California. In some embodiments, the external port is a Lightning connector that is the same as, or similar to and/or compatible with the Lightning connector used in some iPhone®, iPod Touch®, and iPad® devices from Apple Inc. of Cupertino, California.
Contact/motion module 130 optionally detects contact with touch-sensitive display system 112 (in conjunction with display controller 156) and other touch-sensitive devices (e.g., a touchpad or physical click wheel). Contact/motion module 130 includes software components for performing various operations related to detection of contact (e.g., by a finger or by a stylus), such as determining if contact has occurred (e.g., detecting a finger-down event), determining an intensity of the contact (e.g., the force or pressure of the contact or a substitute for the force or pressure of the contact), determining if there is movement of the contact and tracking the movement across the touch-sensitive surface (e.g., detecting one or more finger-dragging events), and determining if the contact has ceased (e.g., detecting a finger-up event or a break in contact). Contact/motion module 130 receives contact data from the touch-sensitive surface. Determining movement of the point of contact, which is represented by a series of contact data, optionally includes determining speed (magnitude), velocity (magnitude and direction), and/or an acceleration (a change in magnitude and/or direction) of the point of contact. These operations are, optionally, applied to single contacts (e.g., one finger contacts or stylus contacts) or to multiple simultaneous contacts (e.g., “multitouch”/multiple finger contacts and/or stylus contacts). In some embodiments, contact/motion module 130 and display controller 156 detect contact on a touchpad.
Contact/motion module 130 optionally detects a gesture input by a user. Different gestures on the touch-sensitive surface have different contact patterns (e.g., different motions, timings, and/or intensities of detected contacts). Thus, a gesture is, optionally, detected by detecting a particular contact pattern. For example, detecting a finger tap gesture includes detecting a finger-down event followed by detecting a finger-up (lift off) event at the same position (or substantially the same position) as the finger-down event (e.g., at the position of an icon). As another example, detecting a finger swipe gesture on the touch-sensitive surface includes detecting a finger-down event followed by detecting one or more finger-dragging events, and subsequently followed by detecting a finger-up (lift off) event. Similarly, tap, swipe, drag, and other gestures are optionally detected for a stylus by detecting a particular contact pattern for the stylus.
Graphics module 132 includes various known software components for rendering and displaying graphics on touch-sensitive display system 112 or other display, including components for changing the visual impact (e.g., brightness, transparency, saturation, contrast or other visual property) of graphics that are displayed. As used herein, the term “graphics” includes any object that can be displayed to a user, including without limitation text, web pages, icons (such as user-interface objects including soft keys), digital images, videos, animations and the like.
In some embodiments, graphics module 132 stores data representing graphics to be used. Each graphic is, optionally, assigned a corresponding code. Graphics module 132 receives, from applications etc., one or more codes specifying graphics to be displayed along with, if necessary, coordinate data and other graphic property data, and then generates screen image data to output to display controller 156.
Haptic feedback module 133 includes various software components for generating instructions used by tactile output generator(s) 163 to produce tactile outputs at one or more locations on device 100 in response to user interactions with device 100.
Text input module 134, which is, optionally, a component of graphics module 132, provides soft keyboards for entering text in various applications (e.g., contacts 137, e-mail 140, IM 141, browser 147, and any other application that needs text input).
GPS module 135 determines the location of the device and provides this information for use in various applications (e.g., to telephone 138 for use in location-based dialing, to camera 143 as picture/video metadata, and to applications that provide location-based services such as weather widgets, local yellow page widgets, and map/navigation widgets).
Applications 136 optionally include the following modules (or sets of instructions), or a subset or superset thereof:
Examples of other applications 136 that are, optionally, stored in memory 102 include other word processing applications, other image editing applications, drawing applications, presentation applications, JAVA-enabled applications, encryption, digital rights management, voice recognition, and voice replication.
In conjunction with touch-sensitive display system 112, display controller 156, contact module 130, graphics module 132, and text input module 134, contacts module 137 includes executable instructions to manage an address book or contact list (e.g., stored in application internal state 192 of contacts module 137 in memory 102 or memory 370), including: adding name(s) to the address book; deleting name(s) from the address book; associating telephone number(s), e-mail address(es), physical address(es) or other information with a name; associating an image with a name; categorizing and sorting names; providing telephone numbers and/or e-mail addresses to initiate and/or facilitate communications by telephone 138, video conference 139, e-mail 140, or IM 141; and so forth.
In conjunction with RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, touch-sensitive display system 112, display controller 156, contact module 130, graphics module 132, and text input module 134, telephone module 138 includes executable instructions to enter a sequence of characters corresponding to a telephone number, access one or more telephone numbers in address book 137, modify a telephone number that has been entered, dial a respective telephone number, conduct a conversation and disconnect or hang up when the conversation is completed. As noted above, the wireless communication optionally uses any of a plurality of communications standards, protocols and technologies.
In conjunction with RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, touch-sensitive display system 112, display controller 156, optical sensor(s) 164, optical sensor controller 158, contact module 130, graphics module 132, text input module 134, contact list 137, and telephone module 138, videoconferencing module 139 includes executable instructions to initiate, conduct, and terminate a video conference between a user and one or more other participants in accordance with user instructions.
In conjunction with RF circuitry 108, touch-sensitive display system 112, display controller 156, contact module 130, graphics module 132, and text input module 134, e-mail client module 140 includes executable instructions to create, send, receive, and manage e-mail in response to user instructions. In conjunction with image management module 144, e-mail client module 140 makes it very easy to create and send e-mails with still or video images taken with camera module 143.
In conjunction with RF circuitry 108, touch-sensitive display system 112, display controller 156, contact module 130, graphics module 132, and text input module 134, the instant messaging module 141 includes executable instructions to enter a sequence of characters corresponding to an instant message, to modify previously entered characters, to transmit a respective instant message (for example, using a Short Message Service (SMS) or Multimedia Message Service (MMS) protocol for telephony-based instant messages or using XMPP, SIMPLE, Apple Push Notification Service (APNs) or IMPS for Internet-based instant messages), to receive instant messages and to view received instant messages. In some embodiments, transmitted and/or received instant messages optionally include graphics, photos, audio files, video files and/or other attachments as are supported in a MMS and/or an Enhanced Messaging Service (EMS). As used herein, “instant messaging” refers to both telephony-based messages (e.g., messages sent using SMS or MMS) and Internet-based messages (e.g., messages sent using XMPP, SIMPLE, APNs, or IMPS).
In conjunction with RF circuitry 108, touch-sensitive display system 112, display controller 156, contact module 130, graphics module 132, text input module 134, GPS module 135, map module 154, and video and music player module 152, workout support module 142 includes executable instructions to create workouts (e.g., with time, distance, and/or calorie burning goals); communicate with workout sensors (in sports devices and smart watches); receive workout sensor data; calibrate sensors used to monitor a workout; select and play music for a workout; and display, store and transmit workout data.
In conjunction with touch-sensitive display system 112, display controller 156, optical sensor(s) 164, optical sensor controller 158, contact module 130, graphics module 132, and image management module 144, camera module 143 includes executable instructions to capture still images or video (including a video stream) and store them into memory 102, modify characteristics of a still image or video, and/or delete a still image or video from memory 102.
In conjunction with touch-sensitive display system 112, display controller 156, contact module 130, graphics module 132, text input module 134, and camera module 143, image management module 144 includes executable instructions to arrange, modify (e.g., edit), or otherwise manipulate, label, delete, present (e.g., in a digital slide show or album), and store still and/or video images.
In conjunction with RF circuitry 108, touch-sensitive display system 112, display system controller 156, contact module 130, graphics module 132, and text input module 134, browser module 147 includes executable instructions to browse the Internet in accordance with user instructions, including searching, linking to, receiving, and displaying web pages or portions thereof, as well as attachments and other files linked to web pages.
In conjunction with RF circuitry 108, touch-sensitive display system 112, display system controller 156, contact module 130, graphics module 132, text input module 134, e-mail client module 140, and browser module 147, calendar module 148 includes executable instructions to create, display, modify, and store calendars and data associated with calendars (e.g., calendar entries, to do lists, etc.) in accordance with user instructions.
In conjunction with RF circuitry 108, touch-sensitive display system 112, display system controller 156, contact module 130, graphics module 132, text input module 134, and browser module 147, widget modules 149 are mini-applications that are, optionally, downloaded and used by a user (e.g., weather widget 149-1, stocks widget 149-2, calculator widget 149-3, alarm clock widget 149-4, and dictionary widget 149-5) or created by the user (e.g., user-created widget 149-6). In some embodiments, a widget includes an HTML (Hypertext Markup Language) file, a CSS (Cascading Style Sheets) file, and a JavaScript file. In some embodiments, a widget includes an XML (Extensible Markup Language) file and a JavaScript file (e.g., Yahoo! Widgets).
In conjunction with RF circuitry 108, touch-sensitive display system 112, display system controller 156, contact module 130, graphics module 132, text input module 134, and browser module 147, the widget creator module 150 includes executable instructions to create widgets (e.g., turning a user-specified portion of a web page into a widget).
In conjunction with touch-sensitive display system 112, display system controller 156, contact module 130, graphics module 132, and text input module 134, search module 151 includes executable instructions to search for text, music, sound, image, video, and/or other files in memory 102 that match one or more search criteria (e.g., one or more user-specified search terms) in accordance with user instructions.
In conjunction with touch-sensitive display system 112, display system controller 156, contact module 130, graphics module 132, audio circuitry 110, speaker 111, RF circuitry 108, and browser module 147, video and music player module 152 includes executable instructions that allow the user to download and play back recorded music and other sound files stored in one or more file formats, such as MP3 or AAC files, and executable instructions to display, present or otherwise play back videos (e.g., on touch-sensitive display system 112, or on an external display connected wirelessly or via external port 124). In some embodiments, device 100 optionally includes the functionality of an MP3 player, such as an iPod (trademark of Apple Inc.).
In conjunction with touch-sensitive display system 112, display controller 156, contact module 130, graphics module 132, and text input module 134, notes module 153 includes executable instructions to create and manage notes, to do lists, and the like in accordance with user instructions.
In conjunction with RF circuitry 108, touch-sensitive display system 112, display system controller 156, contact module 130, graphics module 132, text input module 134, GPS module 135, and browser module 147, map module 154 includes executable instructions to receive, display, modify, and store maps and data associated with maps (e.g., driving directions; data on stores and other points of interest at or near a particular location; and other location-based data) in accordance with user instructions.
In conjunction with touch-sensitive display system 112, display system controller 156, contact module 130, graphics module 132, audio circuitry 110, speaker 111, RF circuitry 108, text input module 134, e-mail client module 140, and browser module 147, online video module 155 includes executable instructions that allow the user to access, browse, receive (e.g., by streaming and/or download), play back (e.g., on the touch screen 112, or on an external display connected wirelessly or via external port 124), send an e-mail with a link to a particular online video, and otherwise manage online videos in one or more file formats, such as H.264. In some embodiments, instant messaging module 141, rather than e-mail client module 140, is used to send a link to a particular online video.
Each of the above identified modules and applications correspond to a set of executable instructions for performing one or more functions described above and the methods described in this application (e.g., the computer-implemented methods and other information processing methods described herein). These modules (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules are, optionally, combined or otherwise re-arranged in various embodiments. In some embodiments, memory 102 optionally stores a subset of the modules and data structures identified above. Furthermore, memory 102 optionally stores additional modules and data structures not described above.
In some embodiments, device 100 is a device where operation of a predefined set of functions on the device is performed exclusively through a touch screen and/or a touchpad. By using a touch screen and/or a touchpad as the primary input control device for operation of device 100, the number of physical input control devices (such as push buttons, dials, and the like) on device 100 is, optionally, reduced.
The predefined set of functions that are performed exclusively through a touch screen and/or a touchpad optionally include navigation between user interfaces. In some embodiments, the touchpad, when touched by the user, navigates device 100 to a main, home, or root menu from any user interface that is displayed on device 100. In such embodiments, a “menu button” is implemented using a touchpad. In some other embodiments, the menu button is a physical push button or other physical input control device instead of a touchpad.
Event sorter 170 receives event information and determines the application 136-1 and application view 191 of application 136-1 to which to deliver the event information. Event sorter 170 includes event monitor 171 and event dispatcher module 174. In some embodiments, application 136-1 includes application internal state 192, which indicates the current application view(s) displayed on touch-sensitive display system 112 when the application is active or executing. In some embodiments, device/global internal state 157 is used by event sorter 170 to determine which application(s) is (are) currently active, and application internal state 192 is used by event sorter 170 to determine application views 191 to which to deliver event information.
In some embodiments, application internal state 192 includes additional information, such as one or more of: resume information to be used when application 136-1 resumes execution, user interface state information that indicates information being displayed or that is ready for display by application 136-1, a state queue for enabling the user to go back to a prior state or view of application 136-1, and a redo/undo queue of previous actions taken by the user.
Event monitor 171 receives event information from peripherals interface 118. Event information includes information about a sub-event (e.g., a user touch on touch-sensitive display system 112, as part of a multi-touch gesture). Peripherals interface 118 transmits information it receives from I/O subsystem 106 or a sensor, such as proximity sensor 166, accelerometer(s) 167, gyroscope(s) 168, magnetometer(s) 169, and/or microphone 113 (through audio circuitry 110). Information that peripherals interface 118 receives from I/O subsystem 106 includes information from touch-sensitive display system 112 or a touch-sensitive surface.
In some embodiments, event monitor 171 sends requests to the peripherals interface 118 at predetermined intervals. In response, peripherals interface 118 transmits event information. In other embodiments, peripheral interface 118 transmits event information only when there is a significant event (e.g., receiving an input above a predetermined noise threshold and/or for more than a predetermined duration).
In some embodiments, event sorter 170 also includes a hit view determination module 172 and/or an active event recognizer determination module 173.
Hit view determination module 172 provides software procedures for determining where a sub-event has taken place within one or more views, when touch-sensitive display system 112 displays more than one view. Views are made up of controls and other elements that a user can see on the display.
Another aspect of the user interface associated with an application is a set of views, sometimes herein called application views or user interface windows, in which information is displayed and touch-based gestures occur. The application views (of a respective application) in which a touch is detected optionally correspond to programmatic levels within a programmatic or view hierarchy of the application. For example, the lowest level view in which a touch is detected is, optionally, called the hit view, and the set of events that are recognized as proper inputs are, optionally, determined based, at least in part, on the hit view of the initial touch that begins a touch-based gesture.
Hit view determination module 172 receives information related to sub-events of a touch-based gesture. When an application has multiple views organized in a hierarchy, hit view determination module 172 identifies a hit view as the lowest view in the hierarchy which should handle the sub-event. In most circumstances, the hit view is the lowest level view in which an initiating sub-event occurs (i.e., the first sub-event in the sequence of sub-events that form an event or potential event). Once the hit view is identified by the hit view determination module, the hit view typically receives all sub-events related to the same touch or input source for which it was identified as the hit view.
Active event recognizer determination module 173 determines which view or views within a view hierarchy should receive a particular sequence of sub-events. In some embodiments, active event recognizer determination module 173 determines that only the hit view should receive a particular sequence of sub-events. In other embodiments, active event recognizer determination module 173 determines that all views that include the physical location of a sub-event are actively involved views, and therefore determines that all actively involved views should receive a particular sequence of sub-events. In other embodiments, even if touch sub-events were entirely confined to the area associated with one particular view, views higher in the hierarchy would still remain as actively involved views.
Event dispatcher module 174 dispatches the event information to an event recognizer (e.g., event recognizer 180). In some embodiments including active event recognizer determination module 173, event dispatcher module 174 delivers the event information to an event recognizer determined by active event recognizer determination module 173. In some embodiments, event dispatcher module 174 stores in an event queue the event information, which is retrieved by a respective event receiver module 182.
In some embodiments, operating system 126 includes event sorter 170. Alternatively, application 136-1 includes event sorter 170. In yet other embodiments, event sorter 170 is a stand-alone module, or a part of another module stored in memory 102, such as contact/motion module 130.
In some embodiments, application 136-1 includes a plurality of event handlers 190 and one or more application views 191, each of which includes instructions for handling touch events that occur within a respective view of the application's user interface. Each application view 191 of the application 136-1 includes one or more event recognizers 180. Typically, a respective application view 191 includes a plurality of event recognizers 180. In other embodiments, one or more of event recognizers 180 are part of a separate module, such as a user interface kit or a higher-level object from which application 136-1 inherits methods and other properties. In some embodiments, a respective event handler 190 includes one or more of: data updater 176, object updater 177, GUI updater 178, and/or event data 179 received from event sorter 170. Event handler 190 optionally utilizes or calls data updater 176, object updater 177 or GUI updater 178 to update the application internal state 192. Alternatively, one or more of the application views 191 includes one or more respective event handlers 190. Also, in some embodiments, one or more of data updater 176, object updater 177, and GUI updater 178 are included in a respective application view 191.
A respective event recognizer 180 receives event information (e.g., event data 179) from event sorter 170, and identifies an event from the event information. Event recognizer 180 includes event receiver 182 and event comparator 184. In some embodiments, event recognizer 180 also includes at least a subset of: metadata 183, and event delivery instructions 188 (which optionally include sub-event delivery instructions).
Event receiver 182 receives event information from event sorter 170. The event information includes information about a sub-event, for example, a touch or a touch movement. Depending on the sub-event, the event information also includes additional information, such as location of the sub-event. When the sub-event concerns motion of a touch, the event information optionally also includes speed and direction of the sub-event. In some embodiments, events include rotation of the device from one orientation to another (e.g., from a portrait orientation to a landscape orientation, or vice versa), and the event information includes corresponding information about the current orientation (also called device attitude) of the device.
Event comparator 184 compares the event information to predefined event or sub-event definitions and, based on the comparison, determines an event or sub-event, or determines or updates the state of an event or sub-event. In some embodiments, event comparator 184 includes event definitions 186. Event definitions 186 contain definitions of events (e.g., predefined sequences of sub-events), for example, event 1 (187-1), event 2 (187-2), and others. In some embodiments, sub-events in an event 187 include, for example, touch begin, touch end, touch movement, touch cancellation, and multiple touching. In one example, the definition for event 1 (187-1) is a double tap on a displayed object. The double tap, for example, comprises a first touch (touch begin) on the displayed object for a predetermined phase, a first lift-off (touch end) for a predetermined phase, a second touch (touch begin) on the displayed object for a predetermined phase, and a second lift-off (touch end) for a predetermined phase. In another example, the definition for event 2 (187-2) is a dragging on a displayed object. The dragging, for example, comprises a touch (or contact) on the displayed object for a predetermined phase, a movement of the touch across touch-sensitive display system 112, and lift-off of the touch (touch end). In some embodiments, the event also includes information for one or more associated event handlers 190.
In some embodiments, event definition 187 includes a definition of an event for a respective user-interface object. In some embodiments, event comparator 184 performs a hit test to determine which user-interface object is associated with a sub-event. For example, in an application view in which three user-interface objects are displayed on touch-sensitive display system 112, when a touch is detected on touch-sensitive display system 112, event comparator 184 performs a hit test to determine which of the three user-interface objects is associated with the touch (sub-event). If each displayed object is associated with a respective event handler 190, the event comparator uses the result of the hit test to determine which event handler 190 should be activated. For example, event comparator 184 selects an event handler associated with the sub-event and the object triggering the hit test.
In some embodiments, the definition for a respective event 187 also includes delayed actions that delay delivery of the event information until after it has been determined whether the sequence of sub-events does or does not correspond to the event recognizer's event type.
When a respective event recognizer 180 determines that the series of sub-events do not match any of the events in event definitions 186, the respective event recognizer 180 enters an event impossible, event failed, or event ended state, after which it disregards subsequent sub-events of the touch-based gesture. In this situation, other event recognizers, if any, that remain active for the hit view continue to track and process sub-events of an ongoing touch-based gesture.
In some embodiments, a respective event recognizer 180 includes metadata 183 with configurable properties, flags, and/or lists that indicate how the event delivery system should perform sub-event delivery to actively involved event recognizers. In some embodiments, metadata 183 includes configurable properties, flags, and/or lists that indicate how event recognizers interact, or are enabled to interact, with one another. In some embodiments, metadata 183 includes configurable properties, flags, and/or lists that indicate whether sub-events are delivered to varying levels in the view or programmatic hierarchy.
In some embodiments, a respective event recognizer 180 activates event handler 190 associated with an event when one or more particular sub-events of an event are recognized. In some embodiments, a respective event recognizer 180 delivers event information associated with the event to event handler 190. Activating an event handler 190 is distinct from sending (and deferred sending) sub-events to a respective hit view. In some embodiments, event recognizer 180 throws a flag associated with the recognized event, and event handler 190 associated with the flag catches the flag and performs a predefined process.
In some embodiments, event delivery instructions 188 include sub-event delivery instructions that deliver event information about a sub-event without activating an event handler. Instead, the sub-event delivery instructions deliver event information to event handlers associated with the series of sub-events or to actively involved views. Event handlers associated with the series of sub-events or with actively involved views receive the event information and perform a predetermined process.
In some embodiments, data updater 176 creates and updates data used in application 136-1. For example, data updater 176 updates the telephone number used in contacts module 137, or stores a video file used in video and music player module 152. In some embodiments, object updater 177 creates and updates objects used in application 136-1. For example, object updater 177 creates a new user-interface object or updates the position of a user-interface object. GUI updater 178 updates the GUI. For example, GUI updater 178 prepares display information and sends it to graphics module 132 for display on a touch-sensitive display.
In some embodiments, event handler(s) 190 includes or has access to data updater 176, object updater 177, and GUI updater 178. In some embodiments, data updater 176, object updater 177, and GUI updater 178 are included in a single module of a respective application 136-1 or application view 191. In other embodiments, they are included in two or more software modules.
It shall be understood that the foregoing discussion regarding event handling of user touches on touch-sensitive displays also applies to other forms of user inputs to operate multifunction devices 100 with input-devices, not all of which are initiated on touch screens. For example, mouse movement and mouse button presses, optionally coordinated with single or multiple keyboard presses or holds; contact movements such as taps, drags, scrolls, etc., on touch-pads; pen stylus inputs; movement of the device; oral instructions; detected eye movements; biometric inputs; and/or any combination thereof are optionally utilized as inputs corresponding to sub-events which define an event to be recognized.
Device 100 optionally also includes one or more physical buttons, such as “home” or menu button 204. As described previously, menu button 204 is, optionally, used to navigate to any application 136 in a set of applications that are, optionally executed on device 100. Alternatively, in some embodiments, the menu button is implemented as a soft key in a GUI displayed on the touch-screen display.
In some embodiments, device 100 includes the touch-screen display, menu button 204, push button 206 for powering the device on/off and locking the device, volume adjustment button(s) 208, Subscriber Identity Module (SIM) card slot 210, head set jack 212, and docking/charging external port 124. Push button 206 is, optionally, used to turn the power on/off on the device by depressing the button and holding the button in the depressed state for a predefined time interval; to lock the device by depressing the button and releasing the button before the predefined time interval has elapsed; and/or to unlock the device or initiate an unlock process. In some embodiments, device 100 also accepts verbal input for activation or deactivation of some functions through microphone 113. Device 100 also, optionally, includes one or more contact intensity sensors 165 for detecting intensity of contacts on touch-sensitive display system 112 and/or one or more tactile output generators 163 for generating tactile outputs for a user of device 100.
Each of the above identified elements in
Attention is now directed towards embodiments of user interfaces (“UI”) that are, optionally, implemented on portable multifunction device 100.
It should be noted that the icon labels illustrated in
Additionally, while the following examples are given primarily with reference to finger inputs (e.g., finger contacts, finger tap gestures, finger swipe gestures, etc.), it should be understood that, in some embodiments, one or more of the finger inputs are replaced with input from another input device (e.g., a mouse based input or a stylus input). For example, a swipe gesture is, optionally, replaced with a mouse click (e.g., instead of a contact) followed by movement of the cursor along the path of the swipe (e.g., instead of movement of the contact). As another example, a tap gesture is, optionally, replaced with a mouse click while the cursor is located over the location of the tap gesture (e.g., instead of detection of the contact followed by ceasing to detect the contact). Similarly, when multiple user inputs are simultaneously detected, it should be understood that multiple computer mice are, optionally, used simultaneously, or a mouse and finger contacts are, optionally, used simultaneously.
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.
In contrast, a 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 CGR, 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 CGR environment are adjusted in a manner that comports with at least one law of physics. For example, a CGR 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 CGR environment may be made in response to representations of physical motions (e.g., vocal commands).
A person may sense and/or interact with a CGR 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 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 CGR environments, a person may sense and/or interact only with audio objects.
Examples of CGR include virtual reality and mixed 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.
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 stationery with respect to the physical ground.
Examples of mixed realities include augmented reality and augmented virtuality.
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.
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.
There are many different types of electronic systems that enable a person to sense and/or interact with various CGR 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 electronic device 520A is configured to present CGR content to a user. In some embodiments, the electronic device 520A includes a suitable combination of software, firmware, and/or hardware. According to some embodiments, the electronic device 520A presents, via a display 522, CGR content to the user while the user is physically present within a physical environment 503 that includes a table 507 within the field-of-view 511 of the electronic device 520A. As such, in some embodiments, the user holds the electronic device 520A in his/her hand(s). In some embodiments, while providing CGR content, the electronic device 520A is configured to display a virtual object (e.g., a virtual cylinder 509) and to enable video pass-through of the physical environment 503 (e.g., including a representation 517 of the table 507) on a display 522.
In some embodiments, the electronic device 520A corresponds to a head-mountable device (HMD), and the operating architecture 500 includes a controller (e.g., the controller 600 in
In some embodiments, the HMD is configured to present the CGR content to the user. In some embodiments, the HMD includes a suitable combination of software, firmware, and/or hardware. The HMD is described in greater detail below with respect to
According to some embodiments, the HMD presents CGR content to the user while the user is virtually and/or physically present within a scene.
In some embodiments, the user wears the HMD on his/her head. As such, the HMD includes one or more CGR displays provided to display CGR content. For example, in various embodiments, the HMD encloses the field-of-view of the user. In some embodiments, the HMD is replaced with a handheld device (such as a smartphone or tablet) configured to present CGR content, and rather than wearing the HMD the user holds the device with a display directed towards the field-of-view of the user and a camera directed towards a scene. In some embodiments, the handheld device can be placed within an enclosure that can be worn on the head of the user. In some embodiments, the HMD is replaced with a CGR chamber, enclosure, or room configured to present CGR content in which the user does not wear or hold the HMD.
In some embodiments, the one or more communication buses 604 include circuitry that interconnects and controls communications between system components. In some embodiments, the one or more I/O devices 606 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 620 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 620 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 620 optionally includes one or more storage devices remotely located from the one or more processing units 602. The memory 620 comprises a non-transitory computer readable storage medium. In some embodiments, the memory 620 or the non-transitory computer readable storage medium of the memory 620 stores the following programs, modules and data structures, or a subset thereof including an optional operating system 630 and a CGR content module 640.
The operating system 630 includes procedures for handling various basic system services and for performing hardware dependent tasks. In some embodiments, the CGR content module 640 is configured to manage and coordinate presentation of CGR content for one or more users (e.g., a single set of CGR content for one or more users, or multiple sets of CGR content for respective groups of one or more users). To that end, in various embodiments, the CGR content module 640 includes a data obtaining unit 642, a tracking unit 644, a coordination unit 646, and a data transmitting unit 648.
In some embodiments, the data obtaining unit 642 is configured to obtain data (e.g., presentation data, interaction data, sensor data, location data, etc.) from at least an HMD. To that end, in various embodiments, the data obtaining unit 642 includes instructions and/or logic therefor, and heuristics and metadata therefor.
In some embodiments, the tracking unit 644 is configured to map a scene and to track the position/location of at least the HMD with respect to the scene. To that end, in various embodiments, the tracking unit 644 includes instructions and/or logic therefor, and heuristics and metadata therefor.
In some embodiments, the coordination unit 646 is configured to manage and coordinate the presentation of CGR content to the user by the HMD. To that end, in various embodiments, the coordination unit 646 includes instructions and/or logic therefor, and heuristics and metadata therefor.
In some embodiments, the data transmitting unit 648 is configured to transmit data (e.g., presentation data, location data, etc.) to at least the HMD. To that end, in various embodiments, the data transmitting unit 648 includes instructions and/or logic therefor, and heuristics and metadata therefor.
Although the data obtaining unit 642, the tracking unit 644, the coordination unit 646, and the data transmitting unit 648 are shown as residing on a single device (e.g., a controller), it should be understood that in other embodiments, any combination of the data obtaining unit 642, the tracking unit 644, the coordination unit 646, and the data transmitting unit 648 may be located in separate computing devices.
Moreover,
In some embodiments, the one or more communication buses 704 include circuitry that interconnects and controls communications between system components. In some embodiments, the one or more I/O devices and sensors 706 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 707A, one or more speakers 707B, 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 CGR displays 712 are configured to display CGR content to the user. In some embodiments, the one or more CGR displays 712 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 CGR displays 712 correspond to diffractive, reflective, polarized, holographic, etc. waveguide displays. For example, the HMD 700 includes a single CGR display. In another example, the HMD 700 includes a CGR display for each eye of the user.
In some embodiments, the one or more image sensors 714 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 (any may be referred to as an eye-tracking camera). In some embodiments, the one or more image sensors 714 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 HMD 700 was not present (and may be referred to as a scene camera). The one or more optional image sensors 714 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 720 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 720 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 720 optionally includes one or more storage devices remotely located from the one or more processing units 702. The memory 720 comprises a non-transitory computer readable storage medium. In some embodiments, the memory 720 or the non-transitory computer readable storage medium of the memory 720 stores the following programs, modules and data structures, or a subset thereof including an optional operating system 730 and a CGR presentation module 740.
The operating system 730 includes procedures for handling various basic system services and for performing hardware dependent tasks. In some embodiments, the CGR presentation module 740 is configured to present CGR content to the user via the one or more CGR displays 712 and/or the I/O devices and sensors 706 (such as the one or more speakers 707B). To that end, in various embodiments, the CGR presentation module 740 includes a data obtaining unit 742, a CGR content presenting unit 744, and a data transmitting unit 746.
In some embodiments, the data obtaining unit 742 is configured to obtain data (e.g., presentation data, interaction data, sensor data, location data, etc.) from at least a controller. In various embodiments, the data obtaining unit obtains a CGR file. To that end, in various embodiments, the data obtaining unit 742 includes instructions and/or logic therefor, and heuristics and metadata therefor.
In some embodiments, the CGR content presenting unit 744 is configured to present CGR content to a user. In various embodiments, the CGR content presenting unit 744 presents CGR content of the CGR file according to rules set forth in the CGR file. To that end, in various embodiments, the CGR content presenting unit 744 includes instructions and/or logic therefor, and heuristics and metadata therefor.
In some embodiments, the data transmitting unit 746 is configured to transmit data (e.g., presentation data, location data, etc.) to at least a controller. To that end, in various embodiments, the data transmitting unit 746 includes instructions and/or logic therefor, and heuristics and metadata therefor.
Although the data obtaining unit 742, the CGR content presenting unit 744, and the data transmitting unit 746 are shown as residing on a single device (e.g., an HMD), it should be understood that in other embodiments, any combination of the data obtaining unit 742, the CGR content presenting unit 744, and the data transmitting unit 746 may be located in separate computing devices.
Moreover,
In various embodiments, CGR content is presented to a user from a CGR file that includes data regarding CGR content and further includes data describing how the CGR content is to presented. In various embodiments, the CGR file includes data regarding one or more CGR scenes. The CGR file further includes data regarding triggers (e.g., detectable events) for presentation of the various CGR scenes. As an example, in various embodiments, the CGR file includes data regarding a CGR scene representing a gameboard and also includes data indicating that the CGR scene representing the gameboard is to be presented when a horizontal planar surface is detected in the field-of-view of a scene camera.
The CGR file further includes data regarding one or more CGR objects associated with a respective CGR scene. The CGR file further includes data regarding triggers regarding actions of the CGR objects. As an example, in various embodiments, the CGR file includes data regarding a plurality of CGR objects associated with the CGR scene representing the gameboard, each of the plurality of CGR objects representing a game piece. The CGR file also includes data indicating actions of the plurality of CGR objects in response to detected triggers, e.g., when the collision of two game pieces is detected, the game pieces cease to be displayed.
Generating such a CGR file can be a difficult and time-consuming process, requiring expert knowledge in, for example, 3D object design and application coding. This presents a high barrier to the generation of quality CGR applications. Accordingly, in various embodiments, a graphical user interface (GUI) is provided to simplify the generation of a CGR file that can be read (or executed) by a user device to present a CGR application including CGR content described by the CGR file.
Attention is now directed toward embodiments of user interfaces (“UI”) and associated processes that may be implemented on an electronic device, such as a portable multifunction device (PMD) 100 with a display, a touch-sensitive surface, and optionally one or more sensors to detect intensity of contacts with the touch-sensitive surface, or a device 300 with one or more processors, non-transitory memory, a display, and an input device.
In
The anchor-select user interface 802B includes a plurality of anchor selection affordances 802BA-802BE. The plurality of anchor-select affordances 802BA-802BE includes a horizontal plane anchor selection affordance 802BA for creating a CGR project including a CGR scene anchored to a horizontal plane. The plurality of anchor-select affordances 802BA-802BE includes an image anchor selection affordance 802BB for creating a CGR project including a CGR scene anchored to a selected or captured image. The plurality of anchor-select affordances 802BA-802BE includes a face anchor selection affordance 802BC for creating a CGR project including a CGR scene anchored to a human face. The plurality of anchor-select affordances 802BA-802BE includes a vertical plane anchor selection affordance 802BD for creating a CGR project including a CGR scene anchored to a vertical plane. The plurality of anchor-select affordances 802BA-802BE includes an object anchor selection affordance 802BE for creating a CGR project including a CGR scene anchored to a selected or scanned object.
The plurality of project management user interface regions 803A-803E includes a toolbar region 803A. The toolbar region 803A includes a plurality of CGR content addition affordances 803AA-803AC. The plurality of CGR content addition affordances 803AA-803AC includes a CGR scene addition affordance 803AA for adding a CGR scene to the project, a CGR object addition affordance 803AB for adding a CGR object to the currently selected CGR scene, and a behavior addition affordance 803AC for adding a behavior to the currently selected CGR scene.
The toolbar region 803A includes a preview affordance 803AD for presenting a preview of the project in a CGR environment.
The toolbar region 803A includes a plurality of view affordances 803AE-803AF including an object view affordance 803AE for viewing the currently selected CGR scene in a view region 803E (described further below) in a scene mode (in which the user inputs directed to the view region 803E change the perspective of the view of the currently selected CGR scene) and a CGR view affordance 803AF for viewing the currently selected CGR scene in the view region 803A in a CGR mode (in which movement of the device 100 changes the perspective of the view of the currently selected CGR scene).
The toolbar region 803A includes a plurality of settings affordances 803AG-803AJ for presenting different settings in a settings region 803D (described further below). The settings affordances 803AG-803AJ include a project settings affordance 803AG for presenting project settings of the project in the settings region 803D, a scene settings affordance 803AH for presenting scene settings of the currently selected CGR scene in the settings region 803D, an object settings affordance 803AI for presenting object settings of a currently selected CGR object in the settings region 803D, and a behavior settings affordance 803AJ for presenting behavior settings of a currently selected behavior in the settings region 803D.
The plurality of project management user interface regions 803A-803E includes a scene list region 803B that includes respective affordances for each CGR scene of the project. In
The plurality of project management user interface regions 803A-803E includes a behavior region 803C that includes respective affordances for each behavior of the currently selected CGR scene. In
The plurality of project management user interface regions 803A-803E includes a settings region 803D for presenting a plurality of setting manipulation affordances. In
The scene settings menus 803DA-803DE include a scene properties menu 803DA including scene settings manipulation affordances for changing scene properties of the currently selected CGR scene, an anchor properties menu 803 DB including scene setting manipulation affordances for changing anchor properties of the currently selected CGR scene, a global physics properties menu 803DC including scene setting manipulation affordances for changing physics properties of the currently selected CGR scene (such as whether CGR objects interact and/or a presence and/or strength of gravity), a global audio properties menu 803DD including scene setting manipulation affordances for changing audio properties of the currently selected CGR scene (such as a sound to be played while the CGR scene is presented, e.g., a soundtrack, or audio effects to be applied to real sounds detected while the CGR scene is presented, e.g., a reverb or an attenuation), and a global lighting properties menu 803DE for changing lighting properties of the currently selected CGR scene (such as a directional or omnidirectional light to be rendered when the CGR scene is presented or how real light affects display of CGR objects of the CGR scene).
The plurality of project management user interface regions 803A-803E includes a view region 803E for viewing the currently selected CGR scene, receiving user inputs manipulating the perspective of viewing the currently selected CGR scene (e.g., a virtual camera position) while in an object view mode, and manipulating CGR objects of the currently selected CGR scene.
The view region 803E includes a representation of the anchor 803EA associated with the currently selected CGR scene (in
In
In various embodiments, when a CGR application corresponding to the project is presented and the primary anchor is not detected in a scene camera image of a real environment, but (optionally after a threshold amount of time failing to detect the primary anchor) the secondary anchor is detected in a scene camera image, the corresponding CGR scene is presented in association with (e.g., apparently tied or anchored to) the secondary anchor.
In various embodiments, when a CGR application corresponding to the project is presented and neither the primary anchor nor the secondary anchor are detected in a scene camera image of a real environment, but (optionally after a threshold amount of time failing to detect the primary anchor and the secondary anchor) the tertiary anchor is detected in a scene camera image, the corresponding CGR scene is presented in association with (e.g., apparently tied or anchored to) the tertiary anchor.
The media library user interface 804 includes a plurality of particular CGR object addition affordances 805A-805H for adding respective CGR objects to the currently selected CGR scene. In various embodiments, each of the plurality of particular CGR object addition affordances 805A-805H corresponds to a particular CGR object. In various embodiments, each of the plurality of particular object addition affordances 805A-805H corresponds to a particular CGR object associated with a particular CGR object file stored in a local or remote media library (e.g., a media library stored on the device 100 or stored at a remote location associated with the device 100, such as in the cloud).
The plurality of particular CGR object addition affordances 805A-805H includes a cube addition affordance 805A for adding a cube to the currently selected CGR scene, a diamond addition affordance 805B for adding a diamond to the currently selected CGR scene, a sphere addition affordance 805C for adding a sphere to the currently selected CGR scene, a tree addition affordance 805D for adding a tree to the currently selected CGR scene, a building addition affordance 805E for adding a building to the currently selected CGR scene, a rock addition affordance 805F for adding a rock to the currently selected CGR scene, a plate addition affordance 805G for adding a plate to the currently selected CGR scene, and a cup addition affordance 805H for adding a cup to the currently selected CGR scene.
The media library user interface 804 includes a search bar 804A for receiving user input comprising text. In various embodiments, the text is compared to keywords or other metadata associated with CGR object files in the media library to present a subset of the particular CGR object addition affordances 805A-805H.
The media library user interface 804 includes an add-to-library affordance 804B for adding CGR object files to the media library. In various embodiments, when a user input directed to the add-to-library affordance 804B is detected, an add-to-library user interface is presented that provides options for searching other CGR object file repositories for a CGR object file (or a plurality of CGR object files) to select and add to the media library.
The media library user interface 804 includes a cancel affordance 804C for dismissing (ceasing to display) the media library user interface 804, returning the CGR file composing user interface 801 to the state illustrated in
The second CGR scene affordance 803BB is displayed differently than the first CGR scene affordance 803BA to indicate that the second CGR scene is the currently selected CGR scene. In various embodiments, and in
In
In
In
In
As compared to
In various embodiments, the first location of the representation of the plate CGR object 806B and the second location of the representation of the cup CGR object 806C are selected such that a bottom of the representation of the plate CGR object 806B abuts the top of the representation of the anchor 803EA and a bottom of the representation of the cup CGR object 806C abuts the top of the representation of the anchor 803EA.
In various embodiments, the first location of the representation of the plate CGR object 806B and the second location of the representation of the cup CGR object 806C are selected to ensure that the representation of the plate CGR object 806B and the representation of the cup CGR object 806C do not intersect.
In various embodiments, the first location of the representation of the plate CGR object 806B and the second location of the representation of the cup CGR object 806C are selected based on the grid 803EB. For example, in various embodiments, the first location is selected such that a spatial manipulation point (e.g., an edge, a midpoint, a center-of-mass, an intuitive spatial manipulation point, or a custom defined spatial manipulation point) of the representation of the plate CGR object 806B is vertically aligned with a first grid point of the grid 803EB and the second location is selected such that a spatial manipulation point of the representation of the cup CGR object 806C is vertically aligned with a second grid point of the grid 803EB.
In
The object settings menus 813DA-813DD include an object properties menu 813DA including scene settings manipulation affordances for changing scene properties of the currently selected CGR object, a display properties menu 813 DB including display setting manipulation affordances for changing display (or rendering) properties of the currently selected CGR object (such as a shape, color, or optical transmission of the CGR object), a physics properties menu 813DC including object setting manipulation affordances for changing physics properties of the currently selected CGR object (such as light reflectivity of the CGR object or elasticity of the CGR object [e.g., how the CGR object interacts with other CGR objects]), and an audio properties menu 813DD including object setting manipulation affordances for changing audio properties of the currently selected CGR object (such as an omnidirectional or ambient sound to be played while the CGR object is presented or a directional sound to be emitted by the CGR object).
The configurator user interface 808 includes a style bar 808E including a plurality of style affordances 808EA-808ED for changing a currently selected style of the style bar 808E and a pattern bar 808F including a plurality of pattern affordances 808FA-808FD for changing a currently selected pattern of the pattern bar 808F. The style bar 808E includes a mug affordance 808EA for changing the currently selected style to a mug style, a teacup affordance 808EB for changing the currently selected style to a teacup style, an espresso affordance 808EC for changing the currently selected style to an espresso style, and a stein affordance 808ED for changing the currently selected style to a stein style. The pattern bar 808F includes a white affordance 808FA for changing the currently selected pattern to a white pattern, a glass affordance 808FB for changing the currently selected pattern to a glass pattern, a stars affordance 808FC for changing the currently selected pattern to an stars pattern, and an ivy affordance 808FD for changing the currently selected pattern to an ivy pattern.
The configurator user interface 808 includes a view window 808D presenting a representation of the currently selected CGR object 808DA with the style currently selected in the style bar 808E and the pattern currently selected in the pattern bar 808F (and a name 808C of the currently selected CGR object over the view window 808D).
The configurator user interface 808 includes a plurality of view affordances 808A-808B including an object view affordance 808A for viewing the currently selected CGR object in the view window 808D in a scene mode (in which the user inputs directed to the view window 808D change the perspective of the view of the currently selected CGR object) and a CGR view affordance 808B for viewing the currently selected CGR object in the view window 808D in a CGR mode (in which movement of the device 100 changes the perspective of the view of the currently selected CGR object).
The configurator user interface 808 includes an OK affordance 808G for changing the style of the currently selected CGR object to the currently selected style in the style bar 808E, changing the pattern of the currently selected CGR object to the currently selected pattern in the pattern bar 808F, and dismissing (ceasing to display) the configurator user interface 808. The configurator user interface 808 includes a cancel affordance 808H for dismissing (ceasing to display) the configurator user interface 808, returning the CGR file composing user interface 801 to the state illustrated in
In various embodiments, while a particular style is the currently selected style of the style bar 808E, a corresponding subset of the patterns is presented for selection in the pattern bar 808F. In various embodiments, the corresponding subset is based on one or more selection rules defining how the various styles and patterns can be combined. In various embodiments, the selection rules are stored in a corresponding CGR object file.
For example, in
As noted above, in various embodiments, while a particular style is the currently selected style of the style bar 808E, a corresponding subset of the patterns is presented for selection in the pattern bar 808F. Thus, as another example, in
As noted above, in various embodiments, while a particular style is the currently selected style of the style bar 808E, a corresponding subset of the patterns is presented for selection in the pattern bar 808F. Thus, as another example, in
As noted above, in various embodiments, while a particular style is the currently selected style of the style bar 808E, a corresponding subset of the patterns is presented for selection in the pattern bar 808F. Thus, as another example, in
In various embodiments, rotation about an axis passing through a midpoint or an unweighted center-of-mass of a CGR object (or snapping a midpoint or unweighted center-of-mass of the CGR object to a target point, e.g., treating a distance between the midpoint or unweighted center-of-mass of the CGR object and the target point as zero when the distance is less than a threshold amount) results in non-intuitive spatial manipulation of the CGR object. FIG. 8AE1 illustrates a side view of a cup CGR object 880. FIG. 8AE2 illustrates a top view of the cup CGR object 880. The cup CGR object 880 includes a body 881A, a foot 881B, and a handle 881C. FIG. 8AE1 illustrates a side view of a bounding box 882 surrounding the cup CGR object 880. FIG. 8AE2 illustrates a top view of the bounding box 882 surround the cup CGR object 880.
FIGS. 8AE1 and 8AE2 illustrate a first spatial manipulation point 883 that is a midpoint of the bounding box 882. Thus, the perpendicular lines that pass through the first spatial manipulation point 883 bisect the edges of the bounding box 882. However, in various circumstances, performing spatial manipulation of the cup CGR object 880 using the first spatial manipulation point 883 can lead to non-intuitive results, in particular because the first spatial manipulation point 883 is off-center as compared to the center of the body 881A (due to the cup CGR object 880 including the handle 881C). For example, rotating the cup CGR object 880 about a z-axis passing through the first spatial manipulation point 883 would appear to also move the cup CGR object 880. As another example, snapping the cup CGR object 880 by aligning the first spatial manipulation point 883 to the center of a plate CGR object (or a grid point) would make the cup CGR object 880 appear to be offset with respect to the plate CGR object (or the grid point).
Similarly, a second spatial manipulation point 884 at the center-of-mass of the CGR object 880 is non-intuitively offset from the center of the body 881A, leading to similar non-intuitive results when rotating or moving the cup CGR object when using the second spatial manipulation point 884.
Accordingly, in various embodiments, an intuitive spatial manipulation point 885 is used when performing spatial manipulation of the cup CGR object 880. In various embodiments, the intuitive spatial manipulation point 885 is stored with the CGR object file defining the cup CGR object. The intuitive spatial manipulation point 885 may be defined, for example, by a designer of the CGR object file. In various embodiments, the intuitive spatial manipulation point 885 is set by a user of the CGR file composing user interface 801.
In various embodiments, the intuitive spatial manipulation point 885 is determined by the device 100. For example, in various embodiments, the device 100 determines a plurality of segments the cup CGR object 880 (e.g., the body 881A, the foot 881B, and the handle 881C) and determines the intuitive spatial manipulation point 885 as a center-of-mass of the cup CGR object with different segments weighted differently (e.g., assigning more weight to the body 881A than the handle 881C). In various embodiments, the weight assigned to one or more of the segments is zero, e.g., the segments are ignored in determining the intuitive spatial manipulation point 885.
Returning to
Based on the change in location of the cup CGR object (as represented by the location of the representation of the cup CGR object 806C and the location of the plate CGR object (as represented by the location of the representation of the plate CGR object 806B), the cup CGR object and the plate CGR object overlap.
In various embodiments, the device 100 determines whether two or more CGR objects overlap at an overlap location in a CGR scene. In various embodiments, the device 100 performs the determination periodically. In various embodiments, the device 100 performs the determination whenever an object is spatially manipulated (e.g., rotated, moved, or sized). In various embodiments, the device 100 performs the determination in response to a user input requesting an overlap check.
In various embodiments, in response to determining that two or more CGR objects overlap at an overlap location in a CGR scene, an overlap indication is presented. In various embodiments, the overlap indication is displayed in association with at least one of the two or more CGR objects. In various embodiments, the overlap indication is displayed in association with the overlap location.
The overlap notice user interface 810 includes an overlap text description 810A describing the detected overlap of CGR objects and an overlap graphical view 810B that illustrates the overlapping CGR object.
The overlap notice user interface 810 includes a cancel affordance 810C for dismissing (ceasing to display) the overlap notice user interface 810, returning the CGR file composing user interface 801 to the state illustrated in
The overlap notice user interface 810 includes an ignore affordance 810D for dismissing the overlap notice user interface 810 and the corresponding overlap indicators (without moving any of the overlapping CGR objects), returning the CGR file composing user interface 801 to the state illustrated in
The overlap notice user interface 810 includes a fix affordance 810E for automatically changing a location of at least one of the CGR objects such that the overlapping CGR objects no longer overlap.
In various embodiments, the CGR object of the two more overlapping CGR objects that was spatially manipulated most recently is selected for movement. In various embodiments, the selected CGR object is moved in a direction such that minimal movement is performed to fix the overlap.
Thus, while a CGR object is selected (and the first type of object selection indicator 807 is displayed), different types of user input directed to the representation of the CGR object results in different changes to spatial properties of the CGR object. For example, in
Congruent (or isometric) spatial manipulations of a CGR object are spatial manipulations in which the size and shape of the CGR object is not changed. Congruent spatial manipulations include translation, rotation, and reflection. Similar (or shape-preserving) spatial manipulations of a CGR object are spatial manipulations in which the shape of the CGR object is not changed. Similar spatial manipulations include scaling, translation, rotation, and reflection.
As described above, while a CGR object is selected (and the first type of object selection indicator 807 is displayed), various user inputs perform a first set of similar spatial manipulations. For example, in various embodiments, the first set of similar spatial manipulations includes scaling (as shown in
As described below, while a CGR object is selected (and the second type of object selection indicator 817 is displayed), various user inputs perform a second set of similar spatial manipulations different than the first set of similar spatial manipulations. In various embodiments, the second set of similar spatial manipulations includes one or more or all of the first set of similar spatial manipulations. For example, in various embodiments, the second set of similar spatial manipulations includes rotation about the first axis, rotation about a second axis, rotation about a third axis, and three-dimensional translation.
The second type of object selection indicator 817 includes a first translation affordance 817A for moving the currently selected CGR object along a first axis (e.g., the z-axis, moving the currently selected CGR object up and down), a second translation affordance 817B for moving the currently selected CGR object along a second axis (e.g., within the xy-plane), and a third translation affordance 817C for moving the currently selected CGR object along a third axis (e.g., perpendicular to the second axis within the xy-plane). The second type of object selection indicator 817 includes a first rotation affordance 817D for rotating the currently selected CGR object about the first axis, a second rotation affordance 817E for rotating the currently selected CGR object about the second axis, and a third rotation affordance 817F for rotating the currently selected CGR object about the third axis.
In
The live view user interface 811 includes a plurality of view windows 811DA-811DC respectively including a plurality of representations of the currently selected CGR object 811EA-811EC, each with a different pattern. In particular, the live view user interface 811 includes a first view window 811DA including a representation of the cup CGR object with a white pattern 811EA, a second view window 811DB including a representation of the cup CGR object with a stars pattern 811EB, and a third view window 811DC including a representation of the cup CGR object with an ivy pattern 811EC. In
The live view user interface 811 includes a text description 811C of the currently selected CGR object (e.g., “Cup01”) and the CGR object setting being manipulated via the live view user interface 811 (e.g., the pattern).
The live view user interface 811 includes a plurality of view affordances 811A-811B including an object view affordance 811A for viewing the plurality of representations of the currently selected CGR object 811EA-811EC in their respective view windows 811DA-811DC in a scene mode (in which the user inputs directed to any of the plurality of view window 811DA-811DC changes the perspective of the view of all of the plurality of representations of the currently selected CGR object 811EA-811EC) and a CGR view affordance 811B for viewing the plurality of representations of the currently selected CGR object 811EA-811EC in their respective view windows 811DA-811DC in a CGR mode (in which movement of the device 100 changes the perspective of the view of all of the plurality of representations of the currently selected CGR object 811EA-811EC).
The live view user interface 811 includes an OK affordance 811F for changing the pattern of the currently selected CGR object to the currently selected style and dismissing (ceasing to display) the live view interface 811. The live view user interface 811 includes a cancel affordance 811G for dismissing (ceasing to display) the live view user interface 811, returning the CGR file composing user interface 801 to the state illustrated in
In
In
In
In
In various embodiments, while in an object view mode, appropriate user inputs directed to any of the plurality of representations of view windows 821DA-821DF or, while in a CGR view mode, movement of the device 100, would advantageously reveal the difference between the representation of the sphere CGR object with the sphere style 821EA and the representation of the sphere CGR object with the bowling ball style 821EF (which includes holes that are not visible in the perspective of
In
The setting value selection user interface 812 includes a text description 812A of the currently selected CGR object (e.g., “Sphere01”) and the CGR object setting being manipulated via the setting value selection user interface 812 (e.g., the physics mesh).
The setting value selection user interface 812 includes a plurality of setting value selection affordances 812BA-812BC for selecting a setting value. The setting value selection user interface 812 includes a sphere affordance 812BA for selecting a sphere mesh as the currently selected setting value, a golf ball affordance 812BB for selecting a golf ball mesh as the currently selected setting value, and a load affordance 812BC for loading a custom mesh as the currently selected setting value.
The golf ball affordance 812BB includes a selection indicator 812C indicating that the golf ball mesh is the currently selected setting value.
The setting value selection user interface 812 includes an OK affordance 812D for changing the value of the CGR object setting of the currently selected CGR object to the currently selected setting value and dismissing (ceasing to display) the setting value selection user interface 812. The setting value selection user interface 812 includes a cancel affordance 812E for dismissing (ceasing to display) the setting value selection user interface 812, returning the CGR file composing user interface 801 to the state illustrated in
In various circumstances, it may be desirable that the physics mesh of a CGR object (which is used to determine interactions of the CGR object with other CGR objects) be different than a display mesh of a CGR object (which is used to render the CGR object on a display). For example, in the case of the golf ball CGR object, display of the CGR golf ball object may be based on a complicated display mesh including a large number of dimples and, therefore, a large number of polygons. However, using such a mesh as a physics mesh to calculate physical interactions of the golf ball CGR object may be computationally intensive and time-consuming (potentially precluding real-time calculation). By selecting a simpler physics mesh, such as a sphere mesh, with fewer polygons, the results of physical interactions can be more efficiently and quickly calculated.
Accordingly, in
In various embodiments, the behavior editor user interface 831 is used to create and/or edit a behavior associated with the CGR scene. Each behavior is associated with one or more triggers and one or more actions. When a CGR application corresponding to the project is presented and any of the one or more triggers is detected, the one or more actions are performed.
The behavior editor user interface 831 includes a view window 831D presenting a representation of the currently selected CGR scene (including a representation of the cup CGR object 831DA, a representation of the plate CGR object 831DB, and a representation of the sphere CGR object 831DC). The behavior editor user interface 831 includes a name 831C (e.g., “Behavior01”) of the behavior being edited (or created) (e.g., a first behavior) displayed above the view window 831D.
The behavior editor user interface 831 includes a plurality of view affordances 831A-831B including an object view affordance 831A for viewing the representation of the currently selected CGR scene in the view window 831D in a scene mode (in which the user inputs directed to the view window 831D change the perspective of the view of the currently selected CGR scene) and a CGR view affordance 831B for viewing the currently selected CGR scene in the view window 831D in a CGR mode (in which movement of the device 100 changes the perspective of the view of the currently selected CGR object).
The behavior editor user interface 831 includes an OK affordance 831E for creating (and/or accepting changes to) the behavior and dismissing (ceasing to display) the behavior editor user interface 831. The behavior editor user interface 831 includes a cancel affordance 831F for dismissing (ceasing to display) the behavior editor user interface 831, returning the CGR file composing user interface 801 to the state illustrated in
The behavior editor user interface 831 includes an overview region 832 and a details region 837. The overview region 832 includes a trigger region 833 and an action region 835 separated by a separator 834. The trigger region 833 includes a new trigger affordance 833A for adding a trigger to the behavior and the action region 835 includes a new action affordance 835A for adding a new action to the behavior.
The details region 837 includes a plurality of behavior setting affordances 836A-836C for changing settings of the behavior. The details region 837 includes a name affordance 836A for changing a name of the behavior, a color affordance 836B for changing a color of the behavior, and an enable/disable affordance 836C for toggling between enabling and disabling the behavior.
For example, in
For example, in
For example, in
For example, in
For example, in
For example, in
In
In
For example, in
The details region 837 includes a distance-from-center trigger affordance 838BB for creating a distance-from-center trigger such that, when a CGR application corresponding to the project is presented and a CGR object (or any of a plurality of CGR objects) defined as a primary target by the trigger is detected within a threshold distance (also defined by the trigger, which may be 0) of the center (or other spatial manipulation point) of a CGR object (or any of a plurality of CGR objects) defined as a secondary target by the trigger, the one or more actions of the behavior are performed.
The details region 837 includes a distance-from-coordinate trigger affordance 838BC for creating a distance-from-coordinate trigger such that, when a CGR application corresponding to the project is presented and a CGR object (or any of a plurality of CGR objects) defined as a primary target by the trigger is detected within a threshold distance (also defined by the trigger, which may be 0) of a coordinate defined as a secondary target by the trigger, the one or more actions of the behavior are performed.
The details region 837 includes an other proximity/collision trigger affordance 838BD for creating other types of proximity/collision triggers.
The details region 837 includes a save affordance 838BBE for saving the proximity/collision trigger to the second behavior (or saving changes to the proximity/collision trigger) and a dismiss affordance 838BBF for dismissing the proximity/collision trigger (or dismissing changes to the proximity/collision trigger).
For example, in
For example, the details region 837 includes an ambient audio action affordance 839BA for creating an ambient audio action such that, when a CGR application corresponding to the project is presented and a trigger of the behavior is detected, an audio file is played omnidirectionally. The details region 837 includes a directional audio action affordance 839BB for creating a directional audio action such that, when a CGR application corresponding to the project is presented and a trigger of the behavior is detected, an audio file is played from a particular point in the CGR environment. The details region 837 includes an other audio action affordance 839BC for creating other types of audio actions.
For example, in
For example, in
In
For example, in
For example, in
When a CGR application corresponding to the project is presented and a trigger of a behavior is detected, each action of the behavior is performed in the order displayed in the action region 835. Thus, for the second behavior as illustrated in
Within the action region 835, the audio action affordance 835C and the move action affordance 835D are replaced with a grouped action affordance 835X representative of the audio action affordance 835C and the move action affordance 835D. Accordingly, for the second behavior as illustrated in
In
In various embodiments, the CGR file composing user interface 801 includes an affordance for saving the project as a project file which can be read by the CGR file composing application executed by the device 100 and presented via the CGR file composing user interface 801 as described above.
In various embodiments, the CGR file composing user interface 801 includes an affordance to compile the project as a CGR file which can be read by a CGR presenting application executed by the device 100 or another device such as the electronic device 520A or an HMD.
In various embodiments, the CGR file includes an XML (Extensible Markup Language) or JSON (JavaScript Object Notation) file that describes CGR content and refers to various data structures (e.g., display meshes, physics meshes, textures, images, audio, etc.) also included in the CGR file.
The method 900 begins, at block 910, with the device receiving, via the one or more input devices, a user input to present a computer-generated reality (CGR) scene including one or more CGR objects, wherein the CGR scene is associated with a first anchor and a second anchor. For example, in
In various embodiments, the first anchor is an anchor image and the second anchor is a horizontal plane or vertical plane. In various embodiments, the CGR scene is associated with the anchor image by selecting an image file. In various embodiments, the CGR scene is associated with the anchor image by capturing, using the camera, the anchor image.
In various embodiments, the first anchor is a tabletop or floor and the second anchor is horizontal plane.
The method 900 continues, at block 920, with the device capturing, using the camera, an image of a physical environment. For example, in
The method 900 continues, at block 930, with the device determining that the image of the physical environment lacks a portion corresponding to the first anchor. For example, in
The method 900 continues, at block 940, with the device detecting a portion of the image of the physical environment corresponding to the second anchor. For example, in
The method 900 continues, at block 950, with the device, in response to determining that image of the physical environment lacks a portion corresponding to the first anchor and detecting a portion of the image of the physical environment corresponding to the second anchor, displaying, on a display, the CGR scene at a location of the display corresponding to the second anchor. For example, in
In various embodiments, displaying the CGR scene at the location of the display corresponding to the second anchor includes displaying the image of the physical environment and displaying the CGR scene at the portion of the image of the physical environment corresponding to the second anchor.
In various embodiments, displaying the CGR scene at the location of the display corresponding to the second anchor includes displaying the CGR scene at a location of an optical passthrough display (e.g., a transparent display) at which a user can see the second anchor.
In various embodiments, displaying the CGR scene at the location of the display corresponding to the second anchor includes displaying the CGR scene anchored to the second anchor. In various embodiments, wherein, in response to a change in perspective of the camera, display of the CGR scene is corresponding changed on the display. For example, in
In various embodiments, the portion of the image of the physical environment corresponds to a physical object and, in response to a movement of the physical object, display of the CGR scene is correspondingly moved on the display. For example, in
In various embodiments, displaying the CGR scene at the location of the display corresponding to the second anchor is performed in response to determining that a plurality of images of the physical environment taken over a threshold amount of time each lack a portion corresponding to the first anchor. For example, in
In various embodiments, the CGR scene is associated with a third anchor and determining that image of the physical environment lacks a portion corresponding to the first anchor is performed in response to determining that the image of the physical environment lacks a portion corresponding to the third anchor. For example,
The method 1000 begins, at block 1010, with the device displaying, on a display, a representation of a computer-generated reality (CGR) object associated with a first parameter and a second parameter, wherein the first parameter has a first one of a plurality of first parameter values and the second parameter has a first one of a plurality of second parameter values. For example, in
The method 1000 continues, in block 1020, with the device displaying, on the display, a first user interface element for selection of a second one of the plurality of first parameter values. For example, in
The method 1000 continues, in block 1030, with the device displaying, on the display, a second user interface element for selection of a second one of the plurality of second parameter values, wherein, based on the first one of the plurality of first parameter values and one or more selection rules, a subset of the plurality of second parameters values are presented for selection via the second user interface element. For example, in
In various embodiments, the second user interface element includes a set of selectable affordances corresponding to the subset of the plurality of second parameters and a set of non-selectable affordances corresponding to the others of the plurality of second parameters. For example, in
In various embodiments, the set of selectable affordances are displayed in a first manner and the set of non-selectable affordances are displayed in a second manner different than the first manner. For example, in
In various embodiments, the method 1000 further includes receiving, via one or more input devices, a user input selecting a second one of the plurality of first parameter values and updating display of the second user interface element, wherein, based on the second one of the plurality of first parameter values and the one or more selection rules, a second subset of the plurality of second parameters is presented for selection via the second user interface element. For example, in
In various embodiments, the method 1000 further includes updating the display of the representation of the CGR object. For example, in
In various embodiments, the method 1000 includes receiving a user input updating the first parameter of the CGR object to the second one of the plurality of first parameter values. For example, in
In various embodiments, the method 1000 further includes displaying, on the display, a plurality of view affordances including an object view affordance for entering an object view mode in which user inputs directed to the CGR object change a perspective of the display of the representation of the CGR object and a CGR view affordance for entering a CGR view mode in which movement of display changes a perspective of the display of the representation of the CGR object. For example, in
In various embodiments, the CGR object is further associated with a third parameter, wherein the third parameter has a first one of a plurality of third parameter values, further comprising displaying, on the display, a third user interface element for selection of a second one of the plurality of third parameter values, wherein, based on the first one of the plurality of first parameter values, the first one of the plurality of second parameter values and the one or more selection rules, a subset of the plurality of third parameters values are presented for selection via the third user interface element.
The method 1100 begins, at block 1110, with the device displaying, on a display, a representation of a CGR scene including displaying respective representations of a plurality of CGR objects of the CGR scene. For example, in
The method 1100 continues, at block 1120, with the device determining that two of the plurality of CGR objects overlap in the CGR scene. In various embodiments, determining that the two of the plurality of CGR objects overlap in the CGR scene is performed periodically. In various embodiments, determining that the two of the plurality of CGR objects overlap in the CGR scene is performed in response to a user input spatially manipulating one of the plurality of CGR objects. For example, in
The method 1100 continues, at block 1130, with the device displaying, on the display in association with at least one respective representation of the two of the plurality of CGR objects, an indicator that the two of the plurality of CGR objects overlap in the CGR scene. For example, in
In various embodiments, the overlap indication is displayed in association with both of the respective representations of the two of the plurality of CGR objects. For example, in
In various embodiments, the overlap indication is displayed in association with a location at which the two of the plurality of CGR objects overlap in the CGR scene. For example, in
In various embodiments, the overlap indication includes a highlighting displayed over the at least one respective representation of the two of the plurality of CGR objects. For example, in
In various embodiments, the overlap indication includes a notification user element displayed proximate to the at least one respective representation of the two of the plurality of CGR objects. For example, in
In various embodiments, the method 1100 further includes receiving, via one or more input devices, a user input directed to the overlap indication. For example, in
In various embodiments, the method 1100 further includes receiving, via one or more input devices, a user input directed to the overlap indication. For example, in
The method 1200 begins, at block 1210, with the device displaying, on a display, a representation of a CGR scene including displaying respective representations of one or more CGR objects of the CGR scene. For example, in
The method 1200 continues, at block 1220, with the device receiving, via one or more input devices, a user input directed to a particular representation of the one or more CGR objects. For example, in
The method 1200 continues, at block 1230, with the device, in response to receiving the user input directed to the particular representation of the one or more CGR objects, providing a first manipulation mode associated with a first set of shape-preserving spatial manipulations of the corresponding CGR object. In various embodiments, the method 1200 includes in response to receiving the user input directed to the particular representation of the one or more CGR objects, displaying a first type of object selection indicator in association with the corresponding CGR object. For example, in
For example, while a CGR object is selected (and the first type of object selection indicator 807 is displayed), different types of user input directed to the representation of the CGR object results in different changes to spatial properties of the CGR object. For example, in
The method 1200 continues, in block 1240, with the device receiving, via the one or more input devices, a user input switching from the first manipulation mode to a second manipulation mode associated with a second set of shape-preserving spatial manipulations of the corresponding CGR object. For example, in
In various embodiments, the user input directed to the particular representation of the one or more CGR objects and the user input switching from the first manipulation mode to the second manipulation mode is the same type of user input. In various embodiments, the same type of user input is a tap at a location of the particular representation of the one or more CGR objects. For example, in
The method 1200 continues, in block 1250, with the device, in response to receiving the user input switching from the first manipulation mode to a second manipulation mode, providing the second manipulation mode. In various embodiments, the method 1200 includes, in response to receiving the user input switching from the first manipulation mode to a second manipulation mode, displaying a second type of object selection indicator in association with the corresponding CGR object. For example, while a CGR object is selected (and the second type of object selection indicator 807 is displayed), user inputs directed to different portions of the second type of object selector results in different changes to spatial properties of the CGR object. For example, in
In various embodiments, wherein the second set of shape-preserving spatial manipulations of the corresponding CGR object includes at least one of the first set of shape-preserving spatial manipulations of the corresponding CGR object. In various embodiments, the second set of shape-preserving spatial manipulations of the corresponding CGR object includes all of the first set of shape-preserving spatial manipulations of the corresponding CGR object. In various embodiments, the first set of shape-preserving spatial manipulations of the corresponding CGR object includes translation of the corresponding CGR object in a plane without including translation of the corresponding CGR object perpendicular to the plane, wherein the second set of shape-preserving spatial manipulations of the corresponding CGR object includes translation of the corresponding CGR object perpendicular to the plane. In various embodiments, the first set of shape-preserving spatial manipulations of the corresponding CGR object includes rotation of the corresponding CGR object about an axis without including translation of the corresponding CGR object about other axes, wherein the second set of shape-preserving spatial manipulations of the corresponding CGR object includes translation of the corresponding CGR object about other axes. In various embodiments, the first set of shape-preserving spatial manipulations of the corresponding CGR object includes resizing the corresponding CGR object.
The method 1300 begins, in block 1310, with the device displaying, on a display, a representation of a computer-generated reality (CGR) scene including displaying respective representations of one or more CGR objects of the CGR scene. For example, in
The method 1300 continues, in block 1310, with the device receiving, via one or more input devices, a user input spatially manipulating a particular CGR object of the one or more CGR objects, wherein the particular CGR object is associated with an intuitive spatial manipulation point. For example, in
In various embodiments, the intuitive spatial manipulation point is neither an edge of the particular CGR object, a midpoint of a bounding box surrounding the particular CGR object, nor an unweighted center-of-mass of the particular CGR object. For example, in FIGS. 8AE1 and 8AE2, the intuitive spatial manipulation point 885 is different than the first spatial manipulation point 883, the midpoint of the bounding box 882 surrounding the cup CGR object 880, and is different than the second spatial manipulation point 884, the unweighted center-of-mass of the cup CGR object 880.
In various embodiments, the intuitive spatial manipulation point is stored with a CGR object file defining the particular CGR object. In various embodiments, the method 1300 includes receiving, via the one or more input devices, a user input defining the intuitive spatial manipulation point.
In various embodiments, the method 1300 includes, prior to receiving the user input spatially manipulating the particular CGR object, determining the intuitive spatial manipulation point. For example, in various embodiments, determining the intuitive spatial manipulation point includes determining a plurality of segments of the particular CGR object and determining the intuitive spatial manipulation point based on a weighting of the plurality of segments of the particular CGR object. For example, in FIGS. 8AE1 and 8AE2, the intuitive spatial manipulation point 885 is determined as a center-of-mass of the cup CGR object 880 ignoring the foot 881B and the handle 881C.
The method 1300 continues, in block 1330, with the device changing a spatial property of the particular CGR object based on the user input and the intuitive spatial manipulation point. In various embodiments, changing the spatial property of the particular CGR object based on the user input and the intuitive spatial manipulation point includes rotating the particular CGR object about an axis passing through the intuitive spatial manipulation point. For example, in
The method 1400 begins, at block 1410, with the device displaying, on the display, a representation of a CGR scene including displaying respective representations of one or more CGR objects of the CGR scene. For example, in
The method 1400 continues, at block 1420, with the device receiving, via the one or more input devices, a user input directed to a representation of a particular CGR object of the one or more CGR objects, the particular CGR object associated with a parameter. For example, in
The method 1400 continues, at block 1430, with the device displaying, on the display from a first perspective, a plurality of representations of the particular CGR object, wherein each of the plurality of representations of the particular CGR object is associated with a different respective value of the parameter. For example, in
In various embodiments, the method 1400 further includes displaying a text indication of the particular CGR object and the parameter. For example, in
In various embodiments, the particular CGR object is associated with a second parameter and the method 1400 further includes, while displaying, from the first perspective, the plurality of representations of the particular CGR object, displaying, from the first perspective, a second plurality of representations of the particular CGR object, wherein each of the second plurality of representations of the particular CGR object is associated with a different respective value of the second parameter.
The method 1400 continues, at block 1440, with the device receiving, via the one or more input devices, a user input changing the first perspective to a second perspective. In various embodiments, the user input changing the first perspective to the second perspective includes a user input directed to any of the plurality of representations of the particular CGR object. For example, in
In various embodiments, the method 1400 includes displaying, on the display, a plurality of view affordances including an object view affordance for entering an object view mode in which the user input changing the first perspective to a second perspective includes a user input directed to any of the plurality of representations of the particular CGR object and a CGR view affordance for entering a CGR view mode in which the user input changing the first perspective to the second perspective includes moving the display. For example, in
The method 1400 continues, at block 1450, with the device, in response to receiving the user input changing the first perspective to a second perspective, displaying, on the display, the plurality of representations of the particular CGR object from the second perspective. For example, in
In various embodiments, a difference between a first representation of the plurality of representations of the particular CGR object and a second representation of the plurality of representations of the particular CGR object is not visible displayed from a first perspective and the difference is displayed from the second perspective. For example, in
In various embodiments, the method 1400 includes receiving a user input selecting a particular representation of the plurality of representations of the particular CGR object and setting the parameter of the particular CGR object to the respective value of the parameter of the particular representation. For example, in
The method 1500 begins, at block 1510, with the device displaying, on the display, a representation of CGR scene including displaying a representation of a first CGR object of the CGR scene, wherein displaying the representation of the first CGR object is based on a display mesh associated with the first CGR object. For example, in
In various embodiments, displaying the representation of the first CGR object is further based on a texture associated with the first CGR object. For example, in
The method 1500 continues, at block 1520, with the device determining an interaction of the first CGR object with a second CGR object of the CGR scene based on a physics mesh associated with the first CGR object, wherein the physics mesh associated with the first CGR object is different than the display mesh associated with the first CGR object. In various embodiments, the second CGR object corresponds to a physical object. For example, in
In various embodiments, the physics mesh includes fewer polygons than the display mesh. For example, in
In various embodiments, the method 1500 includes, prior to determining the interaction, receiving a user input changing the physics mesh from a first mesh that is the same as the display mesh associated with the first CGR object to a second mesh that is different than the display mesh associated with the first CGR object and, in response to receiving the user input changing the physics mesh, associating the second mesh with the first CGR object as the physics mesh. For example, in
In various embodiments, the first CGR object is described by a CGR object file including a plurality of meshes including the first mesh and the second mesh. For example, in
In various embodiments, the method 1500 includes receiving a user input to import a mesh into the CGR object file and, in response to receiving the user input to import a mesh into the CGR object file, importing a third mesh into the CGR object file. For example, in
The method 1600 begins, in block 1610, with the device displaying, on a display, a representation of a computer-generated reality (CGR) scene including displaying respective representations of one or more CGR objects of the CGR scene. For example, in
The method 1600 continues, at block 1620, with the device receiving, via the one or more input devices, a user input adding a behavior to the CGR scene. For example, in
The method 1600 continues, at block 1630, with the device receiving, via the one or more input devices, a user input defining a first trigger for the behavior. For example, the user input 899BD directed to the new trigger affordance 833A in
In various embodiments, the first trigger is a user action. For example, in various embodiments, the user action is at least one of a tap by a user of a particular CGR object of the one or more CGR objects, a gaze of the user at the particular CGR object, or a facial action of the user.
In various embodiments, the first trigger is a CGR scene condition. For example, in various embodiments, the CGR scene condition is at least one of a proximity of a particular CGR object of the one or more CGR objects to a location in the CGR scene (e.g., a coordinate or the location of another CGR object) or a CGR scene time elapsing (e.g., after the CGR scene has been presented for a threshold amount of time).
The method 1600 continues, in block 1630, with the device receiving, via the one or more input devices, a user input defining a first action for the behavior, wherein, while presenting the CGR scene, the first action is performed in response to detecting the first trigger. For example, the user input 899BK directed to the new action affordance 835A in
In various embodiments, the first action is at least one of a spatial manipulation of a particular CGR object of the one or more CGR objects, playing an audio file, or presenting a new CGR scene.
In various embodiments, the method 1600 further includes receiving, via the one or more input devices, a user input defining a second trigger for the behavior, wherein, while presenting the CGR scene, the first action is performed in response to detecting the second trigger. For example, the user input 899BH directed to the new trigger affordance 833A in
In various embodiments, the method 1600 further includes receiving, via the one or more input devices, a user input defining a second action for the behavior, wherein, while presenting the CGR scene, the second action is performed in response to detecting the first trigger. For example, after the audio action is defined for the second behavior, the user input 899CG directed to the new action affordance 835A in
In various embodiments, the second action is performed after performance of the first action. For example, as configured in
In various embodiments, receiving, via the one or more input devices, the user input defining the first trigger for the behavior (in block 1630) includes receiving a user input directed to a representation of a first CGR object of the one or more CGR objects. For example, in
In various embodiments, the method 1600 further includes displaying the representation of the first CGR object with a first highlighting and displaying the representation of the second CGR object with a second highlighting, different than the first highlighting. For example, in
The method 1700 begins, in block 1710, with the device receiving, via one or more input devices, a user input generating a computer-generated reality (CGR) scene. For example, in
The method 1700 continues, in block 1720, with the device receiving, via the one or more input devices, a user input associating an anchor with the CGR scene. For example, in
In various embodiments, the anchor is an anchor image. For example, in
The method 1700 continues, in block 1730, with the device receiving, via the one or more input devices, a user input associating one or more CGR objects with the CGR scene, wherein the one or more CGR objects are to be displayed in association with the anchor. For example, in
In various embodiments, receiving the user input associating one or more CGR objects with the CGR scene includes receiving, via the one or more input devices, a user input associating one or more CGR objects with the CGR scene includes displaying, on a display, a representation of a CGR object associated with a first parameter and a second parameter, wherein the first parameter has a first one of a plurality of first parameter values and the second parameter has a first one of a plurality of second parameter values.
For example, in
Receiving the user input associating one or more CGR objects with the CGR scene further includes displaying, on the display, a first user interface element for selection of a second one of the plurality of first parameter values and displaying, on the display, a second user interface element for selection of a second one of the plurality of second parameter values, wherein, based on the first one of the plurality of first parameter values and one or more selection rules, a subset of the plurality of second parameters values are presented for selection via the second user interface element.
For example, in
In various embodiments, the second user interface element includes a set of selectable affordances corresponding to the subset of the plurality of second parameters and a set of non-selectable affordances corresponding to the others of the plurality of second parameters. For example, in
In various embodiments, receiving, via the one or more input devices, a user input associating one or more CGR objects with the CGR scene includes displaying, on a display, a particular representation of a CGR object associated with the CGR scene. For example, in
Receiving, via the one or more input devices, a user input associating one or more CGR objects with the CGR scene further includes receiving, via one or more input devices, a user input directed to the particular representation of the CGR object. For example, in
Receiving, via the one or more input devices, a user input associating one or more CGR objects with the CGR scene further includes, in response to receiving the user input directed to the particular representation of the CGR object, providing a first manipulation mode associated with a first set of shape-preserving spatial manipulations of the corresponding CGR object. For example, in
Receiving, via the one or more input devices, a user input associating one or more CGR objects with the CGR scene further includes receiving, via the one or more input devices, a user input switching from the first manipulation mode to a second manipulation mode associated with a second set of shape-preserving spatial manipulations of the corresponding CGR object. For example, in
Receiving, via the one or more input devices, a user input associating one or more CGR objects with the CGR scene further includes, in response to receiving the user input switching from the first manipulation mode to a second manipulation mode, providing the second manipulation mode. For example, while a CGR object is selected (and the second type of object selection indicator 807 is displayed), user input directed to different portions of the second type of object selector results in different changes to spatial properties of the CGR object. For example, in
In various embodiments, the first set of shape-preserving spatial manipulations of the corresponding CGR object includes translation of the corresponding CGR object in a plane without including translation of the corresponding CGR object perpendicular to the plane, wherein the second set of shape-preserving spatial manipulations of the corresponding CGR object includes translation of the corresponding CGR object perpendicular to the plane. In various embodiments, the first set of shape-preserving spatial manipulations of the corresponding CGR object includes rotation of the corresponding CGR object about an axis without including translation of the corresponding CGR object about other axes, wherein the second set of shape-preserving spatial manipulations of the corresponding CGR object includes translation of the corresponding CGR object about other axes.
In various embodiments, receiving, via the one or more input devices, a user input associating one or more CGR objects with the CGR scene includes displaying, on a display, a representation of a particular CGR object associated with the CGR scene. For example, in
Receiving, via the one or more input devices, a user input associating one or more CGR objects with the CGR scene further includes receiving, via one or more input devices, a user input spatially manipulating the particular CGR object, wherein the particular CGR object is associated with a spatial manipulation point. For example, in
Receiving, via the one or more input devices, a user input associating one or more CGR objects with the CGR scene further includes changing a spatial property of the particular CGR object based on the user input and the spatial manipulation point. In various embodiments, changing the spatial property of the particular CGR object based on the user input and the intuitive spatial manipulation point includes rotating the particular CGR object about an axis passing through the intuitive spatial manipulation point. For example, in
In various embodiments, the spatial manipulation point is neither an edge of the particular CGR object, a midpoint of a bounding box surrounding the particular CGR object, nor an unweighted center-of-mass of the particular CGR object. For example, in FIGS. 8AE1 and 8AE2, the intuitive spatial manipulation point 885 is different than the first spatial manipulation point 883, the midpoint of the bounding box 882 surrounding the cup CGR object 880, and is different than the second spatial manipulation point 884, the unweighted center-of-mass of the cup CGR object 880.
In various embodiments, receiving the user input associating one or more CGR objects with the CGR scene includes displaying, on a display, a representation of a particular CGR object associated with the CGR scene. For example, in
Receiving the user input associating one or more CGR objects with the CGR scene further includes receiving, via the one or more input devices, a user input directed to the representation of a particular CGR object, the particular CGR object associated with a parameter. For example, in
Receiving the user input associating one or more CGR objects with the CGR scene further includes displaying, on the display from a first perspective, a plurality of representations of the particular CGR object, wherein each of the plurality of representations of the particular CGR object is associated with a different respective value of the parameter. For example, in
Receiving the user input associating one or more CGR objects with the CGR scene further includes receiving, via the one or more input devices, a user input changing the first perspective to a second perspective. For example, in
Receiving the user input associating one or more CGR objects with the CGR scene further includes, in response to receiving the user input changing the first perspective to a second perspective, displaying, on the display, the plurality of representations of the particular CGR object from the second perspective. For example, in
In various embodiments, receiving the user input associating one or more CGR objects with the CGR scene further includes receiving a user input selecting a particular representation of the plurality of representations of the particular CGR object; and setting the parameter of the particular CGR object to the respective value of the parameter of particular representation. For example, in
In various embodiments, a first CGR object of the one or more CGR objects is associated with a display mesh and a physics mesh different than the display mesh, wherein the first CGR object is to be displayed based on the display mesh and an interaction of the first CGR object with a second CGR object of the one or more CGR objects is to be determined based on the physics mesh.
For example, in
In various embodiments, the physics mesh includes fewer polygons than the display mesh.
The method 1700 continues, in block 1740, with the device receiving, via the one or more input devices, a user input associating a behavior with the CGR scene, wherein the behavior includes one or more triggers and one or more actions and wherein the one or more actions are to be performed in response to detecting any of the one or more triggers. For example, in
In various embodiments, the behavior includes a trigger associated with a first CGR object of the one or more CGR objects, wherein the behavior includes an action associated with a second CGR object of the one or more CGR objects, the method further comprising displaying a representation of the first CGR object with a first highlighting and displaying the representation of the second CGR object with a second highlighting, different than the first highlighting. For example, in
The method 1700 continues, in block 1750, with the device generating a CGR file including data regarding the CGR scene, wherein the CGR file includes data regarding the anchor, the one or more CGR objects, and the behavior. In various embodiments, the CGR file can be read by a CGR application to present the CGR scene such that the one or more CGR objects are displayed in association with the anchor and the one or more actions are performed in response to detecting any of the one or more triggers. In various embodiments, the CGR file is an executable file that can be executed by an operating system to provide a CGR application that presents the CGR scene such that the one or more CGR objects are displayed in association with the anchor and the one or more actions are performed in response to detecting any of the one or more triggers.
In various embodiments, the CGR file includes an XML (Extensible Markup Language) or JSON (JavaScript Object Notation) file that describes the regarding the anchor, the one or more CGR objects, and the behavior. In various embodiments, the CGR file includes various data structures (e.g., display meshes, physics meshes, textures, images, audio, etc.) associated with the anchor, the one or more CGR objects, and/or the behavior.
The operations in the information processing methods described above are, optionally, implemented by running one or more functional modules in an information processing apparatus such as general purpose processors (e.g., as described with respect to
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.
A first embodiment is a method comprising receiving, via one or more input devices, a user input to present a computer-generated reality (CGR) scene including one or more CGR objects, wherein the CGR scene is associated with a first anchor and a second anchor; capturing, using a camera, an image of a physical environment; determining that the image of the physical environment lacks a portion corresponding to the first anchor; detecting a portion of the image of the physical environment corresponding to the second anchor; and in response to determining that image of the physical environment lacks a portion corresponding to the first anchor and detecting a portion of the image of the physical environment corresponding to the second anchor, displaying, on a display, the CGR scene at a location of the display corresponding to the second anchor.
A second embodiment is a method substantially similar to the first embodiment, wherein displaying the CGR scene at the location of the display corresponding to the second anchor includes displaying the CGR scene anchored to the second anchor.
A third embodiment is a method substantially similar to the first embodiment or second embodiment, wherein, in response to a change in perspective of the camera, display of the CGR scene is corresponding changed on the display.
A fourth embodiment is a method substantially similar to any of the first through third embodiments, wherein the portion of the image of the physical environment corresponds to a physical object and, in response to a movement of the physical object, display of the CGR scene is correspondingly moved on the display.
A fifth embodiment is a method substantially similar to any of first through fourth embodiments, wherein displaying the CGR scene at the location of the display corresponding to the second anchor is performed in response to determining that a plurality of images of the physical environment taken over a threshold amount of time each lack a portion corresponding to the first anchor.
A sixth embodiment is a method substantially similar to any of the first through fifth embodiments, wherein the first anchor is an anchor image and the second anchor is a horizontal plane or vertical plane.
A seventh embodiment is a method substantially similar to the sixth embodiment, wherein the CGR scene is associated with the anchor image by selecting an image file.
An eighth embodiment is a method substantially similar to the sixth embodiment, wherein the CGR scene is associated with the anchor image by capturing, using the camera, the anchor image.
A ninth embodiment is a method substantially similar to any of first through fifth embodiments, wherein the first anchor is a tabletop or floor and the second anchor is horizontal plane.
A tenth embodiment is a method substantially similar to any of the first through ninth embodiments, wherein the CGR scene is associated with a third anchor and determining that image of the physical environment lacks a portion corresponding to the first anchor is performed in response to determining that the image of the physical environment lacks a portion corresponding to the third anchor.
Another first embodiment is a method a comprising displaying, on a display, a representation of a computer-generated reality (CGR) object associated with a first parameter and a second parameter, wherein the first parameter has a first one of a plurality of first parameter values and the second parameter has a first one of a plurality of second parameter values; displaying, on the display, a first user interface element for selection of a second one of the plurality of first parameter values; and displaying, on the display, a second user interface element for selection of a second one of the plurality of second parameter values, wherein, based on the first one of the plurality of first parameter values and one or more selection rules, a subset of the plurality of second parameters values are presented for selection via the second user interface element.
A second embodiment is a method substantially similar to the first embodiment, wherein the second user interface element includes a set of selectable affordances corresponding to the subset of the plurality of second parameters and a set of non-selectable affordances corresponding to the others of the plurality of second parameters.
A third embodiment is a method substantially similar to the second embodiment, wherein the set of selectable affordances are displayed in a first manner and the set of non-selectable affordances are displayed in a second manner different than the first manner.
A fourth embodiment is a method substantially similar to any of the first through third embodiments, the method further comprising receiving, via one or more input devices, a user input selecting a second one of the plurality of first parameter values; and updating display of the second user interface element, wherein, based on the second one of the plurality of first parameter values and the one or more selection rules, a second subset of the plurality of second parameters is presented for selection via the second user interface element.
A fifth embodiment is a method substantially similar to the fourth embodiment, the method further comprising updating display of the representation of the CGR object.
A sixth embodiment is a method substantially similar to the fourth embodiment or fifth embodiment, the method further comprising receiving a user input updating the first parameter of the CGR object to the second one of the plurality of first parameter values.
A seventh embodiment is a method substantially similar to any of the first through sixth embodiments, the method further comprising displaying, on the display, a plurality of view affordances including an object view affordance for entering an object view mode in which user inputs directed to the CGR object change a perspective of the display of the representation of the CGR object and a CGR view affordance for entering a CGR view mode in which movement of display changes a perspective of the display of the representation of the CGR object.
An eighth embodiment is a method substantially similar to any of the first through seventh embodiment, wherein the CGR object is further associated a third parameter, wherein the third parameter has a first one of a plurality of third parameter values, further comprising displaying, on the display, a third user interface element for selection of a second one of the plurality of third parameter values, wherein, based on the first one of the plurality of first parameter values, the first one of the plurality of second parameter values and the one or more selection rules, a subset of the plurality of third parameters values are presented for selection via the third user interface element.
Another first embodiment is a method comprising displaying, on a display, a representation of CGR scene including displaying a representation of a first CGR object of the CGR scene, wherein displaying the representation of the first CGR object is based on a display mesh associated with the first CGR object; and determining an interaction of the first CGR object with a second CGR object of the CGR scene based on a physics mesh associated with the first CGR object, wherein the physics mesh associated with the first CGR object is different than the display mesh associated with the first CGR object.
A second embodiment is a method substantially similar to the first embodiment, wherein displaying the representation of the first CGR object is further based on a texture associated with the first CGR object.
A third embodiment is a method substantially similar to the first embodiment or the second embodiment, wherein the physics mesh includes fewer polygons than the display mesh.
A fourth embodiment is a method substantially similar to any of the first through third embodiments, wherein the physics mess is smoother than the display mesh.
A fifth embodiment is a method substantially similar to any of the first through fourth embodiments, wherein the second CGR object corresponds to a physical object.
A sixth embodiment is a method substantially similar to any of the first through fifth embodiments, wherein the second CGR object is a virtual object.
A seventh embodiment is a method substantially similar to any of the first through sixth embodiments, the method further comprising, prior to determining the interaction, receiving a user input changing the physics mesh from a first mesh that is the same as the display mesh associated with the first CGR object to a second mesh that is different than the display mesh associated with the first CGR object; and in response to receiving the user input changing the physics mesh, associating the second mesh with the first CGR object as the physics mesh.
An eighth embodiment is a method substantially similar to the seventh embodiment, wherein the first CGR object is described by a CGR object file including a plurality of meshes including the first mesh and the second mesh.
A ninth embodiment is a method substantially similar to the eighth embodiment, the method further comprising receiving a user input to import a mesh into the CGR object file; and in response to receiving the user input to import a mesh into the CGR object file, importing a third mesh into the CGR object file.
This application is a continuation application of U.S. Nonprovisional patent application Ser. No. 17/569,438, filed on Jan. 5, 2022, which is a continuation application of U.S. Nonprovisional patent application Ser. No. 16/892,010, filed on Jun. 3, 2020, which is a continuation application of International App No. PCT/US2020/027183, filed on Apr. 8, 2020, which is entitled to the benefit of the filing date of U.S. Nonprovisional patent application Ser. No. 16/403,858, filed on May 6, 2019, all of which are hereby incorporated by reference in their entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 17569438 | Jan 2022 | US |
Child | 18779181 | US | |
Parent | 16892010 | Jun 2020 | US |
Child | 17569438 | US | |
Parent | PCT/US2020/027183 | Apr 2020 | WO |
Child | 16892010 | US | |
Parent | 16403858 | May 2019 | US |
Child | PCT/US2020/027183 | US |