This disclosure generally relates to artificial reality, such as virtual reality and augmented reality.
Artificial reality is a form of reality that has been adjusted in some manner before presentation to a user, which may include, e.g., a virtual reality (VR), an augmented reality (AR), a mixed reality (MR), a hybrid reality, or some combination and/or derivatives thereof. Artificial reality content may include completely generated content or generated content combined with captured content (e.g., real-world photographs). The artificial reality content may include video, audio, haptic feedback, or some combination thereof, and any of which may be presented in a single channel or in multiple channels (such as stereo video that produces a three-dimensional effect to the viewer). Artificial reality may be associated with applications, products, accessories, services, or some combination thereof, that are, e.g., used to create content in an artificial reality and/or used in (e.g., perform activities in) an artificial reality. The artificial reality system that provides the artificial reality content may be implemented on various platforms, including a head-mounted display (HMD) connected to a host computer system, a standalone HMD, a mobile device or computing system, or any other hardware platform capable of providing artificial reality content to one or more viewers.
Artificial reality involves the display of computer-generated graphics to a user in an immersive manner. The goal is to cause the user to experience the computer-generated graphics as though they existed in the world before them. Rendering computer-generated graphics for artificial reality is a computationally-intensive task, often requiring expensive and specialized hardware. This is due at least in part to the requirement that the graphics displayed to the user must be very high quality. For a user to believe that the graphics represent, or are a part of, the world around them, the graphics must be believably high quality. The screen-door effect, where either the graphics or the display used to project the graphics allow the user to see lines between pixels can ruin any sense of immersion. Furthermore, graphics for artificial reality scenes are often interactive—when a user “moves” in the virtual space, the space moves with or in response to them. Latency between a user's movement, or movement command, and displaying the effects of that movement can cause great discomfort to the user, such as virtual-reality sickness. Because a user's movements are typically unpredictable, pre-rendering most components of an artificial reality scene is impractical.
Particular embodiments described herein relate to systems and methods of using a fade-away effect to improve viewport appearance. To address the limitation of waveguides, an originally rectangular viewport may have cutout-corners and may have an octagonal shape, which may lead to a non-optimal visual experience to users. To address this problem, the system may use the per-pixel correction provided by the non-uniformity correction (NUC) mechanism to blur the edges of the viewport based on the particular waveguide characteristics of each headset. The system may determine, based on the waveguide characteristics of the viewport, a scaling factor for each pixel value in the image to be displayed. The scaling factors, once applied to the pixel values of the image, may create a fade-away effect on the edges and corners of the image by modifying the pixel values in the image. As a result, the viewport may be blurred in the areas close to its edges or corners and the octagonal visual effect of viewport may be smoothed, leading to a more optimal visual experience for users. The system may adaptively compute the blurring coefficients based on on-device evaluations of LED wear-out and may combine the blurring coefficients with the scaling factor matrix for non-uniformity correction. As a result, the system may adjust the pixel values of the images for creating the fade-away effect during the non-uniformity correction process.
The embodiments disclosed herein are only examples, and the scope of this disclosure is not limited to them. Particular embodiments may include all, some, or none of the components, elements, features, functions, operations, or steps of the embodiments disclosed above. Embodiments according to the invention are in particular disclosed in the attached claims directed to a method, a storage medium, a system and a computer program product, wherein any feature mentioned in one claim category, e.g. method, can be claimed in another claim category, e.g. system, as well. The dependencies or references back in the attached claims are chosen for formal reasons only. However, any subject matter resulting from a deliberate reference back to any previous claims (in particular multiple dependencies) can be claimed as well, so that any combination of claims and the features thereof are disclosed and can be claimed regardless of the dependencies chosen in the attached claims. The subject-matter which can be claimed comprises not only the combinations of features as set out in the attached claims but also any other combination of features in the claims, wherein each feature mentioned in the claims can be combined with any other feature or combination of other features in the claims. Furthermore, any of the embodiments and features described or depicted herein can be claimed in a separate claim and/or in any combination with any embodiment or feature described or depicted herein or with any of the features of the attached claims.
In particular embodiments, the display engine 130 may include a controller block (not shown). The control block may receive data and control packages such as position data and surface information from controllers external to the display engine 130 though one or more data buses. For example, the control block may receive input stream data from a body wearable computing system. The input data stream may include a series of mainframe images generated at a mainframe rate of 30-90 Hz. The input stream data including the mainframe images may be converted to the required format and stored into the texture memory 132. In particular embodiments, the control block may receive input from the body wearable computing system and initialize the graphic pipelines in the display engine to prepare and finalize the image data for rendering on the display. The data and control packets may include information related to, for example, one or more surfaces including texel data, position data, and additional rendering instructions. The control block may distribute data as needed to one or more other blocks of the display engine 130. The control block may initiate the graphic pipelines for processing one or more frames to be displayed. In particular embodiments, the graphic pipelines for the two eye display systems may each include a control block or share the same control block.
In particular embodiments, the transform block 133 may determine initial visibility information for surfaces to be displayed in the artificial reality scene. In general, the transform block 133 may cast rays from pixel locations on the screen and produce filter commands (e.g., filtering based on bilinear or other types of interpolation techniques) to send to the pixel block 134. The transform block 133 may perform ray casting from the current viewpoint of the user (e.g., determined using the headset's inertial measurement units, eye tracking sensors, and/or any suitable tracking/localization algorithms, such as simultaneous localization and mapping (SLAM)) into the artificial scene where surfaces are positioned and may produce tile/surface pairs 144 to send to the pixel block 134. In particular embodiments, the transform block 133 may include a four-stage pipeline as follows. A ray caster may issue ray bundles corresponding to arrays of one or more aligned pixels, referred to as tiles (e.g., each tile may include 16×16 aligned pixels). The ray bundles may be warped, before entering the artificial reality scene, according to one or more distortion meshes. The distortion meshes may be configured to correct geometric distortion effects stemming from, at least, the eye display systems the headset system. The transform block 133 may determine whether each ray bundle intersects with surfaces in the scene by comparing a bounding box of each tile to bounding boxes for the surfaces. If a ray bundle does not intersect with an object, it may be discarded. After the tile-surface intersections are detected, the corresponding tile/surface pairs may be passed to the pixel block 134.
In particular embodiments, the pixel block 134 may determine color values or grayscale values for the pixels based on the tile-surface pairs. The color values for each pixel may be sampled from the texel data of surfaces received and stored in texture memory 132. The pixel block 134 may receive tile-surface pairs from the transform block 133 and may schedule bilinear filtering using one or more filer blocks. For each tile-surface pair, the pixel block 134 may sample color information for the pixels within the tile using color values corresponding to where the projected tile intersects the surface. The pixel block 134 may determine pixel values based on the retrieved texels (e.g., using bilinear interpolation). In particular embodiments, the pixel block 134 may process the red, green, and blue color components separately for each pixel. In particular embodiments, the display may include two pixel blocks for the two eye display systems. The two pixel blocks of the two eye display systems may work independently and in parallel with each other. The pixel block 134 may then output its color determinations (e.g., pixels 138) to the display block 135. In particular embodiments, the pixel block 134 may composite two or more surfaces into one surface to when the two or more surfaces have overlapping areas. A composed surface may need less computational resources (e.g., computational units, memory, power, etc.) for the resampling process.
In particular embodiments, the display block 135 may receive pixel color values from the pixel block 134, covert the format of the data to be more suitable for the scanline output of the display, apply one or more brightness corrections to the pixel color values, and prepare the pixel color values for output to the display. In particular embodiments, the display block 135 may each include a row buffer and may process and store the pixel data received from the pixel block 134. The pixel data may be organized in quads (e.g., 2×2 pixels per quad) and tiles (e.g., 16×16 pixels per tile). The display block 135 may convert tile-order pixel color values generated by the pixel block 134 into scanline or row-order data, which may be required by the physical displays. The brightness corrections may include any required brightness correction, gamma mapping, and dithering. The display block 135 may output the corrected pixel color values directly to the driver of the physical display (e.g., pupil display) or may output the pixel values to a block external to the display engine 130 in a variety of formats. For example, the eye display systems of the headset system may include additional hardware or software to further customize backend color processing, to support a wider interface to the display, or to optimize display speed or fidelity.
In particular embodiments, the dithering methods and processes (e.g., spatial dithering method, temporal dithering methods, and spatio-temporal methods) as described in this disclosure may be embodied or implemented in the display block 135 of the display engine 130. In particular embodiments, the display block 135 may include a model-based dithering algorithm or a dithering model for each color channel and send the dithered results of the respective color channels to the respective display driver ICs (DDIs) (e.g., 142A, 142B, 142C) of display system 140. In particular embodiments, before sending the pixel values to the respective display driver ICs (e.g., 142A, 142B, 142C), the display block 135 may further include one or more algorithms for correcting, for example, pixel non-uniformity, LED non-ideality, waveguide non-uniformity, display defects (e.g., dead pixels), etc.
In particular embodiments, graphics applications (e.g., games, maps, content-providing apps, etc.) may build a scene graph, which is used together with a given view position and point in time to generate primitives to render on a GPU or display engine. The scene graph may define the logical and/or spatial relationship between objects in the scene. In particular embodiments, the display engine 130 may also generate and store a scene graph that is a simplified form of the full application scene graph. The simplified scene graph may be used to specify the logical and/or spatial relationships between surfaces (e.g., the primitives rendered by the display engine 130, such as quadrilaterals or contours, defined in 3D space, that have corresponding textures generated based on the mainframe rendered by the application). Storing a scene graph allows the display engine 130 to render the scene to multiple display frames and to adjust each element in the scene graph for the current viewpoint (e.g., head position), the current object positions (e.g., they could be moving relative to each other) and other factors that change per display frame. In addition, based on the scene graph, the display engine 130 may also adjust for the geometric and color distortion introduced by the display subsystem and then composite the objects together to generate a frame. Storing a scene graph allows the display engine 130 to approximate the result of doing a full render at the desired high frame rate, while actually running the GPU or display engine 130 at a significantly lower rate.
In particular embodiments, the graphic pipeline 100D may include a resampling step 153, where the display engine 130 may determine the color values from the tile-surfaces pairs to produce pixel color values. The resampling step 153 may be performed by the pixel block 134 in
In particular embodiments, the graphic pipeline 100D may include a bend step 154, a correction and dithering step 155, a serialization step 156, etc. In particular embodiments, the bend step, correction and dithering step, and serialization steps of 154, 155, and 156 may be performed by the display block (e.g., 135 in
In particular embodiments, the optics system 214 may include a light combining assembly, a light conditioning assembly, a scanning mirror assembly, etc. The light source assembly 210 may generate and output an image light 219 to a coupling element 218 of the output waveguide 204. The output waveguide 204 may be an optical waveguide that could output image light to the user eye 202. The output waveguide 204 may receive the image light 219 at one or more coupling elements 218 and guide the received image light to one or more decoupling elements 206. The coupling element 218 may be, for example, but is not limited to, a diffraction grating, a holographic grating, any other suitable elements that can couple the image light 219 into the output waveguide 204, or a combination thereof. As an example and not by way of limitation, if the coupling element 350 is a diffraction grating, the pitch of the diffraction grating may be chosen to allow the total internal reflection to occur and the image light 219 to propagate internally toward the decoupling element 206. The pitch of the diffraction grating may be in the range of 300 nm to 600 nm. The decoupling element 206 may decouple the total internally reflected image light from the output waveguide 204. The decoupling element 206 may be, for example, but is not limited to, a diffraction grating, a holographic grating, any other suitable element that can decouple image light out of the output waveguide 204, or a combination thereof. As an example and not by way of limitation, if the decoupling element 206 is a diffraction grating, the pitch of the diffraction grating may be chosen to cause incident image light to exit the output waveguide 204. The orientation and position of the image light exiting from the output waveguide 204 may be controlled by changing the orientation and position of the image light 219 entering the coupling element 218. The pitch of the diffraction grating may be in the range of 300 nm to 600 nm.
In particular embodiments, the output waveguide 204 may be composed of one or more materials that can facilitate total internal reflection of the image light 219. The output waveguide 204 may be composed of one or more materials including, for example, but not limited to, silicon, plastic, glass, polymers, or some combination thereof. The output waveguide 204 may have a relatively small form factor. As an example and not by way of limitation, the output waveguide 204 may be approximately 50 mm wide along X-dimension, 30 mm long along Y-dimension and 0.5-1 mm thick along Z-dimension. The controller 216 may control the scanning operations of the light source assembly 210. The controller 216 may determine scanning instructions for the light source assembly 210 based at least on the one or more display instructions for rendering one or more images. The display instructions may include an image file (e.g., bitmap) and may be received from, for example, a console or computer of the AR/VR system. Scanning instructions may be used by the light source assembly 210 to generate image light 219. The scanning instructions may include, for example, but are not limited to, an image light source type (e.g., monochromatic source, polychromatic source), a scanning rate, a scanning apparatus orientation, one or more illumination parameters, or some combination thereof. The controller 216 may include a combination of hardware, software, firmware, or any suitable components supporting the functionality of the controller 216.
In particular embodiments, the image field 227 may receive the light 226A-B as the mirror 224 rotates about the axis 225 to project the light 226A-B in different directions. For example, the image field 227 may correspond to a portion of the coupling element 218 or a portion of the decoupling element 206 in
In particular embodiments, the light emitters 222 may illuminate a portion of the image field 227 (e.g., a particular subset of multiple pixel locations 229 on the image field 227) with a particular rotation angle of the mirror 224. In particular embodiment, the light emitters 222 may be arranged and spaced such that a light beam from each of the light emitters 222 is projected on a corresponding pixel location 229. In particular embodiments, the light emitters 222 may include a number of light-emitting elements (e.g., micro-LEDs) to allow the light beams from a subset of the light emitters 222 to be projected to a same pixel location 229. In other words, a subset of multiple light emitters 222 may collectively illuminate a single pixel location 229 at a time. As an example and not by way of limitation, a group of light emitter including eight light-emitting elements may be arranged in a line to illuminate a single pixel location 229 with the mirror 224 at a given orientation angle.
In particular embodiments, the number of rows and columns of light emitters 222 of the light source 220 may or may not be the same as the number of rows and columns of the pixel locations 229 in the image field 227. In particular embodiments, the number of light emitters 222 in a row may be equal to the number of pixel locations 229 in a row of the image field 227 while the light emitters 222 may have fewer columns than the number of pixel locations 229 of the image field 227. In particular embodiments, the light source 220 may have the same number of columns of light emitters 222 as the number of columns of pixel locations 229 in the image field 227 but fewer rows. As an example and not by way of limitation, the light source 220 may have about 1280 columns of light emitters 222 which may be the same as the number of columns of pixel locations 229 of the image field 227, but only a handful rows of light emitters 222. The light source 220 may have a first length L1 measured from the first row to the last row of light emitters 222. The image field 530 may have a second length L2, measured from the first row (e.g., Row 1) to the last row (e.g., Row P) of the image field 227. The L2 may be greater than L1 (e.g., L2 is 50 to 10,000 times greater than L1).
In particular embodiments, the number of rows of pixel locations 229 may be larger than the number of rows of light emitters 222. The display device 200B may use the mirror 224 to project the light 223 to different rows of pixels at different time. As the mirror 520 rotates and the light 223 scans through the image field 227, an image may be formed on the image field 227. In some embodiments, the light source 220 may also has a smaller number of columns than the image field 227. The mirror 224 may rotate in two dimensions to fill the image field 227 with light, for example, using a raster-type scanning process to scan down the rows then moving to new columns in the image field 227. A complete cycle of rotation of the mirror 224 may be referred to as a scanning period which may be a predetermined cycle time during which the entire image field 227 is completely scanned. The scanning of the image field 227 may be determined and controlled by the mirror 224 with the light generation of the display device 200B being synchronized with the rotation of the mirror 224. As an example and not by way of limitation, the mirror 224 may start at an initial position projecting light to Row 1 of the image field 227, and rotate to the last position that projects light to Row P of the image field 227, and then rotate back to the initial position during one scanning period. An image (e.g., a frame) may be formed on the image field 227 per scanning period. The frame rate of the display device 200B may correspond to the number of scanning periods in a second. As the mirror 224 rotates, the light may scan through the image field to form images. The actual color value and light intensity or brightness of a given pixel location 229 may be a temporal sum of the color various light beams illuminating the pixel location during the scanning period. After completing a scanning period, the mirror 224 may revert back to the initial position to project light to the first few rows of the image field 227 with a new set of driving signals being fed to the light emitters 222. The same process may be repeated as the mirror 224 rotates in cycles to allow different frames of images to be formed in the scanning field 227.
The coupling area 330 may include coupling elements (e.g., 334A, 334B, 334C) configured and dimensioned to couple light of predetermined wavelengths (e.g., red, green, blue). When a white light emitter array is included in the projector device 350, the portion of the white light that falls in the predetermined wavelengths may be coupled by each of the coupling elements 334A-C. In particular embodiments, the coupling elements 334A-B may be gratings (e.g., Bragg gratings) dimensioned to couple a predetermined wavelength of light. In particular embodiments, the gratings of each coupling element may exhibit a separation distance between gratings associated with the predetermined wavelength of light and each coupling element may have different grating separation distances. Accordingly, each coupling element (e.g., 334A-C) may couple a limited portion of the white light from the white light emitter array of the projector device 350 if white light emitter array is included in the projector device 350. In particular embodiments, each coupling element (e.g., 334A-C) may have the same grating separation distance. In particular embodiments, the coupling elements 334A-C may be or include a multiplexed coupler.
As illustrated in
In particular embodiments, the AR/VR system may use scanning waveguide displays or 2D micro-LED displays for displaying AR/VR content to users. In order to miniaturize the AR/VR system, the display system may need to miniaturize the space for pixel circuits and may have limited number of available bits for the display. The number of available bits in a display may limit the display's color depth or gray scale level, and consequently limit the quality of the displayed images. Furthermore, the waveguide displays used for AR/VR systems may have nonuniformity problem cross all display pixels. The compensation operations for pixel nonuniformity may result in loss on image grayscale and further reduce the quality of the displayed images. For example, a waveguide display with 8-bit pixels (i.e., 256 gray level) may equivalently have 6-bit pixels (i.e., 64 gray level) after compensation of the nonuniformity (e.g., 8:1 waveguide nonuniformity, 0.1% dead micro-LED pixel, and 20% micro-LED intensity nonuniformity).
AR/VR display systems may use pupil-replication waveguides to transmit image light to a viewer's eyes. However, the waveguides may have spatially-varying non-uniformity for light transmission of each of RGB color channels. This non-uniformity may cause displayed images to have different colors when viewed from different eye positions, and therefore negatively affect user experience. Ideally, a static image viewed from a particular eye position may have its pixel values adjusted to compensate to the waveguide non-uniformity and eliminate the negative visual effect. However, for a sequence of dynamical images viewed from different eye positions, an eye tracking system may be needed to measure the eye position of the viewer dynamically to determine the appropriate compensation. The eye tracking system for determining the eye positions may have some problems, such as, latency and limitations in accuracy and precision. If the images are directly corrected based on eye positions provided by the eye tracking system, which could be inaccurate or delayed, the corrections made to the images could be in accurate or incorrect. When this happens, the viewer may observe flicker artifacts in the displayed sequence of images.
To solve this problem, particular embodiments of the system may correct the images to be displayed using correction maps that are generated based on: (1) the current eye position as determined using the eye tracking system; and (2) a temporal filter and previous correction maps used for correcting preceding frames. The system may generate correction maps for a number of pre-determined eye positions. Each correction map may include an array of scaling factors to scale the image pixel values. The system may store the pre-generated correction maps in a computer storage. For correcting a current frame of a sequence of images, the system may first determine the current eye position of the viewer using the eye tracking system and determine the correction maps for the current eye position based on interpolation (e.g., bicubic interpolation) of the correction maps retrieved from the computer storage. Then, the system may use a temporal filter to generate optimized correction maps based on the correction map generated by interpolation based on the current eye position and the correction maps used for correcting the preceding frames. After that, the system may up-sample the averaged correction maps into a higher spatial resolution that matches the image resolution or display resolution and apply the high-resolution maps to the current frame for display. As a result, the visual artifacts in the displayed sequence of images caused by the waveguide non-uniformity may be eliminated or reduced.
By compensating the waveguide non-uniformity, particular embodiments of the system may generate and display more realistic images with more accurate and precise colors. By using correction maps generated based on current eye positions, particular embodiments of the system may effectively eliminate or reduce the color change artifacts caused by the non-uniformity of the waveguide while the user's eye are moving with respect to the waveguide. The displayed content may appear to be smoother over time and more resilient to errors in the eye-tracking data. By using a temporal filter and taking into consideration correction maps of preceding frames, particular embodiments of the system may effectively eliminate or reduce the flicker artifacts caused by the non-uniformity compensation that only considers the spatial non-uniformity without considering the temporal domain. By generating and storing pre-determined correction maps with limited resolutions and at limited number of pre-determined eye positions, the system may improve the system efficiency and reduce the usage of computer resources.
In particular embodiments, the AR/VR display systems may use pupil-replication waveguides to transmit light to a viewer's eyes for display images or videos to the viewer. The images coupled into the waveguides may be replicated over the field of view. The pupil-replication waveguides may have spatially-varying properties for transmitting light of different colors and intensity nonuniformity for RGB color channels. As a result, a displayed image (or a portion of the displayed image) may appear to have different colors when being viewed from different eye positions (also referred to as pupil positions). For example, when an image is viewed from a particular eye position, an image region that should be white may appear to be magenta because the transmission of green channel is suppressed by the waveguides when viewed from that particular eye position. In particular embodiments, the system may compensate the waveguide's non-uniformity by adjusting the pixel values of the displayed images based on the current eye positions of the viewer. As an example and not by way of limitation, the system may measure the light transmission characteristics of the waveguides for particular eye positions and generate correction maps based on the measured transmission characteristics of the waveguides for those particular eye positions. Each correction map include an array of scaling factors for scaling image pixel values of a particular color channel. The system may generate a correction map for each color channel of the RGB color channels. When the viewer's eyes are at those particular eye positions, the system may apply the correction maps on the images to be displayed to adjust the pixel values of these images. An image with adjusted pixel values once displayed may have correct colors when viewed from those particular eye positions with the waveguide non-uniformity effect being eliminated or reduced.
Assuming that the desired full-color image in linear space is characterized by a first matrix P and the color waveguide pattern is characterized by a second matrix W, then the image I as seen by the viewer may be expressed as the following equation:
I=P·W (1)
The system may compensate the waveguide nonuniformity to reverse the color distortions in the images by modifying the pixel values of the image using correction maps F as determined by the following equation:
F=W
−1 (2)
Then, the system may generate a reasonable approximation to the desired image by applying the correction maps and deriving a corrected image P′ in linear space using the following equation:
P′=P·F (3)
where the values in F may be in the range of [0, 1]. The image as seen by the viewer may be characterized by the following equation:
I=P′·W=(P·F)·W≈P (4)
The approximation may be due to imperfect correction arising from factors such as latency and limited precision and accuracy in eye position measurement, misalignments, eye movements, etc. The correction range may be contained within the value range of F. In particular embodiments, the non-uniformity level may be within a nominal level of 5:1 and the ratio of the maximum F value to the minimum F value may be equal to or less than 5.
In particular embodiments, for a static image to be viewed from a particular eye position, the system may compensate the waveguide non-uniformity by applying the corresponding correction maps to that image to adjust its pixel values. And, the image with adjusted pixel values once displayed, when being viewed from that particular eye position, may have no or less visual artifacts caused by the waveguide non-uniformity. However, for displaying a sequence of dynamical images to a viewer and when the viewer's eye positions move within the field of view (e.g., from left to right), the sequence of dynamical images may appear to have different colors when viewed from different eye positions. As a result, the waveguide non-uniformity that varies with eye positions may impose both spatial and temporal requirements on the images to be displayed. Unlike the static image which can be effectively compensated in spatial-domain (e.g., using the correction maps for particular eye positions), a sequence of dynamical images to be viewed from different eye positions may need to be compensated in both spatial and temporal domains. In particular embodiments, for displaying a sequence of dynamical images viewed from different eye positions, the system may use an eye tracking system to measure the eye positions of the viewer dynamically and determine corresponding correction maps based on the dynamically measured eye positions.
However, the eye tracking system may have latency problem for measuring the eye positions for dynamical non-uniformity correction. The viewer's eyes may move by a relatively large distance during the time for generating and applying correction maps that are associated with a particular eye position. The viewer's eyes positions as determined by the eye tracking system may fall behind in time with respect to the actual eye positions of the viewer. The system may have a constant or variable time period between a first time moment when the eye tracking system measures the eye positions and a second time moment when the corrected frame is actually rendered and displayed. In particular embodiments, the latency of the eye tracking system may be up to 7 ms. Furthermore, the eye tracking system may have limited accuracy (e.g., a constant spatial offset from the ground truth) and limited precision (e.g., a sample-to-sample jitter, a time-varying difference between the ground truth and the eye tracking reading) for measuring the eye positions. In particular embodiments, the precision of the eye tracking system may be 0.086 mm (corresponding to 0.5 degree of the view angle) and the accuracy of the eye tracking system may be 0.125 mm (corresponding to 0.7 degree of the view angle). The accuracy and the precision of the eye tracking system may be independent to each other but may have joint impact on the quality of the displayed images. Spatial artifacts may be affected by the accuracy of the eye tracking system. Temporal artifacts may be affected by both accuracy and precision of the eye tracking system. As a result, if the images are directly corrected based on eye positions provided by the eye tracking system, the compensation made to the images may be inaccurate and non-precise. When this happens, the viewer may observe flicking or flashing artifacts in the displayed images. For example, a constant bias in the eye tracking system reading on the eye positions may result in inaccurate compensation maps. In-precise eye position reading may lead to a higher level of noise in the eye position data and cause the correction maps to be non-smooth in temporal domain (e.g., the difference in correction maps of sequential frames being above a threshold). To solve these problems, particular embodiments of the system may correct the images to be displayed based on correction maps generated based on: (1) the current eye position (as determined using the eye tracking system); and (2) a temporal filter taking into consideration correction maps used for correcting previously frames, as will be described in later sections of this disclosure.
AR/VR systems may use waveguides to transmit the emitted light by LEDs to the pupils of the human eyes. The waveguide may receive the light corresponding to a whole frame of image from the display LEDs and transmit the light to the human eyes. For example, the system may use optical fibers as waveguides for displaying images to users. To address the limitation of waveguides, an originally rectangular viewport may have cutout-corners and may have an octagonal shape in the field of view, which may lead to a non-optimal visual experience to users. To address this problem, the system may use the per-pixel correction provided by the non-uniformity correction (NUC) mechanism to blur the edges of the viewport based on the particular waveguide characteristics of each headset. The system may determine, based on the waveguide characteristics of the viewport, a scaling factor for each pixel value in the image to be displayed. The scaling factors, once applied to the pixel values of the image, may create a fade-away effect on the edges and corners of the image by modifying the pixel values in the image. As a result, the display image may have a reduced brightness level in the areas close to the edges of the view port. And, the viewport appearance may be blurred in the areas close to its edges or corners and the octagonal visual effect of viewport may be smoothed, leading to a more optimal visual experience for users. The system may adaptively compute the blurring coefficients based on on-device evaluations of LED wear-out and may combine the blurring coefficients with the scaling factor matrix for non-uniformity correction. As a result, the system may adjust the pixel values of the images for creating the fade-away effect during the non-uniformity correction process.
As an example, using the attenuation function as shown in
Particular embodiments may repeat one or more steps of the method of
Particular embodiments described herein relate to systems and methods of adaptively increase or decrease display engine's resources based on a feedback loop depending on the current rendering workload of the headset. By looking at display engine's performance in the previous frame(s), the system may determine whether more resources are needed to handle the current workload. For example, if display engine could not render a full-frame within the display's refresh rate (e.g., due to a sudden increase in the number of surfaces to render), an additional processing pipeline in the display engine may be enabled to help render the content in parallel. Workload may also be adjusted based on voltage and frequency scaling or foveated rendering. For example, when the system determines that the workload will be slightly over the capacity of one single pipeline but is way below the capacity of two pipelines, the system may increase the voltage or/and frequency of the processing unit of the currently operative pipeline to increase the computational capacity, rather than turning on the second pipeline that consume more power and lead to waste in the computational capacity. As another example, when the system determine that the predicted workload is above the threshold level that can be handled by one single pipeline, even with increased voltage or/and frequency, the system may then turn on the second pipeline to increase the computational capacity at the cost of more power consumption. As another example, when the system determines that the predicted workload for the current frame is above the capacity of two pipeline combined, the system may determine that even with two pipeline being turned on, the rendering process will encounter some delay and the frame may not able to be rendered at the current frame rate. Then, the system may adjust the foveation ratio of the display by reducing the region size of the high resolution region and increase the region size for the low-resolution to reduce the size of the workload to a level that is within the limits of the two pipelines. As a result, the system may generate the current fame at the target frame rate and the render process may cause no delays in generating the current frame.
To keep a target frame rate, the system may need to generate the display content (e.g., the current frame to be displayed) before the scheduled display time (e.g., 401A, 402B) with the safe margin time (e.g., 403A). The system may estimate the amount of time that is needed for processing data and generate the current frame based on the content of frame data. Then, the system schedule the rendering process accordingly so that the frame can be generated before the scheduled display time as determined by the target framerate. However, the estimation may not be accurate sometimes. When the system needs more time than the scheduled time period to generate the current frame, the current frame may not be completed before the scheduled display time and that may cause delay in displaying the current frame with a reduced frame rate or cause the incomplete frame to be displayed. To solve this problem, the system may track the workload of the processing units in the display engine for generating one or more previous frames and use the workload of the previous frame(s) to estimate the workload of the current frame, taking into consideration the safety margin time and the display content.
In particular embodiments, the system may use eye tracking and inertial sensor data to track and predict the user's eye position and movement and use the predicted eye position for waveguide correction. The system may need to render the current frame as late as possible with respect to the scheduled display time, and ideally, complete the rendering of the current frame right before its scheduled display time, because that would allow the system to use the most recent sensor data and reduce the eye position estimation errors. Using the eye tracking data, the system can predict the eye position ahead into the future. However, the longer the prediction time, the higher the error the system would likely encounter. The system may estimate how long it takes for the system to render a frame because that amount of time may determine whether the current frame will encounter some delay or to be able to catch the target frame. For AR/VR systems, the less time it takes for rendering the current frame, the better display quality the system may get. For example, a simple message window may be generated and display by the system quickly within a short period of time. And, the system may keep the target frame. However, for a 3D avatar, the system may take longer time to render it and may not able to complete it begore the scheduled display time according the target frame rate. In general, the more complex the content, the longer time, the system would most likely need to render it.
In particular embodiments, the time when the system should begin to process the frame may be variable. The system may need to be set the time earlier on because it is time relative to the display time of the frame (i.e., the amount of the time prior the display time of the frame plus a safety margin period). The system may first determine the actual display time of a frame based on the target frame rate. Then, the system may schedule the processing time before that according to the amount of computation that is needed to process the content to be rendered. For example, if the computational amount is large, the system may schedule the processing earlier. If the computational amount is less, the system may schedule the processing later. Thus, the start time for generating a frame may be a flexible based on the amount of computation expected for generating that frame.
Estimating how complex the computation may be a challenging task. The system may not know definitely before the frame is completed. So, when the system render a frame, it may make a rough estimation on how complex the task and also how much time it needs to generate it before the display time. Then, the system may schedule the rendering process based on the estimated amount of time plus a pre-determined safety margin. If the system does not keep a safety margin for unexpected latency, the system may risk of delay if the frame is not completed during the scheduled time period. To reduce such risk, the system may need a large margin and allocate a longer period of time to guarantee the frame will be completed before its display time. However, the system may always have large latency, which may result in a low display quality, because of the larger margin and the longer period of time needed for generating the frames.
To solve this problem, in particular embodiments, the system may use two or more pipelines (i.e., two or more processing units) to process the data for rendering the display content. For example, the system may use two parallel processing units which may work parallelly with respect to each other to render the display content. The system may be more energy efficient to only use one unit when only one unit is needed. The system may generally run one of these units to reduce the power consumption. In particular embodiments, when the system turns on the second unit, the system may have a 70% increase in the performance and computational capacity at the cost of more power consumption. The system may complete the rendering a current frame with as short as possible margin time before the display time, so that the display frames are based on the most up-to-date sensor data and provide optimal display quality. If the rendering task is within the computational capacity of a single processing unit (considering the time period allocated for the rendering process), the system may render the frame just by using one single unit. The system may make an estimation on the computation amount and whether it can complete the workload. When the system decides that it cannot process the frame within the allocated time, the system may turn on the second pipeline to process the frame, to avoid delay.
In particular embodiments, the system may use a performance module to measure the amount of time that is used for generating previous frames and use that information in a feedback or feedforward loop to estimate the amount time that is needed for generating the current frame. Without that estimation, the system may not know what the performance margin for the current frame that the system is about to render. The system may use past frame performance by tracking how the workload changes from the previous frame to the current frame. When the workload increases significantly from the previous frame, the system may turn on the second pipeline to have more computational capacity. When the workload reduces significantly from the previous frame, the system may turn off the second pipeline to reduce the power consumption.
In particular embodiments, when the system starts to render a frame, the system may first use a firmware to set up the hardware pipeline. Then, the system may use the firmware to perform this estimation. The system may have put the bounding box in the surfaces of each frame. The system may determine the sizes of the bounding boxes and the number of bounding boxes. The system may estimate the amount of workload based on the sizes, the number of bounding boxes, and the number of surfaces. A surface may be a representation for one or more objects in the scene that move together. Some surfaces may have inclusion or overlaps on other surfaces. In particular embodiments, the system may not need to process that surface they don't overlap with other surfaces. The system may use the surface overlap to estimate the size of the workload. The system may use the texture ratios for the workload estimation. The system may monitor the previous frame for bandwidth and determine whether the bandwidth will likely increase or decrease on the pixel/textual ratio. The number of the surfaces may be another factor that can be used by the system to estimate the amount of time needed for rendering the current or next frame. The system may also use some other factors including, but limited to, transparency of surfaces, dynamic rendering, or any properties of the content that can affect the workload as a factor. Some factors may affect the bandwidth because they affect the compression related computation.
In particular embodiments, the system may use one previous frame (e.g., the last frame) to estimate the workload for the current frame. In particular embodiments, the system may use multiple previous frames to estimate the workload of the current frame. The system may track the trends of the workload of a serios of pervious frames and determine a predicted workload based on these trends. For example, the system may use a curve-fitting method to determine a trend function of the workload based on the previous frames and may predict the workload of the current frame based on the curve-fitting results. In addition, the system may consider other factors including, for example, the number of surfaces, the bounding box sizes of surfaces, the 3D or 2D characteristics of the objects in the scene, the texture, the transparency, etc.
In particular embodiments, when the second processing unit is turned on, it may run parallelly to the first unit to handle the same rending task. Also, the second unit may be adjusted based on the voltage and frequency scaling, or foveated rendering. The system may predict the workload, and determine, for example, this workload is too high for the current voltage and frequency that the processing unit(s) is/are operating. The system may increase the voltage and frequency a little bit for the processing unit(s) and that would provide more computational capacity than using the relatively lower voltage and frequency. By increasing the voltage and frequency under which the processing units operate, the system may have more computational capacity at the cost of a higher consumption. However, the amount of extra computational capacity that can be obtained by the increasing the voltage and frequency may be up to a limit and when the workload is above that limit, the system may need to turn on the second or more processing unit to handle it.
In particular embodiments, the system may use foveated rendering for displaying content with higher resolution in the region that encloses the user's gazing point and with lower resolution in the regions that are farer from the user's gazing point. With foveated rendering, instead of processing the frame with the full resolution, the system may process part of the image at lower resolutions. Areas that the user is not actively looking at may be processed with lower resolution. Even with some blur on the screen, it may not matter because the user is not focus on that region. When the workload is too high to be handled, the system may increase the ratio of the foveated rendering to reduce the workload. On the other hand, when the system has less workload and plenty computational capacity by the operating processing unit(s), the system may reduce the ratio for the foveated rendering, resulting in higher display quality. As discussed above, voltage and frequency scaling may another way to address the workload issue. The system may adjust the system to have more computational power when facing higher amount of workload by increasing the voltage and frequency under which the process unit(s) is/are operating. On the other hand, the system may reduce the power consumption when the system faces a lower amount of workload by decreasing the operative voltage and frequency. In particular embodiments, the system may combine all the methods that are discussed in this disclosure to dynamically determine whether to (1) turn on additional processing unit; (2) adjust operating voltage and frequency; or (3) adjust foveated rendering ratio, based on the estimated workload of the current frame. For example, when the workload is slightly above the capacity of the first processing unit, the system may increase the voltage and frequency a little bit without turning on the second unit or pipeline. When the workload significantly exceeded the capacity of the first processing unit, the system may turn on the second unit to handle that. The frequency and computational power may be linearly related. When the workload exceeded the capacity of the processing units even with the additional processing unit being turned on, the system may increase the ratio for the foveated rendering to reduce the workload. The system may use one or more methods or multiple methods as combined depending on the particular conditions of the system.
As an example and not by way of limitation, for the scenario 2, the processing process of the previous frame 2410 may start at the start time 2402A and may be completed after the display time 2401A. The system may determine that the previous frame 2410 in scenario 1 has been completed after of the scheduled display time 2401A, indicating that the previous frame 401 in scenario 1 needs a long time as scheduled by the system. Before the frame 2410 in this scenario is completed after the display time 2401A, the display may have to be delayed or displayed in incomplete form, resulting in low display quality. Assuming the current frame 2420 is similar in complexity to the previous frame 2410, the system may estimate that the time needed for rendering the current frame 2420 is approximately the same to the time needed for rendering the previously frame 2410. Thus, the system may first determine the display time 2401B for the current frame 2410 based on the target frame rate. Then, the system may determine the start time 2405 based on the processing time duration of the previous frame 2410 and safety margin 2403B. Comparing to the previously frame 2410, the system may start to process the current frame 2420 at an earlier time 2405, allowing the current frame 2420 to be generated right before the scheduled display time 2401B, without causing delay or causing any incomplete image to be displayed, providing a higher display quality.
As an example and not by way of limitation, for the scenario 3, the processing process of the previous frame 2410 may start at the start time 2402A and may be right before the display time 2401A. The system may determine that the previous frame 2410 in scenario 1 has been right before the scheduled display time 2401A, indicating that the previous frame 2401 in scenario 1 was just on time for the scheduled display time, without delay or wasting the computational resources. Assuming the current frame 2420 is similar in complexity to the previous frame 2410, the system may estimate that the time needed for rendering the current frame 2420 is approximately the same to the time needed for rendering the previously frame 2410. Thus, the system may first determine the display time 2401B for the current frame 2410 based on the target frame rate. Then, the system may determine the start time 2402B based on the processing time duration of the previous frame 2410 and safety margin 2403B. Comparing to the previously frame 2410, the system may start to process the current frame 2420 at exact the same time, allowing the current frame 2420 to be generated right before the scheduled display time 2401B, without causing delay or causing any incomplete image to be displayed, providing a higher display quality.
It is notable that in the above discussed scenarios, in particular embodiments, the current frame 2420 may or may not have the same complexity level with the previous frame. For example, the current frame may have an increased complexity level comparing to the previous frame and thus, may need a longer time to process. The current frame may have a decreased complexity level comparing to the previous fame and thus may need a shorter time to process. The system may estimate the complexity level of the current frame and the corresponding time it needs to be processed based on a number of factors including, for example, but not limited to, the number of surfaces, the sizes of the bounding boxes of the surfaces, the transparency of the surfaces, the overlapping of the surfaces, the 2D or 3D characters of the surfaces or objects, etc. The system may estimate the time duration needed for rendering the current frame based on the time needed for the previous frame, the increase or decrease in the computational amount, and the safety margin to determine the start time for processing the current frame. By using this feedback or feedforward loop, the system may accurately determine the start time for processing the current frame and provide optimal display quality without causing waste in the computational resources. In particular embodiments, the system may use the direct proceeding frame of the current frame to estimate the computation time. In particular embodiments, the system may use multiple previously frame to estimate the computation time (e.g., using an average of previously render frames).
In particular embodiments, the system may dynamically allocate the computational resources based on the estimated amount of computation needed for rendering the current frame. For example, when the system determine an increase in the computational amount, the system may use one or more methods to increase the computational capacity of the system by, for example, but not limited to, turning on a second or an extra processing unit, increasing the operating voltage and frequency of the processing units, adjusting the foveated rendering ratio (to reduce the amount of computation), etc. The system may combine one or more methods to address a computational amount increase in the current frame to have more computational capacity. As another example, when the system determine a decrease in the computational amount, the system may use one or more methods to decrease the computational capacity of the system by, for example, but not limited to, turning off the second or extra processing unit, decreasing the operating voltage and frequency of the processing units, adjusting the foveated rendering ratio (to have more high resolution area), etc. The system may combine one or more methods to address a computational amount decrease in the current frame to save power consumption or to have better display quality.
In particular embodiments, the system may estimate the computational amount that is needed for rendering the current frame and compare that to the computational capacity level and the thresholds (e.g., L1−T1, L1, L1+T1, L2−T2, L2, L2+T2) corresponding to the ranges of computational capacity changes by adjusting the operating voltage and frequency. For example, the system may determine the amount computation that is needed to generate the current frame is under the level L1−T1. The system may reduce the operating volage and frequency to save some power of the processing unit. If the system determines that the amount of computation that is needed for rendering the current frame is above L1 but below L1+T1, the system may increase the operating voltage and frequency of the single processing unit without turning on the second processing unit. If the system may determine that the amount of computation that is needed is above the level of L1+T1, the system may turn on the second processing units. Optionally, the system may reduce the operating voltage and frequency to save some power. If the system determine that the amount of computation that is needed is above the level of L2, the system may turn on the second processing unit and increase the operating voltage and frequency to further increase the computational capacity. If the system determines that the amount of computation needed is above the level of L2+T2, the system may adjust the foveated rendering ratio to reduce the high resolution area and reduce the amount the computation to be within the range of the system capacity. The system may have a smaller display region for high-resolution image area but may keep the target frame without causing delay or incomplete images.
Particular embodiments may repeat one or more steps of the method of
The present embodiments include gate driving methods to reduce boost converter peak currents for handheld controller devices. In particular embodiments, a device includes a controller configured to regulate one or more voltages applied to a gate of a transistor. In particular embodiments, the controller may be further configured to generate a gating signal and transmit the gating signal to the transistor. For example, in particular embodiments, the gating signal may include a pulse width modulation (PWM) signal configured to activate or deactivate the transistor. In particular embodiments, the controller may be further configured to modulate the PWM signal and transmit the modulated PWM signal to control an activation period or deactivation period of the transistor. For example, in particular embodiments, modulating the PWM signal may include altering a duty cycle of the PWM signal over a predetermined time interval, such that the activation period controls a voltage charging level of a reference voltage associated with the transistor and the deactivation period controls a voltage discharging level of the reference voltage associated with the transistor.
As used herein, “extended reality” may refer to a form of electronic-based reality that has been manipulated in some manner before presentation to a user, including, for example, virtual reality (VR), augmented reality (AR), mixed reality (MR), hybrid reality, simulated reality, immersive reality, holography, or any combination thereof. For example, “extended reality” content may include completely computer-generated content or partially computer-generated content combined with captured content (e.g., real-world images). In some embodiments, the “extended reality” content may also include video, audio, haptic feedback, or some combination thereof, any of which may be presented in a single channel or in multiple channels (such as stereo video that produces a three-dimensional (3D) effect to the viewer). Furthermore, as used herein, it should be appreciated that “extended reality” may be associated with applications, products, accessories, services, or a combination thereof, that, for example, may be utilized to create content in extended reality and/or utilized in (e.g., perform activities) an extended reality. Thus, “extended reality” content may be implemented on various platforms, including a head-mounted device (HMD) connected to a host computer system, a standalone HMD, a mobile device or computing system, or any other hardware platform capable of providing extended reality content to one or more viewers.
In particular embodiments, in applications requiring periodic, high current light-emitting diode (LED) strobing (e.g., constellation tracking, low persistence backlight drive), it may be suitable to utilize the entire time between strobes to recharge the voltage output signal 2209. For example, in particular embodiments, the voltage output signal 2209 may include, for example, a linear ramp up to set voltage over the entire time between strobes. In particular embodiments, power reduction may also be achieved due to the lower switch currents, as well as avoiding higher switch duty-cycle due to voltage drooping or sagging. For example, in particular embodiments, the boost converter gate drive circuitry 2200A may include a “soft-start” mechanism that limits drive current on start-up to avoid issues caused by in-rush currents. In one embodiment, this may be achieved based on the capacitor 2204 and the current source 2206, which may be collectively utilized to control the ramp-rate of the voltage reference VReference. During normal operation of the boost converter gate drive circuitry 2200A, the “soft-start” may occur only once and may be initiated by asserting the enable input (“Enable”).
In particular embodiments, when the enable input (“Enable”) is deasserted, the current source 206 may be disabled and the VReference capacitance 204 may be actively discharged. Indeed, by modulating the enable input (“Enable”), the present embodiments may control the VReference voltage level and maintain the “soft-start” mode of the boost converter gate drive circuitry 200A. For example, in particular embodiments, the activation of the period of the modulated enable input (“Enable”) may control the voltage level to which the voltage reference VReference charges, while the deactivation period of the modulated enable input (“Enable”) may control the voltage level to which the voltage reference VReference discharges. In particular embodiments, the modulation technique may include pulse width modulation (PWM) with fixed period. In another embodiment, the PWM signal may control activation periods and deactivation periods individually (e.g., variable period).
Because artificial reality devices involve creating digital scenes or superposing computer-generated imagery onto a view of the real world, they provide a platform for designers and engineers to provide new forms of information, entertainment, or methods of collaboration. For example, artificial reality devices may allow users to communicate, seemingly in person, over long distances, or assist users by informing them of the environment around them in an unobtrusive manner. Because artificial reality experiences can often be customized, the user's experience with artificial reality may be deeply personal and highly engaging if presented with sufficient clarity and convenience.
One way that artificial reality experiences can augment human ability is with computer-generated images and/or text added to the real world, as in an augmented or mixed reality. From this simple principle, a variety of compelling use cases can be considered. Labels (e.g., texts, glyphs, etc.) or images describing a real-world object may be fixed in the world space (e.g., location-aware labels acting as street signs or providing a live map of a bike path), or images fixed to a real-world object as it moves through the space (e.g., a label added to a bus as it going on its route that provides detailed information about its route or capacity). Labels could also be used to help a user navigate through an unfamiliar city (e.g., creating a waypoint for the nearest restroom), or help find a friend in a crowd (e.g., a socially-aware waypoint fixed to another user). Other experiences worth considering may be based on interactions with real-world objects. For example, a user could “project” video onto a wall or screen that allows for the video to be played and visible to only herself or to others with access to a shared augmented space. As another example, a user could fix computer-generated text to a physical object to act as an augmented-reality book or magazine. Content could be displayed relative to the object (allowing a user to physical asset aside an augmented-reality) or could be displayed in a fixed relation to the user's (e.g., a tutorial video constantly playing in a corner of the view). Presented media could be customized to the user, so that the same content display space could content relevant to each person viewing the same physical space. As another example, a user could interact with computer-generated graphics by “touching” an icon, or “manipulating” the computer-generated images manually. These graphics could be shown to multiple users working on a project, enabling opportunities for team collaboration (e.g., multiple architects working on a three-dimensional digital prototype in a building together in real-time).
To facilitate use, the display that outputs the computer-generated graphics should be intuitive, constantly accessible, and unobtrusive. One approach for displaying high definition artificial reality graphics to a user is based on a head-mounted display. The user wears an apparatus, such as a visor, headset, or glasses, capable of displaying computer graphics display. In augmented or mixed reality experiences, the computer graphics can be seen alongside, or on top of, the physical world. However, rendering these computer graphics is computationally intensive. Therefore, in most cases rendering is performed by powerful computers communicatively attached (e.g., via a cable or wireless communication protocol, such as Bluetooth) to a head-mounted display. In such a configuration, the head-mounted display is limited by bulky cords, bandwidth and power limitations, heat restrictions, and other related constraints. Yet, the limits of these constraints are being pushed. Head-mounted displays that are comfortable and efficient enough for day-long wearing, yet powerful enough to display sophisticated graphics are currently being developed.
One technique used to reduce actual display size without impacting apparent display size is known as a scanning display. In a scanning display, multiple smaller images are combined to form a larger composite image. The scanning display uses source light, one or more scanning elements comprising reflectors, and an optics system to generate and output image light. The output image light may be output to the eye of the user. The source light may be provided by emitters, such as light-emitting diodes (LEDs). For example, the light source may be an array of 2560×1440 LEDs. The reflectors may be any suitable reflective surface attached to the scanning element. In particular embodiments, the scanning element may be a scanning mirror driven using one or more microelectromechanical systems (MEMS) components. The optics system may comprise lenses used to focus, redirect, and otherwise augment the light. The scanning element may cause the source light, treated by light guiding components, to be output to the eye of the user in a specific pattern corresponding to a generation pattern used by the emitters to optimize display draw rate. Because, for example, all emitters need not be active at once, and in addition to a variety of other factors, scanning displays may require less power to run, and may generate less heat, than traditional display comprised of the same emitters. They may have less weight as well, owing in part to the quality of the materials used in the scanning element and optics system. One consequence of using a scanning display is that in exchange for, e.g., power, weight, and heat efficiency, a scanning displays may not perfectly display images as presented to them, e.g., images intended for traditional displays. There may be non-uniform distortions such as geometric warping of images and distortion of colors and specifically brightness. As is explained further herein, these distortions can be corrected by post-processing graphics to-be displayed to counteract the distortion before they are passed to the display, creating the effect that there is no distortion. Although this disclosure describes displays in a particular manner, this disclosure contemplates any suitable displays.
Since its existence, artificial reality (e.g., AR, VR, MR) technology has been plagued with the problem of latency in rendering AR/VR/MR objects in response to sudden changes in a user's perspective of an AR/VR/MR scene. To create an immersive environment, users may need to be able to move their heads around when viewing a scene and the environment may need to respond immediately by adjusting the view presented to the user. Each head movement may slightly change the user's perspective of the scene. These head movements may be small but sporadic and difficult, if not impossible, to predict. A problem to be solved is that the head movements may occur quickly, requiring that the view of the scene be modified rapidly to account for changes in perspective that occur with the head movements. If this is not done rapidly enough, the resulting latency may cause a user to experience a sensory dissonance that can lead to virtual reality sickness or discomfort, or at the very least, a disruption to the immersive nature of the experience. Re-rendering a view in its entirety to account for these changes in perspective may be resource intensive, and it may only be possible to do so at a relatively low frame rate (e.g., 60 Hz, or once every 1/60th of a second). As a result, it may not be feasible to modify the scene by re-rendering the entire scene to account for changes in perspective at a pace that is rapid enough (e.g., 200 Hz, once every 1/200th of a second) to prevent the user from perceiving latency and to thereby avoid or sufficiently reduce sensory dissonance. One solution involves generating a two-dimensional (2D) image of an object's texture from a particular view of the object, which maps to a three-dimensional (3D) “surface” of the object within the scene. A surface, or texture image, is comprised of object primitives that represent a particular view of the object. A surface corresponds to one or more objects that are expected to move/translate, skew, scale, distort, or otherwise change in appearance together, as one unit, as a result of a change in perspective. Instead of re-rendering the entire view, a computing system may simply resample these surfaces from the changed perspective to approximate how a corresponding object would look from the changed perspective. This method may significantly reduce the rendering processing and thus ensure that the view is updated quickly enough to sufficiently reduce latency. Resampling surfaces, unlike re-rendering entire views, may be efficient enough that it can be used to modify views within the allotted time—e.g., in 1/200th of a second—with the relatively limited processing power of a computing system of a HMD. It may not be feasible for a system that is physically separate from the HMD (e.g., a separate laptop or wearable device) to perform the resampling process because the time scales involved in the resampling process are extremely small. For example, if the resampling process were to be performed in a physically separate system, the HMD would have to transmit information about the current position and orientation of the HMD, wait for the separate system to render the new view, and then receive the new view from the separate system. The present embodiments, to further speed up the overall rendering process, specifically the resampling process, provide compression techniques for selectively encoding certain pixel blocks of an image based on the concept of Principal Component Analysis if the color values within the block are highly correlated to each other. The present embodiments also disclose the adaptive range packing technique that leverages the similarities between the pixel values within a pixel block to represent the pixel values with reduced number of binary bits.
The primary rendering component 4220 may receive primary rendering data for a rendering request. The primary rendering data may include two- or three-dimensional models, textures, and instructions for rendering computer-generated images, and other suitable information. The primary rendering component 4220 may perform initial steps to render aspects of the artificial reality scene based on the received primary rendering data. For example, the primary rendering component 4220 may perform visibility computations using ray tracing, rasterization, or other suitable techniques to determine which polygons of which 3D models of virtual objects in a virtual scene are visible through which pixels of a display. Based on the visibility determinations, the primary rendering component 4220 may perform shading computations to determine the appropriate color for each pixel. In particular embodiments, the primary rendering component4220 may receive compressed or decompressed streaming video data from the reserve rendering component 4210 at a rate of 30 frames per second, or similar. The primary rendering component 4220 may combine data received from the reserve rendering component 4210 with data generated by the initial rendering steps.
In particular embodiments, one or more specialized object primitives, e.g., “surfaces,” for use by a display engine 4250 may be generated. As an example, the primary rendering component 4220 may generate surfaces by first rendering 2D images from 3D models, as in a typical rendering pipeline. The primary rendering component 4220 may then generate surfaces from the 2D images using an additional post-processing method. As another example, the primary rendering component 4220 may directly output surfaces from 3D models, eliminating extra steps directed only to rendering 2D images. As another example, the primary rendering component 4220 may output 2D images from 3D models to a display engine 4250. The display engine 4250 may generate surfaces using an additional post-processing method based on the 2D images. In particular embodiments, the output of the primary rendering component 4220 may be encoded by the v-encoder 4226, then transmitted to the v-decoder of the head-mounted display unit 4230.
Surfaces may comprise information useful for rendering one or more virtual objects of an artificial reality scene. The information may include location and/or position data for the surface in the scene, specified in the coordinate system of the view space relative to the virtual camera/viewer (alternatively, location of the surface may also be specified in any other suitable coordinate system, such as the world space coordinate system). The surface may further include texture data, represented by one or more texel arrays. Thus, in particular embodiments, a “surface” may be considered as a rectangular texture with a transformation matrix to specify its location within a scene. Each texel in the texel array may have color information and a 2D coordinate within the texel array (e.g., specified in (u, v) coordinates). In particular embodiments, the color information of each texel may indicate the intensity of several color channels (e.g., red, green, and blue) and alpha information that indicates the texel's transparency level (e.g., completely transparent, completely opaque, or somewhere in between). In other embodiments, the color information of a texel may indicate the intensity of red, green, and blue without separately specifying the transparency level. In this case, the value for each color may be pre-multiplied by the texel's associated transparency level (e.g., if the texel is fully transparent with an alpha level of 0, then the red, green and blue values for that texel would all be zeroed-out by being multiplied by the 0 alpha level).
The texture data of a surface may be generated based on the result of a standard graphic rendering pipeline, embodying techniques to optimally determine the colors that should be displayed by the pixels of a display or image based on the perspective of a viewer in a three-dimensional scene. In particular embodiments, the display engine 4250 may limit the number of surfaces (e.g., a maximum of 16 surfaces or any other suitable number of surfaces) that it will process to ensure sufficient simplicity in the scene so that performance demands can be met (e.g., to output frames at 200-300 hertz). Therefore, certain virtual objects in the artificial reality scene may be grouped according to any suitable rule. Each surface may be a representation of one or more objects within the scene that are expected to move/translate, skew, scale, distort, or otherwise change in appearance together, as one unit, as a result of a change in a user's perspective of the scene (e.g., resulting from a HMD on a user's head moving to a different position and/or orientation). As an example and not by way of limitation, an avatar of a person and a hat worn by the avatar may correspond to one surface if it is determined that person and the hat would move/translate, skew, scale, distort, or otherwise change in appearance together, as one unit. In particular embodiments, a surface may correspond to sets of points (e.g., points making up an object) that are expected to move/translate, skew, scale, distort, or otherwise change in appearance as a single unit when a user's perspective of a scene changes.
The primary rendering component 4220 may communicate with a head-mounted display unit 4230 through one or more wired or wireless connections. In particular embodiments, a user may be able to select how the primary rendering component 4220 and head-mounted display unit 4230 communicate based on the user's needs. The head-mounted display unit 4230 may be configured to receive data, such as surfaces and other rendering instructions, from the primary rendering component 4220. The head-mounted display unit 4230 may prepare to display an artificial reality scene to a user based on the received data. In particular embodiments, the head-mounted display unit 4230 may comprise a display engine 4250 and one or more displays 4270. In particular embodiments, the displays 4270 may be scanning displays, including all necessary emitters, scanning elements, and optical systems. The head-mounted display unit 4230 may further comprise additional components not shown that facilitate the rendering and display of the artificial scene. These may include additional image processing components, eye-tracking components, heat detection components, any other suitable components, or any combination thereof. Although this disclosure describes rendering components in a particular manner, this disclosure contemplates any suitable rendering components.
In particular embodiments, the display engine 4250 and displays 4270 of the head-mounted display may be configured specifically to enable a fast frame display or refresh rate. In typical interactive graphics rendering systems, a target frame rate may be at or around sixty frames per second. While this is sufficient for the images to appear as crisp, smooth moving video in traditional systems, it may not be sufficient for artificial reality. Because of the immersive nature of the artificial reality experience, and further exacerbated by the head-mounted nature of the display and its proximity to the user's eyes, artificial reality rendering and display system 4200 may target much higher frame display rates, e.g., upwards of two to three hundred frames per second, in order to display images responsive to changes in the user's viewpoint and/or movement (e.g., head and/or eye movement). If this is not done quickly enough, the resulting latency may cause a user to experience a sensory dissonance that can lead to virtual reality sickness or discomfort. In particular embodiments, the artificial reality rendering and display system 4200 may be capable of tracking and reacting to the user's eye movements. To provide smooth video when reacting to eye movement, the system 4200 may target even higher display rates during particularly intense periods, e.g., bursts of up to eight hundred frames per second.
The entire system may be configured with these fast display rate benchmarks in mind. A target frame rate of 4200 frames per second is roughly equivalent to one frame every 5 milliseconds. Significant time is lost by transmitting movement data to, and updating rendering data from, a powerful graphics processor over wireless, or even wired connections. Therefore, at least some amount of graphics preparation must occur in a head-mounted unit, reducing the time lost in transmission. However, a head-mounted display unit 4230 has weight, power, and space constraints that must be adhered to for the comfort of the user. These weight, power, and space constraints restrict the components and computational power available for a head-mounted display unit 4230. In fact, using conventional approaches, components available for a head-mounted display unit 4230 suitable for long-term wear are incapable of rendering artificial reality scenes from 3D models comprising polygons with suitable lighting at 60 frames per second, let alone the 4200 or more necessary for an immersive experience.
One solution to this problem involves a powerful primary rendering component 4220 performing the complex graphics generation work needed to generate surfaces at around 60 frames per second. A display engine 4250 of a head-mounted display unit 4230 may comprise hardware components powerful enough to adjust or re-sampling what the primary rendering component 4220 produces based on a user's movements between updates from the primary rendering component 4220. The display engine 4250 may rapidly respond to perspective changes created by a user's movement to reprocess the output of the primary rendering component 4220, warping or otherwise adjusting the output of the primary rendering component 4220 until the primary rendering component 4220 has prepared another frame for display. For example, the primary rendering component 4220, as described, may render 2D images of virtual objects in a 3D scene at typical rates, e.g., around sixty frames per second. The 2D images may be used to generate surfaces. Each surface may comprise location information that indicates the surface's 3D location relative to the viewer and texture information for the virtual objects they represent, including the results of complex lighting effects, occlusion determination, and implementation of other rendering techniques performed by the primary rendering component 4220. The primary rendering component 4220 may send the surfaces to the display engine 4250. The display engine 4250 may then use updated information about, e.g., the position and/or orientation of the user to re-sample the surfaces from the current user perspective and warp the surface to accommodate characteristics of the display. The simplified geometries of the scene (due to the use of surfaces), along with other optimization techniques, enable the display engine 4250 to perform the task of refining and rendering the artificial scene at the desired target rates (e.g., at more than 4200 frames per second). Thus, while the primary rendering component 4220 prepares surfaces that are precise to a user's movements once every 1/60th of a second, the display engine 4250 may re-sample the output to refine the position of graphic every 1/200th of a second, filling in the gaps created by the frame rate of the primary rendering component 4220. This may create a high quality artificial reality experience for the user with smooth and seamless movement of computer generated graphics, while still providing comfortable equipment.
Another solution to this problem involves a compression technique that jointly encodes color components of the surfaces or 2D images (e.g., red, blue, green color channels), which is referenced herein as the joint-color mode. Typically, pixels are associated with three dimensions, or channels, of colors (e.g., red, blue, green color channels). As discussed with additional details below, the joint-color mode encodes the three channels of colors together if there is strong RGB color correspondences between pixels in a pixel block. If not, the pixels color values are encoded separately using standard encoding techniques. As illustrated in
Yet another solution to this problem involves a compression technique referred to as the adaptive range packing technique that uses two-dimensional arrays of values to represent various types of data such as those corresponding to image colors, depth, or motion. Similar to the joint-color mode described herein, if the data corresponds to image colors, the data may be encoded, or compressed, by the t-encoder 4243 illustrated in
In particular embodiments, the control block 4300 may receive an input data stream 4305 from the primary rendering component 4220 and initialize a pipeline in the display engine 4250 to finalize the rendering for display. In particular embodiments, the input data stream 305 may comprise data and control packets from the primary rendering component 4220. The data and control packets may include information such as one or more surfaces comprising texture data and position data and additional rendering instructions. The control block 4300 may distribute data as needed to one or more other blocks of the GPU Compositor 4252. The control block 4300 may initiate pipeline processing for one or more frames to be displayed. In particular embodiments, head-mounted display unit 4230 may comprise multiple display engines 4150 and each may comprise its own control block 4300.
In particular embodiments, transform blocks 4350 may determine initial visibility information for surfaces to be displayed in the artificial reality scene. In general, transform blocks 350 may cast rays from pixel locations on the display and produce filter commands (e.g., filtering based on bilinear or other types of interpolation techniques) to send to the pixel blocks 4400. Transform blocks 4300 may perform raycasting from the current viewpoint of the user (e.g., determined using inertial measurement units, eye trackers, and/or any suitable tracking/localization algorithms, such as simultaneous localization and mapping (SLAM)) into the artificial scene where surfaces are positioned and may produce results to send to the pixel block 400.
In general, transform blocks 4350 may each comprise a four-stage pipeline, in accordance with particular embodiments. The stages of a transform block 4350 may proceeds as follows. A ray caster may issue ray bundles corresponding to arrays of one or more aligned pixels, referred to as tiles (e.g., each tile may include 16'16 aligned pixels). The ray bundles may be warped, before entering the artificial reality scene, according to one or more distortion meshes. The distortion meshes may be configured to correct geometric distortion effects stemming from, at least, the displays 4270 of the head-mounted display 4230. Transform blocks 4300 may determine whether each ray bundle intersects with surfaces in the scene by comparing a bounding box of each tile to bounding boxes for each surface. If a ray bundle does not intersect with a surface, it may be discarded. Tile-surface intersections are detected, and corresponding tile-surface pairs 4395 are passed to the pixel blocks 4400.
In general, pixel blocks 4400 determine color values from the tile-surface pairs 4395 to produce pixel color values, in accordance with particular embodiments. The color values for each pixel are sampled from the texture data of surfaces received and stored by the control block 4300 (e.g., as part of input data stream 4305). Pixel blocks 4400 receive tile-surface pairs 4395 from transform blocks 4350 and schedule bilinear filtering. For each tile-surface pair 4395, pixel blocks 4400 may sample color information for the pixels within the tile using color values corresponding to where the projected tile intersects the surface. In particular embodiments, pixel blocks 4400 may process the red, green, and blue color components separately for each pixel. Pixel blocks 4400 may then output pixel color values 4495 to the display blocks 4500.
In general, display blocks 4500 may receive pixel color values 4495 from pixel blocks 4400, convert the format of the data to be more suitable for the scanline output of the display, apply one or more brightness corrections to the pixel color values 4495, and prepare the pixel color values 4495 for output to the displays 4270. Display blocks 4500 may convert tile-order pixel color values 4495 generated by pixel blocks 4400 into scanline- or row-order data, which may be required by the displays 4270. The brightness corrections may include any required brightness correction, gamma mapping, and dithering. Display blocks 4500 may provide pixel output 4595, such as the corrected pixel color values, directly to the displays 4270 or may provide the pixel output 4595 to a block external to the display engine 4250 in a variety of formats. For example, the head-mounted display unit 4230 may comprise additional hardware or software to further customize backend color processing, to support a wider interface to the display, or to optimize display speed or fidelity.
In particular embodiments, the control block 4300 may receive an input data stream 4305 from the primary rendering component 4220 and initialize a pipeline in the display engine 4250 to re-sample or correct artificial reality surfaces based on the user's current viewpoint. In particular embodiments, the control block 4300 may receive control packets from the primary rendering component 4220. The control packets may include one or more surfaces with texture data and position data (e.g., as defined by transformation matrices) to be rendered in the artificial reality scene.
Particular embodiments disclosed herein are directed to image compression techniques that leverage strong RGB color correspondences between pixels in a pixel block. Conventional compression techniques are typically asynchronous, thus are too slow to allow real-time encoding and decoding. To allow images to be encoded/decoded faster, embodiments of this disclosure provide a method of selectively encoding certain pixel blocks of an image based on the concept of Principal Component Analysis if the color values within the block are highly correlated to each other. The high-level idea is that, if pixel color values within a block are highly correlated to each other, the color values for the entire block can be encoded into a simplified representation that captures most of the color information. This technique, referred to as the joint-color mode, can be selectively applied to certain pixel blocks in an image if the block is suitable for the joint-color mode (e.g., high correlation of pixel color values), while other blocks of the image are encoded using the standard encoding method (normal mode).
Principal Component Analysis (PCA) is a method used to reduce the dimensionality of large data sets, by transforming a large set of variables into a smaller one that still contains most of the information in the large set. This method involves transforming multi-dimensional dataset into pairs of eigenvector and eigenvalue, each pair representing one dimension of the data set. An eigenvector, also referred to as the principal component, is a characteristic vector that represents a new dimension or a new axes of the data set, or said differently, a line or a direction representing values of the data set that are associated with the highest variance (most information). An eigenvalue is a scaling coefficient attached to the corresponding eigenvector and represents the amount of variance carried in each principal component. When transforming a data set based on eigenvectors and eigenvalues, the number of dimensions represented by the eigenvectors and eigenvalues match the number of dimensions of the data set. Thus, for example, in the context of RGB colors, representing the dataset based on PCA would produce three pairs of eigenvector and eigenvalue, since there are three channels, or dimensions, of colors (e.g., red, blue, green channels). In reference to eigenvectors and eigenvalues, determining whether to encode a pixel block based on the joint-color mode involves determining that the RGB color values of the pixel block have sufficiently strong correspondences such that one pair of eigenvector and eigenvalue can represent most of the color information of the pixel block. Thus, encoding the pixel block based on the joint-color mode means that the RGB color values of the pixel block are encoded as a single-dimensional data set represented by the line corresponding to a dominant eigenvector.
The disclosed embodiments provide techniques for jointly encoding RGB color values of certain pixel blocks if there are strong color correspondences between the RGB colors of a pixel block. In particular embodiments, determining whether to encode the pixel block using the joint-color mode involves calculating the largest eigenvalue and eigenvector for the pixel color values within a pixel block and determining whether the largest eigenvalue is significantly bigger than the other eigenvalues (indicating dominance over the other eigenvalues). In one method, the power iteration technique may be used to determine the largest eigenvalue and eigenvector for the pixel color values in a pixel block. The power iteration technique involves iteratively performing the steps of approximating an arbitrary starting vector vi, multiplying the vector vi by matrix A (e.g., 3×3 co-variance matrix for RGB color values of the pixel), then normalizing the resulting vector vj based on the largest entry n of the resulting vector. These steps may be performed iteratively for a predetermined number of iterations (e.g., four iterations), then the resulting vector vj may be checked to see if it has converged into the eigenvector corresponding to the largest eigenvalue, which may be indicated by the largest entry n corresponding to the resulting vector vj (e.g., the eigenvector). If it has, then the dominance of the largest eigenvalue may be determined by comparing it to the other eigenvalues (e.g., based on the ratio between the largest eigenvalue and the sum of all eigenvalues). If the largest eigenvalue is sufficiently dominant (e.g., if the ratio is higher than a threshold ratio), the color channels of the pixel block may be jointly encoded using the joint-color mode; otherwise, the color channels of the pixel block may be encoded separately. For example, referring to the coordinate system 4410 in
In particular embodiments, if a pixel block is to be encoded using the joint-color mode, the encoding process may involve dividing the line corresponding to the dominant eigenvector (i.e., principal component) into bins based on the minimum and maximum color values of the pixel block and a particular number of bits assigned to the encoding process. Then, each pixel in the pixel block (e.g., in the three-dimensional RGB coordinate space) may be projected onto the line and encoded based on the bin that the projection falls into. Each bin is associated with a single quantized value falling on the single-dimensional line corresponding to the dominant eigenvector. For example, referring to the coordinate system 4510 in
In particular embodiments, the decoding process involves identifying the bin that the pixel was encoded based upon and the associated quantized value of the bin, which corresponds to the one-dimensional coordinate space of the dominant eigenvector, then determining the three-dimensional point in the RGB coordinate space that corresponds to the quantized value of the bin. In some embodiments, the RGB color values corresponding to each bin may be indexed in a look-up table, allowing the RGB color values to be determined based on thereof.
In particular embodiments, pixel blocks may be encoded using joint-color mode even when not all the components of pixel data are available (e.g., even when the pixel data for the red channel is unavailable). Cross-channel Convolution Filter (CCF) is one example where one or more color components might be unavailable. CCF, which helps to suppress chromatic aliasing artifacts using 4 μm red μLED with 2 μm green and blue μLEDs, utilizes a set of cross-channel convolution filters to be applied to input streams prior to MIP generation. Each color channel requires three 3×3 convolution filter operations. At certain MIP levels (e.g., MIP 0 and the max MIP), not all color channels might be present. When one or more color channels are unavailable, one option is to disable the joint-color encoding scheme described above, but doing so could be inefficient when the available channels are actually highly correlated.
In embodiments where joint-color encoding continues to be used when one or more color channels are unavailable, one of two method may be used. In one method, which may be referred to as “zero mode,” a channel of pixel data that is unavailable may be given zero values. For example, if the red pixel data is not available, each red pixel may be assigned with the value of 0. In another method, which may be referred to as “copy mode,” a channel of pixel data that is unavailable may be duplicated from another channel's pixel data. For example, if red pixel data is not available in RGB pixel data, the red pixels may be duplicated from either the green pixel data or the blue pixel data. The channel that pixel data is duplicated from may be determined based on the energy of the channels. In an embodiment, if there are two channels of pixel data that are unavailable, copy mode may not be used, rather the single channel of available pixel data may be encoded independently. In an embodiment, the copy mode may use a buffer pointer to assign pixel data, rather than directly copying the data. The result of applying zero mode or copy mode is that the missing color channel information is filled. With all color channels available, the joint-color encoding scheme described elsewhere herein may continue to be used to efficiently encode channels that are highly correlated.
Now being described is a compression technique referred to as the adaptive range packing technique which involves compressing various types of pixel data into two-dimensional arrays of values. For example, the adaptive range packing technique may be used to compress types of data corresponding to image colors, depth, and motion or optical flow. In particular embodiments, the adaptive range packing technique aims to compress pixel data by a constant rate, such that the amount of compression resulting from the technique results in, on average, a predictable and substantially constant rate. In some embodiments, the adaptive range packing technique may involve variable rate compression.
In particular embodiments, an image may be partitioned into a plurality of blocks, each block comprising a plurality of pixels. Depending on the type of data associated with the image, each pixel may have multiple components or channels. For example, if the type of data corresponds to color values, each pixel may be associated with a number of components such as the red, blue, and green components for RGB colors, Cb and Cr components for chrominance, or Y component for luminance. If the type of data corresponds to motion, each pixel may be associated with components corresponding to motion vector/field or optical flow vector/field. If the type of data corresponds to depth, each pixel may be associated with a depth component (e.g., z value). The adaptive range packing technique described herein, while capable of encoding the various pixel components, such as those described above, each component is encoded separately.
In particular embodiments, where the number of the quantization levels assigned to a pixel block corresponds an uneven number, multiple pixel values may be grouped together and represented by a longer bit string to better utilize the bits. For example, referring to the table 4820 in
In particular embodiments, a client system 3530 may be an electronic device including hardware, software, or embedded logic components or a combination of two or more such components and capable of carrying out the appropriate functionalities implemented or supported by a client system 3530. As an example, and not by way of limitation, a client system 3530 may include a computer system such as a desktop computer, notebook or laptop computer, netbook, a tablet computer, e-book reader, GPS device, camera, a digital assistant (PDA), handheld electronic device, cellular telephone, smartphone, virtual reality headset and controllers, other suitable electronic device, or any suitable combination thereof. This disclosure contemplates any suitable client systems 3530. A client system 3530 may enable a network user at a client system 3530 to access a network 3510. A client system 3530 may enable its user to communicate with other users at other client systems 3530. A client system 3530 may generate a virtual reality environment for a user to interact with content.
In particular embodiments, a client system 3530 may include a virtual reality (or augmented reality) headset 3532, and virtual reality input device(s) 3534, such as a virtual reality controller. A user at a client system 3530 may wear the virtual reality headset 3532 and use the virtual reality input device(s) to interact with a virtual reality environment 3536 generated by the virtual reality headset 3532. Although not shown, a client system 3530 may also include a separate processing computer and/or any other component of a virtual reality system. A virtual reality headset 3532 may generate a virtual reality environment 3536, which may include system content 3538 (including but not limited to the operating system), such as software or firmware updates and also include third-party content 3540, such as content from applications or dynamically downloaded from the Internet (e.g., web page content). A virtual reality headset 3532 may include sensor(s) 3542, such as accelerometers, gyroscopes, magnetometers to generate sensor data that tracks the location of the headset device 3532. The headset 3532 may also include eye trackers for tracking the position of the user's eyes or their viewing directions. The client system may use data from the sensor(s) 3542 to determine velocity, orientation, and gravitation forces with respect to the headset.
Virtual reality input device(s) 3534 may include sensor(s) 3544, such as accelerometers, gyroscopes, magnetometers, and touch sensors to generate sensor data that tracks the location of the input device 3534 and the positions of the user's fingers. The client system 3530 may make use of outside-in tracking, in which a tracking camera (not shown) is placed external to the virtual reality headset 3532 and within the line of sight of the virtual reality headset 3532. In outside-in tracking, the tracking camera may track the location of the virtual reality headset 3532 (e.g., by tracking one or more infrared LED markers on the virtual reality headset 3532). Alternatively, or additionally, the client system 3530 may make use of inside-out tracking, in which a tracking camera (not shown) may be placed on or within the virtual reality headset 3532 itself In inside-out tracking, the tracking camera may capture images around it in the real world and may use the changing perspectives of the real world to determine its own position in space.
Third-party content 3540 may include a web browser, and may have one or more add-ons, plug-ins, or other extensions. A user at a client system 3530 may enter a Uniform Resource Locator (URL) or other address directing a web browser to a particular server (such as server 3562, or a server associated with a third-party system 3570), and the web browser may generate a Hyper Text Transfer Protocol (HTTP) request and communicate the HTTP request to server. The server may accept the HTTP request and communicate to a client system 3530 one or more Hyper Text Markup Language (HTML) files responsive to the HTTP request. The client system 3530 may render a web interface (e.g., a webpage) based on the HTML files from the server for presentation to the user. This disclosure contemplates any suitable source files. As an example, and not by way of limitation, a web interface may be rendered from HTML files, Extensible Hyper Text Markup Language (XHTML) files, or Extensible Markup Language (XML) files, according to particular needs. Such interfaces may also execute scripts such as, for example and without limitation, those written in JAVASCRIPT, JAVA, SILVERL1GHT, combinations of markup language and scripts such as AJAX (Asynchronous JAVASCRIPT and XML), and the like. Herein, reference to a web interface encompasses one or more corresponding source files (which a browser may use to render the web interface) and vice versa, where appropriate.
In particular embodiments, the social-networking system 3560 may be a network-addressable computing system that may host an online social network. The social-networking system 3560 may generate, store, receive, and send social-networking data, such as, for example, user-profile data, concept-profile data, social-graph information, or other suitable data related to the online social network. The social-networking system 3560 may be accessed by the other components of network environment 3500 either directly or via a network 3510. As an example, and not by way of limitation, a client system 3530 may access the social-networking system 3560 using a web browser of a third-party content 3540, or a native application associated with the social-networking system 3560 (e.g., a mobile social-networking application, a messaging application, another suitable application, or any combination thereof) either directly or via a network 5310. In particular embodiments, the social-networking system 3560 may include one or more servers 3562. Each server 3562 may be a unitary server or a distributed server spanning multiple computers or multiple datacenters. Servers 3562 may be of various types, such as, for example and without limitation, web server, news server, mail server, message server, advertising server, file server, application server, exchange server, database server, proxy server, another server suitable for performing functions or processes described herein, or any combination thereof.
In particular embodiments, each server 3562 may include hardware, software, or embedded logic components or a combination of two or more such components for carrying out the appropriate functionalities implemented or supported by server 3562. In particular embodiments, the social-networking system 3560 may include one or more data stores 3564. Data stores 3564 may be used to store various types of information. In particular embodiments, the information stored in data stores 3564 may be organized according to specific data structures. In particular embodiments, each data store 3564 may be a relational, columnar, correlation, or other suitable database. Although this disclosure describes or illustrates particular types of databases, this disclosure contemplates any suitable types of databases. Particular embodiments may provide interfaces that enable a client system 3530, a social-networking system 3560, or a third-party system 3570 to manage, retrieve, modify, add, or delete, the information stored in data store 3564.
In particular embodiments, the social-networking system 3560 may store one or more social graphs in one or more data stores 3564. In particular embodiments, a social graph may include multiple nodes—which may include multiple user nodes (each corresponding to a particular user) or multiple concept nodes (each corresponding to a particular concept)—and multiple edges connecting the nodes. The social-networking system 3560 may provide users of the online social network the ability to communicate and interact with other users. In particular embodiments, users may join the online social network via the social-networking system 3560 and then add connections (e.g., relationships) to a number of other users of the social-networking system 3560 whom they want to be connected to. Herein, the term “friend” may refer to any other user of the social-networking system 3560 with whom a user has formed a connection, association, or relationship via the social-networking system 3560.
In particular embodiments, the social-networking system 3560 may provide users with the ability to take actions on various types of items or objects, supported by the social-networking system 3560. As an example, and not by way of limitation, the items and objects may include groups or social networks to which users of the social-networking system 3560 may belong, events or calendar entries in which a user might be interested, computer-based applications that a user may use, transactions that allow users to buy or sell items via the service, interactions with advertisements that a user may perform, or other suitable items or objects. A user may interact with anything that is capable of being represented in the social-networking system 3560 or by an external system of a third-party system 3570, which is separate from the social-networking system 3560 and coupled to the social-networking system 3560 via a network 3510.
In particular embodiments, the social-networking system 3560 may be capable of linking a variety of entities. As an example, and not by way of limitation, the social-networking system 3560 may enable users to interact with each other as well as receive content from third-party systems 3570 or other entities, or to allow users to interact with these entities through an application programming interfaces (API) or other communication channels. In particular embodiments, a third-party system 3570 may include one or more types of servers, one or more data stores, one or more interfaces, including but not limited to APIs, one or more web services, one or more content sources, one or more networks, or any other suitable components, e.g., that servers may communicate with. A third-party system 3570 may be operated by a different entity from an entity operating the social-networking system 3560. In particular embodiments, however, the social-networking system 3560 and third-party systems 3570 may operate in conjunction with each other to provide social-networking services to users of the social-networking system 3560 or third-party systems 3570. In this sense, the social-networking system 3560 may provide a platform, or backbone, which other systems, such as third-party systems 3570, may use to provide social-networking services and functionality to users across the Internet.
In particular embodiments, a third-party system 3570 may include a third-party content object provider. A third-party content object provider may include one or more sources of content objects, which may be communicated to a client system 3530. As an example, and not by way of limitation, content objects may include information regarding things or activities of interest to the user, such as, for example, movie show times, movie reviews, restaurant reviews, restaurant menus, product information and reviews, or other suitable information. As another example and not by way of limitation, content objects may include incentive content objects, such as coupons, discount tickets, gift certificates, or other suitable incentive objects.
In particular embodiments, the social-networking system 3560 also includes user-generated content objects, which may enhance a user's interactions with the social-networking system 3560. User-generated content may include anything a user may add, upload, send, or “post” to the social-networking system 3560. As an example, and not by way of limitation, a user communicates posts to the social-networking system 3560 from a client system 3530. Posts may include data such as status updates or other textual data, location information, photos, videos, links, music or other similar data or media. Content may also be added to the social-networking system 3560 by a third-party through a “communication channel,” such as a newsfeed or stream. In particular embodiments, the social-networking system 3560 may include a variety of servers, sub-systems, programs, modules, logs, and data stores. In particular embodiments, the social-networking system 3560 may include one or more of the following: a web server, action logger, API-request server, relevance-and-ranking engine, content-object classifier, notification controller, action log, third-party-content-object-exposure log, inference module, authorization/privacy server, search module, advertisement-targeting module, user-interface module, user-profile store, connection store, third-party content store, or location store. The social-networking system 3560 may also include suitable components such as network interfaces, security mechanisms, load balancers, failover servers, management-and-network-operations consoles, other suitable components, or any suitable combination thereof.
In particular embodiments, the social-networking system 3560 may include one or more user-profile stores for storing user profiles. A user profile may include, for example, biographic information, demographic information, behavioral information, social information, or other types of descriptive information, such as work experience, educational history, hobbies or preferences, interests, affinities, or location. Interest information may include interests related to one or more categories. Categories may be general or specific. As an example, and not by way of limitation, if a user “likes” an article about a brand of shoes the category may be the brand, or the general category of “shoes” or “clothing.” A connection store may be used for storing connection information about users. The connection information may indicate users who have similar or common work experience, group memberships, hobbies, educational history, or are in any way related or share common attributes. The connection information may also include user-defined connections between different users and content (both internal and external). A web server may be used for linking the social-networking system 3560 to one or more client systems 3530 or one or more third-party systems 3570 via a network 3510. The web server may include a mail server or other messaging functionality for receiving and routing messages between the social-networking system 3560 and one or more client systems 3530. An API-request server may allow a third-party system 3570 to access information from the social-networking system 3560 by calling one or more APIs. An action logger may be used to receive communications from a web server about a user's actions on or off the social-networking system 3560.
In conjunction with the action log, a third-party-content-object log may be maintained of user exposures to third-party-content objects. A notification controller may provide information regarding content objects to a client system 3530. Information may be pushed to a client system 3530 as notifications, or information may be pulled from a client system 3530 responsive to a request received from a client system 3530. Authorization servers may be used to enforce one or more privacy settings of the users of the social-networking system 3560. A privacy setting of a user may determine how particular information associated with a user may be shared. The authorization server may allow users to opt in to or opt out of having their actions logged by the social-networking system 3560 or shared with other systems (e.g., a third-party system 3570), such as, for example, by setting appropriate privacy settings. Third-party-content-object stores may be used to store content objects received from third parties, such as a third-party system 3570. Location stores may be used for storing location information received from client systems 3530 associated with users. Advertisement-pricing modules may combine social information, the current time, location information, or other suitable information to provide relevant advertisements, in the form of notifications, to a user.
This disclosure contemplates any suitable number of computer systems 5700. This disclosure contemplates computer system 5700 taking any suitable physical form. As example and not by way of limitation, computer system 5700 may be an embedded computer system, a system-on-chip (SOC), a single-board computer system (SBC) (such as, for example, a computer-on-module (COM) or system-on-module (SOM)), a desktop computer system, a laptop or notebook computer system, an interactive kiosk, a mainframe, a mesh of computer systems, a mobile telephone, a personal digital assistant (PDA), a server, a tablet computer system, an augmented/virtual reality device, or a combination of two or more of these. Where appropriate, computer system 5700 may include one or more computer systems 5700; be unitary or distributed; span multiple locations; span multiple machines; span multiple data centers; or reside in a cloud, which may include one or more cloud components in one or more networks. Where appropriate, one or more computer systems 5700 may perform without substantial spatial or temporal limitation one or more steps of one or more methods described or illustrated herein. As an example and not by way of limitation, one or more computer systems 5700 may perform in real time or in batch mode one or more steps of one or more methods described or illustrated herein. One or more computer systems 5700 may perform at different times or at different locations one or more steps of one or more methods described or illustrated herein, where appropriate.
In particular embodiments, computer system 5700 includes a processor 5702, memory 5704, storage 5706, an input/output (I/O) interface 5708, a communication interface 55712, and a bus 712. Although this disclosure describes and illustrates a particular computer system having a particular number of particular components in a particular arrangement, this disclosure contemplates any suitable computer system having any suitable number of any suitable components in any suitable arrangement.
In particular embodiments, processor 5702 includes hardware for executing instructions, such as those making up a computer program. As an example and not by way of limitation, to execute instructions, processor 5702 may retrieve (or fetch) the instructions from an internal register, an internal cache, memory 5704, or storage 5706; decode and execute them; and then write one or more results to an internal register, an internal cache, memory 5704, or storage 5706. In particular embodiments, processor 5702 may include one or more internal caches for data, instructions, or addresses. This disclosure contemplates processor 5702 including any suitable number of any suitable internal caches, where appropriate. As an example and not by way of limitation, processor 5702 may include one or more instruction caches, one or more data caches, and one or more translation lookaside buffers (TLBs). Instructions in the instruction caches may be copies of instructions in memory 5704 or storage 5706, and the instruction caches may speed up retrieval of those instructions by processor 5702. Data in the data caches may be copies of data in memory 5704 or storage 5706 for instructions executing at processor 5702 to operate on; the results of previous instructions executed at processor 5702 for access by subsequent instructions executing at processor 5702 or for writing to memory 5704 or storage 5706; or other suitable data. The data caches may speed up read or write operations by processor 5702. The TLBs may speed up virtual-address translation for processor 5702. In particular embodiments, processor 5702 may include one or more internal registers for data, instructions, or addresses. This disclosure contemplates processor 5702 including any suitable number of any suitable internal registers, where appropriate. Where appropriate, processor 5702 may include one or more arithmetic logic units (ALUs); be a multi-core processor; or include one or more processors 5702. Although this disclosure describes and illustrates a particular processor, this disclosure contemplates any suitable processor.
In particular embodiments, memory 5704 includes main memory for storing instructions for processor 5702 to execute or data for processor 5702 to operate on. As an example and not by way of limitation, computer system 5700 may load instructions from storage 5706 or another source (such as, for example, another computer system 5700) to memory 5704. Processor 5702 may then load the instructions from memory 5704 to an internal register or internal cache. To execute the instructions, processor 5702 may retrieve the instructions from the internal register or internal cache and decode them. During or after execution of the instructions, processor 5702 may write one or more results (which may be intermediate or final results) to the internal register or internal cache. Processor 5702 may then write one or more of those results to memory 5704. In particular embodiments, processor 5702 executes only instructions in one or more internal registers or internal caches or in memory 5704 (as opposed to storage 5706 or elsewhere) and operates only on data in one or more internal registers or internal caches or in memory 5704 (as opposed to storage 5706 or elsewhere). One or more memory buses (which may each include an address bus and a data bus) may couple processor 5702 to memory 5704. Bus 712 may include one or more memory buses, as described below. In particular embodiments, one or more memory management units (MMUs) reside between processor 5702 and memory 5704 and facilitate accesses to memory 5704 requested by processor 5702. In particular embodiments, memory 5704 includes random access memory (RAM). This RAM may be volatile memory, where appropriate. Where appropriate, this RAM may be dynamic RAM (DRAM) or static RAM (SRAM). Moreover, where appropriate, this RAM may be single-ported or multi-ported RAM. This disclosure contemplates any suitable RAM. Memory 5704 may include one or more memories 5704, where appropriate. Although this disclosure describes and illustrates particular memory, this disclosure contemplates any suitable memory.
In particular embodiments, storage 5706 includes mass storage for data or instructions. As an example and not by way of limitation, storage 5706 may include a hard disk drive (HDD), a floppy disk drive, flash memory, an optical disc, a magneto-optical disc, magnetic tape, or a Universal Serial Bus (USB) drive or a combination of two or more of these. Storage 5706 may include removable or non-removable (or fixed) media, where appropriate. Storage 5706 may be internal or external to computer system 5700, where appropriate. In particular embodiments, storage 5706 is non-volatile, solid-state memory. In particular embodiments, storage 5706 includes read-only memory (ROM). Where appropriate, this ROM may be mask-programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), electrically alterable ROM (EAROM), or flash memory or a combination of two or more of these. This disclosure contemplates mass storage 5706 taking any suitable physical form. Storage 5706 may include one or more storage control units facilitating communication between processor 5702 and storage 5706, where appropriate. Where appropriate, storage 5706 may include one or more storages 5706. Although this disclosure describes and illustrates particular storage, this disclosure contemplates any suitable storage.
In particular embodiments, I/O interface 5708 includes hardware, software, or both, providing one or more interfaces for communication between computer system 5700 and one or more I/O devices. Computer system 5700 may include one or more of these I/O devices, where appropriate. One or more of these I/O devices may enable communication between a person and computer system 5700. As an example and not by way of limitation, an I/O device may include a keyboard, keypad, microphone, monitor, mouse, printer, scanner, speaker, still camera, stylus, tablet, touch screen, trackball, video camera, another suitable I/O device or a combination of two or more of these. An I/O device may include one or more sensors. This disclosure contemplates any suitable I/O devices and any suitable I/O interfaces 5708 for them. Where appropriate, I/O interface 5708 may include one or more device or software drivers enabling processor 5702 to drive one or more of these I/O devices. I/O interface 5708 may include one or more I/O interfaces 5708, where appropriate. Although this disclosure describes and illustrates a particular I/O interface, this disclosure contemplates any suitable I/O interface.
In particular embodiments, communication interface 55712 includes hardware, software, or both providing one or more interfaces for communication (such as, for example, packet-based communication) between computer system 5700 and one or more other computer systems 5700 or one or more networks. As an example and not by way of limitation, communication interface 55712 may include a network interface controller (NIC) or network adapter for communicating with an Ethernet or other wire-based network or a wireless NIC (WNIC) or wireless adapter for communicating with a wireless network, such as a WI-FI network. This disclosure contemplates any suitable network and any suitable communication interface 55712 for it. As an example and not by way of limitation, computer system 5700 may communicate with an ad hoc network, a personal area network (PAN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), or one or more portions of the Internet or a combination of two or more of these. One or more portions of one or more of these networks may be wired or wireless. As an example, computer system 5700 may communicate with a wireless PAN (WPAN) (such as, for example, a BLUETOOTH WPAN), a WI-FI network, a WI-MAX network, a cellular telephone network (such as, for example, a Global System for Mobile Communications (GSM) network), or other suitable wireless network or a combination of two or more of these. Computer system 5700 may include any suitable communication interface 55712 for any of these networks, where appropriate. Communication interface 55712 may include one or more communication interfaces 55712, where appropriate. Although this disclosure describes and illustrates a particular communication interface, this disclosure contemplates any suitable communication interface.
In particular embodiments, bus 712 includes hardware, software, or both coupling components of computer system 5700 to each other. As an example and not by way of limitation, bus 712 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a front-side bus (FSB), a HYPERTRANSPORT (HT) interconnect, an Industry Standard Architecture (ISA) bus, an INFINIBAND interconnect, a low-pin-count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCIe) bus, a serial advanced technology attachment (SATA) bus, a Video Electronics Standards Association local (VLB) bus, or another suitable bus or a combination of two or more of these. Bus 712 may include one or more buses 712, where appropriate. Although this disclosure describes and illustrates a particular bus, this disclosure contemplates any suitable bus or interconnect.
Herein, a computer-readable non-transitory storage medium or media may include one or more semiconductor-based or other integrated circuits (ICs) (such, as for example, field-programmable gate arrays (FPGAs) or application-specific ICs (ASICs)), hard disk drives (HDDs), hybrid hard drives (HHDs), optical discs, optical disc drives (ODDs), magneto-optical discs, magneto-optical drives, floppy diskettes, floppy disk drives (FDDs), magnetic tapes, solid-state drives (SSDs), RAM-drives, SECURE DIGITAL cards or drives, any other suitable computer-readable non-transitory storage media, or any suitable combination of two or more of these, where appropriate. A computer-readable non-transitory storage medium may be volatile, non-volatile, or a combination of volatile and non-volatile, where appropriate.
Herein, “or” is inclusive and not exclusive, unless expressly indicated otherwise or indicated otherwise by context. Therefore, herein, “A or B” means “A, B, or both,” unless expressly indicated otherwise or indicated otherwise by context. Moreover, “and” is both joint and several, unless expressly indicated otherwise or indicated otherwise by context. Therefore, herein, “A and B” means “A and B, jointly or severally,” unless expressly indicated otherwise or indicated otherwise by context.
The scope of this disclosure encompasses all changes, substitutions, variations, alterations, and modifications to the example embodiments described or illustrated herein that a person having ordinary skill in the art would comprehend. The scope of this disclosure is not limited to the example embodiments described or illustrated herein. Moreover, although this disclosure describes and illustrates respective embodiments herein as including particular components, elements, feature, functions, operations, or steps, any of these embodiments may include any combination or permutation of any of the components, elements, features, functions, operations, or steps described or illustrated anywhere herein that a person having ordinary skill in the art would comprehend. Furthermore, reference in the appended claims to an apparatus or system or a component of an apparatus or system being adapted to, arranged to, capable of, configured to, enabled to, operable to, or operative to perform a particular function encompasses that apparatus, system, component, whether or not it or that particular function is activated, turned on, or unlocked, as long as that apparatus, system, or component is so adapted, arranged, capable, configured, enabled, operable, or operative. Additionally, although this disclosure describes or illustrates particular embodiments as providing particular advantages, particular embodiments may provide none, some, or all of these advantages.
This application claims the benefit under 35 U.S.C. § 119(e) of U.S. Provisional Patent Application No. 63/233,968, filed 17 Aug. 2021, which is incorporated herein by reference. This application claims the benefit under 35 U.S.C. § 119(e) of U.S. Provisional Patent Application No. 63/234,043, filed 17 Aug. 2021, which is incorporated herein by reference. This application claims the benefit under 35 U.S.C. § 119(e) of U.S. Provisional Patent Application No. 63/228,287, filed 2 Aug. 2021, which is incorporated herein by reference. This application claims the benefit under 35 U. S.C. § 119(e) of U.S. Provisional Patent Application No. 63/234,841, filed 19 Aug. 2021, which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
63233968 | Aug 2021 | US | |
63234043 | Aug 2021 | US | |
63228287 | Aug 2021 | US | |
63234841 | Aug 2021 | US |