BIM modeling and real-time rendering method and device based on parallel computing

By decomposing the BIM modeling and rendering process into independent task units, constructing a parallel computing queue and performing load balancing, a Mesh data structure suitable for real-time rendering is generated, solving the problem of low modeling and rendering efficiency in existing technologies, and achieving efficient real-time updates and system optimization.

CN121353051APending Publication Date: 2026-01-16CHINA RAILWAY SIYUAN SURVEY & DESIGN GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511235591.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-01
Publication Date
2026-01-16

AI Technical Summary

Technical Problem

Existing BIM modeling and rendering methods suffer from performance bottlenecks in complex or large-scale parametric modeling and real-time interactive rendering. They are characterized by low computational efficiency and poor real-time responsiveness, making it difficult to meet the real-time update requirements of large-scale complex engineering projects. Furthermore, GPU parallel processing is only used for visual rendering acceleration and does not fully utilize the parallel processing capabilities of multi-core CPUs.

Method used

A parallel computing-based approach is adopted, using the open-source rendering engine OpenSceneGraphic and the modeling engine OpenCascade to decompose the BIM modeling and rendering process into independent task units, construct a parallel computing task execution queue, and use a load balancing strategy to execute parallel computing in batches to generate a Mesh data structure suitable for real-time rendering, and perform triangulation and real-time rendering.

Benefits of technology

It significantly improves modeling and rendering efficiency, enables rapid access to business models and real-time parameter updates, optimizes system architecture, reduces functional coupling, and enhances system maintainability and scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121353051A_ABST
    Figure CN121353051A_ABST
Patent Text Reader

Abstract

The invention provides a BIM modeling and real-time rendering method and device based on parallel computing, and belongs to the technical field of building information models.The method comprises the steps that a visual interaction framework is built based on an open source rendering engine; based on an open source modeling engine, BIM parametric modeling algorithm interfaces such as sweeping, lofting and Boolean operation are packaged; according to professional modeling and visualization requirements, the BIM modeling and rendering process is decomposed into a plurality of task units, a parallel computing task execution queue is constructed, and dynamic allocation of computing resources is achieved; according to the task execution queue, parallel computing is carried out in batches, and a packaged BIM parametric modeling algorithm interface is called to carry out modeling operation; performing Mesh triangularization processing on the generated BIM model result to generate a Mesh data structure suitable for real-time rendering; hooking the generated Mesh data structure to a scene tree of a visual interaction framework for real-time rendering; and after all tasks in the parallel computing queue are executed, parameter setting after rendering is completed according to user configuration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of building information modeling technology, and in particular to a BIM modeling and real-time rendering method and device based on parallel computing. Background Technology

[0002] Current mainstream BIM modeling and rendering methods mainly rely on CPU-based serial computing software platforms, such as Blender, Revit, and Maya, to design and create parametric models in a local standalone mode. For example, a BIM model rendering method based on server and client collaboration (patent number: CN202110013645), although attempting to utilize a client-server collaborative rendering mode, failed to effectively utilize multi-threading and distributed computing architecture. Its performance is significantly insufficient when handling ultra-large-scale scenes and high-concurrency collaborative design tasks, making it difficult to meet the actual needs of real-time interaction and high-efficiency collaboration.

[0003] Some open-source modeling and rendering engines, such as OpenSceneGraphic, OpenCascade, CGAL, VTK, and ThreeJS, employ GPU-based parallel architectures to accelerate visualization. For example, the WebGL-based BIM model display and rendering method (patent number: CN201810286947) improves web-based display efficiency through lightweight data preprocessing and LOD (Level of Detail) technology. However, such methods primarily focus on accelerating graphics rendering and do not fully leverage the parallel processing capabilities of modern multi-core CPUs. They are insufficient in model geometry calculation and real-time parameter updates, making it difficult to effectively support the efficient real-time interaction requirements of complex BIM models.

