After iterating through all 3D points, a list of georeferenced points in 3D and known color is obtained. In the final step, Delaunay triangulation is performed to transform these points into a mesh of polygons that are output as a PLY (polygon file format) file, which can be opened in a 3D model viewer.