Construction and display method of large 3D model based on LOD
By dynamically adjusting the LOD level through a subcontracting strategy that combines importance, complexity and user attention, the problems of slow loading speed and untimely response of 3D models in the existing technology are solved, achieving faster loading speed and better quality. Interactive experience, suitable for displaying complex and detailed 3D models of large-scale equipment.
Patent Information
- Application Number
- CN202410841180.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-27
AI Technical Summary
The existing LOD-based 3D model construction and display method adopts a strategy based only on distance, which results in slow loading of large 3D scenes and untimely visualization response, making it unable to meet users' needs for complex models.
Adopting a subcontracting strategy that combines importance, complexity and user attention, the 3D model is subcontracted in the direction of components according to structure, intervals are divided according to the distance between the center point and the observation point of the 3D scene, and the LOD level is dynamically adjusted to optimize model display. .
It improves the loading speed and response speed of large-scale 3D scenes, reduces network congestion and hardware rendering pressure, improves the interactive experience, and is suitable for large-scale equipment 3D models that require high-detail display.
Smart Images

Figure CN118397196B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of three-dimensional visualization technology, and in particular to a large-scale three-dimensional model construction and display method based on LOD. Background Art
[0002] At present, 3D visualization technology is widely used in the field of smart power plants. It is the first impression of users when they experience smart power plant products, and it is also one of the key factors affecting user satisfaction. With the extensive and in-depth application of intelligent technology, the relationship between models and data is becoming closer and closer, the complexity of models is gradually increasing, and the number of model faces has increased from hundreds of thousands to millions. Under the user's conventional hardware conditions, ensuring that the model runs quickly, the 3D visual response is timely, and the interactive experience is smooth has become an urgent problem that needs to be solved.
[0003] In the prior art, a Chinese invention patent document with publication number CN114283231A and publication date April 5, 2022 is proposed. The technical solution disclosed in the patent document is as follows: a lightweight construction and display method of a BIM model based on LOD, the method comprising: generating a BIM model according to LOD rules, dividing the building component elements to be rendered and displayed into multiple LOD levels, and the level establishment is based on the distance from the viewpoint to the edge of the BIM model bounding box; converting the data of the BIM model in each level into a binary data format, and compressing the BIM model; defining a configuration file, combining the binary data of the BIM model, and generating a layered binary data model; rendering the three-dimensional model in combination with the screen space error SSE of the current node and the loading method.
[0004] The above technical solution adopts an LOD strategy based only on distance, and the LOD level division is not flexible, which makes it unrealistic and cannot fully meet user needs, resulting in slow loading of large three-dimensional scenes and untimely visualization response. Summary of the invention
[0005] In order to solve the above technical problems, the present invention proposes a large-scale three-dimensional model construction and display method based on LOD, which can effectively solve the problems of slow loading speed and untimely visualization response of large-scale three-dimensional scenes.
[0006] The present invention is achieved by adopting the following technical solutions:
[0007] The LOD-based large-scale three-dimensional model construction and display method includes the following steps:
[0008] Step S1. Establishing a three-dimensional model of each device;
[0009] Step S2. Combining the subcontracting strategy of importance, complexity and user attention, the three-dimensional model of each device is subcontracted into parts according to the structure to form several levels of subcontracting models;
[0010] Step S3. Establishing a three-dimensional scene including three-dimensional models of several devices, calculating the center point of the entire three-dimensional scene according to the center point of the three-dimensional model of each device and the weight of the three-dimensional model of each device;
[0011] Step S4. Calculate the distance L between the center point of the three-dimensional scene and the observation point;
[0012] Step S5. Divide the distance L into several intervals, and divide the corresponding i The sub-package model is displayed after rendering.
[0013] The step S2 specifically includes the following steps:
[0014] Step S 21 . Divide the 3D models of each device into components according to the structure to form the first i Level subcontracting model;
[0015] Step S 22 . Calculate the i Subcontracting strategy coefficients of each sub-model in the subcontracting model:
[0016]
[0017] In the formula, For the i Neutron Model x The subcontracting strategy coefficient; n For the i Neutron Model x The number of sub-models after further sub-packaging, For the i Neutron Model x The weight coefficients of each sub-model after continued sub-packaging, For the i Neutron Model x The comprehensive coefficient of each sub-model after the sub-packaging is calculated according to the importance coefficient, complexity coefficient and attention coefficient;
[0018] Step S 23 . The calculated subcontracting strategy coefficient With the threshold coefficient For comparison, if , judge the i Neutron Model x The conditions for continuing subcontracting are not met. i Neutron Model xFor the most detailed part model, stop subcontracting; if , then judge the i Neutron Model x If the subcontracting conditions are met, continue subcontracting and obtain the current submodel x The next level sub-package model and re-enter step S 22 , calculate the current submodel x The subcontracting strategy coefficient of each sub-model in the next-level subcontracting model.
[0019] The comprehensive coefficient is calculated based on the importance coefficient, complexity coefficient and attention coefficient, specifically:
[0020] .
[0021] The comprehensive coefficient is calculated based on the importance coefficient, complexity coefficient and attention coefficient, specifically:
[0022] .
[0023] The method for determining the center point of the three-dimensional scene in step S3 is:
[0024]
[0025] In the formula, is the center point of the entire 3D scene. is the center point of the 3D model of each device. is the weight factor of the 3D model of each device.
[0026] The calculation method of the distance L in step S4 is:
[0027]
[0028] In the formula, is the center point of the entire 3D scene. For observation point, abs is the absolute value function.
[0029] In step S5, the distance L is divided into a number of interval segments, and the number of segments = the maximum number of levels that the three-dimensional model of each device can be divided into + 1.
[0030] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0031] 1. Starting from the software aspect, the present invention organically combines the two aspects of model side optimization and rendering side optimization, and proposes a large-scale three-dimensional model construction and display method based on LOD, which improves the loading speed and response speed of large-scale three-dimensional scenes, thereby reducing network congestion and hardware rendering pressure, and realizing the improvement of loading speed and interactive experience without changing the hardware environment, thereby reducing costs.
[0032] Specifically, the present invention starts from two perspectives: the large scene and the small scenes that make up the large scene (the three-dimensional models of each device), and studies a method for improving the scene loading and interaction speed, which has more advantages and better effects than traditional methods.
[0033] Existing technologies, such as the Chinese invention patent document with publication number CN114283231A, are mainly aimed at BIM models, and the focus of BIM models is on data, with relatively low requirements on the details and display methods of the model itself, and cannot be applied to the fields of intelligent manufacturing and smart power plants. On the contrary, the technical solution of the present invention can be applied to this field, especially the three-dimensional models of large equipment with accurate size, rich details and vivid display, and has more advantages in displaying large three-dimensional models.
[0034] 2. The present invention considers LOD levels comprehensively based on multiple factors. In addition to distance, it also considers multiple dimensions such as model importance, complexity, and attention. Therefore, it is more flexible in processing the details of the 3D models of each device, can make full use of hardware resources, and is more in line with actual needs. For important, complex, and highly concerned models, they are divided into more LOD level models; for unimportant, uncomplex, or unconcerned 3D models, they are divided into fewer LOD level models.
[0035] 3. In the present invention, the center point of the entire three-dimensional scene is calculated based on the center point of the three-dimensional model of each device and the weight of the three-dimensional model of each device, so that the center point of the entire three-dimensional scene is as close to the user's focus as possible, reducing the influence of those large environmental models that are not of concern, such as factory models and road models that are not of concern.
[0036] 4. In the present invention, the number of segments = the maximum number of levels that the three-dimensional model of each device can be subpackaged + 1, so that the number of segments can be set reasonably to avoid the problem of too many segments, which may lead to no models to be displayed. If the number of segments is too small, the advantages of model subpackaging cannot be fully utilized. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments, wherein:
[0038] Figure 1 This is a schematic diagram of subcontracting in the present invention taking a generator as an example;
[0039] Figure 2 A schematic diagram of the center point of a three-dimensional scene in the present invention;
[0040] Figure 3 It is a schematic diagram of dividing the distance L into several intervals in the present invention. DETAILED DESCRIPTION
[0041] Example 1
[0042] As a basic implementation of the present invention, the present invention includes a large-scale three-dimensional model construction and display method based on LOD, comprising the following steps:
[0043] Step S1. Create a three-dimensional model of each device.
[0044] Step S2. Combining the subcontracting strategy based on importance, complexity and user's attention level, the three-dimensional model of each device is subcontracted into parts according to the structure to form several levels of subcontracting models.
[0045] Step S3: Establish a three-dimensional scene including three-dimensional models of several devices, and calculate the center point of the entire three-dimensional scene according to the center point of the three-dimensional model of each device and the weight of the three-dimensional model of each device.
[0046] Step S4. Calculate the distance L between the center point of the three-dimensional scene and the observation point.
[0047] Step S5. Divide the distance L into several intervals, and divide the corresponding i The sub-package model is displayed after rendering.
[0048] Example 2
[0049] As a preferred embodiment of the present invention, the present invention includes a large-scale three-dimensional model construction and display method based on LOD, comprising the following steps:
[0050] Step S1. Create a three-dimensional model of each device.
[0051] Step S2. Combine the subcontracting strategies based on importance, complexity and user attention, and subcontract the 3D models of each device into components according to the structure to form several subcontracting models. Specifically, the following steps are included:
[0052] Step S 21 . Divide the 3D models of each device into components according to the structure to form the first i Sub-package model.
[0053] Step S 22 . Calculate the i Subcontracting strategy coefficients of each sub-model in the subcontracting model:
[0054]
[0055] In the formula, For the i Neutron Model x The subcontracting strategy coefficient; n For the i Neutron Model x The number of sub-models after further sub-packaging, For the i Neutron Model x The weight coefficients of each sub-model after continued sub-packaging, For the i Neutron Model x The comprehensive coefficient of each sub-model after continued subpackaging is calculated based on the importance coefficient, complexity coefficient and attention coefficient.
[0056] Step S 23 . The calculated subcontracting strategy coefficient With the threshold coefficient For comparison, if , judge the i Neutron Model x The conditions for continuing subcontracting are not met. i Neutron Model x For the most detailed part model, stop subcontracting; if , then judge the i Neutron Model x If the subcontracting conditions are met, continue subcontracting and obtain the current submodel x The next level sub-package model and re-enter step S 22 , calculate the current submodel x The subcontracting strategy coefficient of each sub-model in the next-level subcontracting model.
[0057] Step S3: Establish a three-dimensional scene including three-dimensional models of several devices, and calculate the center point of the entire three-dimensional scene according to the center point of the three-dimensional model of each device and the weight of the three-dimensional model of each device.
[0058] Step S4. Calculate the distance L between the center point of the three-dimensional scene and the observation point.
[0059] Step S5. Divide the distance L into several intervals, and divide the corresponding i The sub-package model is displayed after rendering.
[0060] Example 3
[0061] As another preferred embodiment of the present invention, the present invention includes a large-scale three-dimensional model construction and display method based on LOD, comprising the following steps:
[0062] Step S1. Create a three-dimensional model of each device.
[0063] Step S2. Combining the subcontracting strategy based on importance, complexity and user's attention level, the three-dimensional model of each device is subcontracted into parts according to the structure to form several levels of subcontracting models.
[0064] Step S3. Establish a three-dimensional scene including three-dimensional models of several devices, and calculate the center point of the entire three-dimensional scene according to the center point of the three-dimensional model of each device and the weight of the three-dimensional model of each device:
[0065]
[0066] In the formula, is the center point of the entire 3D scene. is the center point of the 3D model of each device. is the weight factor of the 3D model of each device.
[0067] Step S4. Calculate the distance L between the center point of the three-dimensional scene and the observation point:
[0068]
[0069] In the formula, is the center point of the entire 3D scene. For observation point, abs is the absolute value function.
[0070] Step S5. Divide the distance L into several intervals, and divide the corresponding i The sub-package model is displayed after rendering.
[0071] Example 4
[0072] As the best embodiment of the present invention, the present invention includes a large-scale three-dimensional model construction and display method based on LOD, comprising the following steps:
[0073] Step S1. Create a three-dimensional model of each device.
[0074] Modeling is based on drawings, using 3D modeling software such as SolidWorks, UG, 3dsMax, Blender, SMARTPLANT3D and PDMS to build 3D models of various equipment. Each equipment can include generators, steam turbines and boilers. The 3D model of the generator mainly includes the stator core, stator winding, rotor core, rotor winding and machine base, etc. The 3D model of the steam turbine mainly includes the low-pressure cylinder, medium-pressure cylinder, high-pressure cylinder, rotor, blades, bearing box, guide plate, steam seal and partition, etc. The 3D model of the boiler mainly includes water-cooled wall, superheater, reheater, economizer and four major pipelines, etc.
[0075] Step S2. Combine the subcontracting strategies based on importance, complexity and user attention, and subcontract the 3D models of each device into components according to the structure to form several subcontracting models. Specifically, the following steps are included:
[0076] Step S 21 . Divide the 3D models of each device into components according to the structure to form the first i Sub-package model.
[0077] Step S 22 . Calculate the i Subcontracting strategy coefficients of each sub-model in the subcontracting model:
[0078]
[0079] In the formula, For the i Neutron Model x The subcontracting strategy coefficient; n For the i Neutron Model x The number of sub-models after further sub-packaging, For the i Neutron Model x The weight coefficients of each sub-model after continued sub-packaging, For the i Neutron Model x The comprehensive coefficient of each sub-model after continued subpackaging is calculated based on the importance coefficient, complexity coefficient and attention coefficient.
[0080] For details, please refer to the attached manual. Figure 1 , taking the generator as an example, the generator is used as the 0th level subcontract model. It is proposed to subcontract the three-dimensional model of the generator into parts according to the structure to form a first level subcontract model. The first level subcontract model includes three sub-models, namely, the stator sub-model, the rotor sub-model and other sub-models.
[0081] Calculate the sub-contracting strategy coefficient of each sub-model in the first-level sub-contracting model, taking the stator sub-model as an example. If the stator sub-model continues to be sub-contracted, the base sub-model, stator core sub-model and stator winding sub-model will be obtained. Therefore, the sub-contracting strategy coefficient of the stator sub-model in the first-level sub-contracting model is:
[0082]
[0083] In the formula, is the subcontracting strategy coefficient of the stator sub-model in the first-level subcontracting model, is the weight coefficient of the machine base sub-model, is the weight coefficient of the stator core sub-model, is the weight coefficient of the stator winding sub-model. is the comprehensive coefficient calculated by the machine base sub-model based on the importance coefficient, complexity coefficient and attention coefficient. is the comprehensive coefficient calculated by the stator core sub-model based on the importance coefficient, complexity coefficient and attention coefficient. It is the comprehensive coefficient calculated for the stator winding sub-model based on the importance coefficient, complexity coefficient and attention coefficient.
[0084] Among them, the weight coefficient The value range of and is 0 to 1. The weight coefficient is a recommended value in the database formed by project experience, and can also be set by the user.
[0085] Comprehensive coefficient In this embodiment, the average value or median is generally taken, and the calculation method is as follows:
[0086]
[0087] or
[0088]
[0089] The importance coefficient, complexity coefficient and attention coefficient in the above formula are taken from the database formed by project experience, ranging from 0 to 1, and vary according to the application field, applicable model, model level and subcontracting level.
[0090] Step S 23 . The calculated subcontracting strategy coefficient With the threshold coefficient For comparison, if , judge the i Neutron Model x The conditions for continuing subcontracting are not met. i Neutron Model x For the most detailed part model, stop subcontracting; if , then judge the i Neutron Model x If the subcontracting conditions are met, continue subcontracting and obtain the current submodel x The next level sub-package model and re-enter step S 22 , calculate the current submodel x The subcontracting strategy coefficient of each sub-model in the next-level subcontracting model.
[0091] Among them, the threshold coefficient It is the recommended value in the database formed by project experience. The recommended value varies according to the application field, applicable model, model level, and subcontracting level. The threshold coefficient It will be updated regularly, but users are generally not allowed to change it.
[0092] In this embodiment, if the subcontracting strategy coefficient of the stator sub-model in the first-level subcontracting model is greater than the threshold coefficient, the stator sub-model in the first-level subcontracting model needs to continue to be subcontracted to form a second-level subcontracting model. The second-level subcontracting model includes three sub-models, namely, the base sub-model, the stator core sub-model and the stator winding sub-model.
[0093] Continue to calculate the subcontracting strategy coefficients of the machine base sub-model, stator core sub-model and stator winding sub-model in the second-level subcontracting model. Taking the calculation of the subcontracting strategy coefficient of the machine base sub-model in the second-level subcontracting model as an example, if the machine base sub-model continues to be subcontracted, the shell sub-model and the structural component sub-model will be obtained. Therefore, the subcontracting strategy coefficient of the machine base sub-model in the second-level subcontracting model is:
[0094]
[0095] In the formula, is the subcontracting strategy coefficient of the machine base sub-model in the second-level subcontracting model, is the weight coefficient of the shell submodel, is the weight coefficient of the structural component sub-model. is the comprehensive coefficient calculated by the shell sub-model based on the importance coefficient, complexity coefficient and attention coefficient. It is the comprehensive coefficient calculated by the structural component sub-model based on the importance coefficient, complexity coefficient and attention coefficient. The weight coefficient and comprehensive coefficient are obtained by the same method as above.
[0096] The subcontracting strategy coefficient of the base submodel in the second-level subcontracting model is greater than the threshold coefficient, so the base submodel in the second-level subcontracting model needs to continue to be subcontracted to form a third-level subcontracting model. The third-level subcontracting model includes two submodels, namely the shell submodel and the structural component submodel. Continue to calculate the subcontracting strategy coefficients of the shell submodel and the structural component submodel. Since the subcontracting strategy coefficients of the shell submodel and the structural component submodel are both less than the threshold coefficient, the shell submodel and the structural component submodel in the third-level subcontracting model are the most detailed part models, and subcontracting is stopped.
[0097] Step S3. Establish a three-dimensional scene including three-dimensional models of several devices, and calculate the center point of the entire three-dimensional scene according to the center point of the three-dimensional model of each device and the weight of the three-dimensional model of each device:
[0098]
[0099] In the formula, It is the center point of the entire 3D scene. is the center point of the 3D model of each device. It is the weight factor of the 3D model of each device, and its value range is 0-1. The weight factor is the recommended value in the database formed by project experience, and can also be set by the user.
[0100] In this embodiment, refer to the attached specification Figure 2 Take the 3D scene of a virtual power plant as an example. The 3D scene includes the 3D model of the generator, the 3D model of the steam turbine and the 3D model of the boiler, as well as the environmental models such as roads and green plants. Determine the center point of the entire scene:
[0101]
[0102] In the formula, They are the center points of the environment model, the three-dimensional model of the steam turbine, the three-dimensional model of the boiler, and the three-dimensional model of the generator. They are the weight factors of the environmental model, the three-dimensional model of the steam turbine, the three-dimensional model of the boiler and the three-dimensional model of the generator.
[0103] Step S4. Calculate the distance L between the center point of the three-dimensional scene and the moving observation point:
[0104]
[0105] In the formula, is the center point of the entire 3D scene. For observation point, abs is the absolute value function.
[0106] Step S5. Refer to the instructions attached Figure 3 , divide the spacing L into several intervals, the number of segments = the maximum number of levels that the three-dimensional model of each device can be sub-packaged + 1. If the generator can be sub-packaged in three levels, the boiler can be sub-packaged in two levels, and the steam turbine can be sub-packaged in one level, then L is divided into four sections, that is, ,in It varies according to the application area, applicability and terminal environment, and is generally determined by the recommended values in the database formed by project experience.
[0107] According to the interval range of the spacing L, the corresponding i The sub-package model is displayed after rendering, as shown in the following table:
[0108]
[0109] In summary, after reading the present invention document, ordinary technicians in this field can make various other corresponding transformation schemes based on the technical scheme and technical concept of the present invention without creative mental labor, which all fall within the scope of protection of the present invention.
Claims
1. A large-scale three-dimensional model construction and display method based on LOD, characterized in that: The following steps are involved: Step S1. Establishing a three-dimensional model of each device; Step S2. Combining the subcontracting strategy of importance, complexity and user attention, the three-dimensional model of each device is subcontracted into parts according to the structure to form several levels of subcontracting models; Step S3. Establishing a three-dimensional scene including three-dimensional models of several devices, calculating the center point of the entire three-dimensional scene according to the center point of the three-dimensional model of each device and the weight of the three-dimensional model of each device; Step S4. Calculate the distance L between the center point of the three-dimensional scene and the observation point; Step S5. Divide the distance L into several intervals, and divide the corresponding i The sub-package model is displayed after rendering; The step S2 specifically includes the following steps: Step S 21 . Divide the 3D models of each device into components according to the structure to form the first i Level subcontracting model; Step S 22 . Calculate the i Subcontracting strategy coefficients of each sub-model in the subcontracting model: , In the formula, For the i Neutron Model x The subcontracting strategy coefficient; n For the i Neutron Model x The number of sub-models after further sub-packaging, For the i Neutron Model x The weight coefficients of each sub-model after continued sub-packaging, For the i Neutron Model x The comprehensive coefficient of each sub-model after the sub-packaging is calculated according to the importance coefficient, complexity coefficient and attention coefficient; Step S 23 . The calculated subcontracting strategy coefficient With the threshold coefficient For comparison, if , judge the i Neutron Model x The conditions for continuing subcontracting are not met. i Neutron Model x For the most detailed part model, stop subcontracting; if , then judge the i Neutron Model x If the subcontracting conditions are met, continue subcontracting and obtain the current submodel x The next level sub-package model and re-enter step S 22 , calculate the current submodel x The subcontracting strategy coefficient of each sub-model in the next-level subcontracting model.
2. The method for constructing and displaying a large three-dimensional model based on LOD according to claim 1, characterized in that: The comprehensive coefficient is calculated based on the importance coefficient, complexity coefficient and attention coefficient and specifically refers to: 。 3. The method for constructing and displaying a large three-dimensional model based on LOD according to claim 1, characterized in that: The comprehensive coefficient is calculated based on the importance coefficient, complexity coefficient and attention coefficient and specifically refers to: 。 4. The method for constructing and displaying a large three-dimensional model based on LOD according to any one of claims 1 to 3, characterized in that: The method for determining the center point of the three-dimensional scene in step S3 is: , In the formula, is the center point of the entire 3D scene. is the center point of the 3D model of each device. is the weight factor of the 3D model of each device.
5. The LOD-based large-scale three-dimensional model construction and display method according to claim 4, characterized in that: The calculation method of the distance L in step S4 is: , In the formula, is the center point of the entire 3D scene. For observation point, abs is the absolute value function.
6. The LOD-based large-scale three-dimensional model construction and display method according to claim 5, characterized in that: In step S5, the distance L is divided into a number of interval segments, and the number of segments = the maximum number of levels that the three-dimensional model of each device can be divided into + 1.
Citation Information
Patent Citations
LOD-based BIM model lightweight construction and display method
CN114283231A
Radar fault information three-dimensional visualization method and system and electronic equipment
CN115792828A