[0004] The existing technology has at least the following drawbacks: (1) There are obvious performance bottlenecks in complex or large-scale parametric modeling and real-time interactive rendering. The computational efficiency is low and the real-time responsiveness is poor, making it difficult to meet the real-time update requirements of large-scale complex engineering projects.

[0005] (2) The parallel processing architecture based on the graphics processing unit (GPU) can significantly improve the efficiency of the rendering process, but it only accelerates the visualization rendering process and does not support the geometric calculation and parameterization real-time update of the BIM model. It cannot comprehensively improve the overall parallel processing efficiency of the modeling stage.

[0006] (3) Existing software lacks a dedicated design for rapid access to business systems, and has insufficient support for multithreading and high coupling of system functions. Summary of the Invention

[0007] This invention provides a BIM modeling and real-time rendering method and device based on parallel computing, which solves at least one defect in the prior art.

[0008] In a first aspect, the present invention provides a BIM modeling and real-time rendering method based on parallel computing, comprising: Step 1: Build a visual interaction framework based on an open-source rendering engine; Step 2: Based on the open-source modeling engine, encapsulate the BIM parametric modeling algorithm interface; Step 3: Decompose the BIM modeling and rendering process into independent task units, build a parallel computing task execution queue, and dynamically allocate computing resources; Step 4: Use a load balancing strategy to perform parallel computing in batches and call the encapsulated modeling algorithm interface to perform modeling calculations; Step 5: Triangulate the modeling results to generate a Mesh data structure suitable for real-time rendering; Step 6: Based on the Mesh data structure, attach the Mesh data to the scene tree of the visualization interaction framework for real-time rendering; Step 7: Determine if there are any unfinished tasks in the parallel computing execution queue. If so, proceed to step 4. If not, return to step 4. If not, continue to step 8. Step 8: Complete the parameter settings after rendering according to the user configuration.

[0009] According to the present invention, a BIM modeling and real-time rendering method based on parallel computing includes step 1: Step 1.1: Compile the data exchange and rendering modules in the open-source rendering engine OpenSceneGraphic; Step 1.2: Based on the API interfaces in OpenSceneGraphic, design a general Mesh data structure drawing interface and build a visualization interaction framework.

[0010] According to the parallel computing-based BIM modeling and real-time rendering method provided by the present invention, step 2, encapsulating the BIM parametric modeling algorithm interface, specifically includes: Step 2.1: Compile the modeling module in the open-source modeling engine OpenCascade; Step 2.2: Extract the modeling module API interface of OpenCascade and repackage it into an API module with general modeling functions.

[0011] According to the parallel computing-based BIM modeling and real-time rendering method provided by the present invention, step 3 includes: Step 3.1: Based on professional modeling and visualization requirements, decompose the BIM modeling and rendering process into several task units; Step 3.2: Create a thread-safe parallel computing queue based on a multi-threaded architecture; Step 3.3: Assign task units to the parallel computing queue.

[0012] According to the BIM modeling and real-time rendering method based on parallel computing provided by the present invention, step S4, which employs a load balancing strategy to perform parallel computing, specifically includes: Step 4.1: Perform parallel computations in batches to avoid peak memory and GPU memory usage; Step 4.2: Perform BIM modeling calculations based on the encapsulated general modeling algorithm interface.

[0013] According to the parallel computing-based BIM modeling and real-time rendering method provided by the present invention, the triangulation processing method is the Mesh triangulation algorithm.

[0014] According to the parallel computing-based BIM modeling and real-time rendering method provided by the present invention, step 8 includes: Step 8.1: Encapsulate the API interfaces for rendering backgrounds, adjusting lighting, and post-processing effects; Step 8.2: Based on the rendering parameters provided by the user, adjust the background color, lighting, and post-processing effects.

[0015] In a second aspect, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the BIM modeling and real-time rendering method based on parallel computing as described above.

[0016] Thirdly, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the BIM modeling and real-time rendering method based on parallel computing as described above.

