Method for displaying object to be displayed, electronic device, and medium

By using the rendering method of the object to be displayed in virtual reality technology, using preset attributes and pose information to generate textures, and combining the pose changes of the terminal device, the problem of jitter of the object to be displayed in VR is solved and the user experience is improved. .

WO2024199386A1PCT designated stage expired Publication Date: 2024-10-03BEIJING UNICORN TECH CO LTD

Patent Information

Application Number
PCT/CN2024/084524
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-29
Filing Date
2024-03-28
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

In virtual reality (VR) applications, time warping technology cannot effectively reduce the delay between motion and images, resulting in jitter problems in objects to be displayed.

Method used

By rendering the target object to be displayed according to its preset attributes in the display area of ​​the terminal device, the first texture is obtained, and other objects to be displayed are rendered according to the pose of the terminal device and the attribute information of other objects to be displayed in the reference coordinate system. object, obtain the second texture, and determine the image to be displayed based on the second pose of the terminal device, thereby reducing the jitter of the target object to be displayed.

Benefits of technology

It is possible to reduce the jitter of the target object to be displayed that needs to follow the viewing angle and improve the user experience while taking into account the low latency of other objects to be displayed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024084524_03102024_PF_FP_ABST
    Figure CN2024084524_03102024_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure provides a method for displaying an object to be displayed, an apparatus, an electronic device, and a medium. The specific implementation solution comprises: determining at least one target object to be displayed which belongs to a target display method; rendering each target object to be displayed in accordance with a preset attribute, and obtaining at least one first sticker corresponding to each target object to be displayed; wherein the preset attribute comprises at least one of a position, angle, dimensions, and scaling within a display area of a terminal device; on the basis of a first orientation of the terminal device and the attribute information respectively corresponding to the objects to be displayed other than the target object to be displayed, rendering the other objects to be displayed, to obtain at least one second sticker corresponding to the other objects to be displayed; wherein the attribute information comprises, within a reference coordinate system, the position, angle, and scaling of the other objects to be displayed; and on the basis of the at least one first sticker, the at least one second sticker, and a second orientation of the terminal device, determining a picture to be displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Display method, electronic device and medium for displaying objects

[0001] This disclosure claims priority to Chinese patent application number CN202310324193.5 filed with the State Intellectual Property Office on March 29, 2023, entitled “Display method, device, electronic device and medium for objects to be displayed,” the entire contents of which are incorporated by reference into this disclosure. Technical Field

[0002] The present disclosure relates to the technical field of virtual reality or augmented reality, and in particular to a display method, electronic device, and medium for displaying an object to be displayed. Background Art

[0003] In virtual reality (VR) applications, time warping is a technique used to reduce latency between motion and image. Typically, after an object in the virtual world is rendered, a second rendering of the textures from the first rendering is performed based on the object's latest pose to produce the image to be displayed.

[0004] Summary of the Invention

[0005] In view of this, the purpose of the present disclosure is to provide a display method, electronic device and medium for objects to be displayed, by rendering the target object to be displayed that needs to follow the viewing angle separately from other objects to be displayed, rendering the target object to be displayed according to its preset attributes in the display area of ​​the terminal device, and rendering other objects to be displayed according to the posture of the terminal device and the attribute information of other objects to be displayed in the reference coordinate system, so that the target object to be displayed can be displayed more stably following the user's viewing angle, thereby effectively reducing the jitter of the picture.

[0006] In a first aspect, an embodiment of the present disclosure provides a display method for objects to be displayed, comprising: determining at least one target object to be displayed that belongs to a target display mode; rendering each target object to be displayed according to preset attributes to obtain at least one first map corresponding to each target object to be displayed; wherein the preset attributes include at least one item of position, angle, size, and scale in the display area of ​​the terminal device; based on the first posture of the terminal device and the attribute information corresponding to other objects to be displayed except the target object to be displayed, rendering the other objects to be displayed to obtain at least one second map corresponding to the other objects to be displayed; wherein the attribute information includes the position, angle, and scale of the other objects to be displayed in the reference coordinate system; determining the screen to be displayed based on at least one first map, at least one second map, and the second posture of the terminal device; wherein the second posture is obtained later than the first posture.

[0007] In a second aspect, an embodiment of the present disclosure provides a computer-readable storage medium, which stores a computer program for executing the display method for an object to be displayed provided by any of the above embodiments of the present disclosure.

[0008] In a third aspect, an embodiment of the present disclosure provides an electronic device comprising: a processor; a memory for storing processor executable instructions; a processor for reading executable instructions from the memory and executing the instructions to implement the display method for an object to be displayed provided in any of the above embodiments of the present disclosure.

[0009] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and examples. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other purposes, features, and advantages of the present disclosure will become more apparent through a more detailed description of the embodiments of the present disclosure in conjunction with the accompanying drawings. The accompanying drawings are intended to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and are not intended to limit the present disclosure. In the drawings, the same reference numerals generally represent the same components or steps.

[0011] FIG1 is an exemplary system architecture of an embodiment of a method or apparatus for displaying an object to be displayed that can be applied to the present disclosure;

[0012] FIG2 is a flow chart of a method for displaying an object to be displayed provided by an exemplary embodiment of the present disclosure;

[0013] FIG3 is a schematic flow chart of a method for displaying an object to be displayed provided by another exemplary embodiment of the present disclosure;

[0014] FIG4 is a flow chart of step 50 provided by an exemplary embodiment of the present disclosure;

[0015] FIG5 is a flow chart of step 520 provided by an exemplary embodiment of the present disclosure;

[0016] FIG6 is a schematic structural diagram of a display device for displaying an object provided by an exemplary embodiment of the present disclosure;

[0017] FIG7 is a schematic structural diagram of a display device for displaying an object provided by another exemplary embodiment of the present disclosure;

[0018] FIG8 is a schematic structural diagram of an application embodiment of the electronic device disclosed herein. DETAILED DESCRIPTION

[0019] Below, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described herein.

[0020] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0021] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, and do not represent any specific technical meanings, nor do they indicate a necessary logical order between them.

[0022] It should also be understood that in the embodiments of the present disclosure, “a plurality of” may refer to two or more than two, and “at least one” may refer to one, two, or more than two.

[0023] It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.

[0024] In addition, the term "and / or" in this disclosure is merely a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this disclosure generally indicates that the related objects are in an "or" relationship.

[0025] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0026] The embodiments of the present disclosure can be applied to electronic devices such as head-mounted display devices, terminal devices, servers, etc., which can operate with many other general-purpose or special-purpose computing system environments or configurations. Electronic devices such as head-mounted display devices, terminal devices, servers, etc. can be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. Generally, program modules can include routines, programs, target programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. The computer system / server can be implemented in a distributed cloud computing environment, in which tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.

[0027] The following describes the specific embodiments of the present disclosure in detail with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present disclosure and are not intended to limit the present disclosure.

[0028] Figure 1 illustrates an exemplary system architecture applicable to embodiments of the present disclosure's method or apparatus for displaying an object. The system architecture may include a head-mounted display device 1, a network 2, and a server 3. Network 2 may provide a communication link between the head-mounted display device 1 and the server 3. Network 2 may include various connection types, such as wired or wireless communication links or fiber optic cables.

