Bulk cargo terminal virtual scene building method and device based on Unity 3D platform
By acquiring and optimizing the three-dimensional grid model of the bulk dock and performing parameterization and modular settings on the Unity3D platform, the problems of low data processing efficiency and insufficient model optimization in the existing technology are solved, and efficient and accurate The virtual scene construction of bulk cargo docks improves overall operational efficiency and visual authenticity.
Patent Information
- Application Number
- CN202411361754.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-02-07
AI Technical Summary
The existing technology has problems such as low data processing efficiency, insufficient model optimization, simple resource management strategies, insufficient model flexibility and craftability in the construction of virtual scenes of bulk docks, and lacks efficient processing flows to be directly applied to the Unity3D platform. .
By obtaining point cloud data of bulk docks, an initial three-dimensional grid model is generated, and the model is optimized using a preset grid optimization algorithm to generate the optimized texture map. Then, the target three-dimensional mesh model is imported into the Unity3D file and parameterized and modularly set to obtain the results of the bulk dock virtual scene construction.
While retaining the structural features and visual recognition of the model, it automatically recognizes and reduces non-critical geometric details, solving the problems of performance bottlenecks and rendering efficiency, improving the universality and flexibility of the model, significantly shortens data processing time, and improving the Overall efficiency.
Smart Images