[0017] Fourthly, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the parallel computing-based BIM modeling and real-time rendering method described above.

[0018] Compared with the prior art, the present invention has the following advantages: (1) Based on parallel computing technology, a multi-threaded architecture is adopted to separate modeling and rendering tasks, which significantly improves modeling and rendering efficiency.

[0019] (2) Design efficient and flexible parallel computing interfaces and task scheduling algorithms to enable rapid access to business models and real-time parameter updates.

[0020] (3) Strip away non-core functions, optimize system architecture, reduce coupling between functions, improve system maintainability and scalability, and achieve lightweight design. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0022] Figure 1 This is a flowchart illustrating the BIM modeling and real-time rendering method based on parallel computing provided by the present invention. Figure 2 This is a schematic diagram of the OpenSceneGraphic rendering engine functional modules provided by the present invention; Figure 3 This is a schematic diagram of the encapsulation of the universal modeling algorithm interface provided by the present invention; Figure 4 This is a schematic diagram of a parallel computing queue based on a multi-threaded architecture provided by the present invention; Figure 5 This is a schematic diagram of the Mesh triangulation operation provided by the present invention; Figure 6 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0023] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0024] It should be noted that, in the description of the embodiments of the present invention, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element. Those skilled in the art can understand the specific meaning of the above terms in the present invention according to the specific circumstances.

[0025] The terms "first," "second," etc., used in this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more.

[0026] The following is combined Figures 1-6 This invention describes the BIM modeling and real-time rendering method and device based on parallel computing provided in embodiments of the present invention.

[0027] Figure 1 This is a flowchart illustrating the BIM modeling and real-time rendering method based on parallel computing provided by the present invention, as shown below. Figure 1 As shown, including but not limited to the following steps: Step 1: Build a visualization and interaction framework based on the open-source rendering engine OpenSceneGraphic.

[0028] Figure 2 This is a schematic diagram of the OpenSceneGraphic rendering engine functional modules provided by the present invention. Optionally, step 1 includes: Step 1.1: Compile the data exchange and rendering modules in the open-source rendering engine OpenSceneGraphic; Step 1.2: Based on the API interfaces in OpenSceneGraphic, design a general Mesh data structure drawing interface and build a visualization interaction framework.

[0029] Step 2: Based on the open-source modeling engine OpenCascade, encapsulate BIM parametric modeling algorithm interfaces such as sweep, loft, and Boolean operations.

[0030] Figure 3 This is a schematic diagram of the encapsulation of the general modeling algorithm interface provided by the present invention. Optionally, step 2 includes: Step 2.1: Compile the modeling module in the open-source modeling engine OpenCascade; Step 2.2: Extract the modeling module API interface of OpenCascade and repackage it into an API module with general modeling functions.

[0031] Step 3: Based on the professional modeling and visualization requirements, the BIM modeling and rendering process is decomposed into several task units, and a parallel computing task execution queue is constructed to realize the dynamic allocation of computing resources.

[0032] Figure 4 This is a schematic diagram of a parallel computing queue based on a multi-threaded architecture provided by the present invention. Optionally, step 3 includes: Step 3.1: Based on professional modeling and visualization requirements, decompose the BIM modeling and rendering process into several task units; Step 3.2: Create a thread-safe parallel computing queue based on a multi-threaded architecture; Step 3.3: Assign task units to the parallel computing queue.

[0033] Step 4: Employ a load balancing strategy to perform parallel computations in batches, and call the encapsulated BIM parametric modeling algorithm interface to perform modeling calculations.

[0034] Step 5: Figure 5 This is a schematic diagram of the Mesh triangulation operation provided by the present invention. Based on the Mesh triangulation algorithm, the generated BIM model results are triangulated to generate a Mesh data structure suitable for real-time rendering.

[0035] Step 6: Based on the Mesh data structure generated in the previous step, attach the Mesh data to the scene tree of OpenSceneGraphic for real-time rendering.

