BIM (Building Information Modeling) and simulation data fused visual three-dimensional engine system

By analyzing the complexity and dynamics of the BIM rendering module, and using the rendering visual excellence to simplify model rendering, the problems of degradation in rendering performance and module distortion in traffic simulation scenarios are solved, and the simulation analysis accuracy and rendering resource utilization are improved.

CN120472075AActive Publication Date: 2025-08-12ZHEJIANG SHUYU TRANSPORTATION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510953750.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-11
Publication Date
2025-08-12
Estimated Expiration
2045-07-11

AI Technical Summary

Technical Problem

In traffic simulation scenarios, the existing three-dimensional visualization engine system has degraded rendering performance due to too many BIM rendering modules, resulting in module jitter and distortion of simulation results. Traditional LOD technology cannot effectively solve this problem, affecting the simulation analysis accuracy and rendering performance.

Method used

The data acquisition module is used to obtain the rendering frames and triangle colors of the rendering module. By constructing cost indicators and rendering visual excellence, the module analyzes the complexity and dynamics of the rendering module, divides static and dynamic modules, and uses rendering visual excellence to simplify model rendering to avoid waste of rendering resources and module distortion.

Benefits of technology

Improve the utilization of rendering resources, avoid module distortion caused by the reduction of the consistency of the detail level during the rendering process, and improve the accuracy and rendering performance of simulation analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120472075A_ABST
    Figure CN120472075A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of three-dimensional visualization processing, in particular to a BIM (Building Information Modeling) and simulation data fused visualization three-dimensional engine system, which comprises the following steps of: obtaining a plurality of rendering frames, positions and triangular surface colors of a rendering module after voxel imaging; analyzing triangular surface density and surface texture complex conditions to obtain texture complexity; obtaining a construction cost index of each rendering module in each rendering frame according to the color difference of the triangular surfaces; according to the displacement amplitudes, obtained through division, of the dynamic module and the static module, a change intensity coefficient is obtained; analyzing the form and color difference of the same rendering module, and obtaining the rendering visual excellence of each rendering module; and performing three-dimensional simulation data fusion rendering on the simplified model by using the rendering visual excellence. The invention aims to avoid the problem of form distortion of the rendering module caused by reduction of detail level consistency in the rendering process and improve the utilization rate of rendering resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of three-dimensional visualization processing technology, and in particular to a visualization three-dimensional engine system that integrates BIM and simulation data. Background Art

[0002] Traffic simulation is a traffic analysis technology and method that uses computer digital models to reflect complex road traffic phenomena. Currently, traffic simulation scenarios are often constructed by importing traffic-related BIM rendering modules into 3D visualization engine systems. Due to the excessive amount of structural information within traffic simulation scenarios, such as vehicles and traffic signs, some BIM traffic modules may exhibit distortion during the simulation process. Therefore, LOD (level of detail) technology is traditionally used to simplify the model. LOD technology classifies each BIM rendering module according to the rendering level of detail. If the model is distorted during the simulation, the LOD of the module is downgraded to ensure the overall frame rate is maintained.

[0003] Since the degradation of rendering performance in actual simulation scenarios can cause specific distortion features such as jitter in the BIM rendering module, it is difficult to reflect the detailed rendering performance of the system based solely on frame rate analysis, resulting in reduced simulation analysis accuracy. At the same time, there are many types of BIM rendering modules in traffic simulation scenarios. If all modules are downgraded to a consistent fixed depth, it will further affect the accuracy of the simulation results and reduce the rendering performance of the visualization engine for the simulation scene. Summary of the Invention

[0004] The present invention provides a visual three-dimensional engine system that integrates BIM and simulation data to solve the existing problems.

[0005] The present invention provides a three-dimensional visualization engine system for integrating BIM and simulation data using the following technical solutions: One embodiment of the present invention provides a three-dimensional visualization engine system for integrating BIM and simulation data, the system comprising the following modules: Data acquisition module: used to obtain several rendering frames of each rendering module in each voxel after voxel imaging using a visualization 3D engine system, as well as the position of each rendering module in the rendering frame and the color of each triangle inside; Construction cost index acquisition module: used to analyze the surface triangle density and surface texture complexity of each rendering module in each rendering frame to obtain the texture complexity of each rendering module; according to the color difference of all triangles in each rendering module, combined with the texture complexity, the construction cost index of each rendering module in each rendering frame is obtained; Rendering Visualization Excellence Acquisition Module: This module is used to use the visualization 3D engine system to a priori divide the rendering modules into dynamic modules and static modules. Based on the displacement amplitude of the dynamic modules and static modules in each rendering frame and the next rendering frame, the module obtains the variation intensity coefficient of each rendering module in each rendering frame in combination with the construction cost index. The module also analyzes the shape and color differences between the triangles of the same rendering module and the surrounding triangles in each rendering frame and the next rendering frame to obtain the rendering visual excellence of each rendering module. Rendering module: used to simplify the model of the static module in each rendering frame by utilizing the rendering visual excellence of the rendering frame, and perform three-dimensional simulation data fusion rendering.