[0029] The head-mounted display device 1 can be an electronic device with image display capabilities, including but not limited to AR (Augmented Reality) smart glasses, VR (Virtual Reality) smart glasses, and the like. The head-mounted display device 1 can be an all-in-one device. An all-in-one head-mounted display device integrates the functionality of a computing unit, which provides processing power for the head-mounted display device. Various client applications installed on the head-mounted display device are actually installed on the computing unit. Alternatively, the head-mounted display device can be a split device, comprising a head-mounted display and a computing unit separate from the head-mounted display, with the head-mounted display's display screen used to display images processed by the computing unit. The computing unit in a split head-mounted display device can be a terminal device, such as a mobile phone, controller, adapter, PC, tablet, or in-vehicle computer. For ease of presentation, in the case where the execution subject is a head-mounted display device, the following description of the disclosed solution will use the all-in-one head-mounted display device as the execution subject, and the head-mounted display device 1 will be used in the figures. Those skilled in the art should understand that, for a split-type head-mounted display device, the execution entity is the computing unit.

[0030] The head-mounted display device 1 can provide various services, such as determining at least one target object to be displayed that belongs to the target display mode, rendering each target object to be displayed according to its preset attributes in the display area of ​​the terminal device, and obtaining at least one first texture corresponding to each target object to be displayed; rendering other objects to be displayed other than the target object to be displayed according to the posture of the terminal device and the attribute information of the other objects to be displayed in the reference coordinate system, and obtaining at least one second texture corresponding to the other objects to be displayed; and determining a screen to be displayed based on the at least one first texture and the at least one second texture. The display method for objects to be displayed provided in the embodiment of the present disclosure can be executed by the head-mounted display device 1 described above. Accordingly, the display device for the objects to be displayed is usually provided in the head-mounted display device 1, and the display screen can be located in the display device.

[0031] It should also be pointed out that the display method for objects to be displayed provided by the present disclosure can also be applied to server 3, which can be a background page server. In the case where the method of the present disclosure is applied to server 3, after server 3 determines at least one target object to be displayed that belongs to the target display mode, each target object to be displayed can be rendered according to its preset attributes in the display area of ​​the terminal device, and at least one first map corresponding to each target object to be displayed can be obtained; for other objects to be displayed except the target object to be displayed, the terminal device and the attribute information of other objects to be displayed in the reference coordinate system can be rendered to obtain at least one second map corresponding to other objects to be displayed; and the screen to be displayed can be determined based on at least one first map and at least one second map. Accordingly, the display device for the object to be displayed can also be set in server 3.

[0032] In addition to the server and the head-mounted display device, the display method for the object to be displayed can also be applied to other terminal devices (not shown in the figure). The other terminal devices here can be mobile phones, tablets, computers, etc.

[0033] Exemplary Methods

[0034] The present disclosure provides a display method for objects to be displayed, wherein the objects to be displayed include a target object to be displayed and other objects to be displayed. The method includes: determining a target object to be displayed that belongs to a target display mode, wherein the target object to be displayed that belongs to the target display mode has a fixed relative posture relationship or a relative posture relationship with some degrees of freedom locked with respect to the observation posture of a virtual camera; rendering the target object to be displayed according to preset attributes to obtain a first texture corresponding to the target object to be displayed; rendering the other objects to be displayed based on the first posture of a terminal device and the attribute information corresponding to the other objects to be displayed to obtain a second texture corresponding to the other objects to be displayed, wherein the other objects to be displayed include objects having at least one of a fixed position and a fixed posture in a reference coordinate system, the virtual camera maintains a consistent posture relationship with the terminal device to which it belongs, and the observation posture of the virtual camera in the reference coordinate system can change; determining a picture to be displayed based on the first texture, the second texture, and the second posture of the terminal device, wherein the second posture is obtained later than the first posture.

[0035] It is understood that the objects to be displayed include a target object to be displayed and other objects to be displayed, and the target object to be displayed and other objects to be displayed have different display modes. For example, the target object to be displayed and other objects to be displayed mentioned below have display modes with different degrees of freedom. The target display mode includes one of 0 degrees of freedom, 1 degree of freedom, and 2 degrees of freedom, and the display mode of the other objects to be displayed includes one of 3 degrees of freedom and 6 degrees of freedom.

[0036] The present disclosure also provides a method for displaying objects to be displayed on a head-mounted display device, wherein the objects to be displayed include a target object to be displayed and other objects to be displayed, and the target object to be displayed and the other objects to be displayed belong to different display modes. The method includes: determining a target object to be displayed that belongs to a target display mode; rendering the target object to be displayed according to preset attributes to obtain a first texture corresponding to the target object to be displayed; rendering the other objects to be displayed based on the first posture of the head-mounted display device and the attribute information corresponding to the other objects to be displayed to obtain a second texture corresponding to the other objects to be displayed; performing time warping on the second texture based on the posture change of the second posture of the head-mounted display device relative to the first posture to obtain a rendering result, wherein the second posture is obtained later than the first posture; and determining a screen to be displayed based on the first texture, the hierarchy of the first texture, the rendering result, and the hierarchy of the second texture.

[0037] FIG2 is a flow chart of a method for displaying an object to be displayed provided by an exemplary embodiment of the present disclosure. The embodiment of the present disclosure can be applied to an electronic device. As shown in FIG2 , the method includes the following steps:

[0038] Step 20: Determine at least one target object to be displayed that belongs to the target display mode.

[0039] In some optional embodiments of the present disclosure, the target display mode may refer to a follow-up (following perspective or following field of view) display mode, in which the target object to be displayed has a fixed relative posture relationship or a relative posture relationship with some degrees of freedom locked with respect to the observation posture of the virtual camera in the target display mode. The virtual camera usually maintains a consistent posture relationship with the terminal device to which it belongs. When the movement of the terminal device causes the posture of the terminal device to change, the virtual camera usually also undergoes a corresponding posture change, so that the picture seen from the virtual camera can reflect the movement of the terminal device. This picture will be presented on the display of the terminal device so that the display picture seen by the user is consistent with the picture seen from the virtual camera.

[0040] In some optional embodiments of the present disclosure, partial degree of freedom locking means that some of the three degrees of freedom or six degrees of freedom need to be displayed with a head-on display. For example, the virtual camera's yaw angle direction is heeled, but the virtual camera's pitch angle and roll angle directions are not heeled (this display mode can be called 2 degrees of freedom), or the virtual camera's yaw angle and pitch angle directions are heeled, but the virtual camera's roll angle direction is not heeled (this display mode can be called 1 degree of freedom). Of course, which directions to heel and which directions not to heel in various display modes can be set according to actual needs. The target object to be displayed has a fixed relative posture relationship with the virtual camera's observation posture (this display mode can be called 0 degrees of freedom), which means that no matter how the virtual camera's observation posture changes, the target object to be displayed's posture in the virtual camera coordinate system remains unchanged. Similarly, the relative posture relationship of partial degree of freedom locking means that the coordinate components of some degrees of freedom in the virtual camera coordinate system remain unchanged. For example, for a target object to be displayed with 2 degrees of freedom, its pose in the virtual camera coordinate system is expressed as (x, y, z, yaw, pitch, roll), where the x, y, z, and yaw components remain unchanged, and the pitch and roll components correspond to the pitch angle and roll angle in a fixed reference coordinate system. When the virtual camera rotates relative to the reference coordinate system in the pitch and roll directions, the pitch and roll components of the target object to be displayed in the virtual camera coordinate system will change, that is, the observation angle in the pitch and roll directions will change.

[0041] In some optional embodiments of the present disclosure, the target object to be displayed belonging to the target display mode may include, for example, at least one of the following objects: a video window when playing a video, a switching interface when switching between three-degree-of-freedom and six-degree-of-freedom modes, a pop-up window for reminding the user during the use of the application, and the like.

