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.

GPU morph targets computing settings
Create Morph Targets at runtime from Mesh Files

Inputs

Parameter
Description

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

Parameter
Description

Return Value

Boolean

Returns true if the Morph Target was successfully created.

Last updated

Was this helpful?