[0006] Preferably, the specific steps of obtaining the texture complexity include: In each rendering frame, the ratio of the number of triangles of each rendering module to the maximum number of triangles of all rendering modules in the rendering frame is recorded as the local refinement level of each rendering module; Obtain the number of edges of all triangles in the region of each rendering module in the rendering frame, and record it as the number of textures of each rendering module in each rendering frame; The ratio of the number of textures of each rendering module to the maximum number of textures of all rendering modules in the rendering frame to which it belongs is recorded as the structural detail of each rendering module in each rendering frame; The texture complexity of each rendering module in each rendering frame is obtained, where the texture complexity is in direct proportion to the structural detail and the local refinement.

[0007] Preferably, the specific steps of obtaining the construction cost indicator include: In each rendering frame, the colors of all triangles of each rendering module are projected into the LAB color space to obtain the projection point of the color of each triangle of each rendering module in the LAB color space, which is recorded as the color position of each triangle of each rendering module; The distance between the color position of each triangle of each rendering module and the centroid of the color positions of all triangles of each rendering module is recorded as the color deviation distance of each triangle of each rendering module in each rendering frame; A construction cost index of each rendering module in each rendering frame is obtained, where the construction cost index is directly proportional to the average value of the color deviation distance of all triangles of the rendering module and the texture complexity.

[0008] Preferably, the prior division of the rendering modules by the visualization 3D engine system to obtain dynamic modules and static modules, and obtaining the variation intensity coefficient of each rendering module in each rendering frame based on the displacement amplitude of the dynamic modules and the static modules in each rendering frame and the next rendering frame in combination with the construction cost index include: Read the simulation task input into the test phase of the visualization 3D engine system, record the dynamic rendering module in the simulation task as a dynamic module, and record the static rendering module as a static module; Normalize the distance between the position of each dynamic module in each rendering frame and the next rendering frame, and record it as the displacement amplitude of each dynamic module; The displacement amplitude of the static module is recorded as 0; The construction cost index is corrected using the displacement amplitudes of the dynamic modules and the static modules to obtain a variation intensity coefficient of each rendering module in each rendering frame.

[0009] Preferably, the specific steps of obtaining the variation intensity coefficient include: The displacement amplitude of the jth rendering module in the i-th rendering frame is recorded as ; The construction cost of the jth rendering module in the i-th rendering frame is indicated as ;

[0010] in, is the variable intensity coefficient of the jth rendering module in the i-th rendering frame, is the dynamic and static determination coefficient of the jth rendering module in the i-th rendering frame. If the jth rendering module in the i-th rendering frame is a dynamic module, ; If the jth rendering module in the i-th rendering frame is a static module, .

[0011] Preferably, analyzing the shape and color differences between the triangles of the same rendering module and the surrounding triangles in each rendering frame and the next rendering frame to obtain the rendering visual excellence of each rendering module includes: The absolute value of the difference in the number of pixels of each triangle in voxel imaging between each rendering frame and the next frame of the same rendering module is recorded as the morphological difference of each triangle in each rendering module in each rendering frame; The color difference of each triangle face of the same rendering module in each rendering frame and the next frame is recorded as the color distortion difference of each triangle face of each rendering module in each rendering frame; Constructing a distortion code value of each triangle face of each rendering module in each rendering frame according to the color distortion difference and the morphological difference of the triangle face; The rendering visual excellence of each rendering frame is obtained according to the distortion code values of all triangles of each rendering module in each rendering frame and the variation intensity coefficient of each rendering module in each rendering frame.

[0012] Preferably, the color distortion difference includes: The Euclidean distance between the projection points of the colors of each triangle in each rendering frame and the next frame of the same rendering module in the LAB color space is recorded as the color distortion difference of each triangle in each rendering module in each rendering frame.

[0013] Preferably, the specific steps of obtaining the rendering visual excellence include: The test distortion of the jth rendering module in the i-th rendering frame The calculation method is:

[0014] in, is the displacement amplitude of the jth rendering module in the i-th rendering frame; is the degree of morphological distortion of the jth rendering module in the i-th rendering frame; is the variable intensity coefficient of the jth rendering module in the i-th rendering frame; The average of the inversely proportional normalized values of the test distortion of each rendering module in all rendering frames is recorded as the rendering visual excellence of each rendering module.

[0015] Preferably, the specific steps of obtaining the distorted code value include: The product of the color distortion difference and the morphological difference of each triangle face of each rendering module in each rendering frame is recorded as the distortion degree of each triangle face of each rendering module in each rendering frame; The grayscale value difference of the pixel points in the LBP code algorithm is replaced by the distortion degree of each triangle face of each rendering module in each rendering frame, and the LBP code value of each triangle face of each rendering module in each rendering frame is obtained. After the LBP code value is linearly normalized, it is recorded as the distortion code value of each triangle face of each rendering module in each rendering frame.

[0016] Preferably, the method of simplifying the static module in each rendering frame by utilizing the rendering visual excellence of the rendering frame and performing three-dimensional simulation data fusion rendering includes: Preset a prior level of detail, obtain the product of the rendering visual excellence of each static module and the prior level of detail, and round up the product to an integer as the corrected level of detail of each static module; During the experimental phase, each dynamic module is rendered using the prior level of detail, and each static module is rendered using the revised level of detail to obtain a visual 3D model.

[0017] The beneficial effects of the technical solution of the present invention are as follows: the present invention uses a visualization 3D engine system to obtain several rendering frames of each rendering module after voxel imaging, as well as the position of each rendering module in the rendering frames and the color of each internal triangle; and obtains the construction cost index of the rendering module by analyzing the complexity of the triangle density and texture of the rendering module surface and the color difference of each triangle on the surface in the rendering frame, reflecting the computing resource usage of the rendering module during rendering; further divides the rendering module into static modules and dynamic modules, analyzes the displacement of the static modules and dynamic modules in different frames, and obtains the variation intensity coefficient of each rendering module, which is used to reflect that the dynamic module occupies more resources and is used to not simplify the dynamic module when subsequently simplifying the model; further analyzes the morphological changes and color changes when the module has insufficient computing resources and produces morphological distortion, and obtains the rendering visual excellence of each rendering module, so as to modify the detail level of the static module according to the rendering visual excellence to avoid the static module from occupying too many computing resources. This not only avoids the problem of morphological distortion of the rendering module caused by reduced detail level consistency during the rendering process, but also improves the utilization rate of rendering resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only 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.

[0019] Figure 1 This is a structural block diagram of a visual three-dimensional engine system that integrates BIM and simulation data in the present invention. DETAILED DESCRIPTION

[0020] To further illustrate the technical means and effectiveness of the present invention in achieving its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, details the specific implementation, structure, features, and effectiveness of a visualization 3D engine system for integrating BIM and simulation data, as proposed in accordance with the present invention. In the following description, references to "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.

[0021] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0022] The following describes in detail a specific solution of a visualization three-dimensional engine system for integrating BIM and simulation data provided by the present invention with reference to the accompanying drawings.

[0023] See also Figure 1 , which shows a structural block diagram of a visualization 3D engine system for integrating BIM and simulation data provided by one embodiment of the present invention. The system includes the following modules: The data acquisition module 101 is used to obtain, using a visualization 3D engine system, several rendering frames of each rendering module in each voxel after voxel imaging, as well as the position of each rendering module in the rendering frame and the color of each triangle inside.

[0024] It should be noted that the purpose of this embodiment is to analyze the distortion of the rendered data during rendering, so as to adaptively reduce the level of detail of the modules that have distortion during the rendering process, thereby avoiding the inaccurate rendering results caused by the consistency reduction of the detailed structure and reducing the load of the rendering model. Therefore, it is necessary to first collect the data to be rendered.

[0025] It should be noted that the simulation task includes a testing phase and an experimental phase when rendering. The testing phase is used to test the rendering effects of each rendering module, and the experimental phase is used to generate simulation results. Therefore, the analysis performed in this embodiment is all performed in the testing phase of the simulation task. After the data to be rendered is input into the test model to obtain the corrected detail level of each rendering module in each rendering frame, the corrected detail level is input into the experimental phase to obtain the simulation results.

[0026] Specifically, after the simulation task is input into the visualization 3D engine system, the visualization system will automatically divide the simulation task into several voxels and the rendering modules therein, where each voxel is the smallest unit of the simulation task in the 3D space division, and each voxel is also used as the smallest rendering unit for rendering.

