The application discloses a tunnel
point cloud real-time rendering method and
system based on GPU acceleration, belongs to the technical field of
computer graphics and
tunnel engineering detection, and comprises the following steps: acquiring
laser point cloud data and converting the
laser point cloud data into a binary
data file, performing coordinate normalization
processing and
color mapping processing on the point
cloud data; in combination with the thin shell geometric characteristics of the tunnel point cloud, a self-adaptive point
diameter algorithm of surface density
estimation is adopted to calculate display point diameters matched with the tunnel geometry; a circular point element drawing method based on a programmable
graphics pipeline is adopted to process the point
cloud data, and each sampling point is drawn as a circular point element with continuous edge transition; according to a depth buffer eye-dome lighting post-
processing method, color and depth are drawn twice, multi-directional neighborhood depth is weighted and differentially accumulated in a
screen space, and is mapped into a light-dark modulation coefficient through an exponential response, so that the tunnel point cloud real-time rendering is completed, real-time interactive display can be realized, and the method is suitable for tunnel geometric shape analysis and apparent
disease detection.