Retarget blendshapes between meshes with the same topology. Scale and rotation deltas are calculated between the two meshes. If the geometry is very different a smoothing algorithm can be applied.

Installation

Copy the rjRetargetBlendshape folder to your Maya scripts directory:

C:\Users\<USER>\Documents\maya\scripts

Usage

Command:

import rjRetargetBlendshape 
rjRetargetBlendshape.convert( 
    source, 
    blendshape, 
    target, 
    scale=True, 
    rotate=True, 
    smooth=0, 
    smoothIterations=0, 
    space=OpenMaya.MSpace.kObject
)

Display UI:

import rjRetargetBlendshape.ui 
rjRetargetBlendshape.ui.show()

Note

Retarget your blendshapes between meshes with the same topology. There are a few options that can be helpful to achieve the desired results.

  • Scaling your delta depending on the size difference between the source and the target vertex.

  • Rotating the delta depending on the normal difference between the source and the target vertex.

  • Smoothing based on the vertex size between the retarget mesh and the blendshape mesh.