[0027] Furthermore, each voxel is input into the test phase of the visualization 3D engine system, and voxel imaging is performed after rendering each voxel to obtain the position of each rendering module in each voxel in each rendering frame and the color of each triangle.

[0028] It should be noted that the position of the rendering module is the center of mass of the stitching area of all triangular faces in the rendering frame after the rendering module undergoes voxel imaging in the rendering frame presented by the voxels; since in three-dimensional data, each rendering module is a three-dimensional structure obtained by stitching together planes consisting of three corner points, there are still several triangular faces projected to two dimensions after voxel imaging, and each triangular face contains color data, and the color data is a preset parameter for the simulation task.

[0029] Construction cost index acquisition module 102: used to analyze the surface triangle density and surface texture complexity of each rendering module in each rendering frame to obtain the texture complexity of each rendering module; according to the color difference of all triangles in each rendering module, combined with the texture complexity, the construction cost index of each rendering module in each rendering frame is obtained.

[0030] It should be noted that during the rendering process of the BIM rendering module by the visualization engine, the higher the construction complexity of the BIM rendering module, the more computing resources will be consumed during rendering, and the greater the possibility of performance distortion during the simulation process. Therefore, we first analyze the underlying construction parameters of the BIM rendering module to preliminarily reflect the construction difficulty of the BIM rendering module.

[0031] It should be further explained that in rendering modeling, triangles are the smallest units that constitute the BIM rendering model. 3D programs use triangles to approximate the shape of objects. The more triangles there are, the smoother the surface is and the more detailed and realistic the object texture looks; the fewer triangles there are, the more angular the surface texture is and the rougher the object looks. At the same time, the rendering time reflects the difficulty level of building the BIM rendering module.

[0032] Preferably, in each rendering frame, the surface triangle density and surface texture complexity of each rendering module are analyzed to obtain the texture complexity of each rendering module. The specific steps include: In each rendering frame, the ratio of the number of triangles of each rendering module to the maximum number of triangles of all rendering modules in the rendering frame is recorded as the local refinement level of each rendering module; Obtain the number of edges of all triangles in the region of each rendering module in the rendering frame, and record it as the number of textures of each rendering module in each rendering frame; The ratio of the number of textures of each rendering module to the maximum number of textures of all rendering modules in the rendering frame to which it belongs is recorded as the structural detail of each rendering module in each rendering frame; The texture complexity of each rendering module in each rendering frame is obtained, where the texture complexity is in direct proportion to the structural detail and the local refinement.

[0033] As an example, in this embodiment, the product of the structural detail and the local detail of each rendering module in each rendering frame is recorded as the texture complexity of each rendering module in each rendering frame.

[0034] It should be noted that the more triangles there are in the rendering module, the more load the 3D software needs to invest in rendering each triangle during the rendering process. Therefore, in the same rendering frame, the more triangles there are in the rendering module, the finer it is. Similarly, since the triangles of the rendering module share edges, and the edges of the triangles are usually the intersections of the details of the rendering module, the more edges there are, the more details the rendering module has and the more refined the structure. Therefore, during the rendering process, the texture complexity of the rendering module is greater.

[0035] It should be noted that when rendering voxels, the voxel imaging result after each rendering indicates the result of that rendering. The rendering result includes not only the changes in the rendering module, but also the changes in color within each triangle. If the triangles of a rendering module have more colors involved during rendering and the color differences are more obvious, more resources will be required to process the color boundaries during rendering, and the cost of building the rendering module will be greater, thus avoiding the problem of uneven color transitions. Therefore, the construction cost index of each rendering module can be obtained by analyzing the color differences of the triangles in the rendering module and combining it with texture complexity.

[0036] Preferably, the specific steps of obtaining the construction cost index of each rendering module in each rendering frame according to the color difference of all triangles in each rendering module and combining the texture complexity are: In each rendering frame, the colors of all triangles of each rendering module are projected into the LAB color space to obtain the projection point of the color of each triangle of each rendering module in the LAB color space, which is recorded as the color position of each triangle of each rendering module; The distance between the color position of each triangle of each rendering module and the centroid of the color positions of all triangles of each rendering module is recorded as the color deviation distance of each triangle of each rendering module in each rendering frame; A construction cost index of each rendering module in each rendering frame is obtained, where the construction cost index is directly proportional to the average value of the color deviation distance of all triangles of the rendering module and the texture complexity.

[0037] As an example, in this embodiment, the product of the average value of the color deviation distances of all triangles of each rendering module in each rendering frame and the texture complexity is recorded as the construction cost index of each rendering module in each rendering frame.