[0042] In some optional embodiments of the present disclosure, the method for determining the target to-be-displayed object belonging to the target display mode can be configured based on actual needs. For example, a preset type set belonging to the target to-be-displayed mode can be configured, thereby determining the target to-be-displayed object based on whether the type corresponding to each to-be-displayed object belongs to the preset type set. For another example, a target display mode identifier can be set for the to-be-displayed object that needs to be displayed according to the target display mode, thereby determining the target to-be-displayed object based on the target display mode identifier carried by the to-be-displayed object, and so on.

[0043] An executing entity of the display method for an object to be displayed (which may be a terminal device, for example, a head-mounted display device, a mobile phone, a server, etc.) determines at least one target object to be displayed that belongs to a target display mode.

[0044] Step 30: Render each target object to be displayed according to preset attributes to obtain at least one first texture corresponding to each target object to be displayed.

[0045] In some optional embodiments of the present disclosure, the preset attribute includes at least one of a position, an angle, a size, and a scaling in a display area of ​​the terminal device.

[0046] In some optional embodiments of the present disclosure, the display area of ​​the terminal device is the area for displaying the picture to be displayed. When the picture to be displayed is displayed, the picture to be displayed fills the display area, so that the user can view the content of the picture to be displayed in the display area.

[0047] In some optional embodiments of the present disclosure, the position in the display area of ​​the terminal device included in the preset attributes indicates the position of the target object to be displayed when it is displayed in the display area, and also indicates the position of the target object to be displayed in the screen to be displayed. Similarly, the angle indicates the rotation angle of the target object to be displayed in the display area around at least one of the yaw angle, pitch angle, and roll angle of the virtual camera, the size indicates the size of the target object to be displayed in the display area, and the zoom indicates the zoom factor of the target object to be displayed when it is displayed in the display area. The preset attributes can be pre-set and stored. The preset attributes can also change according to the user's adjustments during the application process. For example, the user adjusts at least one of the position, angle, size, and zoom of the target object to be displayed in the display area.

[0048] In some optional embodiments of the present disclosure, the terminal device may be a device equipped with a camera, such as a head-mounted display device, a mobile phone, a tablet, etc.

[0049] Step 40: Based on the first posture of the terminal device and the attribute information corresponding to the other objects to be displayed except the target object to be displayed, render the other objects to be displayed to obtain at least one second texture corresponding to the other objects to be displayed.

[0050] In some optional embodiments of the present disclosure, the attribute information includes the position, angle, and scale of other objects to be displayed in the reference coordinate system.

[0051] In some optional embodiments of the present disclosure, the reference coordinate system is a relatively stable coordinate system, such as a world coordinate system, or a three-dimensional space coordinate system rigidly connected to the world coordinate system set based on application requirements. The attribute information may include the position, angle and scale of other objects to be displayed. Among them, the position can be expressed as the coordinates of other objects to be displayed in the reference coordinate system, the angle can be expressed as the posture or orientation of other objects to be displayed in the reference coordinate system, and the scale can represent the zoom factor of other objects to be displayed. The attribute information can be pre-set and stored for each other object to be displayed. The attribute information may also change according to the user's adjustment during the application process. For example, the user adjusts at least one of the position, angle, and scale of other objects to be displayed.

[0052] In some optional embodiments of the present disclosure, the first pose may include at least one of a position and an attitude. The first pose may be the real-time pose of the terminal device obtained when rendering at least one second texture, or the estimated pose of the terminal device at the next display moment, and the specific setting can be based on actual needs.

[0053] In some optional embodiments of the present disclosure, the terminal device may be configured with at least one of an IMU (Inertial Measurement Unit) and other sensors that can be used to measure the speed, acceleration, angle, angular velocity, etc. of the terminal device. The first posture can be obtained based on the data collected by the relevant sensors on the terminal device. For example, it can be based on the IMU and the camera, combined with the IMU data and the camera image, and at least one of the real-time positioning and posture estimation of the posture can be achieved through VSLAM (Visual Simultaneous Localization and Mapping). For the estimated posture of the terminal device, the specific posture estimation method can be set according to actual needs. For example, a preset posture estimation algorithm can be used for estimation. The preset posture estimation algorithm may include, for example, any filtering algorithm, optimization algorithm, etc. Among them, the filtering algorithm may be, for example, a Euro filter algorithm, a Kalman filter algorithm, etc. The optimization algorithm may include a least squares optimization algorithm and other possible algorithms.

[0054] In some optional embodiments of the present disclosure, the other objects to be displayed may include all objects to be displayed except the target object to be displayed, and the other objects to be displayed may include one or more objects to be displayed. For example, the other objects to be displayed may include objects having at least one of a fixed position and a fixed posture in a reference coordinate system. When the observation posture of the virtual camera in the reference coordinate system changes, it means that at least one of the position and posture of the other objects to be displayed in the virtual camera coordinate system has changed, thereby causing the situation of the other objects to be displayed within the observation field of view to change.

[0055] In some optional embodiments of the present disclosure, rendering other objects to be displayed based on the first posture of the terminal device and the attribute information corresponding to the other objects to be displayed respectively means: rendering the image (i.e., the second map) of the other objects to be displayed that should be seen in the first posture according to the relative posture relationship of the virtual camera observation posture in the first posture with respect to the other objects to be displayed. At least one second map corresponding to the other objects to be displayed can be obtained according to actual needs. For example, one second map can be generated for multiple other objects to be displayed, or multiple second maps can be generated.

[0056] The virtual camera can be fixedly connected to the terminal device, so the posture of the terminal device can also reflect the posture of the virtual camera.

[0057] There is no restriction on the execution order of the above steps 30 and 40, and they can be executed sequentially or in parallel.

[0058] Step 50: Determine a picture to be displayed based on at least one first map, at least one second map, and a second posture of the terminal device.

[0059] In some optional embodiments of the present disclosure, the second posture is obtained later than the first posture.

[0060] In some optional embodiments of the present disclosure, the time corresponding to the second posture is not earlier than the time corresponding to the first posture.

[0061] In some optional embodiments of the present disclosure, the second posture can be the latest posture of the terminal device, or it can be the estimated posture of the terminal device at the next display moment. For example, after completing the rendering of other objects to be displayed and obtaining at least one second map, it is necessary to further determine the image to be displayed. At this time (which can be called the current moment), the real-time posture of the terminal device at the current moment can be obtained as the second posture, or the posture of the terminal device at the next display moment can be estimated at the current moment as the second posture, without specific limitation.

[0062] In some optional embodiments of the present disclosure, the first posture is the real-time posture of the terminal device obtained when at least one second map is about to be rendered. Correspondingly, the second posture is the real-time posture of the terminal device obtained when the picture to be displayed needs to be further determined after obtaining at least one second map.

[0063] In some optional embodiments of the present disclosure, the first pose is the real-time pose of the terminal device obtained when at least one second map is about to be rendered, and the second pose is the estimated pose of the terminal device at the next display moment.

[0064] In some optional embodiments of the present disclosure, the first pose is the first estimated pose of the terminal device at the next display moment estimated at any moment before rendering at least one second map, and the second pose is the second estimated pose of the terminal device at the next display moment estimated at any moment later than the predicted moment of the first estimated pose.

[0065] In some optional embodiments of the present disclosure, if the second posture is the latest posture of the terminal device, the determined picture to be displayed is the picture to be displayed corresponding to the latest posture of the terminal device. The picture to be displayed can be displayed on the display screen of the terminal device in real time, or it can be displayed on the display screen when the display time arrives.

