WO2021204296A1 - Remote display method for three-dimensional model, first terminal, electronic device and storage medium - Google Patents
Remote display method for three-dimensional model, first terminal, electronic device and storage medium Download PDFInfo
- Publication number
- WO2021204296A1 WO2021204296A1 PCT/CN2021/086655 CN2021086655W WO2021204296A1 WO 2021204296 A1 WO2021204296 A1 WO 2021204296A1 CN 2021086655 W CN2021086655 W CN 2021086655W WO 2021204296 A1 WO2021204296 A1 WO 2021204296A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- dimensional model
- posture
- display
- augmented reality
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0641—Shopping interfaces
- G06Q30/0643—Graphical representation of items or shoppers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
Definitions
- the embodiments of the present disclosure relate to a method for remotely displaying a three-dimensional model, a first terminal, an electronic device, and a storage medium.
- At least one embodiment of the present disclosure provides a method for remotely displaying a three-dimensional model, which is applied to a first terminal, and the method includes: loading a three-dimensional model in a page based on a network graphics library drawing protocol; calling an augmented reality interface to display the three-dimensional model The first posture; establish a transmission channel group with the second terminal based on real-time audio and video technology, so that the second terminal displays the first posture of the three-dimensional model synchronously with the first terminal on the page; in response to the detected pair
- the adjustment operation performed by the three-dimensional model displayed on the first terminal obtains the operation data corresponding to the adjustment operation; based on the network graphics library drawing protocol and calls the augmented reality interface to display and the adjustment Operate the corresponding second posture of the three-dimensional model; transmit the operation data from the first terminal to the second terminal through the transmission channel group, so that the second terminal performs an operation based on the operation data
- the first posture of the three-dimensional model displayed by the second terminal performs the adjustment operation synchronously, so that
- the network graphics library drawing protocol includes WebGL.
- the augmented reality interface includes an ARcore development interface in JavaScript form or an ARKit development interface in JavaScript form.
- the page includes a browser page or an application page.
- calling the augmented reality interface to display the first posture of the three-dimensional model includes: acquiring an image; calling the augmented reality interface to perform plane recognition on the image to identify all The display plane in the image; calling the augmented reality interface to display the first posture of the three-dimensional model on the display plane.
- calling the augmented reality interface to display the first posture of the three-dimensional model further includes: after the display plane is recognized, before the first posture of the three-dimensional model is displayed , Prompting the user to click on the display plane; receiving a click instruction from the user to determine the click position.
- calling the augmented reality interface to display the first posture of the three-dimensional model on the display plane includes: calling the augmented reality interface to click on the display plane The first posture of the three-dimensional model is displayed at the position.
- invoking the augmented reality interface to display the first posture of the three-dimensional model further includes: invoking the augmented reality interface to process ambient light data, and evaluating the first posture of the three-dimensional model Adjust the display effect parameters of a posture.
- the display effect parameters include shadow, color saturation, and white balance.
- the operation corresponding to the adjustment operation is acquired
- the data includes: in response to the detected adjustment operation performed on the three-dimensional model displayed on the first terminal, monitoring the adjustment operation by using a first page monitoring tool configured in the first terminal to Obtain the operation data based on the first page monitoring tool.
- the operation data is transmitted from the first terminal to the second terminal through the transmission channel group, so that the second terminal is based on the operation data pair
- Performing the adjustment operation synchronously with the first posture of the three-dimensional model displayed by the second terminal so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation includes:
- the transmission channel group transmits the operation data based on the first page monitoring tool from the first terminal to the second terminal, so that the second terminal sets the operation data in the second terminal according to the operation data
- the state of the second page monitoring tool configured so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation; wherein, the first page monitoring tool and the second page monitoring The tool is the same type of page monitoring tool.
- displaying the second posture of the three-dimensional model corresponding to the adjustment operation includes: The network graphics library drawing protocol adjusts the size, display angle, and display position of the three-dimensional model corresponding to the adjustment operation, and based on the network graphics library drawing protocol and calling the augmented reality interface to display the three-dimensional model The second posture, so that the three-dimensional model is switched from the first posture to the second posture.
- displaying the second posture of the three-dimensional model corresponding to the adjustment operation includes: calling the The augmented reality interface processes the posture data of the three-dimensional model to adjust the size, display angle, and display position of the three-dimensional model corresponding to the adjustment operation, and calls the augmented reality based on the network graphics library drawing protocol
- the interface displays the second posture of the three-dimensional model, so that the three-dimensional model is switched from the first posture to the second posture.
- the display posture parameters of the three-dimensional model in the first posture are different from the display posture parameters of the three-dimensional model in the second posture, and the display posture parameters include size, At least one of display angle and placement.
- the three-dimensional model is a three-dimensional vehicle model
- the display angle includes the external viewing angle of the three-dimensional vehicle model and/or the internal space viewing angle of the three-dimensional vehicle model
- the first posture is the posture of the three-dimensional vehicle model when the display angle is the external viewing angle or the posture when the display angle is the internal space viewing angle
- the second posture is the posture of the three-dimensional vehicle model
- the display angle is the posture under the external viewing angle or the posture under the internal space viewing angle.
- the three-dimensional vehicle model includes the shape of the interior space of the vehicle, the outline of the vehicle, and material information.
- the adjustment operation is any one of the following operations performed on the three-dimensional model displayed on the first terminal: click, drag, zoom in, and zoom out .
- At least one embodiment of the present disclosure further provides a first terminal for remotely displaying a three-dimensional model, including: a page loading unit configured to load the three-dimensional model in the page based on a network graphics library drawing protocol; and an augmented reality processing unit configured to Call the augmented reality interface to display the first posture of the three-dimensional model;
- the communication unit is configured to establish a transmission channel group with the second terminal based on real-time audio and video technology, so that the second terminal displays synchronously with the first terminal on the page The first posture of the three-dimensional model;
- an obtaining unit configured to obtain operation data corresponding to the adjustment operation in response to a detected adjustment operation performed on the three-dimensional model displayed on the first terminal; switching Unit, configured to display the second posture of the three-dimensional model corresponding to the adjustment operation based on the network graphics library drawing protocol and call the augmented reality interface;
- the operation data is transmitted from the first terminal to the second terminal, so that the second terminal performs the adjustment synchronously on the first posture of the three-dimensional model displayed by the second
- At least one embodiment of the present disclosure further provides an electronic device, including: a processor; a memory, including one or more computer program modules; wherein the one or more computer program modules are stored in the memory and configured To be executed by the processor, the one or more computer program modules include instructions for implementing the method for remotely displaying a three-dimensional model according to any embodiment of the present disclosure.
- At least one embodiment of the present disclosure further provides a storage medium for storing non-transitory computer-readable instructions.
- the non-transitory computer-readable instructions are executed by a computer, the three-dimensional Model remote display method.
- FIG. 1 is a schematic flowchart of a method for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure
- FIG. 2 is a schematic diagram of screen sharing between a first terminal and a second terminal according to at least one embodiment of the present disclosure
- FIG. 3 is a schematic flowchart of step S120 of the remote display method for a three-dimensional model shown in FIG. 1;
- FIG. 4 is another schematic flowchart of step S120 of the method for remotely displaying a three-dimensional model shown in FIG. 1;
- 6A is one of the display effect diagrams of a method for remote display of a three-dimensional model provided by at least one embodiment of the present disclosure
- 6B is the second display effect diagram of a method for remote display of a three-dimensional model provided by at least one embodiment of the present disclosure
- 6C is the third display effect diagram of a method for remote display of a three-dimensional model provided by at least one embodiment of the present disclosure
- 6D is the fourth display effect diagram of a method for remote display of a three-dimensional model provided by at least one embodiment of the present disclosure
- FIG. 7 is a schematic diagram of a system that can be used to implement the remote display method of a three-dimensional model provided by an embodiment of the present disclosure
- FIG. 8 is a schematic block diagram of a first terminal for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure
- FIG. 9 is a schematic diagram of the remote display application provided by at least one embodiment of the present disclosure.
- FIG. 10 is a schematic block diagram of an electronic device provided by at least one embodiment of the present disclosure.
- FIG. 11 is a schematic block diagram of another electronic device provided by at least one embodiment of the present disclosure.
- FIG. 12 is a schematic diagram of a storage medium provided by at least one embodiment of the present disclosure.
- remote display of vehicle photos or vehicle models can be realized.
- screen sharing can be understood as keeping the content displayed on the screens of different terminals consistent between different terminals in real time. For example, in the state of screen sharing, after the first user corresponding to the first terminal performs a drag operation such as a drag operation on the displayed vehicle photo or vehicle model on the first screen of the first terminal, the second terminal will also perform the drag operation.
- the mobile operation enables the content displayed on the second screen of the second terminal to be synchronized with the first screen.
- the image currently displayed on the first screen can be obtained by screen interception, and then the intercepted image is transmitted to the second terminal , So that the content displayed on the first screen is synchronously displayed on the second screen of the second terminal.
- the screen can be captured at a rate of 30 frames and 45 frames per second, and the captured images can be transmitted to the second terminal one by one.
- this screen capture method will take up a lot of equipment resources to store and transmit the captured images, which will cause a lot of equipment resources to be occupied, reduce the performance of the equipment, and even cause display freezes and heat generation.
- a large amount of image data transmission will also cause a display delay problem, that is, there is a time difference between the content displayed by the two terminals, which is especially obvious on mobile terminals with lower performance.
- the intercepted image may be compressed to reduce the resolution, which causes the image displayed by the second terminal to be unclear and reduces the user experience.
- At least one embodiment of the present disclosure provides a method for remotely displaying a three-dimensional model, a first terminal for remotely displaying a three-dimensional model, an electronic device, and a storage medium.
- the 3D model remote display method can display 3D models (such as 3D vehicle models) on pages (such as webpages) without installing native applications. It is convenient to use, can realize the integration of 3D vehicle models and real scenes, and can provide more realistic online The way to watch the car, and improve the interactivity and playability of watching the car online.
- the 3D model remote display method can realize screen sharing between terminals, reduce the amount of data transmitted, can avoid occupying a large amount of equipment resources, avoid display jams, equipment heating, etc., can solve the display delay problem, and ensure The resolution of the image displayed by each terminal improves the user experience.
- At least one embodiment of the present disclosure provides a method for remotely displaying a three-dimensional model, which is applied to a first terminal.
- the method includes: loading a three-dimensional model on the page based on the network graphics library drawing protocol; calling the augmented reality interface to display the first posture of the three-dimensional model; establishing a transmission channel group with the second terminal based on real-time audio and video technology, so that the second terminal is on the page In synchronizing with the first terminal, the first posture of the three-dimensional model is displayed; in response to the detected adjustment operation performed on the three-dimensional model displayed on the first terminal, the operation data corresponding to the adjustment operation is obtained; and based on the network graphics library drawing protocol and Call the augmented reality interface to display the second posture of the three-dimensional model corresponding to the adjustment operation; transmit the operating data from the first terminal to the second terminal through the transmission channel group, so that the second terminal displays the three-dimensional model to the second terminal based on the operating data
- the first posture of the model performs the adjustment operation synchronously, so that the
- FIG. 1 is a schematic flowchart of a method for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure.
- the remote display method of the three-dimensional model is applied to a first terminal
- the first terminal includes any electronic device with computing function, such as a mobile phone, a laptop, a tablet, a desktop computer, a server, etc.
- the embodiments of the present disclosure are suitable for This is not limited.
- the first terminal has a central processing unit (Central Processing Unit, CPU) or a graphics processing unit (Graphics Processing Unit, GPU), and also includes a memory.
- the memory is, for example, a non-volatile memory (for example, Read Only Memory (ROM)), and the code of the operating system is stored thereon.
- ROM Read Only Memory
- the memory also stores codes or instructions, and by running these codes or instructions, the remote display method of the three-dimensional model provided by the embodiments of the present disclosure can be realized.
- the first terminal may also include a display component, such as a liquid crystal display (LCD), an organic light emitting diode (OLED) display, and a quantum dot light emitting diode (Quantum Dot Light).
- the remote display method of the three-dimensional model provided by the embodiment of the present disclosure may use the display part of the first terminal to display corresponding content to display the three-dimensional model.
- the first terminal may implement screen sharing with the second terminal by executing the method for remote display of the three-dimensional model.
- the first terminal and the second terminal are only used to distinguish two terminals, and do not indicate any order, quantity, or importance.
- the second terminal can also implement screen sharing with the first terminal by executing the three-dimensional model remote display method, which is not limited in the embodiment of the present disclosure.
- the method includes the following operations.
- Step S110 Load the 3D model on the page based on the drawing protocol of the network graphics library
- Step S120 Call the augmented reality interface to display the first posture of the three-dimensional model
- Step S130 Establish a transmission channel group with the second terminal based on real-time audio and video technology, so that the second terminal displays the first posture of the three-dimensional model synchronously with the first terminal on the page;
- Step S140 In response to the detected adjustment operation performed on the three-dimensional model displayed on the first terminal, obtain operation data corresponding to the adjustment operation;
- Step S150 Based on the network graphics library drawing protocol and calling the augmented reality interface, the second posture of the three-dimensional model corresponding to the adjustment operation is displayed;
- Step S160 The operation data is transmitted from the first terminal to the second terminal through the transmission channel group, so that the second terminal synchronously performs an adjustment operation on the first posture of the three-dimensional model displayed by the second terminal based on the operation data, so that the second terminal The second posture of the three-dimensional model corresponding to the adjustment operation is displayed.
- the network graphics library drawing protocol may be WebGL (Web Graphics Library).
- WebGL is a 3D drawing protocol that combines JavaScript and open graphics libraries (such as OpenGL).
- OpenGL can provide a graphics program interface for rendering 2D and 3D vector graphics.
- a common page such as a web page
- a canvas of HTML canvas
- JavaScript to draw images on the page.
- OpenGL technology by adding a JavaScript binding of OpenGL (for example, OpenGL ES 2.0), hardware 3D accelerated rendering can be provided for HTML Canvas. Therefore, the developer of the page can smoothly display the three-dimensional model on the page with the help of the graphics card of the terminal device that displays the page.
- graphics can be rendered using the hardware acceleration at the bottom of the terminal device, so that a three-dimensional model can be displayed on the page without the support of a browser plug-in, and it has an efficient graphics rendering speed.
- the network graphics library drawing protocol is not limited to WebGL, and may also be other applicable protocols for drawing 3D models on the page, which may be determined according to actual needs. The embodiment does not limit this.
- the page includes a browser page or an application page.
- a browser page is a page accessed through a browser, that is, a normal web page.
- the user can use any browser to access this page.
- the browser may be, for example, an Internet Explorer browser, a Firefox browser, a Safari browser, a 360 browser, a Sogou browser, etc., which are not limited in the embodiments of the present disclosure.
- an application page is a page accessed through a page view.
- the page view is, for example, a WebView, which is a control used to display a page in Android (Andriod).
- the user can use the page view controls in the application to access the page when using the application without using a browser.
- Common applications such as "WeChat”, "58.com”, etc.
- page view controls so that pages can be accessed within the application.
- the page view is not limited to WebView, and can also be a control used to access pages in an application in the IOS system, Windows Phone system, or any other system. This can be determined according to actual needs. This is not limited.
- the browser page and the application page are essentially the same, and both contain HTML tags and adopt the Hypertext Markup Language format, but the access tools used by the two are different.
- the embodiments of the present disclosure are not limited to this, and the page may also include pages accessed in other ways, which may be determined according to actual needs.
- the three-dimensional model may be a three-dimensional vehicle model, which includes the shape of the interior space of the vehicle, vehicle outline, material information, and the like.
- a three-dimensional vehicle model can be obtained by modeling based on Azure Kinect DK or based on a deep binocular camera according to the actual vehicle.
- the three-dimensional vehicle model can better reflect the actual vehicle situation and has a strong sense of reality.
- the size ratio of the three-dimensional vehicle model to the actual vehicle is 1:N, and N is an integer greater than 1.
- the shape and contour of the internal space of the three-dimensional vehicle model are the same as the shape and contour of the internal space of the actual vehicle, and the material (for example, color, texture, etc.) of the three-dimensional vehicle model is the same as the visual effect of the actual vehicle.
- the user can obtain the same intuitive experience as viewing the actual vehicle by viewing the three-dimensional vehicle model.
- the three-dimensional model is not limited to the three-dimensional vehicle model, but can also be any other object model, such as a three-dimensional room model, a three-dimensional furniture model, a three-dimensional household appliance model, etc., which can be based on actual needs. Certainly, the embodiments of the present disclosure do not limit this.
- the augmented reality (AR) interface includes an ARcore development interface in JavaScript form or an ARKit development interface in JavaScript form.
- ARcore is a software development platform launched by Google to build augmented reality applications. It can be used to develop augmented reality applications on the Android platform or add augmented reality functions to Android applications.
- ARKit is a software development platform launched by Apple to build augmented reality applications. It can be used to develop augmented reality applications on the IOS platform or add augmented reality functions to IOS applications.
- Augmented reality technology can ingeniously integrate virtual information with the real world, so that the virtual information and the real world can complement each other, thereby realizing the "enhancement" of the real world.
- ARcore and ARKit please refer to the conventional design, which will not be detailed here. It should be noted that since the 3D model is loaded into the page based on WebGL, the augmented reality interface needs to be in the form of JavaScript in order to be called on the page.
- the augmented reality interface is not limited to the type described above, and may also be other applicable augmented reality development interfaces, which may be determined according to the type of operating system. This is not limited.
- a transmission channel group is established with the second terminal based on Real-Time Communication (RTC) technology, so that the second terminal displays the first posture of the three-dimensional model synchronously with the first terminal on the page.
- RTC Real-Time Communication
- the three-dimensional model is a three-dimensional vehicle model
- the first posture can be a display posture of the three-dimensional vehicle model at any viewing angle
- the first posture can display the shape or internal space of the three-dimensional vehicle model.
- the first terminal may obtain the parameters of the first terminal and the parameters of the second terminal, and establish a transmission channel group based on the parameters of the first terminal and the parameters of the second terminal, thereby establishing a transmission channel with the second terminal based on real-time audio and video technology Group.
- the parameters of the first terminal may include the IP (Internet Protocol) address of the first terminal (for example, network IP address), the device identification corresponding to the first terminal (for example, the ID of a mobile phone, etc.), time and other information, and the parameters of the second terminal It may include information such as the IP address of the second terminal, the device identifier corresponding to the second terminal, and time.
- IP Internet Protocol
- the first terminal and the second terminal may be various mobile terminals, fixed terminals, etc.
- the mobile terminal may be a mobile phone, a tablet computer, etc.
- the fixed terminal may be a desktop computer, etc.
- the first terminal and the second terminal may be devices of the same type or different types.
- the first terminal and the second terminal may also include an application (App) of the mobile terminal.
- the application program can be, for example, "58 Same City" and so on.
- the transmission channel group may implement data transmission through a wired network and/or a wireless network.
- Wired networks for example, can use twisted pair, coaxial cable, or optical fiber transmission for data transmission
- wireless networks can, for example, use 3G/4G/5G mobile communication networks, Bluetooth, Zigbee, or WiFi for data transmission.
- the transmission channel group is established based on real-time audio and video technology, so that the transmission channel group has a small delay when transmitting data, thereby meeting the needs of real-time data interaction.
- the first terminal and the second terminal can implement real-time data transmission through the transmission channel group.
- the data may be operation data described below.
- FIG. 2 is a schematic diagram of screen sharing between a first terminal and a second terminal according to at least one embodiment of the present disclosure.
- the first posture of the three-dimensional model is displayed on the first screen 2011 of the first terminal 201.
- the first terminal 201 and the second terminal 202 have a transmission channel group established based on real-time audio and video technology for real-time data transmission.
- the second screen 2021 of the second terminal 202 synchronously displays the first posture of the three-dimensional model. That is, the size, display angle, display position and other parameters of the three-dimensional model displayed on the first screen 2011 and the second screen 2021 are the same.
- the visual perception of the three-dimensional model displayed on the screen 2021 is the same or substantially the same.
- the first terminal 201 and the second terminal 202 are located in different locations, thereby realizing remote screen sharing.
- step S140 in response to a detected adjustment operation performed on the three-dimensional model displayed on the first terminal, operation data corresponding to the adjustment operation is acquired.
- the first user corresponding to the first terminal may perform a screen operation on the first screen of the first terminal, that is, the aforementioned adjustment operation, to change the screen displayed on the first screen.
- the adjustment operation may be any one of the following operations performed on the three-dimensional model displayed on the first terminal: click, drag, zoom in, and zoom out.
- the first user corresponding to the first terminal can use the mouse or directly operate on the touch screen to click and drag the three-dimensional model, or perform operations such as zooming in or zooming out the three-dimensional model, thereby changing the display posture of the three-dimensional model to make the first What is displayed on the screen is no longer the first posture of the three-dimensional model.
- the adjustment operation may be any applicable operation performed on the three-dimensional model displayed on the first terminal, and the embodiment of the present disclosure does not limit this.
- step S150 based on the network graphics library drawing protocol and calling the augmented reality interface, the second posture of the three-dimensional model corresponding to the adjustment operation is displayed.
- the three-dimensional model displayed by the first terminal is switched from the first posture to the second posture.
- the display posture parameters of the three-dimensional model in the first posture are different from the display posture parameters of the three-dimensional model in the second posture, and the display posture parameters include at least one of size (for example, size), display angle, and display position.
- size for example, size
- display angle for example
- display position for example, any one, two or three parameters of the size, display angle, and display position of the three-dimensional model in the first posture are different from the corresponding parameters in the second posture, so that the user can obtain different viewing experience.
- I won’t repeat it here will be described below, so I won’t repeat it here.
- the three-dimensional model is a three-dimensional vehicle model
- the above-mentioned display angle includes the external view angle of the three-dimensional vehicle model and/or the internal space view angle of the three-dimensional vehicle model.
- the first posture can be the posture of the three-dimensional vehicle model when the display angle is the external viewing angle or the posture when the display angle is the internal space viewing angle
- the second posture can be the posture of the three-dimensional vehicle model when the display angle is the external viewing angle or
- the display angle is the posture under the viewing angle of the internal space.
- the three-dimensional vehicle model displayed by the first terminal When the three-dimensional vehicle model displayed by the first terminal is switched from the first posture to the second posture, the three-dimensional vehicle model may only have a change in the appearance viewing angle (that is, switching from one appearance viewing angle to another appearance viewing angle), and It can only change the viewing angle of the internal space (that is, switch from one internal space viewing angle to another internal space viewing angle), and can also switch from the external viewing angle to the internal space viewing angle or from the internal space viewing angle to the external viewing angle angle.
- the first user corresponding to the first terminal can view the shape and internal space of the three-dimensional vehicle model, and can switch the display angle at will.
- the size, display angle, and display position of the 3D model can be adjusted corresponding to the adjustment operation based on the network graphics library drawing protocol, and the second part of the 3D model can be displayed based on the network graphics library drawing protocol and calling the augmented reality interface. Posture, so that the three-dimensional model is switched from the first posture to the second posture.
- the adjustment of the three-dimensional model is done through the network graphics library drawing protocol.
- the size, display angle, and display position of the 3D model can be adjusted to provide a better user experience.
- the user can use the mouse or directly use the finger to operate on the touch screen, so that the three-dimensional model can be dragged, zoomed, rotated, and the shape and internal space are switched.
- the augmented reality interface can be called to process the posture data of the 3D model to adjust the size, display angle and display position of the 3D model corresponding to the adjustment operation, based on the network graphics library drawing protocol and call the augmented reality interface
- the second posture of the three-dimensional model is displayed, so that the three-dimensional model is switched from the first posture to the second posture.
- the adjustment of the three-dimensional model is completed by calling the augmented reality interface.
- the pose estimation function provided by the augmented reality interface can be used to process the pose data by calling the augmented reality interface, and then adjust the size, display angle, and display position of the 3D model according to the processing result, thereby providing a better user experience.
- the remote display method for a three-dimensional model runs in a first terminal by running code.
- the first terminal may be a mobile terminal, such as a mobile phone, a tablet computer, etc.
- the posture data is the posture data of the mobile terminal.
- the user can hold the mobile terminal and change the posture of the mobile terminal, and process the posture data by calling the augmented reality interface, so that the size, display angle, and display position of the three-dimensional model can be adjusted according to the processing result.
- This approach can simplify user operations, improve interactivity, and improve user experience.
- the posture estimation function in the augmented reality technology please refer to the conventional design, which will not be detailed here.
- the specific method for displaying the second posture of the three-dimensional model based on the network graphics library drawing protocol and calling the augmented reality interface can refer to the method for displaying the first posture of the three-dimensional model by using step S110 and step S120, which will not be described in detail here.
- the first terminal may obtain operation data corresponding to the adjustment operation. After performing the adjustment operation, the first terminal will display the second posture of the three-dimensional model corresponding to the adjustment operation. That is, the adjustment operation is used to change the three-dimensional model displayed on the first screen from the first posture to the second posture.
- the specific process of obtaining operation data will be described in detail below.
- step S160 the operation data is transmitted from the first terminal to the second terminal through the transmission channel group, so that the second terminal displays the first posture of the three-dimensional model of the second terminal based on the operation data.
- the adjustment operation is performed synchronously, so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation.
- the second terminal may perform an adjustment operation synchronously on the first posture of the three-dimensional model displayed by the second terminal based on the operation data, so that the second terminal is synchronized Show the second pose of the 3D model.
- the operation data corresponding to the zoom-in operation is transmitted to the second terminal, and the second terminal is based on the zoom-in operation.
- the operating data also simultaneously performs an enlargement operation on the three-dimensional model displayed on the second screen, so that the first terminal and the second terminal realize screen sharing, so that both the first terminal and the second terminal display the enlarged three-dimensional model.
- the working modes of the first terminal and the second terminal are similar to the above-mentioned modes, and so on.
- the first user corresponds to the first terminal
- the second user corresponds to the second terminal.
- the first user and the second user can be located in different locations, and the first user and the second user can remotely watch the three-dimensional model and switch the posture of the three-dimensional model.
- the first user and the second user can watch the images of the same posture of the three-dimensional model at the same time, that is, realize screen sharing.
- the three-dimensional model is a three-dimensional vehicle model
- the first posture displayed by the second terminal also corresponds to the main view of the three-dimensional vehicle model outline.
- View screen, and the size, display angle, and display position of the three-dimensional vehicle model viewed by the first user and the second user are the same, so that the first user corresponding to the first terminal and the second user corresponding to the second terminal can view The same image of the three-dimensional vehicle model.
- the first terminal and the second terminal may obtain images corresponding to the same three-dimensional model in the same posture, for example, images corresponding to the same three-dimensional vehicle model.
- the first terminal may first determine the identification of the three-dimensional model to be displayed, such as vehicle identification, serial number and other information, and then send the identification of the three-dimensional model to the second terminal through the transmission channel group, so that the second terminal can also access and display the Three-dimensional model.
- first terminal and the second terminal initially display the initial posture of the three-dimensional model
- the initial screen displayed by the first terminal and the initial screen displayed by the second terminal are different.
- FIG. 3 is a schematic flowchart of step S120 of the method for remotely displaying a three-dimensional model shown in FIG. 1.
- step S120 in FIG. 1 may further include the following operations.
- Step S121 Obtain an image
- Step S122 Call the augmented reality interface to perform plane recognition on the image to identify the display plane in the image;
- Step S123 Call the augmented reality interface to display the first posture of the three-dimensional model on the display plane.
- the acquired image is an image of a real scene.
- the first terminal that implements the method for remotely displaying the three-dimensional model has a camera, and the camera can be used to capture images of the real scene.
- the image may be a video displayed in real time, or a picture (ie, a photo), which is not limited in the embodiments of the present disclosure.
- an image may be obtained through the network, and the image is an image that is captured in advance, reflects a real scene, and is stored on the network.
- a certain image can be selected from a plurality of images and acquired, and the scenes reflected by the plurality of images are different from each other.
- the method of acquiring images is not limited to the above-described method, and any applicable method may also be used, which may be determined according to actual needs, and the embodiment of the present disclosure does not limit this.
- an augmented reality interface (such as the aforementioned ARcore development interface in JavaScript form or ARKit development interface in JavaScript form) is called to perform plane recognition on the image.
- plane recognition there may be one or more planes in the image, such as the ground, the desktop, and so on.
- this plane is determined as the display plane.
- one of the multiple planes can be determined as the display plane according to a preset rule. For example, in some examples, a larger plane may be determined as the display plane according to the relative sizes of multiple planes. For example, in other examples, after multiple planes are identified, the user can select one of the multiple planes as the display plane.
- the foregoing preset rule is not limited to the two methods described above, and can be any method, which may be determined according to actual needs, and the embodiment of the present disclosure does not limit this.
- the display plane cannot be obtained.
- the user may be prompted that the display plane cannot be recognized and the image needs to be reacquired.
- the plane recognition can be realized by a triangulation algorithm, or by other applicable algorithms, which is not limited in the embodiments of the present disclosure.
- a triangulation algorithm or by other applicable algorithms, which is not limited in the embodiments of the present disclosure.
- the plane recognition and triangulation algorithm in the augmented reality technology please refer to the conventional design, which will not be detailed here.
- the augmented reality interface is called to display the first posture of the three-dimensional model on the display plane, that is, the first posture of the three-dimensional model is displayed on the display plane.
- the first terminal not only displays the acquired image, but also displays the first posture of the three-dimensional model on the display plane in the image, thereby realizing the fusion of the three-dimensional model and the real scene, and achieving the purpose of displaying the three-dimensional model.
- the second posture of the three-dimensional model can be displayed on the previously determined display plane for displaying the first posture, without the need to display the plane again.
- Recognition the embodiments of the present disclosure are not limited to this.
- the image can be re-acquired and the display plane can be recognized, which can be determined according to actual needs. The embodiment of the present disclosure does not limit this.
- FIG. 4 is another schematic flowchart of step S120 of the method for remotely displaying a three-dimensional model shown in FIG. 1.
- step S120 in FIG. 1 may further include the following operations.
- Step S121 Obtain an image
- Step S122 Call the augmented reality interface to perform plane recognition on the image to identify the display plane in the image;
- Step S124 prompt the user to click on the display plane
- Step S125 Receive a click instruction from the user to determine the click position
- Step S123a Call the augmented reality interface to display the first posture of the three-dimensional model at the click position on the display plane.
- Step S121 and step S122 in this embodiment are basically the same as step S121 and step S122 shown in FIG.
- step S124 after the display plane is identified, the user is prompted to click on the display plane.
- the user may be prompted through a pop-up text box, the user may also be prompted through a voice broadcast, or the user may be prompted through other applicable methods, which are not limited in the embodiments of the present disclosure.
- the display plane can be marked in the displayed image to facilitate the user to click.
- a wire frame may be used to mark the display plane, or the display plane may be displayed in a highlight coloring manner, or the display plane may be marked in other applicable manners, which is not limited in the embodiments of the present disclosure.
- a click instruction from the user is received to determine the click position, and the user can click any position on the display plane.
- the method for remotely displaying a three-dimensional model provided in this embodiment runs in a first terminal by running code, and the first terminal includes an input device, such as a mouse or a touch screen.
- the user can directly click the position on the touch screen with a finger, or click the position on the screen with a mouse, and the first terminal receives the click instruction, so that the click position can be determined.
- the received click instruction is valid, so that subsequent operations can be performed.
- the received click instruction is invalid, and the user is prompted to click again.
- step S123 shown in FIG. 3 may be implemented as step S123a shown in FIG. 4.
- the augmented reality interface is called to display the first posture of the three-dimensional model at the click position on the display plane.
- the three-dimensional model can be displayed according to a preset display scale and the three-dimensional model can be in the first posture, and the center of the three-dimensional model can be located at the click position on the display plane, so that the three-dimensional model can be displayed at the click position on the display plane.
- the preset display ratio can be determined according to actual needs.
- the size ratio of the three-dimensional model and the display plane can be 1:1 or 1:2 to achieve a better display effect.
- the embodiment of the present disclosure is not limited to this, the preset display ratio can be any numerical value, and the preset display ratio can also be changed and reconfigured by the user, which is not limited by the embodiment of the present disclosure.
- step S124 and step S125 can also be omitted, that is, when the display plane is recognized, the user is no longer prompted to click the display plane.
- step S123a is changed to the default, for example.
- the first pose of the three-dimensional model is displayed at the center of the display plane.
- FIG. 5 is a schematic diagram of still another flow chart of step S120 of the method for remotely displaying a three-dimensional model shown in FIG. 1.
- step S120 in FIG. 1 may further include the following operations.
- Step S121 Obtain an image
- Step S122 Call the augmented reality interface to perform plane recognition on the image to identify the display plane in the image;
- Step S123 Call the augmented reality interface to display the first posture of the three-dimensional model on the display plane;
- Step S126 Call the augmented reality interface to process the ambient light data, and adjust the display effect parameters of the first posture of the three-dimensional model.
- Steps S121-S123 in this embodiment are basically the same as steps S121-S123 shown in FIG.
- the ambient light data is ambient light data in a real scene, such as parameters such as light intensity and light direction.
- the first terminal that implements the method for remotely displaying the three-dimensional model includes a light sensor, and the ambient light data can be acquired by using the light sensor.
- the ambient light data is acquired by processing and analyzing the acquired image of the real scene.
- the embodiments of the present disclosure are not limited to this, and the ambient light data can be acquired in any applicable manner.
- the ambient light estimation function provided by the augmented reality interface, process the ambient light data by calling the augmented reality interface, and then adjust the display effect parameters of the first posture of the 3D model according to the processing result, so that the 3D model is consistent with the real scene Illumination effect, so that the 3D model can be seamlessly integrated into the real scene, which can improve the realism of the display effect.
- the display effect parameters include shadow, color saturation, white balance, etc., and may also include other applicable parameters, which are not limited in the embodiments of the present disclosure.
- the ambient light estimation function in the augmented reality technology please refer to the conventional design, which will not be detailed here.
- the display when displaying the second posture of the three-dimensional model, the display can be performed in a manner similar to that of displaying the first posture of the three-dimensional model, which will not be repeated here.
- obtaining operation data corresponding to the adjustment operation includes: responding to the detected adjustment operation performed on the first terminal
- the adjustment operation performed by the three-dimensional model shown above uses the first page monitoring tool configured in the first terminal to monitor the adjustment operation to obtain operation data based on the first page monitoring tool.
- the first terminal transmits the operating data based on the first page monitoring tool from the first terminal to the second terminal through the transmission channel group, so that the second terminal sets the second terminal configured in the second terminal according to the operating data.
- the status of the page monitoring tool, so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation.
- the first page monitoring tool and the second page monitoring tool are the same type of page monitoring tools.
- a script (such as JavaScript) is used to draw an image on the Canvas canvas, so that the image can be drawn on the page.
- the first page monitoring tool may be a Canvas canvas including a script, so that adjustment operations can be monitored.
- the Canvas canvas After listening to the adjustment operation, the Canvas canvas will obtain the operation data corresponding to the adjustment operation, and draw the image based on the obtained operation data.
- the Canvas canvas can monitor the zoom-in operation, and obtain the operation data corresponding to the zoom-in operation, such as the magnification ratio, and perform the operation data based on the operation data.
- Graphical drawing is performed to display the second posture obtained by enlarging the first posture of the three-dimensional model according to the magnification ratio.
- the first terminal may send the operation data obtained by the Canvas canvas to the second terminal in real time through the transmission channel group.
- the second terminal receives the operation data sent by the first terminal, it provides the received operation data to the Canvas canvas configured in the second terminal, so that the Canvas canvas of the second terminal draws graphics based on the operation data, for example , Perform the corresponding zooming operation, so as to realize the synchronous display of the second posture of the three-dimensional model on the second screen.
- the first user and the second user can also communicate information while sharing the screen, for example, transmitting voice data through the transmission channel group, so as to transmit information more timely and feedback information more accurately, which can improve the product Experience, enhance product performance, and increase the fun of remote display of 3D models.
- a three-dimensional model (such as a three-dimensional vehicle model) can be displayed on a page (such as a web page) without installing a native application program, which is convenient to use.
- a native application program such as a web page
- the integration of the three-dimensional vehicle model and the real scene can be realized, a more realistic way of watching a car online can be provided, and the interaction and playability of watching a car online can be improved, and the user experience can be effectively improved.
- the first terminal and the second terminal can perform synchronous display based on the operating data transmitted in real time, that is, the screen sharing between the first terminal and the second terminal is realized, and both Synchronous display of the screens of two terminals.
- the amount of transmitted data can be effectively reduced, avoid occupying a large amount of equipment resources, and avoid phenomena such as display freezes and equipment heating.
- the display delay problem caused by the transmission of a large amount of image data can also be avoided, which is more conducive to real-time screen sharing and narrowing the time difference between the two terminals to display content.
- the screen sharing is realized based on the same operation performed by the page monitoring tools configured in the first terminal and the second terminal, the resolution of the images displayed by the two terminals can be guaranteed, which improves the user experience and makes the remote The display is more convenient.
- the execution order of the steps of the three-dimensional model remote display method is not limited. Although the execution process of the steps is described in a specific order above, this does not constitute a reference to the embodiments of the present disclosure. limits.
- the steps in the remote display method of the three-dimensional model can be executed serially or in parallel, which can be determined according to actual needs.
- the remote display method of the three-dimensional model may further include more or fewer steps, which are not limited in the embodiment of the present disclosure.
- FIG. 6A is one of the display effect diagrams of a method for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure
- FIG. 6B is the second display effect diagram of a method for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure.
- the remote display method for a three-dimensional model provided by an embodiment of the present disclosure runs in the first terminal by running code, and there is a round table 310 in the real scene.
- the first user accesses a page (for example, a web page) through a browser installed on the first terminal, or accesses a page through a WebView control in an application program installed on the first terminal.
- a page for example, a web page
- WebView control in an application program installed on the first terminal.
- an image of the real scene is captured by the camera of the first terminal and displayed on the page, so that the image displayed on the page includes the round table 310.
- the desktop 311 is identified, and the desktop 311 is the aforementioned display plane.
- the first user is prompted to click on the desktop 311 displayed on the page. For example, the first user clicks on the center of the desktop 311 under the prompt.
- the three-dimensional vehicle model 320 is displayed at the center of the desktop 311 displayed on the page.
- the first posture of the three-dimensional vehicle model 320 is displayed.
- the first terminal and the second terminal establish a transmission channel group, so that the second terminal displays the first posture of the three-dimensional vehicle model 320 synchronously with the first terminal on the page.
- the screens displayed on the page of the first terminal and the page of the second terminal are both the screens shown in FIG. 6A.
- the first user performs a rotation operation and a reduction operation on the three-dimensional vehicle model 320 displayed on the first terminal, and the first page monitoring tool configured in the first terminal monitors these operations to obtain operation data.
- the rotation operation is used to change the display angle of the three-dimensional vehicle model 320
- the reduction operation is used to reduce the size of the three-dimensional vehicle model 320.
- the first terminal displays the second posture of the three-dimensional vehicle model 320 corresponding to these operations.
- the second posture is as shown in FIG. 6B.
- the size and display angle of the three-dimensional vehicle model 320 in the screen shown in FIG. 6B have changed.
- the first terminal transmits the operation data to the second terminal through the transmission channel group.
- the second terminal synchronously performs a rotation operation and a reduction operation on the three-dimensional vehicle model 320 displayed by the second terminal based on the operation data, so that the second terminal displays the second posture of the three-dimensional vehicle model 320.
- the screens displayed on the page of the first terminal and the page of the second terminal are both the screens shown in FIG. 6B.
- the three-dimensional vehicle model 320 can be displayed simultaneously on the page of the first terminal and the page of the second terminal. Different postures, thus providing a better viewing experience.
- FIG. 6C is the third display effect diagram of a method for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure.
- the remote display method for a three-dimensional model provided by an embodiment of the present disclosure runs in the first terminal by running code, and the real scene is a room 330.
- the first user accesses a page (for example, a web page) through a browser installed on the first terminal, or accesses a page through a WebView control in an application program installed on the first terminal.
- an image of the real scene is captured by the camera of the first terminal and displayed on the page, so that the image displayed on the page includes the room 330.
- the ground 331 is identified, and the ground 331 is the aforementioned display plane.
- the first user is prompted to click on the ground 331 displayed on the page. For example, the first user clicks any position on the ground 331 under the prompt.
- the first posture of the three-dimensional vehicle model 320 is displayed at the position on the ground 331 displayed on the page.
- the first terminal and the second terminal establish a transmission channel group, so that the second terminal displays the first posture of the three-dimensional vehicle model 320 synchronously with the first terminal on the page.
- the screens displayed on the page of the first terminal and the page of the second terminal are both the screens shown in FIG. 6C.
- the method for subsequently switching the posture of the three-dimensional vehicle model 320 and enabling the first terminal and the second terminal to realize synchronous display by transmitting operation data is basically the same as the example shown in FIGS. 6A-6B, and will not be repeated here.
- FIG. 6D is the fourth display effect diagram of a method for remote display of a three-dimensional model provided by at least one embodiment of the present disclosure.
- the remote display method for a three-dimensional model provided by an embodiment of the present disclosure runs in the first terminal by running code, and there is a round table 310 in the real scene.
- the first user accesses a page (for example, a web page) through a browser installed on the first terminal, or accesses a page through a WebView control in an application program installed on the first terminal.
- an image of the real scene is captured by the camera of the first terminal and displayed on the page, so that the image displayed on the page includes the round table 310.
- the desktop 311 is identified, and the desktop 311 is the aforementioned display plane.
- the first user is prompted to click on the desktop 311 displayed on the page. For example, the first user clicks on the center of the desktop 311 under the prompt.
- the three-dimensional house model 340 is displayed at the center position of the desktop 311 displayed on the page.
- the first posture of the three-dimensional house model 340 is displayed.
- the first terminal and the second terminal establish a transmission channel group, so that the second terminal synchronously displays the first posture of the three-dimensional house model 340 on the page with the first terminal.
- the screens displayed on the page of the first terminal and the page of the second terminal are both the screens shown in FIG. 6D.
- the method for subsequently switching the posture of the three-dimensional house model 340 and enabling the first terminal and the second terminal to realize synchronous display by transmitting operation data is basically the same as the example shown in FIGS. 6A-6B, and will not be repeated here.
- the three-dimensional house model 340 may be a real estate community sand table model, a house model, or a single-room house model.
- these three-dimensional house models can be created and saved in advance through modeling software for use when they need to be displayed.
- the three-dimensional house model 340 may be a model showing the appearance of a house, may also be a model with an internal structure, and may also be a model that can be switched between an appearance mode and an interior mode.
- the switching can be implemented based on a user's operation instruction.
- the user's operation instruction indicates the shape mode
- the appearance of the three-dimensional house model 340 can be displayed, and the posture of the three-dimensional house model 340 can be adjusted, so that the user can observe the appearance of the three-dimensional house model 340 from different angles.
- the internal structure of the three-dimensional house model 340 can be displayed, that is, a certain wall or a few walls of the three-dimensional house model 340 are removed to present the internal structure, and the user can compare the three-dimensional house model 340
- the posture of the three-dimensional house model 340 can be adjusted so that the user can observe the internal structure and spatial layout of the three-dimensional house model 340 from different angles.
- the three-dimensional model is not limited to the three-dimensional vehicle model and the three-dimensional house model, but can also be any other applicable three-dimensional model. As long as the three-dimensional model needs to be displayed remotely, the embodiments of the present disclosure can be used. The provided method performs remote display, which is not limited in the embodiments of the present disclosure.
- FIG. 7 is a schematic diagram of a system that can be used to implement the remote display method of a three-dimensional model provided by an embodiment of the present disclosure.
- the system 400 may include a first terminal 410, a network 420, a server 430, a database 440, and a second terminal 450.
- the system 400 can be used to implement the remote display method of a three-dimensional model provided by any embodiment of the present disclosure.
- the first terminal 410 is, for example, a computer 410-1 or a mobile phone 410-2.
- the second terminal 450 is, for example, a computer 450-1 or a mobile phone 450-2. It is understandable that the first terminal 410 and the second terminal 450 can be any other types of electronic devices capable of performing data processing, which can include, but are not limited to, desktop computers, laptops, tablets, smart phones, smart home devices, Wearable devices, in-vehicle electronic equipment, monitoring equipment, etc.
- the first terminal 410 and the second terminal 450 may also be any equipment provided with electronic devices, such as vehicles, robots, and so on.
- the first user may operate an application program installed on the first terminal 410.
- the application program transmits user behavior data to the server 430 through the network 420, and the first terminal 410 may also receive data transmitted by the server 430 through the network 420.
- the first user may also use a browser installed on the first terminal 410 to access a page or use a page view control of an application program to access a page, and the page uses the remote display method of a three-dimensional model provided by an embodiment of the present disclosure to display a three-dimensional model.
- the network 420 may be a single network, or a combination of at least two different networks.
- the network 420 may include, but is not limited to, one or a combination of several of a local area network, a wide area network, a public network, and a private network.
- the second user may use a browser installed on the second terminal 450 to access the page or use the page view control of the application to access the page.
- the operating data can be transmitted from the first terminal 410 to the second terminal 450 via the network 420, and the second terminal 450 is displayed in the page with the first terminal 450.
- a terminal 410 simultaneously displays the three-dimensional model.
- the server 430 may be a single server or a server group, and each server in the group is connected through a wired or wireless network.
- a server group can be centralized, such as a data center, or distributed.
- the server 430 may be local or remote.
- the database 440 may generally refer to a device having a storage function.
- the database 440 is mainly used to store various data used, generated, and output by the first terminal 410, the second terminal 450, and the server 430 in the work. For example, a large amount of three-dimensional model data is stored in the database 440, and the server 430 reads the three-dimensional model data selected by the first user from the database 440, and sends the three-dimensional model data to the first terminal 410 via the network 420.
- the first terminal 410 The three-dimensional model corresponding to the three-dimensional model data is displayed, and the second terminal 450 is synchronized to display the three-dimensional model remotely, so that it is convenient for the first user and the second user to browse or watch.
- the database 440 may be local or remote.
- the database 440 may include various memories, such as random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), and so on.
- RAM random access memory
- ROM read-only memory
- the storage devices mentioned above are just a few examples, and the storage devices that can be used by the system 400 are not limited to these.
- the database 440 may be connected or communicated with the server 430 or a part thereof via the network 420, or directly connected or communicated with the server 430, or a combination of the above two methods.
- the database 440 may be a stand-alone device. In other examples, the database 440 may also be integrated in at least one of the first terminal 410, the second terminal 450, and the server 430. For example, the database 440 may be set on the first terminal 410, on the second terminal 450, or on the server 430. For another example, the database 440 may also be distributed, a part of which is set on the first terminal 410 and the other part is set on the server 430.
- At least one embodiment of the present disclosure also provides a first terminal for remotely displaying a three-dimensional model.
- the first terminal can display a three-dimensional model (such as a three-dimensional vehicle model) on a page (such as a web page) without installing a native application. It is convenient and can realize the integration of three-dimensional vehicle model and real scene, can provide a more realistic way of watching cars online, and improve the interactivity and playability of watching cars online.
- the first terminal can realize screen sharing between terminals, reduce the amount of data transmitted, can avoid occupying a large amount of equipment resources, avoid display jams, equipment heating, etc., can solve the display delay problem, and ensure that each terminal The resolution of the displayed image improves the user experience.
- FIG. 8 is a schematic block diagram of a first terminal for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure.
- the first terminal 500 includes a page loading unit 510, an augmented reality processing unit 520, a communication unit 530, an acquisition unit 540, a switching unit 550, and a transmission unit 560.
- the first terminal 500 can be applied to any device or system that needs to remotely display a three-dimensional model, which is not limited in the embodiment of the present disclosure.
- the page loading unit 510 is configured to load the three-dimensional model in the page based on the network graphics library drawing protocol. For example, the page loading unit 510 may execute step S110 of the method for remotely displaying a three-dimensional model as shown in FIG. 1.
- the augmented reality processing unit 520 is configured to call the augmented reality interface to display the first posture of the three-dimensional model. For example, the augmented reality processing unit 520 may execute step S120 of the method for remotely displaying a three-dimensional model as shown in FIG. 1.
- the communication unit 530 is configured to establish a transmission channel group with the second terminal based on real-time audio and video technology, so that the second terminal displays the first posture of the three-dimensional model synchronously with the first terminal 500 on the page. For example, the communication unit 530 may execute step S130 of the method for remotely displaying a three-dimensional model as shown in FIG. 1.
- the obtaining unit 540 is configured to obtain operation data corresponding to the adjustment operation in response to the detected adjustment operation performed on the three-dimensional model displayed on the first terminal 500. For example, the acquiring unit 540 may execute step S140 of the method for remotely displaying a three-dimensional model as shown in FIG. 1.
- the switching unit 550 is configured to display the second posture of the three-dimensional model corresponding to the adjustment operation based on the network graphics library drawing protocol and call the augmented reality interface. For example, the switching unit 550 may execute step S150 of the method for remotely displaying a three-dimensional model as shown in FIG. 1.
- the transmission unit 560 is configured to transmit the operation data from the first terminal 500 to the second terminal through the transmission channel group, so that the second terminal synchronously performs an adjustment operation on the first posture of the three-dimensional model displayed by the second terminal based on the operation data, so that The second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation.
- the transmission unit 560 may execute step S160 of the method for remotely displaying a three-dimensional model as shown in FIG. 1.
- the page loading unit 510 and the augmented reality processing unit 520 can be reused as the switching unit 550 as a whole, so as to not only display the first posture of the three-dimensional model, but also display the second posture of the three-dimensional model when needed, so as to improve Resource utilization.
- the page loading unit 510, the augmented reality processing unit 520, the communication unit 530, the acquisition unit 540, the switching unit 550, and the transmission unit 560 may be hardware, software, firmware, and any feasible combination thereof.
- the page loading unit 510, the augmented reality processing unit 520, the communication unit 530, the acquisition unit 540, the switching unit 550, and the transmission unit 560 may be dedicated or general-purpose circuits, chips or devices, etc., or may be a combination of a processor and a memory .
- the embodiments of the present disclosure do not limit this.
- each unit of the first terminal 500 corresponds to each step of the aforementioned three-dimensional model remote display method.
- the specific functions and technical effects of the first terminal 500 please refer to About three-dimensional model remote display The description of the method will not be repeated here.
- the components and structure of the first terminal 500 shown in FIG. 8 are only exemplary, and not restrictive.
- the first terminal 500 may further include other components and structures as required.
- FIG. 9 is a schematic diagram of the remote display application provided by at least one embodiment of the present disclosure.
- the first terminal 501 may include a first screen for displaying a three-dimensional model to the first user
- the second terminal 502 may include a second screen for displaying a three-dimensional model to the second user.
- the first terminal 501 may be the aforementioned first terminal 500.
- a transmission channel group is established between the first terminal 501 and the second terminal 502, which may be, for example, a long connection channel used for real-time communication.
- the first terminal 501 and the second terminal 502 may obtain data corresponding to the same three-dimensional model, which may be a three-dimensional vehicle model.
- the tool unit in the first terminal 501 can monitor the adjustment operation of the first user on the first screen, obtain operation data corresponding to the adjustment operation, and perform graphics on the first screen based on the operation data Draw to switch the posture of the displayed 3D vehicle model.
- the voice unit in the first terminal 501 can monitor the voice input of the first user and obtain voice data. Then, the first terminal 501 can use the communication unit to transmit the voice data and the operation data to the communication unit of the second terminal 502 via the established transmission channel group.
- the tool unit in the second terminal 502 may perform an adjustment operation based on the received operation data to switch the posture of the three-dimensional vehicle model displayed on the second screen.
- the voice unit in the second terminal 502 may play voice based on the received voice data.
- FIG. 10 is a schematic block diagram of an electronic device provided by at least one embodiment of the present disclosure.
- the electronic device 600 includes a processor 610 and a memory 620.
- the memory 620 is used to store non-transitory computer readable instructions (for example, one or more computer program modules).
- the processor 610 is configured to run non-transitory computer-readable instructions, and when the non-transitory computer-readable instructions are executed by the processor 610, one or more steps in the method for remotely displaying a three-dimensional model described above can be executed.
- the memory 620 and the processor 610 may be interconnected by a bus system and/or other forms of connection mechanisms (not shown).
- the processor 610 may be a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), or other forms of processing units with data processing capabilities and/or program execution capabilities, such as field programmable Gate array (FPGA), etc.; for example, the central processing unit (CPU) can be an X86 or ARM architecture.
- the processor 610 may be a general-purpose processor or a special-purpose processor, and may control other components in the electronic device 600 to perform desired functions.
- the memory 620 may include any combination of one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory.
- Volatile memory may include random access memory (RAM) and/or cache memory (cache), for example.
- Non-volatile memory may include, for example, read only memory (ROM), hard disk, erasable programmable read only memory (EPROM), portable compact disk read only memory (CD-ROM), USB memory, flash memory, etc.
- One or more computer program modules may be stored on the computer-readable storage medium, and the processor 610 may run one or more computer program modules to implement various functions of the electronic device 600.
- the computer-readable storage medium may also store various application programs and various data, various data used and/or generated by the application programs, and the like.
- FIG. 11 is a schematic block diagram of another electronic device provided by at least one embodiment of the present disclosure.
- the electronic device 700 is, for example, suitable for implementing the method for remotely displaying a three-dimensional model provided by an embodiment of the present disclosure.
- the electronic device 700 may be a terminal device or the like. It should be noted that the electronic device 700 shown in FIG. 11 is only an example, which does not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
- the electronic device 700 may include a processing device (such as a central processing unit, a graphics processor, etc.) 710, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 720 or from a storage device 780.
- the program in the memory (RAM) 730 executes various appropriate actions and processes.
- various programs and data required for the operation of the electronic device 700 are also stored.
- the processing device 710, the ROM 720, and the RAM 730 are connected to each other through a bus 740.
- An input/output (I/O) interface 750 is also connected to the bus 740.
- the following devices can be connected to the I/O interface 750: including input devices 760 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCD), speakers, vibration An output device 770 such as a device; a storage device 780 such as a magnetic tape, a hard disk, etc.; and a communication device 790.
- the communication device 790 may allow the electronic device 700 to perform wireless or wired communication with other electronic devices to exchange data.
- FIG. 11 shows an electronic device 700 with various devices, it should be understood that it is not required to implement or have all the devices shown, and the electronic device 700 may alternatively implement or have more or fewer devices.
- At least one embodiment of the present disclosure further provides a storage medium for storing non-transitory computer-readable instructions.
- the remote three-dimensional model provided by any embodiment of the present disclosure can be realized. Show method.
- three-dimensional models (such as three-dimensional vehicle models) can be displayed on pages (such as web pages) without installing native applications, which is convenient to use, and can realize the integration of three-dimensional vehicle models and real scenes, which can provide more realistic online The way to watch the car, and improve the interactivity and playability of watching the car online.
- FIG. 12 is a schematic diagram of a storage medium provided by at least one embodiment of the present disclosure.
- the storage medium 800 is used to store non-transitory computer readable instructions 810.
- the non-transitory computer-readable instructions 810 are executed by a computer, one or more steps in the remote display method according to the above-mentioned three-dimensional model can be executed.
- the storage medium 800 may be applied to the above-mentioned electronic device 600.
- the storage medium 800 may be the memory 620 in the electronic device 600 shown in FIG. 10.
- the relevant description of the storage medium 800 reference may be made to the corresponding description of the memory 620 in the electronic device 600 shown in FIG. 10, which will not be repeated here.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Finance (AREA)
- Human Computer Interaction (AREA)
- Accounting & Taxation (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Computer Graphics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Hardware Design (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A remote display method for a three-dimensional model, a first terminal, an electronic device and a storage medium. The method comprises: on the basis of a network graphics library drawing protocol, loading a three-dimensional model in a page; calling an augmented reality interface to display a first attitude of the three-dimensional model; on the basis of real-time audio and video technology, establishing a transmission channel group with a second terminal (202), so that the second terminal (202) and the first terminal (201) synchronously display in the page a first attitude of the three-dimensional model; in response to the detected adjustment operation executed on the three-dimensional model displayed in the first terminal (201), obtaining operation data corresponding to the adjustment operation; on the basis of a network graphics library drawing protocol, calling an augmented reality interface, and displaying a second attitude of the three-dimensional model corresponding to the adjustment operation; and transmitting the operation data from the first terminal (201) to the second terminal (202) by means of the transmission channel group, so that the second terminal (202) displays a second attitude of the three-dimensional model corresponding to the adjustment operation. According to the method, the three-dimensional vehicle model may be displayed in the webpage, and screen sharing between terminals can be achieved.
Description
本申请要求于2020年4月10日递交的中国专利申请第202010279917.5号的优先权,在此全文引用上述中国专利申请公开的内容以作为本申请的一部分。This application claims the priority of the Chinese patent application No. 202010279917.5 filed on April 10, 2020, and the content of the above-mentioned Chinese patent application is quoted here in full as a part of this application.
本公开的实施例涉及一种三维模型远程展示方法、第一终端、电子设备及存储介质。The embodiments of the present disclosure relate to a method for remotely displaying a three-dimensional model, a first terminal, an electronic device, and a storage medium.
随着人们物质生活水平的提高,汽车交易量逐年上升。在汽车交易过程中,买方需要获取汽车的信息,例如汽车的外形、颜色、配置、价格等,然后根据实际需求选择心仪的汽车。例如,买方可以到4S店现场看车,但是,现场看车会受到时间、距离等因素的影响,看车效率较低。随着近年来网络技术的发展,买方可以通过网络获取汽车的信息,从而无需现场看车,提高了看车效率。With the improvement of people's material living standards, the volume of automobile transactions has increased year by year. In the process of car transaction, the buyer needs to obtain car information, such as the shape, color, configuration, price, etc. of the car, and then choose the car of choice according to actual needs. For example, the buyer can go to the 4S shop to see the car on site, but the on-site car watching will be affected by factors such as time and distance, and the efficiency of car watching is low. With the development of network technology in recent years, buyers can obtain car information through the network, eliminating the need to watch the car on site, improving the efficiency of car viewing.
发明内容Summary of the invention
本公开至少一个实施例提供一种三维模型远程展示方法,应用于第一终端,所述方法包括:基于网络图形库绘图协议,在页面中加载三维模型;调用增强现实接口展示所述三维模型的第一姿态;基于实时音视频技术与第二终端建立传输通道组,使得所述第二终端在页面中与所述第一终端同步展示所述三维模型的第一姿态;响应于检测到的对所述第一终端上所展示的所述三维模型执行的调整操作,获取对应于所述调整操作的操作数据;基于所述网络图形库绘图协议并调用所述增强现实接口,展示与所述调整操作对应的所述三维模型的第二姿态;通过所述传输通道组将所述操作数据由所述第一终端传输至所述第二终端,使得所述第二终端基于所述操作数据对所述第二终端所展示的所述三维模型的第一姿态同步执行所述调整操作,以使得所述第二终端展示与所述调整操作对应的所述三维模型的第二姿态。At least one embodiment of the present disclosure provides a method for remotely displaying a three-dimensional model, which is applied to a first terminal, and the method includes: loading a three-dimensional model in a page based on a network graphics library drawing protocol; calling an augmented reality interface to display the three-dimensional model The first posture; establish a transmission channel group with the second terminal based on real-time audio and video technology, so that the second terminal displays the first posture of the three-dimensional model synchronously with the first terminal on the page; in response to the detected pair The adjustment operation performed by the three-dimensional model displayed on the first terminal obtains the operation data corresponding to the adjustment operation; based on the network graphics library drawing protocol and calls the augmented reality interface to display and the adjustment Operate the corresponding second posture of the three-dimensional model; transmit the operation data from the first terminal to the second terminal through the transmission channel group, so that the second terminal performs an operation based on the operation data The first posture of the three-dimensional model displayed by the second terminal performs the adjustment operation synchronously, so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation.
例如,在本公开一实施例提供的方法中,所述网络图形库绘图协议包括WebGL。For example, in the method provided by an embodiment of the present disclosure, the network graphics library drawing protocol includes WebGL.
例如,在本公开一实施例提供的方法中,所述增强现实接口包括JavaScript形式的ARcore开发接口或JavaScript形式的ARKit开发接口。For example, in the method provided by an embodiment of the present disclosure, the augmented reality interface includes an ARcore development interface in JavaScript form or an ARKit development interface in JavaScript form.
例如,在本公开一实施例提供的方法中,所述页面包括浏览器页面或者 应用程序页面。For example, in the method provided by an embodiment of the present disclosure, the page includes a browser page or an application page.
例如,在本公开一实施例提供的方法中,调用所述增强现实接口展示所述三维模型的第一姿态包括:获取图像;调用所述增强现实接口对所述图像进行平面识别,以识别所述图像中的展示平面;调用所述增强现实接口在所述展示平面上展示所述三维模型的第一姿态。For example, in the method provided by an embodiment of the present disclosure, calling the augmented reality interface to display the first posture of the three-dimensional model includes: acquiring an image; calling the augmented reality interface to perform plane recognition on the image to identify all The display plane in the image; calling the augmented reality interface to display the first posture of the three-dimensional model on the display plane.
例如,在本公开一实施例提供的方法中,调用所述增强现实接口展示所述三维模型的第一姿态还包括:在识别到所述展示平面之后、展示所述三维模型的第一姿态之前,提示用户点击所述展示平面;接收所述用户的点击指令以确定点击位置。For example, in the method provided by an embodiment of the present disclosure, calling the augmented reality interface to display the first posture of the three-dimensional model further includes: after the display plane is recognized, before the first posture of the three-dimensional model is displayed , Prompting the user to click on the display plane; receiving a click instruction from the user to determine the click position.
例如,在本公开一实施例提供的方法中,调用所述增强现实接口在所述展示平面上展示所述三维模型的第一姿态包括:调用所述增强现实接口在所述展示平面上的点击位置处展示所述三维模型的第一姿态。For example, in the method provided by an embodiment of the present disclosure, calling the augmented reality interface to display the first posture of the three-dimensional model on the display plane includes: calling the augmented reality interface to click on the display plane The first posture of the three-dimensional model is displayed at the position.
例如,在本公开一实施例提供的方法中,调用所述增强现实接口展示所述三维模型的第一姿态还包括:调用所述增强现实接口处理环境光数据,并对所述三维模型的第一姿态的展示效果参数进行调节。For example, in the method provided by an embodiment of the present disclosure, invoking the augmented reality interface to display the first posture of the three-dimensional model further includes: invoking the augmented reality interface to process ambient light data, and evaluating the first posture of the three-dimensional model Adjust the display effect parameters of a posture.
例如,在本公开一实施例提供的方法中,所述展示效果参数包括阴影、色彩饱和度和白平衡。For example, in the method provided by an embodiment of the present disclosure, the display effect parameters include shadow, color saturation, and white balance.
例如,在本公开一实施例提供的方法中,响应于检测到的对所述第一终端上所展示的所述三维模型执行的所述调整操作,获取对应于所述调整操作的所述操作数据,包括:响应于检测到的对所述第一终端上所展示的所述三维模型执行的所述调整操作,利用所述第一终端中配置的第一页面监听工具监听所述调整操作以获取基于所述第一页面监听工具的所述操作数据。For example, in the method provided by an embodiment of the present disclosure, in response to the detected adjustment operation performed on the three-dimensional model displayed on the first terminal, the operation corresponding to the adjustment operation is acquired The data includes: in response to the detected adjustment operation performed on the three-dimensional model displayed on the first terminal, monitoring the adjustment operation by using a first page monitoring tool configured in the first terminal to Obtain the operation data based on the first page monitoring tool.
例如,在本公开一实施例提供的方法中,通过所述传输通道组将所述操作数据由所述第一终端传输至所述第二终端,使得所述第二终端基于所述操作数据对所述第二终端所展示的所述三维模型的第一姿态同步执行所述调整操作,以使得所述第二终端展示与所述调整操作对应的所述三维模型的第二姿态,包括:通过所述传输通道组将基于所述第一页面监听工具的操作数据由所述第一终端传输至所述第二终端,使得所述第二终端根据所述操作数据设定所述第二终端中配置的第二页面监听工具的状态,以使得所述第二终端展示与所述调整操作对应的所述三维模型的第二姿态;其中,所述第一页面监听工具和所述第二页面监听工具是相同类型的页面监听工具。For example, in the method provided by an embodiment of the present disclosure, the operation data is transmitted from the first terminal to the second terminal through the transmission channel group, so that the second terminal is based on the operation data pair Performing the adjustment operation synchronously with the first posture of the three-dimensional model displayed by the second terminal so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation includes: The transmission channel group transmits the operation data based on the first page monitoring tool from the first terminal to the second terminal, so that the second terminal sets the operation data in the second terminal according to the operation data The state of the second page monitoring tool configured so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation; wherein, the first page monitoring tool and the second page monitoring The tool is the same type of page monitoring tool.
例如,在本公开一实施例提供的方法中,基于所述网络图形库绘图协议并调用所述增强现实接口,展示与所述调整操作对应的所述三维模型的第二姿态,包括:基于所述网络图形库绘图协议对所述三维模型的尺寸、展示角度和展示位置进行与所述调整操作对应的调节,基于所述网络图形库绘图协议并调用所述增强现实接口展示所述三维模型的第二姿态,以使所述三维模 型从第一姿态切换为第二姿态。For example, in the method provided by an embodiment of the present disclosure, based on the network graphics library drawing protocol and calling the augmented reality interface, displaying the second posture of the three-dimensional model corresponding to the adjustment operation includes: The network graphics library drawing protocol adjusts the size, display angle, and display position of the three-dimensional model corresponding to the adjustment operation, and based on the network graphics library drawing protocol and calling the augmented reality interface to display the three-dimensional model The second posture, so that the three-dimensional model is switched from the first posture to the second posture.
例如,在本公开一实施例提供的方法中,基于所述网络图形库绘图协议并调用所述增强现实接口,展示与所述调整操作对应的所述三维模型的第二姿态,包括:调用所述增强现实接口处理所述三维模型的姿态数据以对所述三维模型的尺寸、展示角度和展示位置进行与所述调整操作对应的调节,基于所述网络图形库绘图协议并调用所述增强现实接口展示所述三维模型的第二姿态,以使所述三维模型从第一姿态切换为第二姿态。For example, in the method provided by an embodiment of the present disclosure, based on the network graphics library drawing protocol and calling the augmented reality interface, displaying the second posture of the three-dimensional model corresponding to the adjustment operation includes: calling the The augmented reality interface processes the posture data of the three-dimensional model to adjust the size, display angle, and display position of the three-dimensional model corresponding to the adjustment operation, and calls the augmented reality based on the network graphics library drawing protocol The interface displays the second posture of the three-dimensional model, so that the three-dimensional model is switched from the first posture to the second posture.
例如,在本公开一实施例提供的方法中,所述三维模型在第一姿态下的展示姿态参数与所述三维模型在第二姿态下的展示姿态参数不同,所述展示姿态参数包括尺寸、展示角度和展示位置中的至少之一。For example, in the method provided by an embodiment of the present disclosure, the display posture parameters of the three-dimensional model in the first posture are different from the display posture parameters of the three-dimensional model in the second posture, and the display posture parameters include size, At least one of display angle and placement.
例如,在本公开一实施例提供的方法中,所述三维模型为三维车辆模型,所述展示角度包括所述三维车辆模型的外形观看角度和/或所述三维车辆模型的内部空间观看角度,所述第一姿态为所述三维车辆模型在所述展示角度为外形观看角度下的姿态或在所述展示角度为内部空间观看角度下的姿态,所述第二姿态为所述三维车辆模型在所述展示角度为外形观看角度下的姿态或在所述展示角度为内部空间观看角度下的姿态。For example, in the method provided by an embodiment of the present disclosure, the three-dimensional model is a three-dimensional vehicle model, and the display angle includes the external viewing angle of the three-dimensional vehicle model and/or the internal space viewing angle of the three-dimensional vehicle model, The first posture is the posture of the three-dimensional vehicle model when the display angle is the external viewing angle or the posture when the display angle is the internal space viewing angle, and the second posture is the posture of the three-dimensional vehicle model The display angle is the posture under the external viewing angle or the posture under the internal space viewing angle.
例如,在本公开一实施例提供的方法中,所述三维车辆模型包含车辆内部空间的形状、车辆轮廓和材质信息。For example, in the method provided by an embodiment of the present disclosure, the three-dimensional vehicle model includes the shape of the interior space of the vehicle, the outline of the vehicle, and material information.
例如,在本公开一实施例提供的方法中,所述调整操作是对所述第一终端上所展示的所述三维模型执行的以下操作中的任意一种:点击、拖动、放大和缩小。For example, in the method provided by an embodiment of the present disclosure, the adjustment operation is any one of the following operations performed on the three-dimensional model displayed on the first terminal: click, drag, zoom in, and zoom out .
本公开至少一个实施例还提供一种用于远程展示三维模型的第一终端,包括:页面加载单元,配置为基于网络图形库绘图协议,在页面中加载三维模型;增强现实处理单元,配置为调用增强现实接口展示所述三维模型的第一姿态;通信单元,配置为基于实时音视频技术与第二终端建立传输通道组,使得所述第二终端在页面中与所述第一终端同步展示所述三维模型的第一姿态;获取单元,配置为响应于检测到的对所述第一终端上所展示的所述三维模型执行的调整操作,获取对应于所述调整操作的操作数据;切换单元,配置为基于所述网络图形库绘图协议并调用所述增强现实接口,展示与所述调整操作对应的所述三维模型的第二姿态;传输单元,配置为通过所述传输通道组将所述操作数据由所述第一终端传输至所述第二终端,使得所述第二终端基于所述操作数据对所述第二终端所展示的所述三维模型的第一姿态同步执行所述调整操作,以使得所述第二终端展示与所述调整操作对应的所述三维模型的第二姿态。At least one embodiment of the present disclosure further provides a first terminal for remotely displaying a three-dimensional model, including: a page loading unit configured to load the three-dimensional model in the page based on a network graphics library drawing protocol; and an augmented reality processing unit configured to Call the augmented reality interface to display the first posture of the three-dimensional model; the communication unit is configured to establish a transmission channel group with the second terminal based on real-time audio and video technology, so that the second terminal displays synchronously with the first terminal on the page The first posture of the three-dimensional model; an obtaining unit configured to obtain operation data corresponding to the adjustment operation in response to a detected adjustment operation performed on the three-dimensional model displayed on the first terminal; switching Unit, configured to display the second posture of the three-dimensional model corresponding to the adjustment operation based on the network graphics library drawing protocol and call the augmented reality interface; The operation data is transmitted from the first terminal to the second terminal, so that the second terminal performs the adjustment synchronously on the first posture of the three-dimensional model displayed by the second terminal based on the operation data Operation, so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation.
本公开至少一个实施例还提供一种电子设备,包括:处理器;存储器,包括一个或多个计算机程序模块;其中,所述一个或多个计算机程序模块被 存储在所述存储器中并被配置为由所述处理器执行,所述一个或多个计算机程序模块包括用于实现本公开任一实施例所述的三维模型远程展示方法的指令。At least one embodiment of the present disclosure further provides an electronic device, including: a processor; a memory, including one or more computer program modules; wherein the one or more computer program modules are stored in the memory and configured To be executed by the processor, the one or more computer program modules include instructions for implementing the method for remotely displaying a three-dimensional model according to any embodiment of the present disclosure.
本公开至少一个实施例还提供一种存储介质,用于存储非暂时性计算机可读指令,当所述非暂时性计算机可读指令由计算机执行时可以实现本公开任一实施例所述的三维模型远程展示方法。At least one embodiment of the present disclosure further provides a storage medium for storing non-transitory computer-readable instructions. When the non-transitory computer-readable instructions are executed by a computer, the three-dimensional Model remote display method.
为了更清楚地说明本公开实施例的技术方案,下面将对实施例的附图作简单地介绍,显而易见地,下面描述中的附图仅仅涉及本公开的一些实施例,而非对本公开的限制。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the drawings of the embodiments. Obviously, the drawings in the following description only refer to some embodiments of the present disclosure, rather than limiting the present disclosure. .
图1为本公开至少一个实施例提供的一种三维模型远程展示方法的流程示意图;FIG. 1 is a schematic flowchart of a method for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure;
图2为本公开至少一个实施例提供的第一终端与第二终端进行屏幕共享的示意图;2 is a schematic diagram of screen sharing between a first terminal and a second terminal according to at least one embodiment of the present disclosure;
图3为图1所示的三维模型远程展示方法的步骤S120的一种流程示意图;FIG. 3 is a schematic flowchart of step S120 of the remote display method for a three-dimensional model shown in FIG. 1;
图4为图1所示的三维模型远程展示方法的步骤S120的另一种流程示意图;FIG. 4 is another schematic flowchart of step S120 of the method for remotely displaying a three-dimensional model shown in FIG. 1;
图5为图1所示的三维模型远程展示方法的步骤S120的再一种流程示意图;5 is a schematic diagram of still another flow chart of step S120 of the remote display method for a three-dimensional model shown in FIG. 1;
图6A为本公开至少一个实施例提供的一种三维模型远程展示方法的展示效果图之一;6A is one of the display effect diagrams of a method for remote display of a three-dimensional model provided by at least one embodiment of the present disclosure;
图6B为本公开至少一个实施例提供的一种三维模型远程展示方法的展示效果图之二;6B is the second display effect diagram of a method for remote display of a three-dimensional model provided by at least one embodiment of the present disclosure;
图6C为本公开至少一个实施例提供的一种三维模型远程展示方法的展示效果图之三;6C is the third display effect diagram of a method for remote display of a three-dimensional model provided by at least one embodiment of the present disclosure;
图6D为本公开至少一个实施例提供的一种三维模型远程展示方法的展示效果图之四;6D is the fourth display effect diagram of a method for remote display of a three-dimensional model provided by at least one embodiment of the present disclosure;
图7为一种可用于实施本公开实施例提供的三维模型远程展示方法的系统示意图;FIG. 7 is a schematic diagram of a system that can be used to implement the remote display method of a three-dimensional model provided by an embodiment of the present disclosure;
图8为本公开至少一个实施例提供的一种用于远程展示三维模型的第一终端的示意框图;FIG. 8 is a schematic block diagram of a first terminal for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure;
图9为本公开至少一个实施例提供的远程展示的应用示意图;FIG. 9 is a schematic diagram of the remote display application provided by at least one embodiment of the present disclosure;
图10为本公开至少一个实施例提供的一种电子设备的示意框图;FIG. 10 is a schematic block diagram of an electronic device provided by at least one embodiment of the present disclosure;
图11为本公开至少一个实施例提供的另一种电子设备的示意框图;以及FIG. 11 is a schematic block diagram of another electronic device provided by at least one embodiment of the present disclosure; and
图12为本公开至少一个实施例提供的一种存储介质的示意图。FIG. 12 is a schematic diagram of a storage medium provided by at least one embodiment of the present disclosure.
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例的附图,对本公开实施例的技术方案进行清楚、完整地描述。显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于所描述的本公开的实施例,本领域普通技术人员在无需创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions of the embodiments of the present disclosure will be described clearly and completely in conjunction with the accompanying drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without creative labor are within the protection scope of the present disclosure.
除非另外定义,本公开使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。本公开中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。同样,“一个”、“一”或者“该”等类似词语也不表示数量限制,而是表示存在至少一个。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。Unless otherwise defined, the technical terms or scientific terms used in the present disclosure shall have the usual meanings understood by those with ordinary skills in the field to which this disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity, or importance, but are only used to distinguish different components. Likewise, similar words such as "a", "one" or "the" do not mean a quantity limit, but mean that there is at least one. "Include" or "include" and other similar words mean that the element or item appearing before the word covers the elements or items listed after the word and their equivalents, but does not exclude other elements or items. Similar words such as "connected" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "Down", "Left", "Right", etc. are only used to indicate the relative position relationship. When the absolute position of the described object changes, the relative position relationship may also change accordingly.
通常情况下,买方通过网络看车时,可以通过网页或软件获取多个角度的车辆照片,这些车辆照片为2D图片,难以反映车辆的真实情况。随着科技的进步,3D看车应运而生。在3D看车的应用场景中,买方可以在软件上观看车辆的三维模型,从而可以直观地了解车辆状况。但是,这需要用户在终端设备上安装相应的软件,占用了终端设备的硬件资源,使用不够便捷。而且,车辆的三维模型的呈现方式较为突兀,真实感不足,用户体验较差。Under normal circumstances, when a buyer sees a car through the Internet, he can obtain vehicle photos from multiple angles through web pages or software. These vehicle photos are 2D pictures, which are difficult to reflect the real situation of the vehicle. With the advancement of technology, 3D car viewing came into being. In the application scenario of car viewing in 3D, the buyer can view the three-dimensional model of the vehicle on the software, so that it can intuitively understand the condition of the vehicle. However, this requires users to install corresponding software on the terminal device, which occupies the hardware resources of the terminal device and is not convenient enough to use. Moreover, the presentation of the three-dimensional model of the vehicle is relatively abrupt, lacks realism, and has a poor user experience.
基于平面显示或者基于虚拟现实(Virtual Reality,VR)或增强现实(Augmented Reality,AR)显示技术,可以实现对于车辆照片或车辆模型的远程展示。在远程展示的过程中,需要在两个终端之间进行同步显示,或者可以称为屏幕共享。屏幕共享可以理解为在不同终端之间实时地保持不同终端的屏幕内显示的内容一致。例如,在屏幕共享的状态下,对应于第一终端的第一用户在第一终端的第一屏幕上对显示的车辆照片或车辆模型进行诸如拖动操作之后,第二终端也将执行该拖动操作,使得第二终端的第二屏幕上显示的内容与第一屏幕保持同步。Based on flat display or based on virtual reality (Virtual Reality, VR) or augmented reality (Augmented Reality, AR) display technology, remote display of vehicle photos or vehicle models can be realized. In the process of remote display, it is necessary to synchronize the display between the two terminals, or it can be called screen sharing. Screen sharing can be understood as keeping the content displayed on the screens of different terminals consistent between different terminals in real time. For example, in the state of screen sharing, after the first user corresponding to the first terminal performs a drag operation such as a drag operation on the displayed vehicle photo or vehicle model on the first screen of the first terminal, the second terminal will also perform the drag operation. The mobile operation enables the content displayed on the second screen of the second terminal to be synchronized with the first screen.
在实现屏幕共享的方法中,可以基于网页即时通信(Web Real-Time Communication,WebRTC)技术,通过屏幕截取的方式来获取第一屏幕上当前显示的图像,再将截取的图像传输给第二终端,从而在第二终端的第二屏幕上同步显示第一屏幕上显示的内容。例如,可以以每秒30帧、45帧的速率来进行屏幕截取,并将截取的图像逐个地传输给第二终端。然而,这种屏幕 截取的方式将占用大量的设备资源来存储、传输截取的图像,这将导致大量设备资源占用,降低设备的性能,甚至出现显示卡顿、设备发热等现象。大量的图像数据传输也将导致显示延迟问题,也即,两个终端显示的内容存在时间差,这在性能较低的移动终端上尤其明显。此外,为了降低传输图像占用的数据量,可能对截取的图像进行压缩,降低分辨率,这使得第二终端显示的图像存在不清晰的问题,降低了用户体验。In the method of realizing screen sharing, based on Web Real-Time Communication (WebRTC) technology, the image currently displayed on the first screen can be obtained by screen interception, and then the intercepted image is transmitted to the second terminal , So that the content displayed on the first screen is synchronously displayed on the second screen of the second terminal. For example, the screen can be captured at a rate of 30 frames and 45 frames per second, and the captured images can be transmitted to the second terminal one by one. However, this screen capture method will take up a lot of equipment resources to store and transmit the captured images, which will cause a lot of equipment resources to be occupied, reduce the performance of the equipment, and even cause display freezes and heat generation. A large amount of image data transmission will also cause a display delay problem, that is, there is a time difference between the content displayed by the two terminals, which is especially obvious on mobile terminals with lower performance. In addition, in order to reduce the amount of data occupied by the transmitted image, the intercepted image may be compressed to reduce the resolution, which causes the image displayed by the second terminal to be unclear and reduces the user experience.
本公开至少一个实施例提供一种三维模型远程展示方法、用于远程展示三维模型的第一终端、电子设备及存储介质。该三维模型远程展示方法可以在页面(例如网页)中展示三维模型(例如三维车辆模型),无需安装原生应用程序,使用便捷,可以实现三维车辆模型与现实场景的融合,能够提供更加真实的在线看车方式,并且提高在线看车的互动性和可玩性。而且,该三维模型远程展示方法可以实现终端之间的屏幕共享,降低了传输的数据量,能够避免占用大量的设备资源,避免出现显示卡顿、设备发热等现象,可以解决显示延迟问题,保证各个终端显示的图像的分辨率,提高了用户的使用体验。At least one embodiment of the present disclosure provides a method for remotely displaying a three-dimensional model, a first terminal for remotely displaying a three-dimensional model, an electronic device, and a storage medium. The 3D model remote display method can display 3D models (such as 3D vehicle models) on pages (such as webpages) without installing native applications. It is convenient to use, can realize the integration of 3D vehicle models and real scenes, and can provide more realistic online The way to watch the car, and improve the interactivity and playability of watching the car online. Moreover, the 3D model remote display method can realize screen sharing between terminals, reduce the amount of data transmitted, can avoid occupying a large amount of equipment resources, avoid display jams, equipment heating, etc., can solve the display delay problem, and ensure The resolution of the image displayed by each terminal improves the user experience.
下面,将参考附图详细地说明本公开的实施例。应当注意的是,不同的附图中相同的附图标记将用于指代已描述的相同的元件。Hereinafter, embodiments of the present disclosure will be explained in detail with reference to the drawings. It should be noted that the same reference numerals in different drawings will be used to refer to the same elements that have been described.
本公开至少一个实施例提供一种三维模型远程展示方法,应用于第一终端。该方法包括:基于网络图形库绘图协议,在页面中加载三维模型;调用增强现实接口展示三维模型的第一姿态;基于实时音视频技术与第二终端建立传输通道组,使得第二终端在页面中与第一终端同步展示三维模型的第一姿态;响应于检测到的对第一终端上所展示的三维模型执行的调整操作,获取对应于调整操作的操作数据;基于网络图形库绘图协议并调用增强现实接口,展示与调整操作对应的三维模型的第二姿态;通过传输通道组将操作数据由第一终端传输至第二终端,使得第二终端基于操作数据对第二终端所展示的三维模型的第一姿态同步执行调整操作,以使得第二终端展示与调整操作对应的三维模型的第二姿态。At least one embodiment of the present disclosure provides a method for remotely displaying a three-dimensional model, which is applied to a first terminal. The method includes: loading a three-dimensional model on the page based on the network graphics library drawing protocol; calling the augmented reality interface to display the first posture of the three-dimensional model; establishing a transmission channel group with the second terminal based on real-time audio and video technology, so that the second terminal is on the page In synchronizing with the first terminal, the first posture of the three-dimensional model is displayed; in response to the detected adjustment operation performed on the three-dimensional model displayed on the first terminal, the operation data corresponding to the adjustment operation is obtained; and based on the network graphics library drawing protocol and Call the augmented reality interface to display the second posture of the three-dimensional model corresponding to the adjustment operation; transmit the operating data from the first terminal to the second terminal through the transmission channel group, so that the second terminal displays the three-dimensional model to the second terminal based on the operating data The first posture of the model performs the adjustment operation synchronously, so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation.
图1为本公开至少一个实施例提供的一种三维模型远程展示方法的流程示意图。FIG. 1 is a schematic flowchart of a method for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure.
例如,该三维模型远程展示方法应用于第一终端,该第一终端包括具有计算功能的任何电子设备,例如可以为手机、笔记本电脑、平板电脑、台式计算机、服务器等,本公开的实施例对此不作限制。例如,该第一终端具有中央处理单元(Central Processing Unit,CPU)或图形处理单元(Graphics Processing Unit,GPU),以及还包括存储器。该存储器例如为非易失性存储器(例如只读存储器(Read Only Memory,ROM)),其上存储有操作系统的代码。例如,存储器上还存储有代码或指令,通过运行这些代码或指令,可以 实现本公开实施例提供的三维模型远程展示方法。例如,该第一终端还可以包括显示部件,该显示部件例如为液晶显示屏(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light Emitting Diode,OLED)显示屏、量子点发光二极管(Quantum Dot Light Emitting Diode,QLED)显示屏、投影部件、VR头戴式显示设备(例如VR头盔、VR眼镜)、AR显示设备等,本公开的实施例对此不作限制。本公开实施例提供的三维模型远程展示方法可以利用第一终端的显示部件显示相应的内容,以进行三维模型的展示。For example, the remote display method of the three-dimensional model is applied to a first terminal, and the first terminal includes any electronic device with computing function, such as a mobile phone, a laptop, a tablet, a desktop computer, a server, etc. The embodiments of the present disclosure are suitable for This is not limited. For example, the first terminal has a central processing unit (Central Processing Unit, CPU) or a graphics processing unit (Graphics Processing Unit, GPU), and also includes a memory. The memory is, for example, a non-volatile memory (for example, Read Only Memory (ROM)), and the code of the operating system is stored thereon. For example, the memory also stores codes or instructions, and by running these codes or instructions, the remote display method of the three-dimensional model provided by the embodiments of the present disclosure can be realized. For example, the first terminal may also include a display component, such as a liquid crystal display (LCD), an organic light emitting diode (OLED) display, and a quantum dot light emitting diode (Quantum Dot Light). Emitting Diode (QLED) display screens, projection components, VR head-mounted display devices (for example, VR helmets, VR glasses), AR display devices, etc., which are not limited in the embodiments of the present disclosure. The remote display method of the three-dimensional model provided by the embodiment of the present disclosure may use the display part of the first terminal to display corresponding content to display the three-dimensional model.
例如,第一终端可以通过执行该三维模型远程展示方法来实现与第二终端之间的屏幕共享。这里,第一终端、第二终端仅是为了区分两个终端,并不表示任何顺序、数量或者重要性。类似地,第二终端也可以通过执行该三维模型远程展示方法来实现与第一终端之间的屏幕共享,本公开的实施例对此不作限制。For example, the first terminal may implement screen sharing with the second terminal by executing the method for remote display of the three-dimensional model. Here, the first terminal and the second terminal are only used to distinguish two terminals, and do not indicate any order, quantity, or importance. Similarly, the second terminal can also implement screen sharing with the first terminal by executing the three-dimensional model remote display method, which is not limited in the embodiment of the present disclosure.
如图1所示,在至少一个实施例中,该方法包括如下操作。As shown in FIG. 1, in at least one embodiment, the method includes the following operations.
步骤S110:基于网络图形库绘图协议,在页面中加载三维模型;Step S110: Load the 3D model on the page based on the drawing protocol of the network graphics library;
步骤S120:调用增强现实接口展示三维模型的第一姿态;Step S120: Call the augmented reality interface to display the first posture of the three-dimensional model;
步骤S130:基于实时音视频技术与第二终端建立传输通道组,使得第二终端在页面中与第一终端同步展示三维模型的第一姿态;Step S130: Establish a transmission channel group with the second terminal based on real-time audio and video technology, so that the second terminal displays the first posture of the three-dimensional model synchronously with the first terminal on the page;
步骤S140:响应于检测到的对第一终端上所展示的三维模型执行的调整操作,获取对应于调整操作的操作数据;Step S140: In response to the detected adjustment operation performed on the three-dimensional model displayed on the first terminal, obtain operation data corresponding to the adjustment operation;
步骤S150:基于网络图形库绘图协议并调用增强现实接口,展示与调整操作对应的三维模型的第二姿态;Step S150: Based on the network graphics library drawing protocol and calling the augmented reality interface, the second posture of the three-dimensional model corresponding to the adjustment operation is displayed;
步骤S160:通过传输通道组将操作数据由第一终端传输至第二终端,使得第二终端基于操作数据对第二终端所展示的三维模型的第一姿态同步执行调整操作,以使得第二终端展示与调整操作对应的三维模型的第二姿态。Step S160: The operation data is transmitted from the first terminal to the second terminal through the transmission channel group, so that the second terminal synchronously performs an adjustment operation on the first posture of the three-dimensional model displayed by the second terminal based on the operation data, so that the second terminal The second posture of the three-dimensional model corresponding to the adjustment operation is displayed.
例如,在步骤S110中,网络图形库绘图协议可以为WebGL(Web Graphics Library)。WebGL是一种3D绘图协议,该绘图协议把JavaScript和开放图形库(例如OpenGL)结合起来。OpenGL可以提供图形程序接口,用于渲染2D、3D矢量图形。例如,通常的页面(例如网页)采用HTML标准构建,HTML的画布(Canvas)使用JavaScript在页面上绘制图像。在WebGL技术中,通过增加OpenGL(例如版本为OpenGL ES 2.0)的一个JavaScript绑定,从而可以为HTML的Canvas提供硬件3D加速渲染。由此,页面的开发人员可以借助显示该页面的终端设备的显卡在页面中流畅地显示三维模型。基于WebGL,可以利用终端设备底层的硬件加速对图形进行渲染,从而可以在页面上显示三维模型,而无需浏览器插件的支持,具有高效的图形渲染速度。For example, in step S110, the network graphics library drawing protocol may be WebGL (Web Graphics Library). WebGL is a 3D drawing protocol that combines JavaScript and open graphics libraries (such as OpenGL). OpenGL can provide a graphics program interface for rendering 2D and 3D vector graphics. For example, a common page (such as a web page) is constructed using HTML standards, and a canvas of HTML (Canvas) uses JavaScript to draw images on the page. In WebGL technology, by adding a JavaScript binding of OpenGL (for example, OpenGL ES 2.0), hardware 3D accelerated rendering can be provided for HTML Canvas. Therefore, the developer of the page can smoothly display the three-dimensional model on the page with the help of the graphics card of the terminal device that displays the page. Based on WebGL, graphics can be rendered using the hardware acceleration at the bottom of the terminal device, so that a three-dimensional model can be displayed on the page without the support of a browser plug-in, and it has an efficient graphics rendering speed.
需要说明的是,本公开的实施例中,网络图形库绘图协议不限于为WebGL,也可以为其他适用的用于在页面中绘制三维模型的协议,这可以根 据实际需求而定,本公开的实施例对此不作限制。It should be noted that in the embodiments of the present disclosure, the network graphics library drawing protocol is not limited to WebGL, and may also be other applicable protocols for drawing 3D models on the page, which may be determined according to actual needs. The embodiment does not limit this.
例如,页面包括浏览器页面或者应用程序页面。For example, the page includes a browser page or an application page.
例如,浏览器页面为通过浏览器访问的页面,也即通常的网页。用户可以采用任意的浏览器访问该页面。浏览器例如可以为Internet Explorer浏览器、火狐浏览器、Safari浏览器、360浏览器、搜狗浏览器等,本公开的实施例对此不作限制。For example, a browser page is a page accessed through a browser, that is, a normal web page. The user can use any browser to access this page. The browser may be, for example, an Internet Explorer browser, a Firefox browser, a Safari browser, a 360 browser, a Sogou browser, etc., which are not limited in the embodiments of the present disclosure.
例如,应用程序页面为通过页面视图访问的页面。页面视图例如为WebView,WebView是安卓(Andriod)中用于显示页面的控件。用户可以在使用应用程序时,利用应用程序中的页面视图控件访问页面,而无需使用浏览器。通常的应用程序(例如“微信”、“58同城”等)具有页面视图控件,从而可以在应用程序内访问页面。需要说明的是,页面视图不限于WebView,也可以为IOS系统、Windows Phone系统或其他任意系统中用于在应用程序内访问页面的控件,这可以根据实际需求而定,本公开的实施例对此不作限制。For example, an application page is a page accessed through a page view. The page view is, for example, a WebView, which is a control used to display a page in Android (Andriod). The user can use the page view controls in the application to access the page when using the application without using a browser. Common applications (such as "WeChat", "58.com", etc.) have page view controls, so that pages can be accessed within the application. It should be noted that the page view is not limited to WebView, and can also be a control used to access pages in an application in the IOS system, Windows Phone system, or any other system. This can be determined according to actual needs. This is not limited.
需要说明的是,浏览器页面和应用程序页面本质上是相同的,均为包含HTML标签的文件并且采用超文本标记语言格式,只是两者所利用的访问工具不同。当然,本公开的实施例不限于此,页面还可以包括通过其他方式访问的页面,这可以根据实际需求而定。It should be noted that the browser page and the application page are essentially the same, and both contain HTML tags and adopt the Hypertext Markup Language format, but the access tools used by the two are different. Of course, the embodiments of the present disclosure are not limited to this, and the page may also include pages accessed in other ways, which may be determined according to actual needs.
例如,三维模型可以为三维车辆模型,该三维车辆模型包含车辆内部空间的形状、车辆轮廓和材质信息等。例如,可以根据实际车辆,基于Azure Kinect DK或基于深度双目相机进行建模而得到三维车辆模型,该三维车辆模型能够较好地反映实际车辆的情况,真实感较强。例如,三维车辆模型与实际车辆的尺寸比例为1:N,N为大于1的整数。三维车辆模型的内部空间的形状、轮廓与实际车辆的内部空间的形状、轮廓相同,并且,三维车辆模型的材质(例如颜色、纹理等)与实际车辆的视觉效果相同。由此,用户可以通过观看三维车辆模型而获取与观看实际车辆相同的直观感受。For example, the three-dimensional model may be a three-dimensional vehicle model, which includes the shape of the interior space of the vehicle, vehicle outline, material information, and the like. For example, a three-dimensional vehicle model can be obtained by modeling based on Azure Kinect DK or based on a deep binocular camera according to the actual vehicle. The three-dimensional vehicle model can better reflect the actual vehicle situation and has a strong sense of reality. For example, the size ratio of the three-dimensional vehicle model to the actual vehicle is 1:N, and N is an integer greater than 1. The shape and contour of the internal space of the three-dimensional vehicle model are the same as the shape and contour of the internal space of the actual vehicle, and the material (for example, color, texture, etc.) of the three-dimensional vehicle model is the same as the visual effect of the actual vehicle. As a result, the user can obtain the same intuitive experience as viewing the actual vehicle by viewing the three-dimensional vehicle model.
需要说明的是,本公开的实施例中,三维模型不限于三维车辆模型,也可以为任意的其他物品的模型,例如三维房间模型、三维家具模型、三维家电模型等,这可以根据实际需求而定,本公开的实施例对此不作限制。It should be noted that in the embodiments of the present disclosure, the three-dimensional model is not limited to the three-dimensional vehicle model, but can also be any other object model, such as a three-dimensional room model, a three-dimensional furniture model, a three-dimensional household appliance model, etc., which can be based on actual needs. Certainly, the embodiments of the present disclosure do not limit this.
例如,在步骤S120中,增强现实(AR)接口包括JavaScript形式的ARcore开发接口或JavaScript形式的ARKit开发接口。ARcore是谷歌推出的搭建增强现实应用程序的软件开发平台,可以用于开发安卓平台上的增强现实应用,或者为安卓应用增加增强现实功能。ARKit是苹果公司推出的搭建增强现实应用程序的软件开发平台,可以用于开发IOS平台上的增强现实应用,或者为IOS应用增加增强现实功能。增强现实技术可以将虚拟信息与真实世界巧妙融合,使虚拟信息与真实世界互为补充,从而实现对真实世界的“增强”。 关于ARcore和ARKit的详细说明可参考常规设计,此处不再详述。需要说明的是,由于三维模型基于WebGL被加载到页面中,因此,增强现实接口需要为JavaScript形式,以便于在页面中被调用。For example, in step S120, the augmented reality (AR) interface includes an ARcore development interface in JavaScript form or an ARKit development interface in JavaScript form. ARcore is a software development platform launched by Google to build augmented reality applications. It can be used to develop augmented reality applications on the Android platform or add augmented reality functions to Android applications. ARKit is a software development platform launched by Apple to build augmented reality applications. It can be used to develop augmented reality applications on the IOS platform or add augmented reality functions to IOS applications. Augmented reality technology can ingeniously integrate virtual information with the real world, so that the virtual information and the real world can complement each other, thereby realizing the "enhancement" of the real world. For the detailed description of ARcore and ARKit, please refer to the conventional design, which will not be detailed here. It should be noted that since the 3D model is loaded into the page based on WebGL, the augmented reality interface needs to be in the form of JavaScript in order to be called on the page.
需要说明的是,本公开的实施例中,增强现实接口不限于上文中描述的类型,还可以为其他适用的增强现实开发接口,这可以根据操作系统的类型而定,本公开的实施例对此不作限制。It should be noted that in the embodiments of the present disclosure, the augmented reality interface is not limited to the type described above, and may also be other applicable augmented reality development interfaces, which may be determined according to the type of operating system. This is not limited.
例如,在步骤S130中,基于实时音视频技术(Real-Time Communication,RTC)与第二终端建立传输通道组,使得第二终端在页面中与第一终端同步展示三维模型的第一姿态。例如,该三维模型为三维车辆模型,该第一姿态可以为在任意的观看角度下三维车辆模型的展示姿态,该第一姿态可以展示三维车辆模型的外形或内部空间。For example, in step S130, a transmission channel group is established with the second terminal based on Real-Time Communication (RTC) technology, so that the second terminal displays the first posture of the three-dimensional model synchronously with the first terminal on the page. For example, the three-dimensional model is a three-dimensional vehicle model, the first posture can be a display posture of the three-dimensional vehicle model at any viewing angle, and the first posture can display the shape or internal space of the three-dimensional vehicle model.
例如,第一终端可以获取第一终端的参数和第二终端的参数,并根据第一终端的参数和第二终端的参数建立传输通道组,从而基于实时音视频技术与第二终端建立传输通道组。第一终端的参数可以包括第一终端的IP(Internet Protocol)地址(例如,网络IP地址)、第一终端对应的设备标识(例如,手机的ID等)、时间等信息,第二终端的参数可以包括第二终端的IP地址、第二终端对应的设备标识、时间等信息。例如,第一终端和第二终端可以为各种移动终端、固定终端等,移动终端可以为手机、平板电脑等,固定终端可以为台式计算机等。第一终端和第二终端可以为相同类型或不同类型的设备。例如,第一终端和第二终端还可以包括移动终端的应用程序(Application,App)。应用程序例如可以为“58同城”等。For example, the first terminal may obtain the parameters of the first terminal and the parameters of the second terminal, and establish a transmission channel group based on the parameters of the first terminal and the parameters of the second terminal, thereby establishing a transmission channel with the second terminal based on real-time audio and video technology Group. The parameters of the first terminal may include the IP (Internet Protocol) address of the first terminal (for example, network IP address), the device identification corresponding to the first terminal (for example, the ID of a mobile phone, etc.), time and other information, and the parameters of the second terminal It may include information such as the IP address of the second terminal, the device identifier corresponding to the second terminal, and time. For example, the first terminal and the second terminal may be various mobile terminals, fixed terminals, etc., the mobile terminal may be a mobile phone, a tablet computer, etc., and the fixed terminal may be a desktop computer, etc. The first terminal and the second terminal may be devices of the same type or different types. For example, the first terminal and the second terminal may also include an application (App) of the mobile terminal. The application program can be, for example, "58 Same City" and so on.
作为一个示例,传输通道组可以通过有线网络和/或无线网络的方式实现数据传输。有线网络例如可以采用双绞线、同轴电缆或光纤传输等方式进行数据传输,无线网络例如可以采用3G/4G/5G移动通信网络、蓝牙、Zigbee或者WiFi等方式进行数据传输。例如,传输通道组是基于实时音视频技术建立的,使得传输通道组传输数据时延时较小,从而满足实时数据交互的需求。As an example, the transmission channel group may implement data transmission through a wired network and/or a wireless network. Wired networks, for example, can use twisted pair, coaxial cable, or optical fiber transmission for data transmission, and wireless networks can, for example, use 3G/4G/5G mobile communication networks, Bluetooth, Zigbee, or WiFi for data transmission. For example, the transmission channel group is established based on real-time audio and video technology, so that the transmission channel group has a small delay when transmitting data, thereby meeting the needs of real-time data interaction.
例如,当基于实时音视频技术在第一终端和第二终端之间建立传输通道组后,第一终端和第二终端能够通过传输通道组来实现数据的实时传输。例如,该数据可以是下文描述的操作数据。For example, when a transmission channel group is established between the first terminal and the second terminal based on real-time audio and video technology, the first terminal and the second terminal can implement real-time data transmission through the transmission channel group. For example, the data may be operation data described below.
作为一个示例,图2为本公开至少一个实施例提供的第一终端与第二终端进行屏幕共享的示意图。如图2所示,第一终端201的第一屏幕2011内显示有三维模型的第一姿态。第一终端201与第二终端202之间具有基于实时音视频技术建立的传输通道组,用于进行实时数据传输。第二终端202的第二屏幕2021内同步地显示有该三维模型的第一姿态。也即是,第一屏幕2011和第二屏幕2021所显示的三维模型的尺寸、展示角度、展示位置等参数是相同的,用户观看第一屏幕2011所显示的三维模型的视觉感受与观看第二屏幕 2021所显示的三维模型的视觉感受相同或基本相同。例如,第一终端201与第二终端202位于不同地点,从而实现远程屏幕共享。As an example, FIG. 2 is a schematic diagram of screen sharing between a first terminal and a second terminal according to at least one embodiment of the present disclosure. As shown in FIG. 2, the first posture of the three-dimensional model is displayed on the first screen 2011 of the first terminal 201. The first terminal 201 and the second terminal 202 have a transmission channel group established based on real-time audio and video technology for real-time data transmission. The second screen 2021 of the second terminal 202 synchronously displays the first posture of the three-dimensional model. That is, the size, display angle, display position and other parameters of the three-dimensional model displayed on the first screen 2011 and the second screen 2021 are the same. The visual perception of the three-dimensional model displayed on the screen 2021 is the same or substantially the same. For example, the first terminal 201 and the second terminal 202 are located in different locations, thereby realizing remote screen sharing.
例如,如图1所示,在步骤S140中,响应于检测到的对第一终端上所展示的三维模型执行的调整操作,获取对应于调整操作的操作数据。例如,对应于第一终端的第一用户可以对第一终端的第一屏幕执行屏幕操作,也即,上述调整操作,以改变第一屏幕上显示的画面。该调整操作可以是对第一终端上所展示的三维模型执行的以下操作中的任意一种:点击、拖动、放大和缩小。例如,对应于第一终端的第一用户可以利用鼠标或直接在触摸屏上操作以点击、拖动三维模型,或者对三维模型进行放大、缩小等操作,从而改变三维模型的展示姿态,使第一屏幕所显示的不再为三维模型的第一姿态。需要说明的是,本公开的实施例中,调整操作可以为任意适用的对第一终端上所展示的三维模型所执行的操作,本公开的实施例对此不作限制。For example, as shown in FIG. 1, in step S140, in response to a detected adjustment operation performed on the three-dimensional model displayed on the first terminal, operation data corresponding to the adjustment operation is acquired. For example, the first user corresponding to the first terminal may perform a screen operation on the first screen of the first terminal, that is, the aforementioned adjustment operation, to change the screen displayed on the first screen. The adjustment operation may be any one of the following operations performed on the three-dimensional model displayed on the first terminal: click, drag, zoom in, and zoom out. For example, the first user corresponding to the first terminal can use the mouse or directly operate on the touch screen to click and drag the three-dimensional model, or perform operations such as zooming in or zooming out the three-dimensional model, thereby changing the display posture of the three-dimensional model to make the first What is displayed on the screen is no longer the first posture of the three-dimensional model. It should be noted that in the embodiment of the present disclosure, the adjustment operation may be any applicable operation performed on the three-dimensional model displayed on the first terminal, and the embodiment of the present disclosure does not limit this.
例如,如图1所示,在步骤S150中,基于网络图形库绘图协议并调用增强现实接口,展示与调整操作对应的三维模型的第二姿态。由此,第一终端所展示的三维模型从第一姿态切换为第二姿态。For example, as shown in FIG. 1, in step S150, based on the network graphics library drawing protocol and calling the augmented reality interface, the second posture of the three-dimensional model corresponding to the adjustment operation is displayed. Thus, the three-dimensional model displayed by the first terminal is switched from the first posture to the second posture.
例如,三维模型在第一姿态下的展示姿态参数与三维模型在第二姿态下的展示姿态参数不同,该展示姿态参数包括尺寸(例如大小)、展示角度和展示位置中的至少之一。例如,三维模型在第一姿态下的尺寸、展示角度和展示位置中的任意一个、两个或三个参数与在第二姿态下的相应的参数不同,从而使用户获得不同的观看感受。关于展示位置的详细说明将在下文描述,此处不再赘述。For example, the display posture parameters of the three-dimensional model in the first posture are different from the display posture parameters of the three-dimensional model in the second posture, and the display posture parameters include at least one of size (for example, size), display angle, and display position. For example, any one, two or three parameters of the size, display angle, and display position of the three-dimensional model in the first posture are different from the corresponding parameters in the second posture, so that the user can obtain different viewing experience. The detailed description of the placement will be described below, so I won’t repeat it here.
例如,三维模型为三维车辆模型,上述展示角度包括三维车辆模型的外形观看角度和/或三维车辆模型的内部空间观看角度。第一姿态可以为三维车辆模型在展示角度为外形观看角度下的姿态或在展示角度为内部空间观看角度下的姿态,第二姿态可以为三维车辆模型在展示角度为外形观看角度下的姿态或在展示角度为内部空间观看角度下的姿态。For example, the three-dimensional model is a three-dimensional vehicle model, and the above-mentioned display angle includes the external view angle of the three-dimensional vehicle model and/or the internal space view angle of the three-dimensional vehicle model. The first posture can be the posture of the three-dimensional vehicle model when the display angle is the external viewing angle or the posture when the display angle is the internal space viewing angle, and the second posture can be the posture of the three-dimensional vehicle model when the display angle is the external viewing angle or The display angle is the posture under the viewing angle of the internal space.
当第一终端所展示的三维车辆模型从第一姿态切换为第二姿态时,三维车辆模型可以仅具有外形观看角度的改变(也即从一个外形观看角度切换为另一个外形观看角度),也可以仅具有内部空间观看角度的改变(也即从一个内部空间观看角度切换为另一个内部空间观看角度),还可以从外形观看角度切换为内部空间观看角度或者从内部空间观看角度切换为外形观看角度。由此,可以使对应于第一终端的第一用户观看三维车辆模型的外形和内部空间,并且可以随意切换展示角度。When the three-dimensional vehicle model displayed by the first terminal is switched from the first posture to the second posture, the three-dimensional vehicle model may only have a change in the appearance viewing angle (that is, switching from one appearance viewing angle to another appearance viewing angle), and It can only change the viewing angle of the internal space (that is, switch from one internal space viewing angle to another internal space viewing angle), and can also switch from the external viewing angle to the internal space viewing angle or from the internal space viewing angle to the external viewing angle angle. As a result, the first user corresponding to the first terminal can view the shape and internal space of the three-dimensional vehicle model, and can switch the display angle at will.
例如,在一个示例中,可以基于网络图形库绘图协议对三维模型的尺寸、展示角度和展示位置进行与调整操作对应的调节,基于网络图形库绘图协议并调用增强现实接口展示三维模型的第二姿态,以使三维模型从第一姿态切 换为第二姿态。在该示例中,对三维模型的调节是通过网络图形库绘图协议完成的。例如,可以基于WebGL,对三维模型的尺寸、展示角度和展示位置进行调节,从而提供更好的用户体验。例如,用户可以利用鼠标或直接用手指在触摸屏上操作,从而可以对三维模型进行拖动、缩放、旋转、外形与内部空间切换等操作。For example, in one example, the size, display angle, and display position of the 3D model can be adjusted corresponding to the adjustment operation based on the network graphics library drawing protocol, and the second part of the 3D model can be displayed based on the network graphics library drawing protocol and calling the augmented reality interface. Posture, so that the three-dimensional model is switched from the first posture to the second posture. In this example, the adjustment of the three-dimensional model is done through the network graphics library drawing protocol. For example, based on WebGL, the size, display angle, and display position of the 3D model can be adjusted to provide a better user experience. For example, the user can use the mouse or directly use the finger to operate on the touch screen, so that the three-dimensional model can be dragged, zoomed, rotated, and the shape and internal space are switched.
例如,在另一个示例中,可以调用增强现实接口处理三维模型的姿态数据以对三维模型的尺寸、展示角度和展示位置进行与调整操作对应的调节,基于网络图形库绘图协议并调用增强现实接口展示三维模型的第二姿态,以使三维模型从第一姿态切换为第二姿态。在该示例中,对三维模型的调节是通过调用增强现实接口完成的。例如,可以利用增强现实接口提供的姿态估计功能,通过调用增强现实接口处理姿态数据,然后根据处理结果对三维模型的尺寸、展示角度和展示位置进行调节,从而提供更好的用户体验。For example, in another example, the augmented reality interface can be called to process the posture data of the 3D model to adjust the size, display angle and display position of the 3D model corresponding to the adjustment operation, based on the network graphics library drawing protocol and call the augmented reality interface The second posture of the three-dimensional model is displayed, so that the three-dimensional model is switched from the first posture to the second posture. In this example, the adjustment of the three-dimensional model is completed by calling the augmented reality interface. For example, the pose estimation function provided by the augmented reality interface can be used to process the pose data by calling the augmented reality interface, and then adjust the size, display angle, and display position of the 3D model according to the processing result, thereby providing a better user experience.
例如,本公开实施例提供的三维模型远程展示方法通过运行代码的方式运行在第一终端中,该第一终端可以为移动终端,例如手机、平板电脑等,姿态数据为该移动终端的姿态数据。例如,用户可以手握移动终端并改变移动终端的姿态,通过调用增强现实接口处理姿态数据,从而可以根据处理结果调节三维模型的尺寸、展示角度和展示位置等。这种方式可以简化用户操作,提高互动性,提高用户的使用体验。关于增强现实技术中的姿态估计功能的说明可参考常规设计,此处不再详述。For example, the remote display method for a three-dimensional model provided by an embodiment of the present disclosure runs in a first terminal by running code. The first terminal may be a mobile terminal, such as a mobile phone, a tablet computer, etc., and the posture data is the posture data of the mobile terminal. . For example, the user can hold the mobile terminal and change the posture of the mobile terminal, and process the posture data by calling the augmented reality interface, so that the size, display angle, and display position of the three-dimensional model can be adjusted according to the processing result. This approach can simplify user operations, improve interactivity, and improve user experience. For the description of the posture estimation function in the augmented reality technology, please refer to the conventional design, which will not be detailed here.
例如,基于网络图形库绘图协议并调用增强现实接口展示三维模型的第二姿态的具体方法可以参考利用步骤S110和步骤S120展示三维模型的第一姿态的方法,此处不再详述。For example, the specific method for displaying the second posture of the three-dimensional model based on the network graphics library drawing protocol and calling the augmented reality interface can refer to the method for displaying the first posture of the three-dimensional model by using step S110 and step S120, which will not be described in detail here.
在检测到调整操作后,第一终端可以获取对应于调整操作的操作数据。在执行调整操作后,第一终端将展示与该调整操作相对应的三维模型的第二姿态。也即是,调整操作用于使得第一屏幕显示的三维模型从第一姿态改变成第二姿态。关于获取操作数据的具体过程,将在下文详细描述。After detecting the adjustment operation, the first terminal may obtain operation data corresponding to the adjustment operation. After performing the adjustment operation, the first terminal will display the second posture of the three-dimensional model corresponding to the adjustment operation. That is, the adjustment operation is used to change the three-dimensional model displayed on the first screen from the first posture to the second posture. The specific process of obtaining operation data will be described in detail below.
例如,如图1所示,在步骤S160中,通过传输通道组将操作数据由第一终端传输至第二终端,使得第二终端基于操作数据对第二终端所展示的三维模型的第一姿态同步执行调整操作,以使得第二终端展示与调整操作对应的三维模型的第二姿态。例如,第二终端在接收到通过传输通道组传输的操作数据之后,第二终端可以基于该操作数据对第二终端所展示的三维模型的第一姿态同步执行调整操作,以使得第二终端同步展示三维模型的第二姿态。For example, as shown in FIG. 1, in step S160, the operation data is transmitted from the first terminal to the second terminal through the transmission channel group, so that the second terminal displays the first posture of the three-dimensional model of the second terminal based on the operation data. The adjustment operation is performed synchronously, so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation. For example, after the second terminal receives the operation data transmitted through the transmission channel group, the second terminal may perform an adjustment operation synchronously on the first posture of the three-dimensional model displayed by the second terminal based on the operation data, so that the second terminal is synchronized Show the second pose of the 3D model.
例如,在一些示例中,当对应于第一终端的第一用户对第一屏幕显示的三维模型执行放大操作时,与该放大操作对应的操作数据被传输至第二终端,第二终端基于该操作数据对第二屏幕显示的三维模型也同步执行放大操作,从而使得第一终端与第二终端实现屏幕共享,使第一终端与第二终端均展示 放大后的三维模型。当第一用户对第一屏幕显示的三维模型执行其他操作时,第一终端和第二终端的工作方式与上述方式类似,以此类推。For example, in some examples, when the first user corresponding to the first terminal performs a zoom-in operation on the three-dimensional model displayed on the first screen, the operation data corresponding to the zoom-in operation is transmitted to the second terminal, and the second terminal is based on the zoom-in operation. The operating data also simultaneously performs an enlargement operation on the three-dimensional model displayed on the second screen, so that the first terminal and the second terminal realize screen sharing, so that both the first terminal and the second terminal display the enlarged three-dimensional model. When the first user performs other operations on the three-dimensional model displayed on the first screen, the working modes of the first terminal and the second terminal are similar to the above-mentioned modes, and so on.
在本公开的实施例提供的三维模型远程展示方法中,第一用户对应于第一终端,第二用户对应于第二终端。第一用户和第二用户可以位于不同地点,第一用户和第二用户可以远程观看三维模型,并切换三维模型的姿态。在远程展示的过程中,第一用户与第二用户可以同时观看到三维模型的相同姿态的图像,也即,实现屏幕共享。例如,当三维模型为三维车辆模型时,若第一终端展示的第一姿态对应于三维车辆模型外形的主视图画面,则第二终端展示的第一姿态也对应于该三维车辆模型外形的主视图画面,且第一用户和第二用户所观看到的三维车辆模型的尺寸、展示角度和展示位置均相同,从而使第一终端对应的第一用户和第二终端对应的第二用户观看到三维车辆模型的相同图像。In the remote display method for a three-dimensional model provided by an embodiment of the present disclosure, the first user corresponds to the first terminal, and the second user corresponds to the second terminal. The first user and the second user can be located in different locations, and the first user and the second user can remotely watch the three-dimensional model and switch the posture of the three-dimensional model. In the process of remote display, the first user and the second user can watch the images of the same posture of the three-dimensional model at the same time, that is, realize screen sharing. For example, when the three-dimensional model is a three-dimensional vehicle model, if the first posture displayed by the first terminal corresponds to the main view of the three-dimensional vehicle model outline, the first posture displayed by the second terminal also corresponds to the main view of the three-dimensional vehicle model outline. View screen, and the size, display angle, and display position of the three-dimensional vehicle model viewed by the first user and the second user are the same, so that the first user corresponding to the first terminal and the second user corresponding to the second terminal can view The same image of the three-dimensional vehicle model.
在建立传输通道组之后,第一终端和第二终端可以获取对应于同一三维模型的同一姿态的图像,例如,对应于同一三维车辆模型的图像。例如,第一终端可以首先确定要展示的三维模型的标识,诸如车辆标识、序号等信息,然后将该三维模型的标识通过传输通道组发送给第二终端,使得第二终端也访问并展示该三维模型。After the transmission channel group is established, the first terminal and the second terminal may obtain images corresponding to the same three-dimensional model in the same posture, for example, images corresponding to the same three-dimensional vehicle model. For example, the first terminal may first determine the identification of the three-dimensional model to be displayed, such as vehicle identification, serial number and other information, and then send the identification of the three-dimensional model to the second terminal through the transmission channel group, so that the second terminal can also access and display the Three-dimensional model.
需要说明的是,在第一终端与第二终端初始展示三维模型的初始姿态时,可能存在第一终端所展示的初始画面和第二终端所展示的初始画面不相同的情况。在此情况下,需要同步第一终端所展示的初始画面和第二终端所展示的初始画面,以使第一终端所展示的画面和第二终端所展示的画面相同。It should be noted that when the first terminal and the second terminal initially display the initial posture of the three-dimensional model, there may be cases where the initial screen displayed by the first terminal and the initial screen displayed by the second terminal are different. In this case, it is necessary to synchronize the initial screen displayed by the first terminal and the initial screen displayed by the second terminal, so that the screen displayed by the first terminal and the screen displayed by the second terminal are the same.
图3为图1所示的三维模型远程展示方法的步骤S120的一种流程示意图。例如,如图3所示,在至少一个实施例中,图1中的步骤S120可以进一步包括如下操作。FIG. 3 is a schematic flowchart of step S120 of the method for remotely displaying a three-dimensional model shown in FIG. 1. For example, as shown in FIG. 3, in at least one embodiment, step S120 in FIG. 1 may further include the following operations.
步骤S121:获取图像;Step S121: Obtain an image;
步骤S122:调用增强现实接口对图像进行平面识别,以识别图像中的展示平面;Step S122: Call the augmented reality interface to perform plane recognition on the image to identify the display plane in the image;
步骤S123:调用增强现实接口在展示平面上展示三维模型的第一姿态。Step S123: Call the augmented reality interface to display the first posture of the three-dimensional model on the display plane.
例如,在步骤S121中,获取的图像为真实场景的图像。例如,在一些示例中,实现该三维模型远程展示方法的第一终端具有摄像头,可以利用该摄像头拍摄得到真实场景的图像。例如,该图像可以为实时显示的视频,也可以为图片(即照片),本公开的实施例对此不作限制。例如,在另一些示例中,可以通过网络获取图像,该图像为预先拍摄的、反映真实场景的、存储在网络中的图像。例如,可以从多个图像中选择某一图像并进行获取,多个图像反映的场景彼此不同。需要说明的是,本公开的实施例中,获取图像的方式不限于上文描述的方式,也可以采用任意适用的方式,这可以根据实际需求 而定,本公开的实施例对此不作限制。For example, in step S121, the acquired image is an image of a real scene. For example, in some examples, the first terminal that implements the method for remotely displaying the three-dimensional model has a camera, and the camera can be used to capture images of the real scene. For example, the image may be a video displayed in real time, or a picture (ie, a photo), which is not limited in the embodiments of the present disclosure. For example, in some other examples, an image may be obtained through the network, and the image is an image that is captured in advance, reflects a real scene, and is stored on the network. For example, a certain image can be selected from a plurality of images and acquired, and the scenes reflected by the plurality of images are different from each other. It should be noted that, in the embodiments of the present disclosure, the method of acquiring images is not limited to the above-described method, and any applicable method may also be used, which may be determined according to actual needs, and the embodiment of the present disclosure does not limit this.
例如,在步骤S122中,调用增强现实接口(例如前述的JavaScript形式的ARcore开发接口或JavaScript形式的ARKit开发接口)对图像进行平面识别。例如,图像中可能存在一个或多个平面,例如地面、桌面等。当图像中仅存在一个平面时,将该平面确定为展示平面。当图像中存在多个平面时,可以根据预设规则将多个平面中的一个平面确定为展示平面。例如,在一些示例中,可以根据多个平面的相对大小将较大的平面确定为展示平面。例如,在另一些示例中,可以在识别到多个平面后由用户自行选择多个平面中的一个平面作为展示平面。For example, in step S122, an augmented reality interface (such as the aforementioned ARcore development interface in JavaScript form or ARKit development interface in JavaScript form) is called to perform plane recognition on the image. For example, there may be one or more planes in the image, such as the ground, the desktop, and so on. When there is only one plane in the image, this plane is determined as the display plane. When there are multiple planes in the image, one of the multiple planes can be determined as the display plane according to a preset rule. For example, in some examples, a larger plane may be determined as the display plane according to the relative sizes of multiple planes. For example, in other examples, after multiple planes are identified, the user can select one of the multiple planes as the display plane.
需要说明的是,上述预设规则不限于上文描述的两种方式,可以为任意的方式,这可以根据实际需求而定,本公开的实施例对此不作限制。例如,根据真实场景的特点,上述图像中也可能不存在平面,即无法得到展示平面,在这种情形下,可以提示用户无法识别展示平面而需要重新获取图像。It should be noted that the foregoing preset rule is not limited to the two methods described above, and can be any method, which may be determined according to actual needs, and the embodiment of the present disclosure does not limit this. For example, according to the characteristics of the real scene, there may be no plane in the above image, that is, the display plane cannot be obtained. In this case, the user may be prompted that the display plane cannot be recognized and the image needs to be reacquired.
例如,平面识别可以通过三角测量算法实现,也可以通过其他适用的算法实现,本公开的实施例对此不作限制。关于增强现实技术中的平面识别和三角算法的详细说明可参考常规设计,此处不再详述。For example, the plane recognition can be realized by a triangulation algorithm, or by other applicable algorithms, which is not limited in the embodiments of the present disclosure. For the detailed description of the plane recognition and triangulation algorithm in the augmented reality technology, please refer to the conventional design, which will not be detailed here.
例如,在步骤S123中,调用增强现实接口在展示平面上展示三维模型的第一姿态,也即是,将三维模型的第一姿态显示在展示平面上。例如,第一终端不仅显示获取的图像,并且在图像中的展示平面上显示三维模型的第一姿态,从而实现三维模型与真实场景的融合,达到展示三维模型的目的。For example, in step S123, the augmented reality interface is called to display the first posture of the three-dimensional model on the display plane, that is, the first posture of the three-dimensional model is displayed on the display plane. For example, the first terminal not only displays the acquired image, but also displays the first posture of the three-dimensional model on the display plane in the image, thereby realizing the fusion of the three-dimensional model and the real scene, and achieving the purpose of displaying the three-dimensional model.
需要说明的是,在将三维模型的第一姿态切换为第二姿态时,可以将三维模型的第二姿态展示在之前所确定的展示第一姿态的展示平面上,而无需再次进行展示平面的识别。当然,本公开的实施例不限于此,在其他示例中,也可以在将三维模型的第一姿态切换为第二姿态时,重新获取图像并进行展示平面的识别,这可以根据实际需求而定,本公开的实施例对此不作限制。It should be noted that when the first posture of the three-dimensional model is switched to the second posture, the second posture of the three-dimensional model can be displayed on the previously determined display plane for displaying the first posture, without the need to display the plane again. Recognition. Of course, the embodiments of the present disclosure are not limited to this. In other examples, when the first posture of the three-dimensional model is switched to the second posture, the image can be re-acquired and the display plane can be recognized, which can be determined according to actual needs. The embodiment of the present disclosure does not limit this.
图4为图1所示的三维模型远程展示方法的步骤S120的另一种流程示意图。例如,如图4所示,在至少一个实施例中,图1中的步骤S120可以进一步包括如下操作。FIG. 4 is another schematic flowchart of step S120 of the method for remotely displaying a three-dimensional model shown in FIG. 1. For example, as shown in FIG. 4, in at least one embodiment, step S120 in FIG. 1 may further include the following operations.
步骤S121:获取图像;Step S121: Obtain an image;
步骤S122:调用增强现实接口对图像进行平面识别,以识别图像中的展示平面;Step S122: Call the augmented reality interface to perform plane recognition on the image to identify the display plane in the image;
步骤S124:提示用户点击展示平面;Step S124: prompt the user to click on the display plane;
步骤S125:接收用户的点击指令以确定点击位置;Step S125: Receive a click instruction from the user to determine the click position;
步骤S123a:调用增强现实接口在展示平面上的点击位置处展示三维模型的第一姿态。Step S123a: Call the augmented reality interface to display the first posture of the three-dimensional model at the click position on the display plane.
该实施例中的步骤S121和步骤S122与图3中所示的步骤S121和步骤 S122基本相同,相关说明可参考前述内容,此处不再赘述。Step S121 and step S122 in this embodiment are basically the same as step S121 and step S122 shown in FIG.
例如,在步骤S124中,在识别到展示平面之后,提示用户点击展示平面。例如,可以通过弹出文本框的方式提示用户,也可以通过语音播报的方式提示用户,或者通过其他适用的方式提示用户,本公开的实施例对此不作限制。例如,可以在显示的图像中标出展示平面,从而便于用户进行点击。例如,可以采用线框标出展示平面,也可以用高亮着色的方式显示展示平面,或者采用其他适用的方式标出展示平面,本公开的实施例对此不作限制。For example, in step S124, after the display plane is identified, the user is prompted to click on the display plane. For example, the user may be prompted through a pop-up text box, the user may also be prompted through a voice broadcast, or the user may be prompted through other applicable methods, which are not limited in the embodiments of the present disclosure. For example, the display plane can be marked in the displayed image to facilitate the user to click. For example, a wire frame may be used to mark the display plane, or the display plane may be displayed in a highlight coloring manner, or the display plane may be marked in other applicable manners, which is not limited in the embodiments of the present disclosure.
例如,在步骤S125中,接收用户的点击指令以确定点击位置,用户可以点击展示平面的任意位置。例如,该实施例提供的三维模型远程展示方法通过运行代码的方式运行在第一终端中,该第一终端包括输入设备,例如鼠标或触摸屏。用户可以用手指直接点击触摸屏上的位置,或者用鼠标点击屏幕上的位置,该第一终端接收到点击指令,从而可以确定点击位置。例如,当用户点击展示平面上的任意位置时,接收到的点击指令有效,从而可以进行后续操作。当用户点击展示平面之外的位置时,接收到的点击指令无效,则提示用户重新点击。For example, in step S125, a click instruction from the user is received to determine the click position, and the user can click any position on the display plane. For example, the method for remotely displaying a three-dimensional model provided in this embodiment runs in a first terminal by running code, and the first terminal includes an input device, such as a mouse or a touch screen. The user can directly click the position on the touch screen with a finger, or click the position on the screen with a mouse, and the first terminal receives the click instruction, so that the click position can be determined. For example, when the user clicks on any position on the display plane, the received click instruction is valid, so that subsequent operations can be performed. When the user clicks on a position outside the display plane, the received click instruction is invalid, and the user is prompted to click again.
例如,在该实施例中,图3中所示的步骤S123可以实现为图4中所示的步骤S123a。例如,在步骤S123a中,确定点击位置之后,调用增强现实接口在展示平面上的点击位置处展示三维模型的第一姿态。例如,可以根据预设的显示比例显示三维模型并使三维模型处于第一姿态,并且使三维模型的中心位于展示平面上的点击位置,从而可以在展示平面上的点击位置处展示三维模型。例如,预设的显示比例可以根据实际需求而定,例如可以使三维模型与展示平面的尺寸比例为1:1或1:2,以达到较好的展示效果。当然,本公开的实施例不限于此,预设的显示比例可以为任意数值,并且,预设的显示比例也可以由用户更改和重新配置,本公开的实施例对此不作限制。For example, in this embodiment, step S123 shown in FIG. 3 may be implemented as step S123a shown in FIG. 4. For example, in step S123a, after the click position is determined, the augmented reality interface is called to display the first posture of the three-dimensional model at the click position on the display plane. For example, the three-dimensional model can be displayed according to a preset display scale and the three-dimensional model can be in the first posture, and the center of the three-dimensional model can be located at the click position on the display plane, so that the three-dimensional model can be displayed at the click position on the display plane. For example, the preset display ratio can be determined according to actual needs. For example, the size ratio of the three-dimensional model and the display plane can be 1:1 or 1:2 to achieve a better display effect. Of course, the embodiment of the present disclosure is not limited to this, the preset display ratio can be any numerical value, and the preset display ratio can also be changed and reconfigured by the user, which is not limited by the embodiment of the present disclosure.
需要说明的是,本公开的实施例中,也可以省略步骤S124和步骤S125,也即是,当识别到展示平面后,不再提示用户点击展示平面,此时,步骤S123a例如相应变更为默认在展示平面的中心处展示三维模型的第一姿态。It should be noted that in the embodiment of the present disclosure, step S124 and step S125 can also be omitted, that is, when the display plane is recognized, the user is no longer prompted to click the display plane. At this time, step S123a is changed to the default, for example. The first pose of the three-dimensional model is displayed at the center of the display plane.
图5为图1所示的三维模型远程展示方法的步骤S120的再一种流程示意图。例如,如图5所示,在至少一个实施例中,图1中的步骤S120可以进一步包括如下操作。FIG. 5 is a schematic diagram of still another flow chart of step S120 of the method for remotely displaying a three-dimensional model shown in FIG. 1. For example, as shown in FIG. 5, in at least one embodiment, step S120 in FIG. 1 may further include the following operations.
步骤S121:获取图像;Step S121: Obtain an image;
步骤S122:调用增强现实接口对图像进行平面识别,以识别图像中的展示平面;Step S122: Call the augmented reality interface to perform plane recognition on the image to identify the display plane in the image;
步骤S123:调用增强现实接口在展示平面上展示三维模型的第一姿态;Step S123: Call the augmented reality interface to display the first posture of the three-dimensional model on the display plane;
步骤S126:调用增强现实接口处理环境光数据,并对三维模型的第一姿态的展示效果参数进行调节。Step S126: Call the augmented reality interface to process the ambient light data, and adjust the display effect parameters of the first posture of the three-dimensional model.
该实施例中的步骤S121-S123与图3中所示的步骤S121-S123基本相同,相关说明可参考前述内容,此处不再赘述。Steps S121-S123 in this embodiment are basically the same as steps S121-S123 shown in FIG.
例如,在步骤S126中,环境光数据为真实场景中的环境光数据,例如光强、光照方向等参数。例如,在一些示例中,实现该三维模型远程展示方法的第一终端包括光传感器,利用光传感器可以获取环境光数据。例如,在另一些示例中,通过对获取的真实场景的图像进行处理和分析,从而获取环境光数据。当然,本公开的实施例不限于此,可以采用任意适用的方式获取环境光数据。For example, in step S126, the ambient light data is ambient light data in a real scene, such as parameters such as light intensity and light direction. For example, in some examples, the first terminal that implements the method for remotely displaying the three-dimensional model includes a light sensor, and the ambient light data can be acquired by using the light sensor. For example, in other examples, the ambient light data is acquired by processing and analyzing the acquired image of the real scene. Of course, the embodiments of the present disclosure are not limited to this, and the ambient light data can be acquired in any applicable manner.
例如,利用增强现实接口提供的环境光估计功能,通过调用增强现实接口处理环境光数据,然后根据处理结果对三维模型的第一姿态的展示效果参数进行调节,以使三维模型与真实场景拥有一致的光照效果,从而使三维模型无缝地融合到真实场景中,可以提高展示效果的真实度。例如,展示效果参数包括阴影、色彩饱和度和白平衡等,还可以包括其他适用的参数,本公开的实施例对此不作限制。关于增强现实技术中的环境光估计功能的说明可参考常规设计,此处不再详述。For example, use the ambient light estimation function provided by the augmented reality interface, process the ambient light data by calling the augmented reality interface, and then adjust the display effect parameters of the first posture of the 3D model according to the processing result, so that the 3D model is consistent with the real scene Illumination effect, so that the 3D model can be seamlessly integrated into the real scene, which can improve the realism of the display effect. For example, the display effect parameters include shadow, color saturation, white balance, etc., and may also include other applicable parameters, which are not limited in the embodiments of the present disclosure. Regarding the description of the ambient light estimation function in the augmented reality technology, please refer to the conventional design, which will not be detailed here.
需要说明的是,在展示三维模型的第二姿态时,可以采用与展示三维模型的第一姿态类似的方式进行展示,此处不再赘述。It should be noted that when displaying the second posture of the three-dimensional model, the display can be performed in a manner similar to that of displaying the first posture of the three-dimensional model, which will not be repeated here.
在本公开的至少一个实施例中,响应于检测到的对第一终端上所展示的三维模型执行的调整操作,获取对应于调整操作的操作数据,包括:响应于检测到的对第一终端上所展示的三维模型执行的调整操作,利用第一终端中配置的第一页面监听工具监听调整操作以获取基于第一页面监听工具的操作数据。在得到操作数据后,第一终端通过传输通道组将基于第一页面监听工具的操作数据由第一终端传输至第二终端,使得第二终端根据操作数据设定第二终端中配置的第二页面监听工具的状态,以使得第二终端展示与调整操作对应的三维模型的第二姿态。例如,第一页面监听工具和第二页面监听工具是相同类型的页面监听工具。In at least one embodiment of the present disclosure, in response to a detected adjustment operation performed on the three-dimensional model displayed on the first terminal, obtaining operation data corresponding to the adjustment operation includes: responding to the detected adjustment operation performed on the first terminal The adjustment operation performed by the three-dimensional model shown above uses the first page monitoring tool configured in the first terminal to monitor the adjustment operation to obtain operation data based on the first page monitoring tool. After obtaining the operating data, the first terminal transmits the operating data based on the first page monitoring tool from the first terminal to the second terminal through the transmission channel group, so that the second terminal sets the second terminal configured in the second terminal according to the operating data. The status of the page monitoring tool, so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation. For example, the first page monitoring tool and the second page monitoring tool are the same type of page monitoring tools.
作为一个示例,利用脚本(诸如JavaScript)在Canvas画布上绘制图像,从而实现在页面上绘制图像。例如,第一页面监听工具可以是包括脚本的Canvas画布,从而可以监听调整操作。在监听到调整操作之后,Canvas画布将获取对应于调整操作的操作数据,并基于获取的操作数据来绘制图像。例如,在第一用户对第一屏幕显示的三维模型执行放大操作之后,Canvas画布可以监听到该放大操作,并获取到对应于该放大操作的诸如放大倍率的操作数据,并基于该操作数据来进行图形绘制,以显示对三维模型的第一姿态按照该放大倍率进行放大后得到的第二姿态。As an example, a script (such as JavaScript) is used to draw an image on the Canvas canvas, so that the image can be drawn on the page. For example, the first page monitoring tool may be a Canvas canvas including a script, so that adjustment operations can be monitored. After listening to the adjustment operation, the Canvas canvas will obtain the operation data corresponding to the adjustment operation, and draw the image based on the obtained operation data. For example, after the first user performs a zoom-in operation on the three-dimensional model displayed on the first screen, the Canvas canvas can monitor the zoom-in operation, and obtain the operation data corresponding to the zoom-in operation, such as the magnification ratio, and perform the operation data based on the operation data. Graphical drawing is performed to display the second posture obtained by enlarging the first posture of the three-dimensional model according to the magnification ratio.
接着,第一终端可以将Canvas画布获取到的操作数据通过传输通道组实时地发送至第二终端。当第二终端接收到第一终端发送的操作数据后,将接 收到的操作数据提供给第二终端中的配置的Canvas画布,以使得第二终端的Canvas画布基于该操作数据来绘制图形,例如,执行相应的放大操作,以实现在第二屏幕上同步显示三维模型的第二姿态。Then, the first terminal may send the operation data obtained by the Canvas canvas to the second terminal in real time through the transmission channel group. After the second terminal receives the operation data sent by the first terminal, it provides the received operation data to the Canvas canvas configured in the second terminal, so that the Canvas canvas of the second terminal draws graphics based on the operation data, for example , Perform the corresponding zooming operation, so as to realize the synchronous display of the second posture of the three-dimensional model on the second screen.
在其他示例中,第一用户和第二用户还可以在屏幕共享的同时进行信息沟通,例如,通过传输通道组来传输语音数据,从而更及时地传递信息和更准确地反馈信息,可以提升产品体验感,提升产品性能,增加三维模型远程展示的趣味性。In other examples, the first user and the second user can also communicate information while sharing the screen, for example, transmitting voice data through the transmission channel group, so as to transmit information more timely and feedback information more accurately, which can improve the product Experience, enhance product performance, and increase the fun of remote display of 3D models.
利用本公开实施例提供的三维模型远程展示方法,可以在页面(例如网页)中展示三维模型(例如三维车辆模型),无需安装原生应用程序,使用便捷。并且,可以实现三维车辆模型与现实场景的融合,能够提供更加真实的在线看车方式,并且可以提高在线看车的互动性和可玩性,有效提高了用户的使用体验。通过建立传输通道组来实时地传递操作数据,使得第一终端与第二终端可以基于实时传递的操作数据来进行同步显示,即实现了第一终端和第二终端之间的屏幕共享,保证两个终端的屏幕的同步显示。通过这种方式,可以有效降低传输的数据量,避免占用大量的设备资源,避免出现显示卡顿、设备发热等现象。此外,在降低数据传输量的基础上,还可以避免大量的图像数据传输导致的显示延迟问题,更有利于实现实时屏幕共享,缩小两个终端显示内容的时间差。进一步地,由于屏幕共享是基于第一终端与第二终端中配置的页面监听工具执行相同的操作来实现的,可以保证两个终端显示的图像的分辨率,提高了用户的使用体验,使得远程展示更便捷。Using the remote display method of a three-dimensional model provided by the embodiments of the present disclosure, a three-dimensional model (such as a three-dimensional vehicle model) can be displayed on a page (such as a web page) without installing a native application program, which is convenient to use. In addition, the integration of the three-dimensional vehicle model and the real scene can be realized, a more realistic way of watching a car online can be provided, and the interaction and playability of watching a car online can be improved, and the user experience can be effectively improved. By establishing a transmission channel group to transmit operating data in real time, the first terminal and the second terminal can perform synchronous display based on the operating data transmitted in real time, that is, the screen sharing between the first terminal and the second terminal is realized, and both Synchronous display of the screens of two terminals. In this way, the amount of transmitted data can be effectively reduced, avoid occupying a large amount of equipment resources, and avoid phenomena such as display freezes and equipment heating. In addition, on the basis of reducing the amount of data transmission, the display delay problem caused by the transmission of a large amount of image data can also be avoided, which is more conducive to real-time screen sharing and narrowing the time difference between the two terminals to display content. Further, since the screen sharing is realized based on the same operation performed by the page monitoring tools configured in the first terminal and the second terminal, the resolution of the images displayed by the two terminals can be guaranteed, which improves the user experience and makes the remote The display is more convenient.
需要说明的是,本公开的实施例中,三维模型远程展示方法的各个步骤的执行顺序不受限制,虽然上文以特定顺序描述了各个步骤的执行过程,但这并不构成对本公开实施例的限制。该三维模型远程展示方法中的各个步骤可以串行执行或并行执行,这可以根据实际需求而定。该三维模型远程展示方法还可以包括更多或更少的步骤,本公开的实施例对此不作限制。It should be noted that, in the embodiments of the present disclosure, the execution order of the steps of the three-dimensional model remote display method is not limited. Although the execution process of the steps is described in a specific order above, this does not constitute a reference to the embodiments of the present disclosure. limits. The steps in the remote display method of the three-dimensional model can be executed serially or in parallel, which can be determined according to actual needs. The remote display method of the three-dimensional model may further include more or fewer steps, which are not limited in the embodiment of the present disclosure.
图6A为本公开至少一个实施例提供的一种三维模型远程展示方法的展示效果图之一,图6B为本公开至少一个实施例提供的一种三维模型远程展示方法的展示效果图之二。FIG. 6A is one of the display effect diagrams of a method for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure, and FIG. 6B is the second display effect diagram of a method for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure.
如图6A所示,本公开实施例提供的三维模型远程展示方法通过运行代码的方式运行在第一终端中,真实场景中存在圆桌310。第一用户通过安装在第一终端上的浏览器访问页面(例如网页),或者通过安装在第一终端上的应用程序中的WebView控件访问页面。然后,通过第一终端的摄像头拍摄得到真实场景的图像并显示在该页面中,使得该页面中显示的图像包括圆桌310。通过调用增强现实接口对图像进行平面识别,从而识别出桌面311,该桌面311即为前述的展示平面。As shown in FIG. 6A, the remote display method for a three-dimensional model provided by an embodiment of the present disclosure runs in the first terminal by running code, and there is a round table 310 in the real scene. The first user accesses a page (for example, a web page) through a browser installed on the first terminal, or accesses a page through a WebView control in an application program installed on the first terminal. Then, an image of the real scene is captured by the camera of the first terminal and displayed on the page, so that the image displayed on the page includes the round table 310. By calling the augmented reality interface to recognize the plane of the image, the desktop 311 is identified, and the desktop 311 is the aforementioned display plane.
接着,提示第一用户点击页面中显示的桌面311,第一用户例如在该提示 下点击了桌面311的中心位置。接收到第一用户的点击指令后,基于WebGL并调用增强现实接口,在页面中显示的桌面311的中心位置处展示三维车辆模型320,此时展示的是三维车辆模型320的第一姿态。基于实时音视频技术,第一终端与第二终端建立传输通道组,使得第二终端在页面中与第一终端同步展示三维车辆模型320的第一姿态。此时,第一终端的页面中和第二终端的页面中所展示的画面均为图6A所示的画面。Next, the first user is prompted to click on the desktop 311 displayed on the page. For example, the first user clicks on the center of the desktop 311 under the prompt. After receiving the click instruction of the first user, based on WebGL and calling the augmented reality interface, the three-dimensional vehicle model 320 is displayed at the center of the desktop 311 displayed on the page. At this time, the first posture of the three-dimensional vehicle model 320 is displayed. Based on real-time audio and video technology, the first terminal and the second terminal establish a transmission channel group, so that the second terminal displays the first posture of the three-dimensional vehicle model 320 synchronously with the first terminal on the page. At this time, the screens displayed on the page of the first terminal and the page of the second terminal are both the screens shown in FIG. 6A.
接着,第一用户对第一终端上所展示的三维车辆模型320执行旋转操作和缩小操作,第一终端中配置的第一页面监听工具监听这些操作以获取操作数据。例如,旋转操作用于改变三维车辆模型320的展示角度,缩小操作用于缩小三维车辆模型320的尺寸。响应于该操作数据,第一终端展示与这些操作对应的三维车辆模型320的第二姿态,例如,该第二姿态如图6B所示。与图6A所示的画面相比,图6B所示的画面中三维车辆模型320的尺寸和展示角度均发生了变化。Then, the first user performs a rotation operation and a reduction operation on the three-dimensional vehicle model 320 displayed on the first terminal, and the first page monitoring tool configured in the first terminal monitors these operations to obtain operation data. For example, the rotation operation is used to change the display angle of the three-dimensional vehicle model 320, and the reduction operation is used to reduce the size of the three-dimensional vehicle model 320. In response to the operation data, the first terminal displays the second posture of the three-dimensional vehicle model 320 corresponding to these operations. For example, the second posture is as shown in FIG. 6B. Compared with the screen shown in FIG. 6A, the size and display angle of the three-dimensional vehicle model 320 in the screen shown in FIG. 6B have changed.
然后,第一终端通过传输通道组将该操作数据传输至第二终端。第二终端接收到该操作数据后,基于该操作数据对第二终端所展示的三维车辆模型320同步执行旋转操作和缩小操作,以使得第二终端展示三维车辆模型320的第二姿态。此时,第一终端的页面中和第二终端的页面中所展示的画面均为图6B所示的画面。Then, the first terminal transmits the operation data to the second terminal through the transmission channel group. After receiving the operation data, the second terminal synchronously performs a rotation operation and a reduction operation on the three-dimensional vehicle model 320 displayed by the second terminal based on the operation data, so that the second terminal displays the second posture of the three-dimensional vehicle model 320. At this time, the screens displayed on the page of the first terminal and the page of the second terminal are both the screens shown in FIG. 6B.
由此,通过第一用户对三维车辆模型320进行例如拖动、缩放、旋转、外形与内部空间切换等操作,可以在第一终端的页面中和第二终端的页面中同步展示三维车辆模型320的不同姿态,从而提供更好的观看体验。Thus, through operations such as dragging, zooming, rotating, shape and internal space switching of the three-dimensional vehicle model 320 by the first user, the three-dimensional vehicle model 320 can be displayed simultaneously on the page of the first terminal and the page of the second terminal. Different postures, thus providing a better viewing experience.
图6C为本公开至少一个实施例提供的一种三维模型远程展示方法的展示效果图之三。如图6C所示,本公开实施例提供的三维模型远程展示方法通过运行代码的方式运行在第一终端中,真实场景为一房间330。第一用户通过安装在第一终端上的浏览器访问页面(例如网页),或者通过安装在第一终端上的应用程序中的WebView控件访问页面。然后,通过第一终端的摄像头拍摄得到真实场景的图像并显示在该页面中,使得该页面中显示的图像包括房间330。通过调用增强现实接口对图像进行平面识别,从而识别出地面331,该地面331即为前述的展示平面。FIG. 6C is the third display effect diagram of a method for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure. As shown in FIG. 6C, the remote display method for a three-dimensional model provided by an embodiment of the present disclosure runs in the first terminal by running code, and the real scene is a room 330. The first user accesses a page (for example, a web page) through a browser installed on the first terminal, or accesses a page through a WebView control in an application program installed on the first terminal. Then, an image of the real scene is captured by the camera of the first terminal and displayed on the page, so that the image displayed on the page includes the room 330. By calling the augmented reality interface to recognize the plane of the image, the ground 331 is identified, and the ground 331 is the aforementioned display plane.
接着,提示第一用户点击页面中显示的地面331,第一用户例如在该提示下点击了地面331的任一位置。接收到第一用户的点击指令后,基于WebGL并调用增强现实接口,在页面中显示的地面331的该处位置展示三维车辆模型320的第一姿态。基于实时音视频技术,第一终端与第二终端建立传输通道组,使得第二终端在页面中与第一终端同步展示三维车辆模型320的第一姿态。此时,第一终端的页面中和第二终端的页面中所展示的画面均为图6C所示的画面。后续对三维车辆模型320的姿态进行切换以及使第一终端和第 二终端通过传输操作数据而实现同步显示的方法与图6A-6B所示的示例基本相同,此处不再赘述。Next, the first user is prompted to click on the ground 331 displayed on the page. For example, the first user clicks any position on the ground 331 under the prompt. After receiving the click instruction of the first user, based on WebGL and calling the augmented reality interface, the first posture of the three-dimensional vehicle model 320 is displayed at the position on the ground 331 displayed on the page. Based on real-time audio and video technology, the first terminal and the second terminal establish a transmission channel group, so that the second terminal displays the first posture of the three-dimensional vehicle model 320 synchronously with the first terminal on the page. At this time, the screens displayed on the page of the first terminal and the page of the second terminal are both the screens shown in FIG. 6C. The method for subsequently switching the posture of the three-dimensional vehicle model 320 and enabling the first terminal and the second terminal to realize synchronous display by transmitting operation data is basically the same as the example shown in FIGS. 6A-6B, and will not be repeated here.
图6D为本公开至少一个实施例提供的一种三维模型远程展示方法的展示效果图之四。如图6D所示,本公开实施例提供的三维模型远程展示方法通过运行代码的方式运行在第一终端中,真实场景中存在圆桌310。第一用户通过安装在第一终端上的浏览器访问页面(例如网页),或者通过安装在第一终端上的应用程序中的WebView控件访问页面。然后,通过第一终端的摄像头拍摄得到真实场景的图像并显示在该页面中,使得该页面中显示的图像包括圆桌310。通过调用增强现实接口对图像进行平面识别,从而识别出桌面311,该桌面311即为前述的展示平面。FIG. 6D is the fourth display effect diagram of a method for remote display of a three-dimensional model provided by at least one embodiment of the present disclosure. As shown in FIG. 6D, the remote display method for a three-dimensional model provided by an embodiment of the present disclosure runs in the first terminal by running code, and there is a round table 310 in the real scene. The first user accesses a page (for example, a web page) through a browser installed on the first terminal, or accesses a page through a WebView control in an application program installed on the first terminal. Then, an image of the real scene is captured by the camera of the first terminal and displayed on the page, so that the image displayed on the page includes the round table 310. By calling the augmented reality interface to recognize the plane of the image, the desktop 311 is identified, and the desktop 311 is the aforementioned display plane.
接着,提示第一用户点击页面中显示的桌面311,第一用户例如在该提示下点击了桌面311的中心位置。接收到第一用户的点击指令后,基于WebGL并调用增强现实接口,在页面中显示的桌面311的中心位置处展示三维房屋模型340,此时展示的是三维房屋模型340的第一姿态。基于实时音视频技术,第一终端与第二终端建立传输通道组,使得第二终端在页面中与第一终端同步展示三维房屋模型340的第一姿态。此时,第一终端的页面中和第二终端的页面中所展示的画面均为图6D所示的画面。后续对三维房屋模型340的姿态进行切换以及使第一终端和第二终端通过传输操作数据而实现同步显示的方法与图6A-6B所示的示例基本相同,此处不再赘述。Next, the first user is prompted to click on the desktop 311 displayed on the page. For example, the first user clicks on the center of the desktop 311 under the prompt. After receiving the click instruction of the first user, based on WebGL and calling the augmented reality interface, the three-dimensional house model 340 is displayed at the center position of the desktop 311 displayed on the page. At this time, the first posture of the three-dimensional house model 340 is displayed. Based on real-time audio and video technology, the first terminal and the second terminal establish a transmission channel group, so that the second terminal synchronously displays the first posture of the three-dimensional house model 340 on the page with the first terminal. At this time, the screens displayed on the page of the first terminal and the page of the second terminal are both the screens shown in FIG. 6D. The method for subsequently switching the posture of the three-dimensional house model 340 and enabling the first terminal and the second terminal to realize synchronous display by transmitting operation data is basically the same as the example shown in FIGS. 6A-6B, and will not be repeated here.
需要说明的是,本公开的实施例中,三维房屋模型340可以为楼盘小区沙盘模型,也可以为户型模型,还可以为单间房屋的模型。例如,这些三维房屋模型可以通过建模软件提前建立并保存,以供需要展示时使用。例如,三维房屋模型340可以为展示房屋外形的模型,也可以为具有内部结构的模型,还可以为可在外形模式和内部模式之间切换的模型。It should be noted that, in the embodiment of the present disclosure, the three-dimensional house model 340 may be a real estate community sand table model, a house model, or a single-room house model. For example, these three-dimensional house models can be created and saved in advance through modeling software for use when they need to be displayed. For example, the three-dimensional house model 340 may be a model showing the appearance of a house, may also be a model with an internal structure, and may also be a model that can be switched between an appearance mode and an interior mode.
例如,当三维房屋模型340为可在外形模式和内部模式之间切换的模型时,可以基于用户的操作指令来实现切换。例如,当用户的操作指令指示外形模式时,可以显示三维房屋模型340的外观,并可以对三维房屋模型340的姿态进行调整,以便于用户从不同角度观察三维房屋模型340的外观。当用户的操作指令指示内部模式时,可以显示三维房屋模型340的内部结构,也即是,去除三维房屋模型340的某一面墙或某几面墙从而呈现内部结构,用户可以对三维房屋模型340的姿态进行调整,以便于用户从不同角度观察三维房屋模型340的内部结构和空间布局。For example, when the three-dimensional house model 340 is a model that can be switched between the appearance mode and the interior mode, the switching can be implemented based on a user's operation instruction. For example, when the user's operation instruction indicates the shape mode, the appearance of the three-dimensional house model 340 can be displayed, and the posture of the three-dimensional house model 340 can be adjusted, so that the user can observe the appearance of the three-dimensional house model 340 from different angles. When the user's operation instruction indicates the internal mode, the internal structure of the three-dimensional house model 340 can be displayed, that is, a certain wall or a few walls of the three-dimensional house model 340 are removed to present the internal structure, and the user can compare the three-dimensional house model 340 The posture of the three-dimensional house model 340 can be adjusted so that the user can observe the internal structure and spatial layout of the three-dimensional house model 340 from different angles.
需要说明的是,本公开的实施例中,三维模型不限于三维车辆模型和三维房屋模型,还可以为其他任意适用的三维模型,只要该三维模型需要进行远程展示,均可以利用本公开实施例提供的方法进行远程展示,本公开的实施例对此不作限制。It should be noted that in the embodiments of the present disclosure, the three-dimensional model is not limited to the three-dimensional vehicle model and the three-dimensional house model, but can also be any other applicable three-dimensional model. As long as the three-dimensional model needs to be displayed remotely, the embodiments of the present disclosure can be used. The provided method performs remote display, which is not limited in the embodiments of the present disclosure.
图7为一种可用于实施本公开实施例提供的三维模型远程展示方法的系统示意图。如图7所示,该系统400可以包括第一终端410、网络420、服务器430、数据库440和第二终端450。例如,该系统400可以用于实施本公开任一实施例提供的三维模型远程展示方法。FIG. 7 is a schematic diagram of a system that can be used to implement the remote display method of a three-dimensional model provided by an embodiment of the present disclosure. As shown in FIG. 7, the system 400 may include a first terminal 410, a network 420, a server 430, a database 440, and a second terminal 450. For example, the system 400 can be used to implement the remote display method of a three-dimensional model provided by any embodiment of the present disclosure.
第一终端410例如为电脑410-1或手机410-2。第二终端450例如为电脑450-1或手机450-2。可以理解的是,第一终端410和第二终端450可以是能够执行数据处理的任何其他类型的电子设备,其可以包括但不限于台式电脑、笔记本电脑、平板电脑、智能手机、智能家居设备、可穿戴设备、车载电子设备、监控设备等。第一终端410和第二终端450也可以是设置有电子设备的任何装备,例如车辆、机器人等。The first terminal 410 is, for example, a computer 410-1 or a mobile phone 410-2. The second terminal 450 is, for example, a computer 450-1 or a mobile phone 450-2. It is understandable that the first terminal 410 and the second terminal 450 can be any other types of electronic devices capable of performing data processing, which can include, but are not limited to, desktop computers, laptops, tablets, smart phones, smart home devices, Wearable devices, in-vehicle electronic equipment, monitoring equipment, etc. The first terminal 410 and the second terminal 450 may also be any equipment provided with electronic devices, such as vehicles, robots, and so on.
第一用户可以对安装在第一终端410上的应用程序进行操作,应用程序通过网络420将用户行为数据传输给服务器430,第一终端410还可以通过网络420接收服务器430传输的数据。第一用户还可以利用安装在第一终端410上的浏览器访问页面或者利用应用程序的页面视图控件访问页面,该页面利用本公开实施例提供的三维模型远程展示方法进行三维模型展示。The first user may operate an application program installed on the first terminal 410. The application program transmits user behavior data to the server 430 through the network 420, and the first terminal 410 may also receive data transmitted by the server 430 through the network 420. The first user may also use a browser installed on the first terminal 410 to access a page or use a page view control of an application program to access a page, and the page uses the remote display method of a three-dimensional model provided by an embodiment of the present disclosure to display a three-dimensional model.
网络420可以是单个网络,或至少两个不同网络的组合。例如,网络420可以包括但不限于局域网、广域网、公用网络、专用网络等中的一种或几种的组合。The network 420 may be a single network, or a combination of at least two different networks. For example, the network 420 may include, but is not limited to, one or a combination of several of a local area network, a wide area network, a public network, and a private network.
第二用户可以利用安装在第二终端450上的浏览器访问页面或者利用应用程序的页面视图控件访问页面。当第一终端410利用本公开实施例提供的三维模型远程展示方法进行三维模型展示时,操作数据可以通过网络420从第一终端410传输至第二终端450,第二终端450在页面中与第一终端410同步展示三维模型。The second user may use a browser installed on the second terminal 450 to access the page or use the page view control of the application to access the page. When the first terminal 410 uses the three-dimensional model remote display method provided by the embodiments of the present disclosure to display the three-dimensional model, the operating data can be transmitted from the first terminal 410 to the second terminal 450 via the network 420, and the second terminal 450 is displayed in the page with the first terminal 450. A terminal 410 simultaneously displays the three-dimensional model.
服务器430可以是一个单独的服务器,或一个服务器群组,群组内的各个服务器通过有线的或无线的网络进行连接。一个服务器群组可以是集中式的,例如数据中心,也可以是分布式的。服务器430可以是本地的或远程的。The server 430 may be a single server or a server group, and each server in the group is connected through a wired or wireless network. A server group can be centralized, such as a data center, or distributed. The server 430 may be local or remote.
数据库440可以泛指具有存储功能的设备。数据库440主要用于存储第一终端410、第二终端450和服务器430在工作中所利用、产生和输出的各种数据。例如,数据库440中存储有大量三维模型数据,服务器430从数据库440中读取第一用户所选择的三维模型数据,并将该三维模型数据通过网络420发送至第一终端410,第一终端410显示该三维模型数据对应的三维模型,并使第二终端450远程同步显示该三维模型,从而便于第一用户和第二用户浏览或观看。数据库440可以是本地的或远程的。数据库440可以包括各种存储器、例如随机存取存储器(Random Access Memory,RAM)、只读存储器(Read Only Memory,ROM)等。以上提及的存储设备只是列举了一些例子,该系统400可以使用的存储设备并不局限于此。The database 440 may generally refer to a device having a storage function. The database 440 is mainly used to store various data used, generated, and output by the first terminal 410, the second terminal 450, and the server 430 in the work. For example, a large amount of three-dimensional model data is stored in the database 440, and the server 430 reads the three-dimensional model data selected by the first user from the database 440, and sends the three-dimensional model data to the first terminal 410 via the network 420. The first terminal 410 The three-dimensional model corresponding to the three-dimensional model data is displayed, and the second terminal 450 is synchronized to display the three-dimensional model remotely, so that it is convenient for the first user and the second user to browse or watch. The database 440 may be local or remote. The database 440 may include various memories, such as random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), and so on. The storage devices mentioned above are just a few examples, and the storage devices that can be used by the system 400 are not limited to these.
数据库440可以经由网络420与服务器430或其一部分相互连接或通信,或直接与服务器430相互连接或通信,或是上述两种方式的结合。The database 440 may be connected or communicated with the server 430 or a part thereof via the network 420, or directly connected or communicated with the server 430, or a combination of the above two methods.
在一些示例中,数据库440可以是独立的设备。在另一些示例中,数据库440也可以集成在第一终端410、第二终端450和服务器430中的至少一个中。例如,数据库440可以设置在第一终端410上,也可以设置在第二终端450上,还可以设置在服务器430上。又例如,数据库440也可以是分布式的,其一部分设置在第一终端410上,另一部分设置在服务器430上。In some examples, the database 440 may be a stand-alone device. In other examples, the database 440 may also be integrated in at least one of the first terminal 410, the second terminal 450, and the server 430. For example, the database 440 may be set on the first terminal 410, on the second terminal 450, or on the server 430. For another example, the database 440 may also be distributed, a part of which is set on the first terminal 410 and the other part is set on the server 430.
本公开至少一个实施例还提供一种用于远程展示三维模型的第一终端,该第一终端可以在页面(例如网页)中展示三维模型(例如三维车辆模型),无需安装原生应用程序,使用便捷,并且可以实现三维车辆模型与现实场景的融合,能够提供更加真实的在线看车方式,并且提高在线看车的互动性和可玩性。而且,该第一终端可以实现终端之间的屏幕共享,降低了传输的数据量,能够避免占用大量的设备资源,避免出现显示卡顿、设备发热等现象,可以解决显示延迟问题,保证各个终端显示的图像的分辨率,提高了用户的使用体验。At least one embodiment of the present disclosure also provides a first terminal for remotely displaying a three-dimensional model. The first terminal can display a three-dimensional model (such as a three-dimensional vehicle model) on a page (such as a web page) without installing a native application. It is convenient and can realize the integration of three-dimensional vehicle model and real scene, can provide a more realistic way of watching cars online, and improve the interactivity and playability of watching cars online. Moreover, the first terminal can realize screen sharing between terminals, reduce the amount of data transmitted, can avoid occupying a large amount of equipment resources, avoid display jams, equipment heating, etc., can solve the display delay problem, and ensure that each terminal The resolution of the displayed image improves the user experience.
图8为本公开至少一个实施例提供的一种用于远程展示三维模型的第一终端的示意框图。如图8所示,该第一终端500包括页面加载单元510、增强现实处理单元520、通信单元530、获取单元540、切换单元550和传输单元560。例如,第一终端500可以应用于任意的需要远程展示三维模型的设备或系统中,本公开的实施例对此不作限制。FIG. 8 is a schematic block diagram of a first terminal for remotely displaying a three-dimensional model provided by at least one embodiment of the present disclosure. As shown in FIG. 8, the first terminal 500 includes a page loading unit 510, an augmented reality processing unit 520, a communication unit 530, an acquisition unit 540, a switching unit 550, and a transmission unit 560. For example, the first terminal 500 can be applied to any device or system that needs to remotely display a three-dimensional model, which is not limited in the embodiment of the present disclosure.
页面加载单元510配置为基于网络图形库绘图协议,在页面中加载三维模型。例如,页面加载单元510可以执行如图1所示的三维模型远程展示方法的步骤S110。增强现实处理单元520配置为调用增强现实接口展示三维模型的第一姿态。例如,增强现实处理单元520可以执行如图1所示的三维模型远程展示方法的步骤S120。通信单元530配置为基于实时音视频技术与第二终端建立传输通道组,使得第二终端在页面中与第一终端500同步展示三维模型的第一姿态。例如,通信单元530可以执行如图1所示的三维模型远程展示方法的步骤S130。The page loading unit 510 is configured to load the three-dimensional model in the page based on the network graphics library drawing protocol. For example, the page loading unit 510 may execute step S110 of the method for remotely displaying a three-dimensional model as shown in FIG. 1. The augmented reality processing unit 520 is configured to call the augmented reality interface to display the first posture of the three-dimensional model. For example, the augmented reality processing unit 520 may execute step S120 of the method for remotely displaying a three-dimensional model as shown in FIG. 1. The communication unit 530 is configured to establish a transmission channel group with the second terminal based on real-time audio and video technology, so that the second terminal displays the first posture of the three-dimensional model synchronously with the first terminal 500 on the page. For example, the communication unit 530 may execute step S130 of the method for remotely displaying a three-dimensional model as shown in FIG. 1.
获取单元540配置为响应于检测到的对第一终端500上所展示的三维模型执行的调整操作,获取对应于调整操作的操作数据。例如,获取单元540可以执行如图1所示的三维模型远程展示方法的步骤S140。切换单元550配置为基于网络图形库绘图协议并调用增强现实接口,展示与调整操作对应的三维模型的第二姿态。例如,切换单元550可以执行如图1所示的三维模型远程展示方法的步骤S150。传输单元560配置为通过传输通道组将操作数据由第一终端500传输至第二终端,使得第二终端基于操作数据对第二终端所展示的三维模型的第一姿态同步执行调整操作,以使得第二终端展示与调整 操作对应的三维模型的第二姿态。例如,传输单元560可以执行如图1所示的三维模型远程展示方法的步骤S160。The obtaining unit 540 is configured to obtain operation data corresponding to the adjustment operation in response to the detected adjustment operation performed on the three-dimensional model displayed on the first terminal 500. For example, the acquiring unit 540 may execute step S140 of the method for remotely displaying a three-dimensional model as shown in FIG. 1. The switching unit 550 is configured to display the second posture of the three-dimensional model corresponding to the adjustment operation based on the network graphics library drawing protocol and call the augmented reality interface. For example, the switching unit 550 may execute step S150 of the method for remotely displaying a three-dimensional model as shown in FIG. 1. The transmission unit 560 is configured to transmit the operation data from the first terminal 500 to the second terminal through the transmission channel group, so that the second terminal synchronously performs an adjustment operation on the first posture of the three-dimensional model displayed by the second terminal based on the operation data, so that The second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation. For example, the transmission unit 560 may execute step S160 of the method for remotely displaying a three-dimensional model as shown in FIG. 1.
例如,页面加载单元510和增强现实处理单元520可以作为整体复用为切换单元550,从而既用于展示三维模型的第一姿态,又用于在需要时展示三维模型的第二姿态,以提高资源利用率。For example, the page loading unit 510 and the augmented reality processing unit 520 can be reused as the switching unit 550 as a whole, so as to not only display the first posture of the three-dimensional model, but also display the second posture of the three-dimensional model when needed, so as to improve Resource utilization.
例如,页面加载单元510、增强现实处理单元520、通信单元530、获取单元540、切换单元550和传输单元560可以为硬件、软件、固件以及它们的任意可行的组合。例如,页面加载单元510、增强现实处理单元520、通信单元530、获取单元540、切换单元550和传输单元560可以为专用或通用的电路、芯片或装置等,也可以为处理器和存储器的结合。关于上述各个单元的具体实现形式,本公开的实施例对此不作限制。For example, the page loading unit 510, the augmented reality processing unit 520, the communication unit 530, the acquisition unit 540, the switching unit 550, and the transmission unit 560 may be hardware, software, firmware, and any feasible combination thereof. For example, the page loading unit 510, the augmented reality processing unit 520, the communication unit 530, the acquisition unit 540, the switching unit 550, and the transmission unit 560 may be dedicated or general-purpose circuits, chips or devices, etc., or may be a combination of a processor and a memory . Regarding the specific implementation form of each of the above-mentioned units, the embodiments of the present disclosure do not limit this.
需要说明的是,本公开的实施例中,第一终端500的各个单元与前述的三维模型远程展示方法的各个步骤对应,关于第一终端500的具体功能和技术效果可以参考关于三维模型远程展示方法的相关描述,此处不再赘述。图8所示的第一终端500的组件和结构只是示例性的,而非限制性的,根据需要,该第一终端500还可以包括其他组件和结构。It should be noted that, in the embodiment of the present disclosure, each unit of the first terminal 500 corresponds to each step of the aforementioned three-dimensional model remote display method. For the specific functions and technical effects of the first terminal 500, please refer to About three-dimensional model remote display The description of the method will not be repeated here. The components and structure of the first terminal 500 shown in FIG. 8 are only exemplary, and not restrictive. The first terminal 500 may further include other components and structures as required.
图9为本公开至少一个实施例提供的远程展示的应用示意图。如图9所示,第一终端501可以包括第一屏幕,用于向第一用户展示三维模型,第二终端502可以包括第二屏幕,用于向第二用户展示三维模型。第一终端501可以为前述的第一终端500。第一终端501与第二终端502之间建立有传输通道组,例如可以是用于实时通信的长连接通道。此外,在建立了传输通道组之后,第一终端501和第二终端502可以获取对应于相同三维模型的数据,该三维模型可以是三维车辆模型。接着,第一终端501中的工具单元,例如Canvas画布,可以监听第一用户对第一屏幕的调整操作,获取对应于该调整操作的操作数据,并基于该操作数据在第一屏幕上进行图形绘制,以切换所展示的三维车辆模型的姿态。FIG. 9 is a schematic diagram of the remote display application provided by at least one embodiment of the present disclosure. As shown in FIG. 9, the first terminal 501 may include a first screen for displaying a three-dimensional model to the first user, and the second terminal 502 may include a second screen for displaying a three-dimensional model to the second user. The first terminal 501 may be the aforementioned first terminal 500. A transmission channel group is established between the first terminal 501 and the second terminal 502, which may be, for example, a long connection channel used for real-time communication. In addition, after the transmission channel group is established, the first terminal 501 and the second terminal 502 may obtain data corresponding to the same three-dimensional model, which may be a three-dimensional vehicle model. Next, the tool unit in the first terminal 501, such as the Canvas canvas, can monitor the adjustment operation of the first user on the first screen, obtain operation data corresponding to the adjustment operation, and perform graphics on the first screen based on the operation data Draw to switch the posture of the displayed 3D vehicle model.
此外,第一终端501中的语音单元,例如麦克风,可以监听第一用户的语音输入,并获取语音数据。接着,第一终端501可以利用通信单元经由建立的传输通道组将语音数据以及操作数据传输至第二终端502的通信单元。第二终端502中的工具单元可以基于接收的操作数据执行调整操作,以切换在第二屏幕上所展示的三维车辆模型的姿态。此外,第二终端502中的语音单元可以基于接收的语音数据来播放语音。通过图9所示出的过程,可以实现终端之间的屏幕共享,在第一终端501显示的页面中和第二终端502显示的页面中同步展示三维车辆模型。In addition, the voice unit in the first terminal 501, such as a microphone, can monitor the voice input of the first user and obtain voice data. Then, the first terminal 501 can use the communication unit to transmit the voice data and the operation data to the communication unit of the second terminal 502 via the established transmission channel group. The tool unit in the second terminal 502 may perform an adjustment operation based on the received operation data to switch the posture of the three-dimensional vehicle model displayed on the second screen. In addition, the voice unit in the second terminal 502 may play voice based on the received voice data. Through the process shown in FIG. 9, screen sharing between terminals can be realized, and the three-dimensional vehicle model can be simultaneously displayed in the page displayed by the first terminal 501 and the page displayed by the second terminal 502.
图10为本公开至少一个实施例提供的一种电子设备的示意框图。如图10所示,该电子设备600包括处理器610和存储器620。存储器620用于存储非 暂时性计算机可读指令(例如一个或多个计算机程序模块)。处理器610用于运行非暂时性计算机可读指令,非暂时性计算机可读指令被处理器610运行时可以执行上文所述的三维模型远程展示方法中的一个或多个步骤。存储器620和处理器610可以通过总线系统和/或其它形式的连接机构(未示出)互连。FIG. 10 is a schematic block diagram of an electronic device provided by at least one embodiment of the present disclosure. As shown in FIG. 10, the electronic device 600 includes a processor 610 and a memory 620. The memory 620 is used to store non-transitory computer readable instructions (for example, one or more computer program modules). The processor 610 is configured to run non-transitory computer-readable instructions, and when the non-transitory computer-readable instructions are executed by the processor 610, one or more steps in the method for remotely displaying a three-dimensional model described above can be executed. The memory 620 and the processor 610 may be interconnected by a bus system and/or other forms of connection mechanisms (not shown).
例如,处理器610可以是中央处理单元(CPU)、图形处理单元(GPU)、数字信号处理器(DSP)或者具有数据处理能力和/或程序执行能力的其它形式的处理单元,例如现场可编程门阵列(FPGA)等;例如,中央处理单元(CPU)可以为X86或ARM架构等。处理器610可以为通用处理器或专用处理器,可以控制电子设备600中的其它组件以执行期望的功能。For example, the processor 610 may be a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), or other forms of processing units with data processing capabilities and/or program execution capabilities, such as field programmable Gate array (FPGA), etc.; for example, the central processing unit (CPU) can be an X86 or ARM architecture. The processor 610 may be a general-purpose processor or a special-purpose processor, and may control other components in the electronic device 600 to perform desired functions.
例如,存储器620可以包括一个或多个计算机程序产品的任意组合,计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。非易失性存储器例如可以包括只读存储器(ROM)、硬盘、可擦除可编程只读存储器(EPROM)、便携式紧致盘只读存储器(CD-ROM)、USB存储器、闪存等。在计算机可读存储介质上可以存储一个或多个计算机程序模块,处理器610可以运行一个或多个计算机程序模块,以实现电子设备600的各种功能。在计算机可读存储介质中还可以存储各种应用程序和各种数据以及应用程序使用和/或产生的各种数据等。For example, the memory 620 may include any combination of one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. Volatile memory may include random access memory (RAM) and/or cache memory (cache), for example. Non-volatile memory may include, for example, read only memory (ROM), hard disk, erasable programmable read only memory (EPROM), portable compact disk read only memory (CD-ROM), USB memory, flash memory, etc. One or more computer program modules may be stored on the computer-readable storage medium, and the processor 610 may run one or more computer program modules to implement various functions of the electronic device 600. The computer-readable storage medium may also store various application programs and various data, various data used and/or generated by the application programs, and the like.
需要说明的是,本公开的实施例中,电子设备600的具体功能和技术效果可以参考上文中关于三维模型远程展示方法的描述,此处不再赘述。It should be noted that, in the embodiments of the present disclosure, for the specific functions and technical effects of the electronic device 600, reference may be made to the above description of the method for remote display of a three-dimensional model, which will not be repeated here.
图11为本公开至少一个实施例提供的另一种电子设备的示意框图。该电子设备700例如适于用来实施本公开实施例提供的三维模型远程展示方法。电子设备700可以是终端设备等。需要注意的是,图11示出的电子设备700仅仅是一个示例,其不会对本公开实施例的功能和使用范围带来任何限制。FIG. 11 is a schematic block diagram of another electronic device provided by at least one embodiment of the present disclosure. The electronic device 700 is, for example, suitable for implementing the method for remotely displaying a three-dimensional model provided by an embodiment of the present disclosure. The electronic device 700 may be a terminal device or the like. It should be noted that the electronic device 700 shown in FIG. 11 is only an example, which does not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
如图11所示,电子设备700可以包括处理装置(例如中央处理器、图形处理器等)710,其可以根据存储在只读存储器(ROM)720中的程序或者从存储装置780加载到随机访问存储器(RAM)730中的程序而执行各种适当的动作和处理。在RAM 730中,还存储有电子设备700操作所需的各种程序和数据。处理装置710、ROM 720以及RAM 730通过总线740彼此相连。输入/输出(I/O)接口750也连接至总线740。As shown in FIG. 11, the electronic device 700 may include a processing device (such as a central processing unit, a graphics processor, etc.) 710, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 720 or from a storage device 780. The program in the memory (RAM) 730 executes various appropriate actions and processes. In the RAM 730, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 710, the ROM 720, and the RAM 730 are connected to each other through a bus 740. An input/output (I/O) interface 750 is also connected to the bus 740.
通常,以下装置可以连接至I/O接口750:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置760;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置770;包括例如磁带、硬盘等的存储装置780;以及通信装置790。通信装置790可以允许电子设备700与其他电子设备进行无线或有线通信以交换数据。虽然图11示出了具有各种 装置的电子设备700,但应理解的是,并不要求实施或具备所有示出的装置,电子设备700可以替代地实施或具备更多或更少的装置。Generally, the following devices can be connected to the I/O interface 750: including input devices 760 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCD), speakers, vibration An output device 770 such as a device; a storage device 780 such as a magnetic tape, a hard disk, etc.; and a communication device 790. The communication device 790 may allow the electronic device 700 to perform wireless or wired communication with other electronic devices to exchange data. Although FIG. 11 shows an electronic device 700 with various devices, it should be understood that it is not required to implement or have all the devices shown, and the electronic device 700 may alternatively implement or have more or fewer devices.
本公开至少一个实施例还提供一种存储介质,用于存储非暂时性计算机可读指令,当该非暂时性计算机可读指令由计算机执行时可以实现本公开任一实施例提供的三维模型远程展示方法。利用该存储介质,可以在页面(例如网页)中展示三维模型(例如三维车辆模型),无需安装原生应用程序,使用便捷,并且可以实现三维车辆模型与现实场景的融合,能够提供更加真实的在线看车方式,并且提高在线看车的互动性和可玩性。而且,可以实现终端之间的屏幕共享,降低了传输的数据量,能够避免占用大量的设备资源,避免出现显示卡顿、设备发热等现象,可以解决显示延迟问题,保证各个终端显示的图像的分辨率,提高了用户的使用体验。At least one embodiment of the present disclosure further provides a storage medium for storing non-transitory computer-readable instructions. When the non-transitory computer-readable instructions are executed by a computer, the remote three-dimensional model provided by any embodiment of the present disclosure can be realized. Show method. Using this storage medium, three-dimensional models (such as three-dimensional vehicle models) can be displayed on pages (such as web pages) without installing native applications, which is convenient to use, and can realize the integration of three-dimensional vehicle models and real scenes, which can provide more realistic online The way to watch the car, and improve the interactivity and playability of watching the car online. Moreover, it can realize screen sharing between terminals, reduce the amount of data transmitted, avoid occupying a large amount of equipment resources, avoid display jams, equipment heating, etc., can solve the display delay problem, and ensure the quality of the images displayed by each terminal. Resolution improves the user experience.
图12为本公开至少一个实施例提供的一种存储介质的示意图。如图12所示,存储介质800用于存储非暂时性计算机可读指令810。例如,当非暂时性计算机可读指令810由计算机执行时可以执行根据上文所述的三维模型远程展示方法中的一个或多个步骤。FIG. 12 is a schematic diagram of a storage medium provided by at least one embodiment of the present disclosure. As shown in FIG. 12, the storage medium 800 is used to store non-transitory computer readable instructions 810. For example, when the non-transitory computer-readable instructions 810 are executed by a computer, one or more steps in the remote display method according to the above-mentioned three-dimensional model can be executed.
例如,该存储介质800可以应用于上述电子设备600中。例如,存储介质800可以为图10所示的电子设备600中的存储器620。例如,关于存储介质800的相关说明可以参考图10所示的电子设备600中的存储器620的相应描述,此处不再赘述。For example, the storage medium 800 may be applied to the above-mentioned electronic device 600. For example, the storage medium 800 may be the memory 620 in the electronic device 600 shown in FIG. 10. For example, for the relevant description of the storage medium 800, reference may be made to the corresponding description of the memory 620 in the electronic device 600 shown in FIG. 10, which will not be repeated here.
有以下几点需要说明:The following points need to be explained:
(1)本公开实施例附图只涉及到本公开实施例涉及到的结构,其他结构可参考通常设计。(1) The drawings of the embodiments of the present disclosure only refer to the structures involved in the embodiments of the present disclosure, and other structures can refer to the usual design.
(2)在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合以得到新的实施例。(2) In the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other to obtain new embodiments.
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,本公开的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and the protection scope of the present disclosure should be subject to the protection scope of the claims.
Claims (20)
- 一种三维模型远程展示方法,应用于第一终端,所述方法包括:A method for remotely displaying a three-dimensional model, applied to a first terminal, the method including:基于网络图形库绘图协议,在页面中加载三维模型;Based on the network graphics library drawing protocol, load the 3D model on the page;调用增强现实接口展示所述三维模型的第一姿态;Calling the augmented reality interface to display the first posture of the three-dimensional model;基于实时音视频技术与第二终端建立传输通道组,使得所述第二终端在页面中与所述第一终端同步展示所述三维模型的第一姿态;Establishing a transmission channel group with the second terminal based on real-time audio and video technology, so that the second terminal displays the first posture of the three-dimensional model synchronously with the first terminal on the page;响应于检测到的对所述第一终端上所展示的所述三维模型执行的调整操作,获取对应于所述调整操作的操作数据;In response to a detected adjustment operation performed on the three-dimensional model displayed on the first terminal, obtaining operation data corresponding to the adjustment operation;基于所述网络图形库绘图协议并调用所述增强现实接口,展示与所述调整操作对应的所述三维模型的第二姿态;Based on the network graphics library drawing protocol and calling the augmented reality interface to display the second posture of the three-dimensional model corresponding to the adjustment operation;通过所述传输通道组将所述操作数据由所述第一终端传输至所述第二终端,使得所述第二终端基于所述操作数据对所述第二终端所展示的所述三维模型的第一姿态同步执行所述调整操作,以使得所述第二终端展示与所述调整操作对应的所述三维模型的第二姿态。The operation data is transmitted from the first terminal to the second terminal through the transmission channel group, so that the second terminal performs an analysis of the three-dimensional model displayed by the second terminal based on the operation data. The first posture performs the adjustment operation synchronously, so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation.
- 根据权利要求1所述的方法,其中,所述网络图形库绘图协议包括WebGL。The method according to claim 1, wherein the network graphics library drawing protocol includes WebGL.
- 根据权利要求1或2所述的方法,其中,所述增强现实接口包括JavaScript形式的ARcore开发接口或JavaScript形式的ARKit开发接口。The method according to claim 1 or 2, wherein the augmented reality interface comprises an ARcore development interface in JavaScript form or an ARKit development interface in JavaScript form.
- 根据权利要求1-3任一所述的方法,其中,所述页面包括浏览器页面或者应用程序页面。The method according to any one of claims 1-3, wherein the page comprises a browser page or an application page.
- 根据权利要求1-4任一所述的方法,其中,调用所述增强现实接口展示所述三维模型的第一姿态包括:The method according to any one of claims 1 to 4, wherein invoking the augmented reality interface to display the first posture of the three-dimensional model comprises:获取图像;Get an image;调用所述增强现实接口对所述图像进行平面识别,以识别所述图像中的展示平面;Calling the augmented reality interface to perform plane recognition on the image to identify the display plane in the image;调用所述增强现实接口在所述展示平面上展示所述三维模型的第一姿态。Invoking the augmented reality interface to display the first posture of the three-dimensional model on the display plane.
- 根据权利要求5所述的方法,其中,调用所述增强现实接口展示所述三维模型的第一姿态还包括:The method according to claim 5, wherein invoking the augmented reality interface to display the first posture of the three-dimensional model further comprises:在识别到所述展示平面之后、展示所述三维模型的第一姿态之前,提示用户点击所述展示平面;Prompt the user to click on the display plane after the display plane is recognized and before the first posture of the three-dimensional model is displayed;接收所述用户的点击指令以确定点击位置。A click instruction from the user is received to determine the click position.
- 根据权利要求6所述的方法,其中,调用所述增强现实接口在所述展示平面上展示所述三维模型的第一姿态包括:The method according to claim 6, wherein invoking the augmented reality interface to display the first posture of the three-dimensional model on the display plane comprises:调用所述增强现实接口在所述展示平面上的点击位置处展示所述三维模 型的第一姿态。Call the augmented reality interface to display the first posture of the three-dimensional model at the click position on the display plane.
- 根据权利要求1-4任一所述的方法,其中,调用所述增强现实接口展示所述三维模型的第一姿态还包括:The method according to any one of claims 1 to 4, wherein invoking the augmented reality interface to display the first posture of the three-dimensional model further comprises:调用所述增强现实接口处理环境光数据,并对所述三维模型的第一姿态的展示效果参数进行调节。The augmented reality interface is called to process the ambient light data, and the display effect parameters of the first posture of the three-dimensional model are adjusted.
- 根据权利要求8所述的方法,其中,所述展示效果参数包括阴影、色彩饱和度和白平衡。8. The method according to claim 8, wherein the display effect parameters include shadow, color saturation, and white balance.
- 根据权利要求1-4任一所述的方法,其中,响应于检测到的对所述第一终端上所展示的所述三维模型执行的所述调整操作,获取对应于所述调整操作的所述操作数据,包括:The method according to any one of claims 1 to 4, wherein, in response to the detected adjustment operation performed on the three-dimensional model displayed on the first terminal, obtaining all data corresponding to the adjustment operation The operating data, including:响应于检测到的对所述第一终端上所展示的所述三维模型执行的所述调整操作,利用所述第一终端中配置的第一页面监听工具监听所述调整操作以获取基于所述第一页面监听工具的所述操作数据。In response to the detection of the adjustment operation performed on the three-dimensional model displayed on the first terminal, the first page monitoring tool configured in the first terminal is used to monitor the adjustment operation to obtain information based on the The operation data of the first page monitoring tool.
- 根据权利要求10所述的方法,其中,通过所述传输通道组将所述操作数据由所述第一终端传输至所述第二终端,使得所述第二终端基于所述操作数据对所述第二终端所展示的所述三维模型的第一姿态同步执行所述调整操作,以使得所述第二终端展示与所述调整操作对应的所述三维模型的第二姿态,包括:10. The method according to claim 10, wherein the operation data is transmitted from the first terminal to the second terminal through the transmission channel group, so that the second terminal performs data on the operation data based on the operation data. Performing the adjustment operation synchronously with the first posture of the three-dimensional model displayed by the second terminal so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation includes:通过所述传输通道组将基于所述第一页面监听工具的操作数据由所述第一终端传输至所述第二终端,使得所述第二终端根据所述操作数据设定所述第二终端中配置的第二页面监听工具的状态,以使得所述第二终端展示与所述调整操作对应的所述三维模型的第二姿态;The operation data based on the first page monitoring tool is transmitted from the first terminal to the second terminal through the transmission channel group, so that the second terminal sets the second terminal according to the operation data The state of the second page monitoring tool configured in, so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation;其中,所述第一页面监听工具和所述第二页面监听工具是相同类型的页面监听工具。Wherein, the first page monitoring tool and the second page monitoring tool are the same type of page monitoring tools.
- 根据权利要求1-4任一所述的方法,其中,基于所述网络图形库绘图协议并调用所述增强现实接口,展示与所述调整操作对应的所述三维模型的第二姿态,包括:The method according to any one of claims 1 to 4, wherein, based on the network graphics library drawing protocol and invoking the augmented reality interface, displaying the second posture of the three-dimensional model corresponding to the adjustment operation comprises:基于所述网络图形库绘图协议对所述三维模型的尺寸、展示角度和展示位置进行与所述调整操作对应的调节,基于所述网络图形库绘图协议并调用所述增强现实接口展示所述三维模型的第二姿态,以使所述三维模型从第一姿态切换为第二姿态。The size, display angle, and display position of the three-dimensional model are adjusted corresponding to the adjustment operation based on the network graphics library drawing protocol, and the augmented reality interface is called based on the network graphics library drawing protocol to display the three-dimensional model. The second posture of the model, so that the three-dimensional model is switched from the first posture to the second posture.
- 根据权利要求1-4任一所述的方法,其中,基于所述网络图形库绘图协议并调用所述增强现实接口,展示与所述调整操作对应的所述三维模型的第二姿态,包括:The method according to any one of claims 1 to 4, wherein, based on the network graphics library drawing protocol and invoking the augmented reality interface, displaying the second posture of the three-dimensional model corresponding to the adjustment operation comprises:调用所述增强现实接口处理所述三维模型的姿态数据以对所述三维模型的尺寸、展示角度和展示位置进行与所述调整操作对应的调节,基于所述网 络图形库绘图协议并调用所述增强现实接口展示所述三维模型的第二姿态,以使所述三维模型从第一姿态切换为第二姿态。Call the augmented reality interface to process the posture data of the three-dimensional model to adjust the size, display angle, and display position of the three-dimensional model corresponding to the adjustment operation, and call the network graphics library drawing protocol based on the The augmented reality interface displays the second posture of the three-dimensional model, so that the three-dimensional model is switched from the first posture to the second posture.
- 根据权利要求1-4任一所述的方法,其中,所述三维模型在第一姿态下的展示姿态参数与所述三维模型在第二姿态下的展示姿态参数不同,The method according to any one of claims 1 to 4, wherein the display posture parameters of the three-dimensional model in the first posture are different from the display posture parameters of the three-dimensional model in the second posture,所述展示姿态参数包括尺寸、展示角度和展示位置中的至少之一。The display posture parameter includes at least one of size, display angle, and display position.
- 根据权利要求14所述的方法,其中,所述三维模型为三维车辆模型,所述展示角度包括所述三维车辆模型的外形观看角度和/或所述三维车辆模型的内部空间观看角度,The method according to claim 14, wherein the three-dimensional model is a three-dimensional vehicle model, and the display angle includes the external view angle of the three-dimensional vehicle model and/or the internal space view angle of the three-dimensional vehicle model,所述第一姿态为所述三维车辆模型在所述展示角度为外形观看角度下的姿态或在所述展示角度为内部空间观看角度下的姿态,所述第二姿态为所述三维车辆模型在所述展示角度为外形观看角度下的姿态或在所述展示角度为内部空间观看角度下的姿态。The first posture is the posture of the three-dimensional vehicle model when the display angle is the external viewing angle or the posture when the display angle is the internal space viewing angle, and the second posture is the posture of the three-dimensional vehicle model The display angle is the posture under the external viewing angle or the posture under the internal space viewing angle.
- 根据权利要求15所述的方法,其中,所述三维车辆模型包含车辆内部空间的形状、车辆轮廓和材质信息。The method according to claim 15, wherein the three-dimensional vehicle model contains information about the shape of the interior space of the vehicle, the outline of the vehicle, and the material.
- 根据权利要求1-4任一所述的方法,其中,所述调整操作是对所述第一终端上所展示的所述三维模型执行的以下操作中的任意一种:点击、拖动、放大和缩小。The method according to any one of claims 1 to 4, wherein the adjustment operation is any one of the following operations performed on the three-dimensional model displayed on the first terminal: click, drag, and zoom And zoom out.
- 一种用于远程展示三维模型的第一终端,包括:A first terminal for remotely displaying a three-dimensional model, including:页面加载单元,配置为基于网络图形库绘图协议,在页面中加载三维模型;The page loading unit is configured to load the 3D model on the page based on the network graphics library drawing protocol;增强现实处理单元,配置为调用增强现实接口展示所述三维模型的第一姿态;An augmented reality processing unit configured to call an augmented reality interface to display the first posture of the three-dimensional model;通信单元,配置为基于实时音视频技术与第二终端建立传输通道组,使得所述第二终端在页面中与所述第一终端同步展示所述三维模型的第一姿态;The communication unit is configured to establish a transmission channel group with the second terminal based on real-time audio and video technology, so that the second terminal displays the first posture of the three-dimensional model synchronously with the first terminal on the page;获取单元,配置为响应于检测到的对所述第一终端上所展示的所述三维模型执行的调整操作,获取对应于所述调整操作的操作数据;An obtaining unit configured to obtain operation data corresponding to the adjustment operation in response to a detected adjustment operation performed on the three-dimensional model displayed on the first terminal;切换单元,配置为基于所述网络图形库绘图协议并调用所述增强现实接口,展示与所述调整操作对应的所述三维模型的第二姿态;A switching unit configured to call the augmented reality interface based on the network graphics library drawing protocol to display the second posture of the three-dimensional model corresponding to the adjustment operation;传输单元,配置为通过所述传输通道组将所述操作数据由所述第一终端传输至所述第二终端,使得所述第二终端基于所述操作数据对所述第二终端所展示的所述三维模型的第一姿态同步执行所述调整操作,以使得所述第二终端展示与所述调整操作对应的所述三维模型的第二姿态。The transmission unit is configured to transmit the operation data from the first terminal to the second terminal through the transmission channel group, so that the second terminal displays the operation data to the second terminal based on the operation data The first posture of the three-dimensional model performs the adjustment operation synchronously, so that the second terminal displays the second posture of the three-dimensional model corresponding to the adjustment operation.
- 一种电子设备,包括:An electronic device including:处理器;processor;存储器,包括一个或多个计算机程序模块;The memory includes one or more computer program modules;其中,所述一个或多个计算机程序模块被存储在所述存储器中并被配置为由所述处理器执行,所述一个或多个计算机程序模块包括用于实现权利要求1-17任一所述的三维模型远程展示方法的指令。Wherein, the one or more computer program modules are stored in the memory and configured to be executed by the processor, and the one or more computer program modules include those used to implement any one of claims 1-17. Instructions for the remote display method of the three-dimensional model described above.
- 一种存储介质,用于存储非暂时性计算机可读指令,当所述非暂时性计算机可读指令由计算机执行时可以实现权利要求1-17任一所述的三维模型远程展示方法。A storage medium for storing non-transitory computer-readable instructions, which can realize the remote display method of a three-dimensional model according to any one of claims 1-17 when the non-transitory computer-readable instructions are executed by a computer.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010279917.5A CN111414225B (en) | 2020-04-10 | 2020-04-10 | Three-dimensional model remote display method, first terminal, electronic device and storage medium |
CN202010279917.5 | 2020-04-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021204296A1 true WO2021204296A1 (en) | 2021-10-14 |
Family
ID=71491792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/086655 WO2021204296A1 (en) | 2020-04-10 | 2021-04-12 | Remote display method for three-dimensional model, first terminal, electronic device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111414225B (en) |
WO (1) | WO2021204296A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114281449A (en) * | 2021-12-07 | 2022-04-05 | 万翼科技有限公司 | Building visual display processing method and related equipment |
WO2023070538A1 (en) * | 2021-10-29 | 2023-05-04 | 京东方科技集团股份有限公司 | Information display method, system, electronic device, and computer-readable storage medium |
CN117707402A (en) * | 2023-06-28 | 2024-03-15 | 荣耀终端有限公司 | Drawing method of column page, electronic equipment and computer readable storage medium |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111414225B (en) * | 2020-04-10 | 2021-08-13 | 北京城市网邻信息技术有限公司 | Three-dimensional model remote display method, first terminal, electronic device and storage medium |
CN112181340B (en) * | 2020-09-29 | 2022-05-31 | 联想(北京)有限公司 | AR image sharing method and electronic device |
CN112558904A (en) * | 2020-12-09 | 2021-03-26 | 深圳前海贾维斯数据咨询有限公司 | Web collaborative office method and system based on three-dimensional building model |
CN112509152A (en) * | 2020-12-17 | 2021-03-16 | 重庆实唯信息技术有限公司 | Car watching method, system, equipment and readable medium based on AR technology |
CN113436559B (en) * | 2021-05-19 | 2023-04-14 | 吉林大学 | Sand table dynamic landscape real-time display system and display method |
CN113946259B (en) * | 2021-09-18 | 2023-04-07 | 北京城市网邻信息技术有限公司 | Vehicle information processing method and device, electronic equipment and readable medium |
CN115237363A (en) * | 2022-07-26 | 2022-10-25 | 京东方科技集团股份有限公司 | Picture display method, device, equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180047216A1 (en) * | 2016-06-30 | 2018-02-15 | Daqri, Llc | Contextual augmented reality devices collaboration |
CN108255291A (en) * | 2017-12-05 | 2018-07-06 | 腾讯科技(深圳)有限公司 | Transmission method, device, storage medium and the electronic device of virtual scene data |
CN108431871A (en) * | 2015-07-17 | 2018-08-21 | 杜瓦娱乐有限公司 | The method that object is shown on threedimensional model |
CN108765536A (en) * | 2018-05-30 | 2018-11-06 | 链家网(北京)科技有限公司 | A kind of synchronization processing method and device of virtual three-dimensional space |
CN109582122A (en) * | 2017-09-29 | 2019-04-05 | 阿里巴巴集团控股有限公司 | Augmented reality information providing method, device and electronic equipment |
CN109949121A (en) * | 2019-01-21 | 2019-06-28 | 广东康云科技有限公司 | A kind of intelligence sees the data processing method and system of vehicle |
CN111414225A (en) * | 2020-04-10 | 2020-07-14 | 北京城市网邻信息技术有限公司 | Three-dimensional model remote display method, first terminal, electronic device and storage medium |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018057987A1 (en) * | 2016-09-23 | 2018-03-29 | Apple Inc. | Augmented reality display |
CN106534069A (en) * | 2016-09-29 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Virtual reality equipment control method and system |
CN106843150A (en) * | 2017-02-28 | 2017-06-13 | 清华大学 | A kind of industry spot simulation method and device |
CN108416832B (en) * | 2018-01-30 | 2024-05-14 | 腾讯科技(深圳)有限公司 | Media information display method, device and storage medium |
CN110148222A (en) * | 2019-05-27 | 2019-08-20 | 重庆爱车天下科技有限公司 | It is a kind of that vehicle method and system are seen based on AR technology |
KR102696262B1 (en) * | 2019-08-30 | 2024-08-21 | 엘지전자 주식회사 | Method for controlling vehicle based on speaker recognition and intelligent vehicle |
CN110908519A (en) * | 2019-12-04 | 2020-03-24 | Oppo广东移动通信有限公司 | Data processing method, electronic device, augmented reality device, and storage medium |
-
2020
- 2020-04-10 CN CN202010279917.5A patent/CN111414225B/en active Active
-
2021
- 2021-04-12 WO PCT/CN2021/086655 patent/WO2021204296A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108431871A (en) * | 2015-07-17 | 2018-08-21 | 杜瓦娱乐有限公司 | The method that object is shown on threedimensional model |
US20180047216A1 (en) * | 2016-06-30 | 2018-02-15 | Daqri, Llc | Contextual augmented reality devices collaboration |
CN109582122A (en) * | 2017-09-29 | 2019-04-05 | 阿里巴巴集团控股有限公司 | Augmented reality information providing method, device and electronic equipment |
CN108255291A (en) * | 2017-12-05 | 2018-07-06 | 腾讯科技(深圳)有限公司 | Transmission method, device, storage medium and the electronic device of virtual scene data |
CN108765536A (en) * | 2018-05-30 | 2018-11-06 | 链家网(北京)科技有限公司 | A kind of synchronization processing method and device of virtual three-dimensional space |
CN109949121A (en) * | 2019-01-21 | 2019-06-28 | 广东康云科技有限公司 | A kind of intelligence sees the data processing method and system of vehicle |
CN111414225A (en) * | 2020-04-10 | 2020-07-14 | 北京城市网邻信息技术有限公司 | Three-dimensional model remote display method, first terminal, electronic device and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023070538A1 (en) * | 2021-10-29 | 2023-05-04 | 京东方科技集团股份有限公司 | Information display method, system, electronic device, and computer-readable storage medium |
CN114281449A (en) * | 2021-12-07 | 2022-04-05 | 万翼科技有限公司 | Building visual display processing method and related equipment |
CN117707402A (en) * | 2023-06-28 | 2024-03-15 | 荣耀终端有限公司 | Drawing method of column page, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111414225B (en) | 2021-08-13 |
CN111414225A (en) | 2020-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021204296A1 (en) | Remote display method for three-dimensional model, first terminal, electronic device and storage medium | |
JP7200063B2 (en) | Detection and display of mixed 2D/3D content | |
US10863168B2 (en) | 3D user interface—360-degree visualization of 2D webpage content | |
WO2018188499A1 (en) | Image processing method and device, video processing method and device, virtual reality device and storage medium | |
US20160217616A1 (en) | Method and System for Providing Virtual Display of a Physical Environment | |
CN109831662B (en) | Real-time picture projection method and device of AR (augmented reality) glasses screen, controller and medium | |
US10049490B2 (en) | Generating virtual shadows for displayable elements | |
US11003305B2 (en) | 3D user interface | |
WO2020140758A1 (en) | Image display method, image processing method, and related devices | |
US10802784B2 (en) | Transmission of data related to an indicator between a user terminal device and a head mounted display and method for controlling the transmission of data | |
CN110891167A (en) | Information interaction method, first terminal and computer readable storage medium | |
KR20200061279A (en) | Electronic apparatus and control method thereof | |
WO2020215789A1 (en) | Virtual paintbrush implementing method and apparatus, and computer readable storage medium | |
US20230405475A1 (en) | Shooting method, apparatus, device and medium based on virtual reality space | |
WO2023246302A1 (en) | Subtitle display method and apparatus, device and medium | |
CN112565883A (en) | Video rendering processing system and computer equipment for virtual reality scene | |
CN111045770A (en) | Method, first terminal, device and readable storage medium for remote exhibition | |
CN110944140A (en) | Remote display method, remote display system, electronic device and storage medium | |
US10623713B2 (en) | 3D user interface—non-native stereoscopic image conversion | |
KR102197504B1 (en) | Constructing augmented reality environment with pre-computed lighting | |
KR20200103278A (en) | System and method for providing virtual reality contents indicated view direction | |
JP7560207B2 (en) | Method, device, electronic device and computer-readable storage medium for displaying an object | |
KR102581146B1 (en) | Display apparatus and control method thereof | |
US20240161390A1 (en) | Method, apparatus, electronic device and storage medium for control based on extended reality | |
US20240020910A1 (en) | Video playing method and apparatus, electronic device, medium, 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: 21785390 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: 21785390 Country of ref document: EP Kind code of ref document: A1 |