The invention discloses a multi-precision
dynamic loading and performance optimization rendering method for a hydroelectric generating set model. The method comprises three stages of multi-precision model construction, multi-precision model
dynamic loading and rejection, and adaptive rendering optimization. And a multi-precision model construction stage: performing component extraction on the original model file to generate high, medium and
low resolution multi-precision models, and converting the models into a GLTF format to improve the loading efficiency. And a
dynamic loading and rejecting stage: reading the multi-precision GLTF file, generating a geometric model by applying the conversion matrix, constructing an LOD model according to the
sight distance, and rejecting only the visible part in the loading visual field through a view cone to reduce the rendering calculation amount. And an adaptive rendering optimization stage: monitoring the
frame rate in real time, dynamically adjusting the resolution when the
frame rate is relatively low, simplifying material illumination, forbidding
special effects such as shadow and the like, ensuring stable rendering performance, and finally outputting an optimized three-dimensional scene. According to the method, the rendering speed and fluency of the
water turbine model are remarkably improved, and the method is suitable for the real-time
visualization requirement of a complex three-dimensional scene.