implemented point cloud generation