Figure CN119399357A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital twin of bulk cargo terminal, and in particular to a method and device for building a virtual scene of bulk cargo terminal based on Unity3D platform. Background Art
[0002] With the wave of digital transformation, digital twin technology, as a bridge connecting the physical world and the virtual world, has demonstrated its unique value in all walks of life, especially in the fields of Industry 4.0, smart cities, logistics management, etc. In the port logistics industry, bulk cargo terminals are key nodes in global trade, and their efficient operation and intelligent management are particularly important. The application of digital twin technology for bulk cargo terminals can help managers monitor the operation status of terminals in real time, predict maintenance needs, and optimize operation processes, thereby improving overall operational efficiency and safety.
[0003] On Unity3D, a powerful game engine and real-time 3D development platform, building virtual scenes has become an important means to achieve the above goals. Traditional methods face several major challenges when creating complex large-scale industrial scenes such as bulk cargo terminals: first, how to efficiently and accurately obtain and reconstruct the three-dimensional model of the real environment; second, how to optimize the model to meet the needs of real-time rendering while maintaining visual authenticity and avoid performance bottlenecks caused by overly complex models; third, how to design a flexible model architecture for subsequent adjustment and expansion. Although the existing technology has made certain progress in the construction of virtual scenes for bulk cargo terminals, there are still problems such as low data processing efficiency, insufficient model optimization, simple resource management strategy, insufficient model flexibility and formulability, and the existing technology lacks an efficient processing flow to be directly applied to the Unity3D platform after three-dimensional scanning and real data acquisition, resulting in a long time period from data acquisition to model availability. Therefore, developing a new method that can efficiently and accurately realize the construction of virtual scenes for bulk cargo terminals on the Unity3D platform has become the key to promoting technological progress in this field. Summary of the invention
[0004] In view of this, it is necessary to provide a method and device for building a virtual scene of a bulk cargo terminal based on the Unity3D platform, so as to solve the technical problems in the prior art that the three-dimensional model data processing efficiency of the bulk cargo terminal is low and the model architecture is difficult to support subsequent expansion and adjustment.
[0005] In order to solve the above problems, the present invention provides a method for building a virtual scene of a bulk cargo terminal based on the Unity3D platform, comprising: Acquire point cloud data of each physical structure of the bulk cargo terminal, and generate an initial three-dimensional mesh model based on the point cloud data; Using a preset mesh optimization algorithm, the number of facets of the initial three-dimensional mesh model is optimized and an optimized texture mapping is generated to obtain a target three-dimensional mesh model; The target 3D mesh model is imported into the Unity3D file. According to the model parameters, the distance between models and the center point of the model, the target 3D mesh model is parameterized and modularized to obtain the result of building a virtual scene of the bulk terminal.
[0006] In a possible implementation, acquiring point cloud data of each physical structure of the bulk cargo terminal and generating an initial three-dimensional mesh model according to the point cloud data includes: Preprocessing the acquired initial point cloud data to obtain point cloud data; Based on the point cloud data, an initial three-dimensional point cloud model is produced using Autodesk ReCap software; Based on the initial three-dimensional point cloud model, an initial three-dimensional mesh model is generated using reverse engineering software.
[0007] In a possible implementation, the generating of the initial three-dimensional mesh model by using reverse engineering software includes: The initial three-dimensional mesh model was generated using 3DS Max software.
[0008] In a possible implementation, the method of using a preset mesh optimization algorithm to optimize the number of facets of the initial three-dimensional mesh model and generate an optimized texture mapping to obtain a target three-dimensional mesh model includes: The initial 3D mesh model was imported into Autodesk Meshmixer software, and a predictive intelligent algorithm was used to identify the geometric information in the initial 3D mesh model, and the preset non-critical information was eliminated to obtain the target 3D mesh model.
[0009] In a possible implementation, the method of using a predictive intelligent algorithm to identify geometric information in an initial three-dimensional mesh model and removing preset non-critical information to obtain a target three-dimensional mesh model includes: Using Autodesk Meshmixer software, the holes and isolated points in the initial three-dimensional mesh model are detected and repaired to obtain a coherent three-dimensional mesh model; Using a preset edge detection algorithm to extract edges of a coherent three-dimensional mesh model, and using a preset scale-invariant feature transformation algorithm to extract feature points of the coherent three-dimensional mesh model; Determine the curvature and area of each triangular face in the three-dimensional mesh model according to the edges and feature points of the three-dimensional mesh model; Comparing the size relationship between each triangular face and the curvature and a preset curvature threshold, and comparing the size relationship between the area of each triangular face and a preset area, to determine the geometric complexity of the three-dimensional mesh model; Based on the geometric complexity, a preset simplification algorithm is used to reduce the number of facets of the three-dimensional mesh model to obtain a target three-dimensional mesh model.
[0010] In a possible implementation, the target three-dimensional mesh model is imported into a Unity3D file, and parameterization and modularization are performed on the target three-dimensional mesh model according to the parameters of the model, the distance between the models, and the center point of the model to obtain the result of building a virtual scene of a bulk cargo terminal, including: Add script components based on the Unity3D file, write C# programs based on the script components to define the parameters, position and center point of the model, and generate the model prefab.
[0011] In a possible implementation, after parameterizing and modularizing the target three-dimensional mesh model, the method further includes: Based on GPS data and on-site mapping data, the model is accurately placed in the Unity3D scene.
[0012] In a second aspect, the present invention further provides a device for building a virtual scene of a bulk cargo terminal based on the Unity3D platform, comprising: An initial modeling module, used to obtain point cloud data of each physical structure of the bulk cargo terminal and generate an initial three-dimensional mesh model based on the point cloud data; A target modeling module is used to optimize the number of facets of the initial three-dimensional mesh model and generate optimized texture mapping using a preset mesh optimization algorithm to obtain a target three-dimensional mesh model; The scene building module is used to import the target 3D mesh model into the Unity3D file, and parameterize and modularize the target 3D mesh model according to the model parameters, the distance between models and the center point of the model to obtain the virtual scene building result of the bulk terminal.
[0013] In a third aspect, the present invention further provides an electronic device, comprising: a processor and a memory; The memory stores a computer-readable program executable by the processor; When the processor executes the computer-readable program, the steps in the method for building a virtual scene of a bulk cargo terminal based on the Unity3D platform as described above are implemented.
[0014] In a fourth aspect, the present invention further provides a computer-readable storage medium storing one or more programs, which can be executed by one or more processors to implement the steps in the method for building a virtual scene of a bulk terminal based on the Unity3D platform as described above.
[0015] The beneficial effects of the present invention are as follows: first, the point cloud data of each entity structure of the bulk cargo terminal is obtained, and an initial three-dimensional mesh model is generated according to the point cloud data; then, a preset mesh optimization algorithm is used to optimize the number of facets of the initial three-dimensional mesh model and generate an optimized texture mapping to obtain a target three-dimensional mesh model; while retaining the structural features and visual recognition of the bulk cargo terminal model, non-critical geometric details are automatically identified and reduced, solving the problem that the previous equipment model optimization method often sacrifices too many visual details in exchange for performance, or retains details and affects rendering efficiency. Finally, the target three-dimensional mesh model is imported into the Unity3D file, and the target three-dimensional mesh model is parameterized and modularized according to the parameters of the model, the distance between the models, and the center point of the model, to obtain the result of building a virtual scene of the bulk cargo terminal. The parameterization of the model enhances the versatility and flexibility of the model, and can provide great convenience for later scene building and debugging, and meet the various needs of the debugging personnel. Therefore, the present invention significantly improves the efficiency when building a virtual scene of a bulk cargo terminal, directly optimizes the equipment model according to the requirements of the virtual scene of the bulk cargo terminal, significantly shortens the data processing time, and improves the overall efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A flow chart of a method for building a virtual scene of a bulk cargo terminal based on the Unity3D platform according to an embodiment of the present invention; Figure 2 It is a schematic diagram of an embodiment of a device for building a virtual scene of a bulk cargo terminal based on the Unity3D platform provided by the present invention; Figure 3 It is a schematic diagram of the operating environment of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0017] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0018] A specific embodiment of the present invention discloses a method for building a virtual scene of a bulk cargo terminal based on the Unity3D platform. Figure 1 ,include: S101, acquiring point cloud data of each physical structure of the bulk cargo terminal, and generating an initial three-dimensional mesh model according to the point cloud data; S102, using a preset mesh optimization algorithm to optimize the number of facets of the initial three-dimensional mesh model and generate optimized texture mapping to obtain a target three-dimensional mesh model; S103, importing the target three-dimensional mesh model into the Unity3D file, parameterizing and modularizing the target three-dimensional mesh model according to the parameters of the model, the distance between the models, and the center point of the model, to obtain a result of building a virtual scene of a bulk cargo terminal.
[0019] In this embodiment, the point cloud data of each entity structure of the bulk cargo terminal is first obtained, and an initial three-dimensional mesh model is generated according to the point cloud data; then, a preset mesh optimization algorithm is used to optimize the number of facets of the initial three-dimensional mesh model and generate an optimized texture mapping to obtain a target three-dimensional mesh model; while retaining the structural features and visual recognition of the bulk cargo terminal model, non-critical geometric details are automatically identified and reduced, solving the problem that the previous equipment model optimization method often sacrifices too many visual details in exchange for performance, or retains details and affects rendering efficiency. Finally, the target three-dimensional mesh model is imported into the Unity3D file, and the target three-dimensional mesh model is parameterized and modularized according to the parameters of the model, the distance between the models, and the center point of the model, and the result of building a virtual scene of the bulk cargo terminal is obtained. The parameterization of the model enhances the versatility and flexibility of the model, and can provide great convenience for later scene building and debugging, and meet the various needs of the debugging personnel. Therefore, the efficiency of the present invention is significantly improved when building a virtual scene of a bulk cargo terminal, and the equipment model is directly optimized according to the requirements of the virtual scene of the bulk cargo terminal, which significantly shortens the data processing time and improves the overall efficiency.
[0020] It should be noted that in step S101, the specific steps of using 3D scanning technology and real-world data to obtain the equipment model required for the virtual scene of the bulk cargo terminal are: select appropriate 3D scanning equipment (such as laser scanners, structured light scanners or photogrammetry-based systems), and perform detailed scanning operations in different areas of the bulk cargo terminal to ensure that all key bulk cargo equipment is covered. The collected data is processed through professional software (such as Autodesk ReCap) to remove noise, splice point cloud data, and generate a high-precision 3D point cloud model. Based on the point cloud data, reverse engineering software (such as 3DSMax) is used to generate an accurate initial 3D mesh model.
[0021] In some embodiments, the method of using a preset mesh optimization algorithm to optimize the number of facets of the initial three-dimensional mesh model and generate an optimized texture mapping to obtain a target three-dimensional mesh model includes: The initial 3D mesh model was imported into Autodesk Meshmixer software, and a predictive intelligent algorithm was used to identify the geometric information in the initial 3D mesh model, and the preset non-critical information was eliminated to obtain the target 3D mesh model.
[0022] In this embodiment, the specific steps of using the intelligent mesh optimization algorithm to automatically identify and reduce non-critical geometric details while retaining the structural features and visual recognition of the model are as follows: import the high-precision mesh model generated by 3D scanning into Autodesk Meshmixer, use the "Inspector" tool in Meshmixer, and then click "Auto RepairAll" to detect and repair holes and isolated points in the mesh; use the "Select" tool in Meshmixer to manually select edges, use the Canny edge detection algorithm for edge detection, and use the SIFT algorithm to extract the feature points of the model. Use Meshmixer's analysis tool to calculate the curvature and area of each triangle patch, evaluate the geometric complexity of each part of the model, and automatically identify and mark non-critical geometric details based on the preset curvature threshold and area threshold. In Meshmixer, select the "Select" tool, then click "Modify"->"Reduce", select the simplification algorithm (such as "Quadric EdgeCollapse Decimation") in the pop-up dialog box, set the target number of faces in the "Reduce" dialog box of Meshmixer, for example, set "Target Percentage" to 50%, and then simplify the model by gradually reducing the number of faces of the model through multiple iterations, and regenerate the optimized texture map on the simplified model. Finally, export the optimized device model to the required file format (such as FBX format).
[0023] In some embodiments, the target three-dimensional mesh model is imported into a Unity3D file, and parameterization and modularization are performed on the target three-dimensional mesh model according to the parameters of the model, the distance between the models, and the center point of the model to obtain the result of building a virtual scene of a bulk cargo terminal, including: Add script components based on the Unity3D file, write C# programs based on the script components to define the parameters, position and center point of the model, and generate the model prefab.
[0024] In this embodiment, the simplified bulk cargo equipment model is imported into the Unity3D file, and a script component is added to the Unity software. A C# program is written in the script. The program should include the definition of the model and the definition of model parameters (length, width, height, distance, etc.), the position between different models, the setting of the model center point, the destruction of the original model after the model parameters are changed, etc. Then, an empty object is created, the completed script is dragged onto the empty object, and the empty object with the parametric generation script mounted on it is made into a prefabricated body. Then, various parameters of the model can be set in the Inspector window of the empty object, and when the model parameters are changed, the previously created model will be destroyed to prevent waste of resources caused by too many models, thereby completing the parametric transformation of the bulk cargo equipment model, so that the equipment model parameters can be adjusted arbitrarily to meet the needs of different scenarios.
[0025] In some embodiments, after parameterizing and modularizing the target three-dimensional mesh model, the method further includes: Based on GPS data and on-site mapping data, the model is accurately placed in the Unity3D scene.
[0026] In this embodiment, high-precision GPS equipment is used to measure key locations of the bulk cargo terminal (such as cranes, warehouses, dock fronts, etc.), and the longitude, latitude and altitude of these locations are recorded. The collected GPS data is exported to CSV or Excel file format, ensuring that all necessary location information is contained in the file. Write a C# script in Unity to read the contents of the CSV or Excel file. Create an empty game object in Unity as a reference point, convert the read GPS data into world coordinates and set the position of the object. Based on the GPS data and the location of the survey drawing and reference point objects, the elements such as roads, buildings, and yards are then accurately arranged in the Unity scene.
[0027] Furthermore, the virtual scene of the bulk cargo terminal is divided into several logical areas, each of which contains different geometric details and model levels. The area division can be based on the physical layout of the terminal, such as the crane area, warehouse area, yard area, etc., to determine the loading conditions of each area (user viewing range, distance threshold, interaction requirements, etc.). Write a script in Unity3D, detect the user's current viewing range through the frustum of the Camera component, use Raycasting or Bounds to detect the user's current position and line of sight, and load high-detail models through Asset Bundles or Addressables when the user enters a specific area or viewing range. When the user moves away from or leaves a specific area, unload the high-detail model and switch to a low-detail model. By loading and unloading models in real time, the number of resources loaded at one time is reduced, the use of memory and video memory is optimized, and rendering performance is improved.
[0028] Furthermore, the virtual model is compared and adjusted with the real bulk terminal structure to ensure that the model’s position and orientation are completely consistent with the actual scene. The structural details of the model are checked and optimized to ensure that all key components and connection points are accurate. According to the visual characteristics of the actual scene, the texture, color and lighting of the model are carefully adjusted to ensure that the visual effect of the model is consistent with the real scene.
[0029] Therefore, the present invention optimizes the equipment model directly according to the requirements of the bulk cargo terminal virtual scene by integrating three-dimensional scanning technology and intelligent optimization algorithm, and solves the problem of cumbersome and time-consuming processing of the bulk cargo terminal equipment model. In the past, the equipment model optimization method often sacrificed too many visual details in exchange for performance, or retained details and affected the rendering efficiency. The present invention adopts an intelligent grid optimization algorithm to automatically identify and reduce non-critical geometric details while retaining the structural characteristics and visual recognition of the bulk cargo terminal model, effectively solving this contradiction, ensuring visual authenticity and improving rendering performance. In the construction of the virtual scene of the bulk cargo terminal, the precise placement of the model and the consistency of the real environment are difficult points. The present invention uses GPS data and on-site surveying and mapping data to ensure that the position of the model in the virtual scene of the bulk cargo terminal is accurate, and perfectly matches the layout of the real bulk cargo terminal, thereby improving the authenticity and practicality of the simulation. In addition, the present invention combines dynamic loading technology to divide the virtual scene of the bulk cargo terminal into multiple areas, and by detecting the user's perspective and position, the area and model that need to be loaded are judged in real time. When the user approaches or enters a specific area, the high-detail model is loaded; when the user is away from or leaves the specific area, the high-detail model is unloaded and switched to a low-detail model. In this way, the contradiction between retaining details and improving rendering performance in previous model optimization methods is effectively solved, while the efficiency of model processing and the realism of virtual scenes are greatly improved.
[0030] Based on the above-mentioned method for constructing a virtual scene of a bulk cargo terminal based on the Unity3D platform, an embodiment of the present invention further provides a device for constructing a virtual scene of a bulk cargo terminal based on the Unity3D platform, please refer to Figure 2 ,include: An initial modeling module 210 is used to obtain point cloud data of each physical structure of the bulk cargo terminal and generate an initial three-dimensional mesh model based on the point cloud data; The target modeling module 220 is used to optimize the number of facets of the initial three-dimensional mesh model and generate optimized texture mapping by using a preset mesh optimization algorithm to obtain a target three-dimensional mesh model; The scene building module 230 is used to import the target three-dimensional mesh model into the Unity3D file, and parameterize and modularize the target three-dimensional mesh model according to the parameters of the model, the distance between the models and the center point of the model to obtain the virtual scene building result of the bulk terminal.
[0031] like Figure 3 As shown, based on the above-mentioned method for building a virtual scene of a bulk cargo terminal based on the Unity3D platform, the present invention also provides an electronic device, which can be a computing electronic device such as a mobile terminal, a desktop computer, a notebook, a palm computer, and a server. The electronic device includes a processor 310, a memory 320, and a display 330. Figure 3 Only some components of the electronic device are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0032] In some embodiments, the memory 320 may be an internal storage unit of the electronic device, such as a hard disk or memory of the electronic device. In other embodiments, the memory 320 may also be an external storage electronic device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 320 may also include both an internal storage unit of the electronic device and an external storage electronic device. The memory 320 is used to store application software and various types of data installed in the electronic device, such as program codes for installing the electronic device. The memory 320 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a bulk cargo terminal virtual scene construction program 340 based on the Unity3D platform is stored on the memory 320, and the bulk cargo terminal virtual scene construction program 340 based on the Unity3D platform can be executed by the processor 310, thereby realizing the bulk cargo terminal virtual scene construction method based on the Unity3D platform of each embodiment of the present application.
[0033] In some embodiments, the processor 310 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 320, such as executing a method for building a virtual scene of a bulk cargo terminal based on the Unity3D platform.
[0034] In some embodiments, the display 330 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 330 is used to display information of the electronic device constructed in the virtual scene of the bulk cargo terminal based on the Unity3D platform and to display a visual user interface. The components 310-330 of the electronic device communicate with each other through a system bus.
[0035] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0036] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A method for constructing a virtual scene of a bulk cargo terminal based on the Unity3D platform, characterized in that: include: Acquire point cloud data of each physical structure of the bulk cargo terminal, and generate an initial three-dimensional mesh model based on the point cloud data; Using a preset mesh optimization algorithm, the number of facets of the initial three-dimensional mesh model is optimized and an optimized texture mapping is generated to obtain a target three-dimensional mesh model; The target 3D mesh model is imported into the Unity3D file. According to the model parameters, the distance between models and the center point of the model, the target 3D mesh model is parameterized and modularized to obtain the result of building a virtual scene of the bulk terminal.
2. The method for constructing a virtual scene of a bulk cargo terminal based on the Unity3D platform according to claim 1, characterized in that: The step of obtaining point cloud data of each entity structure of the bulk cargo terminal and generating an initial three-dimensional mesh model according to the point cloud data includes: Preprocessing the acquired initial point cloud data to obtain point cloud data; Based on the point cloud data, an initial three-dimensional point cloud model is produced using Autodesk ReCap software; Based on the initial three-dimensional point cloud model, an initial three-dimensional mesh model is generated using reverse engineering software.
3. The method for constructing a virtual scene of a bulk cargo terminal based on the Unity3D platform according to claim 2, characterized in that: The method of using reverse engineering software to generate an initial three-dimensional mesh model includes: The initial three-dimensional mesh model was generated using 3DS Max software.
4. The method for constructing a virtual scene of a bulk cargo terminal based on the Unity3D platform according to claim 1, characterized in that: The method uses a preset mesh optimization algorithm to optimize the number of facets of the initial three-dimensional mesh model and generate optimized texture mapping to obtain a target three-dimensional mesh model, including: The initial 3D mesh model was imported into Autodesk Meshmixer software, and a predictive intelligent algorithm was used to identify the geometric information in the initial 3D mesh model, and the preset non-critical information was eliminated to obtain the target 3D mesh model.
5. The method for constructing a virtual scene of a bulk cargo terminal based on the Unity3D platform according to claim 4, characterized in that: The method of using a predictive intelligent algorithm to identify geometric information in an initial three-dimensional mesh model and removing preset non-critical information to obtain a target three-dimensional mesh model includes: Using Autodesk Meshmixer software, the holes and isolated points in the initial three-dimensional mesh model are detected and repaired to obtain a coherent three-dimensional mesh model; Using a preset edge detection algorithm to extract edges of a coherent three-dimensional mesh model, and using a preset scale-invariant feature transformation algorithm to extract feature points of the coherent three-dimensional mesh model; Determine the curvature and area of each triangular face in the three-dimensional mesh model according to the edges and feature points of the three-dimensional mesh model; Comparing the size relationship between each triangular face and the curvature and a preset curvature threshold, and comparing the size relationship between the area of each triangular face and a preset area, to determine the geometric complexity of the three-dimensional mesh model; Based on the geometric complexity, a preset simplification algorithm is used to reduce the number of facets of the three-dimensional mesh model to obtain a target three-dimensional mesh model.
6. The method for constructing a virtual scene of a bulk cargo terminal based on the Unity3D platform according to claim 1, characterized in that: The target three-dimensional mesh model is imported into the Unity3D file, and the target three-dimensional mesh model is parameterized and modularized according to the parameters of the model, the distance between the models, and the center point of the model to obtain the result of building the virtual scene of the bulk cargo terminal, including: Add script components based on the Unity3D file, write C# programs based on the script components to define the parameters, position and center point of the model, and generate the model prefab.
7. The method for constructing a virtual scene of a bulk cargo terminal based on the Unity3D platform according to claim 6, characterized in that: After parameterizing and modularizing the target three-dimensional mesh model, the method further includes: Based on GPS data and on-site mapping data, the model is accurately placed in the Unity3D scene.
8. A device for building a virtual scene of a bulk cargo terminal based on the Unity3D platform, characterized in that: include: An initial modeling module, used to obtain point cloud data of each physical structure of the bulk cargo terminal and generate an initial three-dimensional mesh model based on the point cloud data; A target modeling module is used to optimize the number of facets of the initial three-dimensional mesh model and generate optimized texture mapping using a preset mesh optimization algorithm to obtain a target three-dimensional mesh model; The scene building module is used to import the target 3D mesh model into the Unity3D file, and parameterize and modularize the target 3D mesh model according to the model parameters, the distance between models and the center point of the model to obtain the virtual scene building result of the bulk terminal.
9. An electronic device, characterized in that: include: Processor and memory; The memory stores a computer-readable program executable by the processor; When the processor executes the computer-readable program, the steps in the method for building a virtual scene of a bulk cargo terminal based on the Unity3D platform are implemented as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the method for building a virtual scene of a bulk terminal based on the Unity3D platform as described in any one of claims 1 to 7.