uniform sampling on meshes