|
| 1 | += GameDev PolyDeform = |
| 2 | + |
| 3 | +#type: node |
| 4 | +#context: sop |
| 5 | +#internal: gamedev::sop_polydeform |
| 6 | +#icon: SOP/lattice |
| 7 | +#tags: tech, model, gamedev |
| 8 | + |
| 9 | +""" Warps a source mesh to match the shape of a target """ |
| 10 | + |
| 11 | +This node will deform a source mesh towards the shape of a target. |
| 12 | + |
| 13 | +[Image:/images/polydeform.png] |
| 14 | + |
| 15 | +In this image we have the pig head being deformed into a sphere, cube and tube. |
| 16 | + |
| 17 | +This is very helpful in generating variations of one asset towards another asset. It is similar to a wrap deform, but without the need of a deforming cage. |
| 18 | + |
| 19 | +@parameters |
| 20 | + == Base Settings == |
| 21 | + Retain Features: |
| 22 | + Mantain High Frequency details while doing low frequency modifications to the mesh. 0 means match the target entirely, 1 means retain all of the details |
| 23 | + Shape Blend: |
| 24 | + Scalar from 0-1 to control the transition and ease out in case the deformation is too aggressive |
| 25 | + Low Res Preview: |
| 26 | + In case of high res inputs, this toggle will do a low res remesh of the input mesh in order to generate a valid preview representation of the operation |
| 27 | + Equalize Input Scale: |
| 28 | + Make both the source and target meshes the same size |
| 29 | + == Smoothing == |
| 30 | + Smoothing Method: |
| 31 | + Set the method for weighing neighbor contributions on position and normal smoothing options. |
| 32 | + |
| 33 | + Uniform: |
| 34 | + Smooth evenly regardless of their distance from one another. |
| 35 | + Edge Length: |
| 36 | + Smooth accounting for the fact that some points may be closer than others. This option preserves relative distances between points, which is especially useful when points on the input are unevenly distributed. |
| 37 | + Global Iterations: |
| 38 | + The number of times the input geometry is smoothed. This works as in Delta Mush where only the displacement is smoothed, preserving initial detail in the skin mesh. |
| 39 | + Falloff Iterations: |
| 40 | + Smooth the area of skin where the skin drapes away from the peak displacement. In contrast to Global Iterations this type of smoothing will not reduce the amount of displacement. |
| 41 | + Normal Iterations: |
| 42 | + Smooth the point normals used for projection. Note that this will have no effect if displacement is computed purely from muscle centers (when Normal Projection Mixing is set to 0). |
| 43 | + Step Size: |
| 44 | + This controls the size of each smoothing step for all types of smoothing iterations. |
| 45 | + |
0 commit comments