[0066] In some optional embodiments of the present disclosure, if the second posture is the estimated posture of the terminal device at the next display moment, the determined picture to be displayed is the picture to be displayed at the next display moment. After determining the picture to be displayed at the next display moment, the picture to be displayed can be displayed on the display screen of the terminal device when the next display moment arrives.

[0067] In some optional embodiments of the present disclosure, the principle for determining the second posture is similar to that of the first posture and will not be further described here. Since the second posture is obtained later than the first posture, the second posture will be relatively closer to the actual posture of the terminal device at the time of display, and the second posture may have some changes relative to the first posture, such as a relative change in at least one of the position and posture.

[0068] To ensure low latency for other objects to be displayed, it is necessary to perform a time warp on at least one of the second textures of the other objects to be displayed based on the change in the second pose relative to the first pose, adjusting their display position, angle, and other aspects within the displayed image. For the target object to be displayed, the rendering result of the target object within the displayed image can be determined directly based on the at least one first texture, without the need for time warping based on the second pose, to avoid jitter of the target object to be displayed.

[0069] In the related art, all objects to be displayed are rendered according to the first pose to obtain a map, and then the map is time-distorted according to the posture change of the second pose relative to the first pose to obtain the picture to be displayed. The inventors found that the target object to be displayed displayed in this way will have the problem of picture jitter.

[0070] The display method for objects to be displayed provided by the embodiments of the present disclosure renders each target object to be displayed according to its preset attributes in the display area of ​​the terminal device to obtain at least one first map, rather than rendering the target object to be displayed according to the first pose to obtain a map as in the related art. Other objects to be displayed are rendered according to the first pose to obtain at least one second map. When determining the screen to be displayed, in order to ensure low latency for other objects to be displayed, the second map can be further time-distorted based on the second pose of the terminal device, and the screen to be displayed is determined in combination with at least one first map corresponding to the target object to be displayed. This reduces the jitter of the target object to be displayed that needs to be displayed according to the viewfinder while taking into account the low latency of other objects to be displayed, thereby improving the user experience.

[0071] In some optional embodiments of the present disclosure, a correspondence between pixels of the image to be displayed and pixels of the first tile can be established based on preset attributes, so that the pixel color value of each pixel in the image to be displayed can be determined by sampling from the first tile based on this correspondence. This correspondence can be determined based on the relationship between the preset attributes and the display area of ​​the terminal device, and the relationship between the image to be displayed and the display area.

[0072] In some optional embodiments of the present disclosure, attribute information of other objects to be displayed can be combined with the second pose to determine a correspondence between pixels of the image to be displayed and pixels of the second texture. Based on this correspondence, sampling can be performed from the second texture to determine the color value of each pixel in the image to be displayed. The specific configuration can be determined based on actual needs and is not limited in this embodiment.

[0073] In some optional embodiments of the present disclosure, when determining the picture to be displayed, each target object to be displayed and other objects to be displayed can be rendered as different levels, and then the sub-images rendered at each level can be fused to obtain the picture to be displayed. It is also possible to sample each pixel of the picture to be displayed on the first map of each target object to be displayed and the second map of other objects to be displayed, collect the pixel values ​​corresponding to each pixel, and fuse them according to the levels to obtain the picture to be displayed, etc. The specific settings can be based on actual needs. The level of each target object to be displayed and the level of other objects to be displayed can be determined according to preset rules. The preset rules can be set according to actual needs. For example, the preset rules can include the positional relationship between each target object to be displayed and other objects to be displayed, and can also include the category of each target object to be displayed and other objects to be displayed, and so on.

[0074] In some optional embodiments of the present disclosure, the display screen of the terminal device can be, for example, a display screen of a head-mounted display device, a display screen of a mobile phone, a display screen of a tablet, etc., so that the user can view the content of the image to be displayed through the display screen.

[0075] The display method for objects to be displayed provided by the embodiments of the present disclosure can, for target objects to be displayed that need to be displayed following the viewing angle, be rendered according to their preset attributes in the display area of ​​the terminal device to obtain at least one first map; for other objects to be displayed, be rendered according to the first posture to obtain at least one second map, and then determine the screen to be displayed based on the first map, the second posture and the second posture of the terminal device, thereby reducing the jitter of the target objects to be displayed that need to be displayed following the viewing angle while taking into account the low latency of other objects to be displayed, thereby improving the user experience.

[0076] In some optional embodiments of the present disclosure, determining at least one target to-be-displayed object belonging to the target display mode in step 20 includes:

[0077] At least one target object to be displayed belonging to the target display mode is determined according to the types corresponding to the objects to be displayed and the preset type set.

[0078] In some optional embodiments of the present disclosure, the preset type set stores types belonging to the target display mode.

[0079] In some optional embodiments of the present disclosure, a preset type set can be set based on actual needs. For example, the preset type set may include a pop-up window type, a video window type, a mode switching interface type, and so on. The type of each to-be-displayed object is matched with the preset type set. If the type of a to-be-displayed object is in the preset type set, the to-be-displayed object is determined to be a target to-be-displayed object belonging to the target display mode.

[0080] In some optional embodiments of the present disclosure, the types in the preset type set can be adjusted according to the user's instructions, and the adjustment can include at least one of adding, deleting, and modifying. Then step 20 determines the target object to be displayed according to the adjusted preset type set.

[0081] The display method for objects to be displayed provided by the embodiment of the present disclosure sets a preset type set to store the types belonging to the target display mode, so that during the rendering process, the target objects to be displayed belonging to the target display mode can be easily determined, thereby improving processing efficiency.

[0082] In some optional embodiments of the present disclosure, determining at least one target to-be-displayed object belonging to the target display mode in step 20 includes:

[0083] In response to any to-be-displayed object carrying a target display mode identifier, it is determined that the to-be-displayed object belongs to the target display mode.

[0084] In some optional embodiments of the present disclosure, a target display mode identifier can be set in advance for the objects to be displayed that belong to the target display mode, so that the objects to be displayed that belong to the target display mode carry the target display mode identifier. During the rendering process of the picture to be displayed, the target objects to be displayed that belong to the target display mode can be determined by identifying the target display mode identifier carried by each object to be displayed.

[0085] In some optional embodiments of the present disclosure, the specific representation of the target display mode identifier can be set according to actual needs, as long as the target display mode can be uniquely identified.

[0086] The display method for an object to be displayed provided by the embodiment of the present disclosure can further improve processing efficiency by identifying the target display mode identifier carried by the object to be displayed to determine the target object to be displayed belonging to the target display mode.

[0087] In some optional embodiments of the present disclosure, the target to-be-displayed object belonging to the target display mode may also be determined based on a user operation. For example, if a user chooses to display a certain to-be-displayed object in the target display mode, the to-be-displayed object may be determined as the target to-be-displayed object belonging to the target display mode in response to the user operation.

[0088] In an optional example, a user long presses an object, such as a window, with a control handle, and an option may pop up for the user to choose whether to display the object in target display mode. If the user chooses yes, the window will skip time warping during the rendering process to ensure the stability of the window.

[0089] In an optional example, the user can also pre-set an application (APP) as the target display mode. When rendering the application, the application will be rendered according to the rendering process corresponding to the target display mode to ensure the visual stability of the application.

[0090] In some optional embodiments of the present disclosure, if a user manually adds a target display mode identifier for certain windows or applications, in step 30, the original attribute information of these windows or applications will be shielded, and these windows or applications will be rendered using preset attributes to obtain a first map.

[0091] In some optional embodiments of the present disclosure, objects to be displayed that belong to a type in a preset type set and objects to be displayed that carry a target display mode identifier among the objects to be displayed may be taken together as target objects to be displayed.