[0038] It should be noted that the centroid of the color positions of all triangles of each rendering module is used as the geometric center of each rendering module in the LAB color space, indicating the center around which the color of the rendering module revolves. Each rendering module has its own main color system. Therefore, if the color of a rendering module revolves around a main color system and is closer to the main color system, fewer colors will be called during rendering, and the rendering difficulty will be lower. Conversely, the construction cost index of constructing the rendering module will be greater.

[0039] Rendering visualization excellence acquisition module 103: used to use the visualization three-dimensional engine system to a priori divide the rendering modules to obtain dynamic modules and static modules, and obtain the variation intensity coefficient of each rendering module in each rendering frame based on the displacement amplitude of the dynamic modules and static modules in each rendering frame and the next rendering frame in combination with the construction cost index; analyze the shape and color differences between the triangles of the same rendering module and the surrounding triangles in each rendering frame and the next rendering frame to obtain the rendering visual excellence of each rendering module.

[0040] It should be noted that the construction cost index of each BIM rendering module is obtained from the static perspective of a single rendering frame. The larger the construction cost index, the more likely it is that the module will be distorted due to high consumption of computing resources during the simulation process. In traffic simulation scenes, there are mobile modules such as moving cars and pedestrians, as well as static modules such as road signs. During 3D rendering, mobile modules require a higher dynamic processing load than static modules. Therefore, this embodiment divides the rendering modules according to their displacement in adjacent frames, and analyzes them to obtain the variable intensity coefficient of each rendering module.

[0041] Preferably, the specific steps of using a visualization 3D engine system to a priori divide the rendering modules to obtain dynamic modules and static modules, and obtaining the variation intensity coefficient of each rendering module in each rendering frame based on the displacement amplitude of the dynamic modules and static modules in each rendering frame and the next rendering frame in combination with the construction cost index are as follows: Read the simulation task input into the test phase of the visualization 3D engine system, record the dynamic rendering module in the simulation task as a dynamic module, and record the static rendering module as a static module; Normalize the distance between the position of each dynamic module in each rendering frame and the next rendering frame, and record it as the displacement amplitude of each dynamic module; The displacement amplitude of the static module is recorded as 0; The construction cost index is corrected using the displacement amplitudes of the dynamic modules and the static modules to obtain a variation intensity coefficient of each rendering module in each rendering frame.

[0042] It should be noted that this embodiment uses a maximum-minimum normalization algorithm to normalize the distance of the positions, and the maximum value and minimum value are respectively the maximum value and minimum value of the distance of the positions of all rendering modules in each rendering frame in the next rendering frame.

[0043] Specifically, the construction cost index is modified by using the displacement amplitudes of the dynamic module and the static module to obtain the variation intensity coefficient of each rendering module in each rendering frame in the following manner: As an example, the variable intensity coefficient of the jth rendering module in the i-th rendering frame is calculated as follows: The displacement amplitude of the jth rendering module in the i-th rendering frame is recorded as ; The construction cost of the jth rendering module in the i-th rendering frame is indicated as ;

[0044] in, is the variable intensity coefficient of the jth rendering module in the i-th rendering frame, is the dynamic and static determination coefficient of the jth rendering module in the i-th rendering frame. If the jth rendering module in the i-th rendering frame is a dynamic module, ; If the jth rendering module in the i-th rendering frame is a static module, .

[0045] It should be noted that the analysis performed in this embodiment is all conducted during the testing phase. If the rendering module experiences a drop in rendering performance due to excessive consumption of computing resources during rendering, this can lead to jitter and distortion of the rendering module's morphological edges. Therefore, if the morphological distortion of the rendered model during the testing phase is stronger, and the variation intensity coefficient reflected by the rendering module's own construction cost index and dynamic and static movement is larger, then the BIM rendering module is more likely to experience simulation chaos and distortion during the experimental phase, and the rendering module needs to adjust its level of detail. Therefore, this embodiment obtains the rendering visual excellence of each rendering frame by analyzing the morphological differences of triangles and the color rendering of the same rendering module in adjacent rendering frames.

[0046] Preferably, the specific method of analyzing the shape and color differences between the triangles of the same rendering module and the surrounding triangles in each rendering frame and the next rendering frame to obtain the rendering visual excellence of each rendering module is: The area difference of each triangle face of the same rendering module in each rendering frame and the next frame is recorded as the morphological difference of each triangle face of each rendering module in each rendering frame; The color difference of each triangle face of the same rendering module in each rendering frame and the next frame is recorded as the color distortion difference of each triangle face of each rendering module in each rendering frame; Constructing a distortion code value of each triangle face of each rendering module in each rendering frame according to the color distortion difference and the morphological difference of the triangle face; The rendering visual excellence of each rendering frame is obtained according to the distortion code values of all triangles of each rendering module in each rendering frame and the variation intensity coefficient of each rendering module in each rendering frame.

