Transforming 3D mesh surfaces into images by parameterization