[0092] FIG3 is a schematic flow chart of a method for displaying an object to be displayed provided by another exemplary embodiment of the present disclosure.

[0093] In some optional embodiments of the present disclosure, the method of the present disclosure further includes:

[0094] Step 610: Determine the level of each first texture and the level of each second texture according to a preset rule.

[0095] In some optional embodiments of the present disclosure, the preset rules may include the positional relationship between the first image of each target object to be displayed and the second image of other objects to be displayed, and may also include the categories of each target object to be displayed and other objects to be displayed, etc. The positional relationship may include at least one of depth and occlusion. The categories may include target class and other class. The target class corresponds to the target object to be displayed, and the other class corresponds to other objects to be displayed.

[0096] In some optional embodiments of the present disclosure, the levels of each first map and each second map may be represented in any manner, such as by numbers or other symbols, and may be specifically set according to actual needs.

[0097] In an optional example of the present disclosure, the hierarchy can be represented by a layer number, such as 1, 2, 3, ..., where a larger layer number indicates a higher level in the hierarchy. The layer number of each target to-be-displayed object can be determined according to the occlusion relationship, for example, the layer of the occluded target to-be-displayed object is lower than the layer of the target to-be-displayed object that occludes it.

[0098] In some optional embodiments of the present disclosure, the layer number of the target object to be displayed can be higher than that of other objects to be displayed. For example, when switching between three-degree-of-freedom and six-degree-of-freedom modes, the switching interface is at the top to ensure that the user can clearly see the switching interface.

[0099] In some optional embodiments of the present disclosure, each first map may be set at the same level, or may be set at different levels according to relative position relationships, and the specific setting may be based on actual needs.

[0100] The display method for objects to be displayed provided by the embodiments of the present disclosure can handle the occlusion relationship between each target object to be displayed and other objects to be displayed when determining the screen to be displayed by determining the hierarchy for each first map and each second map.

[0101] In some optional embodiments of the present disclosure, determining the level of each first map and the level of each second map according to a preset rule in step 610 includes:

[0102] Each first map is configured as a preset level; and the level of each second map is determined based on the positional relationship of all second maps when the terminal device is in a target position.

[0103] In some optional embodiments of the present disclosure, the target pose includes any one of the following: a first pose, a second pose, and the position relationship includes at least one of the following: depth, occlusion.

[0104] In some optional embodiments of the present disclosure, the preset levels can be set based on actual needs. For example, each first tile can be configured as a layer with a preset number of layers, where the preset number matches the number of first tiles. For example, if there are three first tiles, the layer numbers of these three first tiles can be configured as 999, 998, and 997, respectively.

[0105] In some optional embodiments of the present disclosure, when the terminal device is in the target posture, each second map is observed through the camera or virtual camera of the terminal device, and the observable content will be affected by the positional relationship of each second map relative to the terminal device, such as the distance, angle, etc. Among them, the distance can represent the depth of other objects to be displayed, and the angle can represent the viewing angle. Different viewing angles may lead to different occlusion relationships between other objects to be displayed. Based on this principle, the level of each second map can be determined according to the positional relationship of all second maps when the terminal device is in the target posture. The depth information of the second map relative to the camera or virtual camera in the target posture can be determined based on the attribute information of other objects to be displayed corresponding to the second map and the target posture.

[0106] In actual applications, the hierarchy of each to-be-displayed object can also be adjusted based on the user's operations on the to-be-displayed object. For example, if a user drags a second to-be-displayed object that was originally obscured by a first to-be-displayed object until it obscures the first to-be-displayed object, the hierarchy of the first to-be-displayed object and the second to-be-displayed object can be adjusted, and the to-be-displayed screen can be determined based on the adjusted hierarchy, so that the to-be-displayed screen is displayed in a timely manner in response to the user's operations.

[0107] When determining the layers for other objects to be displayed, the layers of non-occluded second maps can be randomly assigned. For example, if there are two second maps A and B, and the terminal device is in the target posture and A and B do not occlude each other, the depth relationship between A and B can be ignored, and the layers of A and B can be randomly assigned to 1 and 2, respectively, without affecting the final display effect on the screen to be displayed.

[0108] The display method for objects to be displayed provided by the embodiments of the present disclosure can configure each first map as a preset level, and determine the level of each second map based on the positional relationship of all second maps when the terminal device is in a target position, so as to facilitate subsequent level fusion and improve processing efficiency.

[0109] FIG4 is a flow chart of step 50 provided by an exemplary embodiment of the present disclosure.

[0110] In some optional embodiments of the present disclosure, determining the image to be displayed based on at least one first map, at least one second map, and the second posture of the terminal device in step 50 includes:

[0111] Step 510: Determine rendering results corresponding to each second texture based on at least one second texture and a second posture of the terminal device.

[0112] In some optional embodiments of the present disclosure, for each second texture, a correspondence between each pixel of the to-be-displayed image and the pixels of the second texture can be determined based on the second pose and the first pose. Based on this, a rendering result corresponding to the second texture can be obtained. For details, please refer to the above content and will not be repeated here.

[0113] Step 520 : Determine the image to be displayed based on the first textures, the levels of the first textures, the rendering results, and the levels of the second textures.

[0114] In some optional embodiments of the present disclosure, the determination of the screen to be displayed can be implemented in any feasible manner. For example, sub-images of each level are superimposed layer by layer (for the target object to be displayed, the sub-image is the first map; for other objects to be displayed, the sub-image is the rendering result), and the screen to be displayed is cropped to obtain the screen to be displayed. For another example, sub-images can be superimposed and cropped according to a certain number of levels to determine the screen to be displayed. All levels can also be superimposed and cropped together to determine the screen to be displayed. The specific settings can be based on actual needs.

[0115] The display method for the object to be displayed provided by the embodiment of the present disclosure renders the second map in combination with the second posture to obtain the rendering results corresponding to each second map, and then fuses the sub-images of each level to obtain the picture to be displayed, thereby achieving effective determination of the picture to be displayed and ensuring the stability of the target object to be displayed in the picture to be displayed.

[0116] In some optional embodiments of the present disclosure, determining the rendering results corresponding to the second textures based on the at least one second texture and the second posture of the terminal device in step 510 includes:

[0117] For any second map, based on the second posture, the sampling coordinates of each pixel of the to-be-displayed image in the second map are determined; based on the sampling coordinates of each pixel in the second map, the rendering result corresponding to the second map is determined.

[0118] In some optional embodiments of the present disclosure, the sampling coordinates of each pixel of the image to be displayed in the second map of the other object to be displayed can be determined based on the conversion relationship between the pixel coordinates of the image to be displayed and the pixel coordinates of the second map. The conversion relationship can be determined by the position change of the second pose relative to the first pose.

[0119] The display method for an object to be displayed provided by an embodiment of the present disclosure determines the sampling coordinates of each pixel of the image to be displayed in the second map based on the second posture. Based on the sampling coordinates of each pixel in the second map, when the image to be displayed is subsequently determined, the pixel value corresponding to each pixel of the image to be displayed after the second map is time-distorted can be determined, thereby providing an accurate rendering result for determining the image to be displayed.

[0120] In some optional embodiments of the present disclosure, since the first map is obtained by rendering based on preset attributes of the target object to be displayed in the display area of ​​the terminal device, that is, the first map has a corresponding correspondence with each pixel of the picture to be displayed, the sampling coordinates of each pixel of the picture to be displayed in the first map can be directly determined based on the first map.

[0121] FIG5 is a flowchart of step 520 provided by an exemplary embodiment of the present disclosure.

