One possibility would be to subdivide the surface some number of times
and then measure the length of each edge. The edges will naturally be
"U" or "V" edges aligned with the Ptex texture parameterization. You
want to size the texture for each face based on the longest of the U
and V edges.