Holographic transparent body twin dam construction method and device
By splitting and classifying the dam building information model and calculating transparency based on hierarchical and spatial position weights, a holographic transparent body twin dam is built, which solves the problem of invisibility of internal structure in the traditional model and realizes holographic visualization of both apparent and internal structures.
Patent Information
- Application Number
- CN202510477501.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2025-08-12
AI Technical Summary
The traditional digital twin dam model cannot achieve holographic visual effects of the apparent and internal structures, and the internal structure is incompletely displayed.
By obtaining the dam building information model, performing disassembly and fineness hierarchy classification, calculating transparency based on hierarchy and spatial position weights, a holographic transparent twin dam is built to display the internal structure.
The holographic visualization of the appearance and internal structure of the dam is realized, highlighting the display of important internal structures, solving the problem of the internal structure being obscured in traditional technology, and enhancing the visualization effect of the model.
Smart Images

Figure CN120472085A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital twin water conservancy projects, and in particular to a method and device for constructing a holographic transparent twin dam. Background Art
[0002] Digital twin water conservancy projects are a new type of infrastructure that uses physical water conservancy projects as units, spatiotemporal data as a foundation, mathematical models as its core, and water conservancy knowledge as its driving force. They digitally map, intelligently simulate, and preview all elements of physical water conservancy projects and the entire construction and operation process, enabling synchronized simulation operation, virtual-reality interaction, and iterative optimization with physical water conservancy projects. The digital twin water conservancy project data base contains multi-scale, multi-dimensional, heterogeneous, and multi-source information, presenting holographic information characteristics encompassing the entire spatial domain, multiple spatiotemporal scales, and all elements. Traditional digital twin dam modeling technology primarily focuses on 3D geometry and appearance (texture) modeling, failing to display internal structure. Consequently, the resulting dam visualization models lack holographic visualization of both the surface and internal structure. Summary of the Invention
[0003] The present invention provides a method and device for constructing a holographic transparent twin dam, which aims to overcome the drawback of existing dam visualization models that lack holographic visual effects of the surface and internal structure, and achieve holographic display of the surface and internal structure. The technical solutions proposed by the present invention are as follows: In a first aspect, the present invention provides a method for constructing a holographic transparent twin dam, comprising: Acquire a dam building information model, and split the dam building information model into multiple three-dimensional building information model components; Classifying the plurality of three-dimensional building information model components according to the internal structure of the dam and the importance of the parts, and obtaining a hierarchical weight coefficient of each three-dimensional building information model component; Obtaining a spatial position weight coefficient of each 3D building information model component, and determining a component transparency of the 3D building information model component according to the hierarchical weight coefficient and the spatial position weight coefficient; Dividing the dam building information model into polyhedral solid dam models of various scales, and calculating the polyhedral unit transparency of each polyhedral unit in the polyhedral solid dam model; The three-dimensional physical data value of each polyhedral unit is obtained, and a holographic transparent twin dam is constructed based on the three-dimensional physical data value of each polyhedral unit, the transparency of the polyhedral unit and the component transparency of each three-dimensional building information model component.
[0004] Optionally, the method further includes: The material properties and development fineness level of each 3D building information model component are obtained, and different colors are set for 3D building information model components of different levels according to the development fineness level and the material properties.
[0005] Optionally, the component transparency of the 3D building information model component is determined by the following formula: in, 3D Building Information Modeling Components The transparency of the components, 3D Building Information Modeling Components The level weight coefficient, 3D Building Information Modeling Components The spatial position weight coefficient.
[0006] Optionally, dividing the dam building information model into polyhedron-divided solid dam models of various scales includes: Based on the dam building information model, according to the structural shape of the dam project, tetrahedral grids and hexahedral grids of different sizes are adaptively selected to perform spatial three-dimensional grid division, and the dam building information model is divided into multiple tetrahedral units or hexahedral units to obtain polyhedral division solid dam models of various scales.
[0007] Optionally, the calculating of the polyhedral unit transparency of each polyhedral unit in the polyhedral decomposition solid dam model includes: Polyhedral cell transparency is calculated for each polyhedral cell according to a raycasting volume rendering algorithm.
[0008] Optionally, the constructing of the holographic transparent twin dam based on the three-dimensional physical data value of each polyhedral unit, the transparency of the polyhedral unit and the component transparency of each three-dimensional building information model component includes: updating the dam building information model based on the transparency of each component to obtain an updated dam building information model; The three-dimensional physical data values of each polyhedron unit are assigned as physical attributes to the polyhedron units at corresponding spatial positions in the updated dam building information model, and each semi-transparent polyhedron unit is drawn based on the transparency of the polyhedron units to obtain a holographic transparent twin dam.
[0009] In a second aspect, the present invention further provides a holographic transparent twin dam construction device, comprising the following modules: A component splitting module is used to obtain a dam building information model and split the dam building information model to obtain multiple three-dimensional building information model components; a level classification module, configured to classify the plurality of three-dimensional building information model components according to the internal structure of the dam and the importance of the parts, and obtain a level weight coefficient of each three-dimensional building information model component; a first calculation module, configured to obtain a spatial position weight coefficient of each 3D building information model component, and determine a component transparency of the 3D building information model component according to the hierarchical weight coefficient and the spatial position weight coefficient; A second calculation module is used to divide the dam building information model into polyhedral subdivision solid dam models of various scales, and calculate the polyhedral unit transparency of each polyhedral unit in the polyhedral subdivision solid dam model; The dam construction module is used to obtain the three-dimensional physical data value of each polyhedral unit, and construct a holographic transparent twin dam based on the three-dimensional physical data value of each polyhedral unit, the transparency of the polyhedral unit and the component transparency of each three-dimensional building information model component.
[0010] In a third aspect, the present invention also provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the processor executes the computer program, the method for constructing a holographic transparent twin dam as described in the first aspect above is implemented.
[0011] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for constructing a holographic transparent twin dam as described in the first aspect above.
[0012] In a fifth aspect, the present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements the method for constructing a holographic transparent twin dam as described in the first aspect above.
[0013] Based on the above technical solution, the present invention has the following beneficial effects compared with the prior art: The holographic transparent twin dam construction method and apparatus provided by this invention obtains a dam building information model (BIM) and finely decomposes it to generate multiple 3D BIM components. This allows the modeling of the dam's internal structures (such as the dam interior, spillways, and gates). These components are then classified according to the degree of detail and importance of the dam's internal structure. This step not only considers the component's geometric appearance but also implicitly considers the internal structure, as assessments of importance and functional criticality often involve internal structures. The transparency of each component is determined by a comprehensive calculation of hierarchical weights and spatial position weights, indirectly revealing its internal structure. Transparency is based not only on the hierarchical weight coefficients but also on the spatial relationships between components. This allows for visualizing the surface while also hinting at internal structure through differences in transparency. This ensures that important internal structures (such as the dam foundation and key support areas) are prominently displayed in the visualization, avoiding the problem of complete obscuration of internal structures in traditional techniques. By decomposing the dam BIM and performing fine-grained classification, combined with transparency calculation, the transparency of internal structures can be dynamically adjusted based on their importance and spatial position, enabling visualization of the internal structure. The dam building information model is divided into polyhedrons of various scales, and the transparency of each polyhedron unit is calculated, further refining the visualization of the dam, allowing the internal structure to be displayed to a certain extent at both the macro and micro levels. The dam model is divided into polyhedron units and rendered according to the transparency and physical properties of each unit. This subdivision technology allows the model to simultaneously display both the surface and internal structure, achieving a holographic visual effect. The holographic transparent twin dam not only displays the dam's appearance, but also dynamically presents the internal structure, achieving a holographic visual effect of both the surface and internal structure, solving the problem of traditional technology that cannot display the internal structure.
[0014] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or understood by practicing the present invention. The purposes and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0015] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 It is a flow chart of the method for constructing a holographic transparent twin dam provided by the present invention.
[0018] Figure 2a 、 Figure 2b This is a schematic diagram of the automated splitting provided by the present invention.
[0019] Figure 3 This is a schematic diagram of highlighting a selected object provided by the present invention.
[0020] Figure 4 It is a schematic diagram of the macroscopic, mesoscopic and microscopic dissection entity model provided by the present invention.
[0021] Figure 5 This is a schematic diagram of the holographic transparent twin dam provided by the present invention. Figure 1 .
[0022] Figure 6 This is the second schematic diagram of the holographic transparent twin dam provided by the present invention.
[0023] Figure 7 It is a structural schematic diagram of the holographic transparent twin dam construction device provided by the present invention.
[0024] Figure 8 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0025] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0026] The following combination Figure 1-Figure 7 The present invention describes the method and device for constructing a holographic transparent twin dam.
[0027] In terms of 3D structural visualization of dams, traditional digital twin hydraulic modeling technology is mainly based on 3D geometry and appearance (texture) modeling, and the internal structure cannot be displayed. The dam visualization model constructed on this basis does not have a holographic visual effect of the appearance and internal structure. In view of the incomplete display of the internal structure of the existing twin dam model, the Building Information Modeling (BIM) is split, graded, and transparency is set to achieve a holographic display of the appearance and internal structure. Figure 1 As shown, the method for constructing the holographic transparent twin dam includes the following steps: S110: Acquire a dam building information model, and split the dam building information model into multiple three-dimensional building information model components.
[0028] Collect detailed building information of the dam, including the structural design, material properties, construction records, etc. Through professional building information modeling software or database, the overall building information model of the dam can be obtained. The model contains information such as the geometry, structure and materials of the dam. Subsequently, the dam building information model is split into multiple reference Figure 2a and Figure 2b The 3D building information model components shown represent the different structural parts of the dam, such as the dam body, spillway, and gates. By splitting the components, each part of the dam can be analyzed and processed independently, facilitating subsequent fine-grained classification and transparency calculations.
[0029] When splitting the dam building information model (BIM), it is necessary to combine the structural characteristics, functional zoning and modeling requirements of the dam to ensure that each component can independently carry geometric, material and physical property information.
[0030] When splitting a dam BIM model, the following principles are primarily followed: The model is split based on the dam's physical structure, such as the dam body, spillway, gates, drainage system, and dam foundation. The model is split based on the dam's function, such as the retaining element, spillway, and power generation element. The model is split based on the material properties of each dam component, such as concrete, steel, and earth and rock. The model is then split into appropriate components based on subsequent Level of Detail (LOD) and transparency calculation requirements.
[0031] The decomposition process involves loading the dam's BIM model into modeling software (such as Revit or AutoCAD Civil 3D). The overall dam structure is analyzed, and the main components are determined: the dam body, spillway, gates, drainage system, and dam foundation. The dam body includes the retaining and supporting components, the spillway includes the spillway gates and chutes, the gates include the main gates and inspection gates, the drainage system includes drainage pipes and wells, and the dam foundation includes the foundation and ground treatment components. Further subdivision of the dam's components is performed based on its function. For example, the retaining component includes the dam's main retaining structure, the spillway includes the spillway and related facilities, and the power generation component includes the generator sets and related facilities.
[0032] Use the splitting tools in your BIM software to geometrically split the model. Divide the dam model into independent 3D geometric components based on structural and functional zoning. For example, split the dam body into retaining and supporting sections. Split the spillway into floodgates and spillways. Split the gates into main gates and inspection gates. Save each component as a separate 3D model file (e.g., IFC or DWG format) and assign it a unique identifier (ID).
[0033] Associate material property information with each component. For example, associate concrete material properties with the dam retaining structure, and steel material properties with the gate structure. Associate physical property information with each component. For example, associate stress and strain data with the dam retaining structure, and associate water velocity and pressure data with the spillway structure. Verify the integrity of the split components, ensuring the geometry, materials, and property information are correct. Optimize the split components, such as simplifying geometric details and merging small components, to improve subsequent processing efficiency.
[0034] By splitting the dam BIM model into multiple independent components, the model facilitates subsequent classification of detail levels, transparency calculation, and physical property integration. Each component independently carries geometric, material, and physical property information, facilitating personalized processing for each component. The split components can be displayed hierarchically based on LOD level and importance to meet the needs of different stages. The split components can also be stored and managed separately, facilitating model updates and maintenance.
[0035] S120. Classify the plurality of 3D building information model components according to the internal structure of the dam and the importance of the parts, and obtain a hierarchical weight coefficient of each 3D building information model component.
[0036] The disassembled 3D building information model components are classified according to their level of detail based on the importance of the dam's internal structure (such as the stability of the dam body and the functionality of the spillway). The level of detail of each component is proportional to its importance, with higher levels of detail assigned to higher levels. Based on this level of detail, each component is assigned a hierarchical weight coefficient, which reflects its importance within the overall dam structure. This level of detail classification and weight coefficient assignment ensures that important components receive more detailed processing in subsequent transparency calculations and holographic models, improving the accuracy and practicality of the model.
[0037] The Level of Development (LOD) classification and level weight coefficient determination of multiple 3D Building Information Model (BIM) components can be performed as follows: S1201. Obtain the multiple 3D BIM component sets Parts after the dam BIM model is split, the structural importance score StructureImportanceScore of each BIM component, the functional criticality score FunctionCriticalityScore of each BIM component, and the preset number of LOD levels NumLODLevels. The structural importance score StructureImportanceScore and the functional criticality score of each BIM component can be evaluated by experts or derived based on historical data.
[0038] S1202: Create an empty dictionary LODLevels to store the LOD level of each BIM component and an empty dictionary LayerWeights to store the layer weight coefficient of each BIM component.
[0039] S1203. For each BIM component part in Parts, calculate its comprehensive importance score ComprehensiveScore. This score can be a weighted sum of the structural importance score and the functional criticality score, or based on other custom logical combinations. For example: ComprehensiveScore = w1 × StructureImportanceScore + w2 × FunctionCriticalityScore, where w1 and w2 are preset weight coefficients.
[0040] S1204. Sort the BIM components according to their comprehensive importance scores. Based on the sorting results and a preset number of LOD levels (NumLODLevels), the BIM components are assigned to different LOD levels. For example, the levels can be divided using equal intervals or based on a distribution function (e.g., normal distribution).
[0041] S1205. For each LOD level, assign a layer weight coefficient based on the range or average of the comprehensive importance scores of the BIM components it contains. For example, a linear or nonlinear mapping function can be used to map the comprehensive importance scores to a weight coefficient range. The LOD level of each BIM component and the corresponding layer weight coefficient (LayerWeights) are stored in the LODLevels and LayerWeights dictionaries. The LOD level (LODLevels) and layer weight coefficient (LayerWeights) of each BIM component are output.
[0042] The above parameters such as weight coefficients w1 and w2, the preset number of LOD levels NumLODLevels, and the mapping function can be adjusted and optimized according to actual conditions.
[0043] S130: Acquire a spatial position weight coefficient of each 3D building information model component, and determine the component transparency of the 3D building information model component according to the level weight coefficient and the spatial position weight coefficient.
[0044] Obtain the spatial position weight coefficient for each 3D building information model component. The spatial position weight coefficient reflects the importance of the component's position in the overall dam structure (e.g., the part closer to the dam foundation is generally more important). The spatial position weight coefficient is determined based on factors such as the component's position in the dam and its correlation with other components. Calculate the transparency of each component by combining the hierarchical weight coefficient and the spatial position weight coefficient. The level of transparency depends on the component's level of refinement and the importance of its spatial position. By comprehensively considering the refinement and spatial position of the component, the transparency of each part can be dynamically adjusted, allowing the holographic model to highlight key areas during display, making it easier to observe and analyze.
[0045] By comprehensively considering factors such as the geometric position, functional importance, and interrelationships of 3D building information model components, a spatial position weight coefficient is assigned to each component. This coefficient reflects the relative importance and positional relationship of the component within the entire model. The spatial position weight coefficient of each 3D building information model (BIM) component can be calculated as follows: Collect geometric information (such as coordinates, dimensions, etc.) and functional information (such as component type, purpose, etc.) of all 3D building information model components. Create a spatial relationship diagram between components, and record relationships such as adjacency and connection.
[0046] Based on the geometric position of each component, the distance of each component relative to the center of the model or its relative position relative to other critical components is calculated. These distances or relative positions are converted into weight values, with components closer to the center or located on the critical path having higher weights.
[0047] Components are evaluated based on their functional importance, such as structural support components and key equipment components, which are generally of higher importance. Each component is assigned a functional importance score and converted into a weighted value.
[0048] Analyze the interdependencies between components, such as dependencies between connected components, supporting components, etc. Assign an interdependency weight to each component based on the strength and type of the dependency (e.g. direct connection, indirect influence, etc.).
[0049] The geometric position weight, functional importance weight, and interrelationship weight are weighted and summed to obtain the comprehensive weight coefficient of each component. The weight coefficient can be adjusted according to actual conditions to reflect the importance of different factors in the weight calculation.
[0050] S140: Divide the dam building information model into polyhedron-divided solid dam models of various scales, and calculate the polyhedron unit transparency of each polyhedron unit in the polyhedron-divided solid dam model.
[0051] The dam building information model is divided into polyhedral solid dam models of various scales. The divided model consists of multiple polyhedral units, each representing a small section of the dam. The transparency of each polyhedral unit is calculated based on its spatial position and the transparency of its components. Polyhedral division allows the dam model to be refined into smaller units, facilitating the transparent processing of local details. The transparency calculation of polyhedral units enables the holographic model to display transparent effects in different areas, enhancing the visualization effect.
[0052] S150: Acquire the three-dimensional physical data value of each polyhedral unit, and construct a holographic transparent twin dam based on the three-dimensional physical data value of each polyhedral unit, the transparency of the polyhedral unit, and the component transparency of each three-dimensional building information model component.
[0053] Three-dimensional physical data values (such as stress, strain, and temperature) are obtained for each polyhedral element. Based on these physical data values, the transparency of the polyhedral elements, and the transparency of their components, a holographic transparent twin dam is constructed. The holographic model not only displays the dam's geometric structure but also dynamically reflects its physical state. By combining three-dimensional physical data values with transparency, the holographic transparent twin dam can intuitively display the dam's structure and physical state, facilitating real-time monitoring and analysis by engineers and managers. The transparency of the holographic model makes the internal structure and the status of key components clear at a glance, improving the efficiency and safety of dam management.
[0054] Traditional digital twin dams focus primarily on 3D geometry and exterior modeling, lacking a clear view of the internal structure. This results in a lack of holographic visualization of both the exterior and interior structures. The method for constructing a holographic transparent twin dam, provided by this invention, obtains a dam building information model (BIM) and meticulously decomposes it into multiple 3D BIM components. This allows the modeling of the dam's internal structures (such as the dam interior, spillways, and gates). These components are then classified using a Level of Development (LOD) classification based on the dam's internal structure and the importance of their locations. This step not only considers the component's geometric appearance but also implicitly considers the internal structure, as assessments of importance and functional criticality often involve internal structures. The transparency of each component is determined by a comprehensive calculation of hierarchical weights and spatial position weights, indirectly revealing its internal structure. Transparency is determined not only by the hierarchical weight coefficients but also by the spatial relationships between components. This allows for visualizing the exterior while also hinting at the internal structure through differences in transparency. This ensures that important internal structures (such as the dam foundation and key support areas) are prominently displayed in the visualization, avoiding the problem of complete obscuration of internal structures in traditional techniques. By splitting the dam's building information model (BIM) and classifying it according to the level of refinement, combined with transparency calculations, the transparency of the internal structure can be dynamically adjusted according to its importance and spatial position, thereby achieving visualization of the internal structure. The dam's building information model is divided into polyhedrons of various scales, and the transparency of the polyhedron units of each polyhedron unit is calculated, further refining the visualization of the dam, so that the internal structure can be displayed to a certain extent at both the macro and micro levels. The dam model is divided into polyhedron units and rendered according to the transparency and physical properties of each unit. This segmentation technology enables the model to simultaneously display the appearance and internal structure, achieving a holographic visual effect. The holographic transparent twin dam not only displays the appearance of the dam, but also dynamically presents the internal structure, achieving a holographic visual effect of the appearance and internal structure, solving the shortcoming that traditional technology cannot display the internal structure.
[0055] When it comes to 3D data visualization, traditional digital twin water conservancy systems primarily rely on 2D images and slice displays, failing to directly display complete 3D physical property data, limiting their visualization capabilities. In constructing a holographic transparent twin dam, this invention incorporates not only geometric information but also 3D physical data values (such as stress, strain, and temperature). This data is directly linked to the transparency and color mapping of the polyhedral unit, enabling dynamic visualization of physical properties. Using polyhedral segmentation technology, the dam model is divided into units at multiple scales, each capable of independently carrying and displaying its own physical property data. This multi-scale segmentation enables a complete 3D display of physical data, rather than the traditional 2D slice format. Transparency is not only used to visualize the structure but can also be dynamically adjusted based on physical property values. For example, areas with high stress can be set to semi-transparent or highlighted, making it easier to visually identify key problem areas. The holographic transparent twin dam directly displays complete 3D physical property data, achieving a holographic visualization of physical properties, overcoming the limitations of traditional technologies that rely on 2D images and slice displays.
[0056] In an optional embodiment, the method further includes: The material properties and development fineness level of each 3D building information model component are obtained, and different colors are set for 3D building information model components of different levels according to the development fineness level and the material properties.
[0057] First, material properties are obtained and the level of detail is developed. Material properties for each 3D BIM component, such as concrete, steel, and soil and rock, are extracted from the dam's Building Information Model (BIM). These material properties include both physical properties (such as density and strength) and appearance characteristics (such as color and texture). The BIM model of the dam structure is classified into different LOD levels based on the importance of the dam's internal structure and locations. LOD levels range from low to high (e.g., LOD 100 to LOD 500), with higher levels indicating greater model detail and information content. For example, LOD 100 represents the conceptual design phase, where the model contains only basic geometry. LOD 200 represents the preliminary design phase, where the model contains rough geometry and major components. LOD 300 represents the detailed design phase, where the model contains precise geometry and detailed components. LOD 400 represents the construction phase, where the model includes construction details and material properties. LOD 500 represents the operation and maintenance phase, where the model contains complete physical properties and operation and maintenance data. Based on the LOD levels, different colors can be set for 3D BIM model components at different levels according to their material properties. For example, concrete components can be set to gray, steel components can be set to silver or blue, and soil and stone components can be set to brown or yellow.
[0058] Color settings allow you to intuitively distinguish the material properties of different dam components, making it easier to quickly identify the dam's structural composition and visualize material properties. Setting colors based on LOD levels dynamically adjusts the model's display resolution, achieving a graded display. Color differentiation allows you to highlight important components (such as the dam body and spillway), allowing engineers and managers to focus on key areas.
[0059] Next, LOD classification is performed based on the internal structure and component importance of the dam. Priority is assigned to each component within the LOD hierarchy based on the importance of the dam's internal structure and components. For example, high-importance components, such as the dam body, dam foundation, and spillway, are crucial to overall structural safety and should be assigned a higher LOD level (e.g., LOD 400 or LOD 500). Medium-importance components, such as gates and drainage systems, are critical to functional operation and can be assigned a medium LOD level (e.g., LOD 300). Low-importance components, such as decorative structures or auxiliary facilities, have less impact on overall safety and functionality and can be assigned a lower LOD level (e.g., LOD 200). LOD grading and color mapping enable a hierarchical display of the dam model. Users can select model views of varying levels of detail, such as viewing a low LOD model during the preliminary design phase and a high LOD model during the operation and maintenance phase. Color grading allows for intuitive identification of key components and critical areas within the dam, enabling engineers and managers to quickly locate and analyze issues. Color settings not only display material properties, but also reflect the structural importance of the part, associating materials with structures, making the model visualization more rich and useful.
[0060] Finally, based on the LOD levels and material properties, set different colors for 3D BIM model components at different levels. For example, high-importance components (such as dams) can be set to dark gray (concrete) or dark blue (steel). Medium-importance components (such as gates) can be set to light gray or light blue. Low-importance components (such as decorative structures) can be set to green or yellow.
[0061] The holographic transparent twin dam construction method provided by the present invention can intuitively distinguish the material properties of different components of the dam through color settings, facilitate rapid identification of structural composition, and realize visualization of material properties. The fineness of the model display is dynamically adjusted according to the LOD level to meet the needs of different stages. Important components and key areas are highlighted through color differentiation, which is convenient for focus and analysis. A hierarchical display of the dam model is achieved, supporting users to select views of different fineness as needed, thereby improving the interactivity and practicality of the model. The present invention not only realizes the holographic visualization of the dam structure, but also significantly improves the readability and practicality of the model through LOD grading and color mapping, providing strong technical support for the design, construction, and operation and maintenance of the dam.
[0062] In an optional embodiment, different levels of transparency are set for components of the 3D building information model according to their hierarchical and spatial positions. More important components have higher hierarchical weights and lower transparency; components further in the interior have higher spatial weights and lower transparency. Ultimately, a holographic display of the material and structural information of all components is achieved. The transparency of components in the 3D building information model can be determined by the following formula: in, 3D Building Information Modeling Components The transparency of the components, 3D Building Information Modeling Components The level weight coefficient, 3D Building Information Modeling Components The spatial position weight coefficient.
[0063] After determining the transparency of each component, the calculated transparency value is mapped to the material properties of the 3D building information model component. Transparency is then applied to the model through a rendering engine (such as Unity or Unreal Engine) to achieve a holographic visualization effect.
[0064] The present invention sets transparency by integrating hierarchy and spatial position. The more important the component, the higher the hierarchy weight coefficient. The higher the transparency of the part The lower the value, the more important components will be highlighted in the visualization. The higher the transparency of the part The lower the transparency, the clearer the internal structure is in the visualization. Through transparency mapping, the material properties of the components (such as concrete, steel) and structural information (such as internal support, external appearance) can be displayed at the same time. By dynamically adjusting the transparency, the internal structure and external appearance of the dam can be clearly displayed, achieving a holographic visualization effect. The transparency of the components can be dynamically adjusted according to user needs to facilitate focusing on specific areas. Users can view the transparency and detailed information of different components through interactive operations (such as clicking and zooming), thereby improving the practicality of the model. For the selected components, refer to Figure 3 As shown, after selecting and clicking, the component is highlighted, the transparency of the component becomes 1, and the transparency of the surrounding components is reduced to 0.2.
[0065] In an optional embodiment, in order to convert the dam building information model (BIM) into a polyhedron-decomposed solid model, the present invention performs multi-scale decomposition of the dam entity. The above-mentioned step S140 of decomposing the dam building information model into polyhedron-decomposed solid dam models of multiple scales includes: S1401. Based on the dam building information model, according to the structural shape of the dam project, tetrahedral meshes and hexahedral meshes of different sizes are adaptively selected to perform spatial three-dimensional mesh division, and the dam building information model is divided into multiple tetrahedral units or hexahedral units to obtain polyhedral division solid dam models of various scales.
[0066] Load the BIM model of the dam into meshing software (such as ANSYS, COMSOL, Abaqus, etc.). Clean and optimize the BIM model, removing unnecessary details (such as bolts and welds) to ensure that the model is suitable for meshing. Based on the structural shape of the dam project, adaptively select tetrahedral and hexahedral meshes of different sizes for spatial three-dimensional meshing. Tetrahedral meshes are suitable for complex geometric shapes and can better fit curved surfaces and details. Hexahedral meshes are suitable for regular geometric shapes and have high computational efficiency. Set the meshing parameters to form a polyhedral mesh of the solid dam model with three levels of accuracy: large scale (100,000 mesh elements), medium scale (1 million mesh elements), and small scale (10 million mesh elements). This meets the requirements for macro, meso, and microscopic display of the dam structure and physical properties, and matches the simulation calculation results at different scales.
[0067] Based on the set meshing parameters, the dam BIM model is divided into multiple tetrahedral or hexahedral elements. For example, the dam body is meshed with a hexahedral grid, while the spillway is meshed with a tetrahedral grid. Through large-scale meshing, hundreds of thousands of mesh elements are generated, forming a large-scale polyhedral mesh solid dam model. Through medium-scale meshing, millions of mesh elements are generated, forming a medium-scale polyhedral mesh solid dam model. Through small-scale meshing, tens of millions of mesh elements are generated, forming a small-scale polyhedral mesh solid dam model. Check the quality of the mesh after meshing to ensure that the shape and size of the mesh elements meet the requirements. Optimize mesh elements of poor quality, such as adjusting the mesh size or re-meshing.
[0068] The multi-scale segmentation of the present invention can meet different display requirements. Figure 4 As shown, from left to right, the macro, meso, and micro meshed solid models are shown. Large-scale meshing is suitable for macroscopic display and simulation calculations, and can quickly visualize the dam's overall structure and physical properties. Mesoscale meshing is suitable for mesoscopic display and simulation calculations, and can visualize the dam's local details and physical properties. Small-scale meshing is suitable for microscopic display and simulation calculations, and can visualize the dam's fine details and physical properties. Based on the large-scale meshing model, simulation calculations of the dam's overall structure are performed, suitable for preliminary design and macroscopic analysis. Based on the mesoscale meshing model, simulation calculations of the dam's local structure are performed, suitable for detailed design and mesoscopic analysis. Based on the small-scale meshing model, simulation calculations of the dam's fine structure are performed, suitable for microscopic analysis and optimized design. Furthermore, the present invention improves computational efficiency through adaptive meshing. Tetrahedral meshes are suitable for complex geometric shapes, can better fit curved surfaces and details, and improve computational accuracy. Hexahedral meshes are suitable for regular geometric shapes, have high computational efficiency, and are suitable for large-scale simulation calculations. Through multi-scale meshing models, the dam's macro, meso, and micro structures can be dynamically displayed, achieving a holographic visualization effect. Users can select different scales of meshing models for display and analysis as needed, enhancing the model's interactivity and practicality. By adaptively selecting tetrahedral and hexahedral meshes of varying sizes for spatial 3D meshing, a 3D physical simulation model foundation for the dam is constructed, enabling the integration of multidisciplinary and multi-category 3D numerical simulation results, such as stress and strain prediction, temperature characterization, and velocity calculation.
[0069] In an optional embodiment, in the polyhedral solid dam model, in order to display the information of each polyhedral unit inside the dam, it is necessary to set each polyhedral unit to a semi-transparent state. The calculation of the polyhedral unit transparency of each polyhedral unit in the polyhedral solid dam model described in step S140 includes: The transparency of each polyhedral unit is calculated according to the Ray Casting Volume Rendering algorithm, and holographic visualization of the internal structure of the dam is achieved.
[0070] A transparency attribute and a color attribute C are defined for each polyhedral element. The color value is mapped based on the material properties (e.g., concrete, steel) and physical properties (e.g., stress, strain) of the polyhedral element. Multiple rays are emitted from the viewpoint (camera position) through the polyhedral-divided solid dam model in three-dimensional space. The intersection points of each ray with the polyhedral element are calculated to determine the sequence of polyhedral elements that the ray passes through. For each ray, the polyhedral elements it passes through are traversed from front to back, and the cumulative color and transparency of the ray are calculated based on the color attribute C and transparency attribute T of the polyhedral elements.
[0071] Initial color C final = (0, 0, 0), black.
[0072] Initial transparency T final = 1, fully opaque).
[0073] For each polyhedral cell, update the accumulated color and transparency of the light: C final = C final + (1-T final ) × T × C T final = T final × (1-T) When the cumulative transparency of light T final When the value is lower than the preset threshold (such as 0.01), the calculation stops. final Assign values to corresponding pixels and combine the colors of all pixels into the final rendered image.
[0074] The present invention uses a ray-casting volume rendering algorithm to set each polyhedral unit to a semi-transparent state, capable of simultaneously displaying the dam's external appearance and internal structure. The polyhedral unit information (such as stress and strain) inside the dam can be clearly displayed in the rendered image through color mapping and transparency adjustment. The transparency is dynamically adjusted based on the hierarchical weight coefficient and spatial position weight coefficient of the polyhedral unit, making important components and internal structures more prominent. Users can dynamically view the transparency and detailed information of different areas through interactive operations (such as adjusting the viewing angle and zooming). The ray-casting volume rendering algorithm can efficiently process large-scale polyhedral models and is suitable for large-scale, mesoscale, and small-scale polyhedral solid dam models. Through color mapping and transparency adjustment, the physical properties of the polyhedral units (such as stress and strain) can be intuitively displayed, matching the simulation calculation results at different scales. It supports multi-scale display at the macro, meso, and micro levels, meeting the needs of holographic visualization of the dam's structure and physical properties.
[0075] Component transparency refers to the overall transparency of each 3D component in the dam's Building Information Model (BIM). It controls the transparency of that component in visualizations. It is used to visualize the dam's overall structure at a macro level, highlighting key components (such as the dam body and spillway) and internal structures. Polyhedral unit transparency refers to the transparency of each polyhedral unit in the polyhedral-decomposed solid dam model. It controls the transparency of that unit in visualizations. It is used to display local details and physical properties (such as stress and strain) of the dam at a micro level, achieving refined holographic visualization.
[0076] Component transparency enables a holographic display of the dam's overall structure, highlighting key components and internal structures for a macroscopic presentation. Polyhedral unit transparency enables a holographic display of the dam's local details and physical properties, highlighting key problem areas for a microscopic presentation. Component transparency and polyhedral unit transparency can be dynamically adjusted based on user needs, facilitating the focus on specific areas. Users can interactively view different levels of transparency and detailed information through operations such as adjusting the viewing angle and zooming, enhancing the practicality of the model. The combination of component transparency and polyhedral unit transparency enables holographic visualization of the dam's structure and physical properties, significantly improving the model's visualization.
[0077] In an optional embodiment, in order to improve the geometric accuracy of the model, the present invention upgrades the initial dam BIM model based on triangular face drawing to a solid dam model based on polyhedron drawing. In view of the fact that the existing digital twin dam cannot directly display three-dimensional data, the present invention uses three-dimensional data volume drawing technology to achieve holographic display of three-dimensional data, and then constructs a holographic transparent twin dam with holographic display of appearance and internal structure and holographic visualization of the three-dimensional physical data inside the dam. Specifically, by combining the three-dimensional physical data value with the transparency of the polyhedron unit, each semi-transparent polyhedron unit is superimposed and drawn based on the ray casting volume drawing algorithm, and finally a holographic display of the dam structure and physical properties is achieved. The construction of a holographic transparent twin dam based on the three-dimensional physical data value of each polyhedron unit, the transparency of the polyhedron unit and the component transparency of each three-dimensional building information model component described in the above S150 includes: S1501. Update the dam building information model based on the transparency of each component to obtain an updated dam building information model.
[0078] The dam Building Information Model (BIM) was updated based on the transparency of each 3D BIM component. For example, the water retaining portion of the dam body had a lower transparency (e.g., 20%), while the drainage system had a higher transparency (e.g., 80%). The initial BIM model, drawn based on triangular faces, was upgraded to a solid dam model based on polyhedrons. For example, the dam body was converted to a hexahedral mesh, while the spillway was converted to a tetrahedral mesh.
[0079] S1502. Assign the three-dimensional physical data value of each polyhedron unit as a physical attribute to the polyhedron unit at the corresponding spatial position in the updated dam building information model, and draw each semi-transparent polyhedron unit based on the transparency of the polyhedron unit to obtain a holographic transparent twin dam.
[0080] The three-dimensional physical data values (such as stress, strain, and temperature) of each polyhedron unit are used as physical properties and assigned to the polyhedron units at the corresponding spatial positions in the updated dam building information model. The colors of the polyhedron units are set according to the physical property values. For example, areas with higher stress are set to red, areas with lower stress are set to green, areas with higher temperature are set to orange, and areas with lower temperature are set to blue. In order to display the information of each polyhedron unit inside the dam, each semi-transparent polyhedron unit is superimposed and drawn according to the transparency and color properties of the polyhedron units obtained in S140 above. For example, for each ray of light, the polyhedron units it passes through are traversed from front to back in sequence, and the cumulative color and transparency of the light are calculated. The final color of each ray of light is assigned to the corresponding pixel to generate a rendered image. By superimposed drawing, a holographic display of the physical property information of all polyhedron units is achieved, for example, the external appearance and internal structure of the dam are displayed at the same time. Physical properties (such as stress and strain) are clearly displayed in the rendered image through color mapping and transparency adjustment. Reference Figure 5 The generated holographic transparent twin dam is shown in Figure 2. The holographic transparent twin dam enables holographic display of the physical property information of all polyhedral units, significantly improving the model's visualization and practicality.
[0081] The present invention uses color mapping to intuitively display the physical properties (such as stress, strain, and temperature) of polyhedral units. Three-dimensional physical data values are combined with polyhedral units to achieve a holographic display of physical properties, matching simulation calculation results of different scales. By adjusting transparency, the external appearance and internal structure of the dam are displayed simultaneously to achieve a holographic visualization effect. According to the hierarchical weight and spatial position weight of the polyhedral units, the transparency is dynamically adjusted to make important components and internal structures more prominent. Users can dynamically view the transparency and physical property information of different areas through interactive operations (such as adjusting the viewing angle and zooming). The above-mentioned ray casting volume rendering algorithm can efficiently process large-scale polyhedral subdivision models and is suitable for large-scale, medium-scale, and small-scale polyhedral subdivision solid dam models.
[0082] Reference Figure 6 As shown, users can select a component in the dam model through interactive operations (such as clicking and selecting a box). For example, select the water retaining part of the dam body or the spillway part. The visualization and interactive system of the holographic transparent twin dam automatically crops the three-dimensional data field (such as stress field, strain field, temperature field, etc.) according to the component selected by the user, and intercepts the data field corresponding to the component. The intercepted data field is displayed independently, highlighting the physical property information of the component (such as stress distribution and temperature distribution). The specific process is as follows: The user selects a component in the dam model by clicking the mouse or selecting it. Based on the user's selection, the system identifies the corresponding component and its spatial extent. The system then loads the dam's three-dimensional data fields (such as stress, strain, and temperature fields). Based on the spatial extent of the selected component, the system crops the three-dimensional data fields, capturing the data fields corresponding to that component. For example, if the user selects the retaining wall of the dam, the system will crop the stress and strain fields corresponding to that part. If the user selects the spillway, the system will crop the temperature and velocity fields corresponding to that part.
[0083] Map the cropped data field to the geometry of the selected component. For example, map the stress field to a color gradient and display it on the geometry of the dam retaining section. Map the temperature field to a color gradient and display it on the geometry of the spillway section. Display the selected component and its corresponding data field independently in the visualization interface, highlighting the component's physical properties.
[0084] This invention precisely displays the physical property information of a selected component by cropping the three-dimensional data field, avoiding interference from other components. Color mapping intuitively displays the distribution of the selected component's physical properties (such as stress, strain, and temperature). Users can flexibly view the physical property information of different components by selecting them. The system dynamically crops and displays the data field based on user selections, enhancing the interactive experience. The selected component and its data field are displayed independently, highlighting key information and facilitating user analysis and decision-making. Through data field mapping and independent display, holographic visualization of the dam's structure and physical properties is achieved.
[0085] The holographic transparent twin dam construction device provided by the present invention is described below. The holographic transparent twin dam construction device described below and the holographic transparent twin dam construction method described above can be referenced to each other.
[0086] The holographic transparent twin dam construction device provided by the present invention is referred to Figure 7 Shown, including: A component splitting module 210 is used to obtain a dam building information model and split the dam building information model into multiple three-dimensional building information model components; A level classification module 220 is configured to classify the plurality of 3D building information model components according to the internal structure of the dam and the importance of the parts, and obtain a level weight coefficient of each 3D building information model component; A first calculation module 230 is configured to obtain a spatial position weight coefficient of each 3D building information model component, and determine the component transparency of the 3D building information model component according to the hierarchical weight coefficient and the spatial position weight coefficient; A second calculation module 240 is configured to divide the dam building information model into polyhedral solid dam models of various scales, and calculate the polyhedral unit transparency of each polyhedral unit in the polyhedral solid dam model; The dam construction module 250 is used to obtain the three-dimensional physical data value of each polyhedral unit, and construct a holographic transparent twin dam based on the three-dimensional physical data value of each polyhedral unit, the transparency of the polyhedral unit and the component transparency of each three-dimensional building information model component.
[0087] Figure 8 An example of a physical structure diagram of an electronic device is shown below. Figure 8 As shown, the electronic device may include: a processor 310, a communications interface 320, a memory 330, and a communication bus 340. The processor 310, the communications interface 320, and the memory 330 communicate with each other via the communication bus 340. The processor 310 may call logic instructions in the memory 330 to execute the holographic transparent twin dam construction method.
[0088] Furthermore, the logic instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product, stored in a storage medium, includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0089] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the holographic transparent twin dam construction method provided by the above methods.
[0090] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the holographic transparent twin dam construction method provided by the above methods.
[0091] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0092] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.
[0093] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for constructing a holographic transparent twin dam, characterized in that: include: Acquire a dam building information model, and split the dam building information model into multiple three-dimensional building information model components; Classifying the plurality of three-dimensional building information model components according to the internal structure of the dam and the importance of the parts, and obtaining a hierarchical weight coefficient of each three-dimensional building information model component; Obtaining a spatial position weight coefficient of each 3D building information model component, and determining a component transparency of the 3D building information model component according to the hierarchical weight coefficient and the spatial position weight coefficient; Dividing the dam building information model into polyhedral solid dam models of various scales, and calculating the polyhedral unit transparency of each polyhedral unit in the polyhedral solid dam model; The three-dimensional physical data value of each polyhedral unit is obtained, and a holographic transparent twin dam is constructed based on the three-dimensional physical data value of each polyhedral unit, the transparency of the polyhedral unit and the component transparency of each three-dimensional building information model component.
2. The method for constructing a holographic transparent twin dam according to claim 1, characterized in that: The method further comprises: The material properties and development fineness level of each 3D building information model component are obtained, and different colors are set for 3D building information model components of different levels according to the development fineness level and the material properties.
3. The method for constructing a holographic transparent twin dam according to claim 1, characterized in that: The transparency of a 3D building information model component is determined by the following formula: in, 3D Building Information Modeling Components The transparency of the components, 3D Building Information Modeling Components The level weight coefficient, 3D Building Information Modeling Components The spatial position weight coefficient.
4. The method for constructing a holographic transparent twin dam according to claim 1, characterized in that: The method of dividing the dam building information model into polyhedron-divided solid dam models of various scales includes: Based on the dam building information model, according to the structural shape of the dam project, tetrahedral grids and hexahedral grids of different sizes are adaptively selected to perform spatial three-dimensional grid division, and the dam building information model is divided into multiple tetrahedral units or hexahedral units to obtain polyhedral division solid dam models of various scales.
5. The method for constructing a holographic transparent twin dam according to claim 1, characterized in that: The calculating of the polyhedral unit transparency of each polyhedral unit in the polyhedral subdivision solid dam model comprises: Polyhedral cell transparency is calculated for each polyhedral cell according to a raycasting volume rendering algorithm.
6. The method for constructing a holographic transparent twin dam according to claim 1, characterized in that: The method of constructing a holographic transparent twin dam based on the three-dimensional physical data value of each polyhedral unit, the transparency of the polyhedral unit, and the component transparency of each three-dimensional building information model component includes: updating the dam building information model based on the transparency of each component to obtain an updated dam building information model; The three-dimensional physical data values of each polyhedron unit are assigned as physical attributes to the polyhedron units at corresponding spatial positions in the updated dam building information model, and each semi-transparent polyhedron unit is drawn based on the transparency of the polyhedron units to obtain a holographic transparent twin dam.
7. A holographic transparent twin dam construction device, characterized in that: include: A component splitting module is used to obtain a dam building information model and split the dam building information model to obtain multiple three-dimensional building information model components; a level classification module, configured to classify the plurality of three-dimensional building information model components according to the internal structure of the dam and the importance of the parts, and obtain a level weight coefficient of each three-dimensional building information model component; a first calculation module, configured to obtain a spatial position weight coefficient of each 3D building information model component, and determine a component transparency of the 3D building information model component according to the hierarchical weight coefficient and the spatial position weight coefficient; A second calculation module is used to divide the dam building information model into polyhedral subdivision solid dam models of various scales, and calculate the polyhedral unit transparency of each polyhedral unit in the polyhedral subdivision solid dam model; The dam construction module is used to obtain the three-dimensional physical data value of each polyhedral unit, and construct a holographic transparent twin dam based on the three-dimensional physical data value of each polyhedral unit, the transparency of the polyhedral unit and the component transparency of each three-dimensional building information model component.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the method for constructing a holographic transparent twin dam as described in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for constructing a holographic transparent twin dam as described in any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for constructing a holographic transparent twin dam as described in any one of claims 1 to 6 is implemented.