Create Morph Target from Mesh Files

Grabs the deltas between Base and Morph files and projects them on the Target Mesh and creates a Morph Target on the Target Skeletal Mesh. This node requires Base and Morphed files to be FBX/OBJ format. Base and Morphed files are required to have same vertex count and order. Morph Targets are projected on all Target Mesh LODs. Projection is multi-threaded but can be very intensive on meshes with big data.

Unreal Engine 5.0.X requires Use GPU for computing morph targets disabled in project settings. This doesn't apply for UE 5.1 and above.

Creating Morph Targets at runtime will invalidate existing Morph Targets available in editor.

Inputs

ParameterDescription

Base File

Mesh Morpher FBXInput Structure (by ref)

FBX File and Import Settings of the Base FBX.

Morphed File

Mesh Morpher FBXInput Structure (by ref)

FBX File and Import Settings of the Morph FBX.

Name

Name

Morph Target Name.

Target Mesh

Skeletal Mesh Object Reference

Target Mesh to project Standalone Morph Targets on.

Max LOD

Integer

Maximum LOD Index on the Target Mesh to project the Morph Targets

Vertex Threshold

Float (double-precision)

Maximum Distance threshold between a vertex in the target mesh and a vertex in source mesh, at which they are considered to be correspondent.

Normal Incompatibility Threshold

Float (double-precision)

Normal threshold at which a triangle is deemed as incompatible. This helps to avoid triangle flipping during Projection.

Smooth Iterations

Integer

Smooth Iterations steps used to Smooth the resulted Projected Deltas.

Smooth Strength

Float (double-precision)

Smooth Strength used to Smooth the resulted Projected Deltas.

Smooth Type

EMeshMorpherSmoothTypes Enum

Smooth Type used to Smooth the resulted Projected Deltas.

Outputs

ParameterDescription

Return Value

Boolean

Returns true if the Morph Target was successfully created.

Last updated