Blendshapes¶
Blends input geometry according to blendshape weights. Along with geometric blending the node also provides a real-time preview of texture blending.
Inputs¶
- base geometry
Geometry
A mesh that will be used as a neutral state during blending- blend 0 - blend 2
Geometry
(optional) This mesh is used as target blendshape when blending. If all the inputs of the node have textures, the blending will be performed not only between the models but also between the textures
Output¶
Geometry
If fast texture blending preview is disabled, it returns a blended mesh. All the visual properties and a texture of the resulting mesh are copied from the base geometry. If fast texture blending preview is enabled, it returns a copy of base geometry
Parameters¶
- fast texture blending preview
enables real-time preview of geometric and texture blending. The preview is only visible inside Visual editor tab and does not affect the output geometry. Texture blending is only available if all the node inputs have textures, otherwise the base geometry texture is used. Textures are blended using the same rule that’s used for geometry: a weighted color difference between the target and the neutral texture is added to the neutral texture. If the fast preview is disabled, only geometric blending is computed and returned as the node output. The computation is much slower in this case.
- blend 0 - blend 2
a set of blendshape weights
Tip
This node can be used for transferring expression from existing set of blendshapes to a new character. Plug the neutral blendshape into the first input, the target expression into the second input and the neutral mesh of the new character to the third input. Setting all the blendshape weight to 1 will add the blendshape differences to the neutral expression of the new character. The resulting approximate expression can be used as a starting point for Wrapping or OpticalFlowWrapping node.