[0036] Step 7: Determine if there are any unfinished tasks in the parallel computing execution queue. If so, proceed to step 4; otherwise, continue to step 8.

[0037] Step 8: Wait for all tasks in the parallel computing queue to complete. Then, according to the user's needs, render the background, adjust the lighting, and set the post-processing effects to complete a full BIM professional modeling and real-time rendering process.

[0038] Optionally, step 8 includes: Step 8.1: Encapsulate the API interfaces for rendering backgrounds, adjusting lighting, and post-processing effects; Step 8.2: Based on the rendering parameters provided by the user, adjust the background color, lighting, and post-processing effects.

[0039] The BIM modeling and real-time rendering method based on parallel computing provided by this invention has the following advantages compared with existing technologies: (1) Based on parallel computing technology, a multi-threaded architecture is adopted to separate modeling and rendering tasks, which significantly improves modeling and rendering efficiency.

[0040] (2) Design efficient and flexible parallel computing interfaces and task scheduling algorithms to enable rapid access to business models and real-time parameter updates.

[0041] (3) Strip away non-core functions, optimize system architecture, reduce coupling between functions, improve system maintainability and scalability, and achieve lightweight design.

[0042] Figure 6 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630, and a communication bus 640, wherein the processor 610, the communication interface 620, and the memory 630 communicate with each other through the communication bus 640. The processor 610 can call logical instructions in the memory 630 to execute a BIM modeling and real-time rendering method based on parallel computing, which includes: Step 1: Build a visual interaction framework based on an open-source rendering engine; Step 2: Based on the open-source modeling engine, encapsulate the BIM parametric modeling algorithm interface; Step 3: Decompose the BIM modeling and rendering process into independent task units, build a parallel computing task execution queue, and dynamically allocate computing resources; Step 4: Use a load balancing strategy to perform parallel computing in batches and call the encapsulated modeling algorithm interface to perform modeling calculations; Step 5: Triangulate the modeling results to generate a Mesh data structure suitable for real-time rendering; Step 6: Based on the Mesh data structure, attach the Mesh data to the scene tree of the visualization interaction framework for real-time rendering; Step 7: Determine if there are any unfinished tasks in the parallel computing execution queue. If so, proceed to step 4. If not, return to step 4. If not, continue to step 8. Step 8: Complete the parameter settings after rendering according to the user configuration.

[0043] Furthermore, the logical instructions in the aforementioned memory 630 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, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0044] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, the computer is able to execute the BIM modeling and real-time rendering method based on parallel computing provided in the above embodiments, the method comprising: Step 1: Build a visual interaction framework based on an open-source rendering engine; Step 2: Based on the open-source modeling engine, encapsulate the BIM parametric modeling algorithm interface; Step 3: Decompose the BIM modeling and rendering process into independent task units, build a parallel computing task execution queue, and dynamically allocate computing resources; Step 4: Use a load balancing strategy to perform parallel computing in batches and call the encapsulated modeling algorithm interface to perform modeling calculations; Step 5: Triangulate the modeling results to generate a Mesh data structure suitable for real-time rendering; Step 6: Based on the Mesh data structure, attach the Mesh data to the scene tree of the visualization interaction framework for real-time rendering; Step 7: Determine if there are any unfinished tasks in the parallel computing execution queue. If so, proceed to step 4. If not, return to step 4. If not, continue to step 8. Step 8: Complete the parameter settings after rendering according to the user configuration.

