modification of meshToPointCloud() doesn't work