[0122] In some optional embodiments of the present disclosure, determining the image to be displayed based on each first texture, the level of each first texture, each rendering result, and the level of each second texture in step 520 includes:

[0123] Step 5210: Determine the layer with the greatest depth from the layers whose processing status is unprocessed as the current layer; wherein the initial processing status of all layers is unprocessed.

[0124] In some optional embodiments of the present disclosure, the processing status of all levels can be initialized to unprocessed. The level with the greatest depth is the level that may be blocked by other levels. Therefore, starting from the level with the greatest depth, the level with the greatest depth is used as the current level.

[0125] Step 5220, based on the sampling coordinates of each pixel of the image to be displayed, fuse the sub-image of the current level with the previous rendering result to obtain the current rendering result; wherein, the previous rendering result is initially empty; the sub-image includes the following: a first map, a rendering result.

[0126] In some optional embodiments of the present disclosure, the previous rendering result refers to the rendering result obtained by fusion in the previous round of processing. Fusion of the sub-image of the current level with the previous rendering result can be, on the basis of the previous rendering result, fusing the color value of each pixel of the sub-image of the current level with the color value of each pixel of the previous rendering result. The color value may include the values ​​and transparency of the three color channels R (RED), G (GREEN), and B (BLUE). For the fusion of color values, the color value of the sub-image of the current level can be masked with corresponding transparency for the color value of the previous rendering result according to the transparency. For example, when the transparency of the color value of a pixel at the current level is 1, then for this pixel, the fused result is the color value of the current level, based on which the current rendering result can be obtained. The transparency can be set to 1 by default, or it can be a value between 0 and 1, and can be set and adjusted as needed.

[0127] In some optional embodiments of the present disclosure, if the current level is the level corresponding to the first map, the sub-image of the current level is the first map; if the current level is the level corresponding to the second map, the sub-image of the current level is the rendering result corresponding to the second map.

[0128] In some optional embodiments of the present disclosure, the sub-image may be a cropped result according to the image to be displayed, or an uncropped result. The uncropped result may be cropped during fusion so that the current rendering result after fusion is a rendering result adapted to the image to be displayed.

[0129] Step 5230: Update the processing status of the current level to processed, and use the current rendering result to update the previous rendering result.

[0130] In some optional embodiments of the present disclosure, after obtaining the current rendering result, in order to avoid repeated processing, the processing status of the current level is updated to processed, and the current rendering result is used to update the previous rendering result.

[0131] In some optional embodiments of the present disclosure, the previous rendering result may be stored in a rendering buffer. When the current rendering result is used to update the previous rendering result, the current rendering result may be used to replace the previous rendering result in the rendering buffer.

[0132] Step 5240: Determine whether the processing status of all levels is processed.

[0133] In response to at least one level in all levels still having a processing status of unprocessed, step 5210 is repeated: determining the level with the greatest depth as the current level from the levels with a processing status of unprocessed.

[0134] For the specific operation of this step, please refer to the above content and will not be repeated here.

[0135] In response to the processing status of all levels being processed, step 5250 is executed to use the previous rendering result as the picture to be displayed.

[0136] In some optional embodiments of the present disclosure, when the processing status of all levels is processed, it means that the fusion of sub-images of all levels is completed, and the final previous rendering result is used as the picture to be displayed, so that when the picture to be displayed needs to be displayed, the picture to be displayed can be displayed on the display screen of the terminal device.

[0137] The display method for the object to be displayed provided by the embodiment of the present disclosure realizes the determination of the image to be displayed by fusing the images layer by layer in hierarchical order.

[0138] In some optional embodiments of the present disclosure, determining the image to be displayed based on each first texture, the level of each first texture, each rendering result, and the level of each second texture in step 520 includes:

[0139] From the layers whose processing status is unprocessed, determine the layers with a preset number of the largest depths as the current target layers; wherein the initial processing status of all layers is unprocessed; based on the sampling coordinates of each pixel of the picture to be displayed, fuse the sub-images of each current target layer with the previous rendering result in the order of the layers to obtain the current rendering result; wherein the previous rendering result is initially empty; the sub-image includes the following: a first map, a rendering result; update the processing status of each current target layer to processed, and use the current rendering result to update the previous rendering result; repeat the step of determining the layers with a preset number of the largest depths as the current target layer from the layers whose processing status is unprocessed; in response to the processing status of all layers being processed, use the previous rendering result as the picture to be displayed.

[0140] In some optional embodiments of the present disclosure, the preset number can be set according to actual needs, for example, it can be set to 2 layers, 3 layers, and so on. For each sub-image of the current target level, the process of fusing with the previous rendering result in the order of levels can be layer-by-layer fusion or pixel-by-pixel fusion. Layer-by-layer fusion is similar to the aforementioned layer-by-layer fusion, and the current target level can be first fused in the order of levels to obtain a temporary fusion result, and then the temporary fusion result is fused with the previous rendering result to obtain the current rendering result. Pixel-by-pixel fusion means that for any pixel of the picture to be displayed, based on the sampling coordinates corresponding to the pixel in each current target level and the previous rendering result, the fused pixel value corresponding to the pixel is determined in the order of levels, which can be specifically set according to actual needs. The fusion of each pixel can be processed sequentially or in parallel, which can be specifically set according to actual needs.

[0141] The display method for the object to be displayed provided by the embodiment of the present disclosure can improve processing efficiency by performing hierarchical fusion by using a preset number of levels as the current target level to determine the picture to be displayed.

[0142] In some optional embodiments of the present disclosure, determining the image to be displayed based on each first texture, the level of each first texture, each rendering result, and the level of each second texture in step 520 includes:

[0143] Based on the sampling coordinates of each pixel of the image to be displayed, sub-images of all levels are fused in hierarchical order to obtain the image to be displayed; the sub-image includes the following: a first map, a rendering result.

[0144] In some optional embodiments of the present disclosure, corresponding pixel values ​​can be obtained from sub-images at each level based on the sampling coordinates of each pixel of the image to be displayed, and the pixel values ​​of all levels can be fused in order of the levels. During fusion, the sub-images can be cropped according to the image to be displayed so that the fusion result can adapt to the image to be displayed.

[0145] The display method for the object to be displayed provided by the embodiment of the present disclosure can fuse the sub-images of all levels in a hierarchical order based on the sampling coordinates of each pixel of the screen to be displayed. The pixel value of each pixel of the screen to be displayed can be obtained by traversing each pixel of the screen to be displayed once, thereby improving the fusion efficiency.

[0146] In some optional embodiments of the present disclosure, determining the image to be displayed based on at least one first map, at least one second map, and the second posture of the terminal device in step 50 includes:

[0147] For any pixel of the image to be displayed, the color value corresponding to the pixel is determined from each first map, and the color value corresponding to the pixel is determined in each second map based on the second posture. The color values ​​corresponding to the sampling coordinates of the pixel at each level are fused in the order of the levels to obtain the fused color value of the pixel.

[0148] In some optional embodiments of the present disclosure, after obtaining at least one first map corresponding to the target object to be displayed and at least one second map corresponding to other objects to be displayed, for any pixel of the screen to be displayed, the color value corresponding to the pixel can be directly determined from each first map, and the color value corresponding to the pixel can be determined in each second map based on the second posture. Based on this, the sampling coordinates corresponding to the pixel at each level can be obtained. The color values ​​of the sampling coordinates corresponding to the pixel at each level are fused according to the hierarchical order to obtain the color value of the pixel. Based on this, the color values ​​of all pixels of the screen to be displayed can be obtained, thereby determining the screen to be displayed. Since the step of rendering each second map based on the second posture to obtain the rendering result is omitted, and the pixel value of each pixel of the screen to be displayed can be obtained by traversing each pixel of the screen to be displayed once, the processing efficiency can be further improved.

