version with export pointcloud