WO2023207174A1 - Display method and apparatus, display device, head-mounted device, and storage medium - Google Patents
Display method and apparatus, display device, head-mounted device, and storage medium Download PDFInfo
- Publication number
- WO2023207174A1 WO2023207174A1 PCT/CN2022/141954 CN2022141954W WO2023207174A1 WO 2023207174 A1 WO2023207174 A1 WO 2023207174A1 CN 2022141954 W CN2022141954 W CN 2022141954W WO 2023207174 A1 WO2023207174 A1 WO 2023207174A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target
- virtual
- virtual object
- display
- scene
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/10—Geometric effects
- G06T15/20—Perspective computation
- G06T15/205—Image-based rendering
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
Definitions
- Embodiments of the present application relate to the field of virtual scene technology, and in particular to a display method, device, display device, head-mounted device and storage medium.
- Embodiments of the present application provide a display method, device, display device, head-mounted device, and storage medium.
- embodiments of the present application provide a display method, including:
- Image rendering is performed based on real scenes and virtual scenes to display the target form corresponding to the virtual object.
- embodiments of the present application provide a display device configured to perform the steps in the method described in the first aspect.
- embodiments of the present application provide a display device configured to be worn by a user, including the display device described in the second aspect.
- embodiments of the present application provide a head-mounted device, including a processor, a memory, a display, and one or more programs.
- the one or more programs are stored in the memory and configured to be executed by the processor.
- the program includes instructions configured to perform the steps in the method described in the first aspect above.
- embodiments of the present application provide a computer-readable storage medium configured to store a computer program.
- the computer program is executed by a processor to implement the method described in the first aspect. Some or all of the steps described in .
- inventions of the present application provide a computer program product.
- the computer program product includes computer instructions.
- the computer instructions are stored in a computer-readable storage medium.
- the processor of the computer device reads the instructions from the computer-readable storage medium.
- the computer instruction the processor executes the computer instruction, so that the computer device performs the method described in the first aspect.
- the target object and the virtual object determine the target form corresponding to the virtual object to be displayed in the virtual scene, perform image rendering according to the real scene and the virtual scene, and display the target form corresponding to the virtual object; in this way, the virtual object
- the corresponding target form can change following the change of the target object, which enriches the diversity of target forms corresponding to the virtual object, thereby improving the display effect of the virtual object in the real scene.
- Figure 1 is a schematic architectural diagram of an intelligent interactive system with augmented reality display function provided by an embodiment of the present application
- FIG. 2 is a flowchart 1 of the display method provided by the embodiment of the present application.
- Figure 3 is a schematic flowchart of evoking a virtual scene application provided by an embodiment of the present application
- Figure 4 is a schematic diagram 1 of the form of a weather application provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram 2 of the weather application provided by the embodiment of the present application.
- FIG. 6 is a schematic diagram three of the weather application provided by the embodiment of the present application.
- Figure 7 is a schematic diagram 1 of the intersection relationship between rays and target objects provided by the embodiment of the present application.
- Figure 8 is a schematic diagram 2 of the intersection relationship between rays and target objects provided by the embodiment of the present application.
- Figure 9 is a flow chart 2 of the display method provided by the embodiment of the present application.
- Figure 10 is a schematic diagram of the weather application provided by the embodiment of the present application switching from the first position to the second position;
- FIG 11 is a flowchart three of the display method provided by the embodiment of the present application.
- Figure 12 is a structural block diagram of a display device provided by an embodiment of the present application.
- Figure 13 is a structural block diagram of a display device provided by an embodiment of the present application.
- Figure 14 is a structural block diagram of an electronic device used to implement the display method according to the embodiment of the present application.
- first and second are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, features defined as “first” and “second” may explicitly or implicitly include one or more of the described features. In the description of this application, “plurality” means two or more than two, unless otherwise expressly and specifically limited.
- FIG. 1 is a schematic architectural diagram of an intelligent interaction system 100 with an augmented reality display function according to an embodiment of the present application.
- the intelligent interaction system 100 includes an electronic device 101 .
- the electronic device 101 can be installed with virtual scene applications such as augmented reality (Augmented Reality, AR) or mixed reality (Mixed Reality, MR) applications, and can run the AR or MR application based on the user's operation.
- the user's operation can include electronic control.
- the control operations of the virtual scene application on the device 101 such as click, touch, slide, shake, voice control and other operations.
- the user's operations may also include control operations on a controller that can be paired with the electronic device 101 to use the controller such as a handle.
- the control of the virtual scene application on the electronic device 101 is completed.
- the electronic device 101 can collect video images of any objects in the environment through local cameras and/or sensors, and display virtual objects (also called virtual objects) on the display component according to the collected video images.
- the virtual object may be a virtual object in an AR or MR scene (that is, an object in the virtual environment).
- the electronic device 101 can independently complete the above interactive operations and realize the display of virtual objects.
- the electronic device 101 can also display virtual objects by interacting with the terminal device 102 .
- the terminal device 102 may serve as a platform that provides content and information support for AR or MR applications of the electronic device 101 .
- the virtual scene application in the electronic device 101 may be an application built into the electronic device 101 itself, or may be an application provided by a third-party service provider installed by the user. There is no limit to this.
- the electronic device 101 may be various types of devices configured with cameras and display components, including but not limited to electronic devices that provide voice and/or other data transmission interactions for users, such as electronic devices.
- the device 101 can be a mobile phone and other handheld devices with wireless connection functions, tablet computers, laptops, PDAs, video recorders and other terminal devices; the electronic device 101 can also be a wearable device used for virtual scene interaction, such as a smart watch, Smart glasses and other AR devices or MR interactive devices, etc.
- the embodiment of the present application does not limit the specific form of the electronic device 101.
- the intelligent interaction system 100 may also include a server 103.
- the server 103 may serve as a platform that provides content and information support for AR or MR applications of the electronic device 101.
- the electronic device 101 and the server 103 can communicate.
- the electronic device 101 can communicate with the server 103 through communication methods such as wireless LAN, Bluetooth or mobile network.
- the server 103 may be one or more physical servers (for example, one server is exemplarily shown in Figure 1), a computer cluster, or cloud computing.
- the virtual machine of the scene is not limited in the embodiment of this application.
- FIG. 2 is a schematic flowchart of the display method according to the embodiment of the present application.
- the display method can be applied to a display device.
- the display device can be deployed in the intelligent interaction system 100 of Figure 1 .
- the method can also be implemented by the processor calling computer-readable instructions stored in the memory.
- the display method can be applied to the electronic device 101 in the intelligent interaction system shown in Figure 1 , where the electronic device 101 can be a wearable device used for virtual scene interaction, such as a smart watch, Smart glasses and other AR devices or MR interactive devices can also be terminal devices installed with virtual scene applications such as AR or MR applications, such as mobile phones and other handheld devices with wireless connection functions, tablets, laptops, and handheld computers. , video recorder, etc.
- the display method includes:
- S203 Perform image rendering based on the real scene and the virtual scene to display the target form corresponding to the virtual object.
- the target object is an object that preloads a virtual object.
- Target objects include: target space or target plane.
- the target space is a space with certain three-dimensional morphological attributes, such as inside a house, outside a house, in the air, etc.
- the target plane is a plane with certain two-dimensional morphological attributes, such as a desktop, wall, floor, ceiling, etc.
- the morphological correspondence relationship at least includes the following relationships:
- the form of the virtual object is adapted to the form of the target object, where the same virtual object can have different forms under different target objects.
- different virtual objects can have the same shape under the same target object.
- the form of virtual object a under target object A is a two-dimensional form
- the form of virtual object b under target object A is also a two-dimensional form.
- Different virtual objects can also have different shapes under the same target object.
- the form of virtual object a under target object A is a two-dimensional form
- the form of virtual object b under target object A is a three-dimensional form.
- the form includes, but is not limited to, two-dimensional form (planar form), three-dimensional form (three-dimensional form), etc.
- adaptation can also be understood as matching, and specifically it can be understood as: the combination of virtual and real forms conforms to visual perception, or object cognition, or aesthetic standards, or desired effects.
- the form of target object 1 is recorded as form 1, the form of target object 2 is recorded as form 2, and the form of target object 3 is recorded as form 3;
- the form of the virtual object relative to target object 1 is form 1'
- the form of the virtual object relative to target object 2 is form 2'
- the form of the virtual object relative to target object 3 is form 3';
- form 1' is adapted or matched with form 1
- form 2' is consistent with form 2.
- the form 3' is adapted or matched with the form 3, that is to say, virtual objects of different forms are displayed on different target objects.
- the form of virtual object 1 should be form 1'; when virtual object 2 is displayed on target object 1, the form of virtual object 2 should also be form 1'.
- different virtual objects appear in the same form on the same target object.
- the form of virtual object 1 should be form 1'; when virtual object 1 is displayed on target object 2, the form of virtual object 1 should be form 2'.
- the same virtual object appears in different forms on different target objects, that is, the same virtual object has different target forms for different target objects.
- the virtual scene includes but is not limited to any one of AR scene and MR scene.
- an AR scene is a scene where virtual reality and real scenes can be overlaid and interacted with.
- MR scenes are new visual environments generated by merging real scenes and virtual scenes, and set up a comprehensive scene with an interactive feedback information loop between real scenes, virtual scenes and users.
- the target form corresponding to the virtual object is determined based on the form correspondence between the target object and the virtual object to be displayed in the virtual scene, including: if the virtual object is to be displayed at the first position of the first target object , then it is confirmed that the virtual object to be displayed is the first target form; if the virtual object is to be displayed at the first position of the second target object, then it is confirmed that the virtual object to be displayed is the second target form; wherein, the first target form and the third target form The two targets have different shapes.
- the first position is the position where the virtual object is displayed.
- the interaction method for determining the first position includes but is not limited to head movement interaction, gesture interaction, voice interaction, ray interaction, etc. This application does not impose mandatory limitations on the interaction methods.
- the target form corresponding to the virtual object is determined according to the form correspondence between the target object and the virtual object to be displayed in the virtual scene, including: if the attribute of the target object is a three-dimensional form, then according to the form correspondence
- the first form correspondence relationship in the method determines that the target form corresponding to the virtual object is a three-dimensional form.
- the attributes of the target object include morphological attributes.
- the morphological attributes are at least divided into two-dimensional morphology, three-dimensional morphology, etc.
- the above is only an illustrative description, and does not serve as a limitation on all possible contents included in the morphological attributes, but is not exhaustive here.
- the attributes of the target object may also include semantic attributes.
- semantic attributes are at least divided into pendant form, ornament form, etc.
- the semantic attributes include a pendant-like form
- the semantic attributes include an ornament-like form.
- the first form correspondence relationship includes: when the attribute of the target object is a three-dimensional form, the form of the virtual object should also be a three-dimensional form.
- the target form corresponding to the virtual object is determined according to the form correspondence between the target object and the virtual object to be displayed in the virtual scene, including: if the attribute of the target object is a two-dimensional form, then according to the form correspondence The second form correspondence relationship in the relationship determines that the target form corresponding to the virtual object is a two-dimensional form.
- the attributes of the target object are identified; when it is identified that the attributes of the target object are in a two-dimensional form, according to the second form correspondence in the form correspondence, the target form corresponding to the virtual object is determined to be Two-dimensional form.
- the second form correspondence relationship includes: when the attribute of the target object is a two-dimensional form, the form of the virtual object should also be a two-dimensional form.
- determining the target form corresponding to the virtual object according to the form correspondence between the target object and the virtual object to be displayed in the virtual scene includes: determining the virtual object according to the third form correspondence in the form correspondence.
- the target shape corresponding to the object is a predefined shape corresponding to the predefined shape.
- the third form correspondence includes: the virtual object of the target object takes a predefined form corresponding to the predefined shape.
- the predefined shapes corresponding to different target objects are different, and the predefined shapes corresponding to different target objects are also different.
- identifying the attributes of the target object includes: identifying the attributes of the target object based on characteristics such as location, shape, and size of the target object. In other possible implementations, identifying the attributes of the target object includes: identifying the attributes of the target object through a pre-trained model. It should be understood that the methods for identifying the attributes of the target object are not limited to the above-mentioned ones, and the embodiments of the present application do not limit how to identify the attributes of the target object.
- the target form of the virtual object is adapted to the attributes of the target object. Moreover, the target form of the virtual object can change following changes in the attributes of the target object.
- the target form corresponding to the virtual object displayed in the first position is the image rendering result of a combination of virtual and real.
- the virtual object may be a virtual application or specific content of the virtual application.
- the target object is the desktop
- the virtual object is the player application
- the target form corresponding to the player application can be a three-dimensional virtual speaker on the desktop, where the virtual speaker is a target form corresponding to the player application.
- the target object is a wall
- the virtual object is a calendar application
- the target form corresponding to the calendar application may be a two-dimensional virtual mural on the wall, where the virtual mural is a target corresponding to the calendar application. form.
- the above is only an illustrative description, and does not serve as a limitation on all possible types of target forms corresponding to the target object and the virtual object, but is not exhaustive here.
- Figure 3 shows a schematic process diagram for evoking a virtual scene application.
- a virtual ray is emitted through the controller, pointing to a target object in the real scene, and the electronic device receives
- applications that can be displayed on the target object are displayed; after the electronic device receives a selection operation for any application on the target object, the target form corresponding to the application is displayed on the target object.
- the target form is adapted to the target object.
- the target form presented on the desktop is a desktop ornament, as shown in Figure 4.
- the target shape presented on the wall is a wall pendant, as shown in Figure 5.
- the target shape presented on the ceiling is a floating cloud shape, as shown in Figure 6.
- the shape of the virtual object can take on different forms depending on the spatial properties/planar properties of the real scene, and the presentation form of the virtual object is more in line with the physical properties of the real scene.
- the technical solution of the embodiment of the present application determines the target form corresponding to the virtual object based on the form correspondence between the target object and the virtual object to be displayed in the virtual scene; performs image rendering based on the real scene and the virtual scene to display the corresponding virtual object target form.
- the target form corresponding to the virtual object can change following the change of the target object, making the state of the virtual object more consistent with the nature of the target object, enriching the diversity of the target forms corresponding to the virtual object, and thus improving the performance of the virtual object in the real world.
- the display effect in the scene makes the combination of virtual and real more flexible and diverse.
- the above display method may further include: in response to the emission operation of the ray, when the ray intersects with the target object in the real scene, confirming the first shape corresponding to the target object.
- the first position is the position on the target object where the virtual object is displayed.
- the rays may be virtual rays. It should be noted that the virtual ray is only visible to the user who wears the electronic device or controls the electronic device. That is, only the user who wears the electronic device or controls the electronic device can see the virtual ray. In some embodiments, before the emitting operation of responding to the ray, the method further includes: emitting the ray.
- this application does not limit the emission mode of rays.
- rays can be emitted through the emission button of an electronic device.
- rays can be emitted through a controller such as a handle paired with an electronic device.
- the ray is a ray with a certain length value.
- the specific length value of the ray can be set or adjusted according to the user's needs.
- the length value of the ray can be adjusted according to the user's environment.
- the intersection point is confirmed as the first position corresponding to the target object; if there is no intersection point between the ray and the target object, the distance on the ray to the target object is determined. The closest point is confirmed as the first position corresponding to the target object.
- the point on the ray that is closest to the target object can be understood as the end point of the ray.
- the specific position where the virtual object is displayed on the target object can be determined.
- the same virtual object displays the same target shape at different positions on the same target object, thereby making the display of virtual objects at different positions on the same target object more unified. .
- the above display method may also include: in response to the ray emission operation, determining The intersection relationship between the ray and the target object.
- intersection relationship can be understood as whether there is an intersection point between the ray and the target object.
- determining the intersection relationship between the ray and the target object includes: when the ray acts on the target object, determining the intersection relationship between the ray and the target object as: intersection.
- FIG. 7 shows the schematic diagram 1 of the intersection relationship between the ray and the target object.
- the virtual ray hits the target object, then there is an intersection point A between the virtual ray and the target object, that is, the virtual ray and the target space or target plane
- the intersection relationship is: intersection.
- the target object is a wall and the length of the virtual ray is 10 meters
- the electronic device emits a 10-meter beam towards the wall.
- the ray can touch the wall, that is, the virtual ray can act on the wall.
- determining the intersection relationship between the ray and the target object includes: in the case where the ray does not act on the target object, determining that the intersection relationship between the ray and the target object is: disjoint .
- FIG 8 shows the schematic diagram 2 of the intersection relationship between the ray and the target object.
- the virtual ray cannot touch the target object, so there will be no intersection point between the virtual ray and the target object, that is, the virtual ray and the target object
- the intersection relationship of space or target plane is: disjoint. For example, assuming that the target object is the sky and the length of the virtual ray is 10 meters, if the user stands outdoors and the electronic device emits a 10-meter virtual ray toward the sky, the ray cannot touch the sky, that is, the virtual ray does not reach the sky. Act on the sky.
- determining the target form corresponding to the virtual object according to the form correspondence between the target object and the virtual object to be displayed in the virtual scene includes: determining the corresponding target form of the virtual object according to the form correspondence and combined with the intersection relationship. target form.
- determining the target form corresponding to the virtual object based on the form correspondence relationship and the intersection relationship includes: when there is an intersection relationship between the ray and the target object, obtaining the intersection point of the target object and the ray.
- the intersecting surface where the intersection point is located is identified as a spatial attribute, and the intersecting surface is determined to belong to the target space; according to the fourth form correspondence relationship in the form correspondence relationship, the target form corresponding to the virtual object is determined to be the spatial form corresponding to the target space.
- spatial attributes can be understood as spatial properties or spatial geometric characteristics.
- the target form of the virtual object can feedback the form that is most suitable for the real space based on the spatial properties.
- the amount of information and presentation form of virtual objects will also change with the changes in the spatial form, which will allow applications/virtual objects/operation methods to display the combination of virtual and real in a more flexible and diverse way, along with the characteristics of the real space. Presenting a suitable appearance enhances the spatial adaptability of applications/virtual objects/operation methods.
- identifying the intersection surface where the intersection point is located as a spatial attribute includes: if the spatial position, shape, size and other geometric characteristics of the intersection surface conform to the spatial attribute characteristics, then determining that the intersection surface where the intersection point is located is a spatial attribute. In other possible implementations, identifying that the intersection surface where the intersection point is located is a spatial attribute includes: determining that the intersection surface where the intersection point is located is a spatial attribute based on the output value of a pre-trained model. It should be understood that the methods for identifying whether the intersection surface where the intersection point is located is a spatial attribute are not limited to the above-mentioned ones. The embodiments of this application do not limit how to identify whether the intersection surface where the intersection point is located is a spatial attribute.
- the fourth form correspondence is the correspondence between the target space and the virtual object.
- the fourth form correspondence may include a correspondence between the target space and the application icon.
- the fourth form of correspondence includes a correspondence between the size of the target space and the size of the application icon.
- the proportional relationship between the size of the target space and the size of the application icon is 1:x, and x is less than or equal to 1.
- the specific proportional relationship can be adjusted adaptively according to the spatial properties of the target space, such as the ratio between the size of the indoor space and the size of the application icon.
- the proportional relationship between the size of the outdoor space and the size of the application icon is different from the proportional relationship between the size of the outdoor space and the size of the application icon.
- the fourth form correspondence includes a correspondence between the display style of the target space and the display style of the application icon.
- the display style of the target space and the display style of the application icon are the same.
- the target space and the application icon both present a realistic style.
- the display style of the target space and the display style of the application icon are different styles.
- the target space presents a realistic style
- the application icon presents an abstract style.
- the fourth form of correspondence may include a correspondence between the target space and the specific content displayed by the application.
- the specific content displayed by the application is the specific information presented after opening the application.
- the fourth form of correspondence includes a correspondence between the size of the target space and the size of specific content displayed by the application.
- the size of the target space and the size of the specific content displayed by the application are proportional to 1:y, and y is less than or equal to 1.
- the specific proportional relationship can be adjusted adaptively according to the spatial properties of the target space and the nature of the specific content displayed by the application.
- the proportional relationship between the size of the indoor space and the size of the specific content displayed by the application is different from the proportional relationship between the size of the outdoor space and the size of the specific content displayed by the application.
- the nature of the specific content displayed by the application is images or text
- the size of the target space is in a certain proportion to the size of the specific content displayed by the application.
- the fourth form correspondence includes a correspondence between the display style of the target space and the display style of the specific content displayed by the application.
- the display style of the specific content displayed by the application and the display style of the target space should be the same style.
- both the target space and the application icon should be in a realistic style.
- the display style of the target space and the display style of the specific content displayed by the application are different styles.
- the target space is in a realistic style
- the specific content displayed in the application is in an abstract style.
- the target form corresponding to the virtual object is determined to be the space form corresponding to the target space, so that the virtual object corresponds
- the target shape is adapted to the corresponding spatial shape of the target space, which in turn helps to improve the matching between virtual objects and target objects in real scenes, thereby improving the display effect of combining virtual and real objects.
- determining the target form corresponding to the virtual object according to the morphological correspondence relationship and the intersection relationship includes: when there is an intersection relationship between the ray and the target object, obtaining the intersection point of the target object and the ray; identifying The intersecting surface where the intersection point is located belongs to the plane attribute, and it is determined that the intersecting surface belongs to the target plane; according to the fifth form correspondence in the form correspondence, it is determined that the target form corresponding to the virtual object is the planar form corresponding to the target plane.
- planar properties can be understood as planar properties or having planar geometric characteristics.
- the target shape of the virtual object can feed back the shape that is most suitable for the real plane based on the plane properties.
- the amount of information and presentation form of virtual objects will also change with the change of plane form, which will allow applications/virtual objects/operation methods to display the combination of virtual and real in a more flexible and diverse way, and follow the real plane. It presents a suitable appearance based on its characteristics, which enhances the plane adaptability of applications/virtual objects/operation methods.
- identifying that the intersection surface where the intersection point is located is a plane attribute includes: if the geometric characteristics such as the plane position, shape, and size of the intersection surface conform to the plane attribute characteristics, then determining that the intersection surface where the intersection point is located is a plane attribute.
- identifying that the intersection surface where the intersection point is located is a planar attribute includes: identifying that the intersection surface where the intersection point is located is a planar attribute based on the output value of a pre-trained model. It should be understood that the method of identifying whether the intersection surface where the intersection point is located is a planar attribute is not limited to the above. The embodiment of the present application does not limit how to identify whether the intersection surface where the intersection point is located is a planar attribute.
- the fifth form correspondence is the correspondence between the target plane and the virtual object.
- the fifth form correspondence may include a correspondence between the target plane and the application icon.
- the fifth form correspondence includes a correspondence between the size of the target plane and the size of the application icon.
- the proportional relationship between the size of the target plane and the size of the application icon is 1:z, and z is less than or equal to 1.
- the specific proportional relationship can be adjusted adaptively according to the flat properties of the target plane, such as between the size of the desktop and the size of the application icon.
- the proportional relationship is different from the proportional relationship between the size of the wall and the size of the application icon.
- the fifth form correspondence includes a correspondence between the display style of the target plane and the display style of the application icon.
- the display style of the target plane and the display style of the application icon are the same style.
- the target plane and the application icon are both in a realistic style.
- the display style of the target plane and the display style of the application icon are different styles.
- the target plane has a cool color style and the application icon has a warm color style.
- the fifth form correspondence may include a correspondence between the target plane and the specific content displayed by the application.
- the specific content displayed by the application is the specific information presented after opening the application.
- the fifth form of correspondence includes the correspondence between the size of the target plane and the size of the specific content displayed by the application.
- the size of the target plane and the size of the specific content displayed by the application are in a proportional relationship 1:k,k Less than or equal to 1. Specific proportional relationships can be adapted based on the planar nature of the target plane and the nature of the specific content displayed by the application.
- the proportional relationship between the size of the wall and the size of the specific content displayed in the application is different from the proportional relationship between the size of the floor and the size of the specific content displayed in the application.
- the size of the target plane is proportional to the size of the specific content displayed by the application.
- the fifth form of correspondence includes the correspondence between the display style of the target plane and the display style of the specific content displayed by the application.
- the display style of the specific content displayed by the application and the display style of the target plane should be the same.
- the specific content displayed on the target plane and application is in an abstract style.
- the display style of the target plane and the display style of the specific content displayed by the application are different styles.
- the target plane has a realistic style
- the specific content displayed by the application has an abstract style.
- the target form corresponding to the virtual object is determined to be the plane form corresponding to the target plane, so that the virtual object corresponds
- the target shape is adapted to the plane shape corresponding to the target plane, which helps to improve the matching between the virtual object and the target object in the real scene, thereby improving the display effect of combining virtual and real objects.
- determining the target form corresponding to the virtual object based on the form correspondence relationship and the intersection relationship includes: when the ray does not intersect the target object, based on the sixth form correspondence relationship in the form correspondence relationship, The target form corresponding to the virtual object is determined to be a predefined form corresponding to the predefined shape.
- the sixth form correspondence is the correspondence between the virtual object and the predefined shape.
- virtual objects include but are not limited to application icons, specific content displayed by the application, etc.
- the virtual object C corresponds to the predefined shape c
- the virtual object D corresponds to the predefined shape d.
- the predefined shapes include but are not limited to cloud shapes, rainbow shapes, building shapes, animal shapes, plant shapes, etc.
- the target shape of the virtual object is a cloud shape
- the target shape of the virtual object is an animal shape
- the target form corresponding to the virtual object is determined to be the predefined form corresponding to the predefined shape, so that the target form corresponding to the virtual object is consistent with the predefined shape.
- the defined forms are consistent, which in turn helps to improve the plasticity of virtual objects, thereby improving the display effect of combining virtual and real objects.
- the display method may further include: identifying the display parameters of the target object in the real scene; and adjusting the target form corresponding to the virtual object according to the display parameters.
- the display parameters may include at least one of a display size and a display effect of the target object.
- the display size can be understood as the fixed size used to determine the size of the object.
- the display size of the target object is the length and width of the desktop.
- the display size of the target object is the length, width, and height dimensions of the room. It should be noted that the display size of the target object here is the size of the target object displayed by the display component of the electronic device.
- the display effect can be understood as the display style.
- realistic style For example, realistic style, abstract style, cool color style, warm color style, etc.
- the display effect of the target object is the display effect of the target object displayed by the display component of the electronic device.
- adjusting the target form corresponding to the virtual object includes: adjusting at least one of the display size and display effect of the virtual object.
- adjusting the display size of the virtual object may be based on the display size of the target object (such as the target plane).
- the display size of the target object has a certain proportional relationship with the display size of the virtual object in the target form.
- the proportional relationship between the size (or size) of the virtual object and the size (or size) of the target object is 1:1.
- the proportional relationship between the size of the virtual object and the size of the target object is m:1, and m is less than 1.
- the proportional relationship can be determined based on the characteristics of the virtual object. For example, when the virtual object is a speaker, the speaker should be smaller than the target object (desktop).
- the calendar can be smaller than or equal to the target object (wall).
- adjusting the display size of the virtual object may also be based on the display size of the target object (such as the target space).
- the display size of the target object has a certain proportional relationship with the display size of the virtual object in the target form.
- the proportional relationship between the display size of the virtual object and the display size of the target object is n1:1, and n1 is less than 1.
- the proportional relationship between the display size of the virtual object and the display size of the target object is n2:1, n2 is less than 1, and n2 is greater than n1.
- the proportional relationship can be determined based on the characteristics of the virtual object. For example, when the virtual object is a cloud, the cloud should be smaller than the indoor area. For another example, when the virtual object is a building, the building can be smaller than or equal to the outdoor space.
- adjusting the display effect of the virtual object may be based on the display style of the target object.
- adjusting the display effect of the virtual object includes: adjusting the display style of the virtual object according to the display style of the target object, so that the display style of the target object is consistent with the display style of the virtual object.
- the display style of the target object is a realistic style
- the display style of the virtual object is also adjusted to a realistic style.
- adjusting the display effect of the virtual object includes: adjusting the display style of the virtual object according to the display style of the target object, so that the display style of the target object contrasts with the display style of the virtual object. For example, if the display style of the target object is a cool color style, adjust the display style of the virtual object to a warm color style.
- adjusting the target form corresponding to the virtual object according to the display parameters of the target object in the real scene can make the target form corresponding to the virtual object adapt to the display parameters corresponding to the target plane, which in turn helps to improve the relationship between the virtual object and the real scene.
- the matching degree of the target object thereby improving the display effect of combining virtual and real objects.
- performing image rendering based on the real scene and the virtual scene includes: collecting the first real scene image in the real scene; performing image rendering on the first real scene image and the virtual object to be displayed in the virtual scene to obtain the virtual object and the virtual scene.
- the first real scene image is collected through an image collector of the electronic device, such as a camera component.
- the target form of the virtual object corresponding to the first real-scene image is the spatial form.
- the virtual object is in a three-dimensional form, such as a cloud form.
- the virtual object is in a three-dimensional form, such as an ornament.
- the target form of the virtual object corresponding to the first real-scene image is a planar form.
- the target form of the virtual object corresponding to the first real-scene image is a planar form.
- the virtual object is in a planar form, such as a mural form.
- the virtual object is in a plane shape, such as a carpet shape.
- image rendering is performed on the first real scene image and the virtual object to be displayed in the virtual scene to obtain the target form corresponding to the virtual object and the first real scene image, including: based on the three-dimensional image extracted from the first real scene image. information to determine the three-dimensional information of the virtual object; create a virtual object based on the three-dimensional information of the virtual object, and obtain the target form of the virtual object corresponding to the first real scene image.
- image rendering is performed on the first real-scene image and the virtual object to be displayed in the virtual scene to obtain the target form corresponding to the virtual object and the first real-scene image, including: obtaining the initial three-dimensional information of the virtual object, creating Virtual object; adjust the size and position of the virtual object according to the three-dimensional information extracted from the first real-scene image, and obtain the target form of the virtual object corresponding to the first real-scene image.
- image rendering method is not limited to the above methods.
- An image rendering method with an image rendering processing function can be used for image rendering to obtain a virtual object in a target form corresponding to the first real scene image.
- the target form corresponding to the virtual object can be adapted to the first real scene image in the real scene, thereby helping to improve the matching degree between the virtual scene and the real scene, thereby improving the display effect of combining virtual and real scenes.
- displaying the target form corresponding to the virtual object includes: configuring to display at least one image in a display area of the display device.
- at least one image includes: a target form corresponding to the virtual object.
- the display device may be a device with a virtual and real display function.
- the display device may be a head-mounted display device, such as AR glasses, AR helmet, etc.
- the image includes: at least one of a two-dimensional image and a three-dimensional image.
- the two-dimensional image of the virtual object is displayed in the display area, and at the same time, the two-dimensional image or the three-dimensional image of the target object is also displayed.
- the three-dimensional image of the virtual object is displayed in the display area, and at the same time, the two-dimensional image or the three-dimensional image of the target object is also displayed.
- the target form corresponding to the virtual object can be displayed at the first position of the target object in the real scene, so that the target form corresponding to the virtual object can adapt to the target object in the real scene, thereby helping to improve the relationship between the virtual scene and the real scene.
- the degree of integration improves the display effect of virtual and real combination.
- the display method may further include: in response to receiving a switching instruction to move the virtual object from the first target object to the second target object, changing the target form of the virtual object from the one displayed on the first target object.
- the first target form is changed to a second target form displayed on the second target object.
- the processing steps may include:
- S901 In response to the switching instruction of moving the virtual object from the first position of the first target object to the second position of the second target object, determine the second target form corresponding to the virtual object in the virtual scene;
- S902 Display the second target form corresponding to the virtual object at the second position of the second target object.
- the above-mentioned S901 and S902 may be executed after S203.
- the switching instruction can be issued through the electronic device.
- the electronic device outputs the switching instruction after receiving the user's voice switching instruction information.
- the switching command can also be issued through a controller connected to the electronic device, such as a handle. If the handle is moved from the first direction to the second direction, the switching command is output, and the second direction is different from the first direction.
- the first target object is the wall
- the second target object is the tabletop or the ground.
- the first target object is indoors
- the second target object is outdoor.
- FIG. 10 shows a schematic diagram of the weather application switching from the first position to the second position.
- the weather application takes on a pendant form; when the weather application is moved from the wall to the desktop , on the desktop, the weather application takes the form of a decoration.
- the presentation of a virtual object or application changes as a result of the plane semantics obtained at the intersection point (such as a desktop or a wall).
- the effect of the presentation (such as size) changes by changing the size of the recognized plane.
- FIG. 10 is only an exemplary illustration and is not intended to limit the types of switching and presentation forms, but is not exhaustive here.
- the form of the virtual object can take on different forms depending on the spatial properties/planar properties of the real world.
- the presentation form of the virtual object is more in line with the real world.
- the physical properties of virtual objects not only enrich the presentation form of virtual objects, but also enrich the display diversity.
- the display method may further include: displaying a third target form of the virtual object during the movement of the virtual object from the first target object to the second target object, and the third target form is the first target form.
- the intermediate form with the second target form may include:
- S1101 Generate a third target form of the virtual object, which is an intermediate form between the first target form and the second target form;
- S1102 Display the third target form while the virtual object moves from the first position of the first target object to the second position of the second target object.
- the above-mentioned S1101 and S1102 may be executed after S901 and before S902.
- the third target form is another target form different from the first target form and the second target form.
- the third target form is a form related to the first target form or the second target form, such as a form obtained by deformation based on the first target form or the second target form.
- the third target form may also be a form that is not related to the first target form and the second target form, such as a preset form.
- generating a third target form of the virtual object includes: generating a third target form based on the first target form and the second target form. In this way, the third target form is related to both the first target form and the second target form.
- generating the third target form of the virtual object includes: deforming based on the first target form to obtain the third target form. In this way, the third target form is deformed based on the first target form, and the second target form is displayed only when it moves to the second position. In other possible implementations, generating the third target form of the virtual object includes: deforming based on the second target form to obtain the third target form. In this way, the third target form is deformed based on the second target form, and the second target form is displayed only when it moves to the second position, so that the form related to the second target form is displayed during the movement.
- generating the third target form of the virtual object includes: selecting a third target form set from a preset third target form set as the third target form of the virtual object. In this way, the preset third target form can be quickly obtained and presented.
- the virtual object takes on an intermediate form while moving from the first target object to the second target object, which further enriches the presentation form of the virtual object and also enriches the display diversity.
- FIG. 12 shows a structural block diagram of a display device.
- the display device includes: a first determination unit 1210 configured to detect a target object in a real scene; a second determination unit 1220 configured to detect a target object according to the target The form correspondence between the object and the virtual object to be displayed in the virtual scene determines the target form corresponding to the virtual object; the control unit 1230 is configured to perform image rendering according to the real scene and the virtual scene, and display the target form corresponding to the virtual object.
- the target object includes a target space or a target plane.
- the virtual scene includes any of AR scenes and MR scenes.
- the second determining unit 1220 is configured to confirm that the virtual object to be displayed is the first target form if the virtual object is to be displayed at the first position of the first target object; if the virtual object is to be displayed at the first position of the first target object, If the second target object is in the first position, it is confirmed that the virtual object to be displayed is the second target form.
- the first target form and the second target form are different.
- the second determination unit 1220 is configured to, if the attribute of the target object is a three-dimensional form, determine that the target form corresponding to the virtual object is a three-dimensional form according to the first form correspondence in the form correspondence.
- the second determination unit 1220 is configured to determine that the target form corresponding to the virtual object is a two-dimensional form according to the second form correspondence in the form correspondence if the attribute of the target object is a two-dimensional form.
- the second determining unit 1220 is configured to determine that the target form corresponding to the virtual object is a predefined form corresponding to the predefined shape according to the third form correspondence relationship in the form correspondence relationship.
- the display device may further include an emission unit 1240 (not shown in the figure) configured to emit rays.
- an emission unit 1240 (not shown in the figure) configured to emit rays.
- the display device may further include: a third determination unit 1250 (not shown in the figure) configured to, in response to the emission operation of the ray, confirm the target when the ray intersects with the target object in the real scene. The first position corresponding to the object.
- a third determination unit 1250 (not shown in the figure) configured to, in response to the emission operation of the ray, confirm the target when the ray intersects with the target object in the real scene. The first position corresponding to the object.
- the third determination unit 1250 is further configured to obtain the intersection relationship between the ray and the target object in response to the emission operation of the ray.
- the third determining unit 1250 is configured to determine that the intersection relationship between the ray and the target object is: intersection when the ray operation is configured as the target object.
- the third determination unit 1250 is configured to determine that the intersection relationship between the ray and the target object is: no intersection when the ray is not configured as the target object.
- the second determination unit 1220 is configured to: when the ray intersects the target object, obtain the intersection point of the target object and the ray; identify the intersection surface where the intersection point is located as a spatial attribute, and determine that the intersection surface belongs to Target space; according to the fourth form correspondence relationship in the form correspondence relationship, the target form corresponding to the virtual object is determined to be the three-dimensional form corresponding to the target space.
- the second determination unit 1220 is configured to: when the ray intersects the target object, obtain the intersection point of the target object and the ray; identify that the intersection surface where the intersection point is located belongs to the plane attribute, and determine the intersection surface Belongs to the target plane; according to the fifth form correspondence in the form correspondence, it is determined that the target form corresponding to the virtual object is a two-dimensional form corresponding to the target plane.
- the second determination unit 1220 is configured to: when the ray does not intersect the target object, determine that the target form corresponding to the virtual object is the same as the predefined form according to the sixth form correspondence in the form correspondence.
- the predefined shape corresponding to the shape is configured to: when the ray does not intersect the target object, determine that the target form corresponding to the virtual object is the same as the predefined form according to the sixth form correspondence in the form correspondence.
- the display device further includes: a recognition unit 1260 (not shown in the figure), configured to recognize the display parameters of the target object in the real scene; an adjustment unit 1270, configured to adjust the virtual display parameters according to the display parameters.
- the display parameters include: at least one of a display size and a display effect of the target object.
- control unit 1230 includes: a collection subunit configured to collect a first real scene image in a real scene; a rendering subunit configured to combine the first real scene image with a virtual object to be displayed in the virtual scene Image rendering is performed to obtain the target form corresponding to the virtual object and the first real scene image.
- the target form of the virtual object corresponding to the first real-scene image is the spatial form.
- the target form of the virtual object corresponding to the first real-scene image is a planar form.
- control unit 1230 includes: a configuration subunit configured to display at least one image in a display area of the display device.
- at least one image includes: a target form corresponding to the virtual object.
- control unit 1230 is further configured to, in response to a switching instruction for moving the virtual object from the first target object to the second target object, change the target form of the virtual object from the first target form displayed on the first target object.
- One target form is changed to a second target form displayed on a second target object.
- control unit 1230 is further configured to display a third target form of the virtual object during the movement of the virtual object from the first target object to the second target object, and the third target form is the first target form.
- the intermediate form with the second target form is further configured to display a third target form of the virtual object during the movement of the virtual object from the first target object to the second target object, and the third target form is the first target form.
- the intermediate form with the second target form is further configured to display a third target form of the virtual object during the movement of the virtual object from the first target object to the second target object.
- each processing module in the display device can be understood with reference to the relevant description of the foregoing display method.
- Each processing module in the display device can be implemented by implementing the present application.
- the functions described in the embodiments of this application are realized by using analog circuits, or they can also be realized by running software on electronic devices that perform the functions described in the embodiments of this application.
- the display device of the embodiment of the present application enables the displayed target form corresponding to the virtual object to change following the change of the target object, enriches the diversity of the target form corresponding to the virtual object, and thereby improves the performance of the virtual object in the real scene. display effect.
- FIG. 13 shows a structural block diagram of the display device.
- the display device includes: a first sensing unit 1310, a processing unit 1320, The display unit 1330, wherein the first sensing unit 1310 is configured to emit laser; the processing unit 1320 is configured to determine the virtual object correspondence according to the morphological correspondence between the target object and the virtual object to be displayed in the virtual scene.
- the target form; the display unit 1330 is configured to perform image rendering according to the real scene and the virtual scene, and display the target form corresponding to the virtual object.
- the target object includes a target space or a target plane.
- first sensing unit 1310 may be a laser sensor.
- the display device may include at least one of the following: a pair of glasses configured to display an augmented reality scene or a virtual reality scene; a head-mounted display configured to display an augmented reality scene or a virtual reality scene.
- the display unit 1330 is configured to display at least one virtual object on the display area.
- the type of at least one virtual object includes: application or application content in an application.
- the processing unit 1320 is configured to, if the attribute of the target object is a three-dimensional form, determine that the target form corresponding to the virtual object is a three-dimensional form according to the first form correspondence in the form correspondence.
- the processing unit 1320 is configured to, if the attribute of the target object is a two-dimensional form, determine that the target form corresponding to the virtual object is a two-dimensional form according to the second form correspondence in the form correspondence.
- the processing unit 1320 is configured to determine, according to the third form correspondence in the form correspondence, that the target form corresponding to the virtual object is a predefined form corresponding to the predefined shape.
- the first sensing unit 1310 is configured to emit rays in response to a selection operation on the at least one virtual object.
- the processing unit 1320 is further configured to, in response to the ray emission operation, confirm the first position corresponding to the target object when the ray intersects with the target object in the real scene.
- the processing unit 1320 is configured to determine the intersection point as the first position corresponding to the target object if there is an intersection point between the ray and the target object; if there is no intersection point between the ray and the target object, Then the point closest to the target object on the ray is confirmed as the first position corresponding to the target object.
- the processing unit 1320 is configured to determine that the intersection relationship between the ray and the target object is: intersection when the ray operation is configured as the target object.
- the processing unit 1320 is configured to determine that the intersection relationship between the ray and the target object is: disjoint when the ray is not configured as the target object.
- the processing unit 1320 is configured to: when the ray intersects the target object, obtain the intersection point of the target object and the ray; if it is identified that the intersection surface where the intersection point is located is a spatial attribute, determine that the intersection surface belongs to Target space; according to the fourth form correspondence in the form correspondence, determine the application or the application content in the application to be a three-dimensional form corresponding to the target space.
- the processing unit 1320 is configured to: when the ray intersects the target object, obtain the intersection point of the target object and the ray; if it is identified that the intersection surface where the intersection point is located belongs to the plane attribute, determine the intersection surface Belongs to the target plane; according to the fifth form correspondence in the form correspondence, it is determined that the application or the application content in the application is a two-dimensional form corresponding to the target plane.
- the processing unit 1320 is configured to: when the ray does not intersect the target object, determine that the application or the application content in the application is consistent with the predefined shape according to the sixth morphological correspondence in the morphological correspondence. The corresponding predefined form.
- the processing unit 1320 is configured to: identify the display parameters of the target object in the real scene; and adjust the target form corresponding to the virtual object according to the display parameters.
- the display parameters may include: at least one of a display size and a display effect of the target object.
- the display device further includes: a second sensing unit 1340 (not shown in the figure) configured to collect the first real scene image in the real scene.
- the display unit 1330 is configured to perform image rendering on the first real scene image and the application to be displayed in the virtual scene or the application content in the application, to obtain a target form corresponding to the application or the application content in the application and the first real scene image.
- the second sensing unit 1340 may be a collector, such as a camera.
- the target form corresponding to the application or the application content in the application and the first real-scene image is the spatial form.
- the target form corresponding to the application or the application content in the application and the first real-scene image is a planar form.
- the processing unit 1320 is configured to display at least one image in a display area of the display device.
- at least one image includes: a target form corresponding to the virtual object.
- the display device further includes a switching unit 1340 configured to: in response to a switching instruction to move the virtual object from a first position of the first target object to a second position of the second target object, Determine the second target form corresponding to the virtual object in the virtual scene.
- the display unit 1330 is further configured to display the second target form corresponding to the virtual object at the second position of the second target object.
- the display device may further include: a generating unit 1350 (not shown in the figure) configured to generate a third target form of the virtual object, the third target form being the first target form and the second target form. intermediate form.
- the display unit 1330 is further configured to display the third target form while the virtual object moves from the first position of the first target object to the second position of the second target object.
- the display device of the embodiment of the present application enables the displayed target form corresponding to the virtual object to change following the change of the target object, enriches the diversity of the target form corresponding to the virtual object, and thereby improves the performance of the virtual object in the real scene. display effect.
- Embodiments of the present application also provide a head-mounted device, including a processor, a memory, a display, and one or more programs.
- the one or more programs are stored in the memory and configured to be executed by the processor.
- the program includes instructions configured to perform steps in the display methods of the above-described embodiments.
- the head-mounted devices include but are not limited to smart glasses, smart helmets, etc.
- Figure 14 shows a structural block diagram of an electronic device used to implement the display method according to the embodiment of the present application. It can be implemented as the electronic device in the above embodiment.
- the electronic device in this application can include one or more of the following components: a processor 1410 and a memory 1420.
- Processor 1410 may include one or more processing cores.
- the processor 1410 uses various interfaces and lines to connect various parts of the entire electronic device, and executes electronic devices by running or executing instructions, programs, code sets or instruction sets stored in the memory 1420, and calling data stored in the memory 1420.
- the processor 1410 may adopt at least one hardware selected from Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). form to achieve.
- DSP Digital Signal Processing
- FPGA Field-Programmable Gate Array
- PDA Programmable Logic Array
- the processor 1010 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU), a modem, etc.
- CPU Central Processing Unit
- GPU Graphics Processing Unit
- NPU neural network processor
- modem etc.
- the CPU mainly handles the operating system, user interface and applications; the GPU is used to render and draw the content that needs to be displayed on the touch screen; the NPU is used to implement artificial intelligence (Artificial Intelligence, AI) functions; the modem is used to process Wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 1410 and may be implemented by a separate chip.
- the memory 1420 may include random access memory (RAM) or read-only memory (Read-Only Memory, ROM).
- the memory 1020 includes non-transitory computer-readable storage medium.
- Memory 1420 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
- the memory 1420 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions, etc., used to implement each of the following method embodiments; the storage data area can store data created according to the use of electronic devices (such as audio data, phone books), etc.
- the electronic device in the embodiment of the present application also includes a camera component 1430, which is used to collect environmental images.
- the camera component 1430 may be a front camera or a rear camera of the terminal; in another possible implementation, when the electronic device is a helmet-mounted display (Head -Mounted Display (HMD)), the camera component 1430 may be a camera disposed on the front of the HMD.
- HMD helmet-mounted display
- the electronic device may also include a display component 1440, which may include a display screen for displaying images, or may include a projection device (such as a projector on smart glasses) for image projection.
- a display component 1440 may include a display screen for displaying images, or may include a projection device (such as a projector on smart glasses) for image projection.
- the structure of the electronic device shown in the above drawings does not constitute a limitation on the electronic device.
- the electronic device may include more or fewer components than those shown in the figures, or a combination of certain components. components, or different component arrangements.
- electronic equipment also includes radio frequency circuits, input units, sensors, audio circuits, speakers, microphones, power supplies and other components, which will not be described in detail here.
- Embodiments of the present application also provide a computer-readable storage medium that stores at least one instruction, and at least one instruction is used to be executed by a processor to implement the display method as described in the above embodiments.
- Embodiments of the present application provide a computer program product or computer program.
- the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
- the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the display method provided by the above embodiment.
- Computer-readable media includes computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
- Storage media can be any available media that can be accessed by a general purpose or special purpose computer.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Graphics (AREA)
- Computing Systems (AREA)
- Geometry (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
相关申请的交叉引用Cross-references to related applications
本申请基于申请号为202210470977.4、申请日为2022年4月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以全文引用的方式引入本申请。This application is filed based on a Chinese patent application with application number 202210470977.4 and a filing date of April 28, 2022, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated by reference into this application in full. .
本申请实施例涉及虚拟场景技术领域,特别涉及一种显示方法、装置、显示设备、头戴式设备及存储介质。Embodiments of the present application relate to the field of virtual scene technology, and in particular to a display method, device, display device, head-mounted device and storage medium.
随着虚拟场景技术的快速发展,将虚拟现实和真实场景叠加并进行互动的技术越来越受到人们的青睐。相关技术中,一些电子设备可展示多款虚拟场景应用,如何提高虚拟对象在真实场景中的显示效果是亟待解决的技术问题。With the rapid development of virtual scene technology, technology that overlays and interacts with virtual reality and real scenes is becoming more and more popular. In related technologies, some electronic devices can display multiple virtual scene applications. How to improve the display effect of virtual objects in real scenes is an urgent technical problem that needs to be solved.
发明内容Contents of the invention
本申请实施例提供了一种显示方法、装置、显示设备、头戴式设备及存储介质。Embodiments of the present application provide a display method, device, display device, head-mounted device, and storage medium.
第一方面,本申请实施例提供了一种显示方法,包括:In a first aspect, embodiments of the present application provide a display method, including:
检测真实场景中的目标对象;Detect target objects in real scenes;
根据目标对象与在虚拟场景中待显示的虚拟对象之间的形态对应关系,确定虚拟对象对应的目标形态;Determine the target form corresponding to the virtual object according to the form correspondence between the target object and the virtual object to be displayed in the virtual scene;
根据真实场景和虚拟场景进行图像渲染,显示虚拟对象对应的目标形态。Image rendering is performed based on real scenes and virtual scenes to display the target form corresponding to the virtual object.
第二方面,本申请实施例提供了一种显示装置,该显示装置被配置为执行上述第一方面所述的方法中的步骤。In a second aspect, embodiments of the present application provide a display device configured to perform the steps in the method described in the first aspect.
第三方面,本申请实施例提供了一种显示设备,被配置为由用户穿戴,包括上述第二方面所述的显示装置。In a third aspect, embodiments of the present application provide a display device configured to be worn by a user, including the display device described in the second aspect.
第四方面,本申请实施例提供了一种头戴式设备,包括处理器、存储器、显示器以及一个或多个程序,该一个或多个程序被存储在存储器中,并且被配置由处理器执行,该程序包括被配置为执行上述第一方面所述的方法中的步骤的指令。In a fourth aspect, embodiments of the present application provide a head-mounted device, including a processor, a memory, a display, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. , the program includes instructions configured to perform the steps in the method described in the first aspect above.
第五方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质被配置为存储计算机程序,该计算机程序在被处理器执行,以实现上述第一方面所述的方法中所描述的部分或全部步骤。In a fifth aspect, embodiments of the present application provide a computer-readable storage medium configured to store a computer program. The computer program is executed by a processor to implement the method described in the first aspect. Some or all of the steps described in .
第六方面,本申请实施例提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中;计算机设备的处理器从该计算机可读存储介质读取该计算机指令,该处理器执行该计算机指令,使得该计算机设备执行上述第一方面所述的方法。In a sixth aspect, embodiments of the present application provide a computer program product. The computer program product includes computer instructions. The computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the instructions from the computer-readable storage medium. The computer instruction, the processor executes the computer instruction, so that the computer device performs the method described in the first aspect.
本申请提供的技术方案可以包括以下技术效果:The technical solutions provided by this application may include the following technical effects:
根据目标对象与虚拟对象之间的形态对应关系,确定在虚拟场景中待显示的虚拟对象对应的目标形态,根据真实场景和虚拟场景进行图像渲染,显示虚拟对象对应的目标形态;如此,虚拟对象对应的目标形态,能跟随目标对象的变化而发生变化,丰富了虚拟对象对应的目标形态的多样性,进而能提高虚拟对象在真实场景中的显示效果。According to the form correspondence between the target object and the virtual object, determine the target form corresponding to the virtual object to be displayed in the virtual scene, perform image rendering according to the real scene and the virtual scene, and display the target form corresponding to the virtual object; in this way, the virtual object The corresponding target form can change following the change of the target object, which enriches the diversity of target forms corresponding to the virtual object, thereby improving the display effect of the virtual object in the real scene.
附图用于更好地理解本方案,不构成对本申请的限定。其中:The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application. in:
图1是本申请实施例提供的具有增强现实显示功能的智能交互系统的架构示意图;Figure 1 is a schematic architectural diagram of an intelligent interactive system with augmented reality display function provided by an embodiment of the present application;
图2是本申请实施例提供的显示方法的流程图一;Figure 2 is a
图3是本申请实施例提供的唤起虚拟场景应用的流程示意图;Figure 3 is a schematic flowchart of evoking a virtual scene application provided by an embodiment of the present application;
图4是本申请实施例提供的天气应用的形态示意图一;Figure 4 is a schematic diagram 1 of the form of a weather application provided by an embodiment of the present application;
图5是本申请实施例提供的天气应用的形态示意图二;Figure 5 is a schematic diagram 2 of the weather application provided by the embodiment of the present application;
图6是本申请实施例提供的天气应用的形态示意图三;Figure 6 is a schematic diagram three of the weather application provided by the embodiment of the present application;
图7是本申请实施例提供的射线与目标对象的相交关系示意图一;Figure 7 is a schematic diagram 1 of the intersection relationship between rays and target objects provided by the embodiment of the present application;
图8是本申请实施例提供的射线与目标对象的相交关系示意图二;Figure 8 is a schematic diagram 2 of the intersection relationship between rays and target objects provided by the embodiment of the present application;
图9是本申请实施例提供的显示方法的流程图二;Figure 9 is a flow chart 2 of the display method provided by the embodiment of the present application;
图10是本申请实施例提供的天气应用从第一位置切换至第二位置的示意图;Figure 10 is a schematic diagram of the weather application provided by the embodiment of the present application switching from the first position to the second position;
图11是本申请实施例提供的显示方法的流程图三;Figure 11 is a flowchart three of the display method provided by the embodiment of the present application;
图12是本申请实施例提供的显示装置的结构框图;Figure 12 is a structural block diagram of a display device provided by an embodiment of the present application;
图13是本申请实施例提供的显示设备的结构框图;Figure 13 is a structural block diagram of a display device provided by an embodiment of the present application;
图14是用来实现本申请实施例显示方法的电子设备的结构框图。Figure 14 is a structural block diagram of an electronic device used to implement the display method according to the embodiment of the present application.
下面详细描述本申请的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the drawings are exemplary and are only used to explain the present application and cannot be understood as limiting the present application.
在本申请的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体地限定。In the description of the present application, it should be understood that the terms “first” and “second” are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, features defined as “first” and “second” may explicitly or implicitly include one or more of the described features. In the description of this application, "plurality" means two or more than two, unless otherwise expressly and specifically limited.
图1是本申请实施例的具有增强现实显示功能的智能交互系统100的架构示意图,如图1所示,智能交互系统100包括电子设备101。电子设备101可安装有增强现实(Augmented Reality,AR)或混合现实(MixedReality,MR)应用等虚拟场景应用,并可基于用户的操作运行该AR或MR应用,这里,用户的操作可包括对电子设备101上虚拟场景应用的控制操作,如点击、触摸、滑动、抖动、声控等操作,用户的操作还可包括对能与电子设备101配对的控制器的控制操作,以通过该控制器如手柄完成对电子设备101上虚拟场景应用的控制。电子设备101可通过本地摄像头和/或传感器采集环境中任意物体的视频图像,根据采集的视频图像在显示组件上显示虚拟对象(也可称为虚拟物体)。虚拟对象相应可以为AR或MR场景中的虚拟物体(即虚拟环境中的物体)。实际应用中,电子设备101可独立完成上述交互操作,实现对虚拟对象的显示。实际应用中,电子设备101还可通过与终端设备102交互,实现对虚拟对象的显示。终端设备102可作为向电子设备101的AR或MR应用提供内容和信息支撑的平台。FIG. 1 is a schematic architectural diagram of an
需要说明的是,本申请实施例中,电子设备101中的虚拟场景应用可以是电子设备101自身内置的应用程序,也可以是用户自行安装的第三方服务商提供的应用程序,本申请实施例对此不作限定。It should be noted that in this embodiment of the present application, the virtual scene application in the
需要说明的是,本申请实施例中,电子设备101可以是配置有摄像头和显示组件的各种类型的设备,包括但不限于面向用户提供语音和/或其他数据传输交互的电子设备,例如电子设备101可以是手机及其他具有无线连接功能的手持式设备、平板电脑、笔记本电脑、掌上电脑、录像机等终端设备;电子设备101也可以是用于虚拟场景交互的可穿戴设备,如智能手表、智能眼镜及其他AR设备或MR互动设备等。本申请实施例对电子设备101的具体形式不作限制。It should be noted that in the embodiment of the present application, the
实际应用中,智能交互系统100还可包括服务器103,服务器103可作为向电子设备101的AR或MR应用提供内容和信息支撑的平台。电子设备101和服务器103之间可进行通信,例如电子设备101可通过无线局域网、蓝牙或移动网络等通信方式,与服务器103进行通信。需要说明的是,本申请实施例中,服务器103具体可以是一台或多台物理服务器(例如图1中示例性地示出了一台服务器),也可以是计算机集群,还可以是云计算场景的虚拟机,本申请实施例对此不作限定。In practical applications, the
本申请实施例提供了一种显示方法,图2是根据本申请实施例的显示方法的流程示意图,该显示方法可以应用于显示装置,例如,该显示装置可以部署于图1的智能交互系统100。在一些可能的实现方式中,该方法还可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。在一些可能的实现方式中,该显示方法可应用于图1所示的智能交互系统中的电子设备101中,其中,电子设备101可以是用于虚拟场景交互的可穿戴设备,如智能手表、智能眼镜及其他AR设备或MR互动设备等,也可以是安装有AR或MR应用等虚拟场景应用的终端设备,如手机及其他具有无线连接功能的手持式设备、平板电脑、笔记本电脑、掌上电脑、录像机等。如图2所示,该显示方法包括:The embodiment of the present application provides a display method. Figure 2 is a schematic flowchart of the display method according to the embodiment of the present application. The display method can be applied to a display device. For example, the display device can be deployed in the
S201,检测真实场景中的目标对象;S201, detect target objects in real scenes;
S202,根据目标对象与在虚拟场景中待显示的虚拟对象之间的形态对应关系,确定虚拟对象对应的目标形态;S202, determine the target form corresponding to the virtual object according to the form correspondence between the target object and the virtual object to be displayed in the virtual scene;
S203,根据真实场景和虚拟场景进行图像渲染,显示虚拟对象对应的目标形态。S203: Perform image rendering based on the real scene and the virtual scene to display the target form corresponding to the virtual object.
本申请实施例中,目标对象是预承载虚拟对象的对象。目标对象包括:目标空间或目标平面。In this embodiment of the present application, the target object is an object that preloads a virtual object. Target objects include: target space or target plane.
一些示例中,目标空间是具有一定三维形态属性的空间,如屋内、屋外、空中等。In some examples, the target space is a space with certain three-dimensional morphological attributes, such as inside a house, outside a house, in the air, etc.
一些示例中,目标平面是具有一定二维形态属性的平面,如桌面、墙面、地面、天花板等。In some examples, the target plane is a plane with certain two-dimensional morphological attributes, such as a desktop, wall, floor, ceiling, etc.
本申请实施例中,形态对应关系至少包括以下关系:In the embodiment of this application, the morphological correspondence relationship at least includes the following relationships:
虚拟对象的形态与目标对象的形态相适应,其中,同一虚拟对象在不同目标对象下的形态可以不同。需要说明的是,不同虚拟对象在同一目标对象下的形态可以相同。比如,虚拟对象a在目标对象A下的形态为二维形态,虚拟对象b在目标对象A下的形态也为二维形态。不同虚拟对象在同一目标对象下的形态也可以不同。比如,虚拟对象a在目标对象A下的形态为二维形态,虚拟对象b在目标对象A下的形态为三维形态。The form of the virtual object is adapted to the form of the target object, where the same virtual object can have different forms under different target objects. It should be noted that different virtual objects can have the same shape under the same target object. For example, the form of virtual object a under target object A is a two-dimensional form, and the form of virtual object b under target object A is also a two-dimensional form. Different virtual objects can also have different shapes under the same target object. For example, the form of virtual object a under target object A is a two-dimensional form, and the form of virtual object b under target object A is a three-dimensional form.
这里,形态包括但不限于二维形态(平面形态)、三维形态(立体形态)等。Here, the form includes, but is not limited to, two-dimensional form (planar form), three-dimensional form (three-dimensional form), etc.
这里,相适应可以理解为形态相同,或者形态相似。Here, adaptation can be understood as having the same shape or similar shape.
这里,相适应还可以理解为相匹配,具体可以理解为:虚实结合的形态符合视觉感知、或物体认知、或美学标准、或期望效果。Here, adaptation can also be understood as matching, and specifically it can be understood as: the combination of virtual and real forms conforms to visual perception, or object cognition, or aesthetic standards, or desired effects.
举例来说,将目标对象1的形态记为形态1,目标对象2的形态记为形态2,目标对象3的形态记为形态3;相对于目标对象1的虚拟对象的形态为形态1’,相对于目标对象2的虚拟对象的形态为形态2’,相对于目标对象3的虚拟对象的形态为形态3’;则形态1’与形态1相适应或相匹配,形态2’与形态2相适应或相匹配,形态3’与形态3相适应或相匹配,也就是说,不同目标对象上显示有不同形态的虚拟对象。示例性的,在目标对象1上显示虚拟对象1时,虚拟对象1的形态应为形态1’;在目标对象1上显示虚拟对象2时,虚拟对象2的形态也为形态1’。也就是说,不同虚拟对象在同一目标对象上呈现的形态是相同的。又示例性的,虚拟对象1在目标对象1上显示时,虚拟对象1的形态应为形态1’;虚拟对象1在目标对象2上显示时,虚拟对象1的形态应为形态2’。也就是说,同一虚拟对象在不同目标对象上呈现的形态不同,即同一虚拟对象对不同的目标对象是有不同的目标形态的。For example, the form of
本申请实施例中,虚拟场景包括但不限于AR场景、MR场景中的任意一种。In the embodiment of this application, the virtual scene includes but is not limited to any one of AR scene and MR scene.
一些示例中,AR场景是一种可以将虚拟现实和真实场景叠加并进行互动的场景。In some examples, an AR scene is a scene where virtual reality and real scenes can be overlaid and interacted with.
一些示例中,MR场景是通过合并真实场景和虚拟场景而产生的新的可视化环境,并且在真实场景、虚拟场景和用户之间搭起一个交互反馈的信息回路的综合场景。In some examples, MR scenes are new visual environments generated by merging real scenes and virtual scenes, and set up a comprehensive scene with an interactive feedback information loop between real scenes, virtual scenes and users.
本申请实施例中,根据目标对象与在虚拟场景中待显示的虚拟对象之间的形态对应关系,确定虚拟对象对应的目标形态,包括:若虚拟对象待显示于第一目标对象的第一位置,则确认待显示的虚拟对象为第一目标形态;若虚拟对象待显示于第二目标对象的第一位置,则确认待显示的虚拟对象为第二目标形态;其中,第一目标形态与第二目标形态不同。In the embodiment of the present application, the target form corresponding to the virtual object is determined based on the form correspondence between the target object and the virtual object to be displayed in the virtual scene, including: if the virtual object is to be displayed at the first position of the first target object , then it is confirmed that the virtual object to be displayed is the first target form; if the virtual object is to be displayed at the first position of the second target object, then it is confirmed that the virtual object to be displayed is the second target form; wherein, the first target form and the third target form The two targets have different shapes.
这里,第一位置是显示虚拟物体的位置。Here, the first position is the position where the virtual object is displayed.
本申请实施例中,确定第一位置的交互方式,包括但不限于头动交互,手势交互,语音交互,射线交互等。本申请对交互方式不作强制性限定。In the embodiment of the present application, the interaction method for determining the first position includes but is not limited to head movement interaction, gesture interaction, voice interaction, ray interaction, etc. This application does not impose mandatory limitations on the interaction methods.
本申请实施例中,根据目标对象与在虚拟场景中待显示的虚拟对象之间的形态对应关系,确定虚拟对象对应的目标形态,包括:若目标对象的属性为三维形态,则根据形态对应关系中的第一形态对应关系,确定虚拟对象对应的目标形态为三维形态。In the embodiment of the present application, the target form corresponding to the virtual object is determined according to the form correspondence between the target object and the virtual object to be displayed in the virtual scene, including: if the attribute of the target object is a three-dimensional form, then according to the form correspondence The first form correspondence relationship in the method determines that the target form corresponding to the virtual object is a three-dimensional form.
在一些可能的实施方式中,识别目标对象的属性;在识别出目标对象的属性为三维形态的情况下,根据形态对应关系中的第一形态对应关系,确定虚拟对象对应的目标形态为三维形态。In some possible implementations, identify the attributes of the target object; when it is recognized that the attributes of the target object are in a three-dimensional form, determine that the target form corresponding to the virtual object is a three-dimensional form according to the first form correspondence in the form correspondence. .
这里,目标对象的属性包括形态属性。其中,形态属性至少分为二维形态、三维形态等。以上仅为示例性说明,不作为对形态属性包括的全部可能的内容的限定,只是这里不做穷举。Here, the attributes of the target object include morphological attributes. Among them, the morphological attributes are at least divided into two-dimensional morphology, three-dimensional morphology, etc. The above is only an illustrative description, and does not serve as a limitation on all possible contents included in the morphological attributes, but is not exhaustive here.
另外,目标对象的属性还可包括语义属性。其中,语义属性至少分为挂件式形态、摆件式形态等。示例性的,在目标对象为墙面时,语义属性包括挂件式形态;在目标对象为桌面时,语义属性包括摆件式形态。以上仅为示例性说明,不作为对语义属性包括的全部可能的内容的限定,只是这里不做穷举。In addition, the attributes of the target object may also include semantic attributes. Among them, semantic attributes are at least divided into pendant form, ornament form, etc. For example, when the target object is a wall, the semantic attributes include a pendant-like form; when the target object is a desktop, the semantic attributes include an ornament-like form. The above is only an illustrative description, and does not serve as a limitation on all possible contents included in the semantic attributes, but is not exhaustive here.
这里,第一形态对应关系,包括:在目标对象的属性为三维形态的情况下,虚拟对象的形态也应为三维形态。Here, the first form correspondence relationship includes: when the attribute of the target object is a three-dimensional form, the form of the virtual object should also be a three-dimensional form.
本申请实施例中,根据目标对象与在虚拟场景中待显示的虚拟对象之间的形态对应关系,确定虚拟对象对应的目标形态,包括:若目标对象的属性为二维形态,则根据形态对应关系中的第二形态对应关系,确定虚拟对象对应的目标形态为二维形态。In the embodiment of the present application, the target form corresponding to the virtual object is determined according to the form correspondence between the target object and the virtual object to be displayed in the virtual scene, including: if the attribute of the target object is a two-dimensional form, then according to the form correspondence The second form correspondence relationship in the relationship determines that the target form corresponding to the virtual object is a two-dimensional form.
在一些可能的实施方式中,识别出目标对象的属性;在识别出目标对象的属性为二维形态的情况下,根据形态对应关系中的第二形态对应关系,确定虚拟对象对应的目标形态为二维形态。In some possible implementations, the attributes of the target object are identified; when it is identified that the attributes of the target object are in a two-dimensional form, according to the second form correspondence in the form correspondence, the target form corresponding to the virtual object is determined to be Two-dimensional form.
这里,第二形态对应关系,包括:在目标对象的属性为二维形态的情况下,虚拟对象的形态也应为二维形态。Here, the second form correspondence relationship includes: when the attribute of the target object is a two-dimensional form, the form of the virtual object should also be a two-dimensional form.
本申请实施例中,根据目标对象与在虚拟场景中待显示的虚拟对象之间的形态对应关系,确定虚拟对象对应的目标形态,包括:根据形态对应关系中的第三形态对应关系,确定虚拟对象对应的目标形态为与预定义形状对应的预定义形态。In the embodiment of the present application, determining the target form corresponding to the virtual object according to the form correspondence between the target object and the virtual object to be displayed in the virtual scene includes: determining the virtual object according to the third form correspondence in the form correspondence. The target shape corresponding to the object is a predefined shape corresponding to the predefined shape.
这里,第三形态对应关系包括:目标对象的虚拟对象,呈预定义形状对应的预定义形态。其中,不同目标对象对应的预定义形状不同,不同目标对象对应的预定义形态也不同。Here, the third form correspondence includes: the virtual object of the target object takes a predefined form corresponding to the predefined shape. Among them, the predefined shapes corresponding to different target objects are different, and the predefined shapes corresponding to different target objects are also different.
在一些可能的实施方式中,识别目标对象的属性,包括:根据目标对象的位置、形状和大小等特征,识别目标对象的属性。在另一些可能的实施方式中,识别目标对象的属性,包括:通过预先训练好的模型,识别目标对象的属性。应理解,识别目标对象的属性的方式并不限于上述几种,本申请实施例不对如何识别出目标对象的属性进行限定。In some possible implementations, identifying the attributes of the target object includes: identifying the attributes of the target object based on characteristics such as location, shape, and size of the target object. In other possible implementations, identifying the attributes of the target object includes: identifying the attributes of the target object through a pre-trained model. It should be understood that the methods for identifying the attributes of the target object are not limited to the above-mentioned ones, and the embodiments of the present application do not limit how to identify the attributes of the target object.
如此,虚拟对象的目标形态,与目标对象的属性相适应。并且,虚拟对象的目标形态,能跟随目标对象的属性的变化而变化。In this way, the target form of the virtual object is adapted to the attributes of the target object. Moreover, the target form of the virtual object can change following changes in the attributes of the target object.
本申请实施例中,在第一位置显示的虚拟对象对应的目标形态,是虚实结合的图像渲染结果。这里,虚拟对象可以是虚拟应用或虚拟应用的具体内容。示例性的,目标对象为桌面,虚拟对象为播放器应用,播放器应用对应的目标形态可以是在桌面上的三维形态的虚拟音箱,其中,该虚拟音箱是播放器应用对应的一种目标形态。又示例性的,目标对象为墙面,虚拟对象为日历应用,日历应用对应的目标形态可以是在墙面上的二维形态的虚拟壁画,其中,该虚拟壁画是日历应用对应的一种目标形态。以上仅为示例性说明,不作为对目标对象与虚拟对象对应的目标形态全部可能的类型的限定,只是这里不做穷举。In the embodiment of the present application, the target form corresponding to the virtual object displayed in the first position is the image rendering result of a combination of virtual and real. Here, the virtual object may be a virtual application or specific content of the virtual application. For example, the target object is the desktop, the virtual object is the player application, and the target form corresponding to the player application can be a three-dimensional virtual speaker on the desktop, where the virtual speaker is a target form corresponding to the player application. . In another example, the target object is a wall, the virtual object is a calendar application, and the target form corresponding to the calendar application may be a two-dimensional virtual mural on the wall, where the virtual mural is a target corresponding to the calendar application. form. The above is only an illustrative description, and does not serve as a limitation on all possible types of target forms corresponding to the target object and the virtual object, but is not exhaustive here.
以虚拟对象为一款天气应用为例,图3示出了唤起虚拟场景应用的流程示意图,如图3所示,通过控制器发出虚拟射线,指向真实场景中的一个目标对象,电子设备接收到触发唤起菜单的操作后,显示能在该目标对象上展示的应用;电子设备接收到针对在该目标对象的任一应用的选中操作后,在该目标对象上展现该应用对应的目标形态,该目标形态与该目标对象相适应。继续以虚拟对象为一款天气应用为例,当该款天气应用被放置在目标对象如桌面上时,在桌面上呈现的目标形态为桌面摆件形态,如图4所示。当该款天气应用被放置在目标对象如墙面上时,在墙面上呈现的目标形态为墙面挂件形态,如图5所示。当该款天气应用被放置在目标对象如天花板上时,在天花板上呈现的目标形态为漂浮的云朵形态,如图6所示。如此,虚拟对象的形态能随着真实场景的空间性质/平面性质的不同呈现不同的形式,虚拟对象的呈现形式更符合真实场景的物理性质。Taking the virtual object as a weather application as an example, Figure 3 shows a schematic process diagram for evoking a virtual scene application. As shown in Figure 3, a virtual ray is emitted through the controller, pointing to a target object in the real scene, and the electronic device receives After triggering the operation to evoke the menu, applications that can be displayed on the target object are displayed; after the electronic device receives a selection operation for any application on the target object, the target form corresponding to the application is displayed on the target object. The target form is adapted to the target object. Continuing to take the virtual object as a weather application as an example, when the weather application is placed on a target object such as a desktop, the target form presented on the desktop is a desktop ornament, as shown in Figure 4. When the weather application is placed on a target object such as a wall, the target shape presented on the wall is a wall pendant, as shown in Figure 5. When the weather application is placed on a target object such as the ceiling, the target shape presented on the ceiling is a floating cloud shape, as shown in Figure 6. In this way, the shape of the virtual object can take on different forms depending on the spatial properties/planar properties of the real scene, and the presentation form of the virtual object is more in line with the physical properties of the real scene.
应理解,图3~6所示的应用及其展示形态仅仅是示意性的,本领域技术人员可以基于图3~6的例子进行各种显而易见的变化和/或替换。It should be understood that the applications and display forms shown in Figures 3 to 6 are only illustrative, and those skilled in the art can make various obvious changes and/or replacements based on the examples of Figures 3 to 6.
本申请实施例的技术方案,根据目标对象与在虚拟场景中待显示的虚拟对象之间的形态对应关系,确定虚拟对象对应的目标形态;根据真实场景和虚拟场景进行图像渲染,显示虚拟对象对应的目标形态。如此,虚拟对象对应的目标形态,能跟随目标对象的变化而发生变化,使得虚拟对象的状态更符合目标对象的性质,丰富了虚拟对象对应的目标形态的多样性,进而能提高虚拟对象在真实场景中的显示效果,使虚实结合更加灵活、多样。The technical solution of the embodiment of the present application determines the target form corresponding to the virtual object based on the form correspondence between the target object and the virtual object to be displayed in the virtual scene; performs image rendering based on the real scene and the virtual scene to display the corresponding virtual object target form. In this way, the target form corresponding to the virtual object can change following the change of the target object, making the state of the virtual object more consistent with the nature of the target object, enriching the diversity of the target forms corresponding to the virtual object, and thus improving the performance of the virtual object in the real world. The display effect in the scene makes the combination of virtual and real more flexible and diverse.
本申请实施例中,在显示虚拟对象对应的目标形态之前,上述显示方法还可以包括:响应于射线的发射操作,当射线与真实场景中的目标对象显示相交时,确认目标对象对应的第一位置。这里,第一位置是目标对象上显示虚拟物体的位置。In the embodiment of the present application, before displaying the target form corresponding to the virtual object, the above display method may further include: in response to the emission operation of the ray, when the ray intersects with the target object in the real scene, confirming the first shape corresponding to the target object. Location. Here, the first position is the position on the target object where the virtual object is displayed.
一些示例中,射线可以是虚拟射线。需要说明的是,虚拟射线只对头戴该电子设备或操控该电子设备的用户可见,也即,只有头戴该电子设备或操控该电子设备的用户才能够看到虚拟射线。在一些实施例中,在响应射线的发射操作之前,还包括:发射射线。In some examples, the rays may be virtual rays. It should be noted that the virtual ray is only visible to the user who wears the electronic device or controls the electronic device. That is, only the user who wears the electronic device or controls the electronic device can see the virtual ray. In some embodiments, before the emitting operation of responding to the ray, the method further includes: emitting the ray.
一些示例中,本申请不对射线的发射方式进行限定。比如,可通过电子设备的发射按键发射射线。又比如,可通过与电子设备配对的控制器如手柄发射射线。这里,射线是具有一定长度值的射线,射线的具体长度值可根据用户需求进行设定或调整,比如,可根据用户所处环境调整射线的长度值。In some examples, this application does not limit the emission mode of rays. For example, rays can be emitted through the emission button of an electronic device. As another example, rays can be emitted through a controller such as a handle paired with an electronic device. Here, the ray is a ray with a certain length value. The specific length value of the ray can be set or adjusted according to the user's needs. For example, the length value of the ray can be adjusted according to the user's environment.
在一些可能的实施方式中,若射线与目标对象之间存在相交点,将相交点确认为目标对象对应的第一位置;若射线与目标对象之间不存在相交点,将射线上距离目标对象最近的点确认为目标对象对应的第一位置。In some possible implementations, if there is an intersection point between the ray and the target object, the intersection point is confirmed as the first position corresponding to the target object; if there is no intersection point between the ray and the target object, the distance on the ray to the target object is determined. The closest point is confirmed as the first position corresponding to the target object.
这里,射线上距离目标对象最近的点,可以理解为射线的终点。Here, the point on the ray that is closest to the target object can be understood as the end point of the ray.
如此,能够确定出目标对象上显示虚拟物体的具体位置,同一虚拟物体在同一目标对象上的不同位置处,显示的目标形态一致,从而使虚拟物体在同一目标对象上不同位置处的显示更加统一。In this way, the specific position where the virtual object is displayed on the target object can be determined. The same virtual object displays the same target shape at different positions on the same target object, thereby making the display of virtual objects at different positions on the same target object more unified. .
本申请实施例中,根据目标对象与在虚拟场景中待显示的虚拟对象之间的形态对应关系,确定虚拟对象对应的目标形态之前,上述显示方法还可以包括:响应于射线的发射操作,确定射线与目标对象之间的相交关系。In the embodiment of the present application, before determining the target form corresponding to the virtual object according to the form correspondence between the target object and the virtual object to be displayed in the virtual scene, the above display method may also include: in response to the ray emission operation, determining The intersection relationship between the ray and the target object.
这里,相交关系可以理解为射线与目标对象是否有相交点。Here, the intersection relationship can be understood as whether there is an intersection point between the ray and the target object.
在一些示例中,响应于射线的发射操作,确定射线与目标对象之间的相交关系,包括:在射线作用于目标对象的情况下,确定射线与目标对象之间的相交关系为:相交。In some examples, in response to the emission operation of the ray, determining the intersection relationship between the ray and the target object includes: when the ray acts on the target object, determining the intersection relationship between the ray and the target object as: intersection.
这里,“作用于”可以理解为虚拟射线能够触及到目标对象。图7示出了射线与目标对象的相交关系示意图一,如图7所示,虚拟射线打在了目标对象上,则虚拟射线与目标对象存在相交点A,即虚拟射线与目标空间或目标平面的相交关系为:相交。示例性的,以目标对象为墙面,虚拟射线的长度为10米为例,若用户站在屋内,且该用户距离墙面的距离为4米,在电子设备朝向该墙面发出10米的射线的情况下,则该射线能够触及到该墙面,即虚拟射线能作用于该墙面。Here, "acting on" can be understood as the virtual ray can reach the target object. Figure 7 shows the schematic diagram 1 of the intersection relationship between the ray and the target object. As shown in Figure 7, if the virtual ray hits the target object, then there is an intersection point A between the virtual ray and the target object, that is, the virtual ray and the target space or target plane The intersection relationship is: intersection. For example, assuming that the target object is a wall and the length of the virtual ray is 10 meters, if the user is standing in the house and the distance between the user and the wall is 4 meters, the electronic device emits a 10-meter beam towards the wall. In the case of a ray, the ray can touch the wall, that is, the virtual ray can act on the wall.
在一些示例中,响应于射线的发射操作,确定射线与目标对象之间的相交关系,包括:在射线未作用于目标对象的情况下,确定射线与目标对象之间的相交关系为:不相交。In some examples, in response to the emission operation of the ray, determining the intersection relationship between the ray and the target object includes: in the case where the ray does not act on the target object, determining that the intersection relationship between the ray and the target object is: disjoint .
这里,“未作用于”可以理解为虚拟射线不能够触及目标对象。图8示出了射线与目标对象的相交关系示意图二,如图8所示,发出虚拟射线后,虚拟射线无法触及目标对象,则虚拟射线与目标对象不会存在相交点,即虚拟射线与目标空间或目标平面的相交关系为:不相交。示例性的,以目标对象为天空,虚拟射线的长度为10米为例,若用户站在室外,电子设备朝向天空发射长10米的虚拟射线,则该射线不能触及到天空,即虚拟射线未作用于天空。Here, "not acting on" can be understood as the virtual ray cannot touch the target object. Figure 8 shows the schematic diagram 2 of the intersection relationship between the ray and the target object. As shown in Figure 8, after the virtual ray is emitted, the virtual ray cannot touch the target object, so there will be no intersection point between the virtual ray and the target object, that is, the virtual ray and the target object The intersection relationship of space or target plane is: disjoint. For example, assuming that the target object is the sky and the length of the virtual ray is 10 meters, if the user stands outdoors and the electronic device emits a 10-meter virtual ray toward the sky, the ray cannot touch the sky, that is, the virtual ray does not reach the sky. Act on the sky.
本申请实施例中,根据目标对象与在虚拟场景中待显示的虚拟对象之间的形态对应关系,确定虚拟对象对应的目标形态,包括:根据形态对应关系,结合相交关系,确定虚拟对象对应的目标形态。In the embodiment of the present application, determining the target form corresponding to the virtual object according to the form correspondence between the target object and the virtual object to be displayed in the virtual scene includes: determining the corresponding target form of the virtual object according to the form correspondence and combined with the intersection relationship. target form.
在一些可能的实施方式中,根据形态对应关系,结合相交关系,确定虚拟对象对应的目标形态,包括:在射线与目标对象存在相交关系的情况下,得到该目标对象与该射线的相交点。识别出相交点所在相交面为空间属性,确定该相交面属于目标空间;根据形态对应关系中的第四形态对应关系,确定该虚拟对象对应的目标形态为与该目标空间对应的空间形态。In some possible implementations, determining the target form corresponding to the virtual object based on the form correspondence relationship and the intersection relationship includes: when there is an intersection relationship between the ray and the target object, obtaining the intersection point of the target object and the ray. The intersecting surface where the intersection point is located is identified as a spatial attribute, and the intersecting surface is determined to belong to the target space; according to the fourth form correspondence relationship in the form correspondence relationship, the target form corresponding to the virtual object is determined to be the spatial form corresponding to the target space.
这里,空间属性可以理解为空间性质或具有空间几何特征。Here, spatial attributes can be understood as spatial properties or spatial geometric characteristics.
如此,真实空间被识别出空间性质后,虚拟对象的目标形态能根据空间性质反馈出最适合该真实空间的形态。不同空间形态下,虚拟对象的信息量、呈现形式也会随着空间形态的变化而发生变化,进而使得应用/虚拟对象/操作方式以更灵活多样的方式显示虚实结合,伴随真实空间的特性而呈现合适的样貌,增强了应用/虚拟对象/操作方式的空间适应性。In this way, after the spatial properties of the real space are recognized, the target form of the virtual object can feedback the form that is most suitable for the real space based on the spatial properties. Under different spatial forms, the amount of information and presentation form of virtual objects will also change with the changes in the spatial form, which will allow applications/virtual objects/operation methods to display the combination of virtual and real in a more flexible and diverse way, along with the characteristics of the real space. Presenting a suitable appearance enhances the spatial adaptability of applications/virtual objects/operation methods.
在一些可能的实施方式中,识别出相交点所在相交面为空间属性,包括:若相交面的空间位置、形状和大小等几何特征符合空间属性特征,则判定相交点所在相交面为空间属性。在另一些可能的实施方式中,识别出相交点所在相交面为空间属性,包括:根据预先训练好的模型的输出值,判定相交点所在相交面为空间属性。应理解,相交点所在相交面是否为空间属性的识别方式并不限于上述几种,本申请实施例不对如何识别出相交点所在相交面是否为空间属性进行限定。In some possible implementations, identifying the intersection surface where the intersection point is located as a spatial attribute includes: if the spatial position, shape, size and other geometric characteristics of the intersection surface conform to the spatial attribute characteristics, then determining that the intersection surface where the intersection point is located is a spatial attribute. In other possible implementations, identifying that the intersection surface where the intersection point is located is a spatial attribute includes: determining that the intersection surface where the intersection point is located is a spatial attribute based on the output value of a pre-trained model. It should be understood that the methods for identifying whether the intersection surface where the intersection point is located is a spatial attribute are not limited to the above-mentioned ones. The embodiments of this application do not limit how to identify whether the intersection surface where the intersection point is located is a spatial attribute.
这里,第四形态对应关系是目标空间与虚拟对象的对应关系。Here, the fourth form correspondence is the correspondence between the target space and the virtual object.
一些示例中,第四形态对应关系可以包括目标空间与应用图标的对应关系。示例性的,第四形态对应关系包括目标空间的大小与应用图标的大小之间的对应关系。比如,目标空间的大小与应用图标的大小的比例关系为1:x,x小于等于1,具体比例关系可根据目标空间的空间性质进行适应性调整,如室内空间的大小与应用图标的大小之间的比例关系,不同于室外空间的大小与应用图标的大小之间的比例关系。又示例性的,第四形态对应关系包括目标空间的显示风格与应用图标的显示风格之间的对应关系。比如,目标空间的显示风格与应用图标的显示风格为同一款风格,如目标空间与应用图标都呈现写实风格。又比如,目标空间的显示风格与应用图标的显示风格为不同款风格,如目标空间呈现写实风格,应用图标呈现抽象风格。以上仅为示例性说明,不作为对目标空间与应用图标的对应关系全部可能的类型的限定,只是这里不做穷举。In some examples, the fourth form correspondence may include a correspondence between the target space and the application icon. Exemplarily, the fourth form of correspondence includes a correspondence between the size of the target space and the size of the application icon. For example, the proportional relationship between the size of the target space and the size of the application icon is 1:x, and x is less than or equal to 1. The specific proportional relationship can be adjusted adaptively according to the spatial properties of the target space, such as the ratio between the size of the indoor space and the size of the application icon. The proportional relationship between the size of the outdoor space and the size of the application icon is different from the proportional relationship between the size of the outdoor space and the size of the application icon. As another example, the fourth form correspondence includes a correspondence between the display style of the target space and the display style of the application icon. For example, the display style of the target space and the display style of the application icon are the same. For example, the target space and the application icon both present a realistic style. For another example, the display style of the target space and the display style of the application icon are different styles. For example, the target space presents a realistic style, and the application icon presents an abstract style. The above is only an illustrative description and does not limit all possible types of correspondence between the target space and the application icon, but is not exhaustive here.
一些示例中,第四形态对应关系可以包括目标空间与应用所展示具体内容的对应关系。这里,应用所展示具体内容是打开应用后所呈现的具体信息。示例性的,第四形态对应关系包括目标空间的大小与应用所展示具体内容的大小之间的对应关系。比如,目标空间的大小与应用所展示具体内容的大小为比例关系1:y,y小于等于1。具体比例关系可根据目标空间的空间性质以及应用所展示具体内容的性质进行适应性调整。比如,室内空间的大小与应用所展示具体内容的大小之间的比例关系,不同于室外空间的大小与应用所展示具体内容的大小之间的比例关系。又比如,应用所展示具体内容的性质为图像或文字时,目标空间的大小与应用所展示具体内容的大小为一定比例关系。又示例性的,第四形态对应关系包括目标空间的显示风格与应用所展示具体内容的显示风格之间的对应关系。比如,应用所展示具体内容的显示风格与目标空间的显示风格应为同一款风格,如目标空间与应用图标都呈写实风格。又比如,目标空间的显示风格与应用所展示具体内容的显示风格为不同款风格,如目标空间呈写实风格,应用所展示具体内容呈抽象风格。以上仅为示例性说明,不作为对目标空间与应用所展示具体内容的对应关系全部可能的类型的限定,只是这里不做穷举。In some examples, the fourth form of correspondence may include a correspondence between the target space and the specific content displayed by the application. Here, the specific content displayed by the application is the specific information presented after opening the application. Exemplarily, the fourth form of correspondence includes a correspondence between the size of the target space and the size of specific content displayed by the application. For example, the size of the target space and the size of the specific content displayed by the application are proportional to 1:y, and y is less than or equal to 1. The specific proportional relationship can be adjusted adaptively according to the spatial properties of the target space and the nature of the specific content displayed by the application. For example, the proportional relationship between the size of the indoor space and the size of the specific content displayed by the application is different from the proportional relationship between the size of the outdoor space and the size of the specific content displayed by the application. For another example, when the nature of the specific content displayed by the application is images or text, the size of the target space is in a certain proportion to the size of the specific content displayed by the application. As another example, the fourth form correspondence includes a correspondence between the display style of the target space and the display style of the specific content displayed by the application. For example, the display style of the specific content displayed by the application and the display style of the target space should be the same style. For example, both the target space and the application icon should be in a realistic style. For another example, the display style of the target space and the display style of the specific content displayed by the application are different styles. For example, the target space is in a realistic style, and the specific content displayed in the application is in an abstract style. The above is only an illustrative description and does not limit all possible types of correspondence between the target space and the specific content displayed by the application, but is not exhaustive here.
如此,在根据相交点确定相交面属于目标空间的情况下,根据目标空间与虚拟对象的第四形态对应 关系,确定虚拟对象对应的目标形态为与该目标空间对应的空间形态,使虚拟对象对应的目标形态与该目标空间对应的空间形态相适应,进而有助于提高虚拟对象与真实场景下目标对象的匹配度,从而提升虚实结合的显示效果。In this way, when it is determined based on the intersection point that the intersecting surface belongs to the target space, based on the fourth form correspondence between the target space and the virtual object, the target form corresponding to the virtual object is determined to be the space form corresponding to the target space, so that the virtual object corresponds The target shape is adapted to the corresponding spatial shape of the target space, which in turn helps to improve the matching between virtual objects and target objects in real scenes, thereby improving the display effect of combining virtual and real objects.
在一些可能的实施方式中,根据形态对应关系,结合相交关系,确定虚拟对象对应的目标形态,包括:在射线与目标对象存在相交关系的情况下,得到目标对象与射线的相交点;识别出相交点所在的相交面属于平面属性,确定相交面属于目标平面;根据形态对应关系中的第五形态对应关系,确定虚拟对象对应的目标形态为与目标平面对应的平面形态。In some possible implementations, determining the target form corresponding to the virtual object according to the morphological correspondence relationship and the intersection relationship includes: when there is an intersection relationship between the ray and the target object, obtaining the intersection point of the target object and the ray; identifying The intersecting surface where the intersection point is located belongs to the plane attribute, and it is determined that the intersecting surface belongs to the target plane; according to the fifth form correspondence in the form correspondence, it is determined that the target form corresponding to the virtual object is the planar form corresponding to the target plane.
这里,平面属性可以理解为平面性质或具有平面几何特征。Here, planar properties can be understood as planar properties or having planar geometric characteristics.
如此,真实平面被识别出平面性质后,虚拟对象的目标形态能根据平面性质反馈出最适合该真实平面的形态。不同平面形态下,虚拟对象的信息量、呈现形式等也会随着平面形态的变化而发生变化,进而使得应用/虚拟对象/操作方式等能以更灵活多样的方式显示虚实结合,随真实平面的特性而呈现合适的样貌,增强了应用/虚拟对象/操作方式的平面适应性。In this way, after the plane properties of the real plane are recognized, the target shape of the virtual object can feed back the shape that is most suitable for the real plane based on the plane properties. Under different plane forms, the amount of information and presentation form of virtual objects will also change with the change of plane form, which will allow applications/virtual objects/operation methods to display the combination of virtual and real in a more flexible and diverse way, and follow the real plane. It presents a suitable appearance based on its characteristics, which enhances the plane adaptability of applications/virtual objects/operation methods.
在一些可能的实施方式中,识别出相交点所在相交面为平面属性,包括:若相交面的平面位置、形状和大小等几何特征符合平面属性特征,则判定相交点所在相交面为平面属性。在另一些可能的实施方式中,识别出相交点所在相交面为平面属性,包括:根据预先训练好的模型的输出值,识别出相交点所在相交面为平面属性。应理解,相交点所在相交面是否为平面属性的识别方式并不限于上述几种,本申请实施例不对如何识别出相交点所在相交面是否为平面属性进行限定。In some possible implementations, identifying that the intersection surface where the intersection point is located is a plane attribute includes: if the geometric characteristics such as the plane position, shape, and size of the intersection surface conform to the plane attribute characteristics, then determining that the intersection surface where the intersection point is located is a plane attribute. In some other possible implementations, identifying that the intersection surface where the intersection point is located is a planar attribute includes: identifying that the intersection surface where the intersection point is located is a planar attribute based on the output value of a pre-trained model. It should be understood that the method of identifying whether the intersection surface where the intersection point is located is a planar attribute is not limited to the above. The embodiment of the present application does not limit how to identify whether the intersection surface where the intersection point is located is a planar attribute.
这里,第五形态对应关系是是目标平面与虚拟对象的对应关系。Here, the fifth form correspondence is the correspondence between the target plane and the virtual object.
一些示例中,第五形态对应关系可以包括目标平面与应用图标的对应关系。示例性的,第五形态对应关系包括目标平面的大小与应用图标的大小之间的对应关系。比如,目标平面的大小与应用图标的大小的比例关系为1:z,z小于等于1,具体比例关系可根据目标平面的平面性质进行适应性调整,如桌面的大小与应用图标的大小之间的比例关系,不同于墙面的大小与应用图标的大小之间的比例关系。又示例性的,第五形态对应关系包括目标平面的显示风格与应用图标的显示风格之间的对应关系。比如,目标平面的显示风格与应用图标的显示风格为同一款风格,如目标平面与应用图标都呈写实风格。又比如,目标平面的显示风格与应用图标的显示风格为不同款风格,如目标平面呈冷色风格,应用图标呈暖色风格。以上仅为示例性说明,不作为对目标平面与应用图标的对应关系全部可能的类型的限定,只是这里不做穷举。In some examples, the fifth form correspondence may include a correspondence between the target plane and the application icon. Exemplarily, the fifth form correspondence includes a correspondence between the size of the target plane and the size of the application icon. For example, the proportional relationship between the size of the target plane and the size of the application icon is 1:z, and z is less than or equal to 1. The specific proportional relationship can be adjusted adaptively according to the flat properties of the target plane, such as between the size of the desktop and the size of the application icon. The proportional relationship is different from the proportional relationship between the size of the wall and the size of the application icon. As another example, the fifth form correspondence includes a correspondence between the display style of the target plane and the display style of the application icon. For example, the display style of the target plane and the display style of the application icon are the same style. For example, the target plane and the application icon are both in a realistic style. For another example, the display style of the target plane and the display style of the application icon are different styles. For example, the target plane has a cool color style and the application icon has a warm color style. The above is only an illustrative description and does not limit all possible types of correspondence between the target plane and the application icon, but is not exhaustive here.
一些示例中,第五形态对应关系可以包括目标平面与应用所展示具体内容的对应关系。这里,应用所展示具体内容是打开应用后所呈现的具体信息。示例性的,第五形态对应关系包括目标平面的大小与应用所展示具体内容的大小之间的对应关系,比如,目标平面的大小与应用所展示具体内容的大小为比例关系1:k,k小于等于1。具体比例关系可根据目标平面的平面性质以及应用所展示具体内容的性质进行适应性调整。比如,墙面的大小与应用所展示具体内容的大小之间的比例关系,不同于地面的大小与应用所展示具体内容的大小之间的比例关系。又比如,应用所展示具体内容的性质为图像或文字时,目标平面的大小与应用所展示具体内容的大小为比例关系为一定比例关系。又示例性的,第五形态对应关系包括目标平面的显示风格与应用所展示具体内容的显示风格之间的对应关系,比如,应用所展示具体内容的显示风格与目标平面的显示风格应为同一款风格,如目标平面与应用所展示具体内容都呈抽象风格。又比如,目标平面的显示风格与应用所展示具体内容的显示风格为不同款风格,如目标平面呈写实风格,应用所展示具体内容呈抽象风格。以上仅为示例性说明,不作为对目标平面与应用所展示具体内容的对应关系全部可能的类型的限定,只是这里不做穷举。In some examples, the fifth form correspondence may include a correspondence between the target plane and the specific content displayed by the application. Here, the specific content displayed by the application is the specific information presented after opening the application. Exemplarily, the fifth form of correspondence includes the correspondence between the size of the target plane and the size of the specific content displayed by the application. For example, the size of the target plane and the size of the specific content displayed by the application are in a proportional relationship 1:k,k Less than or equal to 1. Specific proportional relationships can be adapted based on the planar nature of the target plane and the nature of the specific content displayed by the application. For example, the proportional relationship between the size of the wall and the size of the specific content displayed in the application is different from the proportional relationship between the size of the floor and the size of the specific content displayed in the application. For another example, when the nature of the specific content displayed by the application is images or text, the size of the target plane is proportional to the size of the specific content displayed by the application. There is a certain proportional relationship. As another example, the fifth form of correspondence includes the correspondence between the display style of the target plane and the display style of the specific content displayed by the application. For example, the display style of the specific content displayed by the application and the display style of the target plane should be the same. The specific content displayed on the target plane and application is in an abstract style. For another example, the display style of the target plane and the display style of the specific content displayed by the application are different styles. For example, the target plane has a realistic style, and the specific content displayed by the application has an abstract style. The above is only an illustrative description and does not limit all possible types of correspondence between the target plane and the specific content displayed by the application, but is not exhaustive here.
如此,在根据相交点确定相交面属于目标平面的情况下,根据目标平面与虚拟对象的第五形态对应关系,确定虚拟对象对应的目标形态为与该目标平面对应的平面形态,使虚拟对象对应的目标形态与该目标平面对应的平面形态相适应,进而有助于提高虚拟对象与真实场景下目标对象的匹配度,从而提升虚实结合的显示效果。In this way, when it is determined based on the intersection point that the intersecting surface belongs to the target plane, based on the fifth form correspondence between the target plane and the virtual object, the target form corresponding to the virtual object is determined to be the plane form corresponding to the target plane, so that the virtual object corresponds The target shape is adapted to the plane shape corresponding to the target plane, which helps to improve the matching between the virtual object and the target object in the real scene, thereby improving the display effect of combining virtual and real objects.
在一些可能的实施方式中,根据形态对应关系,结合相交关系,确定虚拟对象对应的目标形态,包括:在射线与目标对象未相交的情况下,根据形态对应关系中的第六形态对应关系,确定虚拟对象对应的目标形态为与预定义形状对应的预定义形态。In some possible implementations, determining the target form corresponding to the virtual object based on the form correspondence relationship and the intersection relationship includes: when the ray does not intersect the target object, based on the sixth form correspondence relationship in the form correspondence relationship, The target form corresponding to the virtual object is determined to be a predefined form corresponding to the predefined shape.
这里,第六形态对应关系是虚拟对象与预定义形状之间的对应关系。这里,虚拟对象包括但不限于应用图标、应用所展示具体内容等。示例性的,虚拟对象C与预定义形状c相对应,虚拟对象D与预定义形状d相对应。Here, the sixth form correspondence is the correspondence between the virtual object and the predefined shape. Here, virtual objects include but are not limited to application icons, specific content displayed by the application, etc. For example, the virtual object C corresponds to the predefined shape c, and the virtual object D corresponds to the predefined shape d.
这里,预定义形状包括但不限于云朵形状、彩虹形状、建筑物形状、动物形状、植物形状等。Here, the predefined shapes include but are not limited to cloud shapes, rainbow shapes, building shapes, animal shapes, plant shapes, etc.
示例性的,若预定义形状为云朵形状,则虚拟对象的目标形态为云朵形态;若预定义形状为动物形 状,则虚拟对象的目标形态为动物形态。以上仅为示例性说明,不作为对虚拟对象与预定义形状之间的对应关系全部可能的类型的限定,只是这里不做穷举。For example, if the predefined shape is a cloud shape, then the target shape of the virtual object is a cloud shape; if the predefined shape is an animal shape, then the target shape of the virtual object is an animal shape. The above is only an illustrative description, and does not serve as a limitation on all possible types of correspondences between virtual objects and predefined shapes, but is not exhaustive here.
如此,真实场景中不存在目标空间或目标平面的情况下,根据第六形态对应关系,确定虚拟对象对应的目标形态为与预定义形状对应的预定义形态,使虚拟对象对应的目标形态和预定义形态相符合,进而有助于提高虚拟对象的可塑性,从而提升虚实结合的显示效果。In this way, when there is no target space or target plane in the real scene, according to the sixth form correspondence relationship, the target form corresponding to the virtual object is determined to be the predefined form corresponding to the predefined shape, so that the target form corresponding to the virtual object is consistent with the predefined shape. The defined forms are consistent, which in turn helps to improve the plasticity of virtual objects, thereby improving the display effect of combining virtual and real objects.
在一些实施例中,该显示方法还可以包括:识别出目标对象在真实场景中的显示参数;根据该显示参数,调整虚拟对象对应的目标形态。这里,显示参数可包括目标对象的显示尺寸、显示效果中的至少一种。In some embodiments, the display method may further include: identifying the display parameters of the target object in the real scene; and adjusting the target form corresponding to the virtual object according to the display parameters. Here, the display parameters may include at least one of a display size and a display effect of the target object.
这里,显示尺寸可以理解为用于确定物体的大小的定形尺寸。以目标对象为桌面为例,目标对象的显示尺寸为桌面的长、宽尺寸。以目标对象为室内为例,目标对象的显示尺寸为室内的长、宽、高尺寸。需要说明的是,这里的目标对象的显示尺寸,是电子设备的显示组件所显示的目标对象的尺寸。Here, the display size can be understood as the fixed size used to determine the size of the object. Taking the target object as the desktop as an example, the display size of the target object is the length and width of the desktop. Taking the target object indoors as an example, the display size of the target object is the length, width, and height dimensions of the room. It should be noted that the display size of the target object here is the size of the target object displayed by the display component of the electronic device.
这里,显示效果可以理解为显示风格。比如写实风格、抽象风格、冷色调风格、暖色调风格等。需要说明的是,这里的目标对象的显示效果,是电子设备的显示组件所显示的目标对象的显示效果。Here, the display effect can be understood as the display style. For example, realistic style, abstract style, cool color style, warm color style, etc. It should be noted that the display effect of the target object here is the display effect of the target object displayed by the display component of the electronic device.
一些示例中,调整虚拟对象对应的目标形态,包括:调整虚拟对象的显示尺寸、显示效果中的至少一种。In some examples, adjusting the target form corresponding to the virtual object includes: adjusting at least one of the display size and display effect of the virtual object.
一些示例中,调整虚拟对象的显示尺寸,可以是针对目标对象(如目标平面)的显示尺寸而言的。示例性的,目标对象的显示尺寸与目标形态的虚拟对象的显示尺寸,具有一定比例关系。比如,当目标对象为天花板或地面时,虚拟对象的尺寸(或大小)与目标对象的尺寸(或大小)的比例关系为1:1。又比如,当目标对象为桌面或墙面时,虚拟对象的尺寸与目标对象的尺寸的比例关系为m:1,m小于1。需要说明的是,可结合虚拟对象的特征,确定该比例关系。比如,虚拟对象为音箱时,音箱应小于目标对象(桌面)。又比如,虚拟对象为日历时,日历可小于或等于目标对象(墙面)。In some examples, adjusting the display size of the virtual object may be based on the display size of the target object (such as the target plane). For example, the display size of the target object has a certain proportional relationship with the display size of the virtual object in the target form. For example, when the target object is the ceiling or the floor, the proportional relationship between the size (or size) of the virtual object and the size (or size) of the target object is 1:1. For another example, when the target object is a desktop or a wall, the proportional relationship between the size of the virtual object and the size of the target object is m:1, and m is less than 1. It should be noted that the proportional relationship can be determined based on the characteristics of the virtual object. For example, when the virtual object is a speaker, the speaker should be smaller than the target object (desktop). For another example, when the virtual object is a calendar, the calendar can be smaller than or equal to the target object (wall).
一些示例中,调整虚拟对象的显示尺寸,还可以是针对目标对象(如目标空间)的显示尺寸而言的。示例性的,目标对象的显示尺寸与目标形态的虚拟对象的显示尺寸,具有一定比例关系。比如,当目标对象为屋内时,虚拟对象的显示尺寸与目标对象的显示尺寸的比例关系为n1:1,n1小于1。又比如,当目标对象为屋外时,虚拟对象的显示尺寸与目标对象的显示尺寸的比例关系为n2:1,n2小于1,n2大于n1。需要说明的是,可结合虚拟对象的特征,确定该比例关系。比如,虚拟对象为云朵时,云朵应小于屋内面积。又比如,虚拟对象为建筑物时,建筑物可小于或等于屋外空间。In some examples, adjusting the display size of the virtual object may also be based on the display size of the target object (such as the target space). For example, the display size of the target object has a certain proportional relationship with the display size of the virtual object in the target form. For example, when the target object is inside a house, the proportional relationship between the display size of the virtual object and the display size of the target object is n1:1, and n1 is less than 1. For another example, when the target object is outside the house, the proportional relationship between the display size of the virtual object and the display size of the target object is n2:1, n2 is less than 1, and n2 is greater than n1. It should be noted that the proportional relationship can be determined based on the characteristics of the virtual object. For example, when the virtual object is a cloud, the cloud should be smaller than the indoor area. For another example, when the virtual object is a building, the building can be smaller than or equal to the outdoor space.
一些示例中,调整虚拟对象的显示效果,可以是针对目标对象的显示风格而言的。示例性的,调整虚拟对象的显示效果,包括:根据目标对象的显示风格调整虚拟对象的显示风格,以使目标对象的显示风格与虚拟对象的显示风格相统一。比如,若目标对象的显示风格为写实风格,则将虚拟对象的显示风格也调整为写实风格。又示例性的,调整虚拟对象的显示效果,包括:根据目标对象的显示风格调整虚拟对象的显示风格,以使目标对象的显示风格与虚拟对象的显示风格形成反差。比如,若目标对象的显示风格为冷色风格,则将虚拟对象的显示风格调整为暖色风格。In some examples, adjusting the display effect of the virtual object may be based on the display style of the target object. For example, adjusting the display effect of the virtual object includes: adjusting the display style of the virtual object according to the display style of the target object, so that the display style of the target object is consistent with the display style of the virtual object. For example, if the display style of the target object is a realistic style, then the display style of the virtual object is also adjusted to a realistic style. As another example, adjusting the display effect of the virtual object includes: adjusting the display style of the virtual object according to the display style of the target object, so that the display style of the target object contrasts with the display style of the virtual object. For example, if the display style of the target object is a cool color style, adjust the display style of the virtual object to a warm color style.
如此,根据目标对象在真实场景中的显示参数,调整虚拟对象对应的目标形态,能使虚拟对象对应的目标形态与目标平面对应的显示参数相适应,进而有助于提高虚拟对象与真实场景下目标对象的匹配度,从而提升虚实结合的显示效果。In this way, adjusting the target form corresponding to the virtual object according to the display parameters of the target object in the real scene can make the target form corresponding to the virtual object adapt to the display parameters corresponding to the target plane, which in turn helps to improve the relationship between the virtual object and the real scene. The matching degree of the target object, thereby improving the display effect of combining virtual and real objects.
在一些实施例中,根据真实场景和虚拟场景进行图像渲染,包括:采集真实场景中的第一实景图像;将第一实景图像与虚拟场景中待显示的虚拟对象进行图像渲染,得到虚拟对象与第一实景图像对应的目标形态。In some embodiments, performing image rendering based on the real scene and the virtual scene includes: collecting the first real scene image in the real scene; performing image rendering on the first real scene image and the virtual object to be displayed in the virtual scene to obtain the virtual object and the virtual scene. The target form corresponding to the first real scene image.
这里,通过电子设备的图像采集器如摄像组件,采集第一实景图像。Here, the first real scene image is collected through an image collector of the electronic device, such as a camera component.
在一些可能的实施方式中,在第一实景图像为目标空间的情况下,虚拟对象与第一实景图像对应的目标形态为空间形态。示例性的,第一实景图像为室外,则虚拟对象为立体形态,如云朵形态。又示例性的,第一实景图像为桌子,则虚拟对象为立体形态,如摆件形态。In some possible implementations, when the first real-scene image is the target space, the target form of the virtual object corresponding to the first real-scene image is the spatial form. For example, if the first real scene image is outdoors, the virtual object is in a three-dimensional form, such as a cloud form. For example, if the first real-scene image is a table, the virtual object is in a three-dimensional form, such as an ornament.
在一些可能的实施方式中,在第一实景图像为目标平面的情况下,虚拟对象与第一实景图像对应的目标形态为平面形态。示例性的,第一实景图像为墙面,则虚拟对象为平面形态,如壁画形态。又示例性的,第一实景图像为地面,则虚拟对象为平面形态,如地毯形态。In some possible implementations, when the first real-scene image is a target plane, the target form of the virtual object corresponding to the first real-scene image is a planar form. For example, if the first real-scene image is a wall, the virtual object is in a planar form, such as a mural form. In another example, if the first real-scene image is the ground, the virtual object is in a plane shape, such as a carpet shape.
在一些可能的实施方式中,将第一实景图像与虚拟场景中待显示的虚拟对象进行图像渲染,得到虚拟对象与第一实景图像对应的目标形态,包括:根据从第一实景图像提取的三维信息,确定虚拟对象的三维信息;基于虚拟对象的三维信息创建虚拟对象,得到虚拟对象的与第一实景图像对应的目标形态。In some possible implementations, image rendering is performed on the first real scene image and the virtual object to be displayed in the virtual scene to obtain the target form corresponding to the virtual object and the first real scene image, including: based on the three-dimensional image extracted from the first real scene image. information to determine the three-dimensional information of the virtual object; create a virtual object based on the three-dimensional information of the virtual object, and obtain the target form of the virtual object corresponding to the first real scene image.
在一些可能的实施方式中,将第一实景图像与虚拟场景中待显示的虚拟对象进行图像渲染,得到虚拟对象与第一实景图像对应的目标形态,包括:获取虚拟对象的初始三维信息,创建虚拟对象;根据从 第一实景图像提取的三维信息,调整虚拟对象的大小和位置,得到虚拟对象的与第一实景图像对应的目标形态。In some possible implementations, image rendering is performed on the first real-scene image and the virtual object to be displayed in the virtual scene to obtain the target form corresponding to the virtual object and the first real-scene image, including: obtaining the initial three-dimensional information of the virtual object, creating Virtual object; adjust the size and position of the virtual object according to the three-dimensional information extracted from the first real-scene image, and obtain the target form of the virtual object corresponding to the first real-scene image.
需要说明的是,图像渲染方式并不限于以上几种方式,具有图像渲染处理功能的图像渲染方式,即可用于图像渲染,以得到与第一实景图像对应的目标形态的虚拟对象。It should be noted that the image rendering method is not limited to the above methods. An image rendering method with an image rendering processing function can be used for image rendering to obtain a virtual object in a target form corresponding to the first real scene image.
如此,能使虚拟对象对应的目标形态与真实场景中的第一实景图像相适应,进而有助于提高虚拟场景与真实场景的匹配度,从而提升虚实结合的显示效果。In this way, the target form corresponding to the virtual object can be adapted to the first real scene image in the real scene, thereby helping to improve the matching degree between the virtual scene and the real scene, thereby improving the display effect of combining virtual and real scenes.
在一些示例中,显示虚拟对象对应的目标形态,包括:配置在显示设备的显示区域显示至少一个图像。这里,至少一个图像包括:虚拟对象对应的目标形态。In some examples, displaying the target form corresponding to the virtual object includes: configuring to display at least one image in a display area of the display device. Here, at least one image includes: a target form corresponding to the virtual object.
这里,显示设备可以是具有虚实显示功能的设备。示例性,显示设备可以是头戴式显示设备,如AR眼镜、AR头盔等。Here, the display device may be a device with a virtual and real display function. For example, the display device may be a head-mounted display device, such as AR glasses, AR helmet, etc.
这里,图像包括:二维图像和三维图像至少一种。Here, the image includes: at least one of a two-dimensional image and a three-dimensional image.
示例性的,在显示区域显示虚拟物体的二维图像,同时,还显示有目标物体的二维图像或三维图像。For example, the two-dimensional image of the virtual object is displayed in the display area, and at the same time, the two-dimensional image or the three-dimensional image of the target object is also displayed.
又示例性的,在显示区域显示虚拟物体的三维图像,同时,还显示有目标物体的二维图像或三维图像。In another example, the three-dimensional image of the virtual object is displayed in the display area, and at the same time, the two-dimensional image or the three-dimensional image of the target object is also displayed.
如此,能够在真实场景的目标对象的第一位置处,显示虚拟对象对应的目标形态,使虚拟对象对应的目标形态与真实场景中的目标对象相适应,进而有助于提高虚拟场景与真实场景的融合度,从而提升虚实结合的显示效果。In this way, the target form corresponding to the virtual object can be displayed at the first position of the target object in the real scene, so that the target form corresponding to the virtual object can adapt to the target object in the real scene, thereby helping to improve the relationship between the virtual scene and the real scene. The degree of integration improves the display effect of virtual and real combination.
在一些实施例中,该显示方法还可包括:响应于接收到将虚拟对象从第一目标对象移动至第二目标对象的切换指令,将虚拟对象的目标形态由在第一目标对象上显示的第一目标形态变更成在第二目标对象上显示的第二目标形态。如图9所示,处理步骤可包括:In some embodiments, the display method may further include: in response to receiving a switching instruction to move the virtual object from the first target object to the second target object, changing the target form of the virtual object from the one displayed on the first target object. The first target form is changed to a second target form displayed on the second target object. As shown in Figure 9, the processing steps may include:
S901:响应于将虚拟对象从第一目标对象的第一位置移动至第二目标对象的第二位置的切换指令,确定在虚拟场景中虚拟对象对应的第二目标形态;S901: In response to the switching instruction of moving the virtual object from the first position of the first target object to the second position of the second target object, determine the second target form corresponding to the virtual object in the virtual scene;
S902:在第二目标对象的第二位置显示虚拟对象对应的第二目标形态。S902: Display the second target form corresponding to the virtual object at the second position of the second target object.
一些示例中,上述的S901和S902可以在S203之后执行。In some examples, the above-mentioned S901 and S902 may be executed after S203.
这里,切换指令可通过电子设备发出,如电子设备在接收到用户的语音切换指令信息后,输出切换指令。切换指令也可通过与电子设备连接的控制器如手柄发出,如手柄从第一方向被移动至第二方向,输出切换指令,第二方向与第一方向不同。Here, the switching instruction can be issued through the electronic device. For example, the electronic device outputs the switching instruction after receiving the user's voice switching instruction information. The switching command can also be issued through a controller connected to the electronic device, such as a handle. If the handle is moved from the first direction to the second direction, the switching command is output, and the second direction is different from the first direction.
示例性的,第一目标对象是墙面,第二目标对象是桌面或地面。又示例性的,第一目标对象是室内,第二目标对象是室外。For example, the first target object is the wall, and the second target object is the tabletop or the ground. In another example, the first target object is indoors, and the second target object is outdoor.
图10示出了天气应用从第一位置切换至第二位置的示意图,如图10所示,在目标对象为墙面时,天气应用呈现挂件式形态;将天气应用从墙面移动至桌面时,在桌面上,天气应用呈现摆件式形态。可以看出,天气应用移动到不同的位置后,能顺着空间或平面语义的变化而改变其形态。虚拟物体或应用的呈现方式通过相交点处得到的平面语义(如是桌面还是墙面)的结果变化而变化。同时,呈现的效果(如大小)通过识别到的平面的大小变化而变化。应理解,图10所示的切换仅为示例性说明,不作为对切换的类型和呈现形态的类型的限定,只是这里不做穷举。Figure 10 shows a schematic diagram of the weather application switching from the first position to the second position. As shown in Figure 10, when the target object is a wall, the weather application takes on a pendant form; when the weather application is moved from the wall to the desktop , on the desktop, the weather application takes the form of a decoration. It can be seen that after the weather application is moved to different locations, it can change its shape according to the changes in spatial or plane semantics. The presentation of a virtual object or application changes as a result of the plane semantics obtained at the intersection point (such as a desktop or a wall). At the same time, the effect of the presentation (such as size) changes by changing the size of the recognized plane. It should be understood that the switching shown in FIG. 10 is only an exemplary illustration and is not intended to limit the types of switching and presentation forms, but is not exhaustive here.
如此,在目标对象的位置发生变化时,虚拟物体的形态也跟随发生变化,虚拟物体的形态能随现实世界的空间性质/平面性质的不同呈现不同的形式,虚拟物体的呈现形式更符合现实世界的物理性质,不仅丰富了虚拟对象的呈现形态,也丰富了显示的多样性。In this way, when the position of the target object changes, the form of the virtual object also changes accordingly. The form of the virtual object can take on different forms depending on the spatial properties/planar properties of the real world. The presentation form of the virtual object is more in line with the real world. The physical properties of virtual objects not only enrich the presentation form of virtual objects, but also enrich the display diversity.
在一些实施例中,该显示方法还可包括:在虚拟对象从第一目标对象移动至第二目标对象的过程中,显示虚拟对象的第三目标形态,该第三目标形态是第一目标形态与第二目标形态的中间形态。如图11所示,处理步骤可包括:In some embodiments, the display method may further include: displaying a third target form of the virtual object during the movement of the virtual object from the first target object to the second target object, and the third target form is the first target form. The intermediate form with the second target form. As shown in Figure 11, processing steps may include:
S1101:生成虚拟对象的第三目标形态,该第三目标形态是第一目标形态与第二目标形态的中间形态;S1101: Generate a third target form of the virtual object, which is an intermediate form between the first target form and the second target form;
S1102:在该虚拟对象从第一目标对象的第一位置移动至第二目标对象的第二位置的过程中,显示该第三目标形态。S1102: Display the third target form while the virtual object moves from the first position of the first target object to the second position of the second target object.
一些示例中,上述的S1101和S1102可以在S901之后且S902之前执行。In some examples, the above-mentioned S1101 and S1102 may be executed after S901 and before S902.
这里,第三目标形态是不同于第一目标形态和第二目标形态的另一种目标形态。示例性的,第三目标形态是与第一目标形态或第二目标形态相关的形态,如在第一目标形态或第二目标形态基础上,通过变形得到的形态。又示例性的,第三目标形态也可以是与第一目标形态和第二目标形态不相关的形态,如预先设置好的形态。Here, the third target form is another target form different from the first target form and the second target form. For example, the third target form is a form related to the first target form or the second target form, such as a form obtained by deformation based on the first target form or the second target form. As another example, the third target form may also be a form that is not related to the first target form and the second target form, such as a preset form.
在一些可能的实施方式中,生成虚拟对象的第三目标形态,包括:根据第一目标形态与第二目标形 态,生成第三目标形态。如此,使得第三目标形态与第一目标形态和第二目标形态均相关。In some possible implementations, generating a third target form of the virtual object includes: generating a third target form based on the first target form and the second target form. In this way, the third target form is related to both the first target form and the second target form.
在另一些可能的实施方式中,生成虚拟对象的第三目标形态,包括:基于第一目标形态进行变形,得到第三目标形态。如此,使得第三目标形态在第一目标形态的基础上发生形变,在移动至第二位置时,才显示第二目标形态。在另一些可能的实施方式中,生成虚拟对象的第三目标形态,包括:基于第二目标形态进行变形,得到第三目标形态。如此,使得第三目标形态在第二目标形态的基础上发生形变,在移动至第二位置时,才显示第二目标形态,从而使得在移动过程中显示与第二目标形态相关的形态。In other possible implementations, generating the third target form of the virtual object includes: deforming based on the first target form to obtain the third target form. In this way, the third target form is deformed based on the first target form, and the second target form is displayed only when it moves to the second position. In other possible implementations, generating the third target form of the virtual object includes: deforming based on the second target form to obtain the third target form. In this way, the third target form is deformed based on the second target form, and the second target form is displayed only when it moves to the second position, so that the form related to the second target form is displayed during the movement.
在又一些可能的实施方式中,生成虚拟对象的第三目标形态,包括:从预设的第三目标形态集合中,选择一个第三目标形态集合作为虚拟对象的第三目标形态。如此,能快速获取并呈现预先设置好的第三目标形态。In still some possible implementations, generating the third target form of the virtual object includes: selecting a third target form set from a preset third target form set as the third target form of the virtual object. In this way, the preset third target form can be quickly obtained and presented.
如此,在虚拟对象从第一目标对象移动到第二目标对象过程中呈现中间形态,进一步丰富了虚拟对象的呈现形态,也丰富了显示的多样性。In this way, the virtual object takes on an intermediate form while moving from the first target object to the second target object, which further enriches the presentation form of the virtual object and also enriches the display diversity.
本申请实施例提供了一种显示装置。该显示装置可以通过软件、硬件或者两者的结合实现成为终端设备的全部或一部分。图12示出了显示装置的结构框图,如图12所示,该显示装置包括:第一确定单元1210,被配置为检测真实场景中的目标对象;第二确定单元1220,被配置为根据目标对象与在虚拟场景中待显示的虚拟对象之间的形态对应关系,确定虚拟对象对应的目标形态;控制单元1230,被配置为根据真实场景和虚拟场景进行图像渲染,显示虚拟对象对应的目标形态。An embodiment of the present application provides a display device. The display device can be implemented as all or part of the terminal device through software, hardware, or a combination of both. Figure 12 shows a structural block diagram of a display device. As shown in Figure 12, the display device includes: a
这里,目标对象包括目标空间或目标平面。Here, the target object includes a target space or a target plane.
在一些示例中,虚拟场景包括:AR场景、MR场景中的任意一种。In some examples, the virtual scene includes any of AR scenes and MR scenes.
在一些示例中,该第二确定单元1220,被配置为若虚拟对象待显示于第一目标对象的第一位置,则确认待显示的虚拟对象为第一目标形态;若虚拟对象待显示于第二目标对象的第一位置,则确认待显示的虚拟对象为第二目标形态。其中,第一目标形态与第二目标形态不同。In some examples, the second determining
在一些示例中,该第二确定单元1220,被配置为若目标对象的属性为三维形态,则根据形态对应关系中的第一形态对应关系,确定虚拟对象对应的目标形态为三维形态。In some examples, the
在一些示例中,该第二确定单元1220,被配置为若目标对象的属性为二维形态,则根据形态对应关系中的第二形态对应关系,确定虚拟对象对应的目标形态为二维形态。In some examples, the
在一些示例中,该第二确定单元1220,被配置为根据形态对应关系中的第三形态对应关系,确定虚拟对象对应的目标形态为与预定义形状对应的预定义形态。In some examples, the second determining
在一些示例中,该显示装置还可包括:发射单元1240(图中未示出),被配置为发射射线。In some examples, the display device may further include an emission unit 1240 (not shown in the figure) configured to emit rays.
在一些示例中,该显示装置还可包括:第三确定单元1250(图中未示出),被配置为响应于射线的发射操作,当射线与真实场景中的目标对象显示相交时,确认目标对象对应的第一位置。In some examples, the display device may further include: a third determination unit 1250 (not shown in the figure) configured to, in response to the emission operation of the ray, confirm the target when the ray intersects with the target object in the real scene. The first position corresponding to the object.
在一些示例中,该第三确定单元1250,还被配置为响应于射线的发射操作,得到射线与目标对象之间的相交关系。In some examples, the third determination unit 1250 is further configured to obtain the intersection relationship between the ray and the target object in response to the emission operation of the ray.
在一些示例中,该第三确定单元1250,被配置为在射线作被配置为目标对象的情况下,确定射线与目标对象之间的相交关系为:相交。In some examples, the third determining unit 1250 is configured to determine that the intersection relationship between the ray and the target object is: intersection when the ray operation is configured as the target object.
在一些示例中,该第三确定单元1250,被配置为在射线未作被配置为目标对象的情况下,确定射线与目标对象之间的相交关系为:不相交。In some examples, the third determination unit 1250 is configured to determine that the intersection relationship between the ray and the target object is: no intersection when the ray is not configured as the target object.
在一些示例中,该第二确定单元1220,被配置为:在射线与目标对象相交的情况下,得到目标对象与射线的相交点;识别出相交点所在相交面为空间属性,确定相交面属于目标空间;根据形态对应关系中的第四形态对应关系,确定虚拟对象对应的目标形态为与目标空间对应的三维形态。In some examples, the
在一些示例中,该第二确定单元1220,被配置为:在射线与目标对象相交的情况下,得到目标对象与射线的相交点;识别出相交点所在的相交面属于平面属性,确定相交面属于目标平面;根据形态对应关系中的第五形态对应关系,确定虚拟对象对应的目标形态为与目标平面对应的二维形态。In some examples, the
在一些示例中,该第二确定单元1220,被配置为:在射线与目标对象不相交的情况下,根据形态对应关系中的第六形态对应关系,确定虚拟对象对应的目标形态为与预定义形状对应的预定义形态。In some examples, the
在一些示例中,该显示装置还包括:识别单元1260(图中未示出),被配置为识别出目标对象在真实场景中的显示参数;调整单元1270,被配置为根据显示参数,调整虚拟对象对应的目标形态。这里,显示参数包括:目标对象的显示尺寸、显示效果中的至少一种。In some examples, the display device further includes: a recognition unit 1260 (not shown in the figure), configured to recognize the display parameters of the target object in the real scene; an adjustment unit 1270, configured to adjust the virtual display parameters according to the display parameters. The target form corresponding to the object. Here, the display parameters include: at least one of a display size and a display effect of the target object.
在一些示例中,该控制单元1230,包括:采集子单元,被配置为采集真实场景中的第一实景图像;渲染子单元,被配置为将第一实景图像与虚拟场景中待显示的虚拟对象进行图像渲染,得到虚拟对象与第一实景图像对应的目标形态。In some examples, the
在一些示例中,在第一实景图像为目标空间的情况下,虚拟对象与第一实景图像对应的目标形态为 空间形态。In some examples, when the first real-scene image is the target space, the target form of the virtual object corresponding to the first real-scene image is the spatial form.
在一些示例中,在第一实景图像为目标平面的情况下,虚拟对象与第一实景图像对应的目标形态为平面形态。In some examples, when the first real-scene image is a target plane, the target form of the virtual object corresponding to the first real-scene image is a planar form.
在一些示例中,该控制单元1230,包括:配置子单元,被配置为配置在显示设备的显示区域显示至少一个图像。这里,至少一个图像包括:虚拟对象对应的目标形态。In some examples, the
在一些示例中,该控制单元1230,还被配置为响应于将虚拟对象从第一目标对象移动至第二目标对象的切换指令,将虚拟对象的目标形态由在第一目标对象上显示的第一目标形态变更成在第二目标对象上显示的第二目标形态。In some examples, the
在一些示例中,该控制单元1230,还被配置为在虚拟对象从第一目标对象移动至第二目标对象的过程中,显示虚拟对象的第三目标形态,第三目标形态是第一目标形态与第二目标形态的中间形态。In some examples, the
本领域技术人员应当理解,本申请实施例的显示装置中各处理模块的功能,可参照前述显示方法的相关描述而理解,本申请实施例的显示装置中各处理模块,可通过实现本申请实施例所述的功能的模拟电路而实现,也可以通过执行本申请实施例所述的功能的软件在电子设备上的运行而实现。Those skilled in the art should understand that the functions of each processing module in the display device according to the embodiment of the present application can be understood with reference to the relevant description of the foregoing display method. Each processing module in the display device according to the embodiment of the present application can be implemented by implementing the present application. The functions described in the embodiments of this application are realized by using analog circuits, or they can also be realized by running software on electronic devices that perform the functions described in the embodiments of this application.
本申请实施例的显示装置,使呈现出的虚拟对象对应的目标形态,能跟随目标对象的变化而发生变化,丰富了虚拟对象对应的目标形态的多样性,进而能提高虚拟对象在真实场景中的显示效果。The display device of the embodiment of the present application enables the displayed target form corresponding to the virtual object to change following the change of the target object, enriches the diversity of the target form corresponding to the virtual object, and thereby improves the performance of the virtual object in the real scene. display effect.
本申请实施例提供了一种显示设备,可供用户穿戴,图13示出了显示设备的结构框图,如图13所示,该显示设备包括:包括第一传感单元1310、处理单元1320、显示单元1330,其中,第一传感单元1310,被配置为发射激光;处理单元1320,被配置为根据目标对象与在虚拟场景中待显示的虚拟对象之间的形态对应关系,确定虚拟对象对应的目标形态;显示单元1330,被配置为根据真实场景和虚拟场景进行图像渲染,显示虚拟对象对应的目标形态。The embodiment of the present application provides a display device that can be worn by users. Figure 13 shows a structural block diagram of the display device. As shown in Figure 13, the display device includes: a
这里,目标对象包括目标空间或目标平面。Here, the target object includes a target space or a target plane.
在一些示例中,第一传感单元1310可以是激光传感器。In some examples,
在一些示例中,该显示设备可包括如下至少之一:被配置为显示增强现实场景或显示虚拟现实场景的一对眼镜;被配置为显示增强现实场景或显示虚拟现实场景的头戴式显示器。In some examples, the display device may include at least one of the following: a pair of glasses configured to display an augmented reality scene or a virtual reality scene; a head-mounted display configured to display an augmented reality scene or a virtual reality scene.
在一些示例中,该显示单元1330,被配置为在显示区域上显示至少一个虚拟对象。这里,至少一个虚拟对象的类型包括:应用或应用中的应用内容。In some examples, the
在一些示例中,该处理单元1320,被配置为若目标对象的属性为三维形态,则根据形态对应关系中的第一形态对应关系,确定虚拟对象对应的目标形态为三维形态。In some examples, the
在一些示例中,该处理单元1320,被配置为若目标对象的属性为二维形态,则根据形态对应关系中的第二形态对应关系,确定虚拟对象对应的目标形态为二维形态。In some examples, the
在一些示例中,该处理单元1320,被配置为根据形态对应关系中的第三形态对应关系,确定虚拟对象对应的目标形态为与预定义形状对应的预定义形态。In some examples, the
在一些示例中,第一传感单元1310,被配置为响应针对该至少一个虚拟对象的选取操作,发射射线。In some examples, the
在一些示例中,该处理单元1320,还被配置为响应于射线的发射操作,当射线与真实场景中的目标对象显示相交时,确认目标对象对应的第一位置。In some examples, the
在一些示例中,该处理单元1320,被配置为若射线与目标对象之间存在相交点,则将相交点确认为目标对象对应的第一位置;若射线与目标对象之间不存在相交点,则将射线上距离目标对象最近的点确认为目标对象对应的第一位置。In some examples, the
在一些示例中,该处理单元1320,被配置为在射线作被配置为目标对象的情况下,确定射线与目标对象之间的相交关系为:相交。In some examples, the
在一些示例中,该处理单元1320,被配置为射线未作被配置为目标对象的情况下,确定射线与目标对象之间的相交关系为:不相交。In some examples, the
在一些示例中,该处理单元1320,被配置为:在射线与目标对象相交的情况下,得到目标对象与射线的相交点;若识别出相交点所在相交面为空间属性,则确定相交面属于目标空间;根据形态对应关系中的第四形态对应关系,确定应用或应用中的应用内容为与目标空间对应的三维形态。In some examples, the
在一些示例中,该处理单元1320,被配置为:在射线与目标对象相交的情况下,得到目标对象与射线的相交点;若识别出相交点所在的相交面属于平面属性,则确定相交面属于目标平面;根据形态对应关系中的第五形态对应关系,确定应用或应用中的应用内容为与目标平面对应的二维形态。In some examples, the
在一些示例中,该处理单元1320,被配置为:在射线与目标对象不相交的情况下,根据形态对应关系中的第六形态对应关系,确定应用或应用中的应用内容为与预定义形状对应的预定义形态。In some examples, the
在一些示例中,该处理单元1320,被配置为:识别出目标对象在真实场景中的显示参数;根据显示参数,调整虚拟对象对应的目标形态。这里,显示参数可包括:目标对象的显示尺寸、显示效果中的至少一种。In some examples, the
在一些示例中,该显示设备还包括:第二传感单元1340(图中未示出),被配置为采集真实场景中的第一实景图像。该显示单元1330,被配置为将第一实景图像与虚拟场景中待显示的应用或应用中的应用内容进行图像渲染,得到应用或应用中的应用内容与第一实景图像对应的目标形态。In some examples, the display device further includes: a second sensing unit 1340 (not shown in the figure) configured to collect the first real scene image in the real scene. The
在一些示例中,该第二传感单元1340可以是采集器,如摄像头。In some examples, the second sensing unit 1340 may be a collector, such as a camera.
在一些示例中,第一实景图像为目标空间的情况下,应用或应用中的应用内容与第一实景图像对应的目标形态为空间形态。In some examples, when the first real-scene image is the target space, the target form corresponding to the application or the application content in the application and the first real-scene image is the spatial form.
在一些示例中,第一实景图像为目标平面的情况下,应用或应用中的应用内容与第一实景图像对应的目标形态为平面形态。In some examples, when the first real-scene image is a target plane, the target form corresponding to the application or the application content in the application and the first real-scene image is a planar form.
在一些示例中,该处理单元1320,被配置为:配置在显示设备的显示区域显示至少一个图像。这里,至少一个图像包括:虚拟对象对应的目标形态。In some examples, the
在一些示例中,该显示设备还包括切换单元1340,该切换单元1340被配置为:响应于将虚拟对象从第一目标对象的第一位置移动至第二目标对象的第二位置的切换指令,确定在虚拟场景中虚拟对象对应的第二目标形态。该显示单元1330,还被配置为在第二目标对象的第二位置显示虚拟对象对应的第二目标形态。In some examples, the display device further includes a switching unit 1340 configured to: in response to a switching instruction to move the virtual object from a first position of the first target object to a second position of the second target object, Determine the second target form corresponding to the virtual object in the virtual scene. The
在一些示例中,该显示设备还可包括:生成单元1350(图中未示出),被配置为生成虚拟物体的第三目标形态,该第三目标形态是第一目标形态与第二目标形态的中间形态。该显示单元1330,还被配置为在虚拟对象从第一目标对象的第一位置移动至第二目标对象的第二位置的过程中,显示第三目标形态。In some examples, the display device may further include: a generating unit 1350 (not shown in the figure) configured to generate a third target form of the virtual object, the third target form being the first target form and the second target form. intermediate form. The
本申请实施例的显示设备,使呈现出的虚拟对象对应的目标形态,能跟随目标对象的变化而发生变化,丰富了虚拟对象对应的目标形态的多样性,进而能提高虚拟对象在真实场景中的显示效果。The display device of the embodiment of the present application enables the displayed target form corresponding to the virtual object to change following the change of the target object, enriches the diversity of the target form corresponding to the virtual object, and thereby improves the performance of the virtual object in the real scene. display effect.
本申请实施例还提供了一种头戴式设备,包括处理器、存储器、显示器以及一个或多个程序,该一个或多个程序被存储在该存储器中,并且被配置由该处理器执行,该程序包括被配置为执行上述各实施例的显示方法中的步骤的指令。该头戴式设备包括但不限于智能眼镜、智能头盔等。Embodiments of the present application also provide a head-mounted device, including a processor, a memory, a display, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. The program includes instructions configured to perform steps in the display methods of the above-described embodiments. The head-mounted devices include but are not limited to smart glasses, smart helmets, etc.
图14示出了用来实现本申请实施例显示方法的电子设备的结构框图。其可以实现成为上述实施例中的电子设备,本申请中的电子设备可以包括一个或多个如下部件:处理器1410和存储器1420。Figure 14 shows a structural block diagram of an electronic device used to implement the display method according to the embodiment of the present application. It can be implemented as the electronic device in the above embodiment. The electronic device in this application can include one or more of the following components: a
处理器1410可以包括一个或者多个处理核心。处理器1410利用各种接口和线路连接整个电子设备内的各个部分,通过运行或执行存储在存储器1420内的指令、程序、代码集或指令集,以及调用存储在存储器1420内的数据,执行电子设备的各种功能和处理数据。可选地,处理器1410可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable GateArray,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器1010可集成中央处理器(Central ProcessingUnit,CPU)、图像处理器(Graphics Processing Unit,GPU)、神经网络处理器(Neural-networkProcessingUnit,NPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏所需要显示的内容的渲染和绘制;NPU用于实现人工智能(Artificial Intelligence,AI)功能;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1410中,单独通过一块芯片进行实现。
存储器1420可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选地,该存储器1020包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1420可用于存储指令、程序、代码、代码集或指令集。存储器1420可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本)等。The
本申请实施例中的电子设备还包括摄像组件1430,该摄像组件1430用于采集环境图像。在一种可能的实现方式中,当电子设备为终端时,该摄像组件1430可以是终端的前置摄像头或者后置摄像头;在另一种可能的实现方式中,当电子设备为头盔显示器(Head-MountedDisplay,HMD)时,该摄像组件1430可以是设置在HMD前部的摄像头。The electronic device in the embodiment of the present application also includes a
此外,电子设备还可以包括显示组件1440,该显示组件1440可以包括用于进行画面显示的显示屏,也可以包括用于进行图像投影的投影器件(比如智能眼镜上的投影仪)。In addition, the electronic device may also include a
除此之外,本领域技术人员可以理解,上述附图所示出的电子设备的结构并不构成对电子设备的限 定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,电子设备中还包括射频电路、输入单元、传感器、音频电路、扬声器、麦克风、电源等部件,在此不再赘述。In addition, those skilled in the art can understand that the structure of the electronic device shown in the above drawings does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figures, or a combination of certain components. components, or different component arrangements. For example, electronic equipment also includes radio frequency circuits, input units, sensors, audio circuits, speakers, microphones, power supplies and other components, which will not be described in detail here.
本申请实施例还提供了一种计算机可读存储介质,该存储介质存储有至少一条指令,至少一条指令用于被处理器执行以实现如上述实施例所述的显示方法。Embodiments of the present application also provide a computer-readable storage medium that stores at least one instruction, and at least one instruction is used to be executed by a processor to implement the display method as described in the above embodiments.
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述实施例提供的显示方法。Embodiments of the present application provide a computer program product or computer program. The computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the display method provided by the above embodiment.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should realize that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. Storage media can be any available media that can be accessed by a general purpose or special purpose computer.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.
Claims (19)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210470977.4 | 2022-04-28 | ||
| CN202210470977.4A CN114942737A (en) | 2022-04-28 | 2022-04-28 | Display method, display device, head-mounted device and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023207174A1 true WO2023207174A1 (en) | 2023-11-02 |
Family
ID=82906824
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/141954 Ceased WO2023207174A1 (en) | 2022-04-28 | 2022-12-26 | Display method and apparatus, display device, head-mounted device, and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114942737A (en) |
| WO (1) | WO2023207174A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20240045212A1 (en) * | 2022-08-04 | 2024-02-08 | Samsung Electronics Co., Ltd. | Wearable device, method, and non-transitory computer readable storage medium for displaying visual object indicating weather condition |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114942737A (en) * | 2022-04-28 | 2022-08-26 | Oppo广东移动通信有限公司 | Display method, display device, head-mounted device and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111899350A (en) * | 2020-07-31 | 2020-11-06 | 北京市商汤科技开发有限公司 | Augmented reality AR image presentation method and device, electronic device and storage medium |
| CN113178017A (en) * | 2021-04-28 | 2021-07-27 | 深圳市慧鲤科技有限公司 | AR data display method and device, electronic equipment and storage medium |
| WO2021238145A1 (en) * | 2020-05-26 | 2021-12-02 | 北京市商汤科技开发有限公司 | Generation method and apparatus for ar scene content, display method and apparatus therefor, and storage medium |
| WO2022075686A1 (en) * | 2020-10-06 | 2022-04-14 | 삼성전자 주식회사 | Electronic device and operating method therefor |
| CN114942737A (en) * | 2022-04-28 | 2022-08-26 | Oppo广东移动通信有限公司 | Display method, display device, head-mounted device and storage medium |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140240354A1 (en) * | 2013-02-28 | 2014-08-28 | Samsung Electronics Co., Ltd. | Augmented reality apparatus and method |
| CN111862339A (en) * | 2020-06-30 | 2020-10-30 | 北京市商汤科技开发有限公司 | Virtual label display method, device, equipment and computer readable storage medium |
| CN111862341A (en) * | 2020-07-09 | 2020-10-30 | 北京市商汤科技开发有限公司 | Virtual object driving method and device, display equipment and computer storage medium |
| CN114356089A (en) * | 2021-12-30 | 2022-04-15 | Oppo广东移动通信有限公司 | Augmented reality glasses control method and device, storage medium and electronic equipment |
-
2022
- 2022-04-28 CN CN202210470977.4A patent/CN114942737A/en active Pending
- 2022-12-26 WO PCT/CN2022/141954 patent/WO2023207174A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021238145A1 (en) * | 2020-05-26 | 2021-12-02 | 北京市商汤科技开发有限公司 | Generation method and apparatus for ar scene content, display method and apparatus therefor, and storage medium |
| CN111899350A (en) * | 2020-07-31 | 2020-11-06 | 北京市商汤科技开发有限公司 | Augmented reality AR image presentation method and device, electronic device and storage medium |
| WO2022075686A1 (en) * | 2020-10-06 | 2022-04-14 | 삼성전자 주식회사 | Electronic device and operating method therefor |
| CN113178017A (en) * | 2021-04-28 | 2021-07-27 | 深圳市慧鲤科技有限公司 | AR data display method and device, electronic equipment and storage medium |
| CN114942737A (en) * | 2022-04-28 | 2022-08-26 | Oppo广东移动通信有限公司 | Display method, display device, head-mounted device and storage medium |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20240045212A1 (en) * | 2022-08-04 | 2024-02-08 | Samsung Electronics Co., Ltd. | Wearable device, method, and non-transitory computer readable storage medium for displaying visual object indicating weather condition |
| US12242067B2 (en) * | 2022-08-04 | 2025-03-04 | Samsung Electronics Co., Ltd. | Wearable device, method, and non-transitory computer readable storage medium for displaying visual object indicating weather condition |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114942737A (en) | 2022-08-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11532102B1 (en) | Scene interactions in a previsualization environment | |
| CN113508361B (en) | Device, method and computer readable medium for presenting a computer generated reality file | |
| US20250118034A1 (en) | Location-based virtual element modality in three-dimensional content | |
| CN113544634B (en) | Device, method and graphical user interface for forming a CGR file | |
| CN115191006B (en) | 3D model for displayed 2D elements | |
| US20250104335A1 (en) | Systems and methods of layout and presentation for creative workflows | |
| US20250104367A1 (en) | Systems and methods of layout and presentation for creative workflows | |
| KR101916380B1 (en) | Sound reproduction apparatus for reproducing virtual speaker based on image information | |
| US11462232B1 (en) | Methods and systems for visualizing audio properties of objects | |
| WO2022143322A1 (en) | Augmented reality interaction method and electronic device | |
| CN109725956A (en) | A kind of method and relevant apparatus of scene rendering | |
| WO2023207174A1 (en) | Display method and apparatus, display device, head-mounted device, and storage medium | |
| WO2018086532A1 (en) | Display control method and apparatus for surveillance video | |
| CN115115812A (en) | Virtual scene display method and device and storage medium | |
| US11527046B2 (en) | Real world beacons indicating virtual locations | |
| CN118807200A (en) | Volumetric cloud drawing method, device, electronic equipment and program product | |
| JP2021196805A (en) | Image display method, program, and data generation method | |
| US12154242B1 (en) | Varying snap location densities in an environment | |
| CN118556254A (en) | Image rendering method and device and electronic equipment | |
| US20250190087A1 (en) | Interaction method and apparatus, storage medium, device, and program product |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22939983 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22939983 Country of ref document: EP Kind code of ref document: A1 |