[0047] It should be noted that if the same rendering module is distorted in different rendering frames, its shape will change, which is specifically manifested in the change of the shape and color of each triangle in the rendering module. In this case, the rendering module is more likely to have morphological distortion during the testing phase.

[0048] Specifically, the specific method of recording the area difference of each triangle face of the same rendering module in each rendering frame and the next frame as the morphological difference of each triangle face of each rendering module in each rendering frame is as follows: The absolute value of the difference in the number of pixels of each triangle in voxel imaging between each rendering frame and the next frame of the same rendering module is recorded as the morphological difference of each triangle in each rendering module in each rendering frame.

[0049] Furthermore, the color difference of each triangle face of the same rendering module in each rendering frame and the next frame is recorded as the color distortion difference of each triangle face of each rendering module in each rendering frame as follows: The Euclidean distance between the projection points of the colors of each triangle in each rendering frame and the next frame of the same rendering module in the LAB color space is recorded as the color distortion difference of each triangle in each rendering module in each rendering frame.

[0050] It should be noted that since adjacent triangles in the rendering module share the same edge and the triangles are the surface of the rendering module, whether the rendering module itself is dynamic or the rendering module undergoes morphological distortion, only the size and position of the triangles in the rendering module will change, and the neighborhood relationship of the triangles will not be changed. Therefore, this embodiment uses the LBP code value in the image to reflect the shape and color changes of each triangle and its neighboring triangles. The LBP code value can summarize the difference between a pixel point and its neighboring pixel points into one value. If the value is larger, it indicates that the neighborhood of the pixel point has changed. Similarly, if the LBP code value of the triangle is larger, it indicates that morphological distortion is more likely to occur.

[0051] Furthermore, according to the color distortion difference and the morphological difference of the triangular face, a specific method of constructing the distortion code value of each triangular face of each rendering module in each rendering frame is as follows: The product of the color distortion difference and the morphological difference of each triangle face of each rendering module in each rendering frame is recorded as the distortion degree of each triangle face of each rendering module in each rendering frame; The grayscale value difference of the pixel points in the LBP code algorithm is replaced by the distortion degree of each triangle face of each rendering module in each rendering frame, and the LBP code value of each triangle face of each rendering module in each rendering frame is obtained. After the LBP code value is linearly normalized, it is recorded as the distortion code value of each triangle face of each rendering module in each rendering frame; It should be noted that the LBP code algorithm for obtaining the LBP code value is a known technique and will not be described in detail in this embodiment.

[0052] Furthermore, based on the distortion code values of all triangles of each rendering module in each rendering frame and the variation intensity coefficient of each rendering module in each rendering frame, the specific method for obtaining the rendering visual excellence of each rendering module is as follows: Obtain the average value of the distortion code values of all triangles of each rendering module in each rendering frame, and record it as the morphological distortion degree of each rendering module in each rendering frame; The test distortion of the jth rendering module in the i-th rendering frame The calculation method is:

[0053] in, is the displacement amplitude of the jth rendering module in the i-th rendering frame; is the degree of morphological distortion of the jth rendering module in the i-th rendering frame; is the variable intensity coefficient of the jth rendering module in the i-th rendering frame; is the dynamic and static determination coefficient of the jth rendering module in the i-th rendering frame. If the jth rendering module in the i-th rendering frame is a dynamic module, ; If the jth rendering module in the i-th rendering frame is a static module, .

[0054] It should be noted that since the dynamic module itself will change in different rendering frames, it will cause errors in the degree of morphological distortion of the jth rendering module in the i-th rendering frame. Therefore, the displacement amplitude is used to satisfy The morphological distortion of the dynamic module is corrected to avoid interference from the dynamic module itself. The larger the value of the variation intensity coefficient, the more important the jth rendering module in the i-th rendering frame is between two adjacent frames. Its rendering is more likely to require more computing resources. Insufficient computing resources will lead to test distortion.

[0055] Furthermore, the average of the inversely proportional normalized values of the test distortion of each rendering module in all rendering frames is recorded as the rendering visual excellence of each rendering module.

[0056] It should be noted that the The model only shows negative correlation and the output of the constraint model is in In the interval, As the input of this model, it can be replaced by other models with the same purpose in specific implementation. This embodiment is just based on The model is used as an example for description without any specific limitation.