[0045] In another aspect, 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 perform the BIM modeling and real-time rendering method based on parallel computing provided in the above embodiments, the method comprising: Step 1: Build a visual interaction framework based on an open-source rendering engine; Step 2: Based on the open-source modeling engine, encapsulate the BIM parametric modeling algorithm interface; Step 3: Decompose the BIM modeling and rendering process into independent task units, build a parallel computing task execution queue, and dynamically allocate computing resources; Step 4: Use a load balancing strategy to perform parallel computing in batches and call the encapsulated modeling algorithm interface to perform modeling calculations; Step 5: Triangulate the modeling results to generate a Mesh data structure suitable for real-time rendering; Step 6: Based on the Mesh data structure, attach the Mesh data to the scene tree of the visualization interaction framework for real-time rendering; Step 7: Determine if there are any unfinished tasks in the parallel computing execution queue. If so, proceed to step 4. If not, return to step 4. If not, continue to step 8. Step 8: Complete the parameter settings after rendering according to the user configuration.

[0046] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part 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, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0047] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A BIM modeling and real-time rendering method based on parallel computing, characterized in that, The method comprises the following steps: Step 1: based on an open-source rendering engine, a visual interaction framework is built; Step 2: based on an open-source modeling engine, a BIM parametric modeling algorithm interface is encapsulated; Step 3: the BIM modeling and rendering process is decomposed into independent task units, a parallel computing task execution queue is constructed, and computing resources are dynamically allocated; Step 4: a load balancing strategy is adopted to execute parallel computing in batches, and the encapsulated modeling algorithm interface is called for modeling operation; Step 5: the modeling result is triangulated to generate a Mesh data structure suitable for real-time rendering; Step 6: based on the Mesh data structure, the Mesh data is hung to the scene tree of the visual interaction framework for real-time rendering; Step 7: it is judged whether there are still unprocessed tasks in the parallel computing execution queue, if yes, step four is executed, if not, step 4 is returned, and if not, step 8 is executed; Step 8: the parameter settings after rendering are completed according to user configuration.

2. The parallel computing based BIM modeling and real-time rendering method according to claim 1, wherein, Step 1 comprises: Step 1.1: compiling the data exchange and rendering modules in the open-source rendering engine OpenSceneGraphic; Step 1.2: designing a general Mesh data structure drawing interface according to the API interface in OpenSceneGraphic, and building a visual interaction framework.

3. The parallel computing based BIM modeling and real-time rendering method according to claim 1, wherein, The encapsulation of the BIM parametric modeling algorithm interface in step 2 comprises: Step 2.1: compiling the modeling module in the open-source modeling engine OpenCascade; Step 2.2: extracting the modeling module API interface of OpenCascade and encapsulating it as an API module with general modeling functions.

4. The parallel computing based BIM modeling and real-time rendering method according to claim 1, wherein, Step 3 comprises: Step 3.1: according to professional modeling and visualization requirements, the BIM modeling and rendering process is decomposed into a plurality of task units; Step 3.2: based on a multi-thread architecture, a thread-safe parallel computing queue is created; Step 3.3: the task units are allocated to the parallel computing queue.

5. The parallel computation based BIM modeling and real-time rendering method according to claim 1, wherein, The execution of parallel computing in step S4 comprises: Step 4.1: executing parallel computing in batches to avoid reaching the peak of memory and GPU memory; Step 4.2: performing BIM modeling and computing operation based on the encapsulated general modeling algorithm interface.

6. The parallel computation based BIM modeling and real-time rendering method according to claim 1, wherein, The method for triangulation processing is a Mesh triangulation algorithm.

7. The parallel computation based BIM modeling and real-time rendering method according to claim 1, wherein, Step 8 comprises: Step 8.1: encapsulating the API interface of rendering background, light adjustment and post-processing effect; Step 8.2: setting the background color, light adjustment and post-processing effect according to the rendering parameters input by the user.

8. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the computer program to realize the steps of the BIM modeling and real-time rendering method based on parallel computing according to any one of claims 1 to 7. 9.A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to realize the steps of the BIM modeling and real-time rendering method based on parallel computing according to any one of claims 1 to 7.

10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to realize the steps of the BIM modeling and real-time rendering method based on parallel computing according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • WebGL-based BIM model display and rendering method

    CN110309458B

  • BIM rendering method based on server and client cooperation

    CN112669428A