A 3D digital twin display method, system, device and readable storage medium
By integrating web development technology and Unreal engine development technology, the visual integration of 3D digital twin display and analysis indicators is achieved, solving the 3D display and analysis integration problems and development complexity problems in the existing technology, and improving system performance and user experience.
Patent Information
- Application Number
- CN202410904342.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-08
AI Technical Summary
Existing technology cannot efficiently seamlessly and visually integrate 3D digital twin display and analysis indicators, and high-quality 3D rendering consumes a large amount of computing resources, affecting system response speed and high development complexity, increasing development costs and project cycle.
By integrating web development technology and Unreal engine development technology, we build a Web page style structure with scalable control buttons, and build WebUI functions in the Unreal engine to realize interactive communication between Web applications and 3D applications, simplifying the development difficulty of indicator data graphs.
It achieves the visual integration of 3D digital twin display and analysis indicators, improves user experience and system performance, simplifies the development process, and reduces development costs and project cycles.
Smart Images

Figure CN118447173B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and more specifically to a 3D digital twin display method, system, device and readable storage medium. Background Art
[0002] In the era of rapid development of computer technology, web development technology and 3D rendering technology have achieved remarkable results. Web development technology provides users with a richer and more dynamic online experience through continuous innovation, while 3D rendering technology provides users with a more realistic and immersive visual experience by improving graphics processing capabilities. However, the integration of these two technologies has always faced many challenges.
[0003] Currently, with the rise of concepts such as smart cities, the demand for 3D digital twin technology is increasing. However, existing technologies cannot efficiently and seamlessly integrate 3D digital twin displays with analytical indicators. This means that even if we can build a realistic 3D model, we cannot effectively combine it with web content such as real-time analytical data and key indicators, making it impossible for users to directly obtain valuable information when viewing 3D scenes.
[0004] At the same time, existing technologies also face difficulties in meeting the requirements of 3D display effects and speed. High-quality 3D rendering often consumes a lot of computing resources, which not only affects the display effect, but may also cause the system to respond slowly or even fail to operate normally. While pursuing high-quality 3D effects, how to ensure the smoothness and stability of the system has become an urgent problem to be solved.
[0005] In addition, during the development process, how to simplify the development difficulty of complex elements such as indicator data charts is also a major challenge currently faced. Traditional development methods often require developers to have deep programming experience and professional knowledge, which not only increases development costs, but may also lead to longer project cycles.
[0006] Therefore, how to achieve the visual integration of 3D digital twin display and analysis indicators, while satisfying the 3D display effect and speed, simplifying the difficulty of developing indicator data graphs, etc. is an urgent problem to be solved. Summary of the invention
[0007] In view of the above problems, the purpose of the present invention is to provide a 3D digital twin display method, system, device and readable storage medium. By integrating web development technology and unreal engine development technology, and through data communication between the client and the web interface, the visual fusion of 3D digital twin display and analysis indicators is realized, while meeting the 3D display effect and rate, the development difficulty of indicator data graphs is simplified.
[0008] To achieve the above object, the present invention is implemented through the following technical solutions: a 3D digital twin display method, comprising:
[0009] Build a set of web page style structures with scalable control buttons to adapt to screens of different resolutions, and configure indicator charts with arrow scalability to display complete applications and full-screen 3D applications;
[0010] Use the Unreal engine to develop 3D applications for integration with Web applications, and build WebUI functions in the Unreal engine;
[0011] Use the npm run build command to package the Web application project to complete the packaging of the Web application, and configure the Nginx service to set the access port and activate the Nginx service to host the packaged Web application;
[0012] Configure loading of web applications in Unreal Engine;
[0013] Establish interactive communication between Web applications and 3D applications developed with Unreal Engine;
[0014] Start the Unreal project to preview it, obtain and display the web application embedded in the Unreal 3D scene.
[0015] Furthermore, the WebUI function is built in the Unreal engine, including:
[0016] In the Unreal Editor of the Unreal Engine, import the WebUI plugin;
[0017] Create a WebUI control blueprint, add the Web Interface class, and adjust the position and size of the Web content display area.
[0018] Further, configuring and loading the Web application in the Unreal engine includes:
[0019] After the Event Pre Construct sequence, add a Load URL action to the WebUI control blueprint, specify the target as the pre-created browser1 object, and set the URL to point to the web application address hosted by Nginx.
[0020] Design the WEBUI_HUD blueprint class, bind it to the UI system of the Unreal engine, trigger the Create Widget operation in the Event BeginPlay event, instantiate the WebUI control blueprint, and display it on the application interface through the Add to ViewPort method.
[0021] Furthermore, the establishment of interactive communication between the Web application and the 3D application developed by the Unreal engine includes:
[0022] Set up an event blueprint in the WEB_HUD class of the Unreal engine and bind the On Interface Event to the browser1 object of the WebUI class;
[0023] By adding OnBroadcast event processing logic and using the Switch on Name method to identify and respond to corresponding communication events based on custom names from Web applications, cross-platform data exchange and function triggering can be achieved.
[0024] Furthermore, the WEBUI_HUD blueprint class is designed, bound to the UI system of the Unreal engine, and the Create Widget operation is triggered in the EventBeginPlay event to instantiate the WebUI control blueprint and display it on the application interface through the Add toViewPort method, including:
[0025] Create a WEBUI_HUD control blueprint class and bind it to the UI class in the Unreal engine global configuration.
[0026] Add the Create Widget event after the Event BeginPlay event of the WEBUI_HUD control blueprint class, and bind the class pin to the WEBUI_HUD control blueprint class;
[0027] By calling the add to ViewPort event, the address mapped by the Web application is displayed on the application interface.
[0028] Furthermore, the retractable control button includes an arrow button for controlling the retraction of the indicator graph.
[0029] Furthermore, the custom name includes: a parameter name and a parameter value.
[0030] Correspondingly, the present invention also discloses a 3D digital twin display system, comprising:
[0031] The style structure building module is used to build a set of web page style structures with retractable control buttons to adapt to screens with different resolutions, and to display complete applications and full-screen 3D applications by configuring indicator graphs with arrow retractable functions;
[0032] Web application function integration module, used to develop 3D applications using the Unreal engine, integrate with Web applications, and build WebUI functions in the Unreal engine;
[0033] Web application packaging module, which is used to package the Web application project using the npm run build command to complete the packaging of the Web application, and to configure the Nginx service to set the access port and activate the Nginx service to host the packaged Web application;
[0034] Web application loading module, used to configure and load web applications in the Unreal engine;
[0035] Communication connection module, used to establish interactive communication between Web applications and 3D applications developed with Unreal engine;
[0036] The preview module is used to preview by launching the Unreal project, and obtain and display the Web application embedded in the Unreal 3D scene.
[0037] Accordingly, the present invention discloses a 3D digital twin display device, comprising:
[0038] A memory, used to store a 3D digital twin display program;
[0039] A processor is used to implement the steps of the 3D digital twin display method as described in any of the above items when executing the 3D digital twin display program.
[0040] Correspondingly, the present invention discloses a readable storage medium, on which a 3D digital twin display program is stored. When the 3D digital twin display program is executed by a processor, the steps of the 3D digital twin display method as described in any one of the above items are implemented.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] 1. The present invention constructs a web page style structure with retractable control buttons and configures an indicator diagram with an arrow retractable function. The method can adapt to screens with different resolutions, ensure that applications and full-screen 3D applications can be fully displayed on different devices, and greatly improve the flexibility and convenience of user experience.
[0043] 2. The present invention develops 3D applications using the Unreal engine and integrates them with Web applications, while establishing interactive communication between the two. This method realizes cross-platform data exchange and function triggering, providing a richer and more efficient means of expression for digital twin display. In particular, by designing the WEBUI_HUD blueprint class and binding it to the UI system of the Unreal engine, this method can ensure that Web applications can be seamlessly embedded in 3D scenes, and identify and respond to communication events through custom names, further enhancing the interactivity and functionality of digital twin display.
[0044] 3. The present invention uses web development technology and unreal engine development technology, combined with the client, to achieve data communication between the client and the web interface, and realizes the visual fusion of 3D digital twin display and analysis indicators. While meeting the 3D display effect and rate, it simplifies the difficulty of developing indicator data graphs, etc.
[0045] It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0047] Figure 1 is a method flow chart of a specific embodiment of the present invention;
[0048] Figure 2 It is a system structure diagram of a specific implementation mode of the present invention.
[0049] In the figure, 1. Style structure building module; 2. Web application function integration module; 3. Web application packaging module; 4. Web application loading module; 5. Communication connection module; 6. Preview module. DETAILED DESCRIPTION
[0050] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0051] See also Figure 1As shown, this embodiment provides a 3D digital twin display method, comprising the following steps:
[0052] S1: Build a set of web page style structures with retractable control buttons to adapt to screens of different resolutions, and configure indicator graphs with arrow retractable functions to display complete applications and full-screen 3D applications.
[0053] Wherein, the retractable control button includes an arrow button for controlling the retraction of the indicator graph.
[0054] In a specific implementation, first, a special web page style structure needs to be built. The page must have retractable control buttons to adapt to screens of different resolutions. Then, a blank area for perspective 3D content must be reserved according to the system blueprint. The indicator graph can be retracted through arrows to display complete applications and full-screen 3D applications.
[0055] S2: Use the Unreal engine to develop 3D applications for integration with Web applications, and build WebUI functions in the Unreal engine.
[0056] In a specific implementation, first, a 3D application is developed in the Unreal engine for integration with the Web application. After the Web application and the Unreal application are built, the WebUI plug-in is imported into the Unreal Editor of the Unreal engine. After the import is successful, a WebUI control blueprint is created in the Unreal engine, a Web Interface class is added to the WebUI control blueprint, and the WebUI display area is adjusted to a preset area and size in the view.
[0057] S3: Use the npm run build command to package the Web application project to complete the packaging of the Web application, set the access port by configuring the Nginx service, and activate the Nginx service to host the packaged Web application.
[0058] In a specific implementation, in a Web development tool, the npm run build command is used to package the Web application project, the packaged content is configured into the nginx service, the port is set, and the service is started.
[0059] S4: Configure loading of web applications in Unreal Engine.
[0060] In a specific implementation, after the WebUI function configuration is completed, first, after the Event Pre Construct event sequence, a Load URL action is added to the WebUI control blueprint, the target is specified as the pre-created browser1 object, and the URL is set to point to the Web application address hosted by Nginx.
[0061] Then, design the WEBUI_HUD blueprint class, bind it to the UI system of the Unreal engine, trigger the Create Widget operation in the EventBeginPlay event, instantiate the WebUI control blueprint, and display it on the application interface through the Add toViewPort method.
[0062] As an example, first add the Load URL event after the Event Pre Construct event, and bind the Target to the created browser1 object; return to the Unreal engine and fill in the URL in the Load URL event. The URL here corresponds to the address and route suffix after the Web application is mapped to nginx.
[0063] Then, create the WEBUI_HUD control blueprint class, bind the WEBUI_HUD class to the UI class configured globally in Unreal, add the Create Widget event after the Event BeginPlay event of WEBUI_HUD, bind the class pin to the WEBUI space blueprint class just created, and then call the add to ViewPort event to display the address mapped by the Web application in the client application.
[0064] S5: Establish interactive communication between Web applications and 3D applications developed with Unreal Engine.
[0065] In a specific implementation, first, an event blueprint is set in the WEB_HUD class of the Unreal engine, and the OnInterface Event is bound to the browser1 object of the WebUI class; then, by adding the OnBroadcast event processing logic, the Switch on Name method is used to identify and respond to corresponding communication events based on the custom name from the Web application, thereby realizing cross-platform data exchange and function triggering. The custom name includes: parameter name and parameter value.
[0066] As an example, first find the index.html file in the web application. <script>< / script> Add the following code:
[0067] 'object' != typeof ue || 'object' != typeof ue.interface
[0068] ? ('object' != typeof ue&&(ue = {}),
[0069] (ue.interface = {}),
[0070] (ue.interface.broadcast = function (e, t) {
[0071] if ('string' == typeof e) {
[0072] var o = [e, ''];
[0073] void 0 !== t&&(o[1] = t);
[0074] var n = encodeURIComponent(JSON.stringify(o));
[0075] 'object' == typeof history&&'function' == typeof history.pushState
[0076] ? (history.pushState({}, '', '#' + n),
[0077] history.pushState({}, '', '#' + encodeURIComponent('[]')))
[0078] : ((document.location.hash = n),
[0079] (document.location.hash = encodeURIComponent('[]')));
[0080] }
[0081] }))
[0082] : (function (e) {
[0083] (ue.interface = {}),
[0084] (ue.interface.broadcast = function (t, o) {
[0085] 'string' == typeof t&&
[0086] (void 0 !== o ? e.broadcast(t, JSON.stringify(o)) : e.broadcast(t,''));
[0087] });
[0088] })(ue.interface),ue5 = ue.interface.broadcast;
[0089] window.ue5 = ue5;
[0090] (() => {
[0091] var htmlRoot = document.getElementById('htmlRoot');
[0092] var theme = window.localStorage.getItem('__APP__DARK__MODE__');
[0093] if (htmlRoot&&theme) {
[0094] htmlRoot.setAttribute('data-theme', theme);
[0095] theme = htmlRoot = null;
[0096] }
[0097] })();
[0098] Then, in the Unreal engine, open the WEBUI_HUD blueprint class, add Bind Event toOn Interface Event in the event blueprint, bind the target to browser1 in the WEBUI class, add the OnBroadcast method to the event pin, add the Switch on Name method to the name pin, accept the communication event of the corresponding method through the custom name mapping in ue5('custom name', { parameter name: parameter value}) defined in the web application, and then write the corresponding calling method.
[0099] S6: Preview the Unreal project by launching it, and obtain and display the web application embedded in the Unreal 3D scene.
[0100] At this point, start the Unreal project preview and you can see that the web application has been embedded in the Unreal application.
[0101] The present invention provides a 3D digital twin display method, which can communicate between Web applications and Unreal applications to achieve seamless integration of cross-platform applications. It utilizes the rich ecology and rapid development capabilities of Web applications, as well as cross-platform adaptation capabilities, and the powerful rendering technology of the Unreal engine for 3D applications to achieve 3D applications with better performance and effects, as well as richer and more scalable UI applications.
[0102] See also Figure 2 As shown, the present invention also discloses a 3D digital twin display system, including: a style structure construction module 1, a Web application function integration module 2, a Web application packaging module 3, a Web application loading module 4, a communication connection module 5 and a preview module 6.
[0103] The style structure building module 1 is used to build a set of web page style structures with retractable control buttons to adapt to screens with different resolutions, and to display complete applications and full-screen 3D applications by configuring an indicator chart with arrow retractable functions.
[0104] The Web application function integration module 2 is used to develop 3D applications using the Unreal engine, to integrate with Web applications, and to build WebUI functions in the Unreal engine.
[0105] The Web application packaging module 3 is used to package the Web application project using the npm run build command to complete the packaging of the Web application, and to set the access port by configuring the Nginx service, and to activate the Nginx service to host the packaged Web application.
[0106] The web application loading module 4 is used to configure and load the web application in the Unreal engine.
[0107] The communication connection module 5 is used to establish interactive communication between the Web application and the 3D application developed by the Unreal engine.
[0108] The preview module 6 is used to preview by starting the Unreal project, and obtain and display the Web application embedded in the Unreal 3D scene.
[0109] The specific implementation of the 3D digital twin display system of this embodiment is basically the same as the specific implementation of the above-mentioned 3D digital twin display method, and will not be repeated here.
[0110] The present invention also discloses a 3D digital twin display device, comprising a processor and a memory; wherein, when the processor executes a 3D digital twin display program stored in the memory, the steps of the 3D digital twin display method as described in any one of the above items are implemented.
[0111] Furthermore, the 3D digital twin display device in this embodiment may also include:
[0112] The input interface is used to obtain the 3D digital twin display program imported from the outside and save the obtained 3D digital twin display program to the memory. It can also be used to obtain various instructions and parameters transmitted by external terminal devices and transmit them to the processor so that the processor can use the above various instructions and parameters to carry out corresponding processing. In this embodiment, the input interface can specifically include but is not limited to a USB interface, a serial interface, a voice input interface, a fingerprint input interface, a hard disk reading interface, etc.
[0113] The output interface is used to output various data generated by the processor to the terminal device connected thereto, so that other terminal devices connected to the output interface can obtain various data generated by the processor. In this embodiment, the output interface may specifically include but is not limited to a USB interface, a serial interface, etc.
[0114] The communication unit is used to establish a remote communication connection between the 3D digital twin display device and the external server so that the 3D digital twin display device can mount the image file to the external server. In this embodiment, the communication unit may specifically include but is not limited to a remote communication unit based on wireless communication technology or wired communication technology.
[0115] The keyboard is used to obtain various parameter data or instructions input by the user by tapping the keycaps in real time.
[0116] The display is used to display relevant information of the 3D digital twin display process in real time.
[0117] The mouse can be used to assist users in inputting data and simplify user operations.
[0118] The present invention also discloses a readable storage medium, wherein the readable storage medium includes a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable hard disk, a CD-ROM, or any other form of storage medium known in the technical field. The readable storage medium stores a 3D digital twin display program, and when the 3D digital twin display program is executed by a processor, the steps of the 3D digital twin display method described in any one of the above items are implemented.
[0119] In summary, the present invention realizes the visual fusion of 3D digital twin display and analysis indicators by integrating web development technology and unreal engine development technology and through data communication between the client and the web interface. While meeting the 3D display effect and rate, it simplifies the development difficulty of indicator data graphs.
[0120] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. As for the method disclosed in the embodiment, since it corresponds to the system disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0121] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0122] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.
[0123] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0124] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit.
[0125] Similarly, each processing unit in each embodiment of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units may be integrated into one functional module.
[0126] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0127] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0128] The above is a detailed introduction to the 3D digital twin display method, system, device and readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims
1. A 3D digital twin display method, characterized in that: include: Build a set of web page style structures with scalable control buttons to adapt to screens of different resolutions, and configure indicator charts with arrow scalability to display complete applications and full-screen 3D applications; Use the Unreal engine to develop 3D applications for integration with Web applications, and build WebUI functions in the Unreal engine; Use the npm run build command to package the Web application project to complete the packaging of the Web application, and configure the Nginx service to set the access port and activate the Nginx service to host the packaged Web application; Configure loading of web applications in Unreal Engine; Establish interactive communication between Web applications and 3D applications developed with Unreal Engine; Preview the Unreal project by launching it, and then obtain and display the web application embedded in the Unreal 3D scene. The WebUI function built in the Unreal engine includes: In the Unreal Editor of the Unreal Engine, import the WebUI plugin; Create a WebUI control blueprint, add the Web Interface class, and adjust the position and size of the Web content display area; The configuration of loading a web application in the Unreal engine includes: After the Event Pre Construct sequence, add a Load URL action to the WebUI control blueprint, specify the target as the pre-created browser1 object, and set the URL to point to the web application address hosted by Nginx. Design the WEBUI_HUD blueprint class, bind it to the UI system of the Unreal engine, trigger the Create Widget operation in the Event BeginPlay event, instantiate the WebUI control blueprint, and display it on the application interface through the Add to ViewPort method; The establishment of interactive communication between the Web application and the 3D application developed by the Unreal engine includes: Set up an event blueprint in the WEB_HUD class of the Unreal engine and bind the On Interface Event to the browser1 object of the WebUI class; By adding OnBroadcast event processing logic and using the Switch on Name method to identify and respond to corresponding communication events based on custom names from Web applications, cross-platform data exchange and function triggering can be achieved.
2. The 3D digital twin display method according to claim 1, characterized in that: The WEBUI_HUD blueprint class is designed, bound to the UI system of the Unreal engine, and the Create Widget operation is triggered in the Event BeginPlay event to instantiate the WebUI control blueprint and display it on the application interface through the Add to ViewPort method, including: Create a WEBUI_HUD control blueprint class and bind it to the UI class in the Unreal engine global configuration. Add the Create Widget event after the Event BeginPlay event of the WEBUI_HUD control blueprint class, and bind the class pin to the WEBUI_HUD control blueprint class; By calling the add to ViewPort event, the address mapped by the Web application is displayed on the application interface.
3. The 3D digital twin display method according to claim 1, characterized in that: The retractable control button includes an arrow button for controlling the retraction of the indicator graph.
4. The 3D digital twin display method according to claim 1, characterized in that: The custom name includes: a parameter name and a parameter value.
5. A 3D digital twin display system, characterized in that: include: The style structure building module is used to build a set of web page style structures with retractable control buttons to adapt to screens with different resolutions, and to display complete applications and full-screen 3D applications by configuring indicator graphs with arrow retractable functions; Web application function integration module, used to develop 3D applications using the Unreal engine, integrate with Web applications, and build WebUI functions in the Unreal engine; Web application packaging module, which is used to package the Web application project using the npm run build command to complete the packaging of the Web application, and to configure the Nginx service to set the access port and activate the Nginx service to host the packaged Web application; Web application loading module, used to configure and load web applications in the Unreal engine; Communication connection module, used to establish interactive communication between Web applications and 3D applications developed with Unreal engine; The preview module is used to preview by launching the Unreal project, obtaining and displaying the Web application embedded in the Unreal 3D scene; The Web application function integration module is specifically used for: In the Unreal Editor of the Unreal Engine, import the WebUI plugin; Create a WebUI control blueprint, add the Web Interface class, and adjust the position and size of the Web content display area; The Web application loading module is specifically used for: After the Event Pre Construct sequence, add a Load URL action to the WebUI control blueprint, specify the target as the pre-created browser1 object, and set the URL to point to the web application address hosted by Nginx. Design the WEBUI_HUD blueprint class, bind it to the UI system of the Unreal engine, trigger the Create Widget operation in the Event BeginPlay event, instantiate the WebUI control blueprint, and display it on the application interface through the Add to ViewPort method; The communication connection module is specifically used for: Set up an event blueprint in the WEB_HUD class of the Unreal engine and bind the On Interface Event to the browser1 object of the WebUI class; By adding OnBroadcast event processing logic and using the Switch on Name method to identify and respond to corresponding communication events based on custom names from Web applications, cross-platform data exchange and function triggering can be achieved.
6. A 3D digital twin display device, characterized in that: include: A memory, used to store a 3D digital twin display program; A processor, used to implement the steps of the 3D digital twin display method as described in any one of claims 1 to 4 when executing the 3D digital twin display program.
7. A readable storage medium, characterized in that: The readable storage medium stores a 3D digital twin display program, and when the 3D digital twin display program is executed by the processor, the steps of the 3D digital twin display method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Digital twinborn visualization method and platform based on unreal and GIS double engines
CN117216857A
Composing web-based interactive 3D scenes using high order visual editor commands
US20170024112A1