[0057] It should be noted that if the test distortion of all rendering modules in each rendering frame is greater, it means that the rendering frame is more stable, contains more static modules that are less complex, and does not require more computing resources for rendering. The smaller the value, the more it indicates that the static modules in the rendering frame that require less computing resources need to have their detail levels lowered, thereby transferring more computing resources to the dynamic modules.

[0058] Rendering module 104: used to simplify the model by utilizing the rendering visual excellence of each rendering module and perform 3D simulation data fusion rendering.

[0059] It should be noted that the above obtains the rendering visual excellence of each rendering module. The smaller the value, the worse the rendering visual condition of the rendering module. Therefore, it is necessary to allocate computing resources more reasonably to avoid allocating more computing resources to static modules with less computing power, resulting in a waste of computing resources, and the dynamic module cannot obtain sufficient computing resources, resulting in distorted rendering results. Therefore, this embodiment uses the rendering visual excellence of each rendering module to simplify the model and perform three-dimensional simulation data fusion rendering.

[0060] Specifically, a prior level of detail is preset. This embodiment uses four levels as an example of a prior level of detail. The product of the rendering visual excellence of each static module and the prior level of detail is obtained, and the product is rounded up to an integer to be used as the corrected level of detail for each static module. During the experimental phase, each dynamic module is rendered using the prior level of detail, and each static module is rendered using the revised level of detail to obtain a visual 3D model.

[0061] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A three-dimensional visualization engine system integrating BIM and simulation data, characterized in that: The system includes the following modules: Data acquisition module: used to obtain several rendering frames of each rendering module in each voxel after voxel imaging using a visualization 3D engine system, as well as the position of each rendering module in the rendering frame and the color of each triangle inside; Construction cost index acquisition module: used to analyze the surface triangle density and surface texture complexity of each rendering module in each rendering frame to obtain the texture complexity of each rendering module; according to the color difference of all triangles in each rendering module, combined with the texture complexity, the construction cost index of each rendering module in each rendering frame is obtained; Rendering Visualization Excellence Acquisition Module: This module is used to use the visualization 3D engine system to a priori divide the rendering modules into dynamic modules and static modules. Based on the displacement amplitude of the dynamic modules and static modules in each rendering frame and the next rendering frame, the module obtains the variation intensity coefficient of each rendering module in each rendering frame in combination with the construction cost index. The module also analyzes the shape and color differences between the triangles of the same rendering module and the surrounding triangles in each rendering frame and the next rendering frame to obtain the rendering visual excellence of each rendering module. Rendering module: used to simplify the model by utilizing the rendering visual excellence of each rendering module and perform 3D simulation data fusion rendering.

2. A three-dimensional visualization engine system for fusion of BIM and simulation data according to claim 1, characterized in that: The specific steps of obtaining the texture complexity include: In each rendering frame, the ratio of the number of triangles of each rendering module to the maximum number of triangles of all rendering modules in the rendering frame is recorded as the local refinement level of each rendering module; Obtain the number of edges of all triangles in the region of each rendering module in the rendering frame, and record it as the number of textures of each rendering module in each rendering frame; The ratio of the number of textures of each rendering module to the maximum number of textures of all rendering modules in the rendering frame to which it belongs is recorded as the structural detail of each rendering module in each rendering frame; The texture complexity of each rendering module in each rendering frame is obtained, where the texture complexity is in direct proportion to the structural detail and the local refinement.

3. The visualization 3D engine system for fusion of BIM and simulation data according to claim 1, characterized in that: The specific steps of obtaining the construction cost index include: In each rendering frame, the colors of all triangles of each rendering module are projected into the LAB color space to obtain the projection point of the color of each triangle of each rendering module in the LAB color space, which is recorded as the color position of each triangle of each rendering module; The distance between the color position of each triangle of each rendering module and the centroid of the color positions of all triangles of each rendering module is recorded as the color deviation distance of each triangle of each rendering module in each rendering frame; A construction cost index of each rendering module in each rendering frame is obtained, where the construction cost index is directly proportional to the average value of the color deviation distance of all triangles of the rendering module and the texture complexity.

