Description
MeshWrap (v1) Experimental
Dataflow node for wrapping one mesh's topology to another mesh's shape. Uses point landmarks defined by the Mesh Wrap Landmarks node to match corresponding points between the two meshes.
Input(s) : SourceTopologyMesh - Input mesh with the desired wrapped mesh topology. TargetShapeMesh - Input mesh with the desired wrapped mesh shape. SourceTopologyLandmarks - Landmarks defined on SourceTopologyMesh. TargetShapeLandmarks with matching Identifiers will be used to find correspondences that help improve the wrap. TargetShapeLandmarks - Landmarks defined on TargetShapeMesh. SourceTopologyLandmarks with matching Identifiers will be used to find correspondences that help improve the wrap.
Output(s): WrappedMesh - Output wrapped mesh. MatchedLandmarks - Landmarks matched by Identifier from SourceTopologyLandmarks and TargetShapeLandmarks.
Information
| Module | MeshResizingDataflowNodes |
| Category | MeshResizing |
| Tags | Mesh Wrap |
| Type | FMeshWrapNode |
Parameters
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| MaxNumOuterIterations | Mesh Wrap is calculated with an inner and outer loop. This is the maximum number of outer loops. Each outer loop increases the Projection Stiffness by ProjectionStiffnessMultiplier. | int32 | 10 |
| NumInnerIterations | Mesh Wrap is calculated with an inner and outer loop. This is the number of inner loops run before increasing the Projection Stiffness in the outer loop. | int32 | 20 |
| ProjectionTolerance | Mesh Wrap will terminate early if the Projection tolerance is within this threshold. | float | 0.000100 |
| LaplacianStiffness | Weight of mesh wrap to retain Source Topology mesh features. | float | 1.000000 |
| InitialProjectionStiffness | Initial weight of mesh wrap to match projected Target Shape. Each outer loop will multiply this stiffness by ProjectionStiffnessMultiplier. | float | 0.100000 |
| ProjectionStiffnessMuliplier | Each outer loop will multiply InitialProjectionStiffness by this to improve Target Shape match. | float | 10.000000 |
| CorrespondenceStiffness | Weight of mesh wrap to match Landmark correspondences. | float | 1.000000 |
| DefaultDisplayMaterial | Display material for Source or Target when none is supplied. | TObjectPtr<UMaterial> | None |
| bDisplayLandmarks | Display landmarks. | bool | True |
| bDisplaySource | Draw source mesh. | bool | False |
| SourceDisplayOffset | Offset of source mesh display for side-by-side drawing. | float | -150.000000 |
| bDisplayTarget | Draw target mesh. | bool | False |
| TargetDisplayOffset | Offset of target mesh display for side-by-side drawing. | float | 150.000000 |
Inputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| SourceTopologyMesh | Input mesh with the desired wrapped mesh topology. | TObjectPtr<UDataflowMesh> | None |
| TargetShapeMesh | Input mesh with the desired wrapped mesh shape. | TObjectPtr<UDataflowMesh> | None |
| SourceTopologyLandmarks | Landmarks defined on SourceTopologyMesh. TargetShapeLandmarks with matching Identifiers will be used to find correspondences that help improve the wrap. | TArray<FMeshWrapLandmark> | |
| TargetShapeLandmarks | Landmarks defined on TargetShapeMesh. SourceTopologyLandmarks with matching Identifiers will be used to find correspondences that help improve the wrap. | TArray<FMeshWrapLandmark> |
Outputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| WrappedMesh | Output wrapped mesh. | TObjectPtr<UDataflowMesh> | |
| MatchedLandmarks | Landmarks matched by Identifier from SourceTopologyLandmarks and TargetShapeLandmarks. | TArray<FMeshWrapCorrespondence> |