The invention relates to a
volume rendering visualization method based on the sampling. Firstly convert the volume data into 3D
texture memory; then design a bounding box containing all the volume data with the rectangular coordinate
system origin as the center, set the initial corresponding relation of 8 vertex coordinates and color values to have the bounding box rotating around the center and calculate the new coordinates of the bounding box after rotating by the self-defined
rotation matrix; after point coordinates inverse rotation and linear transformation to the intersection points of the
cutting plane perpendicular to the
line of sight and the edges of the bounding box to get the corresponding color values, color
convex polygon sampling plane can be obtained through GPU trilinear interpolation calculation; with the color value of each point of the sampling plane as the coordinate, the 3D texture volume data can be sampled to perform the color composition calculation; change the step value to have the
cutting plane advancing along the light of
sight until the
cutting plane does not intersect with the bounding box and draw the final image. The method calculates large amounts of sampling coordinates point of the polygon sampling plane at one time, thus improving the program parallelism, reducing the
workload and improving
volume rendering speed remarkably.