4. The visualization 3D engine system for fusion of BIM and simulation data according to claim 1, characterized in that: The method of using the visualization 3D engine system to divide the rendering module a priori to obtain dynamic modules and static modules, and obtaining the variation intensity coefficient of each rendering module in each rendering frame based on the displacement amplitude of the dynamic modules and the static modules in each rendering frame and the next rendering frame in combination with the construction cost index includes: Read the simulation task input into the test phase of the visualization 3D engine system, record the dynamic rendering module in the simulation task as a dynamic module, and record the static rendering module as a static module; Normalize the distance between the position of each dynamic module in each rendering frame and the next rendering frame, and record it as the displacement amplitude of each dynamic module; The displacement amplitude of the static module is recorded as 0; The construction cost index is corrected using the displacement amplitudes of the dynamic modules and the static modules to obtain a variation intensity coefficient of each rendering module in each rendering frame.

5. The three-dimensional visualization engine system for fusion of BIM and simulation data according to claim 4, characterized in that: The specific steps of obtaining the variation intensity coefficient include: The displacement amplitude of the jth rendering module in the i-th rendering frame is recorded as ; The construction cost of the jth rendering module in the i-th rendering frame is represented as ; in, is the variable intensity coefficient of the jth rendering module in the i-th rendering frame, is the dynamic and static determination coefficient of the jth rendering module in the i-th rendering frame. If the jth rendering module in the i-th rendering frame is a dynamic module, ; If the jth rendering module in the i-th rendering frame is a static module, .

6. The visualization 3D engine system for fusion of BIM and simulation data according to claim 1, characterized in that: The analyzing the shape and color differences between the triangles of the same rendering module and the surrounding triangles in each rendering frame and the next rendering frame to obtain the rendering visual excellence of each rendering module includes: The absolute value of the difference in the number of pixels of each triangle in voxel imaging between each rendering frame and the next frame of the same rendering module is recorded as the morphological difference of each triangle in each rendering module in each rendering frame; The color difference of each triangle face of the same rendering module in each rendering frame and the next frame is recorded as the color distortion difference of each triangle face of each rendering module in each rendering frame; Constructing a distortion code value of each triangle face of each rendering module in each rendering frame according to the color distortion difference and the morphological difference of the triangle face; The rendering visual excellence of each rendering module is obtained according to the distortion code values of all triangles of each rendering module in each rendering frame and the variation intensity coefficient of each rendering module in each rendering frame.

7. The three-dimensional visualization engine system for fusion of BIM and simulation data according to claim 6, characterized in that: The color distortion difference includes: The Euclidean distance between the projection points of the colors of each triangle in each rendering frame and the next frame of the same rendering module in the LAB color space is recorded as the color distortion difference of each triangle in each rendering module in each rendering frame.

8. The three-dimensional visualization engine system for integrating BIM and simulation data according to claim 6, characterized in that: The specific steps of obtaining the rendering visual excellence include: The test distortion of the jth rendering module in the i-th rendering frame The calculation method is: in, is the displacement amplitude of the jth rendering module in the i-th rendering frame; is the degree of morphological distortion of the jth rendering module in the i-th rendering frame; is the variable intensity coefficient of the jth rendering module in the i-th rendering frame; The average of the inversely proportional normalized values of the test distortion of each rendering module in all rendering frames is recorded as the rendering visual excellence of each rendering module.

9. The visualization 3D engine system for fusion of BIM and simulation data according to claim 6, characterized in that: The specific steps of obtaining the distortion code value include: The product of the color distortion difference and the morphological difference of each triangle face of each rendering module in each rendering frame is recorded as the distortion degree of each triangle face of each rendering module in each rendering frame; The grayscale value difference of the pixel points in the LBP code algorithm is replaced by the distortion degree of each triangle face of each rendering module in each rendering frame, and the LBP code value of each triangle face of each rendering module in each rendering frame is obtained. After the LBP code value is linearly normalized, it is recorded as the distortion code value of each triangle face of each rendering module in each rendering frame.

10. The visualization 3D engine system for fusion of BIM and simulation data according to claim 1, characterized in that: The method of simplifying the model by utilizing the rendering visual excellence of each rendering module and performing 3D simulation data fusion rendering includes: Preset a prior level of detail, obtain the product of the rendering visual excellence of each static module and the prior level of detail, and round up the product to an integer as the corrected level of detail of each static module; During the experimental phase, each dynamic module is rendered using the prior level of detail, and each static module is rendered using the revised level of detail to obtain a visual 3D model.

Citation Information

Patent Citations

  • Multi-level detail model construction method and device

    CN115512029A

  • Three-dimensional scene lightweight model rendering method, device and apparatus, and storage medium

    CN116051708A

  • Traffic engineering BIM and VR technology combined interactive design and simulation system

    CN119848967A

  • Large BIM model optimization method and system based on intelligent loading

    CN120030661A