[0149] In some optional embodiments of the present disclosure, the color value may include the values ​​of three color channels R (RED), G (GREEN), and B (BLUE) and transparency.

[0150] The above-mentioned embodiments or optional examples of the present disclosure may be implemented separately, or may be implemented in combination in any manner without conflict. The specific configuration may be based on actual needs, and the present disclosure does not limit this.

[0151] Any of the methods for displaying an object to be displayed provided in the embodiments of the present disclosure can be executed by any appropriate device with data processing capabilities, including but not limited to a terminal device and a server. Alternatively, any of the methods for displaying an object to be displayed provided in the embodiments of the present disclosure can be executed by a processor, such as by invoking corresponding instructions stored in a memory to execute any of the methods for displaying an object to be displayed mentioned in the embodiments of the present disclosure. This will not be further described below.

[0152] Exemplary devices

[0153] FIG6 is a schematic diagram of the structure of a display device for displaying an object according to an exemplary embodiment of the present disclosure. The device of this embodiment can be used to implement a corresponding embodiment of a method for displaying an object according to the present disclosure. The device shown in FIG6 includes a first processing module 710, a second processing module 720, a third processing module 730, and a fourth processing module 740.

[0154] The first processing module 710 is configured to determine at least one target object to be displayed that belongs to a target display mode.

[0155] The second processing module 720 is used to render each target object to be displayed according to preset attributes to obtain at least one first map corresponding to each target object to be displayed; wherein the preset attributes include at least one of position, angle, size, and scaling in the display area of ​​the terminal device.

[0156] The third processing module 730 is used to render other objects to be displayed based on the first posture of the terminal device and the attribute information corresponding to other objects to be displayed except the target object to be displayed, and obtain at least one second map corresponding to the other objects to be displayed; wherein the attribute information includes the position, angle, and scale of the other objects to be displayed in the reference coordinate system.

[0157] The fourth processing module 740 is used to determine the image to be displayed based on at least one first map, at least one second map, and a second posture of the terminal device; wherein the second posture is obtained later than the first posture.

[0158] FIG. 7 is a schematic structural diagram of a display device for displaying an object provided by another exemplary embodiment of the present disclosure.

[0159] In some optional embodiments of the present disclosure, the apparatus of the present disclosure further includes:

[0160] The fifth processing module 810 is configured to determine the level of each first texture and the level of each second texture according to a preset rule.

[0161] In some optional embodiments of the present disclosure, the fourth processing module 740 is specifically configured to:

[0162] Based on at least one second map and a second posture of the terminal device, a rendering result corresponding to each second map is determined; based on each first map, the level of each first map, each rendering result and the level of each second map, a picture to be displayed is determined.

[0163] In some optional embodiments of the present disclosure, the fourth processing module 740 is specifically configured to:

[0164] For any second map, based on the second posture, the sampling coordinates of each pixel of the to-be-displayed image in the second map are determined; based on the sampling coordinates of each pixel in the second map, the rendering result corresponding to the second map is determined.

[0165] In some optional embodiments of the present disclosure, the fourth processing module 740 is specifically configured to:

[0166] From the layers whose processing status is unprocessed, determine the layer with the greatest depth as the current layer; wherein, the initial processing status of all layers is unprocessed. Based on the sampling coordinates of each pixel of the screen to be displayed, fuse the sub-image of the current layer with the previous rendering result to obtain the current rendering result; wherein, the previous rendering result is initially empty; the sub-image includes the following: a first map, a rendering result. Update the processing status of the current layer to processed, and use the current rendering result to update the previous rendering result. Repeat the step of determining the layer with the greatest depth as the current layer from the layers whose processing status is unprocessed. In response to the processing status of all layers being processed, use the previous rendering result as the screen to be displayed.

[0167] In some optional embodiments of the present disclosure, the fourth processing module 740 is specifically configured to:

[0168] From the layers whose processing status is unprocessed, determine the layers with the largest preset number of depths as the current target layers; wherein, the initial processing status of all layers is unprocessed. Based on the sampling coordinates of each pixel of the picture to be displayed, fuse the sub-images of each current target layer with the previous rendering result in the order of the layers to obtain the current rendering result; wherein, the previous rendering result is initially empty; the sub-images include the following: a first map, a rendering result. Update the processing status of each current target layer to processed, and use the current rendering result to update the previous rendering result. Repeat the step of determining the layers with the largest preset number of depths as the current target layer from the layers whose processing status is unprocessed. In response to the processing status of all layers being processed, use the previous rendering result as the picture to be displayed.

[0169] In some optional embodiments of the present disclosure, the fourth processing module 740 is specifically configured to:

[0170] Based on the sampling coordinates of each pixel of the image to be displayed, sub-images of all levels are fused in hierarchical order to obtain the image to be displayed; the sub-image includes the following: a first map, a rendering result.

[0171] In some optional embodiments of the present disclosure, the fourth processing module 740 is specifically configured to:

[0172] For any pixel of the image to be displayed, the color value corresponding to the pixel is determined from each first map, and the color value corresponding to the pixel is determined in each second map based on the second posture. The color values ​​corresponding to the sampling coordinates of the pixel at each level are fused in the order of the levels to obtain the fused color value of the pixel.

[0173] In some optional embodiments of the present disclosure, the fifth processing module 810 is specifically configured to:

[0174] Arrange each first tile into a preset hierarchy. Determine the hierarchy of each second tile based on the positional relationship of all second tiles when the terminal device is in a target posture. The target posture includes any of the following: the first posture, the second posture. The positional relationship includes at least one of the following: depth, occlusion.

[0175] In some optional embodiments of the present disclosure, the first processing module 710 is specifically configured to:

[0176] At least one target object to be displayed belonging to a target display mode is determined according to the types corresponding to the respective objects to be displayed and a preset type set; wherein the preset type set stores types belonging to the target display mode.

[0177] In some optional embodiments of the present disclosure, the first processing module 710 is specifically configured to:

[0178] In response to any to-be-displayed object carrying a target display mode identifier, it is determined that the to-be-displayed object belongs to the target display mode.

[0179] It should be noted that the specific implementation of the display device for objects to be displayed in the embodiment of the present disclosure is similar to the specific implementation of the display method for objects to be displayed in the embodiment of the present disclosure. Please refer to the part of the display method for objects to be displayed for details. In order to reduce redundancy, it will not be repeated here.

[0180] Exemplary electronic devices

[0181] An embodiment of the present disclosure further provides an electronic device, including: a processor, and a memory for storing instructions executable by the processor.

[0182] The processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the display method for the object to be displayed described in any of the above embodiments of the present disclosure.

[0183] Exemplary head-mounted display device

[0184] An embodiment of the present disclosure further provides a head-mounted display device, comprising: a processor and a memory for storing instructions executable by the processor.

[0185] The processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the display method for the object to be displayed described in any of the above embodiments of the present disclosure.

[0186] FIG8 is a schematic diagram of the structure of an application embodiment of the electronic device disclosed herein. The structure of the head-mounted display device can refer to the structure of the electronic device. In this embodiment, the electronic device includes one or more processors 100 and a memory 200.

[0187] The processor 100 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0188] The memory 200 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 100 may execute the program instructions to implement the methods of the various embodiments of the present disclosure described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.

