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.