Stereoscopic object display method, electronic device, storage medium and program product
By using a virtual camera to gradually transition from the first pose to the second pose through multiple shots, the problem of low smoothness in the display of 3D objects was solved, resulting in more seamless screen transitions and a more natural user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2026-03-27
AI Technical Summary
In existing technologies, the display of 3D objects is not smooth, the switching of display screens is not seamless, and it is difficult for users to adapt to the overall situation of 3D objects.
By taking multiple shots using a virtual camera that gradually transitions from a first pose to a second pose, images of multiple transitional poses are displayed, simulating changes in the user's field of vision and improving the smoothness and continuity of the display.
It improves the smoothness of displaying 3D objects, reduces the sense of discontinuity in screen transitions, and allows users to understand the overall situation of 3D objects more naturally.
Smart Images

Figure CN121750849A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of computers, and particularly relates to a stereoscopic object display method, an electronic device, a storage medium and a program product. BACKGROUND
[0002] Extended reality (XR) technology is a collective term for virtual reality (VR) technology, augmented reality (AR) technology and mixed reality (MR) technology. Extended reality technology involves the display of stereoscopic objects. In related technologies, a displayable perspective of a stereoscopic object is set in advance, and then after a user selects a display perspective, an electronic device directly displays a picture corresponding to the display perspective selected by the user. However, this has the problem of low smoothness in the display process of the stereoscopic object. SUMMARY
[0003] To solve at least one of the above technical problems, the present disclosure provides a stereoscopic object display method, an electronic device, a storage medium and a program product.
[0004] According to one aspect of the present disclosure, a stereoscopic object display method is provided, including: an electronic device displaying an image obtained by a virtual camera photographing a stereoscopic object at a first pose; the electronic device receiving a user operation, wherein the user operation is used to instruct the electronic device to display an image obtained by the virtual camera photographing the stereoscopic object at a second pose; and in response to the user operation, the electronic device sequentially displays images obtained by the virtual camera photographing the stereoscopic object at multiple third poses during adjustment of the virtual camera from the first pose to the second pose, wherein the third poses are different from the first pose and the second pose, and each of the multiple third poses is different.
[0005] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the first pose includes a first position and a first orientation, the second pose includes a second position and a second orientation, and the third pose includes a third position; the electronic device sequentially displaying images obtained by the virtual camera photographing the stereoscopic object at multiple third poses during adjustment of the virtual camera from the first pose to the second pose includes: in response to the first position being different from the second position and the first orientation being the same as the second orientation, the electronic device sequentially displaying images obtained by the virtual camera photographing the stereoscopic object at multiple third positions during movement of the virtual camera from the first position to the second position with the first orientation.
[0006] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the first pose includes a first position and a first orientation, the second pose includes a second position and a second orientation, and the third pose includes a third orientation; and the electronic device sequentially displays images obtained by the virtual camera capturing the stereoscopic object in a plurality of third poses from the first pose to the second pose, including: in response to the first position being the same as the second position and the first orientation being different from the second orientation, the electronic device sequentially displays images obtained by the virtual camera capturing the stereoscopic object in a plurality of third orientations from the first orientation to the second orientation at the first position.
[0007] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the first pose includes a first position and a first orientation, the second pose includes a second position and a second orientation, and the third pose includes a third position and a third orientation; and the electronic device sequentially displays images obtained by the virtual camera capturing the stereoscopic object in a plurality of third poses from the first pose to the second pose, including: in response to the first position being different from the second position and the first orientation being different from the second orientation, the electronic device sequentially displays images obtained by the virtual camera capturing the stereoscopic object in a plurality of third positions from the first position to the second position at the first orientation, and then sequentially displays images obtained by the virtual camera capturing the stereoscopic object in a plurality of third orientations from the first orientation to the second orientation at the second position; or in response to the first position being different from the second position and the first orientation being different from the second orientation, the electronic device sequentially displays images obtained by the virtual camera capturing the stereoscopic object in a plurality of third orientations from the first orientation to the second orientation at the first position, and then sequentially displays images obtained by the virtual camera capturing the stereoscopic object in a plurality of third positions from the first position to the second position at the second orientation.
[0008] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the plurality of third positions are obtained by interpolating between the first position and the second position.
[0009] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the plurality of third orientations are obtained by interpolating between the first orientation and the second orientation.
[0010] According to the stereoscopic object display method of at least one embodiment of the present disclosure, before the electronic device receives the user operation, the method further includes: the electronic device displaying a first control; and the electronic device receiving the user operation, including: in response to detecting a triggering operation on the first control, the electronic device receiving the user operation, wherein the first control is associated with the second pose.
[0011] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the first control includes a panoramic image entry control and / or a panoramic video entry control; after the electronic device sequentially displays images obtained by the virtual camera adjusting from the first pose to the second pose via a plurality of third poses, the method further includes: the electronic device displaying a panoramic image associated with the triggered panoramic image entry control; or the electronic device playing a panoramic video associated with the triggered panoramic video entry control.
[0012] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the stereoscopic object is a three-dimensional house model, and the panoramic video is a house acceptance video, and the second orientation in the second pose associated with the panoramic video entry control is an orientation towards a house acceptance object.
[0013] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the method further includes: in response to a distance between the first position in the first pose and a second position in the second pose associated with the first control being less than or equal to a distance threshold, the electronic device loading a panoramic image or a panoramic video associated with the first control.
[0014] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the first control includes a first switching control for triggering the electronic device to switch from displaying an internal image of the stereoscopic object to displaying an external image of the stereoscopic object, and the second position in the second pose associated with the first switching control is located outside the stereoscopic object and has the same second orientation as the first orientation.
[0015] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the electronic device receiving the user operation includes: in response to detecting a triggering operation on any position inside the stereoscopic object while the electronic device displays an external image of the stereoscopic object, the electronic device receiving the user operation, and the second position in the second pose is located inside the stereoscopic object and has a horizontal orientation.
[0016] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the electronic device receiving the user operation includes: in response to detecting a triggering operation on a preset position in the displayed image, the electronic device receiving the user operation, wherein the preset position is associated with the second pose.
[0017] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the second position in the second pose associated with the preset position is inside the stereoscopic object and the second orientation is the same as the first orientation.
[0018] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the electronic device receives a user operation, including: in response to detecting a zoom-out operation or a zoom-in operation for the displayed image, the electronic device receives the user operation, wherein the zoom-out operation and the zoom-in operation are respectively associated with the second pose.
[0019] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the zoom-out operation is used to zoom out the displayed image by a first multiple, and the second position in the second pose associated with the zoom-out operation is outside the stereoscopic object and the second orientation is the same as the first orientation.
[0020] According to the stereoscopic object display method of at least one embodiment of the present disclosure, the zoom-in operation is used to zoom in the displayed image by a second multiple, and the second position in the second pose associated with the zoom-in operation is inside the stereoscopic object and the second orientation is a horizontal orientation.
[0021] According to another aspect of the present disclosure, an electronic device is provided, including: a memory storing a computer program; and a processor executing the computer program stored by the memory, so that the processor executes the stereoscopic object display method of any one of the embodiments of the present disclosure.
[0022] According to still another aspect of the present disclosure, a readable storage medium is provided, in which a computer program is stored, the computer program being executed by a processor to implement the stereoscopic object display method of any one of the embodiments of the present disclosure.
[0023] According to still another aspect of the present disclosure, a computer program product is provided, including a computer program, the computer program being executed by a processor to implement the stereoscopic object display method of any one of the embodiments of the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0024] The accompanying drawings illustrate exemplary embodiments of the present disclosure and together with the description, explain the principles of the present disclosure, in which:
[0025] Figure 1 is a schematic diagram of the overall flow of the stereoscopic object display method according to one embodiment of the present disclosure.
[0026] Figure 2 is a visualization example diagram of a stereoscopic object, a panorama image box and a panorama video sphere according to one embodiment of the present disclosure.
[0027] Figure 3 is a visualization example diagram of a panorama image entry control and a panorama video entry control according to one embodiment of the present disclosure.
[0028] Figure 4 is a visualization example diagram of a virtual camera pose change process according to one embodiment of the present disclosure.
[0029] Figure 5 is a visualization example diagram of a virtual camera pose change process according to another embodiment of the present disclosure.
[0030] Figure 6 is a visualization example diagram of a virtual camera pose change process according to yet another embodiment of the present disclosure.
[0031] Figure 7 is a visualization example diagram of a virtual camera pose change process according to still another embodiment of the present disclosure.
[0032] Figure 8 is a structural schematic block diagram of a stereoscopic object display device according to one embodiment of the present disclosure.
[0033] Figure 9 is a structural schematic block diagram of an electronic device configured with a stereoscopic object display device according to one embodiment of the present disclosure. DETAILED DESCRIPTION
[0034] The present disclosure will be further described below in conjunction with the accompanying drawings and examples. It can be understood that the specific examples described herein are only used to explain the related content, and not to limit the present disclosure. In addition, it should be noted that only the parts related to the present disclosure are shown in the drawings for ease of description.
[0035] It should be noted that the embodiments in the present disclosure and the features in the embodiments can be combined with each other without conflict. The technical solutions of the present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
[0036] The extended reality technology can provide a user with a virtual three-dimensional object, and the user can interact with the three-dimensional object, thereby facilitating the user to obtain relevant information through the three-dimensional object. If a display perspective of the three-dimensional object is preset, and after the user selects the display perspective, the electronic device directly displays a picture corresponding to the display perspective selected by the user, the display picture is suddenly switched and the display content is suddenly jumped each time after the user selects the display perspective, for example, the display perspective currently selected by the user is a perspective of viewing from the left side of the three-dimensional object, the electronic device displays a left view of the three-dimensional object, if the user then selects a perspective of viewing from the right side of the three-dimensional object, the electronic device directly switches from displaying the left view of the three-dimensional object to displaying the right view of the three-dimensional object, which causes the user to have a clear discontinuity when viewing the three-dimensional object, and it is difficult to adapt and difficult to know the overall situation of the three-dimensional object. That is, there are problems such as low fluency in the display process of the three-dimensional object and incoherent switching of the display picture.
[0037] To this end, the present disclosure provides a three-dimensional object display method.
[0038] The three-dimensional object display method of the present disclosure can be used for an electronic device to show a three-dimensional object to a user. In the present disclosure, the electronic device includes but is not limited to a mobile phone, a tablet computer, a notebook computer, a personal computer, a wearable device, a teller machine, etc.
[0039] In order to facilitate the description and make the technical solutions of the embodiments of the present disclosure easier to understand, before describing the three-dimensional object display method implemented by the present disclosure, the technical terms involved in the embodiments of the present disclosure are defined as follows: Virtual camera refers to a "configuration file" of camera behavior, which is used to simulate different camera behaviors. The virtual camera is not a real camera and does not have a hardware structure.
[0040] Pose refers to the position and orientation of an object or a human body in a three-dimensional space.
[0041] Three-dimensional object refers to an object with a three-dimensional structure, such as a three-dimensional model constructed by software.
[0042] Internal image of three-dimensional object refers to an image obtained by a virtual camera shooting a three-dimensional object inside the three-dimensional object.
[0043] External image of three-dimensional object refers to an image obtained by a virtual camera shooting a three-dimensional object outside the three-dimensional object.
[0044] Three-dimensional house model refers to a three-dimensional model capable of showing the actual situation of a house, such as showing the actual situation before decoration, or showing the actual situation after decoration, or showing the actual situation during decoration.
[0045] House acceptance, refers to the standardization of the project after the completion of the decoration of the house.
[0046] House acceptance video, refers to the panoramic video taken during the house acceptance process.
[0047] Acceptance object, refers to the project, including but not limited to sockets, tiles, cabinet doors, etc.
[0048] Control, refers to an element in the user interface that allows users to interact with the program. In software development, controls are one of the basic components of the graphical user interface (GUI). Controls can receive user input and change their state or trigger specific actions based on these inputs.
[0049] Panoramic image, refers to an image that shows a view of more than a certain angle (even up to 360 degrees) in the horizontal direction. Panoramic image is static.
[0050] Panoramic video, refers to a video that shows a view of more than a certain angle (even up to 360 degrees) in the horizontal direction. Panoramic video is dynamic.
[0051] Load, refers to reading the required files and information into memory.
[0052] Horizontal orientation, refers to the orientation parallel to the horizontal plane.
[0053] Interpolation, refers to estimating unknown data values between known data values.
[0054] Figure 1 The overall flowchart of the stereoscopic object display method M100 of one embodiment of the present disclosure is shown. As shown in the method includes steps S110 to S130. Wherein, the method can be executed by mobile phones, tablets and other electronic devices. Figure 1
[0055] Specifically, Figure 1 The method shown includes: S110, the electronic device displays a virtual camera to take pictures of the stereoscopic object at a first pose; The virtual camera is used to simulate a camera shooting a stereoscopic object, thereby simulating the user observing the stereoscopic object. The first pose can be understood as the pose of the camera simulated by the virtual camera when shooting the image currently seen by the user in the three-dimensional space where the stereoscopic object is located. The stereoscopic object refers to an object with a stereoscopic structure, including but not limited to a three-dimensional house model constructed by software, a panorama image box obtained by mapping a panorama image to each face of a cube, a panorama video sphere obtained by mapping a panorama video to the surface of a sphere, and the like. The stereoscopic object can be pre-generated by another device and acquired by the electronic device, or pre-generated by the electronic device, which is not limited herein. The stereoscopic object needs to be displayed by the electronic device, and since the stereoscopic object has a stereoscopic structure, the virtual camera can shoot it from different poses.
[0056] In S120, the electronic device receives a user operation, wherein the user operation is used to instruct the electronic device to display an image obtained by the virtual camera shooting the stereoscopic object from a second pose. The second pose can be understood as the pose of the camera simulated by the virtual camera when shooting the image that the user wants to see next in the three-dimensional space where the stereoscopic object is located. The user can interact with the electronic device to instruct the electronic device to display the picture of the stereoscopic object that the user wants to view. The electronic device can determine the image obtained by the virtual camera shooting the stereoscopic object from the second pose through the user operation, that is, the picture of the stereoscopic object that the user wants to view.
[0057] In S130, in response to the user operation, the electronic device displays, in sequence, images obtained by the virtual camera shooting the stereoscopic object from the first pose to the second pose via a plurality of third poses, wherein the third poses are different from the first pose and the second pose, and the plurality of third poses are different from each other.
[0058] The third pose can be understood as a transition pose between the first pose and the second pose. The more the number of third poses, the smoother, more natural, and more coherent the transition from the first pose to the second pose. Since the transition is from the first pose to the second pose via a plurality of third poses, the stereoscopic object is shot at each pose in this process, that is, there are a plurality of images obtained by shooting the stereoscopic object from different poses. Therefore, the electronic device can display the plurality of images obtained by shooting the stereoscopic object from different poses in sequence according to the order of changes in the poses. The total time consumed from the first pose to the second pose via the plurality of third poses can be pre-set, that is, the total time length for the electronic device to display the images corresponding to the transition poses, for example, 2 seconds. In this way, after receiving the user operation, the electronic device displays, in sequence, the images obtained by the virtual camera shooting the stereoscopic object at the third poses, and displays the image obtained by the virtual camera shooting the stereoscopic object at the second pose after 2 seconds.
[0059] The stereoscopic object display method of the embodiments of the present disclosure, in the case that the user wants to view the image of the stereoscopic object taken by the virtual camera at the second pose, the electronic device displays the images taken by the virtual camera at the first pose, the plurality of third poses and the second pose in sequence, that is, the display content of the electronic device is gradually transitioned to the stereoscopic object taken by the virtual camera at the second pose instead of directly switching from the stereoscopic object taken by the virtual camera at the first pose to the stereoscopic object taken by the virtual camera at the second pose, so that the fluency of the stereoscopic object display process is improved, the display screen switching is more coherent, and thus the user will not have a significant sense of discontinuity when viewing the stereoscopic object, which facilitates the user to adapt to the display screen and understand the overall situation of the stereoscopic object.
[0060] As a possible implementation, before the electronic device receives the user operation, the stereoscopic object display method further includes: the electronic device displays a first control. Accordingly, step S120 can be specifically: in response to detecting a trigger operation on the first control, the electronic device receives the user operation, wherein the first control is associated with the second pose.
[0061] The first control is an element in the user interface provided by the electronic device, which is used to receive the input of the user so that the electronic device understands the stereoscopic object display requirement of the user. The number of the first controls can be multiple, for example, can include a panoramic image entry control for opening a panoramic image, a panoramic video entry control for opening a panoramic video, a first switching control for switching a pose located inside the stereoscopic object to a pose located outside the stereoscopic object, a second switching control for switching a pose located outside the stereoscopic object to a pose located inside the stereoscopic object, a control for adjusting the position of the virtual camera alone, a control for adjusting the orientation of the virtual camera alone, etc. The second pose associated with the first control can be pre-set by the relevant personnel. Since the first control is associated with the second pose, the electronic device can accurately and quickly determine the second pose automatically in the case that the first control is triggered. The first control can be displayed in the image taken of the stereoscopic object or outside the image taken of the stereoscopic object, which is not limited herein. The trigger operation includes but is not limited to single click, double click, long press, voice selection, etc.
[0062] The stereoscopic object display method of the above-mentioned embodiments, in the case that the displayed first control is triggered, the electronic device determines that the user operation is received, that is, the user can switch the display screen of the electronic device by triggering the first control displayed by the electronic device, so as to facilitate the user to view the stereoscopic object screen that the user wants to view and meet the user's viewing requirement.
[0063] As a possible implementation, the first control includes a panoramic image entry control and / or a panoramic video entry control. Accordingly, after step S130, the method further includes: displaying, by the electronic device, a panoramic image associated with the triggered panoramic image entry control; or playing, by the electronic device, a panoramic video associated with the triggered panoramic video entry control.
[0064] Exemplarily, the electronic device can not only display the stereoscopic object, but also display at least one panoramic image and at least one panoramic video related to the stereoscopic object. The panoramic image or the panoramic video can be displayed in the form of a pop-up window in the display interface of the stereoscopic object, or can be displayed separately in a new display interface away from the display interface of the stereoscopic object, which is not limited here. Exemplarily, the stereoscopic object, the panoramic image and the panoramic video are displayed in picture alignment, and the panoramic image box and the panoramic video sphere can be aligned with the objects in the stereoscopic object by adjusting the poses of the panoramic image box and the panoramic video sphere, so as to facilitate display, as shown in Figure 2 Exemplarily, the panoramic image entry control can be displayed in the form of a circular landmark in the stereoscopic object, and the panoramic video entry control can be displayed in the form of a wall label in the stereoscopic object, as shown in Figure 3
[0065] Exemplarily, the stereoscopic object is a three-dimensional house model, and the panoramic video is a house acceptance video. The second orientation in the second pose associated with the panoramic video entry control is an orientation towards an acceptance object in the house. The three-dimensional house model refers to a three-dimensional model that can show the actual situation of the house, for example, can show the actual situation before decoration, or show the actual situation after decoration, or show the actual situation during decoration. House acceptance refers to the standardized acceptance of the decorated project after the decoration is completed. The house acceptance video refers to the panoramic video taken during the house acceptance process. The acceptance object refers to the decorated project, including but not limited to sockets, tiles, cabinet doors, etc. In this way, during the process of viewing the three-dimensional house model, the user can view the house acceptance video of different positions in the house by triggering the panoramic video entry control, and because the second orientation in the second pose associated with the panoramic video entry control is an orientation towards an acceptance object in the house, the acceptance object can be included in the image displayed by the electronic device after the virtual camera is adjusted to the second pose, thereby fully displaying effective picture information and facilitating the user to clearly and intuitively understand the related information of the acceptance object. It can be understood that in order to facilitate the user to view the acceptance object at a glance when viewing the house acceptance video, the second orientation of the second pose associated with each panoramic video entry control can be preset to face the acceptance object directly, so that the virtual camera can be located at the center of the image displayed by the electronic device after being adjusted to the second pose.
[0066] Exemplarily, the stereoscopic object display method further includes: in response to a distance between the first position in the first pose and a second position in a second pose associated with the first control being less than or equal to a distance threshold, the electronic device loads a panoramic image or a panoramic video associated with the first control. The distance threshold can be set according to actual conditions, which is not limited herein. Loading refers to reading the required files and information into the memory. In this way, in the case that the distance between the virtual camera and a certain first control is less than or equal to the distance threshold, the electronic device can automatically load the panoramic image or the panoramic video associated with the first control, so as to load the related panoramic image or panoramic video when the virtual camera has not reached the position of the first control, facilitating the quick display of the corresponding panoramic image or panoramic video when the user triggers the first control. After the electronic device loads the panoramic image or the panoramic video associated with the first control, the loaded panoramic image or panoramic video can be cached locally on the electronic device, thereby saving subsequent data acquisition time. It can be understood that if the distance between the first position in the first pose and the second position in the second pose associated with a certain first control is greater than the distance threshold, the electronic device does not load the panoramic image or the panoramic video associated with the first control, thereby avoiding slow startup of the stereoscopic object due to the large amount of data of the panoramic video and the panoramic image, and realizing the on-demand loading mechanism.
[0067] The stereoscopic object display method of the above-mentioned embodiments can display the corresponding panoramic image when the panoramic image entry control is triggered, and can display the corresponding panoramic video when the panoramic video entry control is triggered. In this way, the stereoscopic object related information can be displayed in multiple ways, improving the display efficiency of the stereoscopic object related information, and facilitating the user to more comprehensively understand the related information of the stereoscopic object.
[0068] Regarding the first control, as another possible implementation, the first control includes a first switching control, the first switching control is used to trigger the electronic device to switch from displaying an internal image of the stereoscopic object to displaying an external image of the stereoscopic object, and a second position in a second pose associated with the first switching control is located outside the stereoscopic object and has the same first orientation as the second orientation.
[0069] The stereoscopic object display method of the above-mentioned embodiments can display the corresponding panoramic image when the panoramic image entry control is triggered, and can display the corresponding panoramic video when the panoramic video entry control is triggered. In this way, the stereoscopic object related information can be displayed in multiple ways, improving the display efficiency of the stereoscopic object related information, and facilitating the user to more comprehensively understand the related information of the stereoscopic object.
[0070] As another possible implementation of step S120, step S120 can specifically be: in response to detecting a trigger operation for any position inside the stereoscopic object in a case where the electronic device displays an image outside the stereoscopic object, the electronic device receives a user operation, at this time, the second position in the second pose is inside the stereoscopic object and the second orientation is a horizontal orientation.
[0071] It can be understood that the stereoscopic object is usually constructed on a horizontal plane. The horizontal orientation refers to an orientation that is parallel to the horizontal plane.
[0072] The stereoscopic object display method of the above implementation, in a case where the electronic device displays an image outside the stereoscopic object, if a user triggers any position inside the displayed stereoscopic object, the virtual camera can move from outside the stereoscopic object to inside the stereoscopic object, and after moving to inside the stereoscopic object, the orientation of the virtual camera becomes a horizontal orientation, and then the electronic device can display an image obtained by the virtual camera shooting the stereoscopic object in the horizontal orientation inside the stereoscopic object, thereby facilitating the user to view the inside of the stereoscopic object, and the viewing angle is closer to the user's actual viewing angle in the real environment, which is beneficial to improve the user's viewing experience.
[0073] As another possible implementation of step S120, step S120 can specifically be: in response to detecting a trigger operation for a preset position in the displayed image, the electronic device receives a user operation, wherein the preset position is associated with the second pose.
[0074] The preset position is different from the first control, and the preset position can be any position inside the stereoscopic object that is calibrated in advance. When a relevant person calibrates the position, the second pose associated with the position can be specified, thereby facilitating the electronic device to accurately and quickly automatically determine the second pose in a case where the preset position is triggered.
[0075] Exemplarily, the second position in the second pose associated with the preset position is inside the stereoscopic object and the second orientation is the same as the first orientation. In this way, after the user triggers a certain preset position, the virtual camera can move from the first position to the second position associated with the preset position triggered by the user without changing the first orientation.
[0076] The stereoscopic object display method of the above implementation, in a case where the preset position in the displayed image is triggered, the electronic device determines that a user operation is received, that is, the user can switch the display screen of the electronic device by triggering the preset position in the image displayed by the electronic device, thereby facilitating the user to view the stereoscopic object from different positions.
[0077] As another possible implementation, step S120 can be specifically: in response to detecting a zoom-out operation or a zoom-in operation on the displayed image, the electronic device receives a user operation, wherein the zoom-out operation and the zoom-in operation are respectively associated with the second pose.
[0078] The zoom-out operation and the zoom-in operation can be detected through gesture recognition, touch recognition, voice recognition, etc. For example, when detecting that multiple fingers are closed (to a certain extent), it is determined that a zoom-out operation on the displayed image is detected, and when detecting that multiple fingers are separated (to a certain length), it is determined that a zoom-in operation on the displayed image is detected. The second pose associated with the zoom-out operation can be pre-set by the relevant personnel, and the second pose associated with the zoom-in operation can be pre-set by the relevant personnel, so as to facilitate the electronic device to accurately and quickly automatically determine the second pose in the case of detecting the zoom-out operation or the zoom-in operation.
[0079] Exemplarily, the zoom-out operation is used to zoom out the displayed image by a first multiple, and in the second pose associated with the zoom-out operation, the second position is located outside the stereoscopic object and the second orientation is the same as the first orientation. In this way, if the user wants the electronic device to switch from displaying the internal image of the stereoscopic object to displaying the external image of the stereoscopic object, the user can zoom out the displayed image by the first multiple, and then the electronic device can switch from displaying the internal image of the stereoscopic object to displaying the external image of the stereoscopic object while keeping the first orientation unchanged. Exemplarily, the zoom-in operation is used to zoom in the displayed image by a second multiple, and in the second pose associated with the zoom-in operation, the second position is located inside the stereoscopic object and the second orientation is a horizontal orientation. In this way, if the user wants the electronic device to switch from displaying the external image of the stereoscopic object to displaying the internal image of the stereoscopic object, the user can zoom in the displayed image by the second multiple, and then the electronic device can automatically switch from displaying the external image of the stereoscopic object to displaying the internal image of the stereoscopic object in the horizontal orientation. The first multiple and the second multiple can be set according to actual conditions, which are not limited herein.
[0080] The stereoscopic object display method of the above-mentioned embodiments, in the case of detecting that the displayed image is zoomed in or zoomed out, the electronic device determines that a user operation is received, that is, the user can switch the display screen of the electronic device by zooming in or zooming out the displayed image of the electronic device, thereby facilitating the user to view the stereoscopic object under different zooming ratios.
[0081] It should be noted that the above describes various implementations of step S120. For the electronic device, if it detects one of the operations, it directly executes the scheme corresponding to the implementation of the operation, and if it detects multiple operations, it executes the scheme corresponding to the implementation of the operation according to the order of detecting the multiple operations, so as to ensure that different user operations can be responded by the electronic device.
[0082] As a possible implementation, the first pose includes a first position and a first orientation, the second pose includes a second position and a second orientation, and the third pose includes a third position. Accordingly, step S130 can be specifically: in response to the first position being different from the second position and the first orientation being the same as the second orientation, the electronic device sequentially displays images obtained by the virtual camera capturing the solid object multiple times in the process of moving from the first position to the second position via a plurality of third positions with the first orientation.
[0083] Exemplarily, the plurality of third positions are obtained by interpolating between the first position and the second position. In one example, the third position P3 of the virtual camera at different moving time t can be obtained by the following formula: P3(t) = P1 + ΔP × F(t), where ΔP is the vector difference between the first position P1 and the second position P2, and F(t) is a nonlinear function.
[0084] Please refer to Figure 4 In one example, the first position is point A, the second position is point B, and the third position is point C. The first orientation and the second orientation are both towards the balcony (as shown by the red arrow). Then the electronic device will sequentially display images obtained by the virtual camera capturing the solid object multiple times in the process of moving from point A to point B via a plurality of points C with the virtual camera facing the balcony.
[0085] The solid object display method of the above embodiment can keep the orientation of the virtual camera unchanged when the second position is different from the first position and the second orientation is the same as the first orientation, and sequentially display images obtained by the virtual camera capturing the solid object multiple times in the process of moving from the first position to the second position via a plurality of third positions. Thus, the situation that the user's field of view gradually changes with the movement of the user's position in the real environment can be simulated, so that the images displayed by the electronic device are more realistic and smooth, the sense of reality is improved, and an immersive viewing experience is provided to the user.
[0086] As another possible implementation, the first pose includes a first position and a first orientation, the second pose includes a second position and a second orientation, and the third pose includes a third orientation. Accordingly, step S130 can be specifically: in response to the first position being the same as the second position, the first orientation being different from the second orientation, and the second orientation being different from the first orientation, the electronic device sequentially displays images obtained by the virtual camera capturing the solid object multiple times in the process of adjusting from the first orientation to the second orientation via a plurality of third orientations with the first position.
[0087] Exemplarily, the plurality of third orientations are obtained by interpolating between the first orientation and the second orientation. In one example, the third orientation of the virtual camera at different moving time t is obtained by nonlinear interpolation.
[0088] Please refer to Figure 5 In one example, the first position and the second position are both A, the first orientation is toward the balcony (as shown by the red arrow), the second orientation is toward the wall (as shown by the yellow arrow), and the third orientation is as shown by the green arrow. The electronic device displays the images obtained by the virtual camera capturing the three-dimensional object multiple times in sequence when the virtual camera rotates from the red arrow toward the yellow arrow via the multiple green arrow orientations at the A point.
[0089] The three-dimensional object display method of the above embodiment, in the case that the second position is the same as the first position and the second orientation is different from the first orientation, the electronic device can keep the first position of the virtual camera unchanged, display the images obtained by the virtual camera capturing the three-dimensional object multiple times in sequence when the virtual camera moves from the first orientation to the second orientation via the multiple third orientations, and further simulate the case that the user's field of view gradually changes with the rotation of the user's visual angle in the real environment, so that the images displayed by the electronic device are more real and smooth, the sense of reality is improved, and the user has an immersive viewing experience.
[0090] Regarding step S130, as another possible implementation, the first pose includes a first position and a first orientation, the second pose includes a second position and a second orientation, and the third pose includes a third position and a third orientation. Accordingly, step S130 can specifically be: in response to the first position being different from the second position, the first orientation being different from the second orientation, and the second orientation not being the same as the first orientation, the electronic device first displays the images obtained by the virtual camera capturing the three-dimensional object multiple times in sequence when the virtual camera moves from the first position to the second position via the multiple third positions with the first orientation, and then displays the images obtained by the virtual camera capturing the three-dimensional object multiple times in sequence when the virtual camera adjusts from the first orientation to the second orientation via the multiple third orientations at the second position.
[0091] For example, the multiple third positions are obtained by interpolating between the first position and the second position, and the multiple third orientations are obtained by interpolating between the first orientation and the second orientation. For details about interpolation, please refer to the description of the interpolation part above, which will not be repeated here for brevity.
[0092] Please refer to Figure 6In one example, the first position is point A, the second position is point B, the third position is point C, the first orientation is towards the balcony (as shown by the red arrow), the second orientation is towards the wall (as shown by the yellow arrow), and the third orientation is as shown by the green arrow. The electronic device will first display the images obtained by the virtual camera capturing the stereoscopic object multiple times in the process of moving from point A to point B via multiple points C with the red arrow as the orientation, and then display the images obtained by the virtual camera capturing the stereoscopic object multiple times in the process of rotating from the red arrow to the yellow arrow via multiple green arrows as the orientation at point B, so that the display of the inside of the stereoscopic object is more coherent.
[0093] Please refer to Figure 7 In another example, the first position is point A outside the stereoscopic object, the second position is point B inside the stereoscopic object, and the third position is point C. The first orientation is as shown by the red arrow, the second orientation is a horizontal orientation (as shown by the yellow arrow), and the third orientation is as shown by the green arrow. The electronic device will first display the images obtained by the virtual camera capturing the stereoscopic object multiple times in the process of moving from point A to point B via multiple points C with the red arrow as the orientation, and then display the images obtained by the virtual camera capturing the stereoscopic object multiple times in the process of rotating from the red arrow to the yellow arrow via multiple green arrows as the orientation at point B, so that the display of the inside of the stereoscopic object is more coherent.
[0094] It should be noted that Figure 4 , Figure 5 , Figure 6 and Figure 7 only to illustrate the changes in the pose of the virtual camera, and should not be understood as images taken in the process of changing the pose of the virtual camera.
[0095] The stereoscopic object display method of the above embodiment, in the case where the second position is different from the first position and the second orientation is different from the first orientation, the electronic device can first keep the first orientation of the virtual camera unchanged, display the images obtained by the virtual camera capturing the stereoscopic object multiple times in the process of moving from the first position to the second position via multiple third positions, then keep the second position of the virtual camera unchanged, and display the images obtained by the virtual camera capturing the stereoscopic object multiple times in the process of moving from the first orientation to the second orientation via multiple third orientations, thereby simulating the gradual change of the user's field of view in a real environment when the user first moves the position and then rotates the orientation, making the images displayed by the electronic device more realistic and smooth, improving the sense of reality, and providing the user with an immersive viewing experience.
[0096] As another possible implementation, the first pose includes a first position and a first orientation, the second pose includes a second position and a second orientation, and the third pose includes a third position and a third orientation. In response to the first position being different from the second position and the first orientation being different from the second orientation, the electronic device can display, in sequence, images obtained by the virtual camera capturing the stereoscopic object while the virtual camera is adjusted from the first orientation to the second orientation via the third orientations, and then display, in sequence, images obtained by the virtual camera capturing the stereoscopic object while the virtual camera is moved from the first position to the second position via the third positions.
[0097] For example, the third positions are obtained by interpolating between the first position and the second position, and the third orientations are obtained by interpolating between the first orientation and the second orientation. For details, refer to the description of the interpolation part above. For brevity, details are not repeated here.
[0098] The stereoscopic object display method of the above implementation can, in the case where the second position is different from the first position and the second orientation is different from the first orientation, first keep the first position of the virtual camera unchanged, display, in sequence, images obtained by the virtual camera capturing the stereoscopic object while the virtual camera is moved from the first orientation to the second orientation via the third orientations, then keep the second orientation of the virtual camera unchanged, and display, in sequence, images obtained by the virtual camera capturing the stereoscopic object while the virtual camera is moved from the first position to the second position via the third positions. In this way, the electronic device can simulate the gradual change of the user's field of view in a real environment while the user's view angle is first rotated and then the position is moved, so that the images displayed by the electronic device are more realistic and smooth, the sense of reality is improved, and the user can have an immersive viewing experience.
[0099] In other implementations, in the case where the second position is different from the first position and the second orientation is different from the first orientation, the electronic device can also display images obtained by the virtual camera capturing the stereoscopic object while the position and the orientation of the virtual camera are changed simultaneously. In this way, the electronic device can simulate the gradual change of the user's field of view in a real environment while the user's view angle is rotated and the position is moved at the same time, so that the images displayed by the electronic device are more realistic and smooth, the sense of reality is improved, and the user can have an immersive viewing experience.
[0100] The following uses a 3D apartment model as an example to illustrate the 3D object display method disclosed herein: The 3D apartment model is a pre-constructed 3D model used to display the actual situation of a house after renovation. The 3D apartment model includes annotations such as the inspection results of the inspected object, a panoramic image entry control, a panoramic video entry control, a first switching control, and a second switching control. Triggering the panoramic image entry control opens the panoramic image captured during the house inspection process; triggering the panoramic image video entry control opens the panoramic video captured during the house inspection process; triggering the first switching control displays the external image of the 3D object for observation from the outside; and triggering the second switching control displays the internal image of the 3D object for observation from the inside. The panoramic image entry control, panoramic video entry control, first switching control, and second switching control are all pre-calibrated with associated pose information. Furthermore, multiple locations on the 3D floor plan model are also pre-calibrated with associated pose information. When a user triggers a control or location with pre-calibrated pose information, the electronic device can determine multiple intermediate third poses based on the first pose of the virtual camera when capturing the currently displayed image and the second pose of the virtual camera associated with the triggered control or location. It then sequentially displays images of the 3D object captured multiple times by the virtual camera as it adjusts from the first pose through multiple third poses to the second pose. Thus, the content displayed by the electronic device gradually transitions to the 3D object captured by the virtual camera in the second pose, rather than directly switching from the first pose to the second pose. This improves the smoothness of the 3D object display process, making the screen transitions more seamless. Users will not experience noticeable discontinuities when viewing the 3D object, allowing them to adapt to the display and understand the overall situation of the 3D object.
[0101] The stereoscopic object display method in the specific embodiments of this disclosure can be implemented based on software products (such as stereoscopic object display software) or applets running on electronic devices such as mobile phones, tablets, laptops, and desktop computers.
[0102] Based on any of the above embodiments, this disclosure also provides a stereoscopic object display device (i.e., stereoscopic object display software).
[0103] Figure 8 This is a schematic block diagram of a three-dimensional object display device according to one embodiment of the present disclosure.
[0104] like Figure 8 As shown, the stereoscopic object display device includes: The first display module 110 is used to display the image obtained by the virtual camera taking a picture of the three-dimensional object in the first pose; The receiving module 120 is configured to receive a user operation, where the user operation is used to instruct the electronic device to display an image of the stereoscopic object captured by the virtual camera at the second pose. The second display module 130 is configured to, in response to the user operation, display, in sequence, images of the stereoscopic object captured by the virtual camera during adjustment of the virtual camera from the first pose to the second pose via a plurality of third poses, where the third poses are different from the first pose and the second pose, and the third poses are different from each other.
[0105] The above modules can be implemented by computer program modules.
[0106] In some embodiments of the present disclosure, the stereoscopic object display apparatus further includes a third display module configured to display a first control; and the receiving module 120 is configured to, in response to detecting a triggering operation on the first control, receive the user operation, where the first control is associated with the second pose.
[0107] In some embodiments of the present disclosure, the first control includes a panoramic image entry control and / or a panoramic video entry control, and the stereoscopic object display apparatus further includes a fourth display module configured to: display a panoramic image associated with the triggered panoramic image entry control, or play a panoramic video associated with the triggered panoramic video entry control.
[0108] In some embodiments of the present disclosure, the stereoscopic object is a three-dimensional house model, the panoramic video is a house acceptance video, and the second orientation in the second pose associated with the panoramic video entry control is an orientation towards a house acceptance object in the house.
[0109] In some embodiments of the present disclosure, the stereoscopic object display apparatus further includes a loading module configured to: in response to a distance between the first position in the first pose and a second position in the second pose associated with the first control being less than or equal to a distance threshold, the electronic device loads a panoramic image or a panoramic video associated with the first control.
[0110] In some embodiments of the present disclosure, the first control includes a first switching control configured to trigger the electronic device to switch from displaying an internal image of the stereoscopic object to displaying an external image of the stereoscopic object, and the second position in the second pose associated with the first switching control is located outside the stereoscopic object and the second orientation is the same as the first orientation.
[0111] In some embodiments of the present disclosure, the receiving module 120 is configured to, in response to detecting a triggering operation on any position inside the stereoscopic object while the electronic device displays an external image of the stereoscopic object, the electronic device receives the user operation, and the second position in the second pose is located inside the stereoscopic object and the second orientation is a horizontal orientation.
[0112] In some embodiments of the present disclosure, the receiving module 120 is configured to: in response to detecting a trigger operation for a preset position in the displayed image, the electronic device receives a user operation, wherein the preset position is associated with a second pose. The second position in the second pose associated with the preset position is inside the stereoscopic object and the second orientation is the same as the first orientation.
[0113] In some embodiments of the present disclosure, the receiving module 120 is configured to: in response to detecting a zoom-out operation or a zoom-in operation for the displayed image, the electronic device receives a user operation, wherein the zoom-out operation and the zoom-in operation are respectively associated with a second pose. The zoom-out operation is used to zoom out the displayed image by a first multiple, and the second position in the second pose associated with the zoom-out operation is outside the stereoscopic object and the second orientation is the same as the first orientation. The zoom-in operation is used to zoom in the displayed image by a second multiple, and the second position in the second pose associated with the zoom-in operation is inside the stereoscopic object and the second orientation is a horizontal orientation.
[0114] In some embodiments of the present disclosure, the first pose includes a first position and a first orientation, the second pose includes a second position and a second orientation, and the third pose includes a third position. The second display module 130 is configured to: in response to the first position being different from the second position and the first orientation being the same as the second orientation, the electronic device displays images obtained by the virtual camera capturing the stereoscopic object multiple times in a process of moving from the first position to the second position via a plurality of third positions with the first orientation. The plurality of third positions are obtained by interpolating between the first position and the second position.
[0115] In some embodiments of the present disclosure, the first pose includes a first position and a first orientation, the second pose includes a second position and a second orientation, and the third pose includes a third orientation. The second display module 130 is configured to: in response to the first position being the same as the second position and the first orientation being different from the second orientation, the electronic device displays images obtained by the virtual camera capturing the stereoscopic object multiple times in a process of adjusting from the first orientation to the second orientation via a plurality of third orientations with the first position. The plurality of third orientations are obtained by interpolating between the first orientation and the second orientation.
[0116] In some embodiments of the present disclosure, the first pose includes a first position and a first orientation, the second pose includes a second position and a second orientation, and the third pose includes a third position and a third orientation. The second display module 130 is configured to: in response to the first position being different from the second position and the first orientation being different from the second orientation, display, in sequence, images obtained by the virtual camera capturing the stereoscopic object multiple times while moving from the first position to the second position via a plurality of third positions in the first orientation, and then display, in sequence, images obtained by the virtual camera capturing the stereoscopic object multiple times while moving from the first position to the second position via a plurality of third positions in the second orientation; or in response to the first position being different from the second position and the first orientation being different from the second orientation, display, in sequence, images obtained by the virtual camera capturing the stereoscopic object multiple times while moving from the first position to the second position via a plurality of third orientations in the first orientation, and then display, in sequence, images obtained by the virtual camera capturing the stereoscopic object multiple times while moving from the first position to the second position via a plurality of third positions in the second orientation. The plurality of third positions are obtained by interpolating between the first position and the second position. The plurality of third orientations are obtained by interpolating between the first orientation and the second orientation.
[0117] The functions and effects of the modules in the above device are achieved in the same way as the corresponding steps in the above method, and thus will not be described here.
[0118] The execution subject of the stereoscopic object display method in the present disclosure can be a mobile phone, a tablet computer, a server, or the like.
[0119] Therefore, based on any one of the above embodiments, the present disclosure further provides an electronic device that can execute the stereoscopic object display method of any one of the above embodiments, and the electronic device can be configured with the stereoscopic object display device of any one of the above embodiments.
[0120] Figure 9 FIG. 1 is a schematic block diagram of an electronic device 1000 configured with a stereoscopic object display device according to an embodiment of the present disclosure.
[0121] Referring to FIG. 1, Figure 9 The electronic device 1000 is configured with the stereoscopic object display device capable of executing the stereoscopic object display method described above. The electronic device 1000 can also be configured with some software modules commonly used in electronic devices, such as a network communication module, an operating system, and a user interface module, and the present disclosure does not particularly limit this.
[0122] The electronic device 1000 is also configured with a screen.
[0123] The hardware structure of the electronic device 1000 can be implemented using a bus architecture. The bus architecture can include any number of interconnecting buses and bridges, depending on the specific application of the hardware and the overall design constraints. The bus 1100 connects various circuits including one or more processors 1200, memory 1300, and / or hardware modules together. The bus 1100 can also connect various other circuits 1400 such as peripheral devices, voltage regulators, power management circuits, external antennas, etc.
[0124] The bus 1100 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one connection line is shown in the figure, but it does not mean that there is only one bus or one type of bus.
[0125] The present disclosure also provides a readable storage medium having a computer program stored therein, the computer program being executed by a processor to implement the above-described method. The "readable storage medium" can be any device that can contain, store, communicate, propagate or transport programs for use by or in conjunction with an instruction execution system, apparatus or device. More specific examples of the readable storage medium include the following: an electrical connection having one or more wires (electronic device), a portable computer disk cartridge (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM), etc.
[0126] The present disclosure also provides a computer program product, and the method of the present disclosure can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed, the flow or function of the present disclosure is executed in whole or in part.
[0127] The computer program or instructions can be stored in or transferred from one computer-readable medium to another, e.g., computer program or instructions can be transmitted from one website, computer, server or data center to another via a wired or wireless manner. The computer-readable medium can be any available medium or a combination of one or more of the available media that is accessible by a server, data center, etc. or is integrated into a data storage device. The available medium can be a magnetic medium, e.g., a floppy diskette, a hard disk drive, a magnetic tape; an optical medium, e.g., a compact disk, a DVD; or a semiconductor medium, e.g., a solid state disk. The computer-readable medium can be a volatile or non-volatile storage medium, or can include both volatile and non-volatile storage media.
[0128] Those skilled in the art will appreciate that embodiments of the disclosure can be supplied as a method, a system, or a computer program product. Accordingly, the disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the disclosure can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage media, etc.) embodying computer-readable program code.
[0129] The disclosure is described with reference to the flowchart illustrations and / or block diagrams of the methods, apparatus (systems) and computer program products according to this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing device or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams block or blocks. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams block or blocks. Figure 1 means for performing one or more functions specified in the flowchart illustrations and / or block diagrams block or blocks.
[0130] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions means which implement the function specified in the flowchart illustrations and / or block diagrams block or blocks. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams block or blocks. Figure 1 means for performing one or more functions specified in the flowchart illustrations and / or block diagrams block or blocks.
[0131] These computer program instructions can also be loaded into a computer or other programmable data processing devices, so that a series of operational steps are performed on the computer or other programmable data processing devices to generate computer-implemented processes, thus the instructions executed on the computer or other programmable data processing devices provide the function of implementing the processes specified in the flowchart Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0132] In the description of the present disclosure, the description of the terms "one embodiment / way", "some embodiments / ways", "example", "specific example", or "some examples" and the like means that the specific features, structures, or characteristics described in connection with the embodiment / way or example are included in at least one embodiment / way or example of the present disclosure. In the present specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment / way or example. Also, the specific features, structures, or characteristics described can be combined in any appropriate manner in one or more embodiments / ways or examples. In addition, the person skilled in the art can combine and combine the different embodiments / ways or examples described in the present specification and the features of the different embodiments / ways or examples without contradiction.
[0133] In addition, the terms "first", "second" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "multiple" is at least two, for example, two, three, etc., unless otherwise explicitly specified.
[0134] Those skilled in the art should understand that the above embodiments are only for clearly illustrating the present disclosure, and are not intended to limit the scope of the present disclosure. Based on the above disclosure, other changes or modifications can also be made by those skilled in the art, and these changes or modifications are still within the scope of the present disclosure.
Claims
1. A stereoscopic object display method characterized by comprising: Comprising: The electronic device displays an image captured by a virtual camera at a first pose on a stereoscopic object; The electronic device receives a user operation, wherein the user operation is used to instruct the electronic device to display an image captured by the virtual camera at a second pose on the stereoscopic object; and In response to the user operation, the electronic device sequentially displays images captured by the virtual camera on the stereoscopic object in a process of adjusting from the first pose to the second pose via a plurality of third poses, wherein the third poses are different from the first pose and the second pose, and each of the plurality of third poses is different.
2. The stereoscopic object display method according to claim 1, wherein The first pose includes a first position and a first orientation, the second pose includes a second position and a second orientation, and the third pose includes a third position; The electronic device sequentially displays images captured by the virtual camera on the stereoscopic object in a process of adjusting from the first pose to the second pose via a plurality of third poses, comprising: In response to the first position being different from the second position and the first orientation being the same as the second orientation, the electronic device sequentially displays images captured by the virtual camera on the stereoscopic object in a process of moving from the first position to the second position via a plurality of third positions with the first orientation.
3. The stereoscopic object display method according to claim 1, wherein The first pose includes a first position and a first orientation, the second pose includes a second position and a second orientation, and the third pose includes a third orientation; The electronic device sequentially displays images captured by the virtual camera on the stereoscopic object in a process of adjusting from the first pose to the second pose via a plurality of third poses, comprising: In response to the first position being the same as the second position and the first orientation being different from the second orientation, the electronic device sequentially displays images captured by the virtual camera on the stereoscopic object in a process of adjusting from the first orientation to the second orientation via a plurality of third orientations with the first position.
4. The stereoscopic object display method according to claim 1, wherein The first pose includes a first position and a first orientation, the second pose includes a second position and a second orientation, and the third pose includes a third position and a third orientation; The electronic device sequentially displays images captured by the virtual camera on the stereoscopic object in a process of adjusting from the first pose to the second pose via a plurality of third poses, comprising: In response to the first position being different from the second position and the first orientation being different from the second orientation, the electronic device sequentially displays images captured by the virtual camera on the stereoscopic object in a process of moving from the first position to the second position via a plurality of third positions with the first orientation, and then sequentially displays images captured by the virtual camera on the stereoscopic object in a process of adjusting from the first orientation to the second orientation via a plurality of third orientations with the second position; or In response to the first position being different from the second position and the first orientation being different from the second orientation, the electronic device sequentially displays images obtained by the virtual camera capturing the three-dimensional object multiple times in a process in which the virtual camera adjusts from the first position to the second position via a plurality of third positions, and sequentially displays images obtained by the virtual camera capturing the three-dimensional object multiple times in a process in which the virtual camera moves from the first position to the second position via a plurality of third orientations.
5. The stereoscopic object display method according to claim 2 or 4, wherein The plurality of third positions are obtained by interpolating between the first position and the second position.
6. The stereoscopic object display method according to claim 3 or 4, wherein The plurality of third orientations are obtained by interpolating between the first orientation and the second orientation.
7. The stereoscopic object display method according to any one of claims 1 to 6, wherein, Before the electronic device receives the user operation, the method further includes: The electronic device displays a first control. The electronic device receives the user operation, including: In response to detecting a triggering operation on the first control, the electronic device receives the user operation, wherein the first control is associated with the second pose; Optionally, the first control includes a panoramic image entry control and / or a panoramic video entry control. After the electronic device sequentially displays images obtained by the virtual camera capturing the three-dimensional object multiple times in a process in which the virtual camera adjusts from the first pose to the second pose via a plurality of third poses, the method further includes: The electronic device displays a panoramic image associated with the triggered panoramic image entry control; or The electronic device plays a panoramic video associated with the triggered panoramic video entry control; Optionally, the three-dimensional object is a three-dimensional house model, the panoramic video is a house acceptance video, and the second orientation in the second pose associated with the panoramic video entry control is an orientation towards a house acceptance object in the house; Optionally, the method further includes: In response to a distance between the first position in the first pose and a second position in the second pose associated with the first control being less than or equal to a distance threshold, the electronic device loads the panoramic image or the panoramic video associated with the first control; Optionally, the first control includes a first switching control for triggering the electronic device to switch from displaying an image inside the three-dimensional object to displaying an image outside the three-dimensional object, and a second position in the second pose associated with the first switching control is located outside the three-dimensional object and has the same second orientation as the first orientation; Optionally, the electronic device receives the user operation, including: In response to detecting a triggering operation on any position inside the three-dimensional object while the electronic device displays an image outside the three-dimensional object, the electronic device receives the user operation, and the second position in the second pose is located inside the three-dimensional object and has a horizontal second orientation; Optionally, the electronic device receives the user operation, including: In response to detecting a triggering operation on a preset position in the displayed image, the electronic device receives the user operation, wherein the preset position is associated with the second pose; Optionally, the second position in the second pose associated with the preset position is located inside the three-dimensional object and has the same second orientation as the first orientation; Optionally, the electronic device receives a user operation, comprising: in response to detecting a zoom-out operation or a zoom-in operation on the displayed image, the electronic device receives the user operation, wherein the zoom-out operation and the zoom-in operation are respectively associated with the second pose; Optionally, the zoom-out operation is used to zoom out the displayed image by a first multiple, and a second position in the second pose associated with the zoom-out operation is located outside the stereoscopic object and a second orientation is the same as the first orientation; Optionally, the zoom-in operation is used to zoom in the displayed image by a second multiple, and a second position in the second pose associated with the zoom-in operation is located inside the stereoscopic object and a second orientation is a horizontal orientation.
8. An electronic device, comprising: comprising: a memory, the memory storing a computer program; and a processor, the processor executing the computer program stored in the memory, so that the processor executes the stereoscopic object display method in any one of claims 1 to 7.
9. A readable storage medium, characterized by, The readable storage medium stores a computer program, and the computer program is executed by a processor to implement the stereoscopic object display method in any one of claims 1 to 7.
10. A computer program product comprising a computer program, characterized in that, The computer program is executed by a processor to implement the stereoscopic object display method in any one of claims 1 to 7.