The present disclosure relates to virtual reality and augmented reality imaging and visualization systems and more particularly to dynamically adjusting and rendering virtual avatars based on contextual information.
Modern computing and display technologies have facilitated the development of systems for so called “virtual reality”, “augmented reality”, or “mixed reality” experiences, wherein digitally reproduced images or portions thereof are presented to a user in a manner wherein they seem to be, or may be perceived as, real. A virtual reality, or “VR”, scenario typically involves presentation of digital or virtual image information without transparency to other actual real-world visual input; an augmented reality, or “AR”, scenario typically involves presentation of digital or virtual image information as an augmentation to visualization of the actual world around the user; a mixed reality, or “MR”, related to merging real and virtual worlds to produce new environments where physical and virtual objects co-exist and interact in real time. As it turns out, the human visual perception system is very complex, and producing a VR, AR, or MR technology that facilitates a comfortable, natural-feeling, rich presentation of virtual image elements amongst other virtual or real-world imagery elements is challenging. Systems and methods disclosed herein address various challenges related to VR, AR and MR technology.
Various examples of a mixed reality system for adjusting and rendering virtual avatars based on contextual information are disclosed.
Examples of systems and methods for rendering an avatar in a mixed reality environment are disclosed. The systems and methods may be configured to automatically scale an avatar or to render an avatar based on a determined intention of a user, an interesting impulse, environmental stimuli, or user saccade points. The disclosed systems and methods may apply discomfort curves when rendering an avatar. The disclosed systems and methods may provide a more realistic interaction between a human user and an avatar.
Details of one or more implementations of the subject matter described in this specification are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages will become apparent from the description, the drawings, and the claims. Neither this summary nor the following detailed description purports to define or limit the scope of the inventive subject matter.
Throughout the drawings, reference numbers may be re-used to indicate correspondence between referenced elements. The drawings are provided to illustrate example embodiments described herein and are not intended to limit the scope of the disclosure.
A virtual avatar may be a virtual representation of a real or fictional person (or creature or personified object) in an AR/VR/MR environment. For example, during a telepresence session in which two AR/VR/MR users are interacting with each other, a viewer can perceive an avatar of another user in the viewer's environment and thereby create a tangible sense of the other user's presence in the viewer's environment. The avatar can also provide a way for users to interact with each other and do things together in a shared virtual environment. For example, a student attending an online class can perceive other students' or teachers' avatars in a virtual classroom and can interact with the avatars of the other students or the teacher.
When placing an avatar in a user's physical environment for an AR/VR/MR environment, a size of the avatar needs to be determined. When spawning (the initial rendering of the avatar) in a three-dimensional (3D) space, the avatar could, in practice, be any size (e.g., tiny, human-sized, or gigantic). The avatar could maintain a 1:1 size to its human counterpart, but this may not make sense in certain environments (due to, for example, lack of space, privacy concerns, etc.). An improperly sized avatar can create awkward social interactions or create user fatigue when interacting with an avatar. For example, if an avatar is too big or too small relative to a viewer, the viewer may need to position his head or body at an uncomfortable position in order to engage in an eye-to-eye conversation with the avatar. Further, an improperly sized avatar can convey the wrong social message such as an implied superiority (e.g., when the avatar is bigger than the user) or inferiority (e.g., when the avatar is smaller than the user) between the avatar's human counterpart and the viewer. Additional examples related to problems caused by an improperly sized avatar are further described with reference to
Advantageously, in some embodiments, the wearable system described herein can automatically determine an appropriate size for an avatar at spawning and can re-scale the avatar throughout some or all parts of the interaction with other users (or avatars) based on contextual information regarding the interaction. Some example contextual information can include the position of the user, the rendering location of the avatar in the environment of the other user, a relative height difference between the user and the avatar, presence of objects in the rendering environment (e.g., whether there are chairs for an avatar to sit on or whether movement of the avatar would cause the avatar to pass through solid objects such as tables), etc. The wearable system can automatically scale the avatar in a manner that increases or maximizes direct eye contact based on the contextual information, and therefore facilitates avatar-human communication. Details for scaling the avatar based on contextual information are further described in
An avatar can be animated based on its human counterpart, where a human's interaction is mapped to his avatar. A one-to-one mapping between a user and an avatar can be employed in an AR/VR/MR environment, such that the avatar's action is a direct mapping of a user's action. For example, if a user looks left, its avatar also looks left. If the user stands up, its avatar stands up. If a user walks in a certain direction, its avatar walks in that direction. This one-to-one mapping may work in a VR environment because the participants of the VR environment (including the user's virtual avatar) are seeing the same shared virtual content. However, in an AR/MR environment, each user's physical environment and the way the other user's avatar appears within it might be different, because the two (or more) users may be in very different environments. For example, Bob might be in a living room in a house, and Alice might be in a room in an office building. Bob might see Alice's avatar across from Bob in Bob's environment (the living room), whereas Alice sees Bob's avatar located to the left of Alice in Alice's environment (the office room). As another example, since avatars are virtual objects and can be resizable, Bob can shrink the size of Alice's avatar and place it on a table in his living room, whereas Alice might be in a large office room and may choose to have Bob's avatar stand in the corner and be life-sized.
Such sizing may result in Bob looking down at Alice's avatar when Bob is talking to her avatar. If a one-to-one mapping is applied to Bob's avatar based on Bob's action, Bob's avatar rendered in Alice's office may look unusual to Alice, because Bob's avatar would be looking at the floor while talking to Alice (since the real Bob is looking down at Alice's avatar). On the other hand, it may be desirable that certain aspects of the user be preserved and mapped to the avatar in another user's environment. For example, a user nodding his or her head in agreement or shaking his or her head in disagreement can be conveyed to the other user by mapping such motions to the avatar. Additional examples describing problems in one-to-one mapping are further provided with reference to
Advantageously, in some embodiments, the wearable system can analyze an interaction of a user and break the interaction into a world component and a local component. A world component can include the portion of the interaction that interacts with an environment. For example, a world motion may include walking from point A to point B, climbing up a ladder, sitting or standing, facing a certain direction, and interacting with an object (virtual or physical) in the environment. As further described herein, the world component can be described with respect to a world reference frame which is associated with an environment. A local component can include an action relative to a user (which can be described relative to a body-fixed reference frame). For example, if Alice is nodding her head or shaking her head, that motion has meaning based on the angle of her head with respect to her torso (or body). As another example, Alice can turn around 180 degrees and nod her head. These two motions can be considered as local because they are localized with respect to her torso and may not require interactions with the environment. As yet another example, waving a hand can be a local motion, because it can be defined with respect to the user's body. Some movements may have a local portion and a world portion. For example, a user may gesture by pointing a finger, which has local attributes relative to the user's body as well as world aspects if the user is pointing at an object in the user's environment. For example, if Alice is pointing to the avatar of Bob in Alice's environment, the intent determined from Alice's hand gesture is that Alice points to Bob. In Bob's environment, Alice might appear in a different relative location or orientation to Bob and if her hand gesture were rendered in one-to-one correspondence, Alice's avatar might not point at Bob and thus might not reflect Alice's intent. The wearable device of Bob can map Alice's intent to Bob's environment so that Alice's avatar is rendered as pointing at Bob.
The wearable system can extract intent of a user's interaction based on contextual information associated with the user's environment, the user's movements, the user's intentions, and so forth. The wearable system can accordingly map the world motion of the user's interaction to an avatar's action based on the avatar's environment and map the local action of the user's interaction directly to the avatar. The mapping of the world motion can include adjusting one or more characteristics of the avatar such as, e.g., the movement, position, orientation, size, facial expression, pose, eye gaze, etc., to be compatible with the physical environment in which the avatar is rendered (rather than simply mapping the characteristics in a direct one-to-one fashion).
For example, when Alice walks to a chair and sits down on the chair, the wearable system can automatically find a chair in Bob's environment (or another sit-able surface if there is no chair) by accessing information from the world map of Bob's environment and rendering Alice as sitting on the chair. As another example, the wearable system may determine that Alice intends to interact with an object of interest (e.g., a tree or a virtual book) in her environment. The wearable system can automatically reorient Alice's avatar to interact with the object of interest in Bob's environment, where the location of the object of interest may not be the same as that in Alice's environment. For example, if a direct one-to-one mapping of the virtual book would cause it to be rendered inside or underneath a table in Bob's environment, Bob's wearable system may instead render the virtual book as lying on top of the table, which will provide Bob with a more natural interaction with Alice and the virtual book.
While the wearable system may remap the world motions, the wearable system can preserve local motions, such as nodding, hand tilting or shakes (which can indicate confusion, agreement or refusal) of a user's interaction. For example, Alice can shake her head and walk toward a chair. This interaction includes a world motion, such as walking toward a chair, and a local motion, such as shaking her head. The wearable system can adjust Alice's avatar's direction of walking based on the location of a chair in Bob's environment, but in the meantime, render Alice's avatar as shaking her head. Further descriptions related to intent-based rendering of avatars are described with reference to
In certain implementations, the wearable system can also map a local component to the avatar based on intent. For example, if Alice gives a thumbs up sign, the wearable system can interpret this as an emblem gesture (e.g., a gesture that is consciously used and consciously understood and which is used as a substitute for words and is closer to sign language than everyday body language) and map a more expressive thumbs up animation to Alice's avatar in Bob's environment to convey the same intention. This can apply to other common symbolic or emblem gestures, such as, e.g., waving your hand with an open palm gesture, or giving an okay sign with the okay gesture.
In addition to or as an alternative to animating a virtual avatar based on interactions of its human counterpart, advantageously, in some embodiments, the wearable system can also animate an avatar based on the environment that the avatar is rendered in. The wearable system can render the virtual avatar such that the virtual avatar can appear to be able to make its decision based on interactions with the environment (e.g., the wearable system may display the avatar as sitting if there is a chair present in the environment but display the avatar as standing if no chair is present).
The wearable system can discover interesting impulses in the viewer's environment, such as an object of interest, an area of interest, a sound, or a component of an object of interest, and cause the avatar to automatically respond to the interesting impulse (such as, e.g., turning around to look at the interesting impulses). As one example, the wearable system of the viewer may detect a sudden loud noise, and the wearable system of the viewer can automatically reorient the avatar to look in the direction of where the loud noise came from.
The wearable system can animate the avatar based on the impulse regardless of whether the viewer is in a telepresence session with the avatar's human counterpart. In situations where the viewer is in a telepresence session, the avatar can respond to the interesting impulse in the viewer's environment even though such interesting impulse does not appear in the human counterpart's environment. For example, Alice and Bob may be in telepresence session. Alice's avatar may initially face Bob as Bob is talking. When Bob's wearable system detects a loud noise in Bob's environment, Alice's avatar may switch its attention from Bob to the direction of the loud noise (and thus may look away from Bob). Further descriptions related to animating an avatar based on a viewer's environment are described with reference to
In certain implementations, the wearable system can learn the behaviors of one or more users (e.g., including the avatar's human counterpart) and drive the avatar's animation based on such learning even though the human counterpart user may or may not be present (either remotely or in the same environment). For example, the wearable system can learn (e.g., based on data from devices sensors) how the user interacts with others from the user's eye gaze direction and frequency of eye contact in relation to speaking voices or objects in the user's environment. The wearable system can accordingly drive the avatar's animation based on the learned behaviors of the user. As an example, if a user does not respond to country music (e.g., does not look at the sound source playing the country music), the avatar associated with the user may also be rendered such that the avatar does not respond to the country music.
Although the examples in this disclosure describe animating a human-shaped avatar, similar techniques can also be applied to animals, fictitious creatures, objects (e.g., the virtual book described above), etc. For example, Alice's system may detect a dog moving in her environment. Bob's wearable system can present movement of a virtual dog in Bob's environment. Bob's wearable system may display the virtual dog's movement in Bob's environment based on obstacles in Bob's environment (e.g., by having the virtual dog move on a trajectory that does not cause the virtual dog to pass through physical objects).
Accordingly, embodiments of the disclosed systems and methods may provide for a much more realistic interaction between a user of the wearable system and avatars in the user's environment.
A wearable system (also referred to herein as an augmented reality (AR) system) can be configured to present 2D or 3D virtual images to a user. The images may be still images, frames of a video, or a video, in combination or the like. At least a portion of the wearable system can be implemented on a wearable device that can present a VR, AR, or MR environment, alone or in combination, for user interaction. The wearable device can be used interchangeably as an AR device (ARD). Further, for the purpose of the present disclosure, the term “AR” is used interchangeably with the term “MR”.
In order for the 3D display to produce a true sensation of depth, and more specifically, a simulated sensation of surface depth, it may be desirable for each point in the display's visual field to generate an accommodative response corresponding to its virtual depth. If the accommodative response to a display point does not correspond to the virtual depth of that point, as determined by the binocular depth cues of convergence and stereopsis, the human eye may experience an accommodation conflict, resulting in unstable imaging, harmful eye strain, headaches, and, in the absence of accommodation information, almost a complete lack of surface depth.
VR, AR, and MR experiences can be provided by display systems having displays in which images corresponding to a plurality of depth planes are provided to a viewer. The images may be different for each depth plane (e.g., provide slightly different presentations of a scene or object) and may be separately focused by the viewer's eyes, thereby helping to provide the user with depth cues based on the accommodation of the eye required to bring into focus different image features for the scene located on different depth plane or based on observing different image features on different depth planes being out of focus. As discussed elsewhere herein, such depth cues provide credible perceptions of depth.
In some embodiments, a speaker 240 is coupled to the frame 230 and positioned adjacent the ear canal of the user (in some embodiments, another speaker, not shown, is positioned adjacent the other ear canal of the user to provide for stereo/shapeable sound control). The display 220 can include an audio sensor (e.g., a microphone) 232 for detecting an audio stream from the environment and capture ambient sound. In some embodiments, one or more other audio sensors, not shown, are positioned to provide stereo sound reception. Stereo sound reception can be used to determine the location of a sound source. The wearable system 200 can perform voice or speech recognition on the audio stream.
The wearable system 200 can include an outward-facing imaging system 464 (shown in
As an example, the wearable system 200 can use the outward-facing imaging system 464 or the inward-facing imaging system 462 to acquire images of a pose of the user. The images may be still images, frames of a video, or a video.
The display 220 can be operatively coupled 250, such as by a wired lead or wireless connectivity, to a local data processing module 260 which may be mounted in a variety of configurations, such as fixedly attached to the frame 230, fixedly attached to a helmet or hat worn by the user, embedded in headphones, or otherwise removably attached to the user 210 (e.g., in a backpack-style configuration, in a belt-coupling style configuration).
The local processing and data module 260 may comprise a hardware processor, as well as digital memory, such as non-volatile memory (e.g., flash memory), both of which may be utilized to assist in the processing, caching, and storage of data. The data may include data a) captured from sensors (which may be, e.g., operatively coupled to the frame 230 or otherwise attached to the user 210), such as image capture devices (e.g., cameras in the inward-facing imaging system or the outward-facing imaging system), audio sensors (e.g., microphones), inertial measurement units (IMUs), accelerometers, compasses, global positioning system (GPS) units, radio devices, or gyroscopes; or b) acquired or processed using remote processing module 270 or remote data repository 280, possibly for passage to the display 220 after such processing or retrieval. The local processing and data module 260 may be operatively coupled by communication links 262 or 264, such as via wired or wireless communication links, to the remote processing module 270 or remote data repository 280 such that these remote modules are available as resources to the local processing and data module 260. In addition, remote processing module 280 and remote data repository 280 may be operatively coupled to each other.
In some embodiments, the remote processing module 270 may comprise one or more processors configured to analyze and process data or image information. In some embodiments, the remote data repository 280 may comprise a digital data storage facility, which may be available through the internet or other networking configuration in a “cloud” resource configuration. In some embodiments, all data is stored and all computations are performed in the local processing and data module, allowing fully autonomous use from a remote module.
With continued reference to
The wearable system can also include one or more depth sensors 234. The depth sensor 234 can be configured to measure the distance between an object in an environment to a wearable device. The depth sensor 234 may include a laser scanner (e.g., a LIDAR), an ultrasonic depth sensor, or a depth sensing camera. In certain implementations, where the cameras 316 have depth sensing ability, the cameras 316 may also be considered as depth sensors 234.
Also shown is a processor 332 configured to execute digital or analog processing to derive pose from the gyro, compass, or accelerometer data from the sensor assembly 339. The processor 332 may be part of the local processing and data module 260 shown in
The wearable system may combine data acquired by the GPS 337 and a remote computing system (such as, e.g., the remote processing module 270, another user's ARD, etc.), which can provide more information about the user's environment. As one example, the wearable system can determine the user's location based on GPS data and retrieve a world map (e.g., by communicating with a remote processing module 270) including virtual objects associated with the user's location. As another example, the wearable system 200 can monitor the environment using the world cameras 316 (which may be part of the outward-facing imaging system 464 shown in
The wearable system 200 may also comprise a rendering engine 334 which can be configured to provide rendering information that is local to the user to facilitate operation of the scanners and imaging into the eyes of the user, for the user's view of the world. The rendering engine 334 may be implemented by a hardware processor (such as, e.g., a central processing unit or a graphics processing unit). In some embodiments, the rendering engine is part of the local processing and data module 260. The rendering engine 334 can be communicatively coupled (e.g., via wired or wireless links) to other components of the wearable system 200. For example, the rendering engine 334, can be coupled to the eye cameras 324 via communication link 274, and be coupled to a projecting subsystem 318 (which can project light into user's eyes 302, 304 via a scanned laser arrangement in a manner similar to a retinal scanning display) via the communication link 272. The rendering engine 334 can also be in communication with other processing units such as, e.g., the sensor pose processor 332 and the image pose processor 336 via links 276 and 294 respectively.
The cameras 324 (e.g., mini infrared cameras) may be utilized to track the eye pose to support rendering and user input. Some example eye poses may include where the user is looking or at what depth he or she is focusing (which may be estimated with eye vergence). The GPS 337, gyros, compass, and accelerometers 339 may be utilized to provide coarse or fast pose estimates. One or more of the cameras 316 can acquire images and pose, which in conjunction with data from an associated cloud computing resource, may be utilized to map the local environment and share user views with others.
The example components depicted in
Regarding the projection of light 338 into the eyes 302, 304 of the user, in some embodiment, the cameras 324 may be utilized to measure where the centers of a user's eyes are geometrically verged to, which, in general, coincides with a position of focus, or “depth of focus”, of the eyes. A 3-dimensional surface of all points the eyes verge to can be referred to as the “horopter”. The focal distance may take on a finite number of depths, or may be infinitely varying. Light projected from the vergence distance appears to be focused to the subject eye 302, 304, while light in front of or behind the vergence distance is blurred. Examples of wearable devices and other display systems of the present disclosure are also described in U.S. Patent Publication No. 2016/0270656, which is incorporated by reference herein in its entirety.
The human visual system is complicated and providing a realistic perception of depth is challenging. Viewers of an object may perceive the object as being three-dimensional due to a combination of vergence and accommodation. Vergence movements (e.g., rolling movements of the pupils toward or away from each other to converge the lines of sight of the eyes to fixate upon an object) of the two eyes relative to each other are closely associated with focusing (or “accommodation”) of the lenses of the eyes. Under normal conditions, changing the focus of the lenses of the eyes, or accommodating the eyes, to change focus from one object to another object at a different distance will automatically cause a matching change in vergence to the same distance, under a relationship known as the “accommodation-vergence reflex.” Likewise, a change in vergence will trigger a matching change in accommodation, under normal conditions. Display systems that provide a better match between accommodation and vergence may form more realistic and comfortable simulations of three-dimensional imagery.
Further spatially coherent light with a beam diameter of less than about 0.7 millimeters can be correctly resolved by the human eye regardless of where the eye focuses. Thus, to create an illusion of proper focal depth, the eye vergence may be tracked with the cameras 324, and the rendering engine 334 and projection subsystem 318 may be utilized to render all objects on or close to the horopter in focus, and all other objects at varying degrees of defocus (e.g., using intentionally-created blurring). Preferably, the system 220 renders to the user at a frame rate of about 60 frames per second or greater. As described above, preferably, the cameras 324 may be utilized for eye tracking, and software may be configured to pick up not only vergence geometry but also focus location cues to serve as user inputs. Preferably, such a display system is configured with brightness and contrast suitable for day or night use.
In some embodiments, the display system preferably has latency of less than about 20 milliseconds for visual object alignment, less than about 0.1 degree of angular alignment, and about 1 arc minute of resolution, which, without being limited by theory, is believed to be approximately the limit of the human eye. The display system 220 may be integrated with a localization system, which may involve GPS elements, optical tracking, compass, accelerometers, or other data sources, to assist with position and pose determination; localization information may be utilized to facilitate accurate rendering in the user's view of the pertinent world (e.g., such information would facilitate the glasses to know where they are with respect to the real world).
In some embodiments, the wearable system 200 is configured to display one or more virtual images based on the accommodation of the user's eyes. Unlike prior 3D display approaches that force the user to focus where the images are being projected, in some embodiments, the wearable system is configured to automatically vary the focus of projected virtual content to allow for a more comfortable viewing of one or more images presented to the user. For example, if the user's eyes have a current focus of 1 m, the image may be projected to coincide with the user's focus. If the user shifts focus to 3 m, the image is projected to coincide with the new focus. Thus, rather than forcing the user to a predetermined focus, the wearable system 200 of some embodiments allows the user's eye to function in a more natural manner.
Such a wearable system 200 may eliminate or reduce the incidences of eye strain, headaches, and other physiological symptoms typically observed with respect to virtual reality devices. To achieve this, various embodiments of the wearable system 200 are configured to project virtual images at varying focal distances, through one or more variable focus elements (VFEs). In one or more embodiments, 3D perception may be achieved through a multi-plane focus system that projects images at fixed focal planes away from the user. Other embodiments employ variable plane focus, wherein the focal plane is moved back and forth in the z-direction to coincide with the user's present state of focus.
In both the multi-plane focus systems and variable plane focus systems, wearable system 200 may employ eye tracking to determine a vergence of the user's eyes, determine the user's current focus, and project the virtual image at the determined focus. In other embodiments, wearable system 200 comprises a light modulator that variably projects, through a fiber scanner, or other light generating source, light beams of varying focus in a raster pattern across the retina. Thus, the ability of the display of the wearable system 200 to project images at varying focal distances not only eases accommodation for the user to view objects in 3D, but may also be used to compensate for user ocular anomalies, as further described in U.S. Patent Publication No. 2016/0270656, which is incorporated by reference herein in its entirety. In some other embodiments, a spatial light modulator may project the images to the user through various optical components. For example, as described further below, the spatial light modulator may project the images onto one or more waveguides, which then transmit the images to the user.
With continued reference to
The waveguides 432b, 434b, 436b, 438b, 440b or the plurality of lenses 458, 456, 454, 452 may be configured to send image information to the eye with various levels of wavefront curvature or light ray divergence. Each waveguide level may be associated with a particular depth plane and may be configured to output image information corresponding to that depth plane. Image injection devices 420, 422, 424, 426, 428 may be utilized to inject image information into the waveguides 440b, 438b, 436b, 434b, 432b, each of which may be configured to distribute incoming light across each respective waveguide, for output toward the eye 410. Light exits an output surface of the image injection devices 420, 422, 424, 426, 428 and is injected into a corresponding input edge of the waveguides 440b, 438b, 436b, 434b, 432b. In some embodiments, a single beam of light (e.g., a collimated beam) may be injected into each waveguide to output an entire field of cloned collimated beams that are directed toward the eye 410 at particular angles (and amounts of divergence) corresponding to the depth plane associated with a particular waveguide.
In some embodiments, the image injection devices 420, 422, 424, 426, 428 are discrete displays that each produce image information for injection into a corresponding waveguide 440b, 438b, 436b, 434b, 432b, respectively. In some other embodiments, the image injection devices 420, 422, 424, 426, 428 are the output ends of a single multiplexed display which may, e.g., pipe image information via one or more optical conduits (such as fiber optic cables) to each of the image injection devices 420, 422, 424, 426, 428.
A controller 460 controls the operation of the stacked waveguide assembly 480 and the image injection devices 420, 422, 424, 426, 428. The controller 460 includes programming (e.g., instructions in a non-transitory computer-readable medium) that regulates the timing and provision of image information to the waveguides 440b, 438b, 436b, 434b, 432b. In some embodiments, the controller 460 may be a single integral device, or a distributed system connected by wired or wireless communication channels. The controller 460 may be part of the processing modules 260 or 270 (illustrated in
The waveguides 440b, 438b, 436b, 434b, 432b may be configured to propagate light within each respective waveguide by total internal reflection (TIR). The waveguides 440b, 438b, 436b, 434b, 432b may each be planar or have another shape (e.g., curved), with major top and bottom surfaces and edges extending between those major top and bottom surfaces. In the illustrated configuration, the waveguides 440b, 438b, 436b, 434b, 432b may each include light extracting optical elements 440a, 438a, 436a, 434a, 432a that are configured to extract light out of a waveguide by redirecting the light, propagating within each respective waveguide, out of the waveguide to output image information to the eye 410. Extracted light may also be referred to as outcoupled light, and light extracting optical elements may also be referred to as outcoupling optical elements. An extracted beam of light is outputted by the waveguide at locations at which the light propagating in the waveguide strikes a light redirecting element. The light extracting optical elements (440a, 438a, 436a, 434a, 432a) may, for example, be reflective or diffractive optical features. While illustrated disposed at the bottom major surfaces of the waveguides 440b, 438b, 436b, 434b, 432b for ease of description and drawing clarity, in some embodiments, the light extracting optical elements 440a, 438a, 436a, 434a, 432a may be disposed at the top or bottom major surfaces, or may be disposed directly in the volume of the waveguides 440b, 438b, 436b, 434b, 432b. In some embodiments, the light extracting optical elements 440a, 438a, 436a, 434a, 432a may be formed in a layer of material that is attached to a transparent substrate to form the waveguides 440b, 438b, 436b, 434b, 432b. In some other embodiments, the waveguides 440b, 438b, 436b, 434b, 432b may be a monolithic piece of material and the light extracting optical elements 440a, 438a, 436a, 434a, 432a may be formed on a surface or in the interior of that piece of material.
With continued reference to
The other waveguide layers (e.g., waveguides 438b, 440b) and lenses (e.g., lenses 456, 458) are similarly configured, with the highest waveguide 440b in the stack sending its output through all of the lenses between it and the eye for an aggregate focal power representative of the closest focal plane to the person. To compensate for the stack of lenses 458, 456, 454, 452 when viewing/interpreting light coming from the world 470 on the other side of the stacked waveguide assembly 480, a compensating lens layer 430 may be disposed at the top of the stack to compensate for the aggregate power of the lens stack 458, 456, 454, 452 below. Such a configuration provides as many perceived focal planes as there are available waveguide/lens pairings. Both the light extracting optical elements of the waveguides and the focusing aspects of the lenses may be static (e.g., not dynamic or electro-active). In some alternative embodiments, either or both may be dynamic using electro-active features.
With continued reference to
In some embodiments, the light extracting optical elements 440a, 438a, 436a, 434a, 432a are diffractive features that form a diffraction pattern, or “diffractive optical element” (also referred to herein as a “DOE”). Preferably, the DOE has a relatively low diffraction efficiency so that only a portion of the light of the beam is deflected away toward the eye 410 with each intersection of the DOE, while the rest continues to move through a waveguide via total internal reflection. The light carrying the image information can thus be divided into a number of related exit beams that exit the waveguide at a multiplicity of locations and the result is a fairly uniform pattern of exit emission toward the eye 304 for this particular collimated beam bouncing around within a waveguide.
In some embodiments, one or more DOEs may be switchable between “on” state in which they actively diffract, and “off” state in which they do not significantly diffract. For instance, a switchable DOE may comprise a layer of polymer dispersed liquid crystal, in which microdroplets comprise a diffraction pattern in a host medium, and the refractive index of the microdroplets can be switched to substantially match the refractive index of the host material (in which case the pattern does not appreciably diffract incident light) or the microdroplet can be switched to an index that does not match that of the host medium (in which case the pattern actively diffracts incident light).
In some embodiments, the number and distribution of depth planes or depth of field may be varied dynamically based on the pupil sizes or orientations of the eyes of the viewer. Depth of field may change inversely with a viewer's pupil size. As a result, as the sizes of the pupils of the viewer's eyes decrease, the depth of field increases such that one plane that is not discernible because the location of that plane is beyond the depth of focus of the eye may become discernible and appear more in focus with reduction of pupil size and commensurate with the increase in depth of field. Likewise, the number of spaced apart depth planes used to present different images to the viewer may be decreased with the decreased pupil size. For example, a viewer may not be able to clearly perceive the details of both a first depth plane and a second depth plane at one pupil size without adjusting the accommodation of the eye away from one depth plane and to the other depth plane. These two depth planes may, however, be sufficiently in focus at the same time to the user at another pupil size without changing accommodation.
In some embodiments, the display system may vary the number of waveguides receiving image information based upon determinations of pupil size or orientation, or upon receiving electrical signals indicative of particular pupil size or orientation. For example, if the user's eyes are unable to distinguish between two depth planes associated with two waveguides, then the controller 460 (which may be an embodiment of the local processing and data module 260) can be configured or programmed to cease providing image information to one of these waveguides. Advantageously, this may reduce the processing burden on the system, thereby increasing the responsiveness of the system. In embodiments in which the DOEs for a waveguide are switchable between the on and off states, the DOEs may be switched to the off state when the waveguide does receive image information.
In some embodiments, it may be desirable to have an exit beam meet the condition of having a diameter that is less than the diameter of the eye of a viewer. However, meeting this condition may be challenging in view of the variability in size of the viewer's pupils. In some embodiments, this condition is met over a wide range of pupil sizes by varying the size of the exit beam in response to determinations of the size of the viewer's pupil. For example, as the pupil size decreases, the size of the exit beam may also decrease. In some embodiments, the exit beam size may be varied using a variable aperture.
The wearable system 400 can include an outward-facing imaging system 464 (e.g., a digital camera) that images a portion of the world 470. This portion of the world 470 may be referred to as the field of view (FOV) of a world camera and the imaging system 464 is sometimes referred to as an FOV camera. The FOV of the world camera may or may not be the same as the FOV of a viewer 210 which encompasses a portion of the world 470 the viewer 210 perceives at a given time. For example, in some situations, the FOV of the world camera may be larger than the viewer 210 of the viewer 210 of the wearable system 400. The entire region available for viewing or imaging by a viewer may be referred to as the field of regard (FOR). The FOR may include 4π steradians of solid angle surrounding the wearable system 400 because the wearer can move his body, head, or eyes to perceive substantially any direction in space. In other contexts, the wearer's movements may be more constricted, and accordingly the wearer's FOR may subtend a smaller solid angle. Images obtained from the outward-facing imaging system 464 can be used to track gestures made by the user (e.g., hand or finger gestures), detect objects in the world 470 in front of the user, and so forth.
The wearable system 400 can include an audio sensor 232, e.g., a microphone, to capture ambient sound. As described above, in some embodiments, one or more other audio sensors can be positioned to provide stereo sound reception useful to the determination of location of a speech source. The audio sensor 232 can comprise a directional microphone, as another example, which can also provide such useful directional information as to where the audio source is located. The wearable system 400 can use information from both the outward-facing imaging system 464 and the audio sensor 230 in locating a source of speech, or to determine an active speaker at a particular moment in time, etc. For example, the wearable system 400 can use the voice recognition alone or in combination with a reflected image of the speaker (e.g., as seen in a mirror) to determine the identity of the speaker. As another example, the wearable system 400 can determine a position of the speaker in an environment based on sound acquired from directional microphones. The wearable system 400 can parse the sound coming from the speaker's position with speech recognition algorithms to determine the content of the speech and use voice recognition techniques to determine the identity (e.g., name or other demographic information) of the speaker.
The wearable system 400 can also include an inward-facing imaging system 466 (e.g., a digital camera), which observes the movements of the user, such as the eye movements and the facial movements. The inward-facing imaging system 466 may be used to capture images of the eye 410 to determine the size and/or orientation of the pupil of the eye 304. The inward-facing imaging system 466 can be used to obtain images for use in determining the direction the user is looking (e.g., eye pose) or for biometric identification of the user (e.g., via iris identification). In some embodiments, at least one camera may be utilized for each eye, to separately determine the pupil size or eye pose of each eye independently, thereby allowing the presentation of image information to each eye to be dynamically tailored to that eye. In some other embodiments, the pupil diameter or orientation of only a single eye 410 (e.g., using only a single camera per pair of eyes) is determined and assumed to be similar for both eyes of the user. The images obtained by the inward-facing imaging system 466 may be analyzed to determine the user's eye pose or mood, which can be used by the wearable system 400 to decide which audio or visual content should be presented to the user. The wearable system 400 may also determine head pose (e.g., head position or head orientation) using a pose sensor, e.g., sensors such as IMUs, accelerometers, gyroscopes, etc.
The wearable system 400 can include a user input device 466 by which the user can input commands to the controller 460 to interact with the wearable system 400. For example, the user input device 466 can include a trackpad, a touchscreen, a joystick, a multiple degree-of-freedom (DOF) controller, a capacitive sensing device, a game controller, a keyboard, a mouse, a directional pad (D-pad), a wand, a haptic device, a totem (e.g., functioning as a virtual user input device), and so forth. A multi-DOF controller can sense user input in some or all possible translations (e.g., left/right, forward/backward, or up/down) or rotations (e.g., yaw, pitch, or roll) of the controller. A multi-DOF controller which supports the translation movements may be referred to as a 3DOF while a multi-DOF controller which supports the translations and rotations may be referred to as 6DOF. In some cases, the user may use a finger (e.g., a thumb) to press or swipe on a touch-sensitive input device to provide input to the wearable system 400 (e.g., to provide user input to a user interface provided by the wearable system 400). The user input device 466 may be held by the user's hand during the use of the wearable system 400. The user input device 466 can be in wired or wireless communication with the wearable system 400.
In many implementations, the wearable system may include other components in addition or in alternative to the components of the wearable system described above. The wearable system may, for example, include one or more haptic devices or components. The haptic devices or components may be operable to provide a tactile sensation to a user. For example, the haptic devices or components may provide a tactile sensation of pressure or texture when touching virtual content (e.g., virtual objects, virtual tools, other virtual constructs). The tactile sensation may replicate a feel of a physical object which a virtual object represents, or may replicate a feel of an imagined object or character (e.g., a dragon) which the virtual content represents. In some implementations, haptic devices or components may be worn by the user (e.g., a user wearable glove). In some implementations, haptic devices or components may be held by the user.
The wearable system may, for example, include one or more physical objects which are manipulable by the user to allow input or interaction with the wearable system. These physical objects may be referred to herein as totems. Some totems may take the form of inanimate objects, such as for example, a piece of metal or plastic, a wall, a surface of table. In certain implementations, the totems may not actually have any physical input structures (e.g., keys, triggers, joystick, trackball, rocker switch). Instead, the totem may simply provide a physical surface, and the wearable system may render a user interface so as to appear to a user to be on one or more surfaces of the totem. For example, the wearable system may render an image of a computer keyboard and trackpad to appear to reside on one or more surfaces of a totem. For example, the wearable system may render a virtual computer keyboard and virtual trackpad to appear on a surface of a thin rectangular plate of aluminum, which can serve as a totem. The rectangular plate does not itself have any physical keys or trackpad or sensors. However, the wearable system may detect user manipulation or interaction or touches with the rectangular plate as selections or inputs made via the virtual keyboard or virtual trackpad. The user input device 466 (shown in
Examples of haptic devices and totems usable with the wearable devices, HMD, and display systems of the present disclosure are described in U.S. Patent Publication No. 2015/0016777, which is incorporated by reference herein in its entirety.
At block 510, the wearable system may identify a particular UI. The type of UI may be predetermined by the user. The wearable system may identify that a particular UI needs to be populated based on a user input (e.g., gesture, visual data, audio data, sensory data, direct command, etc.). The UI can be specific to a security scenario where the wearer of the system is observing users who present documents to the wearer (e.g., at a travel checkpoint). At block 520, the wearable system may generate data for the virtual UI. For example, data associated with the confines, general structure, shape of the UI etc., may be generated. In addition, the wearable system may determine map coordinates of the user's physical location so that the wearable system can display the UI in relation to the user's physical location. For example, if the UI is body centric, the wearable system may determine the coordinates of the user's physical stance, head pose, or eye pose such that a ring UI can be displayed around the user or a planar UI can be displayed on a wall or in front of the user. In the security context described herein, the UI may be displayed as if the UI were surrounding the traveler who is presenting documents to the wearer of the system, so that the wearer can readily view the UI while looking at the traveler and the traveler's documents. If the UI is hand centric, the map coordinates of the user's hands may be determined. These map points may be derived through data received through the FOV cameras, sensory input, or any other type of collected data.
At block 530, the wearable system may send the data to the display from the cloud or the data may be sent from a local database to the display components. At block 540, the UI is displayed to the user based on the sent data. For example, a light field display can project the virtual UI into one or both of the user's eyes. Once the virtual UI has been created, the wearable system may simply wait for a command from the user to generate more virtual content on the virtual UI at block 550. For example, the UI may be a body centric ring around the user's body or the body of a person in the user's environment (e.g., a traveler). The wearable system may then wait for the command (a gesture, a head or eye movement, voice command, input from a user input device, etc.), and if it is recognized (block 560), virtual content associated with the command may be displayed to the user (block 570).
A wearable system may employ various mapping related techniques in order to achieve high depth of field in the rendered light fields. In mapping out the virtual world, it is advantageous to know all the features and points in the real world to accurately portray virtual objects in relation to the real world. To this end, FOV images captured from users of the wearable system can be added to a world model by including new pictures that convey information about various points and features of the real world. For example, the wearable system can collect a set of map points (such as 2D points or 3D points) and find new map points to render a more accurate version of the world model. The world model of a first user can be communicated (e.g., over a network such as a cloud network) to a second user so that the second user can experience the world surrounding the first user.
A sparse point representation may be the output of a simultaneous localization and mapping (e.g., SLAM or vSLAM, referring to a configuration wherein the input is images/visual only) process. The system can be configured to not only find out where in the world the various components are, but what the world is made of. Pose may be a building block that achieves many goals, including populating the map and using the data from the map.
In one embodiment, a sparse point position may not be completely adequate on its own, and further information may be needed to produce a multifocal AR, VR, or MR experience. Dense representations, generally referring to depth map information, may be utilized to fill this gap at least in part. Such information may be computed from a process referred to as Stereo 640, wherein depth information is determined using a technique such as triangulation or time-of-flight sensing. Image information and active patterns (such as infrared patterns created using active projectors), images acquired from image cameras, or hand gestures/totem 650 may serve as input to the Stereo process 640. A significant amount of depth map information may be fused together, and some of this may be summarized with a surface representation. For example, mathematically definable surfaces may be efficient (e.g., relative to a large point cloud) and digestible inputs to other processing devices like game engines. Thus, the output of the stereo process (e.g., a depth map) 640 may be combined in the fusion process 630. Pose 610 may be an input to this fusion process 630 as well, and the output of fusion 630 becomes an input to populating the map process 620. Sub-surfaces may connect with each other, such as in topographical mapping, to form larger surfaces, and the map becomes a large hybrid of points and surfaces.
To resolve various aspects in a mixed reality process 660, various inputs may be utilized. For example, in the embodiment depicted in
Controls or inputs from the user are another input to the wearable system 600. As described herein, user inputs can include visual input, gestures, totems, audio input, sensory input, etc. In order to move around or play a game, for example, the user may need to instruct the wearable system 600 regarding what he or she wants to do. Beyond just moving oneself in space, there are various forms of user controls that may be utilized. In one embodiment, a totem (e.g. a user input device), or an object such as a toy gun may be held by the user and tracked by the system. The system preferably will be configured to know that the user is holding the item and understand what kind of interaction the user is having with the item (e.g., if the totem or object is a gun, the system may be configured to understand location and orientation, as well as whether the user is clicking a trigger or other sensed button or element which may be equipped with a sensor, such as an IMU, which may assist in determining what is going on, even when such activity is not within the field of view of any of the cameras.)
Hand gesture tracking or recognition may also provide input information. The wearable system 600 may be configured to track and interpret hand gestures for button presses, for gesturing left or right, stop, grab, hold, etc. For example, in one configuration, the user may want to flip through emails or a calendar in a non-gaming environment, or do a “fist bump” with another person or player. The wearable system 600 may be configured to leverage a minimum amount of hand gesture, which may or may not be dynamic. For example, the gestures may be simple static gestures like open hand for stop, thumbs up for ok, thumbs down for not ok; or a hand flip right, or left, or up/down for directional commands.
Eye tracking is another input (e.g., tracking where the user is looking to control the display technology to render at a specific depth or range). In one embodiment, vergence of the eyes may be determined using triangulation, and then using a vergence/accommodation model developed for that particular person, accommodation may be determined. Eye tracking can be performed by the eye camera(s) to determine eye gaze (e.g., direction or orientation of one or both eyes). Other techniques can be used for eye tracking such as, e.g., measurement of electrical potentials by electrodes placed near the eye(s) (e.g., electrooculography).
Speech tracking can be another input can be used alone or in combination with other inputs (e.g., totem tracking, eye tracking, gesture tracking, etc.). Speech tracking may include speech recognition, voice recognition, alone or in combination. The system 600 can include an audio sensor (e.g., a microphone) that receives an audio stream from the environment. The system 600 can incorporate voice recognition technology to determine who is speaking (e.g., whether the speech is from the wearer of the ARD or another person or voice (e.g., a recorded voice transmitted by a loudspeaker in the environment)) as well as speech recognition technology to determine what is being said. The local data & processing module 260 or the remote processing module 270 can process the audio data from the microphone (or audio data in another stream such as, e.g., a video stream being watched by the user) to identify content of the speech by applying various speech recognition algorithms, such as, e.g., hidden Markov models, dynamic time warping (DTW)-based speech recognitions, neural networks, deep learning algorithms such as deep feedforward and recurrent neural networks, end-to-end automatic speech recognitions, machine learning algorithms (described with reference to
The local data & processing module 260 or the remote processing module 270 can also apply voice recognition algorithms which can identify the identity of the speaker, such as whether the speaker is the user 210 of the wearable system 600 or another person with whom the user is conversing. Some example voice recognition algorithms can include frequency estimation, hidden Markov models, Gaussian mixture models, pattern matching algorithms, neural networks, matrix representation, Vector Quantization, speaker diarisation, decision trees, and dynamic time warping (DTW) technique. Voice recognition techniques can also include anti-speaker techniques, such as cohort models, and world models. Spectral features may be used in representing speaker characteristics. The local data & processing module or the remote data processing module 270 can use various machine learning algorithms described with reference to
An implementation of a wearable system can use these user controls or inputs via a UI. UI elements (e.g., controls, popup windows, bubbles, data entry fields, etc.) can be used, for example, to dismiss a display of information, e.g., graphics or semantic information of an object.
With regard to the camera systems, the example wearable system 600 shown in
The wearable system 600 can comprise an avatar processing and rendering system 690. The avatar processing and rendering system 690 can be configured to generate, update, animate, and render an avatar based on contextual information. Some or all of the avatar processing and rendering system 690 can be implemented as part of the local processing and data module 260 or the remote processing module 262, 264 alone or in combination. In various embodiments, multiple avatar processing and rendering systems 690 (e.g., as implemented on different wearable devices) can be used for rendering the virtual avatar 670. For example, a first user's wearable device may be used to determine the first user's intent, while a second user's wearable device can determine an avatar's characteristics and render the avatar of the first user based on the intent received from the first user's wearable device. The first user's wearable device and the second user's wearable device (or other such wearable devices) can communicate via a network, for example, as will be described with reference to
The contextual information analysis system 688 can be configured to determine environment and object information based on one or more device sensors described with reference to
The avatar autoscaler 692, the intent mapping system 694, and the stimuli response system 696, and anatomy adjustment system 698 can be configured to determine the avatar's characteristics based on contextual information. Some example characteristics of the avatar can include the size, appearance, position, orientation, movement, pose, expression, etc. The avatar autoscaler 692 can be configured to automatically scale the avatar such that the user does not have to look at the avatar at an uncomfortable pose. For example, the avatar autoscaler 692 can increase or decrease the size of the avatar to bring the avatar to the user's eye level such that the user does not need to look down at the avatar or look up at the avatar respectively. The intent mapping system 694 can determine an intent of a user's interaction and map the intent to an avatar (rather than the exact user interaction) based on the environment that the avatar is rendered in. For example, an intent of a first user may be to communicate with a second user in a telepresence session (see, e.g.,
The stimuli response system 696 can identify an object of interest in the environment and determine an avatar's response to the object of interest. For example, the stimuli response system 696 can identify a sound source in an avatar's environment and automatically turn the avatar to look at the sound source. The stimuli response system 696 can also determine a threshold termination condition. For example, the stimuli response system 696 can cause the avatar to go back to its original pose after the sound source disappears or after a period of time has elapsed.
The anatomy adjustment system 698 can be configured to adjust the user's pose based on biological features. For example, the anatomy adjustment system 698 can be configured to adjust relative positions between the user's head and the user's torso or between the user's upper body and lower body based on a discomfort curve (see, e.g., the description with reference to
The 3D model processing system 680 can be configured to animate and cause the display 220 to render a virtual avatar 670. The 3D model processing system 680 can include a virtual character processing system 682 and a movement processing system 684. The virtual character processing system 682 can be configured to generate and update a 3D model of a user (for creating and animating the virtual avatar). The movement processing system 684 can be configured to animate the avatar, such as, e.g., by changing the avatar's pose, by moving the avatar around in a user's environment, or by animating the avatar's facial expressions, etc. As will further be described with reference to
One or more object recognizers 708 can crawl through the received data (e.g., the collection of points) and recognize or map points, tag images, attach semantic information to objects with the help of a map database 710. The map database 710 may comprise various points collected over time and their corresponding objects. The various devices and the map database can be connected to each other through a network (e.g., LAN, WAN, etc.) to access the cloud.
Based on this information and collection of points in the map database, the object recognizers 708a to 708n may recognize objects in an environment. For example, the object recognizers can recognize faces, persons, windows, walls, user input devices, televisions, documents (e.g., travel tickets, driver's license, passport as described in the security examples herein), other objects in the user's environment, etc. One or more object recognizers may be specialized for objects with certain characteristics. For example, the object recognizer 708a may be used to recognize faces, while another object recognizer may be used recognize documents.
The object recognitions may be performed using a variety of computer vision techniques. For example, the wearable system can analyze the images acquired by the outward-facing imaging system 464 (shown in
The object recognitions can additionally or alternatively be performed by a variety of machine learning algorithms. Once trained, the machine learning algorithm can be stored by the HMD. Some examples of machine learning algorithms can include supervised or non-supervised machine learning algorithms, including regression algorithms (such as, for example, Ordinary Least Squares Regression), instance-based algorithms (such as, for example, Learning Vector Quantization), decision tree algorithms (such as, for example, classification and regression trees), Bayesian algorithms (such as, for example, Naive Bayes), clustering algorithms (such as, for example, k-means clustering), association rule learning algorithms (such as, for example, a-priori algorithms), artificial neural network algorithms (such as, for example, Perceptron), deep learning algorithms (such as, for example, Deep Boltzmann Machine, or deep neural network), dimensionality reduction algorithms (such as, for example, Principal Component Analysis), ensemble algorithms (such as, for example, Stacked Generalization), and/or other machine learning algorithms. In some embodiments, individual models can be customized for individual data sets. For example, the wearable device can generate or store a base model. The base model may be used as a starting point to generate additional models specific to a data type (e.g., a particular user in the telepresence session), a data set (e.g., a set of additional images obtained of the user in the telepresence session), conditional situations, or other variations. In some embodiments, the wearable HMD can be configured to utilize a plurality of techniques to generate models for analysis of the aggregated data. Other techniques may include using pre-defined thresholds or data values.
Based on this information and collection of points in the map database, the object recognizers 708a to 708n may recognize objects and supplement objects with semantic information to give life to the objects. For example, if the object recognizer recognizes a set of points to be a door, the system may attach some semantic information (e.g., the door has a hinge and has a 90 degree movement about the hinge). If the object recognizer recognizes a set of points to be a mirror, the system may attach semantic information that the mirror has a reflective surface that can reflect images of objects in the room. The semantic information can include affordances of the objects as described herein. For example, the semantic information may include a normal of the object. The system can assign a vector whose direction indicates the normal of the object. Over time the map database grows as the system (which may reside locally or may be accessible through a wireless network) accumulates more data from the world. Once the objects are recognized, the information may be transmitted to one or more wearable systems. For example, the MR environment 700 may include information about a scene happening in California. The environment 700 may be transmitted to one or more users in New York. Based on data received from an FOV camera and other inputs, the object recognizers and other software components can map the points collected from the various images, recognize objects etc., such that the scene may be accurately “passed over” to a second user, who may be in a different part of the world. The environment 700 may also use a topological map for localization purposes.
At block 810, the wearable system may receive input from the user and other users regarding the environment of the user. This may be achieved through various input devices, and knowledge already possessed in the map database. The user's FOV camera, sensors, GPS, eye tracking, etc., convey information to the system at block 810. The system may determine sparse points based on this information at block 820. The sparse points may be used in determining pose data (e.g., head pose, eye pose, body pose, or hand gestures) that can be used in displaying and understanding the orientation and position of various objects in the user's surroundings. The object recognizers 708a-708n may crawl through these collected points and recognize one or more objects using a map database at block 830. This information may then be conveyed to the user's individual wearable system at block 840, and the desired virtual scene may be accordingly displayed to the user at block 850. For example, the desired virtual scene (e.g., user in CA) may be displayed at the appropriate orientation, position, etc., in relation to the various objects and other surroundings of the user in New York.
The remote computing system 920 may include a remote data repository 980 which can maintain information about a specific user's physical and/or virtual worlds. Data storage 980 can store information related to users, users' environment (e.g., world maps of the user's environment), or configurations of avatars of the users. The remote data repository may be an embodiment of the remote data repository 280 shown in
The user device may be a wearable device (such as an HMD or an ARD), a computer, a mobile device, or any other devices alone or in combination. For example, the user devices 930b and 930c may be an embodiment of the wearable system 200 shown in
One or more of the user devices can be used with the user input device 466 shown in
The information on the physical worlds may be developed over time and may be based on the information collected by different user devices. Models of virtual worlds may also be developed over time and be based on the inputs of different users. Such information and models can sometimes be referred to herein as a world map or a world model. As described with reference to
The remote data repository 980 can be used to store data and to facilitate the construction of the world map 910. The user device can constantly update information about the user's environment and receive information about the world map 910. The world map 910 may be created by the user or by someone else. As discussed herein, user devices (e.g. 930a, 930b, 930c) and remote computing system 920, alone or in combination, may construct and/or update the world map 910. For example, a user device may be in communication with the remote processing module 970 and the remote data repository 980. The user device may acquire and/or process information about the user and the user's environment. The remote processing module 970 may be in communication with the remote data repository 980 and user devices (e.g. 930a, 930b, 930c) to process information about the user and the user's environment. The remote computing system 920 can modify the information acquired by the user devices (e.g. 930a, 930b, 930c), such as, e.g. selectively cropping a user's image, modifying the user's background, adding virtual objects to the user's environment, annotating a user's speech with auxiliary information, etc. The remote computing system 920 can send the processed information to the same and/or different user devices.
As described with reference to
A wearable device can use information acquired of a first user and the environment to animate a virtual avatar that will be rendered by a second user's wearable device to create a tangible sense of presence of the first user in the second user's environment. For example, the wearable devices 902 and 904, the remote computing system 920, alone or in combination, may process Alice's images or movements for presentation by Bob's wearable device 904 or may process Bob's images or movements for presentation by Alice's wearable device 902. As further described herein, the avatars can be rendered based on contextual information such as, e.g., a user's intent, an environment of the user or an environment in which the avatar is rendered, or other biological features of a human.
Although the examples only refer to two users, the techniques described herein should not be limited to two users. Multiple users (e.g., two, three, four, five, six, or more) using wearables (or other telepresence devices) may participate in a telepresence session. A particular user's wearable device can present to that particular user the avatars of the other users during the telepresence session. Further, while the examples in this figure show users as standing in an environment, the users are not required to stand. Any of the users may stand, sit, kneel, lie down, walk or run, or be in any position or movement during a telepresence session. The user may also be in a physical environment other than described in examples herein. The users may be in separate environments or may be in the same environment while conducting the telepresence session. Not all users are required to wear their respective HMDs in the telepresence session. For example, Alice may use other image acquisition and display devices such as a webcam and computer screen while Bob wears the wearable device 904.
As described with reference to
Rigging includes techniques for transferring information about deformation of the body of an avatar (e.g., facial contortions) onto a mesh. A mesh can be a collection of 3D points (e.g., vertices) along with a set of polygons that share these vertices.
Since moving each vertex independently to achieve a desired deformation may be quite time-consuming and effort-intensive, rigs typically provide common, desirable deformations as computerized commands that make it easier to control the mesh. For high-end visual effects productions such as movies, there may be sufficient production time for rigs to perform massive mathematical computations to achieve highly realistic animation effects. But for real-time applications (such as in mixed reality), deformation speed can be very advantageous and different rigging techniques may be used. Rigs often utilize deformations that rely on skeletal systems and/or blendshapes.
Skeletal systems represent deformations as a collection of joints in a hierarchy. Joints (also called bones) primarily represent transformations in space including translation, rotation, and change in scale. Radius and length of the joint may be represented. The skeletal system is a hierarchy representing parent-child relationships among joints, e.g., the elbow joint is a child of the shoulder and the wrist is a child of the elbow joint. A child joint can transform relative to its parent's joint such that the child joint inherits the transformation of the parent. For example, moving the shoulder results in moving all the joints down to the tips of the fingers. Despite its name, a skeleton need not represent a real world skeleton but can describe the hierarchies used in the rig to control deformations of the mesh. For example, hair can be represented as a series of joints in a chain, skin motions due to an avatar's facial contortions (e.g., representing an avatar's expressions such as smiling, frowning, laughing, speaking, blinking, etc.) can be represented by a series of facial joints controlled by a facial rig, muscle deformation can be modeled by joints, and motion of clothing can be represented by a grid of joints.
Skeletal systems can include a low level (also referred to as low order in some situations) core skeleton that might resemble a biological skeleton of an avatar. This core skeleton may not map exactly to a real set of anatomically correct bones, but can resemble the real set of bones by having at least a sub-set of the bones in analogous orientations and locations. For example, a clavicle bone can be roughly parallel to the ground, roughly located between the neck and shoulder, but may not be the exact same length or position. Higher order joint structures representing muscles, clothing, hair, etc. can be layered on top of the low level skeleton. The rig may animate only the core skeleton, and the higher order joint structures can be driven algorithmically by rigging logic based upon the core skeleton's animation using, for example, skinning techniques (e.g. vertex weighting methods such as linear blend skinning (LBS)). Real-time rigging systems (such as the avatar processing and rendering system 690) may enforce limits on the number of joints that can be assigned to a given vertex (e.g., 8 or fewer) to provide for efficient, real-time processing by the 3D model processing system 680.
Blendshapes
Blendshapes include deformations of the mesh where some or all vertices are moved in 3D space by a desired amount based on a weight. Each vertex may have its own custom motion for a specific blendshape target, and moving the vertices simultaneously will generate the desired shape. Degrees of the blendshape can be applied by using blendshape weights. The rig may apply blendshapes in combination to achieve a desired deformation. For example, to produce a smile, the rig may apply blendshapes for lip corner pull, raising the upper lip, lowering the lower lip, moving the eyes, brows, nose, and dimples.
A rig is often built in layers with lower, simpler layers driving higher order layers, which produce more realistic mesh deformations. The rig can implement both skeletal systems and blendshapes driven by rigging control logic. The control logic can include constraints among the joints (e.g., aim, orientation, and position constraints to provide specific movements or parent-child joint constraints); dynamics (e.g., for hair and clothing); pose-based deformations (PSDs, where the pose of the skeleton is used to drive a deformation based on distances from defined poses); machine learning techniques (e.g., those described with reference to
In some embodiments, the 3D model processing system 680 animates an avatar in the mixed reality environment in real-time to be interactive (with users of the MR system) and to provide appropriate, contextual avatar behavior (e.g., intent-based behavior) in the user's environment. The system 680 may drive a layered avatar control system comprising a core skeletal hierarchy, which further drives a system of expressions, constraints, transforms (e.g., movement of vertices in 3D space such as translation, rotation, scaling, shear), etc. that control higher level deformations of the avatar (e.g., blendshapes, correctives) to produce a desired movement and expression of the avatar.
As described with reference to
Advantageously, in some implementations, the wearable system 200 can be configured to render an avatar based on contextual information relating to the environment where the avatar is displayed or to convey the intent of a user (rather than a direct, one-to-one mapping), and thus may avoid unnatural or unrealistic appearances or interactions by an avatar. For example, the wearable system 200 can analyze the contextual information and Bob's action to determine the intent of Bob's action. The wearable system 200 can adjust the characteristics of Bob's avatar to reflect Bob's intent in view of Bob's action and contextual information about the environment in which Bob's avatar is to be rendered.
For example, with reference to
As another example, rather than rendering Bob's avatar 1100 sitting in mid-air (as shown in
As yet another example, with reference to
As described with reference to
For example, in friendly conversations, the eyes of a user are typically directed toward a region called the social triangle of the other user's face. The social triangle is formed with a first side on a line between the user's eyes and a vertex at the user's mouth. Eye contact within the social triangle is considered friendly and neutral, whereas eye gaze directed outside the social triangle can convey a power imbalance (e.g., eye gaze directed above the social triangle, toward the other person's forehead), anger, or that the conversation is serious. Thus, an avatar rendered taller than the viewer may be tend to be viewed as looking at a region above the viewer's social triangle, which can create a psychological effect for the viewer that the avatar is superior to the viewer. Thus, incorrect-sizing of the avatar can lead to awkward or unpleasant encounters between a human and an avatar that were not intended between the actual human participants of the conversation.
In some wearable devices, a user can manually scale an avatar so that the size of the avatar is at a comfortable height. However, such manual control may take more time to complete and require the user to make refined adjustments to the avatar, which can cause muscle fatigue of a user and require more expert control from the user. Other wearable devices may use scaling methods that seek to maintain a 1:1 scale between the avatar and the user (e.g., an avatar is automatically scaled at the same height as the user). However, this technique can produce inappropriate sight lines if the avatar is standing on a surface higher than the surface on which the user is sitting or standing (e.g., where the avatar looks over the user's head).
Advantageously, in some embodiments, the wearable system 200 can automatically scale the virtual avatar based on contextual information regarding the rendering position of the avatar in the environment and the position or eye-height of the user in the environment. The wearable system 200 can calculate the size of the virtual avatar based on contextual factors such as, e.g., the rendering location of the avatar, the user's position, the height of the user, the relative positions between the user and the avatar, the height of surface that the avatar will be rendered on, the height of the surface the user is standing or sitting on, alone or in combination. The wearable system 200 can make the initial rendering of the avatar (called spawning) such that the avatar is rendered with the appropriate height based at least in part on such contextual factors. The wearable system 200 can also dynamically scale the size of the virtual avatar in response to a change in the contextual information, such as, e.g., as the avatar or the user moves around in the environment.
For example, prior to or at the time of spawning an avatar, the wearable system can determine the user's head height (and therefore the eye height, since the eyes are typically about halfway between top and bottom of the head or about 4 to 6 inches below the top of the head) and compute a distance from the base surface of the avatar (e.g., the surface that the avatar will be spawned on) to the user's eye height. This distance can be used to scale the avatar so that its resulting head and sight lines are the same height as the user. The wearable system can identify environment surfaces (e.g., the surface the user is on or the surface the avatar will be spawned on) and adjust the avatar height based on these surfaces or the relative height difference between the user and avatar surfaces. For example, the wearable system can scan for the floor and measure the height of the head with respect to the floor plane. The wearable system can determine a head pose of the user (e.g., via data from IMUs) and compute environment surfaces relative to the user's head pose or a common coordinate system shared by both the environment and the head pose. Based on this information, the wearable system can calculate a size of the avatar and instruct the display 220 to display the avatar as superimposed on the environment.
In certain implementations, as the user moves (or the avatar moves) around in the environment, the wearable system can continuously track the user's head pose and environment surfaces and dynamically adjust the size of the avatar based on these contextual factors in a similar fashion as when the avatar is originally spawned. In some embodiments, these techniques for automatically scaling an avatar (either at spawning or in real-time as the avatar moves) can advantageously allow direct eye contact to be made while minimizing neck strain, facilitate user-avatar communication, and minimize the amount of manual adjustments a user needs to make when placing avatars in the user's local environment, thereby allowing both participants (e.g., avatar and its viewer) to communicate eye-to-eye, creating a comfortable two-way interaction.
In some implementations, the wearable system 200 can allow a user to turn-off (temporarily or permanently) automatic, dynamic re-scaling of the avatar. For example, if the user frequently stands up and sits down during a telepresence session, the user may not wish the avatar to correspondingly re-scale, which may lead to an uncomfortable interaction since humans do not dynamically change size during conversations. The wearable system can be configured to switch among different modes of avatar scaling options. For example, the wearable system may provide three scaling options: (1) automatic adjustment based on contextual information, (2) manual control, and (3) 1:1 scaling (where the avatar is rendered as the same size as the viewer or its human counterpart). The wearable system can set the default to be automatically adjustable based on contextual information. The user can switch this default option to other options based on user inputs (such as, e.g., via the user input device 466, poses, or hand gestures, etc.). In other implementations, the wearable system may smoothly interpolate between size changes so that the avatar is rendered as smoothly changing size over a short time period (e.g., a few to tens of seconds) rather than abruptly changing size.
The wearable system can automatically scale an avatar based on contextual information to allow eye-to-eye communication between the avatar and a viewer. The calculation of the avatar's height can be performed upon initial spawning of the avatar into the viewer's environment. The wearable system can identify a rendering location of the avatar at the spawning site. The rendering location of the avatar can be a horizontal support platform (or surface), such as, e.g., a ground, table, a chair's sitting surface, etc. In some situation, the support platform is not horizontal and may be inclined or vertical (if the user is laying down, for example).
The wearable system can calculate the height of the avatar based on the current head position of the user (regardless of whether the user is standing or sitting) and the location of the horizontal support platform at the spawning site for the avatar. The wearable system can compute the estimated height of eyes above this platform (which may be a distance perpendicular and vertical to the platform) for computing a scale factor for adjusting the avatar's size. The estimated height of the eyes above the platform can be based on a distance between the eyes and the platform. In some implementations, the wearable system can compute an eye level which may be a 1D, 2D, 3D, or other mathematical representations of a level where the eyes are looking straight ahead. The estimated avatar's height can be calculated based on the difference between the eye level and the level of the platform.
To determine the size of the avatar, the wearable system (such as, e.g., the avatar autoscaler 692 in the avatar processing and rendering system 690) can calculate a height 1202 of the viewer 914 and a height 1224 of the avatar 1000. The avatar's height and the viewer's height can be measured from the avatar and the user's respective eye lines vertically to the ground surface 1214 on which the avatar is rendered and on which the viewer stands. As illustrated in
In certain implementations, the system may be configured to determine a distance 1242 between the user 914 and the rendering position of the virtual avatar 1000. The distance 1242 may be used to display the virtual avatar 1000 at a more comfortable position or apparent depth for the user 914. For example, the wearable system may increase the size of the avatar if the avatar is relatively far away from the viewer so that the viewer may have a better view of the avatar.
In the example shown in
In some situations, the user 914 or the avatar 1000 (or both) may be on a surface different from the ground plane 1214 (e.g., the user 914 or the avatar 1000 is sitting on a chair).
The scene 1300a shows that Bob is sitting on a chair 1322 in front of a table 1324. Bob can initiate a telepresence session with Alice which will cause Alice's avatar 1000 to be rendered on the table 1324. To spawn Alice's avatar 1000 at a comfortable height for Bob to interact with, the wearable system can calculate a height difference between the user's eye level and the platform which Alice's avatar 1000 will be rendered on. In this example, the height difference 1302 is measured from Bob's eye level 1306 to the table's 1324 surface. This height difference 1302 can then be applied to scale the avatar 1000. In this example, although the table 1324 has a height 1332 (as measured from the ground), this height 1332 is not required for calculating the size of the avatar because the avatar will be rendered on the tabletop not on the ground.
The scene 1300b in
In some situations, an avatar or a viewer of the avatar can move around in an environment and one or both may move to positions where there is a relative height difference between the horizontal planes on which the user is positioned and on which the avatar is rendered. The wearable system 200 can dynamically resize the avatar based on the updated relative height information as the viewer or the avatar moves. For example, as either Alice's avatar moves (e.g., because Alice moves) or Bob moves, the height difference between the Alice's avatar and Bob may change.
As further described below with reference to
Formula (1) describes an example formula for calculating the avatar's target height based on the concepts illustrated with reference to
AvatarH=UserH+UserSupportPlaneH−AvatarSupportPlaneH (1)
where AvatarH represents the target height of the avatar to be rendered by the user's wearable system, UserH represents the user's height as measured from the support plane of the user, UserSupportPlaneH represents the height of the support plane on which the user is situated, and the AvatarSupportPlaneH represents the height of the plane on which the avatar is to be rendered. Applying this formula to the examples in
Formula (2) describes another example formula for calculating avatar's target height.
AvatarH=UserToAvatarSupportPlaneH (2)
where AvatarH represents the target height of the avatar, UserToAvatarSupportPlaneH represents the user's height as measured from the support surface on which the avatar is standing. The wearable system can detect the support surface using ray casting and techniques described in
Although the examples in
As described herein, the wearable system 200 can be configured to automatically identify contextual factors to calculate a target height for a virtual avatar for spawning the virtual avatar or for dynamically adjusting the size of the virtual avatar in real-time.
The wearable system can include one or more device sensors 1674, such as those described with reference to
For example, the IMUs can acquire user data such as, e.g., the user's head pose or body movements. The outward-facing imaging system 464 can acquire images of the user's environment. The data from the IMUs and the outward-facing imaging system 464 may be an input for determining head position. The wearable system can detect a position, orientation, or movement of the head with respect to a reference frame associated with the user's environment (also referred to as a world frame). The reference frame may be a set of map points based on which the wearable system can translate the movement of the user to an action or command. In some implementations, camera calibration 1688 may be performed for determining the head localization 1682 in the world frame. The camera calibration 1688 may result in a mapping of a user's head pose as determined from the IMUs (or other hardware sensors of a wearable device) to a head location in the world frame. As further described with reference to the avatar autoscaler 692 in
The device sensors can include one or more depth sensors 234 (e.g., LIDAR, time of flight sensors, or ultrasound sensors), or world cameras (which may be part of the outward-facing imaging system 464) where the world cameras have depth sensing ability (e.g., an RGB-D camera or stereoscopic cameras). For example, a depth sensor can acquire depth data of objects in the environment, such as, for example, how far away the objects are from the user. The depth data can be used to create an environment point cloud 1678 which can comprise 3D mathematical representations of the user's environment (which may take into account objects in the user's environment). This environment point cloud 1678 may be stored in (or accessed from) the map database 710 shown in
As will be further described with reference to
The wearable system can convert the point cloud to a meshed environment, such as, e.g., a polygon (e.g., triangle) mesh, and extract major horizontal planes from the mesh. In certain implementations, the wearable system can estimate planes directly from the point cloud without converting the cloud of points to a mesh. As an example of estimating planes directly from the point cloud, the wearable system can determine one or more depth points based on images acquired by the outward-facing imaging system alone or in combination with the depth sensors. The depth points may be mapped by the system onto a world reference frame (for representing the user's environment). The depth points may correspond to one or more points in the environment of the user. The wearable system may be configured to extract one or more surfaces from the one or more depth points. The one or more surfaces extracted from the depth point(s) may include one or more triangles. Vertices of each of the one or more triangles may comprise neighboring depth points.
As shown in
The meshed environment may be a 3D meshed environment. The meshed environment may comprise one or more surface triangles. Each surface triangle may comprise vertices corresponding to adjacent depth points. The wearable system can be configured to construct a signed distance field function from the point cloud and use a triangulation algorithm, such as, e.g., the Marching Cubes algorithm to convert the point cloud into a surface representation of triangles, such as a polygon (e.g., triangle) mesh. In some embodiments, the surface representation can be determined directly from the point cloud rather than from the meshed environment.
At block 1684 the wearable system can approximate a planar environment in a world reference frame, which may include plane extractions from the mesh. Plane extractions can group the triangles into areas of similar orientation. Further processing can be done of these meshed areas (as identified from plane extractions) to extract pure planar regions representing flat areas in the environment.
At block 1686, the wearable system can perform further processing to extract major horizontal planes from the environment. The wearable system may be configured to determine major horizontal planes based on the orientation, size, or shape of the surfaces from the regions identified from block 1684. For example, the wearable system can identify horizontal surfaces that are large enough to allow a user or an avatar to stand on as the major horizontal planes. In some implementations, the wearable system can identify a major horizontal plane by finding a first intersection point of a ray with a physical horizontal surface whose normal at the intersection point is closely aligned to the gravity vector (which can be determined by an IMU on the wearable system). Additional examples of identifying major horizontal planes in the scene from the meshed environment are further described with reference to
At block 1652, the wearable system can perform world reconstruction based on images acquired by depth camera 1642. Output from the camera 1646 can optionally be used for world reconstruction (indicated as Alt 2 in
At block 1654, the wearable system can perform plane extraction based on the mesh. The wearable system can use techniques described with reference to block 1684 in
At block 1656, the wearable system can extract major horizontal planes from the scene. The wearable system can use techniques described with reference to block 1686 in
In an alternate embodiment, the wearable system can directly perform plane extraction from the depth camera 1642 and IMU 1644. The depth camera provides point locations of objects and the IMU provides directionality from gravity. This technique can provide a plane with a vector indicating which way is up (e.g., the direction opposite to the local gravitational direction indicated by the IMU). The wearable system can then spawn a new avatar on the first horizontal (or first suitable horizontal) surface detected, without the need for world reconstruction 1652.
Information on major horizontal planes and the head location in the world frame may be passed by either of the processes 1600, 1640 to the avatar autoscaler 692 for automatically scaling an avatar.
Upon receiving the head location information, the avatar autoscaler can, at block 1604, determine a head position of the user wearing the wearable device. This action may be part of the head-tracking (which can also be referred to as inside-out head tracking because the user is wearing, for example, a device with one or more cameras facing outward toward the environment).
Upon receiving the major horizontal planes information from the scene, at block 1616, the avatar autoscaler can determine a horizontal ground plane which supports the user. The horizontal ground plane can be the first large horizontal ground plane that is below the head (e.g., in situations where the user is standing on the ground). As described with reference to
Given the 3D head position (as determined from block 1604), the wearable system at block 1608 can project head position to the first large horizontal plane underneath the head. This can be performed by casting a ray down from the head to identify the largest horizontal planar region that intersects that ray. This action can be applied to identify a floor level (referred to as variable “user_feet” which indicates where the feet of the user appear) associated with where the user stands. In the situations where the user is not standing on the ground, the first large horizontal plane may not be the same as the horizontal ground plane.
At block 1620, the avatar autoscaler 692 can estimate the user's eye height from the horizontal support plane. The avatar autoscaler 692 can then take the vertical distance between the head and user_feet to estimate the height of the user. With reference to formulae (1) and (2), UserH=user_head−user feet, where user_head represents the position of the head as determined from the block 1604 (which may correspond to the user's eye level in certain implementations).
At block 1612, the wearable system can identify the avatar's rendering location in the scene. As will further be described herein, the avatar's rendering location can be determined by the avatar processing and rendering system 690. For example, the avatar autoscaler 692 can receive or access the avatar's rendering location based on outputs from the intent mapping system 694.
With the avatar's rendering location, at block 1642, the avatar autoscaler 692 can compute how tall the avatar should be to ensure the avatar and the user have similar eye height levels.
At block 1626, the avatar autoscaler 629 can calculate the avatar's target height. Formula (3) below illustrates an example of calculating the avatar's target height.
AvatarH=UserH−AvatarBaseH (3)
AvatarH=UserH−AvatarBaseH where AvatarBaseH is the height of the base of the avatar's feet with respect to UserH. In situations where the avatar's feet are standing on a higher location than the user's feet, the AvatarBaseH is a positive number and the avatar's height is less than the user's height. But if the user is standing on a horizontal support plane which is higher than the avatar's rendering location, the AvatarBaseH may be a negative number, which increases the avatar's height to maintain eye contact with the user. If the avatar and the user are standing on surfaces with equal height, then AvatarBaseH equals to 0.
At block 1632, the avatar can be scaled so that its height matches the target height. In certain implementations, to avoid deforming the avatar, scaling the avatar can include resizing the height, width, and length of the avatar proportionally when matching the height of the avatar to the target height.
In certain implementations, the avatar autoscaler 692 can be left running (e.g., as a background process or agent) when the wearable system is being used, so that if the user dynamically changes his or her eye height, a new AvatarH can be scaled dynamically to maintain the user eye height with that of the avatar. For example, if the user's head height changes because of some action such as, e.g., stepping on a stool, the system can quickly compute the new AvatarH to maintain eye contact between viewer and the avatar. Similarly, if the avatar changes its standing location to a different surface, the avatar's scale can adjust accordingly to maintain horizontal eye contact.
As described with reference to
The wearable system may be configured to convert the reconstructed mesh environment 1740 into a surface environment 1750 which includes a plurality of planar surfaces extracted from the mesh.
The process 1800a describes calculating a target height for the avatar and rendering an avatar based on the target height. This process 1800a may be applied prior to when an avatar is spawned.
At block 1812, the wearable system determines a head position of a user 1812. The head position may be determined based on data acquired from device sensors such as IMUs or world cameras. The head position may be determined with respect to the user's environment (e.g., as represented by a world frame).
At block 1814, the wearable system can determine a surface in the user's environment 1814. The surface may be the ground, the surface the user is standing on, or the surface that the avatar will be or is rendered on. As described with reference to
At block 1816, the wearable system can calculate a user's height based on the surface and the user's head position. For example, the wearable system can calculate a user's height by computing the difference in height between the user's head position and the surface. In certain implementations, the user's height may be measured as the difference between the user's eye level and the avatar's feet which are situated on the surface.
At block 1818, the wearable system can calculate a target height of an avatar based at least partly on the user's height. The wearable system can use any one of the formulas (1)-(3) described herein to calculate the target height.
At block 1820, the wearable system can automatically scale the avatar based on the target height. For example, the wearable system can change the size of the avatar (which may include changing height, width, or length, alone or in combination) such that the height of the avatar matches the target height.
At block 1822, the wearable system can cause a display to render the avatar at the target height in a mixed reality environment. For example, the wearable can cause the display 220 to render the avatar as standing on the ground or a platform. The wearable system can be configured to display the virtual avatar appearing with reference to a world frame. The world frame may be overlaid on real objects in and/or features of the environment of the user.
This process 1800b illustrates another example of scaling avatar. This process 1800b may be applied after the avatar is spawn.
At block 1832, the wearable system can monitor a user's position and an avatar's position in an environment. For example, the wearable system can monitor the user or the avatar's movements during a telepresence session. The wearable system can monitor the user's actions based on data acquired from the device sensors. The wearable system can monitor the avatar's movements based on the movements of the user associated with the avatar alone or in combination with outputs of one or more components of the avatar processing and rendering system 690 (such as, e.g., whether an intent-based rendering is enabled).
At block 1834, the wearable system can detect a change in a relative height between the user and the avatar. For example, the wearable system can detect that a user or the avatar has sit on a chair, stepped up to or step down from a platform, etc., based on the user or avatar's position or movements.
At block 1836, the wearable system can perform blocks 1812-1818 in the process 1800a in response to detecting the change of the relative height. Based on the target height (generated by block 1818), the wearable system can dynamically adjust the size of the avatar based on the target height. For example, the wearable system can increase or decrease the size of the avatar based on whether the avatar's feet are at a lower or higher position (respectively) than the user's feet.
As described with reference to
As an example, Alice may be actively moving around in her environment, the wearable system may convey some of her translational motion to Bob's environment (in which Alice's avatar is rendered). The wearable system can re-interpret Alice's movement in Alice's world frame to match the motion in Bob's world frame as suggested by the user's intent. For example, Alice may walk forward toward Bob's avatar in Alice's environment. Decomposing intent from Alice's and Bob's head poses can allow a wearable system to determine which direction is “forward” in each of Alice's and Bob's environments. As another example, if Alice walks to a chair and sits down, it will look unusual if there is no chair in Bob's environment and Alice's avatar is suddenly sitting in mid-air. The wearable system can be configured to focus on the intent of Alice's motion (sitting), identify a “sit-able” surface in Bob's environment (which may be a chair, sofa, etc.), move Alice's avatar to the sit-able surface, and render the avatar as sitting on the sit-able surface, even if the physical location, height of the sit-table surface in Bob's environment is different than the one Alice sits in. As another example, Alice may be looking down at Bob's avatar, while in the remote environment, Bob may be looking up at Alice's avatar.
In certain implementations, such remapping of intent can occur in real-time (e.g., when two users are conducting a telepresence session) the human counterpart of the avatar performs the interaction. In other situations, the remapping may not occur in real-time. For example, an avatar may serve as a messenger and delivers a message to a user. In this situation, the remapping of the avatar may not need to occur at the same time as the message is crafted or sent. Rather, the remapping of the avatar can occur when the avatar delivers the message (such as, e.g., when the user turns on the wearable device). The remapping may cause the avatar to look at the user (rather than a random location in the space) when delivering the message. By rendering the world motion based on the intent, the wearable system can advantageously reduce the likelihood of unnatural human-avatar interactions.
The wearable system can acquire data using one or more device sensors described with reference to
As illustrated in
The interactions 1912a can sometimes also involve interacting with an object of interest, such as, e.g., a physical object (e.g., a chair, table, a bed, a mirror, etc.) or a virtual object (e.g., another user's avatar, a virtual entertainment content, or other virtual applications) in the environment. Based on data acquired from the device sensors, the wearable system can identify an object of interest 1950a associated with the user Alice's interaction. For example, the object of interest 1950a can be identified from Alice's movement 1920a, pose 1930a, eye gaze 1940a, individually or in combination.
As further described herein, in certain implementations, the object of interest 1950a may include a component which attracts the user's attention. As described above, the eyes of a user are typically directed toward a region called the social triangle of the other user's face during friendly, neutral conversation. The social triangle is formed with a first side on a line between the user's eyes and a vertex at the user's mouth. The object of interest 1950a may include the social triangle. For example, Alice may look at the social triangle on Bob's face because humans tend to naturally looking at another's personal social triangle during a face-to-face conversation. The interactions with the object of interest can be considered as world components because they involve interacting with virtual or physical objects in the environment.
The wearable system can map the local component of an interaction 1912a to the virtual avatar 1970 using direct mapping 1962. For example, the wearable system can map the local motion 1922a, the pose 1930a, or the eye gaze 1940a into an action of the avatar 1970 using direct mapping 1962. As a result, the avatar's 1970 action can reflect the corresponding local component of the interaction 1912a performed by Alice (e.g., an avatar nods her head when Alice nods her head).
The wearable system can map the world component of an interaction 1912a using intent-based mapping 1964. As a result of the intent-based mapping 1964, the action of the avatar 1970 achieves the same purpose as the corresponding interaction 1912a performed by Alice, even though the action of the avatar 1970 may not be exactly the same as that of Alice. For example, the wearable system can map the world motion 1924a to the avatar 1970 based on environment features (such as, e.g., obstacles, layout of objects, etc.) in the environment in which the avatar 1970 is rendered. As another example, the wearable system can move or reorient the virtual avatar 1970 in the remote environment such that the virtual avatar 1970 interacts with a similar object of interest 1950 in the remote environment.
In certain implementations, by decomposing the user interaction into a world component and a local component, the techniques provided herein can provide an improved wearable device, by enabling faster processing, reducing storage requirements, and improving latency. For example, the technique does not require the entire animated avatar's geometry or the entire user's motion to be sent across to Bob's wearable device in the environment B 1902. Alice's wearable device can send a subset of the sensor data that can be used to animate the avatar locally at Bob's wearable device, and thus Alice's device does not have to keep on sending geometry and animation updates for the entire avatar. Since the data sent by Alice's wearable device may be sparse, Bob's wearable device can update more frequently to get more responsive avatar animation.
The virtual avatar 1970 can be rendered based on various contextual factors in the environment B 1902b, such as, e.g., objects in the environment B 1902b (in which the virtual avatar is rendered), an area of interest 1962, contextual information 1964 of user Bob (such as, e.g., user Bob's position, orientation, interaction, etc.), and contextual information of the environment B 1966 (such as, e.g., layout of objects in the environment B 1966). In addition to or in alternative to contextual factors in the environment B 1902b, the virtual avatar 1970 can also be rendered based on Alice's interaction 1912a. As described in
As an example, Alice can interact with an object of interest 1950a in Alice's environment. The wearable system can determine an object of interest 1950b in the environment B 1902b which corresponds to the object of interest 1950a. For example, if Alice sits on a chair in the environment A 1902a, the corresponding object of interest 1950b may be a chair in the environment B 1902b or another sit-able surface. As another example, Alice is having a face-to-face conversation with Bob's avatar in the environment A 1902a. The wearable system can map Alice's interaction in environment A 1902a to Bob's environment B 1902b such that Bob is engaged in a face-to-face conversation of Alice's avatar (e.g., where Bob's wearable device can orient Alice's avatar toward Bob). Details related to rendering a virtual avatar based on an object of interest are further described with reference to
As another example, Alice's eye gaze 1940a can be tracked to a fixation point in the environment A. However, because this fixation point is based on the Alice's local environment, when it is mapped directly to the environment B, it can become out of context. In some implementations, the wearable system can automatically identify an object or area of interest in the environment B such that that wearable system can compute a fixation point based on the object or area of interest, which may provide a more realistic eye gaze for the virtual avatar. Details related to rendering a virtual avatar based on objects or stimuli in a remote environment are further described herein in another section.
In addition to or in alternative to mapping the world component, the local component of an interaction 1912a can also be mapped to the remote environment based on intent. For example, the user's interaction 1912a may include waving one hand which can indicate that the user has negated a question. This intent of negation can be communicated to Bob's wearable device in the environment B 1902. This intent can be mapped to a virtual avatar 1970 and Bob's wearable device can show the virtual avatar 1970 waving both hands. As another example, one type of user interaction may be mapped to a different type of user interaction to convey the same intent. For example, to map Alice's intent of negating a question (via waving her hand), Bob's wearable system can map this intent to a spoken sound “no”, and place this sound to Bob via speaker 240 on Bob's wearable device.
Advantageously, in some embodiments, by remapping user's intent in an environment that the avatar is rendered, the wearable system can interact and communicate to adapt to a viewer's local physical surroundings. For example, Alice can be sitting at her desk talking to Bob's avatar 1100 on the table, while Bob is in a big empty room with Alice's avatar 1000 appearing to stand in front of him. Bob and Alice each has a very different environment, but can still successfully communicate. On the other hand, in a VR environment, both of Alice's avatar and Bob's avatar are transported to be at the same virtual space, and thus the avatars do not need to adapt to a user's local physical environment.
With reference to the subprocess 2010, at block 2012, the wearable device A can identify a user interaction. The wearable device A can analyze data acquired from the device sensor to determine the user's interaction. Such example interactions are described with reference to interaction 1912a shown in
At block 2014, the wearable device A can decompose the user interaction into a world component and a local component. As an example, pointing and gazing at an object of interest can be considered as a world component. As another example, moving around in Alice's environment or pose changes (e.g., sitting or lying down) can have a component relative to world space (e.g., the movement from location 1 to location 2, or interact with a physical object for sitting or lying down). As yet another example, head position changing (e.g., nodding) includes data that is in the local space.
At block 2016, the wearable device A can determine intent associated with the world component. The intent may include an object of interest that Alice is interacting with or is interested in interacting with. The wearable device A can determine what in the world space Alice is referencing. For example, the wearable device A can determine another avatar, shared digital content, or a neutral/ambiguous point (for eye gaze) as an object of interest. In some situations, there may be multiple possible things that Alice could be referencing. The wearable device A can leverage the contextual information associated with user Alice or the Alice's environment to determine the object of interest. As an example, Alice's hand gesture can point in the direction of a chair and the virtual content which Alice is sharing with other participants in a telepresence session. The wearable device A can determine that the virtual content is likely to be an object of interest because it is more pertinent to the conversation in the telepresence session.
Another example of contextual information can be the user's past or recent activity, for example, an object may have a higher likelihood to be an object of interest if it is the most-recently-used or referenced object. In certain implementations, multiple user inputs can be combined to determine the object of interest. For example, the wearable device can combine eye gaze direction and the user's hand gesture (e.g., pointing at a place in the user's environment) to determine the object of interest.
In some situations, the wearable device A may determine an intent without needing to find an object of interest in the wearable device A's environment. The wearable device A can make such determination of intent based on the nature of Alice's interaction. For example, if Alice is recording a message, even though the recipient (e.g., Bob's device) is not in Alice's space (and the wearable device A can't use a ray cast to identify an object of interest), the wearable device can automatically determine that the intent (to implement on Alice's avatar) is to orient toward and look at the person receiving the message on playback. Thus, the wearable device A can automatically specify that the intent, in this example, is positioning eye gaze and orienting body pose toward the other live user in the avatar's environment when playing this recorded message.
At block 2018a, the wearable device A can communicate the intent to the wearable device B and at block 2018b, the wearable device B can communicate the information associated with the local component to wearable device B. Data related to the intent and data related to information associated with the local component may be transmitted separately so that the animation in local space is separated out from the world space animation or pose data. The information on the local component may be transmitted separately because such information (e.g., local animation data) is based at least on Alice's action in the local frame and sent over to the wearable device B (which can be mapped to avatar's local frame). World space information may need to be handled differently than the local component because it is in a different coordinate system (e.g., world space information is with reference to the world frame not the local frame of Alice or Alice's avatar). It can be possible to use the same data channel to send both, as long as each data or message type are differentiated (e.g., by providing a label for data associated with the world space and another label for data associated with the local component).
With reference to the subprocess 2020, at block 2022, the wearable device B can determine contextual information associated with the wearable device B. Such contextual information can be used to determine Alice's avatar's interaction with the wearable device B's environment. For example, the wearable device B can determine a corresponding object of interest in the wearable device B's environment. As an example, where the object of interest in wearable A's environment is a virtual object shared between the wearable device A and the wearable device B, the corresponding object of interest in the wearable device B's environment can be this shared virtual object. In some situations, the intent may include semantic intent, which can cause the wearable device B to find an object having similar classification or function or support similar user interaction in wearable device B's environment as the corresponding object of interest. For example, an object of interest in wearable device A's environment can include an office chair. The corresponding object of interest in wearable device B's environment may be an object with sit-able surface (such as a bed or a bench).
The wearable system can also determine where each world-space item is situated relative to Alice's avatar in wearable device B's environment. Examples of orienting the avatar based on layout of the environment are further described with reference to
At block 2026, the wearable device B can determine the avatar's local action based on information associated with the local component received from the wearable device A. For example, the wearable device B can determine body pose including a position and an orientation for the avatar so that it can look or point at the appropriate world space content. In certain implementations, the avatar's actions in the local frame can be subject to collision checks and environment barriers in the world space. For example, a local motion may include raising an arm of the avatar. However, the avatar may be standing closely to a wall and the arm would appear to penetrate through the wall if the avatar raises the arm. The wearable device B may be configured not to animate this action or may be configured to take an action with respect to the world frame (e.g., by first moving the avatar away for the wall (e.g., by taking a step back)) before rendering the animation of raising the arm.
At block 2028, the wearable device B can cause a display to render the virtual avatar based on the action with respect to the word space and the action for the local space as determined from blocks 2024 and 2026 respectively. The wearable system can map animation for the avatar's action in the local frame on top of the avatar's action in the world frame of the environment. For example, the wearable system can map a hand gesture (point at an object of interest) on top of a body orientation facing toward the object of interest (upon adjusting the orientation based on the intent).
In some implementations, the wearable device B can scan the environment (such as, e.g., the environment meshes and planes described with reference to
Although in this example, blocks in the subprocess 2010 are described as being performed by the wearable device A while blocks in the subprocess 2020 are performed by the wearable device B, this is not a limitation on whether a block must be performed by the device shown in
The process 2130 starts off at 2132 with head pose tracking 2134a, which can track Alice's head movement data. Various techniques may be used for tracking head pose. For example, Alice's wearable device 902 can employ a combination of IMUs and cameras (e.g., cameras in the outward-facing imaging system 464 or the inward-facing imaging system 462) to record rotational and translational motion of Alice. The movement data recorded by the wearable device 902 can be used to extract features in the environment A for estimating the head pose with respect to a world frame (shown as data block 2136a) associated with the environment A.
The wearable device 902 can also perform eye tracking 2134b to obtain a fixation point (point of focus) of the eyes in Alice's field of view in a head frame (as indicated in the data block 2136b, where the head frame is associated with a coordinate system local to Alice).
At block 2138, an eye gaze target point can be calculated based on a combination of the fixation point and the head pose. The result obtained from the computation in block 2138 can include the gaze fixation point with respect to the world frame and ray direction in the word frame (shown in the data block 2140a).
Based on the head pose and eye gaze, static virtual scene models in the world frame 2140b (which may describe static virtual objects in the environment A), and dynamic virtual objects (which may include avatars) in the scene 2140c (which may include virtual objects that are fixed at a given position or orientation in the environment A) can be used, at block 2142, to determine what virtual objects in the scene intersect with the gaze fixation point in the local space. For example, the wearable device 902 can perform a ray casting by casting a ray vector from the eyes to this fixation point. This ray vector can be used to determine what Alice is looking at in her field of view as perceived through the wearable device 902.
There may be three basic possibilities for things that Alice could be looking at. First, Alice could be looking at a physical object in her environment, such as, e.g., a chair or lamp. Second, Alice could be looking at a virtual object rendered in her AR/MR environment by the display 220 of her wearable device 902. Third, Alice could be looking at nothing in particular, such as, e.g., when lost in thought or thinking about something.
At block 2144, the wearable system can determine whether the gaze intersects with a virtual object, and if so, a different head pose for Alice's avatar may need to be computed if the objects are in a different relative position from Alice's avatar's perspective (as compared to Alice's perspective). If not, the process 2130 goes back to the start block 2132. In certain implementations, the virtual object as determined from block 2144 can be an object of interest.
At block 2146, the wearable system can extract semantic intent directives, such as interacting with a certain object. For example, the wearable system can determine an interaction with the object as intended by the user, such as, e.g., moving the object, staring at the object, modifying the object, talking to a virtual avatar of Bob, etc.
The intent of interacting with an object (or a person as determined from interacting with his avatar) and the head pose can be communicated to Bob's wearable device which can map Alice's head pose to Alice's avatar (as rendered by Bob's wearable device) based on the intent.
Algorithm (i) below describes an example pseudocode implementation of the process 2130 in
During an avatar control session (such as, e.g., during a telepresence session or during an interaction between a viewer and an avatar), the wearable device A can update Alice's avatar by sending the current head pose at regular, periodic, or irregular time intervals to the wearable device B. From Algorithm (i), the wearable device A can pass a set of intents (I_avatar), and the current head pose of Alice (H_avatar) to the wearable device B. To determine a baseline head pose (H_baseline) to be used in animating Alice's avatar by wearable device B, the wearable device perform the calculations in the paragraph immediately below this paragraph.
For the first time sample, a baseline head pose is defined as: H_baseline=H_avatar. If I_avatar is set, H_baseline is computed to be the pose which the avatar's head points towards the object S for the intent (lookat(S)) in Bob's local space. Note that the location of S in Alice's local space may not be the same as the location of S in Bob's local space. However, by sending the intent I_avatar=lookat(S), the wearable device B can compute head pose to maintain this intent of directing the head towards S in the avatar's remote environment. For every frame of image acquired by the wearable device A, the wearable device B can compute the final avatar's head pose, H_final by setting it initially to H_baseline and adding on the relative pose (H_relative) between H_baseline and H_avatar. The result is that the intent (lookat(0)) is preserved between the local user in his environment and the remote avatar looking at the same object or avatar O in the remote environment of the avatar.
Additional user experiences for intent based rendering for interacting with a virtual object of interest is further described with reference to
In addition to or as an alternative to mapping Alice's head pose and eye gaze based on intent, Alice's interaction with the environment can also be mapped to her avatar based on intent. The interaction with the environment may include interacting with a physical object of interest in the environment. For example, if an avatar of Alice appears in Bob's environment, rather than mimicking the exact motions of Alice, the wearable device of Bob can analyze Bob's environment and adjust Alice's avatar's behavior accordingly, such as, e.g., walking around furniture, sitting on empty chairs, or leaning on tables or shelves close to where Alice's avatar is standing in Bob's environment.
At block 2162a, the wearable device B can retrieve participant sensor data 2160a. For example, the participant sensor data 2160a may include Alice's motion data acquired by device sensors of Alice's wearable device, Alice's intent as determined from Alice's motion data, the world component of Alice's interaction with her environment, the local component of Alice's interaction, etc., alone or in combination.
At block 2162b, the wearable device B can determine a new relative motion and position of avatar in environment B in which Alice's avatar is rendered. The new relative motion and position can be determined based on the contextual information of the environment B (such as, e.g., the layout of objects in the environment B, objects in the environment B, etc.) or Alice's intent.
At block 2166, the wearable device B can determine whether the result determined from block 2162b will result in a collision with objects in the environment. The wearable device B uses one or more outputs from the environment reconstruction and analysis subprocesses 2164 shown in
If a collision is detected, the process 2160 can go back to the block 2162b where a new relative motion and position of avatar is determined. For example, if an avatar's new position results in a collision or interference with an existing object in the environment, the wearable system can apply motion planning algorithms to determine a new collision-free position. One example of the motion planning algorithms is to back track steps from the new position towards the previous position until a collision no longer occurs. In some cases, a new direction can be calculated entirely to avoid a collision.
If the collision is not detected, at block 2168, the wearable device can determine whether a mesh object is one having a semantic category that support user interaction. As described with reference to
If the object is not in an interactable category, the process 2160 ends at block 2178. If the object is interactable, at block 2170, the wearable system can determine interaction type based on semantic category, some example interactable categories can include: chair, wall, table, etc. Within each interactable category, the wearable device B can identify affordances as shown in blocks 2172a, 2172b, and 2172c. The affordance of an object comprises a relationship between the object and the environment of the object which affords an opportunity for an action or use associated with the object. The affordances may be determined based on object's characteristics (which can be recorded as part of the semantic information). Some example object's characteristics can include the function, the orientation, the type, the location, the shape, or the size of the object. As examples, an affordance of a horizontal table is that objects can be set onto the table, and an affordance of a vertical wall is that objects may be hung from or projected onto the wall. The affordances may also be based on the environment in which the object is located (e.g., a table in an office can be used as a study table, while a table in a dining room is for dining purpose).
Once the category is identified, the wearable system can look for category-specific regions at blocks 2174a, 2174b, and 2174c. In the case of a chair, this would be identifying the seat of a char, the backrest, and perhaps armrests. These sub-parts of an object can imply various ways in an avatar can interact with it. For example, when an avatar sits down, its rear end can rest on the seat of a chair and its back can be against the backrest of the arms resting on the armrests (see block 2176c).
One method to position parts of an avatar's body on an object is to constrain a part of the avatar's body to a particular position and orientation is called inverse kinematics. Multiple body targets can be constrained and positioned at the same time using multiple inverse kinematics targets.
With reference to subprocess 2180, at block 2182, the process can extract major planes in the environment. Major planes may be extracted using the techniques described with reference to
At block 2184, the process can categorize planes into semantic categories, e.g., floor, wall, tabletop, etc. This block can be performed using techniques described with reference to
With reference to the subprocess 2190, at block 2192, non-planar regions may be extracted from the environment mesh. At block 2194, the nonplanar regions are separated out into mesh segments, where one or more mesh segments can correspond to a physical object in a physical environment. At block 2196b, the process can compute bounded volumes for each segment to determine the boundary of the physical object. At block 2196a, the mesh segments can be categorized into semantic categories which may correspond to what type an object is.
The scenario in
With reference to the scenes 2202a and 2204a, Alice is walking eastbound 2212 toward Bob 1100. The wearable device of Alice can analyze Alice's motion and objects in Alice's environment (including Bob's avatar 1100) to determine the intent of Alice's motion. In this example, the intent is to walk toward Bob (because Bob's avatar 1100 can serve as a virtual presence of Bob in Alice's environment). The wearable device of Alice can communicate this intent to Bob's wearable device for mapping Alice's motion to Bob's environment.
With reference to scenes 2202b and 2204b, because the orientation of Alice's avatar 1000 and Bob in the Bob's environment is different from Alice's orientation 912 and Bob's avatar's 1100 orientation in Alice's environment, to map Alice's intent to walk toward Bob, the wearable device of Bob renders Alice's avatar's motion as moving southbound 2214 toward Bob. In the scenario, if Alice's motion is mapped to Bob's environment, but the intent is not mapped Alice's avatar 1000 would walk eastbound into the bed 2226 which creates an unnatural user experience.
The scenario in
With reference to the scenes 2202a and 2302a, Alice moves (as illustrated by the trajectory 2312a to sit on the sofa 2222 in her environment. As illustrated in the scene 2302a, Bob's avatar 1100 may respond to this movement of Alice (where Alice is considered as an object of interest for Bob's avatar). As a result, Bob's avatar 1100 can automatically reorient itself (as illustrated by the arrow 2214a) such that Bob's avatar 1100 remains face-to-face contact with Alice. As described with reference to
Alice's interaction with her environment can be mapped to Bob's environment based on the intent of her interaction. Bob's environment, however, does not have a sofa. The intent of Alice's interaction can be sit on a sit-able surface. The wearable device of Bob can automatically detect a sit-able surface (e.g., using the techniques described with reference to
As described herein, each user in a mixed reality environment may have a different physical environments (or may be in a different position of the same physical environment) but nevertheless shares at least a portion of the virtual experience (e.g., by interacting with the same objects in a virtual environment) with another user. However, because the users may be in completely different physical environments, the position and orientation of shared virtual objects and remote avatars may be unique to the particular user. The lack of a common environment layout makes it difficult to map a user's focus or communication cues in his own local environment to a remote avatar in a way that makes logical sense to other users in their own virtual environments. For example, if a user looked to the right to see a shared virtual object in his own local environment, having his remote avatar also look to the right may not make sense if the shared virtual object was actually to the avatar's left in the remote virtual environment.
As another example, in Alice's virtual experience displayed to her by her wearable system, Bob's avatar may be standing in front of Alice with a tree to his right and a boulder to his left. In Bob's virtual experience, Bob may be standing to the left of Alice's avatar, with both the boulder and the tree to her right. A naive approach of transmitting Bob's one-to-one head and hand movement may not make it clear to Alice what object Bob is looking at or interacting with. Simply forcing Bob's avatar's orientation to snap to a specific object may strip out subtle head and hand movements, which communicate Bob's intent and personality. Accordingly, as described with reference to
As described with reference to
Specific implementations of intent based rendering may rely on determining the user's focus point or item of interest.
The interest weight W of an object may be a number representing how likely a user would want to focus on the object. A larger interest weight is indicative of greater interest in the object, and a smaller interest weight is indicative of less interest in the object. In
While the objects in the example shown in
The interest weight of a potential item of interest may dynamically increase or decrease in response to events in the virtual scene. For example, the interest weight of the remote avatar 2540 in
Objects which are being manipulated by a user may get more weight. For example, if the user is playing a game of virtual chess and her avatar opponent picks up the user's queen, then the queen can be weighted higher and become more interesting, since the queen is currently of interest in the chess game. Likewise, objects being pointed at, but not directly manipulated by the user or an avatar, may get a higher weight. In an example of a virtual birdwatching experience, a user and an avatar may be looking at a particular virtual bird, e.g., a Red-legged Kittiwake, which is the current item of interest. If the avatar points at another virtual bird in the virtual environment, e.g., a Whooping Motmot, then the interest weight of the Whooping Motmot can be increased sufficiently (e.g., compared to the interest value of the Red-legged Kittiwake) so that the item of interest changes from the Red-legged Kittiwake to the Motmot.
In some embodiments, the interest weight W for an object can depend at least partly on the distance between the user and the object. For example, the interest weight may be larger if the distance to the object is smaller, thereby indicating that objects nearby the user will tend to be more interesting to the user. Interest values may also represent contextual factors in the environment. For example, in a virtual game, a dangerous game element (e.g., a large dragon) or a valuable item (e.g., a golden crown) may be assigned a higher interest value than a more neutral or passive game element (e.g., a rock or a non-threatening player), because the user will likely be more interested in fighting the dangerous game element or finding the valuable item than interacting with a neutral/passive game element.
In
The example begins with scenes 2900 and 2902. User 2930 and user 2960 are each in their own local virtual environments. In these figures, objects with dashed outlines are shared virtual content between the two user's environments. Virtual triangle 2950 and virtual square 2940 are shared virtual objects that can be found in both local environments. In scenes 2904 and 2906, the teleconference begins, and remote avatars 2970 and 2980 are spawned in locations that make logical sense in the particular local environment. In scenes 2904 and 2906, virtual avatars 2970 and 2980 avoid spawning in areas where objects already exist in the environment and by default spawn facing towards users 2930 and 2960 respectively.
In scenes 2908 and 2910, potential items of interest may be identified in the virtual environments, and an item of interest may be determined for each user. In certain embodiments, a remote avatar may be set as the most interesting item of interest by default, as shown in scenes 2908 and 2910.
Next, in scene 2912 of
In
Additional examples of rendering avatars are now described. In one example, an avatar spawns in an open spot, facing the highest item of interest for an initial scene, with a default preference to face the other avatar. If there is only one other avatar, this would mean facing the other avatar. If there are multiple avatars and one is speaking (e.g., having a higher interest weight), an avatar is spawned facing the speaker. If there are multiple avatars and they all have (or a majority has) the same item of interest, the wearable system can have the shared item of interest can be the newly spawned avatar's item of interest. If there are multiple avatars and there is not a common item of interest, the wearable system can have the newly spawned avatar's item of interest be the closest user.
As another example, when a user moves in their local environment, the user's avatar moves as well in the other user's virtual environments. The movement can be governed by the following rules. A head pose vector is drawn. A vector is drawn from the user's head to each potential item of interest. An interest value can be calculated for each potential item of interest (e.g., using a weighted dot product). The avatar is moved to the same angle offset from the highest item of interest as the real user.
After determining a weight value for each virtual item, the wearable system may continue to block 3030 by calculating an interest value for each virtual object. The interest value for each virtual object may be calculated based at least partly on the user's pose data and the virtual object's weight value, for example, as a dot product weighted by an interest weight. After calculating an interest value for each virtual object, the process continues in block 3040 by selecting a virtual object based at least partly on the interest value of the virtual objects. For example, the process in certain embodiments may select the virtual object with the highest interest value among all virtual objects. After selecting a virtual object of interest, the selection may be communicated to a wearable device of a second user in block 3050 and received by the wearable device of the second user in block 3060.
Although this particular example process focuses on communicating the selection of the virtual object, information communicated to the wearable device of a second user is not limited to the identity of the selected virtual object. In certain implementations, the communicated information may include the identity of the selected object, an offset angle, and perhaps more. After receiving the communicated information in block 3060, the wearable system of the second user may identify the location of the selected virtual object of interest with respect to the virtual avatar of the first user in block 3070. Once the virtual object of interest has been identified with respect to the virtual avatar of the first user, the wearable system of the second user may adjust the position or orientation of the virtual avatar of the first user in block 3080 based on the location of the virtual object of interest.
After recalculating interest values, the process may continue to block 3025 by determining the virtual object of interest with the highest interest value. In certain embodiments, the identified virtual object and the virtual object having the highest interest value before the change in condition occurred may differ. In such examples, the wearable system of the first user may update the virtual object of interest to the identified virtual object in block 3035. Once the wearable system of the first user has been identified and selected, the wearable system may communication the selection to a wearable device of a second user in block 3045. In some embodiments, the communicated information may include an identifier of the selected virtual object of interest and an offset angle. However, additional or different information may be communicated in other examples.
When the wearable system of the second user receives the communicated selection in block 3055, the wearable system in block 3065 may identify the location of the updated virtual object of interest in relation to the position of the first user's virtual avatar. Once the wearable system has identified the location of the updated virtual object of interest, the wearable system in 3075 may adjust the position or orientation of the virtual avatar. For example, the virtual avatar in certain embodiments may be adjusted to face directly towards the location of the updated virtual object of interest.
Systems and methods disclosed herein can render an avatar so that the avatar appears more real and lifelike to a user of a mixed reality system. Objects in the environment of a user can be categorized as real or virtual, and the wearable system can be configured such that the avatar interacts and makes decisions in that mixed reality environment. The avatar can be rendered so that the avatar gives an appearance of agency, presence, or naturalness to a user. The agency may be an attribute of the virtual avatar. When the agency is enabled for the virtual avatar, the virtual avatar can appear to act of its own accord (e.g., the avatar may appear to make its own decisions about what it finds interesting). The wearable system can create the appearance of agency for the virtual avatar (e.g., by images or animations of the virtual avatar). For example, to provide the appearance of agency, the wearable system can cause the avatar to automatically respond to an event or a stimulus in the viewer's environment, and to produce a particular effect or result as if the avatar were human. The agency can be determined by one or more contextual factors, such as, e.g., the environment of the virtual avatar, interactions of the viewer in the environment, and objects in the environment. In certain implementations, the contextual factors can also include characteristics of the avatar, such as, e.g., the avatar's beliefs, desires, and intentions. By rendering the avatar as more natural and lifelike, the user of the wearable system will be less likely to experience uncanny, eerie, or unpleasant feelings when interacting with the avatar. For example, the avatar can be rendered so as to reduce the likelihood of entering the so-called uncanny valley, which represents a dip in human emotional response to an avatar that is almost, but not quite, human in its interactions.
In addition to or as an alternative to animating a virtual avatar based on virtual objects that are shared between two users, the wearable system can also animate the avatar based on the environment that the avatar is rendered in. The wearable system can make a virtual avatar appear lifelike by enabling a virtual avatar to make natural, human-like decisions to react to the mixed reality environment in which it is rendered in, which can give the virtual avatar an appearance of agency and presence. For example, the wearable system (e.g., via the stimuli response system 696) can automatically identify certain categories of environmental objects or environmental stimuli (referred to herein as interesting impulses) to which the avatar might react to, and automatically adjust the avatar's interaction with the viewer's environment based on the interesting impulses in the viewer's environment. Interesting impulses may be visual or audio stimuli (e.g., a movement, an appearance, or a sound) in the environment which can attract an avatar's attention. As further described with reference to
The wearable system can execute the avatar's decision to interact with the interesting impulses in a manner to maintain the naturalness of the virtual avatar. For example, when there is a sound of an explosion in the viewer's environment, the wearable system can render the virtual avatar as running away from the source of the explosion (as if the virtual avatar is human). As another example, the virtual avatar may shift the eye gaze vector (which can include a gaze point and a direction of gaze) of the avatar within the social triangle of a user or person's face while talking to that person, which encourages more natural and non-threatening human-like interactions between the person and the avatar. As yet another example, the virtual avatar may lose interest after looking at an object for an extended period of time. Thus, the virtual avatar may identify another interesting impulse and moves its attention from the previous object to the other interesting impulse, which again is more typical of natural human-like behavior.
The wearable system 200 (e.g., the stimuli response system 696) can model a viewer's environment and categorize objects (e.g., real or virtual objects) to identify interesting impulses. An interesting impulse can have values for representing its inherent interestingness, which may decay or grow based on contextual factors, such as time elapsed, changes in objects or the environment (which may include changes in the object or portion of the environment identified as interesting impulse), or interactions of the human counterpart associated with the avatar. The interestingness value may change continuously or suddenly in response to a triggering event.
As an example where the interestingness value changes suddenly due to a triggering event, assuming an object of interest is a book, the interestingness value would increase in response to a page change. As an example where the interestingness value changes continuously, an interesting impulse may be represented as a speaker's hand, and as the hand changes shape (e.g., to emphasize a point the speaker is making), the interestingness value may increase continuously. The changes to the interestingness value can include a change in speed or acceleration of the adjustment of the interestingness value. For example, in response to a triggering event on the object of interest, the acceleration or the speed associated with the growth of the interestingness value can suddenly increase. In some implementations, the speed or acceleration of adjustments to the interestingness value may remain constant. For example, the interestingness value can decay at a constant speed with the passage of time.
As illustrated in
Another example interesting object 3120 may be a gaze box 3114 (also shown in
The social triangle 3112 can have a variety of parameters such as, e.g., size, shape, boundary, area, etc. A boundary of the social triangle can constrain the saccade points during a saccadic eye movement of a second person (or an avatar) such that a saccade point at a given time does not land outside of the boundary of the social triangle of the first person. Thus, the saccade points of the eyes of the avatar looking at the person having the social triangle 3112 tend to be clustered within the social triangle 3112 and tend not to fall outside of the social triangle. The saccade points may be used by the wearable system to determine the avatar's eye gaze vector at a given time. As described herein, the saccadic movements may involve randomly placed saccade points which may cause the avatar's eye gaze vector to shift randomly within the social triangle 3112. The eye gaze vector can also move along a trajectory within the social triangle 3112 when animating the avatar's eye gaze. For example, the eye gaze vector may first land on a point of the nose, then move to a point on the left eye, and further move to a point on the right eye, etc.
In certain implementations, possible saccade points can be kept in a data structure such as, e.g., a query-able database constructed from presence of virtual or physical objects in the user's environment. The possible saccade points may comprise the sum of visible spaces of interesting objects (e.g., saccade points within social triangles or gaze boxes). The query-able database may be part of the map database 710 shown in
To randomly select the saccade points, the wearable system can make use of a variety of probabilistic models. For example, the wearable system can select another saccade point from a normal distribution around the current saccade point (e.g., a saccade point of which an avatar's eye gaze vector is currently placed) within an interesting object. As another example, the wearable system can use a distribution function specified in a texture channel and applied to the interesting object as a texture map. For example, where the virtual avatar is looking at a painting, the painting may have some parts that are more interesting to the human eyes than other parts. A texture map can be created to reflect that some parts are more interesting than others on an object. The texture map may have attributes similar to a heat map where brighter portions (e.g., portions with a higher interestingness value) of the texture map represent more interesting portions and darker portions represent less interesting portions (e.g., portions with a lower interestingness value). These maps may be defined by programmers or users, e.g., by manually inputting or indicating a region of interest. These maps can be created from eye tracking systems such as, e.g., based on the data acquired by cameras in the inward-facing imaging system 466. For example, the wearable system can track the duration and positions of the viewer's eye gaze vector at a location of an object. The wearable system can identify the more interesting region as the region that has a higher density of points associated with eye gaze vectors or when the eye gaze vectors stays at the region (or points) for a longer duration of time, and vice versa. Alternatively, a user's personality, temperament, profile, or other attribute could at least partially define the texture map. For example, if a user is characterized as liking dogs and there is a dog in the painting, that portion of the painting would increase its interestingness value.
One or more of the parameters of the social triangle may be configurable. The parameters of the social triangle may be configured by a viewer of the avatar or may be preprogrammed into the wearable system. For example, in various embodiments, the boundary of the social triangle may be configured by the wearable system to include less or more area than the social triangle 3112 shown in
In some situations, a portion of the face may be occluded, such that a person or an avatar may not be able to directly observe that portion of the face. For example, where a viewer is wearing the wearable device described herein, the head-mounted display may occlude the viewer's eyes and a portion of the viewer's nose. As a result, the saccadic points associated with the viewer's social triangle may land on a portion of the surface of the head-mounted display rather than on the viewer's eye region.
As will further be described with reference to
As described with reference to
Another example of an area of interest can be the general direction of a sound or a noise.
Because areas of interest may not have a fixed position in the viewer's environment, interesting areas are not required to be in the virtual avatar's visual cone (e.g., when a cone or ray casting is performed from the virtual avatar's perspective) to be eligible for the avatar to respond. Accordingly, as shown in
In addition to or as an alternative to the general direction of a sound or light, an area of interest can also be associated with a memory of previous stimuli such that the avatar may periodically check a region in the environment to determine if the previous stimuli are present. For example, in
A virtual avatar can also respond to contextual factors, other than the interesting object 3112 or the area of interest 3114. A virtual avatar's behavior may change based on the characteristics of the environment the avatar is in. For example, where a virtual avatar is rendered in a conference room environment, the viewer's system may reduce the likelihood or frequencies that the virtual avatar checks on the area of interest associated with past stimuli (e.g., frequent checking may be inappropriate in a work or business environment). However, when the avatar is in a home environment, the virtual avatar may check on the area of interest associated with the past stimuli more frequently. As another example, a virtual avatar may be configured not to respond to certain types of stimuli based on the environment that the virtual avatar is in. Continuing with the same example above, if the virtual avatar is in a conference environment, the viewer's wearable system may be configured such that the virtual avatar is not responding to a ring tone from the wearable device or from another computing device, which indicates the arrival of an electronic message. Accordingly, the frequency for checking may be environmentally-dependent and may be in a range from, e.g., every few to tens of seconds to every few minutes, up to a few times an hour.
A viewer's wearable system can detect the presence of interesting object 3112 or determine an area of interest 3114 at run time while the avatar is rendered by the wearable system. The wearable system can also generate interesting impulses at run time based on the presence of interesting object 3112 or area of interest 3114. The generated interesting impulse may cause the avatar to respond to the interesting impulse, e.g., by changing its pose, orientation, eye gaze direction, movement, by speaking, ceasing to speak, and so forth.
The interesting impulse can be tied to virtual or physical stimuli in the viewer's environment. Virtual stimuli can be explicitly tied to objects generated from a content engine that renders virtual content in the environment. As an example, an interesting impulse can be generated in response to a viewer flipping a page of a virtual book. As another example, an interesting impulse can be based on a facial expression (e.g., a smile) or a movement of another virtual avatar rendered in the same environment.
Real world stimuli can be generated based on data acquired by device sensors (such as, e.g., those shown in
Although not shown in
In certain implementations, the interestingness of social triangles can be modulated on detected changes in facial expressions. The wearable system can modify the interestingness value associated with a social triangle of a person based on the facial expressions of the person. For example, as the expression on a real world human's face changes from a smile to a frown, the interestingness value of the associated social triangle may rise (due to this change in facial expressions).
The wearable system can also identify new social triangles based on audio data (e.g., data acquired by the audio sensor 232). This can allow the virtual avatar to look at a speaking individual (who might have a larger interestingness value than non-speakers in the environment), which would increase the presence of the virtual character. For example, the wearable system can capture speech via the audio sensor 232 and detect the position of the speaker in the viewer's environment. Based on the position of the speaker, the wearable system can detect a previously undetected social triangle and create a new social triangle associated with the speaker. For example, in
The wearable system can also increase the interestingness value based on the audio data. For example, the wearable system can increase the interestingness value of a social triangle if the wearable system detects that the person associated with the social triangle is speaking. Alternatively, the wearable system can decrease the interestingness value of a social triangle if the wearable system detects that the person associated with the social triangle is not speaking or has not spoken for a period of time. Advantageously, in some embodiments, by increasing (or decreasing) the interestingness value of the social triangle based on the audio data, the wearable system can advantageously allow a virtual avatar to look at the speaking individual and avoid the interestingness value decay which may cause the virtual avatar to divert its attention to another object with a higher interestingness value.
The interestingness of the generated gaze boxes can be modulated using the object type (which can be determined by the object recognizer 708, e.g., as semantic information associated with the object) and the personality (or disposition) of the virtual character. For example, a gaze box may be associated with a soda can and the virtual avatar has a thirsty trait. The interestingness value associated with the generated gaze box of the soda can may be increased. However, if the avatar is not thirsty now because the human counterpart just drank water or because the avatar just drank water (as animated in its virtual environment), the interestingness value associated with the soda can's gaze box may decrease. As another example, if an object of interest is a dog and the virtual avatar has a fear of dogs, the interestingness value associated with the dog (or the gaze box of the dog) can increase. In some implementations, as the dog moves closer to the virtual avatar, the amount of increase in the interestingness value may be faster to represent increased fear. The high interestingness value may be cause the virtual avatar to perform a behavior that reflects a natural human interaction with the dog, e.g., to look at the dog or to move away from the dog. Continuing with this example, as the distance between the avatar and the dog increases, the interestingness value associated with the dog may decrease, and when the interestingness value drops below a threshold (which may represent that the dog is no longer a threat to the avatar), the avatar may be rendered so as to stop moving away from the dog. Thus, the increase and decrease of interestingness values associated with objects in the environment permit the wearable system to render avatar behavior that is natural and realistic.
The interestingness values of interesting objects (e.g., gaze boxes or social triangles) can also be modulated based on the attention of the viewer. For example, if the viewer is looking at a gaze box or a social triangle, the interestingness values associated with the gaze box or social triangle may also increase for virtual avatars in the viewer's environment, thereby increasing the likelihood that the avatar will be rendered to also look at the gaze box or social triangle.
At block 3252, the wearable system can determine parameters associated with an interesting object, such as, e.g., the boundary or shape of a social triangle or a gaze box. The wearable system can access the parameters pre-programmed into the system. The wearable system can also dynamically determine the parameters based on the object associated with the social triangle or gaze box. For example, the size or the shape of the social triangle for a face may vary depending of the size of the face or characteristics of the facial features (e.g., an elongated face may have a longer but narrower social triangle while a round face may have a wider social triangle).
At block 3254, the wearable system can identify the interesting object in a viewer's environment. In certain implementations, this block 3254 can be performed before the block 3252. The wearable system can make use of various facial recognition techniques described with reference to the object recognizer 708 in
Where the social triangle is associated with an avatar, the wearable system can determine the region for the social triangle by accessing the face data of the avatar. For example, the wearable system can access face parameters associated with the 3D model of the avatar to delineate a region of the avatar face based on the parameters of the social triangle. Where the social triangle is on a viewer, the wearable system can access a face model of the viewer and determine the social triangle based on the face model. Such a face model may be generated while the viewer is putting on a wearable device (e.g., by using the outward-facing imaging system 464 to acquire images of the viewer's face). The face model may also be acquired by scanning the viewer's face with a camera in the viewer's environment.
At block 3256, the wearable system can track the interesting object in the viewer's environment. For example, the wearable system can track the movement of the person or the object with which the interesting object is associated. The wearable system can also track the head pose of the viewer, another person, or an avatar which may cause a change in the parameters of the interesting object (e.g., change in the location or size).
At block 3258, the wearable system can dynamically update the parameters of the interesting object. For example, as the viewer moves around, the wearable system may track the movement of the social triangle to be in accordance with the viewer's movement. As another example, as a person tilts his head, the size of the social triangle or the position of the social triangle can also change based on the head pose.
The wearable system can periodically scan through a knowledge base of interesting impulses and can select a most interesting impulse as the target interesting impulse. Once a target interesting impulse is selected, the wearable system can render the avatar as interacting with the target interesting impulse, such as, e.g., by orienting the avatar as if the avatar were focusing its attention on the target interesting impulse.
In this example, Bob's wearable device 904 can render Alice's avatar to look at the interesting area 3336 by default (as indicated by the saccade cone 3310 indicating a region of eye movements of the avatar 1000). The interesting objects in the environment 3300, however, can be analyzed against a visual cone 3320 which may be part of a cone cast performed for the avatar 1000. In some situations, the saccade cone or the visual cone can also be referred to as the saccade frustum or the visual frustum, respectively.
When determining a target interesting impulse, Bob's wearable device 904 can perform the cone casting based on the virtual avatar's 1000 head pose and eye gaze. For example, the parameters of the cone can be generated based on the avatar's 1000 current eye direction, horizontal angle or vertical angle of the virtual avatar's 1000 head, head speed, or eye speed. For example, during the cone casting, a virtual cone may be cast from the virtual avatar 1000 into the mixed reality environment (as shown by the visual cone 3320). As the virtual avatar moves its head or eye gaze direction, the direction or movement (e.g., the movement speed) may be adjusted according to the avatar's head or eye movements and direction. In certain implementations, the horizontal angle or vertical angle of the cone are modulated by the virtual avatar's personality and disposition, while the head speed and current eye direction can be determined from the animation of the character. For example, if the avatar 1000 is in a thinking mode, the avatar 1000 may be looking down at a floor of the environment 3300. As another example, if the avatar has an active personality, the virtual avatar may move its head around frequently.
In the example shown in
In certain implementations, the wearable system maintains a list of interesting impulses for objects and areas within the avatar's field of view (which may be determined and represented by the visual cone 3320). If an interesting impulse is not in the avatar's field of view, the interesting impulse may be culled from the list. For example, when the virtual avatar looks to its right, the physical interesting object 3324 may become outside of the visual cone 3320 while the physical interesting object 3322 may move inside of the visual cone 3320. As a result, information of the physical interesting object 3324 is removed from the list of interesting impulses while information associated with the physical interesting object 3322 (which had been outside the avatar's field of view) may be added to the list of interesting impulses. The physical interesting object 3324 may remain in the avatar's knowledge base even though the physical interesting object 3324 is no longer in the virtual avatar 1000's field of view. Additionally or alternatively, as an object passes outside the avatar's field of view, the interestingness value associated with the object may be decreased to reflect the decreased likelihood that the avatar will interact with the object. Conversely, as an object passes into the avatar's field of view, the interestingness value associated with the object may be increased to reflect the increased likelihood that the avatar will interact with the object.
The list of interesting impulses may be sorted based on an interestingness value of the objects (real or virtual) in the environment 3300 or in the visual cone 3320. The interestingness value can be calculated based on an inherent interestingness of an object minus an interestingness decay. The inherent interestingness of the object may be based on contextual factors, such as, e.g., the environment information, the interaction or triggering event associated with an interesting impulse, the object's characteristics (e.g., a moving object may have a higher interestingness value than a static object), the avatar's (or its human counterpart's) personality, the characteristics or interactions of the viewer, etc. For example, an interesting object may have a boost in its interestingness value, if the avatar 1000 or a viewer is interacting with the interesting object. As another example, if the viewer is speaking, the social triangle 3334 associated with the viewer may have an increased interestingness value. In certain implementations, rather than increasing or decreasing the inherent interestingness, one or more of these contextual factors can also be used to adjust the interestingness decay as described herein.
The interestingness decay can be associated with a rate of decay or growth associated with the interestingness value. The interestingness decay can be based on the time or triggering events. For example, flipping a page of a virtual book can cause a decrease in the interestingness decay (which amounts to an increase in the interestingness value) or slow down the interestingness decay associated with the virtual book. As another example, a sound of explosion in the environment would cause a sudden increase (in addition to the inherent interestingness) to the interestingness value associated with the area having the explosion.
As shown in
Although the example interestingness curve 3410 decays over time, in some implementations, the interestingness curve 3410 can also grow over time. For example, if an interesting impulse is the target interesting impulse, the interestingness may grow over time. For example, a person may enter the avatar's visual cone 3320, causing an increase in interestingness value associated with the person. The person may then start to speak, which increases the interestingness value. The person may gesture while speaking, further increasing the interestingness value. Once the person stops speaking and gesturing, the interestingness value may start to decrease. Thus, the interestingness value for an object, human, or avatar, can increase or decrease over time or due to the occurrence of events (e.g., starting to speak, smiling, etc.). The interestingness curve 3410 can be generated and adjusted based on various mathematical functions, such exponential, polynomial, linear, power, sinusoidal, etc., alone or in combination. For example, a portion of the interestingness curve can be level (e.g., with the slope being 0) for a period of time. This portion of the interestingness curve may be preceded or followed by another portion of the curve with a non-zero slope (e.g., a positive slope indicating the interestingness increases with time, or a negative slope indicating the interestingness decreases with time).
In certain implementations, the target interesting impulse, once determined, can be assigned an increment to the interestingness value to add hysteresis, which can advantageously reduce or prevent flip flopping between two interesting impulses (e.g., when the two interesting impulses have similar interestingness values) and can cause the virtual avatar to focus on the target interesting impulse.
Once an interesting impulse is selected as the target interesting impulse, the characteristics of the interesting impulse (e.g., the type of the interesting impulse, the type of reactions associated with the interesting impulse, etc.) can determine an avatar's interactions from overt behaviors such as potential animations and dialog lines to more subtle behaviors such as emotional response, eye attention, and saccade motion. For example, when the target interesting impulse is a sound, the viewer's wearable system can present a dialog line near the avatar stating “what happened?” and/or animate the avatar to look toward the direction of the sound. As another example, if the target interesting impulse is a social triangle of another's face, the wearable system can direct the avatar's attention to the social triangle by rendering the avatar's eye movements as saccadic motions within the social triangle.
The saccadic motion can be regulated through a saccade rate which can control how often an avatar's eye gaze is switched from one saccade point to another. To determine when and where an avatar's saccadic eye movement is switched, a sample saccade point can be selected from a randomized window of saccade timing, and once that time has expired, a new saccade point can be chosen. The saccade rate can be modulated by characteristics of the virtual avatar, such as, e.g., the disposition and emotion of the virtual avatar. For example, being excited or angry can increase the saccade rate, while being bored or lethargic can decrease the saccade rate. The saccade rate for an avatar can be representative of the saccade rate for humans. For example, a saccade can last from about 20 ms to about 200 ms, can have angular speeds from about 10 degrees per second to several hundred degrees per second, and so forth.
The most interesting object can include polygonal structures for holding saccade points. The most interesting object can be analyzed to identify a list of polygons on which a saccade point can lie. This list of polygons can be determined based on the position and orientation of the virtual avatar and the object. In the example in
This list of polygons can be clipped to a saccade frustum (see e.g., saccade cone 3310 shown in
Once clipped and triangulated as shown by polygons A-F in
where Area A, B, C, D, E, F represents the areas of the polygons A, B, C, D, E, F (as projected into 2 dimensions), respectively. In certain implementations, each area can be associated with a weight which can allow a region of an interesting object to be configured to become more or less interesting as compared to other regions on the interesting object.
Once a polygon has been selected, a point (such as, e.g., a point with reference to a world frame) on the surface of that polygon can be randomly selected and returned as the saccade point. As described herein, the wearable system can animate the saccadic movements of the avatar's eyes by moving the avatar's eye gaze from a saccade point to another in accordance with a saccade rate (e.g., from about 10 degrees/sec to a few hundred degrees/sec). Angular separation between saccade points can be in the range from 0.1 degrees to 30 degrees or so.
The wearable system can use a selected saccade point to rapidly adjust the eye pose of the virtual avatar (e.g., by adjusting the orientation of the eyes) to focus on the point. The eye movements may also be based on the interocular convergence calculations which may be handled by the rig that controls the animation of the virtual avatar.
The wearable system can record a resultant eye pose (e.g., as determined based on the selected saccade point) with respect to the face in a proprioception system. The proprioception system can maintain any kind of knowledge of the avatar's body, such as, e.g., knowing when the avatar's arm is raised, without needing for a user to look at the avatar. The proprioception system can also hold the formulas for rotations with respect to different body parts, such as e.g., a relative rotation between the head and torso or between the head and eyes, which may be part of the discomfort curves described with reference to
With reference back to
As further described with reference to
At block 3710, the wearable system can determine a plurality of interesting impulses in an environment. The wearable system can make such determination based on an avatar's head pose and eye gaze direction. For example, the wearable system can determine objects, regions, sound, light, etc., in a viewer's environment and determine whether one or more of these are interesting objects or areas of interest.
The interesting impulses can be associated with respective interestingness values. At block 3720, the wearable system can calculate (or adjust) the interestingness values associated with the plurality of interesting impulses. For example, a triggering event associated with an interesting object or area of interest may boost or decrease the corresponding interestingness value. The emotion and disposition of an avatar can also cause the wearable system to find an interesting impulse to have a higher interestingness value than another interesting impulse. As yet another example, the characteristics (or interactions with) of the objects or the viewer may also cause some interesting impulses to have higher interestingness values than other interesting impulses. For example, while a viewer is speaking, his social triangle may have a higher interestingness value which can cause the avatar to look at the viewer's social triangle. The wearable system can animate saccadic eye movements within the social triangle when the avatar is looking at the viewer's social triangle. For example, the avatar's saccadic movements can be random or quasi-random within the social triangle or may follow a trajectory (e.g., from left eye towards right eye towards nose and then back to left eye). The jumps between successive avatar saccadic eye movements may be constrained. For example, if an avatar's gaze vector is directed toward a person's chin, the next permitted eye gaze vector may be directed toward a position in the social triangle that is a fraction (less than one) of the size of the social triangle. A saccadic jump in a direction that is generally parallel with a previous jump may utilize larger displacements, whereas a saccadic jump in a direction that is generally perpendicular to a previous jump may utilize a smaller displacement. In some embodiments, the saccadic frequency, the angular velocity of the saccadic eye movement as a function of the angular amplitude of the jump, and other saccadic parameters can be modeled on the behavior of human saccadic eye movements.
At block 3730, the wearable system can determine a target interesting impulse. The wearable system can select an interesting impulse among a plurality of interesting impulses in the environment as the target interesting impulse. The wearable system can make the selection based on the interesting values associated with the respective interesting impulses. For example, the wearable system may associate the target interesting impulse with an interesting impulse having the highest interestingness value.
At optional block 3732, the wearable system can provide a boost to an interestingness value associated with the target interesting impulse. This can, in some embodiments, occur in order to prevent the avatar from switching its interactions between two interesting impulses having similar interestingness values, which may cause visually disruptive experiences for the viewer.
At block 3740, the wearable system can animate a virtual avatar to respond to the target interesting impulse. For example, the wearable system can change the avatar's body pose or eye gaze to look at or interact with the target interesting impulse. The wearable system can also move the avatar to be closer to or farther away from the target interesting impulse.
At block 3750, the wearable system can monitor changes in the interestingness values of the plurality of interesting impulses. The interestingness value may decay over time. The interestingness value may also increase in response to a change in the environment, object, or interactions of the avatar or the viewer. For example, the avatar may initially look at the viewer during a telepresence session between the viewer and the avatar's human counterpart. The viewer may start playing music in his environment. As a result, the interestingness value associated with the source of the music may increase.
At block 3760, the wearable system can determine whether there is a new target interesting impulse. If not, the process 3700 goes back to the block 3750 where the wearable system continues to monitor changes in the interestingness values. If there is a change in the target interesting impulse, the process can go back to the block 3740 where the virtual avatar can respond to the new target interesting impulse. In certain implementations, rather than going back to the block 3740, the process 3700 can also go back to the optional block 3732.
To provide a realistic and lifelike animation of a virtual avatar, the wearable system can animate the pose of the avatar to be lifelike. For example, the wearable system can turn the avatar's head and its body to look at an object of interest behind the avatar, to avoid the unrealistic situation where the avatar merely turns its head 180 degrees (without turning its body) to look at the object of interest. As further described below, a discomfort curve can be used to generate a value indicative of the discomfort a human would experience if one part of his or her body were contorted into a particular body pose relative to an adjacent body part. For example, a human can turn his or her head in a range of about 60 to 90 degrees without substantial discomfort. If the human were to try to turn his or her head by, for example, 120 degrees, such movement would lead to severe discomfort (if it where biomechanically possible at all). Instead of attempting just a head turn that is too large, humans naturally turn their bodies in conjunction with their heads, to look at objects requiring a large angular change in eye gaze direction. Accordingly, to mimic this natural human movement, if a discomfort level (e.g., measured from a discomfort curve) for a potential avatar movement passes a threshold (e.g., a pure head turn is too large), the avatar may move an additional avatar body part (e.g., the avatar's torso) in conjunction with the avatar's head to avoid unnatural-looking body movements (e.g., those that would cause discomfort in a real human, such as a head turning 180 degrees).
Bone feathering, non-linear fractions, or exponential proportioning are examples of techniques that can be applied to mimic the avatar's pose or movement to the natural movement of a real person. However, in these techniques, the head's rotation relative to the ground typically determines the simultaneous motion of the rest of the body, because the rest of the body moves with a fraction of the head's movement. For example, if an avatar's head needs to turn 45 degrees, then the head of the avatar can turn 45 degrees relative to the ground, and the body can turn a portion of the 45 degrees. Because turning is accomplished using a mathematical formula in these techniques, the simulated movement of an avatar may not necessarily reflect nuanced, non-simultaneous movement of a real human body. In addition, in these techniques, the entire body's movement is simultaneous because it is a simple calculation from a single number (e.g., the 45 degree turn in the above example).
To provide an improved technique and provide a more realistic animation of an avatar, the wearable system (e.g., the anatomy adjustment system 698) can adjust an avatar's animation of two adjacent body parts in accordance with a discomfort curve. A discomfort curve can represent boundaries for animations between two adjacent body parts, such as, e.g., a relative angle between two adjacent body parts (e.g., an avatar head relative to an avatar torso). By way of an example, there may be one discomfort curve governing the relative position between a virtual avatar's eyes and head, and a separate discomfort curve governing the relative positions between the head and the torso, and so forth. In this example, the discomfort curve governing the head in relation to the torso may restrict the head's rotation to a maximum of 90 degrees with respect to the torso. By establishing a 90 degree boundary, the discomfort curve can reduce or prevent unrealistic movement such as the avatar's head rotating 135 degrees to the right.
Advantageously, in some embodiments, use of the discomfort curve can realistically mimic non-simultaneous movement between the two adjacent body parts, leading to natural movements of the avatar and avoiding movements that represent the uncanny valley. Rather than a simultaneous movement between of the two body parts, a discomfort due to the pose of a first portion of the body can cause a subsequent movement of a second portion of the body (e.g., a discomfort in an eye pose can cause a change in the head pose or a discomfort in a head pose can cause a change in torso pose). As a result, there may be a natural time delay built in to take into account the separate calculations for a first body part relative to the a second body part, resulting in non-simultaneous movement of the first and second body parts of the avatar. Because different types of discomforts (e.g., leaning too far forward v. leaning too far back) can result in different movements, a separate calculation may be performed by the wearable for a body part relative to one or more adjacent body parts.
The x-axis 3820 of the graphs shown in
The discomfort curves 3800a and 3800b of
As an example of the time delay between movements of adjacent body parts, if the goal of the rendering system is to move the avatar so that its eyes point 100 degrees to the right, the rendering system may start to move just the avatar's head toward the right. The torso to head delta angle will start to increase and the discomfort level (from the curves 3800a, 3800b) will also start to increase. Once the discomfort level passes a threshold (say, e.g., 0.5), the rendering system will start to rotate the avatar's torso to the right as well, which will reduce the increase in the torso to head delta angle and maintain the discomfort level below the threshold. The viewer sees the avatar's head initially begin to turn to the right, followed by the avatar's torso rotating toward the right, until the avatar is rendered as looking at the target. Thus, in this example, the rendering system generates movement of the avatar that is natural and human-like. As another example, the avatar may initially turn its head to look at an interesting impulse. However, the interestingness of the interesting impulse may increase (e.g., due to changes of the interesting impulse or interactions with the viewer). As time passes, the discomfort level associated with the avatar's head pose (e.g., turning the head to look at the interesting impulse) may increase which may cause the avatar to turn its body to continue looking at the interesting impulse while reducing discomfort level. For relative body movements that might lead to extreme discomfort, the discomfort threshold can be set to a lower value so that movement of a first body part will relatively rapidly lead to movement of a second, adjacent body part. If the relative body motions are readily performed by humans without discomfort, the discomfort threshold can be set to a higher value since movement of just one body part may be sufficient to accomplish the motion. Individual discomfort thresholds can be set for each of the discomfort curves used by the rendering system and these discomfort curves (or thresholds) can be adjustable, modifiable, or dynamically changeable as further described below.
The discomfort curves can be interchanged or modified based on the virtual avatar's current mood or mode. As shown in
As another example, the tangents to the discomfort curve (e.g., slopes) may be larger where the virtual avatar is agitated than when the virtual avatar is calm. As a result, the virtual avatar may reach a threshold discomfort level faster when agitated than when the virtual avatar is calm.
A discomfort curve may be represented by a mathematical parameterization by the anatomy adjustment system 698 (e.g., a mathematical formula, spline, lookup table, etc.). The discomfort curve (or discomfort thresholds) may include parameters that can be adjusted to reflect avatar behavior (e.g., standing v. walking), mood (e.g., agitated v. calm), etc. so that the anatomy adjustment system 698 can readily determine whether discomfort exists in an avatar movement and adjust (or not adjust) adjacent avatar body parts accordingly.
As an example application of animating an avatar's body parts based on discomfort curves, the wearable system can utilize one vertical angle adjustment animation (e.g., animating a tilting movement of a head) and three horizontal angle adjustment animations. The three horizontal angle adjustment animations can be chained together such that a change in one part of the body can cause the change in another part of the body which can in turn cause a change in the third party of the body. This chain reaction can be based on the discomfort levels between two or more body parts (such that if a change in one part of the body increases the discomfort level over a threshold, the neighboring part can move accordingly to reduce the discomfort level, and further increase of the discomfort level (e.g., over another threshold) can result in movement of the third body part).
As an example, in a horizontal adjustment angle chain, the eye movements can drive the head's left-right rotation animation which can in turn drive the torso's left-right animation which can in turn drive the hip's left-right animation rotation. Although the examples in this paragraph describe one vertical angle adjustment animation and three horizontal angle adjustment animations, any number of other horizontal (or vertical) animations could be inserted into this chain (and any number of associated discomfort curves can be used). The techniques described herein are not limited to these numbers of horizontal or vertical angle adjustment animations. For example, some embodiments may include only one horizontal and one vertical angle change to animate a simple head turn while other embodiments may include a horizontal rotation and vertical shift to represent a head turn and an additional horizontal rotation to represent the movement of the torso.
In certain embodiments, behavioral responses can also be inserted at points along the curve. For example, if the discomfort gets too high, a dialog from the avatar can be triggered. For example, if the avatar movement would lead to a sufficiently large discomfort level, the avatar may be rendered to say “ouch!” As another example, an avatar behavior to choose another target interesting impulse can also be triggered if the discomfort gets too high. For example, rather than moving to look at a target object that requires a large head and body rotation, the avatar may move part of the way, and then gesture to the target object with a hand. Such combined motion can keep the discomfort level below appropriate thresholds and can advantageously mimic real human behavior.
The process begins by determining an orientation of a first body part with respect to an adjacent second body part of an avatar at block 3910. In certain implementations, to determine the relative position of the two body parts of an avatar, the wearable system can communicate with a proprioception system which can track rotations of various parts of the body relative to each other, such as e.g., the rotation of the head relative to the torso. In certain implementations, the orientation of a first body part with respect to an adjacent second body part may be deconstructed into a horizontal angle component and a vertical angle component. For example, a head turn may be deconstructed into a horizontal angle of 30 degrees towards the right and a vertical angle of 15 degrees upwards in relation to the torso.
At block 3920, the wearable system can access a discomfort curve associated with the avatar's environment or interaction. For example, a discomfort curve can be automatically selected depending on the virtual avatar's mood or mode as described with reference to
At block 3930, the wearable system can determine a discomfort level based on the orientation. For example, the wearable system can input an angle between the first body part and the second body into a discomfort curve to calculate the discomfort level associated with the angle.
At block 3940, the wearable system can determine whether the discomfort level passes a threshold condition. The threshold condition may cause the avatar to change its pose. If the discomfort level does not pass the threshold condition, the process 3900 moves to block 3960, where the wearable system monitors the avatar's environment or interaction. If the discomfort level passes the threshold condition, the process 3900 moves to block 3950.
At block 3950, the wearable system can adjust the pose of the first body part or the second body part. As described with reference to
The animation of a body part may be bounded by limits proscribed by the discomfort curve to produce a more natural and lifelike animation. For example, the discomfort curve governing the animation of the torso in relation to the head may prohibit the head from horizontally rotating more than 60 degrees in relation to the torso.
At block 3960, the wearable system monitors the avatar's environment or interaction. For example, the wearable system can monitor changes in the interesting impulse or viewer's pose. The wearable system can also monitor the response of avatar to the environment, such as, e.g., a change in the avatar's interaction or mood which may be due to a change in the environment or the viewer's interaction.
At block 3970, if the wearable system doesn't detect a change in the environment or interaction, the process 3900 loops back to block 3960. Otherwise, the process 3900 moves to the block 3920 where the wearable system can determine a discomfort curve appropriate for the avatar's mode or mood. For example, a new discomfort curve may be applied to govern the animation of an avatar's head and torso as the virtual avatar transitions from sitting in a chair to running across a room. While the discomfort curve for sitting may permit the head to rotate 45 degrees to the left and right in relation to the torso, the new discomfort curve may restrict the head from rotating more than 20 degrees in relation to the torso to reflect the fact that a real human tends to look straight ahead while running.
The example process shown in
In a 1st aspect, a wearable system for automatically scaling a virtual avatar, the wearable system comprising: a device sensor configured to image an environment of a user; a pose sensor configured to measure a pose of the user; a display configured to display virtual content in a mixed reality environment; and a hardware processor programmed to: receive pose data from the pose sensor; calculate a head position of a user with reference to a world frame based at least partly on the pose data, wherein the world frame includes a reference frame associated with the user's environment; determine a major horizontal plane with reference to the world frame in the user's environment; calculate a height of the user based on the major horizontal plane and the user's head position; calculate a target height of an avatar based at least partly on the user's height; automatically scale the avatar based on the target height; and cause the display to automatically render the avatar at the target height.
In a 2nd aspect, the wearable system of aspect 1, wherein to calculate the user's height, the hardware processor is programmed to: perform a ray casting between the head position and the major horizontal plane; and calculate the user's height based on the vertical height difference between the head position and the major horizontal plane.
In a 3rd aspect, the wearable system of aspect 2, wherein the horizontal major plane is associated with a plane on which an avatar is rendered, and the target height of the avatar is the vertical height difference between the head position and the major horizontal plane.
In a 4th aspect, the wearable system of aspect 2 or 3, wherein the horizontal major plane is associated with a plane on which the user is standing, and the target height of the avatar is calculated based on the formula below: AvatarH=UserH+UserSupportPlaneH−AvatarSupportPlaneH where AvatarH is the target height of the avatar, UserH is user's height, and UserSupportPlaneH represents a height of the major horizontal plane on which the user is situated, and the AvatarSupportPlaneH represents a height of a plane on which the avatar is to be rendered.
In a 5th aspect, the wearable system of aspect 4, wherein the height of the major horizontal plane and the height of the plane on which the avatar is to be rendered are measured with reference to a ground plane which is below the major horizontal plane and the height of the plane on which the avatar is to be rendered.
In a 6th aspect, the wearable system of any one of aspects 1-5, wherein to determine the major horizontal plane, the hardware processor is programmed to: generate a three-dimensional (3D) point cloud based on environment image data acquired by the depth sensing camera; apply a mesh algorithm to extract surfaces from the mesh cloud; convert the surfaces into a 3D polygonal mesh describing the user's environment; and estimate the major horizontal plane based on the 3D polygonal mesh.
In a 7th aspect, the wearable system of aspect 6, wherein to estimate the major plane, the hardware process or is programmed to: detect groups of connected polygons with similar orientation.
In an 8th aspect, the wearable system of any one of aspects 1-7, wherein to determine the major horizontal plane, the hardware processor is programmed to extract a plane in a horizontal orientation directly from a 3D point cloud generated based on environment images acquired by the device sensor.
In a 9th aspect, the wearable system of any one of aspects 1-8, wherein the hardware processor is further programmed to: detect a change in a relative height between the user and the avatar; and in response to the change, dynamically scale the avatar based at least partly on an updated target height.
In any of aspects 1 to 9, the device sensor can comprise a depth-sensing camera or the pose sensor can comprise an inertial measurement unit.
In a 10th aspect, a method for automatically scaling a virtual avatar, the method comprising: receiving pose data of a user; calculating a head position of the user based at least partly on the pose data; determining a major horizontal plane in the user's environment; calculating a user's height based on the major horizontal plane and the user's head position; calculating a target height of an avatar based at least partly on the user's height; and determining a scale for adjusting a size of the avatar based on the target height.
In an 11th aspect, the method of aspect 10, further comprising: causing a display to automatically render the virtual avatar at the target height in a mixed reality environment.
In a 12th aspect, the method of aspect 10 or 11 wherein calculating the user's height comprises performing a ray casting from the user's head position and calculating the user's height based on the vertical height difference between the head position and the major horizontal plane.
In a 13th aspect, the method of aspect 12, wherein the major horizontal plane is associated with a plane on which an avatar is rendered, and the target height of the avatar is the vertical height difference between the head position and the major horizontal plane.
In a 14th aspect, the method of aspect 12 or 13, wherein the major horizontal plane is associated with a plane on which the user is standing, and the target height of the avatar is calculated based on the formula below: AvatarH=UserH+UserSupportPlaneH−AvatarSupportPlaneH where AvatarH is the target height of the avatar, UserH is user's height, and UserSupportPlaneH represents a height of the major horizontal plane on which the user is situated, and the AvatarSupportPlaneH represents a height of a plane on which the avatar is to be rendered.
In a 15th aspect, the method of aspect 14, wherein the height of the major horizontal plane and the height of the plane on which the avatar is to be rendered are measured with reference to a ground plane which is below the major horizontal plane and the height of the plane on which the avatar is to be rendered.
In a 16th aspect, the method of any one of aspects 10-15, wherein determining the major horizontal plane comprises: generating a three-dimensional (3D) point cloud based on environment image data acquired by the depth sensing camera; applying a mesh algorithm to extract surfaces form the mesh cloud; converting the surfaces into a 3D polygonal mesh describing the user's environment; and estimating the major horizontal plane based on the 3D polygonal mesh.
In a 17th aspect, the method of aspect 16, wherein estimating the major plane comprises detecting groups of connected polygons with similar orientation.
In an 18th aspect, the method of any one of aspects 10-17, wherein determining the major horizontal plane comprises extracting a plane in a horizontal orientation directly from a 3D model of the environment generated based on environment images.
In a 19th aspect, the method of any one of aspects 10-18, further comprising: detecting a change in a relative height between the user and the avatar; and in response to the change, dynamically resizing the avatar based at least partly on an updated scale.
In a 20th aspect, the method of any one of aspects 10-19, wherein the head position and the major horizontal plane are determined in reference to a world frame.
In a 21st aspect, a wearable device for determining an intent of an user interaction, the wearable device comprising: a device sensor configured to acquire a user's interaction data with the user's environment; and a hardware processor programmed to: identify a user interaction based on the interaction data acquired from the device sensor; decompose the user interaction into at least one of: a world component or a local component, wherein the world component comprises an action with reference to a world frame of the user's environment and a local component comprises an action with reference to a local frame of the user's body; determine an intent associated with the user's interaction based on contextual information; and communicate at least one of: the intent, information associated with the world component, or information associated with the local component to another wearable device to cause the other wearable device to map the user interaction to the user's avatar rendered by the other wearable device based on the intent.
In a 22nd aspect, the wearable device of aspect 21, wherein the user interaction comprises at least one of an interaction with the user's environment or an object of interest in the user's environment.
In a 23rd aspect, the wearable device of aspect 22, wherein the object of interest comprises a physical object in the environment or a virtual object.
In a 24th aspect, the wearable device of aspect 23, wherein the object of interest is a virtual avatar of another user.
In a 25th aspect, the wearable device of any one of aspects 21-24, wherein the user interaction is performed via at least one of a head pose, eye gaze, or body pose, or a movement in the user's environment.
In a 26th aspect, the wearable device of any one of aspects 21-25, wherein the device sensor comprises at least one of: an inertial measurement unit (IMU), an outward-facing camera, or an eye tracking camera.
In a 27th aspect, the wearable device of any one of aspects 21-26, wherein the contextual information comprises at least one of layout of objects in the user's environment, location of the objects in the environments, the user's position, or the user's orientation.
In a 28th aspect, the wearable device of any one of aspects 21-27, wherein the intent is associated with the world component of the user interaction.
In a 29th aspect, the wearable device of any one of aspects 21-28, wherein the information associated with the local component comprises an animation of the local component of the user interaction.
In a 30th aspect, a method for rendering a virtual avatar for a remote user interaction, the method comprising: determining contextual information associated with a first user's environment in which a second user's avatar is rendered; determining a second user's intent associated with a user interaction of the second user that occurred in the second user's environment; determining a world action of the second user's avatar with respect to the first user's world frame based on contextual information and the intent of the second user; animating a local action of the second user's avatar with respect to a local frame of the second user's avatar based on a local component of the user interaction of the second user that occurred in the second user's environment; and causing a display to render the avatar comprising the world action and the local action in a mixed reality environment.
In a 31st aspect, the method of aspect 30, wherein determining the second user's intent comprises at least one of: receiving intent data from the second user's wearable device; or determining the second user's intent from the interaction data of the second user's user interaction.
In a 32nd aspect, the method of aspect 30 or 31, wherein the second user's intent comprises an intent to interact with an object of interest.
In a 33rd aspect, the method of any one of aspects 30-32, wherein the second user's intent comprises an intent to communicate or interact with the first user.
In a 34th aspect, the method of any one of aspects 30-33, wherein the local action is further animated based on the second user's intent associated with the local action.
In a 35th aspect, the method of any one of aspects 30-34, wherein animating the local action comprises performing a collision detection of the avatar as a result of the local action and objects in the first user's environment.
In a 36th aspect, the method of any one of aspects 30-35, wherein the world action comprises at least a movement of the second user's avatar in the first user's environment or an interaction by the second user's avatar with an object in the first user's environment.
In a 37th aspect, a system of rendering a virtual avatar based on a first user's intent in a first environment, the system comprising a hardware processor programmed to: extract environmental information of the first environment from a plurality of sensors; identify a plurality of potential objects of interest based at least partly on received environmental information; determine an object of interest based at least partly on received environmental information, wherein the determination comprises: extending a vector from the user towards each potential object of interest and a sight line vector extending from the user outwards directly in front of the first user; assigning an interest weight value to each potential object of interest, wherein the interest weight of a potential object of interest dynamically changes to reflect changes in the environmental information; and calculating an overall interest value for each potential object of interest, wherein the interest value for a potential object of interest is based at least partly on the interest weight value for the potential object of interest; communicate object of interest information to a remote computing device, wherein object of interest information comprises at least an identifier representing the object of interest; receive communicated object of interest information from a remote computing device; and adjust at least one of a position or orientation of the virtual avatar based at least partly on the received object of interest information from the remote computing device; and a non-transitory computer-readable medium configured to store instructions to execute a process of rendering a virtual avatar based at least partly on received object of interest information.
In a 38th aspect, the system of aspect 37, wherein environmental information comprises a head pose or eye pose of a user or the presence of a plurality of virtual objects.
In a 39th aspect, the system of aspect 37 or 38, wherein the plurality of sensors comprises an outward-facing imaging system which observes the world in an environment around the user, and an inward-facing imaging system which can track the movement of the user's eyes.
In a 40th aspect, the system of any one of aspects 37-39, wherein the determination of an object of interest further comprises calculating the dot product between a vector associated with a potential object of interest and the user's sight line vector.
In a 41st aspect, the system of any one of aspects 37-40, wherein the determination of an object of interest occurs whenever a change in condition in the environment around the user is detected, wherein the change in condition comprises: a change in the user's pose, a change in the user's position in the environment, a change in position of a potential object of interest.
In a 42nd aspect, the system of any one of aspects 37-41, wherein the determination of an object of interest is based at least partly on the head pose of the first user and the user's semantic interest.
In a 43rd aspect, the system of aspect 42, wherein the determination of an object of interest further comprises performing ray casting from the user towards the direction of the user's sight line vector.
In a 44th aspect, the system of any one of aspects 37-43, wherein the object of interest information further comprises an offset angle between a vector associated with a potential object of interest and a user's sight line vector.
In a 45th aspect, the system of any one of aspects 37-44, wherein the adjustment of at least one of a position or orientation of the virtual avatar comprises rotating at least a portion of the virtual avatar to face the location of the object of interest by an offset angle between a vector associated with a potential object of interest and the user's sight line vector.
In a 46th aspect, a method of rendering a virtual avatar based on a first user's intent in a first environment, the method comprising: accessing pose data of a first user, wherein pose data comprises at least an eye pose or head pose; identifying a plurality of potential objects of interest in an environment of the first user based at least partly on the pose data of the first user; determining an object of interest to the first user from the plurality of potential objects of interest in the environment of the first user based at least partly on the pose data of the first user; communicating object of interest information to a second user, wherein object of interest information comprises at least an identifier representing the object of interest; receiving object of interest information from the first user; identifying a location of the object of interest in a second environment with respect to a virtual avatar in the second environment; and adjusting at least one of a position or orientation of the virtual avatar in a second environment based at least partly on the location of the object of interest in the second environment with respect to the virtual avatar in the second environment.
In a 47th aspect, the method of aspect 46, wherein accessing pose data of a first user is done by an outward-facing imaging system which observes the world in an environment around the first user, and an inward-facing imaging system which tracks the movement of the first user's eyes.
In a 48th aspect, the method of aspect 46 or 47, wherein determining an object of interest comprises: extending a vector from the user towards each potential object of interest and a sight line vector extending from the user outwards directly in front of the user; assigning an interest weight value to each potential object of interest, wherein the interest weight of a potential object of interest dynamically changes to reflect changes in the environment; and calculating an overall interest value for each potential object of interest, wherein the interest value for a potential object of interest is based at least partly on the interest weight value for the potential object of interest.
In a 49th aspect, the method of any one of aspects 46-48, wherein determining an object of interest further comprises calculating the dot product between a vector associated with a potential object of interest and the user's sight line vector.
In a 50th aspect, the method of any one of aspects 46-49, wherein determining an object of interest occurs whenever a change in condition in the environment around the user is detected, wherein the change in condition comprises: a change in the user's pose, a change in the user's position in the environment, a change in position of a potential object of interest.
In a 51st aspect, the method of any one of aspects 46-50, wherein determining an object of interest is based at least partly on the head pose of the first user and the user's semantic interest.
In a 52nd aspect, the method of aspect 51, wherein determining an object of interest further comprises performing ray casting from the user towards the direction of the user's sight line vector.
In a 53rd aspect, the method of any one of aspects 46-52, wherein the object of interest information further comprises an offset angle between a vector associated with a potential object of interest and the user's sight line vector.
In a 54th aspect, the method of any one of aspects 46-53, wherein adjusting at least one of a position or orientation of the virtual avatar comprises rotating the virtual avatar to face the location of the object of interest by an offset angle between a vector associated with a potential object of interest and the user's sight line vector.
In a 55th aspect, a wearable system for adjusting an avatar's interaction based on contextual information, the wearable system comprising: a mixed reality display for rendering a virtual avatar in an environment of a viewer; a hardware processor programmed to: determine a plurality of interesting impulses in the environment; calculate interestingness values associated with the plurality of interesting impulses; determine a target interesting impulse based at least partly on the interestingness values associated with the plurality of interesting impulses; and cause the mixed reality display to render an animation of the avatar to respond to the target interesting impulse.
In a 56th aspect, the wearable system of aspect 55, wherein the plurality of interesting impulses comprises one or more of an interesting object or an area of interest.
In a 57th aspect, the wearable system of aspect 56, wherein the interesting object comprises a social triangle or a gaze box.
In a 58th aspect, the wearable system of any one of aspects 55-57, at least one of the interestingness values associated with the plurality of interesting impulses is calculated based on an inherent interestingness associated with at least one of the plurality of interesting impulses and one or more adjustment factors comprising at least one of: a time duration, a triggering event in the environment, or an interaction of the viewer.
In a 59th aspect, the wearable system of any one of aspects 55-58, wherein the hardware processor is further programmed to monitor changes in the interestingness values of the plurality of interesting impulses based at least partly on updates to values associated with the adjustment factors and update the target interesting impulse to another interesting impulse in response to a determination that a change to the interestingness value of the interesting impulse passes a threshold condition.
In a 60th aspect, the wearable system of any one of aspects 55-59, wherein to determine the target interesting impulse, the hardware processor is programmed to: select an interesting impulse from the plurality of interesting impulse as the target interesting impulse where the interesting impulse has the highest interestingness value.
In a 61st aspect, the wearable system of any one of aspects 55-60, wherein the hardware processor is further programmed to provide a boost to an interestingness value associated with an interesting impulse upon a determination that the interesting impulse is the target interesting impulse.
In a 62nd aspect, the wearable system of any one of aspects 55-61, wherein the target interesting impulse is an interesting object, to render the animation of the avatar to respond to the target interesting impulse, the hardware processor is programmed to: animate saccadic eye movements for the avatar based at least partly on saccade points associated with the interesting object.
In a 63rd aspect, the wearable system of aspect 62, wherein to animate saccadic eye movement at a given time, the hardware processor is programmed to: determine a plurality of polygons on the interesting object for holding the saccade points; calculate a probability associated with a saccade point landing on each polygon of the plurality of polygons; select a polygon based on the probability associated with the polygon; randomly select a point on the surface of the polygon as the saccade point; adjust the avatar's eye pose to focus on the saccade point.
In a 64th aspect, the wearable system of aspect 63, wherein the probability calculated based on respective area associated with each polygon of the plurality of polygons.
In a 65th aspect, a method of animating an avatar with saccadic eye movements, the method comprising: identifying an interesting object in an environment of an avatar; determining a plurality of polygons on the interesting object for holding saccade points; calculating a probability associated with a saccade point landing on each polygon of the plurality of polygons; selecting a polygon based on the probability associated with the polygon; randomly selecting a point on the surface of the polygon as the saccade point; and adjusting the avatar's eye pose to focus on the saccade point at a given time.
In a 66th aspect, the method of aspect 65, wherein the interesting object comprises a social triangle or a gaze box.
In a 67th aspect, the method of aspect 65 or 66, wherein the interesting object is determined by calculating interestingness values associated with objects in the avatar's field of view.
In a 68th aspect, the method of aspect 67, wherein an interestingness value decays with a passage of time.
In a 69th aspect, the method of any one of aspects 65-68, further comprising: recalculating a saccade time after a randomized window of saccade timing has expired.
In a 70th aspect, the method of any one of aspects 65-69, wherein the plurality of polygons is determined based on the avatar's saccade frustum.
In a 71st aspect, a method for identifying a social triangle for animating an avatar's eye movements, comprising: accessing parameters of a social triangle associated with a face, wherein the social triangle includes a region of the face which is used for animating an avatar's eye movements when the avatar looks at the face; identifying a first feature, and a second feature associated with a face based at least partly on the parameters, wherein at least one of the first feature or the second feature comprises a plurality of sub-features; determining a first vertex, a second vertex, and a third vertex based at least partly on the first and second features; determining a bounded area formed by the first, second, and third vertices; and assigning the bounded area as the social triangle.
In a 72nd aspect, the method of aspect 71, wherein the avatar's eye movements are limited to points within the bounded area.
In a 73rd aspect, the method of aspect 71 or 72, wherein the first feature comprises a first sub-feature of a portion of a first eye and a second sub-feature of a portion of a second eye.
In a 74th aspect, the method of any one of aspects 71-73, wherein the second feature comprises at least one of: a portion of the chin or a portion of the mouth.
In a 75th aspect, the method of any one of aspects 71-74, wherein the first feature comprises at least a portion of a head-mounted display for rendering the avatar, the first vertex comprises a first end of the head-mounted display, and the second vertex comprises a second end of the head-mounted display.
In a 76th aspect, the method of any one of aspects 71-75, further comprising calculating a gravity vector and wherein the second vertex is extracted by positioning the second vertex at a location based on the orthogonal distance of the first vertex from the gravity vector, wherein the gravity vector intersects the third vertex.
In a 77th aspect, a system for driving animation of a virtual avatar using a discomfort curve, the system comprising: a non-transitory computer-readable medium configured to store: an orientation of a first body part of a virtual avatar with respect to an adjacent second body part of the virtual avatar; and at least one discomfort curve governing motion of the first body part with respect to the adjacent second body part of the virtual avatar; and a hardware processor programmed to: determine an orientation of the first body part of the virtual avatar with respect to the adjacent second body part of the virtual avatar; access the at least one discomfort curve governing the motion of the first body part with respect to the adjacent second body part; and drive an animation of the first body part with respect to the adjacent second body part of the virtual avatar at least in part according to the at least one discomfort curve. In some embodiments of the 77th aspect, the hardware processor can execute a virtual agent to drive the animation. In some embodiments of the 77th aspect, to drive the animation, the hardware processor is programmed to reduce or minimize a value returned from the discomfort curve. In some embodiments of the 77th aspect, in to drive the animation, the hardware processor is programmed to keep a value returned from the discomfort curve below a threshold value.
In a 78th aspect, the system of aspect 77, wherein the hardware processor is programmed to deconstruct the orientation of the first body part with respect to the adjacent second body part into a horizontal angle component or a vertical angle component; and drive the animation with respect to the adjacent second body part based on at least one of the horizontal angle component or the vertical angle component.
In a 79th aspect, the system of aspect 77 or 78, wherein to drive the animation, the hardware processor is further programmed to turn the first body part or the second body part such that the first body part is at the orientation with respect to the second body part; determine a discomfort level after a duration of time based at least partly on the discomfort curve; and in response to a determination that the discomfort level exceeds a threshold, turn either the first body part or the second body part such that the first body part is at another orientation with respect to the second body part which has a reduced discomfort level.
In an 80th aspect, the system of any one of aspects 77-79, wherein the animation of the virtual avatar is driven in a way as to reduce or minimize a value returned from the discomfort curve.
In an 81st aspect, the system of any one of aspects 77-80, further comprising a proprioception system configured to track the orientation of the first body part with respect to the adjacent second body part.
In an 82nd aspect, the system of any one of aspects 77-81, wherein a discomfort curve describes a discomfort level with respect to an angle between the first body part and the second body part.
In an 83rd aspect, the system of any one of aspects 77-82, wherein the discomfort curve is automatically generated using a deep learning or regression analysis of pose data.
In an 84th aspect, the system of any one of aspects 77-83, wherein the animation of the first body part with respect to the adjacent second body part is prohibited if movement exceeds a discomfort threshold on the discomfort curve.
In an 85th aspect, the system of any one of aspects 77-84, wherein the hardware processor is further programmed to detect a change in a mood or mode of the virtual avatar based on changes in an environment in which the virtual avatar is rendered or an interaction of the virtual avatar.
In an 86th aspect, the system of aspect 85, wherein the discomfort curve is modified based on the virtual avatar's current mood or mode.
In an 87th aspect, the system of aspect 85 or 86, wherein the detection of the change in the virtual avatar's mode or mood causes an access of a new discomfort curve governing the movement of the first body part with respect to the adjacent second body part.
In an 88th aspect, the system of any one of aspects 77-87, wherein the change in the virtual avatar's mode comprises a movement of the virtual avatar in an environment.
In an 89th aspect, the system of any one of aspects 77-88, wherein the hardware processor is further programmed to: determine that a value of the at least one discomfort curve passes a threshold; and in response to the determination, cause performance of an additional avatar behavior.
In a 90th aspect, the system of aspect 89, wherein the additional avatar behavior comprises making a sound or making a gesture.
In a 91st aspect, the system of any one of aspects 77-90, wherein to drive the animation of the first body part with respect to the adjacent second body part, the hardware processor is programmed to: move the first body part until a first discomfort threshold of the at least one discomfort curve is reached; and move the second body part to reduce the value of the at least one discomfort curve to be below the first discomfort threshold.
In a 92nd aspect, the system of aspect 91, wherein the hardware processor is further programmed to: move a third body part of the virtual avatar to reduce the value of the at least one discomfort curve to be below a second discomfort threshold.
In an 93rd aspect, a method of driving animation of a virtual avatar using a discomfort curve, the method comprising: determining an orientation of a first body part of a virtual avatar with respect to a second body part of the virtual avatar; accessing at least one discomfort curve governing the motion of the first body part with respect to the second body part; driving an animation of the first body part with respect to the second body part at least in part according to the at least one discomfort curve. The second body part of the virtual avatar may be adjacent to the first body part of the virtual avatar.
In a 94th aspect, the method of aspect 93, further comprising: deconstructing the orientation of the first body part with respect to the adjacent second body part into a horizontal angle component or a vertical angle component; and driving the animation with respect to the adjacent second body part at least in part based on at least one of the horizontal angle component or the vertical angle component.
In a 95th aspect, the method of aspect 93 or 94, wherein animating the virtual avatar is driven in a way as to reduce or minimize a value returned from the discomfort curve.
In a 96th aspect, the method of any one of aspects 93-95, wherein the orientation is determined based at least partly on data in a proprioception system.
In a 97th aspect, the method of aspect 96, wherein the proprioception system further stores discomfort curves and formulas for rotations between body parts.
In a 98th aspect, the method of any one of aspects 93-97, wherein the discomfort curve describes a discomfort level with respect to an angle of a body part relative to an adjacent body part.
In a 99th aspect, the method of any one of aspects 93-98, wherein the discomfort curve describes a level of effort for an avatar to maintain the first body part or the second body part in a pose.
In a 100th aspect, the method of any one of aspects 93-99, wherein the discomfort curve is generated automatically using deep learning or regression analysis of pose data.
In a 101st aspect, the method of any one of aspects 93-100, wherein animating the first body part with respect to the adjacent second body part is prohibited if the movement exceeds a discomfort threshold on the discomfort curve.
In a 102nd aspect, the method of any one of aspects 93-101, wherein the discomfort curve is modified based on the virtual avatar's current mood or mode.
In a 103rd aspect, the method of any one of aspects 93-102, wherein driving the animation of the first body part with respect to the adjacent second body comprises chaining motion of the second body part to motion of the first body part based at least in part on a value of the at least one discomfort curve.
In a 104th aspect, the method of aspect 103, wherein motion of the second body part does not occur until the value of the at least one discomfort curve passes a threshold.
Each of the processes, methods, and algorithms described herein and/or depicted in the attached figures may be embodied in, and fully or partially automated by, code modules executed by one or more physical computing systems, hardware computer processors, application-specific circuitry, and/or electronic hardware configured to execute specific and particular computer instructions. For example, computing systems can include general purpose computers (e.g., servers) programmed with specific computer instructions or special purpose computers, special purpose circuitry, and so forth. A code module may be compiled and linked into an executable program, installed in a dynamic link library, or may be written in an interpreted programming language. In some implementations, particular operations and methods may be performed by circuitry that is specific to a given function.
Further, certain implementations of the functionality of the present disclosure are sufficiently mathematically, computationally, or technically complex that application-specific hardware or one or more physical computing devices (utilizing appropriate specialized executable instructions) may be necessary to perform the functionality, for example, due to the volume or complexity of the calculations involved or to provide results substantially in real-time. For example, animations or video may include many frames, with each frame having millions of pixels, and specifically programmed computer hardware is necessary to process the video data to provide a desired image processing task or application in a commercially reasonable amount of time.
Code modules or any type of data may be stored on any type of non-transitory computer-readable medium, such as physical computer storage including hard drives, solid state memory, random access memory (RAM), read only memory (ROM), optical disc, volatile or non-volatile storage, combinations of the same and/or the like. The methods and modules (or data) may also be transmitted as generated data signals (e.g., as part of a carrier wave or other analog or digital propagated signal) on a variety of computer-readable transmission mediums, including wireless-based and wired/cable-based mediums, and may take a variety of forms (e.g., as part of a single or multiplexed analog signal, or as multiple discrete digital packets or frames). The results of the disclosed processes or process steps or actions may be stored, persistently or otherwise, in any type of non-transitory, tangible computer storage or may be communicated via a computer-readable transmission medium.
Any processes, blocks, states, steps, or functionalities in flow diagrams described herein and/or depicted in the attached figures should be understood as potentially representing code modules, segments, or portions of code which include one or more executable instructions for implementing specific functions (e.g., logical or arithmetical) or steps in the process. The various processes, blocks, states, steps, or functionalities can be combined, rearranged, added to, deleted from, modified, or otherwise changed from the illustrative examples provided herein. In some embodiments, additional or different computing systems or code modules may perform some or all of the functionalities described herein. The methods and processes described herein are also not limited to any particular sequence, and the blocks, steps, or states relating thereto can be performed in other sequences that are appropriate, for example, in serial, in parallel, or in some other manner. Tasks or events may be added to or removed from the disclosed example embodiments. Moreover, the separation of various system components in the implementations described herein is for illustrative purposes and should not be understood as requiring such separation in all implementations. It should be understood that the described program components, methods, and systems can generally be integrated together in a single computer product or packaged into multiple computer products. Many implementation variations are possible.
The processes, methods, and systems may be implemented in a network (or distributed) computing environment. Network environments include enterprise-wide computer networks, intranets, local area networks (LAN), wide area networks (WAN), personal area networks (PAN), cloud computing networks, crowd-sourced computing networks, the Internet, and the World Wide Web. The network may be a wired or a wireless network or any other type of communication network.
The systems and methods of the disclosure each have several innovative aspects, no single one of which is solely responsible or required for the desirable attributes disclosed herein. The various features and processes described above may be used independently of one another, or may be combined in various ways. All possible combinations and subcombinations are intended to fall within the scope of this disclosure. Various modifications to the implementations described in this disclosure may be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other implementations without departing from the spirit or scope of this disclosure. Thus, the claims are not intended to be limited to the implementations shown herein, but are to be accorded the widest scope consistent with this disclosure, the principles and the novel features disclosed herein.
Certain features that are described in this specification in the context of separate implementations also can be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation also can be implemented in multiple implementations separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination. No single feature or group of features is necessary or indispensable to each and every embodiment.
Conditional language used herein, such as, among others, “can,” “could,” “might,” “may,” “e.g.,” and the like, unless specifically stated otherwise, or otherwise understood within the context as used, is generally intended to convey that certain embodiments include, while other embodiments do not include, certain features, elements and/or steps. Thus, such conditional language is not generally intended to imply that features, elements and/or steps are in any way required for one or more embodiments or that one or more embodiments necessarily include logic for deciding, with or without author input or prompting, whether these features, elements and/or steps are included or are to be performed in any particular embodiment. The terms “comprising,” “including,” “having,” and the like are synonymous and are used inclusively, in an open-ended fashion, and do not exclude additional elements, features, acts, operations, and so forth. Also, the term “or” is used in its inclusive sense (and not in its exclusive sense) so that when used, for example, to connect a list of elements, the term “or” means one, some, or all of the elements in the list. In addition, the articles “a,” “an,” and “the” as used in this application and the appended claims are to be construed to mean “one or more” or “at least one” unless specified otherwise.
As used herein, a phrase referring to “at least one of” a list of items refers to any combination of those items, including single members. As an example, “at least one of: A, B, or C” is intended to cover: A, B, C, A and B, A and C, B and C, and A, B, and C. Conjunctive language such as the phrase “at least one of X, Y and Z,” unless specifically stated otherwise, is otherwise understood with the context as used in general to convey that an item, term, etc. may be at least one of X, Y or Z. Thus, such conjunctive language is not generally intended to imply that certain embodiments require at least one of X, at least one of Y and at least one of Z to each be present.
Similarly, while operations may be depicted in the drawings in a particular order, it is to be recognized that such operations need not be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Further, the drawings may schematically depict one more example processes in the form of a flowchart. However, other operations that are not depicted can be incorporated in the example methods and processes that are schematically illustrated. For example, one or more additional operations can be performed before, after, simultaneously, or between any of the illustrated operations. Additionally, the operations may be rearranged or reordered in other implementations. In certain circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the implementations described above should not be understood as requiring such separation in all implementations, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products. Additionally, other implementations are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results.
This application claims the benefit of priority to U.S. Provisional Patent Application No. 62/598,905, filed Dec. 14, 2017, entitled “CONTEXTUAL-BASED RENDERING OF VIRTUAL AVATARS,” which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
62598905 | Dec 2017 | US |