Split rendering between head mounted display and host computer
The split rendering workload between an HMD and a host computer enhances VR systems by providing high-quality graphics and increased mobility through wireless communication and HMD latency compensation.
Patent Information
- Application Number
- JP2022534368
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-12-17
- Filing Date
- 2020-12-15
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-12-15
AI Technical Summary
Traditional VR systems face limitations in mobility and comfort due to wired connections, while standalone VR headsets compromise on quality for comfort, failing to provide high-quality graphics without tethering.
A system that splits the frame rendering workload between a head-mounted display (HMD) and a host computer, utilizing wireless communication to distribute computational tasks, allowing the HMD to compensate for latency and perform reprojection adjustments using onboard graphics processing.
Enables high-quality VR experiences with increased mobility and comfort by leveraging the host computer's computational power while reducing latency through wireless communication and HMD adjustments.
Smart Images

Figure 0007566906000001 
Figure 0007566906000002 
Figure 0007566906000003
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This is a PCT application that claims priority to U.S. Patent Application No. 16 / 717,940, filed December 17, 2019, entitled "SPLIT RENDERING BETWEEN A HEAD-MOUNTED DISPLAY (HMD) AND A HOST COMPUTER," which is incorporated by reference in its entirety. [Background technology]
[0002] Virtual reality (VR) systems are used both inside and outside the video game industry. A traditional VR system setup includes a VR headset that is physically tethered to a host computer via a wired data connection. In this traditional setup, the host computer runs graphics-based applications, such as video games. In video games, most, if not all, of the graphics rendering operations are handled by the host computer, and the VR headset simply displays the pixel data received from the host computer. This setup leverages the high computational capacity of the host computer and the low latency of a wired connection to display high quality images on a lightweight VR headset that acts like a "thin client" device with respect to the graphics processing power of the headset. However, because such VR headsets are physically connected to the host computer, a user's mobility is limited while using the VR headset. Additionally, setting up and taking down such VR systems is more difficult than necessary due to the requirement to connect and disconnect cables.
[0003] On the other end of the spectrum, all-in-one (or standalone) VR headsets perform the entirety of the graphics processing operations to display images without a separate machine. Standalone VR headsets offer users greater mobility since they do not need to be tethered to a host computer, but it can be difficult to manufacture an all-in-one VR headset that is both comfortable and capable of rendering high-quality graphics. For example, standalone VR headsets tasked with performing computationally intensive, power-hungry graphics processing operations to render high-quality graphics tend to heat up very quickly, and they also tend to be cumbersome and / or heavy, making them uncomfortable to wear for long periods of time. To mitigate these shortcomings, some standalone VR headsets trade quality for comfort by using lower quality graphics processing components that render graphics at lower resolutions, lower dynamic ranges, and / or a limited set of basic textures, allowing for lighter headsets that are less computationally intensive in their onboard graphics processing operations and do not heat up too much, and therefore more comfortable to wear. However, users who want to experience high-quality graphics in VR are frustrated with today's standalone VR headsets, which fail to provide both quality and comfort.
[0004] Provided herein are technical solutions for improving and enhancing these and other systems. [Brief description of the drawings]
[0005] The detailed description will now be described with reference to the accompanying drawings, in which: In each figure, the leftmost digit(s) of a reference number identifies the figure in which the reference number first appears. Use of the same reference number in different figures indicates similar or identical components or features.
[0006] [Figure 1]FIG. 2 illustrates an example technique for splitting the rendering workload of a frame between a head mounted display (HMD) and a host computer, according to an embodiment disclosed herein. [Diagram 2] FIG. 1 illustrates two example timelines showing the rendering workload of each of the individual frames, each of which is divided between the host computer and the HMD, according to an embodiment disclosed herein. [Diagram 3] FIG. 1 illustrates a flow diagram of an exemplary process for rendering a frame by dividing the rendering workload of the frame between an HMD and a host computer, according to embodiments disclosed herein. [Figure 4] 1 illustrates a flow diagram of an exemplary process for applying reprojection adjustments to an HMD based on motion vector data generated by a host computer, according to embodiments disclosed herein. [Diagram 5] FIG. 1 illustrates a flow diagram of an exemplary process for applying reprojection adjustments based on redundant pixel data generated by an application running on a host computer, according to embodiments disclosed herein. [Figure 6] FIG. 1 illustrates a flow diagram of an exemplary process for applying reprojection adjustments based on depth data generated by an application running on a host computer, according to embodiments disclosed herein. [Figure 7] FIG. 1 shows a flow diagram of an example process for an HMD to receive hand tracking data directly from a handheld controller and use the hand tracking data to overlay virtual hands on an application rendering scene, according to an embodiment disclosed herein. [Figure 8A] 1 illustrates an alternative setup of a system for splitting the workload of rendering frames between an HMD and a host computer, according to embodiments disclosed herein. [Figure 8B]1 illustrates an alternative setup of a system for splitting the workload of rendering frames between an HMD and a host computer, according to embodiments disclosed herein. [Figure 9] 1 illustrates example components of a wearable device, such as an HMD (e.g., a VR headset), in which the techniques disclosed herein can be implemented. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] A head mounted display (HMD) may be worn by a user for the purpose of immersing the user in a virtual reality (VR) or augmented reality (AR) environment. One or more display panels of the HMD present images based on data generated by an application (e.g., a video game). The application runs on a host computer communicatively coupled to the HMD, and the application generates pixel data for each frame of a sequence of frames. The pixel data is transmitted to the HMD to present an image that is viewed by the user through optics included in the HMD, thereby causing the user to perceive the image as if the user were immersed in the VR or AR environment.
[0008] Described herein are, among other things, techniques and systems for splitting the rendering workload of an individual frame between an HMD and a host computer, such that the host computer performs a first portion of the rendering workload and the HMD performs a second portion of the rendering workload. For a given frame, the HMD is configured to transmit head tracking data to the host computer, and the host computer is configured to use the head tracking data to generate pixel data of the frame and extra data in addition to the pixel data. The extra data can include, but is not limited to, pose data, depth data, motion vector data, parallax occlusion data, and / or extra pixel data. For example, the host computer may use the head tracking data to generate pose data indicative of a predicted pose that the HMD will be in at a time that light emitting elements of a display panel of the HMD are illuminated for the frame. The host computer may additionally or alternatively instruct an application to generate depth data and / or extra pixel data based at least in part on the pose data. The host computer may also generate motion vector data based at least in part on the head tracking data and / or movement within the scene being rendered. Some or all of this extra data may be transmitted from the host computer to the HMD, and the HMD may use at least some of the extra data it receives to modify the pixel data, such as by applying reprojection adjustments to the pixel data. "Reprojection" is a technique that may compensate for slight inaccuracies in the HMD's original pose prediction and / or compensate for an application that is not reaching its frame rate with the same effect as a slightly inaccurate original pose prediction. For example, the pixel data of the application rendered frames may be used to generate reprojected frames by transforming the application rendered frames in a manner that takes into account the HMD's updated prediction of the pose (e.g., through rotation and reprojection calculations).Thus, the modified pixel data obtained by applying the reprojection adjustments (and possibly other adjustments) may be used to present an image on the display panel of the HMD for a given frame, and this process may be repeated for a series of frames.
[0009] In some embodiments, the extra data (also pixel data) generated, transmitted, and / or utilized to render a frame may vary from frame to frame. For example, the host computer may dynamically determine, for each frame, the type and / or extent of the extra data to be generated as part of a first portion of the rendering workload and / or the type and / or extent of the extra data to be transmitted to the HMD. Meanwhile, the HMD may dynamically determine, for each frame, the type and / or extent of the extra data received from the host computer for utilization as part of a second portion of the rendering workload.
[0010] Splitting the rendering workload of a given frame between the host computer and the HMD allows for the implementation of a system in which the host computer and the HMD can be wirelessly connected to each other, something that is currently not feasible with today's high latency wireless communication protocols and HMDs that are fully relied upon on the host computer. Splitting the rendering workload allows for the provision of high quality VR or AR experiences in HMDs that are also comfortable to wear for extended periods of time, since the high computing power of the host computer can still be leveraged in the systems disclosed herein. Furthermore, the HMDs disclosed herein can and do remain physically untethered from the host computer, providing greater mobility to the user in that the user can walk around the space while wearing the HMD without worrying about accidentally removing the HMD, etc., compared to tethered HMDs. Given user demands for high fidelity, high resolution VR graphics, wireless VR systems that comply with these demands tend to be subject to higher latency in data transfer over wireless communication links due to the large amount of data that is transferred wirelessly. This means that the pose prediction of the HMD used by an application to render a given frame is done further in advance in the system disclosed herein compared to the pose prediction of a conventional physically tethered HMD, which itself may be useful for the higher data rates of a wired connection. Pose prediction done further in advance than the light-on time of the frame means that there is more error in the pose prediction compared to the late pose prediction of a physically tethered HMD, which means that the HMD disclosed herein is then tasked to perform computationally intensive graphics processing operations to modify the pixel data received from the host computer (e.g., correct errors in the pixel data received from the host computer) so that a proper image is displayed on the HMD.In general, an HMD armed with extra data received from a host computer is in a better position to account for the relatively low data transfer rates over the wireless communication link between the host computer and the HMD, and to modify the received pixel data in a manner that improves the quality of the resulting image presented on the display panel of the HMD. In addition, the split rendering techniques and systems described herein can enable different rendering frequencies (or frame rates) on each of the host computer and the HMD.
[0011] Thus, the disclosed HMDs are configured to perform a portion of the rendering workload of a given frame, which allows data to be transferred wirelessly between the host computer and the HMD, despite the relatively high latency of a wireless connection compared to the relatively low latency wired connections of today's HMDs. The HMD can compensate for the higher latency of the wireless communication link using on-board graphics processing logic in the HMD that is used to correct errors in the data generated by the host computer. In addition, this on-board graphics processing logic allows the HMD to be used as a standalone device, perhaps in limited usage scenarios. For example, the HMDs disclosed herein can be used in a standalone mode to play video games that render more basic graphics in their images, thereby requiring less computationally intensive graphics processing operations to render a frame. As another example, the HMDs disclosed herein can be used in a standalone mode to play movies and / or video clips on the HMD, all without reliance on a host computer. However, if a user of the HMD disclosed herein wishes to play video games with richer graphics, the user may operate the HMD in a connected manner to take advantage of the additional graphics processing power of the host computer by connecting the HMD to the host computer via either a wired or wireless communication link. A wired communication link may still be utilized by a user who wishes to play video games with richer graphics for extended periods of time by taking advantage of the additional power capacity of the host computer (e.g., so that the HMD does not run out of battery power). For example, compared to today's all-in-one systems, a user may benefit from a high fidelity graphics experience provided by a connected host computer along with the increased mobility enabled by the available wireless connection between the host computer and the HMD.
[0012] Also disclosed herein is a non-transitory computer-readable medium storing computer-executable instructions for implementing the techniques and processes disclosed herein. Although the techniques and systems disclosed herein are discussed in the context of video game applications, particularly VR game applications, by way of example, it should be understood that the techniques and systems described herein may provide benefits to other applications, including, but not limited to, non-VR applications (e.g., AR applications), and / or non-game applications such as industrial machinery applications, defense applications, robotics applications, and the like.
[0013] FIG. 1 illustrates an exemplary technique for splitting a frame rendering workload 100 between a head mounted display (HMD) and a host computer. FIG. 1 illustrates a head mounted display (HMD) 102 worn by a user 104 along with a host computer 106. FIG. 1 illustrates an exemplary implementation of the host computer 106 in the form of a laptop 106(1) carried, for example, in a backpack, or a personal computer (PC) 106(N) that may be located, for example, in the household of the user 104. However, it should be understood that these exemplary types of host computer 106 are non-limiting to the present disclosure. For example, the host computer 106 can be implemented as any type and / or any number of computing devices, including, but not limited to, a PC, a laptop computer, a desktop computer, a portable digital assistant (PDA), a mobile phone, a tablet computer, a set-top box, a game console, a server computer, a wearable computer (e.g., a smart watch, etc.), or any other electronic device capable of transmitting and receiving data. The host computer 106 may be located in the same environment as the HMD 102, such as in the household of a user 104 wearing the HMD 102. Alternatively, the host computer 106 may be located remotely with respect to the HMD 102, such as a host computer 106 in the form of a server computer located at a remote geographic location with respect to the geographic location of the HMD 102. In a remote host computer 106 implementation, the host computer 106 may be communicatively coupled to the HMD 102 over a wide area network such as the Internet. In a local host computer 106 implementation, the host computer 106 may be located in an environment (e.g., a household) with the HMD 102, whereby the host computer 106 and the HMD 102 may be communicatively coupled together through a local area network (LAN), either directly or via an intermediary network device.
[0014] 1, for a given frame, the host computer 106 is configured to execute a first partial rendering workload 100(1) (e.g., a first portion of the rendering workload 100 for the given frame) and the HMD 102 is configured to execute a second partial rendering workload 100(2) (e.g., a second portion of the rendering workload 100 for the given frame). In this manner, the HMD 102 and the host computer 106 are communicatively coupled together and configured to work together cooperatively to render the given frame by generating pixel data that is ultimately used to present a corresponding image on a display panel 108 of the HMD 102.
[0015] The example HMD 102 of FIG. 1 may include a single display panel 108 or multiple display panels 108, such as a left and right display panel of a stereo pair of display panels. One or more display panels 108 of the HMD 102 may be used to present a sequence of image frames (hereinafter referred to as "frames") that are viewable by a user 104 wearing the HMD 102. It should be understood that the HMD 102 may include any number of display panels 108 (e.g., more than two display panels, a pair of display panels, or a single display panel). Thus, the term "display panel," as used in the singular herein, may refer to either display panel 108 of a pair of display panels of a two-panel HMD 102, or may refer to a single display panel 108 of an HMD 102 having any number of display panels (e.g., a single-panel HMD 102 or a multi-panel HMD 102). In a two-panel HMD 102, the stereo frame buffer may, for example, render 2160 x 1200 pixels on both display panels of the HMD 102 (e.g., 1080 x 1200 pixels per display panel).
[0016] The display panel 108 of the HMD 102 may emit light using any suitable type of display technology, such as an emissive display that utilizes light emitting elements (e.g., light emitting diodes (LEDs)) to emit light during presentation of frames on the display panel 108. As an example, the display panel 108 of the HMD 102 may include a liquid crystal display (LCD), an organic light emitting diode (OLED) display, an inorganic light emitting diode (ILED) display, or any other suitable type of display technology for HMD applications.
[0017] The display panel 108 of the HMD 102 may operate at any suitable refresh rate, such as a 90 Hertz (Hz) refresh rate, which may be a fixed refresh rate or a variable refresh rate that changes dynamically over a range of refresh rates. The "refresh rate" of a display is the number of times per second that the display redraws the screen. The number of frames displayed per second may be limited by the refresh rate of the display if the refresh rate is fixed. Thus, a series of frames may be processed (e.g., rendered) and displayed as an image on the display, such that one frame of the series is displayed with each screen update. That is, to present a series of images on the display panel 108, the display panel 108 may transition between frames at the refresh rate of the display within the series of frames, lighting up pixels with each screen refresh. In some embodiments, the frame rate may be throttled and / or the application is unable to reach the target frame rate and phantom frames (based on reprojection) may be inserted between frames rendered by the application.
[0018] The display system of the HMD 102 may implement any suitable type of display drive scheme, such as a global flash type display drive scheme, a rolling band type display drive scheme, or any other suitable type of display drive scheme. In a global flash type display drive scheme, the light emitting element array of the display is illuminated simultaneously with every screen refresh, thereby flashing globally at the refresh rate. In a rolling band type display drive scheme, individual subsets of the light emitting elements of the display may be illuminated independently and sequentially within a rolling band of illumination during an illumination period. These types of display drive schemes may be made possible by the light emitting elements being individually addressable. When the pixel array and light emitting element array on the display panel 108 are arranged in rows and columns (but not necessarily one pixel per light emitting element), individual rows and / or individual columns of light emitting elements may be addressed in sequence, and / or individual groups of consecutive rows and / or individual groups of consecutive columns of light emitting elements may be addressed in sequence for a rolling band type display drive scheme.
[0019] Generally, as used herein, "illuminating a pixel" means illuminating a light-emitting element corresponding to that pixel. For example, an LCD illuminates a light-emitting element of a backlight to illuminate a corresponding pixel of the display. Furthermore, as used herein, a "subset of pixels" may include an individual pixel or multiple pixels (e.g., a group of pixels). To drive the display panel 108, the HMD 102 may include, among other things, a display controller, a display driver circuit, and similar electronics for driving the display panel 108. The display driver circuit may be coupled to the light-emitting element array of the display panel 108 via conductive paths, such as metal traces on a flexible printed circuit. In one example, the display controller may be communicatively coupled to the display driver circuit and configured to provide signals, information, and / or data to the display driver circuit. The signals, information, and / or data received by the display driver circuit may cause the display driver circuit to illuminate the light-emitting elements in a particular manner. That is, the display controller may determine which light-emitting elements to light, when to light the light-emitting elements, and the level of light output to be emitted by the light-emitting elements, and may communicate appropriate signals, information, and / or data to the display driver circuitry to accomplish that goal.
[0020] In the illustrated implementation, the HMD 102 includes one or more processors 110 and memory 112 (e.g., computer-readable media 112). In some implementations, the processor 110 may include a central processing unit (CPU), a graphics processing unit (GPU) 114, both a CPU and a GPU 114, a microprocessor, a digital signal processor, or other processing units or components known in the art. Alternatively or additionally, the functionality described herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), and the like. In addition, each of the processors 110 may have its own local memory, which may also store program modules, program data, and / or one or more operating systems.
[0021] The memory 112 may include volatile and non-volatile memory, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Such memory may include, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVDs) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, RAID storage systems, or any other medium that may be used to store the desired information and that may be accessed by a computing device. The memory 112 may be implemented as a computer-readable storage medium ("CRSM"), which may be any available physical medium that is accessible by the processor 110 to execute instructions stored on the memory 112. In one basic implementation, the CRSM may include random access memory ("RAM") and flash memory. In other implementations, the CRSM may include, but is not limited to, read-only memory ("ROM"), electrically erasable programmable read-only memory ("EEPROM"), or any other tangible medium that can be used to store desired information and that can be accessed by the processor 110.
[0022] In general, the HMD 102 may include logic (e.g., software, hardware, and / or firmware, etc.) configured to implement the techniques, functions, and / or operations described herein. The computer-readable medium 112 is shown as including various modules, such as instructions, data stores, etc., that may be configured to execute on the processor 110 to perform the techniques, functions, and / or operations described herein. Although an exemplary functional module in the form of a compositor 116 is shown as stored on the computer-readable medium 112 and executable on the processor 110, the same functionality may alternatively be implemented in hardware, firmware, or as a system-on-a-chip (SOC) and / or other logic. Additionally, additional or different functional modules may be stored on the computer-readable medium 112 and executable on the processor 110. The compositor 116 is configured to modify pixel data received from the host computer 106 as part of the second partial rendering workload 100(2) and output the modified pixel data to a frame buffer (e.g., a stereo frame buffer) so that a corresponding image may be presented on the display panel 108 of the HMD 102.
[0023] The HMD 102 may further include a head tracking system 118 and a communication interface 120. The head tracking system 118 may utilize one or more sensors (e.g., infrared (IR) light sensors mounted on the HMD 102) and one or more tracking beacons (e.g., IR light emitters located on the HMD 102 and in the environment) to track head movement or translation (including head rotation) of the user 104. This exemplary head tracking system 118 is non-limiting and other types of head tracking systems 118 (e.g., camera-based, inertial measurement unit (IMU)-based, etc.) may be utilized. The head tracking system 118 is configured to generate head tracking data 122 that may be transmitted to the host computer 106 via the communication interface 120 during runtime as frames are being rendered.
[0024] The communication interface 120 of the HMD 102 may include wired and / or wireless components (e.g., chips, ports, etc.) to facilitate wired and / or wireless data transmission / reception to / from the host computer 106, either directly or through one or more intermediate devices, such as a wireless access point (WAP). For example, the communication interface 120 may include a wireless unit coupled to an antenna to facilitate a wireless connection with the host computer 106 and / or another device. Such a wireless unit may implement one or more of a variety of wireless technologies, such as Wi-Fi, Bluetooth, radio frequency (RF), etc. The communication interface 120 may further include one or more physical ports to facilitate a wired connection with the host computer 106 and / or another device (e.g., a plug-in network device that communicates with other wireless networks).
[0025] In the illustrated implementation, the host computer 106 includes one or more processors 124 and memory 126 (e.g., computer-readable media 126). In some implementations, the processor 124 may include a CPU, a GPU 128, both a CPU and a GPU 128, a microprocessor, a digital signal processor, or other processing units or components known in the art. Alternatively or additionally, the functionality described herein may be performed, at least in part, by one or more hardware logic components. For example, but not limited to, exemplary types of hardware logic components that may be used include FPGAs, ASICs, ASSPs, SOCs, CPLDs, and the like. In addition, each of the processors 124 may have its own local memory, which may also store program modules, program data, and / or one or more operating systems.
[0026] Memory 126 may include volatile and non-volatile memory, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Such memory includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, DVD, or other optical memory, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, RAID storage systems, or any other medium that can be used to store the desired information and that can be accessed by a computing device. Memory 126 may be implemented as a CRSM, which may be any available physical medium that is accessible by processor 124 to execute instructions stored on memory 126. In one basic implementation, the CRSM may include RAM and flash memory. In other implementations, the CRSM may include, but is not limited to, ROM, EEPROM, or any other tangible medium that can be used to store the desired information and that can be accessed by processor 124.
[0027] In general, the host computer 106 may include logic (e.g., software, hardware, and / or firmware, etc.) configured to implement the techniques, functions, and / or operations described herein. The computer-readable medium 126 is shown as including various modules, such as instructions, data stores, etc., that may be configured to execute on the processor 124 to perform the techniques, functions, and / or operations described herein. An exemplary functional module in the form of an application 130, such as a video game 130(1), and a rendering component 132, is shown stored on the computer-readable medium 126 and executable on the processor 124. In some embodiments, the functionality of the rendering component 132 may alternatively be implemented as hardware, firmware, or a system-on-chip (SOC), and / or other logic. Additionally, additional or different functional modules may be stored on the computer-readable medium 126 and executable on the processor 124.
[0028] The host computer 106 may further include a communication interface 134 that includes wired and / or wireless components (e.g., chips, ports, etc.) to facilitate wired and / or wireless data transmission and reception with the HMD 102, either directly or through one or more intermediate devices, such as a WAP. For example, the communication interface 134 may include a wireless unit coupled to an antenna to facilitate a wireless connection with the HMD 102 and / or another device. Such a wireless unit may implement one or more of a variety of wireless technologies, such as Wi-Fi, Bluetooth, RF, etc. The communication interface 134 may further include one or more physical ports to facilitate a wired connection with the HMD 102 and / or another device (e.g., a plug-in network device that communicates with other wireless networks).
[0029] It should be understood that the HMD 102 may represent a VR headset for use in a VR system, such as for use in a VR gaming system, in which case the video game 130(1) may represent a VR video game 130(1). However, the HMD 102 may additionally or alternatively be implemented as an AR headset for use in AR applications, or a headset usable in non-gaming related (e.g., industrial applications) VR and / or AR applications. In AR, the user 104 sees virtual objects superimposed on a real-world environment, whereas in VR, the user 104 typically does not see a real-world environment, but is fully immersed in the virtual environment as perceived through the display panel 108 and optics (e.g., lenses) of the HMD 102. It should be understood that in some VR systems, a pass-through image of the user's 104 real-world environment may be displayed in conjunction with the virtual image to create an augmented VR environment within the VR system, whereby the VR environment is augmented with real-world imagery (e.g., overlaid on the virtual world). Although the examples described herein relate primarily to a VR-based HMD 102, it should be understood that the HMD 102 is not limited to implementation in VR applications.
[0030] In general, the application 130 executing on the host computer 106 may be a graphics-based application 130 (e.g., a video game 130(1)). The application 130 is configured to generate pixel data for a series of frames, which are ultimately used to present a corresponding image on the display panel 108 of the HMD 102. During runtime, for a given frame, the rendering component 132 may determine a predicted "light time" for the frame. This predicted "light time" for the frame represents the time that light emitting elements of the display panel 108 of the HMD 102 will light up for the frame. This prediction may take into account, among other things, the inherent latency of the wireless communication link between the host computer 106 and the HMD 102, as well as the predicted rendering time and / or known scan-out time of pixels from a frame buffer. In other words, the prediction for the wireless communication link may differ from the prediction for the wired communication link. For example, the rendering component 132 may predict the lighting time a first amount of time in the future for a wired communication link (e.g., approximately 22 milliseconds in the future), while the rendering component 132 may predict the lighting time a second, larger amount of time in the future for a wireless communication link (e.g., approximately 44 milliseconds in the future) due to the inherent difference in latency when transferring data over a wired connection versus a wireless connection.
[0031] The host computer 106 may also receive head tracking data 122 (e.g., first head tracking data 122) from the HMD 102 generated by the head tracking system 118 of the HMD 102. This head tracking data 122 may be generated and / or transmitted at any suitable frequency, such as a frequency corresponding to a target frame rate and / or a refresh rate of the HMD 102, or at a different (e.g., faster) frequency, such as 1000 Hz (or one sensor reading every millisecond). The rendering component 132 is configured to determine, based at least in part on the head tracking data 122, a predicted pose that the HMD 102 will be in at the predicted illumination time. The rendering component 132 may then provide pose data indicative of the predicted pose to the executing application 130, and the rendering component 132 may obtain pixel data 136 associated with the frame from the application 130, in order to render a frame (e.g., generate pixel data for the frame) based on the predicted pose. This pixel data 136 may correspond to a pixel array of the display panel 108 of the HMD 102. For example, pixel data 136 output by application 130 based on pose data may include a two-dimensional array of per-pixel values (e.g., color values) for a pixel array on display panel 108 of HMD 102. In an illustrative example, a stereo pair of display panels 108 may include an array of 2160×1200 pixels (e.g., 1080×1200 pixels per display panel) on both display panels of HMD 102. In this illustrative example, pixel data 136 may include 2160×1200 pixel values (or 2,592,000 pixel values). In some embodiments, pixel data 136 may include data for each pixel represented by a single set of color and alpha values (e.g., one color value for a red channel, one color value for a green channel, one color value for a blue channel, and one or more values for one or more alpha channels).
[0032] The logic of the host computer 106 may also generate extra data 138 along with (or in addition to) the pixel data 136, at least a portion of which may be transmitted to the HMD 102 to assist the HMD 102 in the second partial rendering workload 100(2). For example, the extra data 138 may be packaged with the pixel data 136 and transmitted to the HMD 102, at least a portion of which may be used by logic of the HMD 102 to modify the pixel data 136 for purposes of presenting an image corresponding to the frame on the display panel 108 of the HMD 102. The extra data 138 may include, but is not limited to, pose data, depth data, motion vector data, parallax occlusion data, and / or extra pixel data generated by the rendering component 132. For example, in providing pose data to the executing application 130 for rendering a frame, the rendering component 132 may further instruct the application 130 to generate depth data (e.g., Z-buffer data) for the frame and / or extra pixel data (sometimes referred to herein as “out-of-bounds pixel data” or “additional pixel data”), and in response, the rendering component 132 may obtain the depth data and / or extra pixel data associated with the frame from the application 130. Additionally or alternatively, the rendering component 132 may generate motion vector data based at least in part on the head tracking data 122 received from the HMD 102. For example, the motion vector data may be generated based on a comparison of head tracking data generated at two different times (e.g., a comparison of head tracking data separated by a few milliseconds). Logic in the HMD 102 (e.g., the compositor 116) can utilize some or all of the extra data 138 for purposes of modifying the pixel data 136 to correct errors in the pose prediction previously made by the rendering component 132 that accounted for the inherent latency of the wireless connection between the host computer 106 and the HMD 102.For example, compositor 116 may apply reprojection adjustments based at least in part on extra data 138 received from host computer 106. Other adjustments made by compositor 116 as part of second partial rendering workload 100(2) may include, but are not limited to, adjustments for geometric distortion, chromatic aberration, reprojection, etc. The manner in which extra data 138 may be utilized as part of second partial rendering workload 100(2) is described in more detail below with reference to the following figures.
[0033] 2 illustrates two exemplary timelines 200(1) and 200(2) showing the rendering workload of each of the individual frames, split between the host computer 106 and the HMD 102, according to embodiments disclosed herein. The example of FIG. 2 illustrates three exemplary frames, frame "F", frame "F+1", and frame "F+2", for a first timeline 200(1) associated with the host computer 106. This first timeline 200(1) illustrates how the frames can be rendered serially by executing an application 130 on the host computer 106 using the GPU 128 of the host computer 106. Here, application 130 renders frame F as part of a first partial rendering workload 100(1)(a), then renders frame F+1 as part of a second partial rendering workload 100(1)(b), and then renders frame F+2 as part of a third partial rendering workload 100(1)(c), sequentially from left to right on the first timeline 200(1). The ovals on the first timeline 200(1) indicate that this may continue for any number of frames as application 130 continues to execute. The first timeline 200(1) also implies, with vertical lines oriented orthogonal to the horizontal timeline 200(1), that application 130 is targeting a target frame rate (e.g., a 90 Hz frame rate with the vertical lines separated by approximately 11.11 milliseconds). In the example of FIG. 2, the application 130 running on the host computer 106 happens to reach the target frame rate over the three exemplary series of frames, but this may not always be the case as the application 130 may take longer than the allotted time to render a given frame 202 in some cases (e.g., in the case of scenes with many moving objects or complex textures).This scenario may also be referred to as the application 130 failing to reach the target frame rate.
[0034] The second timeline 200(2) of FIG. 2 associated with the HMD 102 illustrates partial rendering workloads 100(2)(a), 100(2)(b), and 100(2)(c) of the compositor 116 of the HMD 102 for individual frames. The individual rendering workloads 100(2) of the compositor 116 of the HMD 102 for a given frame may represent adjustments applied to pixel data 136 generated by an application 130 executing on the host computer 106 before a final image is presented on the display panel 108 of the HMD 102. Such adjustments may include, but are not limited to, adjustments for geometric distortion, chromatic aberration, reprojection, and the like, that are applied to pixel data 136 received from the host computer 106 before rendering the final image on the HMD 102. At least some of these adjustments may utilize extra data 138 received from the host computer 106, such as pose data, depth data, extra pixel data, parallax occlusion data, and / or motion vector data, as described herein. Thus, the frames shown in FIG. 2 are meant to represent “real” frames in the sense that they are output from an application 130, which may represent a video game application 130(1) or any other type of graphics-based application. In contrast, if the application 130 fails to reach a target frame rate for a given frame, or if the frame rate is throttled to a rate lower than the refresh rate of the display panel 108 of the HMD 102, the compositor 116 of the HMD 102 may use the previously received pixel data 136 for the previous frame to generate a “phantom” frame based on a pose prediction of the previous frame and an updated pose prediction made by the HMD 102 (e.g., using reprojection). In any case, the result of the partial rendering workload 100(2) is the generation of modified pixel data that may be output to a frame buffer (e.g., a stereo frame buffer).This distinction between "real" and "phantom" frames does not imply that the real frames are not adjusted on the HMD 102; in this sense, any frames generated on the HMD side are effectively synthetic (i.e., not the same as the original frames output by the application 130 running on the host computer 106).
[0035] The second timeline 200(2) of FIG. 2 also shows scan-out times 202(a), 202(b), and 202(c) for each frame, and illumination times 204(a), 204(b), and 204(c) for each frame. During the scan-out time 202 for a given frame, a subset of pixel values (of the modified pixel data) are scanned out to the display panel 108 via a display port (e.g., High Definition Multimedia Interface (HDMI®)), and during the illumination time 204 for a given frame, light-emitting elements of the display panel 108 are illuminated to illuminate pixels of the display panel 108. FIG. 2 shows an example of a global flash type display driving scheme that may be used with an LCD panel to simultaneously emit light from light-emitting elements of the display panel 108 at the refresh rate of the HMD 102. In an illustrative example, if the HMD 102 is operating at a refresh rate of 90 Hz, the illumination times 204 for each frame may be separated by approximately 11.11 milliseconds.
[0036] 2 depicts the respective rendering cycles of the host computer 106 and the HMD 102 appearing to be synchronized (they can be synchronized), it should be understood that the techniques and systems described herein do not require synchronization of frames between the two devices. In general, the compositor 116 of the HMD 102 may begin its rendering workload 100(2) of a given frame as soon as data (e.g., pixel data 136 and extra data 138) is received from the host computer 106 and / or as soon as the HMD 102 determines that the application 130 of the host computer 106 may have missed a frame, or that a packet may have been dropped in transit, etc. Due to various conditions of the wireless communication link, the processing load on each device, and / or other factors, the respective rendering cycles of the host computer 106 and the HMD 102 may at times become out of sync / desynchronized with respect to each other. Thus, although the host computer 106 and HMD 102 are configured to work together in a cooperative manner by dividing the rendering workload of a given frame into partial workloads that are executed on each device, it can be understood that the devices may operate independently of each other to execute their respective portions of the workload.
[0037] The processes described herein are illustrated as a collection of blocks in a logic flow graph, which represent a sequence of operations that can be implemented in hardware, software, firmware, or combinations thereof (i.e., logic). In the context of software, the blocks represent computer-executable instructions that, when executed by one or more processors, perform the recited operations. Generally, computer-executable instructions include routines, programs, objects, components, data structures, etc. that perform particular functions or implement particular abstract data types. The order in which the operations are described is not intended to be construed as a limitation, and any some of the described blocks may be combined in any order and / or in parallel to implement a process.
[0038] 3 illustrates a flow diagram of an exemplary process 300 for rendering a frame by dividing the frame rendering workload 100 between the HMD 102 and the host computer 106, according to an embodiment disclosed herein. For discussion purposes, the process 300 is described with reference to the previous figure.
[0039] At 302, the HMD 102 may transmit first head tracking data 122 generated by the head tracking system 118 of the HMD 102 to a host computer 106 communicatively coupled to the HMD 102. The manner in which the host computer 106 and the HMD 102 are communicatively coupled may vary depending on the implementation. In an implementation in which the host computer 106 is wirelessly coupled to the HMD 102, the first head tracking data 122 may be transmitted wirelessly from the HMD 102 to the host computer 106 (e.g., using any suitable wireless communication protocol, including WiFi, Bluetooth, or a proprietary protocol). In an implementation in which the host computer 106 is coupled to the HMD 102 via a wired connection (e.g., a data cable), the first head tracking data 122 may be transmitted from the HMD 102 to the host computer 106 via a wired connection, such as a data cable. Additionally, if the host computer 106 is located in a remote geographic location with respect to the HMD 102, the first head tracking data 122 may be transmitted in block 302 from the HMD 102 to the host computer 106 over a wide area network, such as the Internet.
[0040] At 304, the host computer 106 may receive the first head tracking data 122 from the HMD 102. As mentioned with respect to block 302, the first head tracking data 122 may be received in a variety of ways, such as wirelessly, via a wired connection, via a wide area network, etc., depending on the implementation. At this point when the host computer 106 receives the first head tracking data 122, the host computer 106 may execute an application 130, such as a video game 130(1), tasked with rendering a first frame of a series of frames for the purpose of creating visual video game content to be displayed on the HMD 102.
[0041] At 306, logic in the host computer 106 (e.g., the rendering component 132) may determine a predicted illumination time that represents the time that light emitting elements of the display panel 108 of the HMD 102 will be illuminated for the first frame. That is, logic in the host computer 106 may determine the time that photons associated with the image presented for the first frame will actually reach the eyes of the user 104. This predicted illumination time is a time in the future (e.g., about 44 milliseconds into the future) because the rendering component 132 must take into account the time it takes the application 130 to generate the pixel data 136, the time it takes the pixel data 136 to be transmitted from the host computer 106 to the HMD 102, and the time it takes the pixel data 136 to be modified and scanned out on the HMD 102 before the corresponding image is finally presented on the display panel 108 of the HMD 102.
[0042] At 308, logic in the host computer 106 (e.g., the rendering component 132) may determine a predicted pose that the HMD 102 will assume at the predicted light time determined in block 306, based at least in part on the first head tracking data 122 received in block 304. For example, the head tracking system 118 of the HMD 102 may be configured to track up to six degrees of freedom (e.g., 3D position, roll, pitch, and yaw) of the HMD 102, which may be transmitted as head tracking data 122 to the host computer 106 to determine a predicted pose of the HMD 102 (e.g., taking into account predicted head movement due to future poses of the HMD 102).
[0043] At 310, logic of the host computer 106 (e.g., the rendering component 132) may provide pose data indicating the predicted pose determined at block 308 to an application 130 executing on the host computer 106 for purposes of rendering a first frame. For example, the application 130 may call a function to receive pose data from the rendering component 132, which may provide the application 106 with the requested pose data (predicted to a target illumination time for the first frame and predicted at least in part based on head tracking data 122 received from the HMD 102) so that the application 130 can render the first frame according to the pose data corresponding to the virtual camera pose used to render the scene. In some embodiments, the rendering component 132 may instruct the application 130 to generate extra data, such as depth data and / or extra pixel data, in addition to the pixel data 136 for the frame.
[0044] At 312, logic of the host computer 106 (e.g., the rendering component 132) may obtain (or receive) data associated with the first frame (e.g., pixel data 136) from the application 130. The pixel data 136 may include pixel values for individual pixels within the pixel array of the display panel 108 of the HMD 102, as described herein. As mentioned, in embodiments in which the rendering component 132 has requested the application 130 to generate extra data 138 in addition to the pixel data 136, the rendering component 132 may obtain (or receive) the extra data 138, such as depth data (e.g., Z-buffer data) and / or extra pixel data including extra pixel values outside the boundaries of the pixel array of the display panel 108, at block 312. For example, if the display panel 108 has a 2160×1200 pixel array, the pixel data 136 may correspond to pixel values within the 2160×1200 array of pixels, while the extra pixel data may correspond to pixels outside the boundaries of the 2160×1200 array. Thus, the pixel data 136 and the extra pixel data may make up a greater number of pixel values, such as a larger array of, for example, 2400×1400 pixels.
[0045] At 314, logic in the host computer 106 (e.g., the rendering component 132) may compress and / or serialize data to send to the HMD 102 for purposes of rendering an image associated with the first frame. This data may include the generated pixel data 136 and any extra data 138, whether the extra data 138 was generated by the application 130, by the rendering component 132, and / or by any other component of the host computer 106. The compression at block 314 may be optimized for pre-distorted images as opposed to post-distorted images. For example, in a system where the entirety of the rendering workload is performed on the host computer, any compression of pixel data sent to the headset may utilize a compression algorithm that mitigates stereo compression artifacts. Because the pixel data 136 generated by the application 130 in the process 300 is “pre-distorted,” i.e., adjustments such as reprojection adjustments, geometric distortion adjustments, chromatic aberration adjustments, etc. will be applied post-compression, the compression algorithm utilized at block 314 may not need to take into account stereo compression artifacts. In some embodiments, pixel data 136 output by application 130 may be categorized into foreground and background pixels (and potentially intermediate pixel layers), and different compression algorithms or schemes may be used for the different pixel layers, i.e., foreground pixels may be compressed in a different manner (e.g., using a different compression algorithm) than background pixels are compressed.
[0046] At 316, the host computer 106 may transmit data to the HMD 102 including pixel data 136 and extra data 138. The extra data 138 transmitted at block 316 may include, but is not limited to, pose data 138(1) generated based on the first head tracking data 122 and used by the application 130 to generate pixel data 136 for the first frame, depth data 138(2) generated by the application 130, extra pixel data 138(3) generated by the application 130, motion vector data 138(4) generated by the rendering component 132 based on the head tracking data 122 and / or based on movement of virtual objects in the scene being rendered, parallax occlusion data 138(5), and / or cube map data (e.g., for rapid large scale head movements such that the HMD 102 has other options in addition to presenting dark pixels that do not have any data). Again, the pixel data 136 and the extra data 138 may be transmitted to the HMD 102 in a variety of ways, such as wirelessly, via a wired connection, via a wide area network, etc., depending on the implementation.
[0047] At 318, the HMD 102 may receive from the host computer 106 the pixel data 136 associated with the first frame and extra data 138 in addition to the pixel data 136. Again, the pixel data 136 and the extra data 138 may be received from the host computer 106 in a variety of ways, depending on the implementation, such as wirelessly, via a wired connection, via a wide area network, etc. Additionally, once the compressed and serialized data is received from the host computer 106 at block 318, the data may be deserialized and decompressed at block 318.
[0048] At 320, logic of the HMD 102 (e.g., the compositor 116) may determine, based at least in part on the second head tracking data 122 generated by the head tracking system 118 of the HMD 102, an updated pose that the HMD 102 will assume at a lighting time for the first frame, which represents a time when light emitting elements of the display panel 108 of the HMD 102 will be illuminated for the first frame. Because the determination at block 320 is closer in time to the lighting time for the first frame, the pose prediction at block 320 is more accurate (e.g., has less error) than the pose prediction determined at block 308, which was further prior to the lighting time. In some embodiments, the determination of the updated pose of the HMD 102 at block 320 may be based at least in part on motion vector data 138(4) received from the host computer 106 or generated locally on the HMD 102. For example, motion vector data 138(4) generated from head tracking data 122 may indicate a predicted head movement of user 104, and compositor 116 of HMD 102 may use, among other things, motion vector data 138(4) to make predictions of an updated pose of HMD 102 with improved accuracy.
[0049] At 322, logic in the HMD 102 (e.g., the compositor 116) may modify the pixel data 136 received from the host computer 106 to obtain modified pixel data. As indicated by the sub-blocks of block 322, this modification of the pixel data 136 may involve various sub-operations.
[0050] In sub-block 324, logic of the HMD 102 (e.g., the compositor 116) may apply reprojection adjustments to the pixel data 136 to obtain modified pixel data associated with the first frame. The reprojection adjustments applied in sub-block 324 may be based at least in part on extra data 138 received from the host computer 106. For example, a comparison of the original predicted pose determined in block 308 (and shown by pose data 138(1)) and the updated pose determined in block 320 may reveal a delta (or difference) between the compared poses, and the reprojection adjustments may include a rotation calculation to compensate for this delta (e.g., by shifting and / or rotating the pixel data 136 in one direction or another depending on the delta between the two pose determinations).
[0051] In some embodiments, the extra data 138 received from the host computer 106 includes depth data 138(2) associated with the first frame, and the reprojection adjustments applied in subblock 324 may be based at least in part on the depth data 138(2). For example, the depth data 138(2), such as from a depth buffer (or Z-buffer), may indicate occluded objects in the scene. Thus, the depth data 138(2) may be used, among other things, to adjust the parallax of objects in the scene (e.g., a ship far away in world space may not move with head movement as much as a close-up object moves with the same head movement). Knowing the depth of pixels corresponding to virtual objects in the scene is useful in knowing how to adjust such parallax during reprojection to the HMD 102 in subblock 324. Other ways of using the depth data 138(2) on the HMD side are described in more detail below. In some embodiments, the extra data 138 received from the host computer 106 includes extra data 138(3) associated with the first frame, and the reprojection adjustments applied in sub-block 324 may be based at least in part on the extra data 138(3). For example, if rapid / large head movement is occurring, as determined by the HMD 102, at least some of the pixel values of the pixel data 136 may be replaced with extra pixel values of the extra pixel data 138(3) to render a portion of the scene that corresponds to the current head movement of the user 104. In some embodiments, the extra data 138 received from the host computer 106 includes motion vector data 138(4) associated with the first frame, and the reprojection adjustments applied in sub-block 324 may be based at least in part on the motion vector data 138(4).
[0052] In sub-block 326, logic in the HMD 102 (e.g., compositor 116) may apply a geometric distortion adjustment to pixel data 136 to obtain modified pixel data associated with the first frame in block 322. The geometric distortion adjustment may compensate for distortions of the near-eye optical subsystem (e.g., lenses and other optics) of the HMD 102. For similar reasons, in sub-block 328, logic in the HMD 102 (e.g., compositor 116) may apply a chromatic aberration adjustment to pixel data 136 to obtain modified pixel data associated with the first frame in block 322.
[0053] In sub-block 330, the pixel data 136 may be modified by overlaying one or more virtual hands on the scene represented by the pixel data 136 to obtain modified pixel data associated with the first frame in block 322. For example, the HMD 102 may be communicatively coupled to one or more handheld controllers whose movement and position in 3D space are tracked much like the HMD 102, and the HMD 102 may receive hand tracking data from the handheld controllers (e.g., via direct wireless data transmission from the handheld controllers to the HMD 102). The hand tracking data may be processed by logic in the HMD 102 (e.g., the compositor 116) to render the virtual hands on the scene, where the virtual hands are overlaid on the content of the scene.
[0054] In sub-block 332, logic of the HMD 102 (e.g., the compositor 116) may output the modified pixel data to a frame buffer. Again, for an HMD 102 having a pair of display panels 108, this modified pixel data may correspond to a frame representing a pair of images displayed on the pair of display panels 108, and may be output accordingly to a stereo frame buffer.
[0055] At 334, logic of the HMD 102 may cause a first image to be presented on the display panel 108 of the HMD 102 based on the modified pixel data output to the frame buffer in block 332. This may include scanning the modified pixel data out to the display panel 108 of the HMD 102 and illuminating light emitting elements of the display panel 108 to illuminate pixels on the display panel 108.
[0056] 4 illustrates a flow diagram of an example process 400 for applying reprojection adjustments to the HMD 102 based on motion vector data 138(4) generated by the host computer 106, according to an embodiment disclosed herein. For discussion purposes, the process 400 will be described with reference to the previous figure.
[0057] At 402, the HMD 102 may transmit head tracking data 122 to the host computer 106. This head tracking data 122 may be generated and / or transmitted at any suitable frequency, such as a frequency corresponding to a target frame rate of the application 130 and / or a refresh rate of the HMD 102, or a different (e.g., faster) frequency, and the head tracking data 122 may be indicative of movement of the head of a user 104 wearing the HMD 102. Thus, the host computer 106 may receive multiple instances of head tracking data 122 over time, such as a first head tracking data 122 generated at time, t1, a second head tracking data 122 generated at time, t2, etc. Additionally, the host computer 106 may maintain a history of the head tracking data 122 received over time, such that it has multiple instances of head tracking data 122 available at any time. The host computer 106 may retain at least some past head tracking data 122, while discarding head tracking data 122 older than a predetermined number of years to conserve memory resources.
[0058] At 404, logic of the host computer 106 (e.g., rendering component 132) may generate motion vector data 138(4) based at least in part on the head tracking data 122 received from the HMD 102. For example, the host computer 106 may receive a first head tracking data 122 and may receive a second head tracking data 122 prior to receiving the first head tracking data 122, and may perform a comparison between these sets of head tracking data 122 to generate motion vector data 138(4). In some embodiments, the motion vector data 138(4) may additionally or alternatively be generated from pixel data associated with multiple frames rendered by the application. For example, a pair of frames previously rendered by application 130 may be provided as input to GPU 128 of host computer 106, and a decoder of GPU 128 may generate motion vector data 138(4) based at least in part on the input frames, such as by looking for similarities in the pair of frames (e.g., similar color values, similar luminance values, etc.) and mapping motion vectors to corresponding locations of similarities in the pair of frames. In some embodiments, logic of host computer 106 may be configured to filter motion related to movement of virtual objects in the scene, such that only motion due to head movement is left, and not motion of virtual objects in the scene.
[0059] At 406, the HMD 102 may receive motion vector data 138(4) from the host computer 106. For example, this motion vector data 138(4) may be transmitted as extra data 138 along with (e.g., packaged with) the pixel data 136 for a given frame that presents an image on the HMD 102. Thus, the HMD 102 may receive the pixel data 136 for a given frame at block 406 or at a slightly different (e.g., earlier or later) time.
[0060] At 408, logic in the HMD 102 (e.g., compositor 116) may apply reprojection adjustments to pixel data 136 based at least in part on the motion vector data 138(4) received at block 406 to obtain modified pixel data 410 associated with a given frame. The motion vector data 138(4) may be considered in addition to pose data indicative of the original predicted pose and a determination of an updated pose of the HMD 102, as described herein. Thus, the motion vector data 138(4) may be complementary to the pose data 138(1) for purposes of predicting the pose of the HMD 102 and thereby applying reprojection adjustments (e.g., rotation calculations to shift and / or rotate pixel data 136 in one direction or another). Alternatively, the motion vector data 138(4) may be applied directly to the pixel data 136, for example, by converting the motion vector data 138(4) into a motion vector field corresponding to the screen space of the scene to be rendered and shifting pixel values based on the magnitude and direction of the motion vectors corresponding to those pixel values.
[0061] 5 illustrates a flow diagram of an exemplary process 500 for applying reprojection adjustments based on redundant pixel data 138(3) generated by an application 130 running on a host computer 106, according to an embodiment disclosed herein. For discussion purposes, the process 500 will be described with reference to the previous figure.
[0062] At 502, the HMD 102 may transmit head tracking data 122 to the host computer 106. This head tracking data 122 may be generated and / or transmitted at any suitable frequency, such as a frequency corresponding to a target frame rate of the application 130 and / or a refresh rate of the HMD 102, or a different (e.g., faster) frequency, and the head tracking data 122 may be indicative of movement of the head of a user 104 wearing the HMD 102.
[0063] At 504, logic in the host computer 106 (e.g., rendering component 132) may instruct an application 130 executing on the host computer 106, such as a video game 130(1), to generate extra pixel data 138(3) in addition to pixel data 136 corresponding to a pixel array on the display panel 108 of the HMD 102. For example, if the display panel 108 has a 2160×1200 pixel array, the pixel data 136 may correspond to pixel values within the 2160×1200 array of pixels, while the extra pixel data 138(3) may correspond to pixels that are outside the boundaries of the 2160×1200 array. Thus, the pixel data 136 and the extra pixel data 138(3) requested at block 504 may constitute a greater number of pixel values, such as, for example, a larger array of 2400×1400 pixels. The decision to direct application 130 to generate extra pixel data 138(3) in block 504 may be a dynamic decision for a given frame, as indicated by the sub-blocks of block 504.
[0064] In sub-block 506, logic of the host computer 106 (e.g., the rendering component 132) may determine to generate (e.g., by instructing the application 130 to generate) extra pixel data 138(3) based at least in part on the head tracking data 122 received in block 502 indicating an amount of movement of the HMD 102 that exceeds a threshold amount of movement. For example, two instances of the head tracking data 122 may be compared to determine an amount of movement of the HMD 102 over a period of time (e.g., a period of several milliseconds), and if the amount of movement is greater than the threshold amount of movement, the rendering component 132 may determine to generate extra pixel data 138(3) for a given frame. On the other hand, if the amount of movement of the HMD 102 is equal to or less than the threshold amount of movement, the rendering component 132 may determine not to generate extra pixel data 138(3) for a given frame. This is shown on the right side of sub-block 506 in FIG. 5, where rendering component 132 is configured to instruct application 130 to render only pixel data 136 (and not render any extra pixel data 138(3) if the HMD movement is below the threshold movement, and to instruct application 130 to render pixel data 136 and extra pixel data 138(3) if the HMD movement is above the threshold movement. This allows resources to be conserved by determining that extra pixel data 138(3) is unlikely to be used when there is currently little head movement, and allows generation of extra pixel data 138(3) to be reserved for instances where there is currently a lot of and / or rapid head movement.
[0065] In sub-block 508, logic in host computer 106 (e.g., rendering component 132) may determine to render (e.g., by instructing application 130 to render) a number of extra pixel values in extra pixel data 138(3) based at least in part on the amount of movement of HMD 102 indicated by head tracking data 122 received in block 502. This is illustrated on the right side of sub-block 508 in FIG. 5, where rendering component 132 is configured to instruct application 130 to render a first number of extra pixel values in extra pixel data 138(3) if the amount of movement of the HMD is a first lesser amount of movement, and to instruct application 130 to render a second more number of extra pixel values in extra pixel data 138(3) if the amount of movement of the HMD is a second more greater amount of movement. For example, in the case of less head movement, rendering component 132 may instruct application 130 to render a total of 2300×1300 pixels, and in the case of more head movement, rendering component 132 may instruct application 130 to render a total of 2500×1500 pixels (i.e., more extra pixel values for a fixed number of “on-screen” pixel values in pixel data 136). In other words, the buffer of extra pixels may expand or contract based on the degree of head movement. This is also a technique to conserve resources on host computer 106 by generating a sufficient amount of extra pixel data 138(3), but not an excessive amount of extra pixel data 138(3).
[0066] In sub-block 510, logic of the host computer 106 (e.g., the rendering component 132) may determine to generate (e.g., by instructing the application 130 to generate) certain extra pixel data 138(3) based at least in part on at least one of the motion vector data 138(4) or prediction data known to and / or generated by the application 130. For example, if the motion vector data 138(4) indicates head movement in an upward and leftward direction with reference to a view looking outwardly toward the front of the display panel 108 of the HMD 102, the rendering component 132 may determine to instruct the application 130 to generate extra pixel data 138(3) above a top pixel of the pixel data 136 and to the left of a left-most pixel of the pixel data 136, and to refrain from generating extra pixel data 138(3) to the right or below a right-most and bottom-most pixel of the pixel data 136, respectively, which conserves resources of the host computer 106. In other words, if the user 104 is unlikely to move his / her head to the right and / or down, the extra pixels to the right of the right-most pixel in the scene and below the bottom-most pixel in the scene do not need to be rendered because the user 104 is unlikely to need to see those pixels. Similarly, if the motion vector data 138(4) indicates head movement in a downward and rightward direction with reference to a view looking out the front of the display panel 108 of the HMD 102, the rendering component 132 may decide to instruct the application 130 to generate extra pixel data 138(3) below the bottom-most pixel of the pixel data 136 and to the right of the right-most pixel of the pixel data 136, and to refrain from generating extra pixel data 138(3) to the left or above the left-most and top-most pixels of the pixel data 136, respectively, which would conserve resources of the host computer 106. This is shown diagrammatically to the right of sub-block 510 in FIG. 5.
[0067] In some embodiments, in block 510, the determination of which "out-of-bounds" pixels to render may be determined from prediction data obtained from application 130. For example, if rendering component 132 knows (or predicts with a high probability) that an explosion will occur soon on the left side of the screen based on information obtained from running application 130, rendering component 132 may predict with a high probability a future head movement in a leftward direction (i.e., toward the explosion). Thus, for a given frame, rendering component 132 may instruct application 130 in sub-block 510 to render "out-of-bounds" pixels beyond the leftmost pixel in the scene in anticipation of the leftward head movement if user 104 moves his / her head to the left in response to seeing an explosion, as predicted, such that the out-of-bounds pixels may be utilized to present an image for that frame.
[0068] In sub-block 512, logic in host computer 106 (e.g., rendering component 132) may determine to generate (e.g., by instructing application 130 to do so) pixel data 136 at a first resolution and generate extra pixel data 138(3) at a second resolution lower than the first resolution. This is yet another technique for conserving resources where it is anticipated that in cases of large or rapid head movement, the extra pixel data 138(3) will be used to create the reprojected frame that may not otherwise be used, as well as the lower resolution is less likely to be noticed by user 104 when the scene in front of user 104 is moving, because the extra pixel data 138(3) will be used during large or rapid head movement. In other words, the "out-of-bounds" pixels in the extra pixel data 138(3) are expected to be used in the event of unexpected head movement, but are otherwise discarded; this means that head movement is likely to occur during the presentation of an image based on the extra pixel data 138(3), and the user can tolerate lower resolution images during head movement because the eyes are busy tracking the scene and fine details in the scene often go unnoticed during head movement.
[0069] At 514, after the rendering component 132 obtains the extra pixel data 138(3) from the application 130, the HMD 102 may receive the extra pixel data 138(3) from the host computer 106. For example, this extra pixel data 138(3) may be transmitted as extra data 138 along with (e.g., packaged with) the pixel data 136 for a given frame that presents an image on the HMD 102. Thus, the HMD 102 may receive the pixel data 136 for the given frame at block 514 or at a slightly different (e.g., earlier or later) time.
[0070] At 516, logic in the HMD 102 (e.g., the compositor 116) may apply a reprojection adjustment to the pixel data 136 based at least in part on the extra pixel data 138(3) received in block 514 to obtain modified pixel data 518 associated with the given frame. The extra pixel data 138(3) may include extra pixel values outside the boundaries of the pixel array of the display panel 108 of the HMD 102 and may be used in the reprojection by replacing at least some of the pixel values included in the pixel data 136 with at least some of the extra pixel values included in the extra pixel data 138(3). For example, if the reprojection adjustment shifts the pixel data 136 leftward, the extra pixel data 138(3) to the right of the rightmost pixel of the pixel data 136 may be output in the modified pixel data 518. These "out-of-bounds" pixel values (e.g., pixel values beyond the left, right, top, and / or bottom edges of the pixel corresponding to the display panel 108) allow the content to be displayed in the final image instead of displaying a dark pixel. Although this means that more pixels are rendered than will actually be displayed in the final image, this redundancy measure compensates for latency in, for example, the wireless communication link between the HMD 102 and the host computer 106. Nevertheless, the resource conservation techniques described with reference to process 500 may improve the performance of a computing device regardless of redundancy measures taken to account for data transfer latencies.
[0071] 6 illustrates a flow diagram of an exemplary process 600 for applying a reprojection adjustment based on depth data 138(2) generated by an application 130 running on a host computer 106, according to an embodiment disclosed herein. For discussion purposes, the process 600 is described with reference to the previous figure.
[0072] At 602, the HMD 102 may transmit head tracking data 122 to the host computer 106. This head tracking data 122 may be generated and / or transmitted at any suitable frequency, such as a frequency corresponding to a target frame rate of the application 130 and / or a refresh rate of the HMD 102, or a different (e.g., faster) frequency, and the head tracking data 122 may be indicative of movement of the head of a user 104 wearing the HMD 102.
[0073] At 604, rendering component 132 may instruct application 130 to generate, and rendering component 132 may obtain, depth data 138(2) associated with a given frame from application 130. Depth data 138(2) (or Z-buffer data) may indicate occluded objects in a scene and their depth relative to the user's position in world space.
[0074] At 606, the HMD 102 may receive depth data 138(2) from the host computer 106. For example, this depth data 138(2) may be transmitted as extra data 138 along with (e.g., packaged with) the pixel data 136 for a given frame in which an image is presented on the HMD 102. Thus, the HMD 102 may receive the pixel data 136 for a given frame at block 606 or at a slightly different (e.g., earlier or later) time.
[0075] At 608, logic of HMD 102 (e.g., compositor 116) may apply a reprojection adjustment to pixel data 136 based at least in part on depth data 138(2) received in block 606 to obtain modified pixel data 610 associated with the given frame. As indicated by the sub-blocks of block 608, the modification of pixel data 136 based on depth data 138(2) may involve sub-operations.
[0076] In sub-block 612, logic in HMD 102 (e.g., compositor 116) may classify a first subset of pixel values included in pixel data 136 as foreground pixels 614 and a second subset of pixel values included in pixel data 136 as background pixels 616 based at least in part on depth data 138(2). In block 612, one or more intermediate layers may be used to classify pixels, such as intermediate layers between the foreground and background. Thus, pixels included in pixel data 136 may be classified into multiple layers at any suitable granularity.
[0077] In sub-block 618, the application of the reprojection adjustments in block 608 may include modifying a first subset of pixel values classified as foreground pixels 614 and refraining from modifying a second subset of pixel values classified as background pixels 616. In other words, the compositor 116 of the HMD 102 may apply different adjustments or no adjustments to a given pixel depending on the layer (e.g., foreground vs. background) in which the pixel is classified. This is yet another resource-saving technique to avoid wasting computing resources in applying the reprojection adjustments to the background pixels 616, seeing how minor inaccuracies in the background content may go unnoticed by the user 104. This technique described in process 600 may be enabled by defining different update rates at which the reprojection adjustments are applied to different layers of classified pixels, as determined from the depth data 138(2). For example, background pixels corresponding to objects in the background of the scene may be updated (due to reprojection) less frequently than foreground pixels corresponding to objects in the foreground of the scene. For example, logic in the HMD 102 (e.g., the compositor 116) may make reprojection adjustments to background pixels 616 at 30 Hz, while making reprojection adjustments to foreground pixels 614 at a higher frequency, such as 90 Hz. For a frame rate of 90 Hz, this means that foreground pixels 614 are corrected for reprojection adjustments every frame, while background pixels 616 are corrected for reprojection adjustments every third frame in a series of frames, meaning that two consecutive frames do not include reprojection adjustments to background pixels in order to save resources. This is based at least in part on the concept of reprojection adjustments to background pixels 616, which are expected to be smaller adjustments than reprojection adjustments to foreground pixels 614, given the same error in the original pose prediction of the HMD 102.
[0078] 7 illustrates a flow diagram of an example process 700 for an HMD 102 to receive hand tracking data directly from a handheld controller and use the hand tracking data to overlay virtual hands on an application rendering scene, according to an embodiment disclosed herein. For discussion purposes, the process 700 is described with reference to the previous figure.
[0079] At 702, the HMD 102 may receive hand tracking data 706 from at least one handheld controller 704 communicatively coupled to the HMD 102. The handheld controller 704 may represent a video game controller, such as a handheld VR controller, whose movement and / or position in 3D space is tracked much in the same manner that the movement and / or position of the HMD 102 may be tracked. Instead of the handheld controller 704 transmitting the hand tracking data 706 to the host computer 106 for overlaying virtual hands on a scene at the host computer 106, latency reduction measures may be taken by having the handheld controller 704 transmit hand tracking data 706 indicative of the movement and / or position of the handheld controller 704 directly to the HMD 102 without transmitting the hand tracking data 706 to the host computer 106 before the hand tracking data 706 is received by the HMD 102. The hand tracking data 706 may include data generated by a tracking sensor attached to the handheld controller 704, and possibly proximity sensor data generated by a proximity sensor (e.g., a capacitance sensor) of the handheld controller 704 to indicate the position / distance of the fingers relative to the handheld controller 704.
[0080] At 708, logic of the HMD 102 (e.g., the compositor 116) may modify the pixel data 136 for the given frame based at least in part on the hand tracking data 706 to obtain modified pixel data associated with the given frame, including one or more virtual hands 710 overlaid on the scene 712 represented by the pixel data 136. For example, at sub-block 714, the compositor 116 of the HMD 102 may overlay one or more virtual hands 710 on the scene rendered by the application 130 by replacing pixel values generated by the application 130 with pixel values generated by the compositor 116 to present the virtual hands 710. Thus, the HMD 102 can render the virtual hands 710 on the scene 712 based on the hand tracking data 706 that the HMD 102 receives directly from the handheld controller 704. This may allow reprojection adjustments in the rendering of the virtual hands 710 to be minimized, since pose prediction of the handheld controller 704 does not need to be done far in advance, if data does not need to be transmitted to the host computer 106 and then from the host computer 106 to the HMD 102.
[0081] 8A and 8B show two alternative setups of a system for splitting the frame rendering workload 100 between the HMD 102 and the host computer 106 according to embodiments disclosed herein. Referring briefly to FIG. 1, an exemplary implementation has the host computer 106 located in an environment with the HMD 102 worn by the user 104. For example, the host computer 106 may be located in the house of the user 104 while the user 104 uses the HMD 102 in the house, whether the host computer 106 is located in the same room as the HMD 102 or a different room. Alternatively, the host computer 106 in the form of a mobile computing device (e.g., tablet or laptop) may be carried in a backpack on the back of the user 104, thereby allowing for greater mobility. For example, the user 104 may be located in a public park while using such a system.
[0082] 8A illustrates an alternative implementation in which the host computer 106 represents one or more server computers located geographically remotely relative to the HMD 102. In this case, the HMD 102 may be communicatively coupled to the host computer 106 via an access point (AP) 800, such as a wireless AP (WAP), base station, or the like. In an illustrative example, data is exchanged (e.g., streamed) between the host computer 106 and the HMD 102 via the AP 800, such as by streaming the data over the Internet.
[0083] FIG. 8B illustrates yet another alternative implementation in which the host computer 106 is communicatively coupled to the HMD 102 via an intermediate computing device 802, such as a laptop or tablet computer. The difference between FIG. 8A and 8B is that the AP 800 of FIG. 8A may simply act as a data routing device that does not perform rendering, while the intermediate computing device 802 of FIG. 8B may perform a portion of the rendering workload 100. That is, instead of bifurcating the rendering workload 100 between the host computer 106 and the HMD 102, the rendering workload 100 may be partitioned among three or more devices, such as three devices: the host computer 106, the intermediate computing device 802, and the HMD 102. In the scenario of FIG. 8B, the host computer 106 may generate pixel data 136 as described herein, the intermediate computing device 802 may perform a first set of rendering operations to modify the pixel data 136, and the HMD 102 may perform a final set of rendering operations to modify the modified pixel data.
[0084] FIG. 9 illustrates exemplary components of a wearable device, such as an HMD 102 (e.g., a VR headset), according to embodiments disclosed herein, and a host computer 106 on which the techniques disclosed herein may be implemented. The HMD 102 may be implemented as a connected device that is communicatively coupled to the host computer 106 during operation, and / or as a standalone device. In either mode of operation, the HMD 102 is to be worn by the user 104 (e.g., on the head of the user 104). In some embodiments, the HMD 102 may be head-mountable, such as by allowing the user 104 to fasten the HMD 102 to the user's head using a fastening mechanism (e.g., an adjustable band) sized to fit around the head of the user 104. In some embodiments, the HMD 102 includes a virtual reality (VR) or augmented reality (AR) headset that includes a near-eye or near-to-eye display. Thus, the terms "wearable device," "wearable electronic device," "VR headset," "AR headset," and "head mounted display (HMD)" may be used interchangeably herein to refer to the device 102 of FIG. 9. However, it should be understood that these types of devices are merely examples of the HMD 102, and it should be understood that the HMD 102 may be implemented in a variety of other form factors. It should also be understood that some or all of the components shown in FIG. 9 may be implemented on the HMD 102. Thus, in some embodiments, a subset of the components shown as being implemented on the HMD 102 may be implemented on the host computer 106 or another computing device separate from the HMD 102.
[0085] In the illustrated implementation, the HMD 102 includes the aforementioned processor 110, which may include one or more GPUs 114, and a memory 112 that stores a compositor 116 that is executable by the processor 110, the display panel 108, a head tracking system 118, and a communications interface 120.
[0086] Although additional functional modules are shown as stored on the computer-readable medium 112 and executable on the processor 110, the same functionality may alternatively be implemented in hardware, firmware, or as SOCs and / or other logic. For example, an operating system module 900 may be configured to manage hardware within and coupled to the HMD 102 for the convenience of other modules. Additionally, in some instances, the HMD 102 may include one or more applications 902 stored in the memory 112 or otherwise accessible to the HMD 102. For example, the applications 902 may include, but are not limited to, video game applications (e.g., basic video games with graphics that are computationally less intensive to process), video playback applications (e.g., applications that access video content libraries stored on the HMD 102 and / or in the cloud), and the like. The HMD 102 may include any number or type of applications 902 and is not limited to the specific examples described herein.
[0087] Generally, the HMD 102 has input devices 904 and output devices 906. The input devices 904 may include control buttons. In some implementations, one or more microphones may function as the input devices 904 to receive audio input, such as user voice input. In some implementations, one or more cameras or other types of sensors (e.g., inertial measurement units (IMUs)) may function as the input devices 904 to receive gestural input, such as hand and / or head movements of the user 104. In some embodiments, additional input devices 904 may be provided in the form of a keyboard, keypad, mouse, touch screen, joystick, etc. In other embodiments, the HMD 102 may omit a keyboard, keypad, or other similar form of mechanical input. Instead, the HMD 102 may be implemented with a relatively simple form of input device 904, a network interface (wireless or wired based), a power source, and processing / memory capabilities. For example, a limited set of one or more input components (e.g., dedicated buttons for initiating configuration, powering on / off, etc.) may be used and the HMD 102 may thereafter be used. In one implementation, the input device 904 may include controls such as basic volume control buttons for increasing / decreasing the volume, as well as power and reset buttons.
[0088] The output device(s) 906 may include a display panel 108, which may include one or more display panels 108 (e.g., a stereo pair of display panels 108) as described herein. The output device(s) 906 may further include, without limitation, light emitting elements (e.g., LEDs), vibrators for producing tactile sensations, speakers (e.g., headphones), and the like. There may also be simple light emitting elements (e.g., LEDs) to indicate a state, such as when the power is on.
[0089] The HMD 102 may further include a communication interface 120, including, but not limited to, a wireless unit 908 coupled to an antenna 910 to facilitate wireless connection to a network and / or a second device, such as the host computer 106. The wireless unit 908 may implement one or more of a variety of wireless technologies, such as Wi-Fi, Bluetooth, radio frequency (RF), etc. It should be appreciated that the HMD 102 may further include a physical port to facilitate a wired connection to a network and / or a second device, such as the host computer 106.
[0090] The HMD 102 may further include an optical subsystem 912 that directs light from the display panel 108 to the user's eyes using one or more optical elements. The optical subsystem 912 may include various types and combinations of different optical elements, including, but not limited to, apertures, lenses (e.g., Fresnel lenses, convex lenses, concave lenses, etc.), filters, etc. In some embodiments, one or more optical elements in the optical subsystem 912 may have one or more coatings, such as an anti-reflective coating. The magnification of the image light by the optical subsystem 912 allows the display panel 108 to be physically smaller, lighter, and less power-hungry than larger displays. In addition, the magnification of the image light may increase the field of view (FOV) of the displayed content (e.g., images). For example, the FOV of the displayed content is such that the displayed content is presented using nearly all (e.g., 120-150 degrees diagonal), and possibly all, of the user's FOV. AR applications may have a narrower FOV (e.g., FOV of about 40 degrees). The optical subsystem 912 may be designed to correct one or more optical errors such as, but not limited to, barrel distortion, pincushion distortion, longitudinal chromatic aberration, transverse aberration, spherical aberration, field curvature, astigmatism, etc. In some embodiments, content provided to the display panel 108 for display is pre-distorted (applied geometric distortion adjustments and / or chromatic aberration adjustments as described herein), and the optical subsystem 912 corrects that distortion when receiving image light from the display panel 108 generated based on the content.
[0091] The HMD 102 may further include one or more sensors 914, such as sensors used to generate motion, position, and orientation data. These sensors 914 may be or include gyroscopes, accelerometers, magnetometers, video cameras, color sensors, or other motion, position, and orientation sensors. The sensors 914 may also include sub-portions of sensors, such as a set of active or passive markers that may be viewed externally by a camera or color sensor to generate motion, position, and orientation data. For example, a VR headset may include multiple markers on its exterior, such as reflectors or lights (e.g., infrared or visible light), that when viewed by an external camera or illuminated with light (e.g., infrared or visible light), may provide one or more reference points for interpretation by the software to generate motion, position, and orientation data. The HMD 102 may include a light sensor that is sensitive to light (e.g., infrared or visible light) projected or scattered by a base station in the environment of the HMD 102.
[0092] In one example, the sensors 914 may include an inertial measurement unit (IMU) 916. The IMU 916 may be an electronic device that generates calibration data based on measurement signals received from accelerometers, gyroscopes, magnetometers, and / or other sensors suitable for detecting motion, correcting errors associated with the IMU 916, or some combination thereof. Based on the measurement signals, such motion-based sensors, such as the IMU 916, may generate calibration data indicative of an estimated position of the HMD 102 relative to an initial position of the HMD 102. For example, multiple accelerometers may measure translational motion (forward / backward, up / down, left / right) and multiple gyroscopes may measure rotational motion (e.g., pitch, yaw, and roll). The IMU 916 may, for example, rapidly sample the measurement signals and calculate an estimated position of the HMD 102 from the sampled data. For example, the IMU 916 may integrate measurement signals received from an accelerometer over time to estimate a velocity vector, and integrate the velocity vector over time to determine an estimated position of a reference point on the HMD 102. A reference point is a point that may be used to describe the position of the HMD 102. A reference point may generally be defined as a point in space, but in various embodiments, the reference point is defined as a point within the HMD 102 (e.g., the center of the IMU 916). Alternatively, the IMU 916 provides sampled measurement signals to an external console (or other computing device), which determines the calibration data.
[0093] The sensor 914 may operate at a relatively high frequency to provide sensor data at a high rate. For example, the sensor data may be generated at a rate of 1000 Hz (or one sensor reading every millisecond). In this manner, 1000 readings are generated per second. If the sensor generates this much data at this rate (or even faster), the data set used to predict movement becomes very large, even over a relatively short period of time, such as tens of milliseconds.
[0094] As mentioned, in some embodiments, the sensor 914 may include a light sensor that is sensitive to light emitted by a base station in the environment of the HMD 102 for purposes of tracking the position and / or orientation, posture, etc. of the HMD 102 in 3D space. Calculations of position and / or orientation may be based on timing characteristics of the light pulses and the presence or absence of light detected by the sensor 914.
[0095] The HMD 102 may further include an eye tracking system 918 that generates eye tracking data. The eye tracking system 918 may include, but is not limited to, a camera or other optical sensor internal to the HMD 102 to capture image data (or information) of the user's eyes, and the eye tracking system 918 may use the captured data / information to determine the motion vectors, interpupillary distance, interocular distance, three-dimensional (3D) position of each eye relative to the HMD 102, including the magnitude of twist and rotation (i.e., roll, pitch, and yaw) and gaze direction of each eye. In one example, infrared light is emitted within the HMD 102 and reflected from each eye. The reflected light is received or detected by a camera of the eye tracking system 918 and analyzed to extract eye rotation from the change in the infrared light reflected by each eye. Many methods for tracking the eyes of the user 104 may be used by the eye tracking system 918. Thus, the eye tracking system 918 may track up to six degrees of freedom (i.e., 3D position, roll, pitch, and yaw) of each eye, and at least a subset of the tracked quantities may be combined from the two eyes of the user 104 to estimate a point of gaze (i.e., a 3D location or position within the virtual scene where the user is looking) that may be mapped to a location on the display panel 108 to predict where the user 104 is looking with respect to an individual subset (e.g., a row) or a group of consecutive subsets (e.g., a group of consecutive rows) of pixels of the display panel 108. For example, the eye tracking system 918 may integrate information from past measurements, measurements identifying the position of the user 104's head, and 3D information describing the scene presented by the display panel 108. Thus, the position and orientation information of the user 104's eyes is used to determine a point of gaze within the virtual scene presented by the HMD 102 where the user 104 is looking, and map the point of gaze to a location on the display panel 108 of the HMD 102.
[0096] The HMD 102 may further include a head tracking system 118. The head tracking system 118 may utilize one or more of the sensors 914 to track head movement, including head rotation, of the user 104, as described above. For example, the head tracking system 118 may track up to six degrees of freedom (i.e., 3D position, roll, pitch, and yaw) of the HMD 102. These calculations may be performed for each frame of a sequence of frames, so that the application 130 can determine how to render a scene in the next frame depending on the head position and orientation. In some embodiments, the head tracking system 118 is configured to generate head tracking data 122 that can be used to predict future poses (position and / or orientation) of the HMD 102 based on current and / or past data and / or based on known / implied scan-out latencies of individual subsets of pixels in the display system. This is because the application 130 is required to render a frame before the user 104 actually sees the light (and therefore the image) on the display panel 108. The next frame may then be rendered based on this future prediction of head position and / or orientation made at an earlier point in time. The rotational data provided by the head tracking system 118 may be used to determine both the direction of rotation of the HMD 102 and the amount of rotation of the HMD 102, in any suitable units of measure. For example, the direction of rotation may be output simply in terms of positive or negative horizontal directions and positive or negative vertical directions corresponding to left, right, up, and down. The amount of rotation may be in units of degrees, radians, etc. An angular velocity may be calculated to determine the rate of rotation of the HMD 102.
[0097] In the illustrated implementation, the host computer may include the aforementioned processor 124, which may include one or more GPUs 128, as well as memory 126 that stores applications 130 and rendering components 132 executable by the processor 128, and a communications interface 134.
[0098] The memory 126 may include an operating system 920 configured to manage hardware within and coupled to the host computer 106 for the benefit of the other modules. The host computer 106 may also have a video game client 922 installed within the memory 126. This video game client 922 may represent an executable client application configured to launch and execute a program, such as a video game (or video game program). In other words, the video game client 922 may include game software usable to play a video game on a system including the HMD 102 and the host computer 106. With the video game client 922 installed, the host computer 106 may have the capability to receive (e.g., download, stream, etc.) a video game from a remote system via a computer network (e.g., the Internet) and execute the video game via the video game client 922. For this purpose, any type of content distribution model may be utilized, such as a direct purchase model in which the video game can be purchased separately for download and execution on the host computer 106, a subscription-based model, a content distribution model in which the video game is rented or leased for a period of time, etc. Thus, host computer 106 may include one or more video games, such as video game 130(1), in video game library 924. These video games may be retrieved and executed by loading video game client 922. In one example, user 104 may select to play one of multiple video games purchased and downloaded to video game library 924 by loading video game client 922, selecting video game 130(1), and beginning execution of video game 130(1). Video game client 922 may enable a user to log into the video game service using credentials (e.g., user account, password, etc.).
[0099] The host computer 106 may further include a communication interface 134 including, but not limited to, a wireless unit 926 coupled to an antenna 928 to facilitate wireless connection to a network and / or a second device, such as the HMD 102. The wireless unit 926 may implement one or more of a variety of wireless technologies, such as Wi-Fi, Bluetooth, radio frequency (RF), etc. It should be appreciated that the host computer 106 may further include a physical port to facilitate a wired connection to a network and / or a second device, such as the HMD 102.
[0100] Generally, the host computer 106 has input devices 930 and output devices 932. The input devices 930 may include a keyboard, a keypad, a mouse, a touch screen, a joystick, control buttons, a microphone, a camera, etc. The output devices 932 may include, without limitation, a display, light emitting elements (e.g., LEDs), a vibrator for producing tactile sensations, a speaker (e.g., headphones), etc.
[0101] Although the present subject matter has been described in language specific to structural features, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features described. Rather, the specific features are disclosed as example forms of implementing the claims. The invention as originally claimed in this application is set forth below. [1] A head mounted display (HMD), one or more display panels having an array of light emitting elements; A head tracking system; A processor; When executed by the processor, the HMD: transmitting first head tracking data generated by the head tracking system to a host computer communicatively coupled to the HMD; receiving pixel data associated with a first frame from the host computer and based at least in part on the first head tracking data, and extra data in addition to the pixel data, the extra data comprising: pose data indicating a predicted pose of the HMD used by an application running on the host computer to generate the pixel data; and and depth data associated with the first frame. determining an updated pose that the HMD will assume at a time when the light emitting elements are illuminated for the first frame based at least in part on second head tracking data generated by the head tracking system; and applying a reprojection adjustment to the pixel data based at least in part on the depth data and a comparison between the predicted pose and the updated pose to obtain modified pixel data associated with the first frame; and presenting a first image on the one or more display panels based at least in part on the modified pixel data. [2] the host computer is wirelessly coupled to the HMD; the first head tracking data is wirelessly transmitted to the host computer; The HMD of [1], wherein the pixel data and the extra data are received wirelessly from the host computer. [3] The pixel data includes pixel values corresponding to pixel arrays of the one or more display panels, and the computer-executable instructions, when executed by the processor, cause the HMD to: classifying a first subset of the pixel values as foreground pixels and a second subset of the pixel values as background pixels based at least in part on the depth data; applying the reprojection adjustment to the pixel data based at least in part on the depth data; modifying the first subset of pixel values; and refraining from modifying the second subset of pixel values. [4] the pixel data includes pixel values corresponding to a pixel array of the one or more display panels; the extra data further comprises extra pixel data including extra pixel values outside a boundary of the pixel array of the one or more display panels; The HMD of [1], wherein applying the reprojection adjustment to the pixel data includes replacing at least some of the pixel values with at least some of the extra pixel values. [5] the extra data further comprising motion vector data generated by the host computer based at least in part on the first head tracking data; The HMD of [1], wherein applying the reprojection adjustment to the pixel data is based at least in part on the motion vector data. [6] The computer-executable instructions, when executed by the processor, cause the HMD to: receiving hand tracking data from at least one handheld controller communicatively coupled to the HMD; and modifying the pixel data to include one or more virtual hands overlaid on a scene represented by the pixel data based at least in part on the hand tracking data, and obtaining the modified pixel data associated with the first frame. [7] 1. A method implemented by a head mounted display (HMD) including one or more display panels having an array of light emitting elements, the method comprising: transmitting first head tracking data generated by a head tracking system of the HMD to a host computer; receiving pixel data and extra data associated with a first frame from the host computer and based at least in part on the first head tracking data, the extra data comprising: pose data indicating a predicted pose of the HMD used by an application running on the host computer to generate the pixel data; and and depth data associated with the first frame. determining an updated pose that the HMD will assume at a time when the light emitting elements are illuminated for the first frame based at least in part on second head tracking data generated by the head tracking system; and applying a reprojection adjustment to the pixel data based at least in part on the depth data and a comparison between the predicted pose and the updated pose to obtain modified pixel data associated with the first frame; and presenting a first image on the one or more display panels based at least in part on the modified pixel data. [8] the host computer is wirelessly coupled to the HMD; the first head tracking data is wirelessly transmitted to the host computer; 8. The method of claim 7, wherein the pixel data and the extra data are received wirelessly from the host computer. [9] the pixel data comprising pixel values corresponding to a pixel array of the one or more display panels, the method comprising: classifying a first subset of the pixel values as foreground pixels and a second subset of the pixel values as background pixels based at least in part on the depth data; said applying said reprojection adjustment to said pixel data modifying the first subset of pixel values; and refraining from modifying the second subset of pixel values.
[10] the pixel data includes pixel values corresponding to a pixel array of the one or more display panels; the extra data further comprises extra pixel data including extra pixel values outside a boundary of the pixel array of the one or more display panels; [7]. The method of claim 7, wherein applying the reprojection adjustment to the pixel data comprises replacing at least some of the pixel values with at least some of the redundant pixel values.
[11] the extra data further comprising motion vector data generated based at least in part on the first head tracking data; The method of any one of claims 1 to 7, wherein the applying of the reprojection adjustment to the pixel data is based at least in part on the motion vector data.
[12] receiving hand tracking data from at least one handheld controller communicatively coupled to the HMD; [7]. The method of claim 7, further comprising: modifying the pixel data to include one or more virtual hands overlaid on a scene represented by the pixel data based at least in part on the hand tracking data; and obtaining the modified pixel data associated with the first frame.
[13] A host computer, A processor; When executed by the processor, the host computer receiving, from a head mounted display (HMD), first head tracking data generated by a head tracking system of the HMD; determining an expected illumination time representing a time that light emitting elements of one or more display panels of the HMD will be illuminated for a first frame of a series of frames; determining a predicted pose that the HMD will assume during the predicted illumination time based at least in part on the first head tracking data; providing pose data indicative of the predicted pose to an application for rendering the first frame, the application executing on the host computer; obtaining pixel data associated with the first frame from the application; generating motion vector data based at least in part on the first head tracking data and second head tracking data generated by the head tracking system, the second head tracking data being received from the HMD before the first head tracking data; and transmitting to the HMD the pixel data and extra data, the extra data including at least the pose data and the motion vector data.
[14] the HMD is wirelessly coupled to the host computer; the first head tracking data is wirelessly received from the HMD; The host computer of
[13] , wherein the pixel data and the extra data are wirelessly transmitted to the HMD.
[15] The computer-executable instructions, when executed by the processor, cause the host computer to: receiving, from the application, depth data associated with the first frame; The host computer of
[13] , wherein the extra data further comprises the depth data.
[16] the pixel data includes pixel values corresponding to a pixel array of the one or more display panels of the HMD, and the computer-executable instructions, when executed by the processor, cause the host computer to: receiving extra pixel data from the application, the extra pixel data including extra pixel values outside a boundary of the pixel array of the one or more display panels of the HMD; The host computer of
[13] , wherein the extra data further comprises the extra pixel data.
[17] The host computer of
[16] , wherein the computer-executable instructions, when executed by the processor, further cause the host computer to instruct the application to generate the pixel data at a first resolution and generate the extra pixel data at a second resolution lower than the first resolution.
[18] The host computer of
[16] , wherein the computer-executable instructions, when executed by the processor, further cause the host computer to instruct the application to generate the extra pixel data based at least in part on the first head tracking data indicating a movement of the HMD that exceeds a threshold movement.
[19] The host computer of
[16] , wherein the computer-executable instructions, when executed by the processor, further cause the host computer to instruct the application to render a certain number of the extra pixel values in the extra pixel data based at least in part on an amount of movement of the HMD indicated by the first head tracking data.
[20] The computer-executable instructions, when executed by the processor, cause the host computer to: The host computer of
[16] , further configured to instruct the application to generate the extra pixel data based at least in part on at least one of the motion vector data or prediction data generated by the application.
Claims
1. A head mounted display (HMD), one or more display panels having an array of light emitting elements; A head tracking system; A processor; When executed by the processor, the HMD: transmitting first head tracking data generated by the head tracking system to a host computer communicatively coupled to the HMD; from the host computer and based at least in part on the first head tracking data; pixel data associated with a first frame rendered at a frame rate by an application executing on the host computer; and receiving extra data in addition to the pixel data, the extra data comprising: pose data indicating a predicted pose of the HMD used by the application to generate the pixel data; and depth data associated with the first frame. determining an updated pose that the HMD will assume at a time when the light emitting elements are illuminated for the first frame based at least in part on second head tracking data generated by the head tracking system; and classifying the pixel data into foreground pixels and background pixels based at least in part on the depth data; applying a reprojection adjustment to the pixel data based at least in part on the depth data and a comparison between the predicted pose and the updated pose to obtain modified pixel data associated with the first frame, where applying a reprojection adjustment to the pixel data based at least in part on the depth data includes: modifying the foreground pixels based at least in part on a first rate at which the reprojection adjustments are applied to the foreground pixels; modifying the background pixels based at least in part on a second rate at which the reprojection adjustments are applied to the background pixels, where the second rate is lower than the first rate and lower than the frame rate; and presenting a first image on the one or more display panels based at least in part on the modified pixel data.
2. the host computer is wirelessly coupled to the HMD; the first head tracking data is wirelessly transmitted to the host computer; The HMD of claim 1 , wherein the pixel data and the extra data are received wirelessly from the host computer.
3. The computer-executable instructions, when executed by the processor, cause the HMD to: receiving second pixel data and second depth data associated with a second frame from the host computer; classifying the second pixel data as second foreground pixels and second background pixels based at least in part on the second depth data; applying a second reprojection adjustment to the second pixel data based at least in part on the second depth data to obtain second modified pixel data associated with the second frame, where applying the second reprojection adjustment to the second pixel data based at least in part on the second depth data; modifying the second foreground pixels based at least in part on the first rate; and and refraining from modifying the second background pixels based at least in part on the second rate; displaying a second image on the one or more display panels based at least in part on the second modified pixel data; The HMD of claim 1 , further comprising:
4. The computer-executable instructions, when executed by the processor, cause the HMD to: receiving hand tracking data from at least one handheld controller communicatively coupled to the HMD; 2. The HMD of claim 1, further comprising: modifying the pixel data to include one or more virtual hands overlaid on a scene represented by the pixel data based at least in part on the hand tracking data; and obtaining the modified pixel data associated with the first frame.
5. 1. A method implemented by a head mounted display (HMD) including one or more display panels having an array of light emitting elements, the method comprising: transmitting first head tracking data generated by a head tracking system of the HMD to a host computer; from the host computer and based at least in part on the first head tracking data; pixel data associated with a first frame rendered at a frame rate by an application executing on the host computer; and receiving extra data, the extra data comprising: pose data indicating a predicted pose of the HMD used by the application to generate the pixel data; and depth data associated with the first frame. determining an updated pose that the HMD will assume at a time when the light emitting elements are illuminated for the first frame based at least in part on second head tracking data generated by the head tracking system; and classifying the pixel data into foreground pixels and background pixels based at least in part on the depth data; applying a reprojection adjustment to the pixel data based at least in part on the depth data and a comparison between the predicted pose and the updated pose to obtain modified pixel data associated with the first frame, where applying a reprojection adjustment to the pixel data based at least in part on the depth data includes: modifying the foreground pixels based at least in part on a first rate at which the reprojection adjustments are applied to the foreground pixels; modifying the background pixels based at least in part on a second rate at which the reprojection adjustments are applied to the background pixels, where the second rate is lower than the first rate and lower than the frame rate; presenting a first image on the one or more display panels based at least in part on the modified pixel data.
6. the host computer is wirelessly coupled to the HMD; the first head tracking data is wirelessly transmitted to the host computer; The method of claim 5 , wherein the pixel data and the extra data are received wirelessly from the host computer.
7. The method further comprising: receiving second pixel data and second depth data associated with a second frame from the host computer; classifying the second pixel data as second foreground pixels and second background pixels based at least in part on the second depth data; applying a second reprojection adjustment to the second pixel data to obtain second modified pixel data associated with the second frame based at least in part on the second depth data, where applying the second reprojection adjustment to the second pixel data includes: modifying the second foreground pixels based at least in part on the first rate; and and refraining from modifying the second background pixels based at least in part on the second rate; displaying a second image on the one or more display panels based at least in part on the modified second pixel data; The method of claim 5 further comprising:
8. receiving hand tracking data from at least one handheld controller communicatively coupled to the HMD; 6. The method of claim 5, further comprising: modifying the pixel data to include one or more virtual hands overlaid on a scene represented by the pixel data based at least in part on the hand tracking data to obtain the modified pixel data associated with the first frame.
9. 1. A method implemented by a head mounted display (HMD) comprising one or more display panels, the method comprising: transmitting head tracking data generated by a head tracking system of the HMD to a host computer; receiving, from the host computer and based at least in part on the head tracking data, pixel data and depth data associated with a first frame rendered at a frame rate by an application executing on the host computer; classifying the pixel data into foreground pixels and background pixels based at least in part on the depth data; applying a reprojection adjustment to the pixel data based at least in part on the depth data to obtain modified pixel data associated with the first frame, where applying the reprojection adjustment to the pixel data based at least in part on the depth data includes: modifying the foreground pixels based at least in part on a first rate at which the reprojection adjustments are applied to the foreground pixels; modifying the background pixels based at least in part on a second rate at which the reprojection adjustments are applied to the background pixels, where the second rate is lower than the first rate and lower than the frame rate; presenting a first image on the one or more display panels based at least in part on the modified pixel data.
10. The method of claim 9 , wherein the pixel data and the depth data are received wirelessly from the host computer.
11. receiving second pixel data and second depth data associated with a second frame from the host computer; classifying the second pixel data into second foreground pixels and second background pixels based at least in part on the second depth data; applying a second reprojection adjustment to the second pixel data based at least in part on the second depth data to obtain second modified pixel data associated with the second frame, where applying the second reprojection adjustment to the second pixel data includes: modifying the second foreground pixels based at least in part on the first rate; and obtaining, comprising refraining from modifying the second background pixels based at least in part on the second rate; 10. The method of claim 9, further comprising presenting a second image on the one or more display panels based at least in part on the second modified pixel data.
12. receiving hand tracking data from at least one handheld controller communicatively connected to the HMD; 10. The method of claim 9, further comprising: modifying the pixel data to include one or more virtual hands overlaid on a scene represented by the pixel data based at least in part on the hand tracking data to obtain the modified pixel data associated with the first frame.
13. The head tracking data is first head tracking data, receiving pose data from the host computer and based at least in part on the first head tracking data, the pose data indicating a predicted pose of the HMD used by the application to generate the pixel data; determining, based at least in part on second head tracking data generated by the head tracking system, an updated pose that the HMD will assume at a time when light emitting elements of the one or more display panels are illuminated for the first frame; The method of claim 9 , wherein applying the reprojection adjustment to the pixel data is further based, at least in part, on a comparison between the predicted pose and the updated pose.
14. The method of claim 13 , wherein the application comprises a video game.
15. classifying the pixel data based at least in part on the depth data includes classifying the pixel data into the foreground pixels, the background pixels, and intermediate layer pixels between the foreground pixels and the background pixels; 10. The method of claim 9, wherein applying the reprojection adjustments to the pixel data based at least in part on the depth data further comprises modifying the intermediate layer pixels based at least in part on a third rate at which the reprojection adjustments are applied to the intermediate layer pixels, where the third rate is different from the first rate and the second rate.
16. outputting the modified pixel data to a frame buffer; displaying the first image on the one or more display panels based at least in part on the modified pixel data; scanning out the modified pixel data to the one or more display panels; 10. The method of claim 9, further comprising illuminating light emitting elements of the one or more display panels.
17. classifying the pixel data based at least in part on the depth data includes classifying the pixel data into the foreground pixels, the background pixels, and intermediate layer pixels between the foreground pixels and the background pixels; The HMD of claim 1, wherein applying the reprojection adjustments to the pixel data based at least in part on the depth data further includes modifying the intermediate layer pixels based at least in part on a third rate at which the reprojection adjustments are applied to the intermediate layer pixels, where the third rate is different from the first rate and the second rate.
18. The computer-executable instructions, when executed by the processor, further cause the HMD to: outputting the modified pixel data to a frame buffer; wherein displaying the first image on one or more display panels based at least in part on the modified pixel data includes: scanning out the modified pixel data to the one or more display panels; lighting the light emitting elements of the one or more display panels. The HMD according to claim 1.
19. classifying the pixel data based at least in part on the depth data includes classifying the pixel data into the foreground pixels, the background pixels, and intermediate layer pixels between the foreground pixels and the background pixels; 6. The method of claim 5, wherein applying the reprojection adjustments to the pixel data based at least in part on the depth data further comprises modifying the intermediate layer pixels based at least in part on a third rate at which the reprojection adjustments are applied to the intermediate layer pixels, where the third rate is different from the first rate and the second rate.
Citation Information
Patent Citations
Stereoscopic image decoding and displaying device
JP2011172161A
Method, program, and recording medium for providing virtual space
JP2018028900A
Rendering device, head-mounted display, image transmission method, and image correction method
JP2019028368A
Image generation device, image generation system, image generation method, and program
JP2019079339A
Decoupled multi-layer render frequency
US20180286053A1
