The invention relates to the technical field of rendering optimization, in particular to a C + + rendering method and
system for city-level 3D
Gaussian splashing, and the method comprises the following steps: obtaining a building boundary and a height grid, calculating an included angle between a building and a
visual angle, superposing a
height difference and a shielding rate to obtain an
interference graph, screening a sphere with a low fusion value, generating a visual unit table, and judging an idle level through a mapping thread. And
ranking the rendering sequence, and generating a rendering parameter set by combining a
terrain gradient set
radius. The visual interference degree of each area is accurately evaluated, three factors of shielding,
delay and cache failure are subjected to normalization fusion evaluation, redundant sphere units influencing the visual effect and performance are effectively filtered, a spatial index position is matched according to the thread idle capability level in the rendering
thread scheduling process, the thread utilization efficiency is improved, and the rendering
thread scheduling efficiency is improved. The
Gaussian sphere
radius is adjusted through the
contour line gradient, the visual expression consistency of different
terrain complexity areas in the scene is enhanced, and dynamic optimization rendering distribution of
Gaussian splashing in the city-level three-dimensional scene is achieved.