[0189] In one example, the electronic device may further include an input device 300 and an output device 400 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0190] For example, the input device 300 may be the aforementioned microphone or microphone array, configured to capture input signals from a sound source.

[0191] In addition, the input device 300 may also include, for example, a keyboard, a mouse, and the like.

[0192] The output device 400 can output various information to the outside, including determined distance information, direction information, etc. The output device 400 can include, for example, a display, a speaker, a printer, a communication network and its connected remote output device, etc.

[0193] Of course, for simplicity, FIG8 only shows some of the components of the electronic device related to the present disclosure, omitting components such as buses, input / output interfaces, etc. In addition, the electronic device may further include any other appropriate components depending on the specific application.

[0194] Exemplary computer program products and computer-readable storage media

[0195] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to perform the steps of the method according to various embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section of this specification.

[0196] The computer program product may be written in any combination of one or more programming languages ​​to implement the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, and conventional procedural programming languages ​​such as C or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0197] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.

[0198] The computer-readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can, for example, include but is not limited to a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0199] The above description has been provided for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.

Claims

1. A method for displaying an object to be displayed, comprising: Determining at least one target to-be-displayed object belonging to a target display mode; Rendering each of the target objects to be displayed according to preset attributes to obtain at least one first texture corresponding to each of the target objects to be displayed; wherein the preset attributes include at least one of a position, an angle, a size, and a scaling in a display area of ​​a terminal device; Based on the first posture of the terminal device and the attribute information corresponding to the other objects to be displayed except the target object to be displayed, the other objects to be displayed are rendered to obtain at least one second map corresponding to the other objects to be displayed; wherein the attribute information includes the position, angle, and scale of the other objects to be displayed in the reference coordinate system; Based on the at least one first map, the at least one second map, and the second posture of the terminal device, a picture to be displayed is determined; wherein the second posture is obtained later than the first posture.

2. The method according to claim 1, wherein: The determining the picture to be displayed based on the at least one first map, the at least one second map, and the second posture of the terminal device includes: Based on a change in the second posture relative to the first posture, time-warping the at least one second map to obtain a rendering result; A picture to be displayed is determined based on the at least one first map and the rendering result.

3. The method according to claim 1, further comprising: Determine the level of each of the first maps and the level of each of the second maps according to a preset rule; Wherein, determining the picture to be displayed based on the at least one first map, the at least one second map, and the second posture of the terminal device includes: Based on the at least one second map and the second posture of the terminal device, determining rendering results corresponding to each of the second maps; The picture to be displayed is determined based on each of the first maps, the level of each of the first maps, each of the rendering results, and the level of each of the second maps.

4. The method according to claim 2 or 3, wherein: The target object to be displayed belonging to the target display mode has a fixed relative posture relationship or a relative posture relationship with partially locked degrees of freedom with the virtual camera observation posture, The other objects to be displayed include objects having at least one of a fixed position and a fixed posture in the reference coordinate system, The virtual camera maintains a consistent posture relationship with the terminal device to which it belongs, and the observation posture of the virtual camera in the reference coordinate system can be changed.

5. The method according to claim 3, wherein: The determining, based on the at least one second map and the second posture of the terminal device, rendering results corresponding to each of the second maps respectively includes: For any second map, based on the second posture, determine the sampling coordinates of each pixel of the picture to be displayed in the second map; Based on the sampling coordinates of each pixel in the second map, a rendering result corresponding to the second map is determined.

6. The method according to claim 3, wherein: The determining the picture to be displayed based on each of the first maps, the level of each of the first maps, each of the rendering results and the level of each of the second maps includes: From the layers whose processing status is unprocessed, determine the layer with the largest depth as the current layer; wherein the initial processing status of all the layers is unprocessed; Based on the sampling coordinates of each pixel of the picture to be displayed, the sub-image of the current level is merged with the previous rendering result to obtain the current rendering result; wherein the previous rendering result is initially empty; the sub-image includes the following: a first map, a rendering result; Update the processing status of the current layer to processed, and use the current rendering result to update the previous rendering result; Repeat the step of determining the layer with the largest depth from the layers in the unprocessed state as the current layer; In response to the processing status of all levels being processed, the previous rendering result is used as the picture to be displayed.

7. The method according to claim 3, wherein: The determining the picture to be displayed based on each of the first maps, the level of each of the first maps, each of the rendering results and the level of each of the second maps includes: From the layers whose processing status is unprocessed, determine the layers with the largest preset number of depths as the current target layers; wherein the initial processing status of all the layers is unprocessed; Based on the sampling coordinates of each pixel of the picture to be displayed, the sub-images of each current target level are merged with the previous rendering result in the order of levels to obtain the current rendering result; wherein the previous rendering result is initially empty; the sub-image includes the following: a first map, a rendering result; Update the processing status of each current target layer to processed, and use the current rendering result to update the previous rendering result; Repeat the step of determining a preset number of levels with the largest depths from the levels in the unprocessed state as the current target levels; In response to the processing status of all levels being processed, the previous rendering result is used as the picture to be displayed.

8. The method according to claim 3, wherein: The determining the picture to be displayed based on each of the first maps, the level of each of the first maps, each of the rendering results and the level of each of the second maps includes: Based on the sampling coordinates of each pixel of the picture to be displayed, sub-images of all levels are merged in a hierarchical order to obtain the picture to be displayed; the sub-image includes the following: a first map, a rendering result.

9. The method according to any one of claims 1 to 8, further comprising: Determine the level of each of the first maps and the level of each of the second maps according to a preset rule; Wherein, determining the picture to be displayed based on the at least one first map, the at least one second map, and the second posture of the terminal device includes: For any pixel of the image to be displayed, the color value corresponding to the pixel is determined from each of the first maps, and the color value corresponding to the pixel is determined in each of the second maps based on the second posture, and the color values ​​corresponding to the sampling coordinates of the pixel at each level are fused in the order of the levels to obtain the fused color value of the pixel.

10. The method according to any one of claims 1 to 8, further comprising: Determine the level of each of the first maps and the level of each of the second maps according to a preset rule; The step of determining the level of each of the first maps and the level of each of the second maps according to a preset rule includes: configuring each of the first maps as a preset level; Based on the positional relationship of all the second maps when the terminal device is in a target posture, the level of each second map is determined; wherein the target posture includes any one of the following items: the first posture, the second posture; the positional relationship includes at least one of the following items: depth, occlusion.

11. The method according to any one of claims 1 to 10, wherein: The determining of at least one target to-be-displayed object belonging to the target display mode includes: At least one target object to be displayed belonging to the target display mode is determined according to the types corresponding to the objects to be displayed and the preset type set; wherein the preset type set stores the types belonging to the target display mode.

12. The method according to any one of claims 1 to 10, wherein: The determining of at least one target to-be-displayed object belonging to the target display mode includes: In response to any to-be-displayed object carrying a target display mode identifier, it is determined that the to-be-displayed object belongs to the target display mode.

13. The method according to any one of claims 1 to 10, wherein: The target display mode includes one of the following modes: a head-following display mode, a perspective-following display mode, and a field-following display mode.

14. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the display method for an object to be displayed according to any one of claims 1 to 13.

15. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the display method for the object to be displayed as described in any one of claims 1 to 13 above.

Citation Information

Patent Citations

  • Virtual reality system image processing method and device and storage medium

    CN109727305A

  • Image rendering control method and device and server

    CN111627116A

  • Method and device for rendering image, electronic equipment and storage medium

    CN115100342A

  • Image rendering method and apparatus, image processing device, and storage medium

    US20210027541A1

Cited By

  • Structural drawing display method and device, storage medium and electronic device

    CN119047014A