Jop EdgeStitchTool

Jop EdgeStitchTool Logo


Overview

This digital asset is intented to build and animate garment edge stitching yarns.

It is usefull to enhance realism of your clothes close-ups by generating yarns as curves or meshes.
It provides several yarns distribution and animation options, as well as color and UV outputs for shading and rendering purposes.

Deformation of the source geometry is supported.

important

Yarn distribution is UV Texture based, so providing good UVs is the key to get good results!
They must be low distorted and overlap free.


Inputs

  • Surface Input : Geometry to grow yarns on.
    Expects static or deforming geometry with vertex UVs.

Parameters

Output

  • Yarn Width : The width of the yarns.

    tip

    To enable shaded yarns display in the viewport while in curve mode, enable "Shade Open Curves In Viewport" in the Geo's "Misc" tab.

  • Color Attribute : Choose the attribute to output as color (Cd).

  • Colorize : Colorize the random attribute.

  • Checker : Preview checkboard in UV mode.

  • Curves/Geometry Choose whether to output curves or geometry

    • Curves Mode
      • UV Space : Draw the curves in UV space.
      • Show Growth : Show curve growth while in UV mode.
      • Max Frames to Cache : Maximum frames to keep in cache, timeline length as default.
      • Clear : Reset the curve cache.
    • Geometry Mode
      • Display : Choose the attribute to output as color (Cd).
      • Checker : Preview checkboard in UV mode.
      • Max Frames to Cache : Maximum frames to keep in cache, timeline length as default.
      • Clear : Reset the geometry cache.
  • Preview 1 piece : Enable computing of only one piece, usefull to preserve performances while tweaking animation.
    Choose which piece number to compute.

Settings

Initialization

  • Reference Frame : Choose the reference frame for curve generation.
    Default is first timeline frame.

  • Stitch Group : Choose or set an exclusive yarn initialization group.

  • Stitch UV Texture : Choose the uv attribute to initialize the yarns distribution.

  • Yarn Count : The yarn count per piece.

  • Step Length : The yarns step length.

  • Step Balance : Balance between over and under parts length of the yarn.

  • Height : Set the yarns initial push from surface.

  • Surface Thickness : Simulates the surface thickness.

  • Subdivide : Curve subdivision, higher value increases the overall curve sampling quality.

  • Margin

    • Minimum : The minimum distance from borders.
    • Maximum : The maximum distance from borders.
    • Distribution : The margin distribution curve.
  • Cross Stitches This tab will remain disabled until you set the yarn count to more than 1.
    Cross stitches are built every two yarns.
    E.g. If you set 5 yarns, you'll get cross stitches between 1-2 and 3-4, 5 will not be affected.

    • Enable : Enable first way cross stitching.
    • Enable Zag : Enable second way cross stitching.
    • Zag Overlap : Push the zag peaks to come over the zig ones.
    • Under : Enable to place cross stitches under the surface. Disable to place on top.
    • Crosses Only : Enable to only output crossing yarns.
    • Overall Push : Overall push away from surface multiplier.

Growth

  • Enable : Enable the yarn growth animation.

  • Grow : Grow value along curve.

  • Alternate Balance : Randomize the grow direction from one way to the other.

  • Grow Speed : Local yarn growth speed curve.

  • Grow Mode Choose the yarn growth mode

    • Global No parameter in this mode. Global, even yarn growth.

    • By Piece Grow the yarns in order of their parent geometry piece number (i.e. UV islands).
      The first point found on each piece is used for position based sampling.

      • Blend : Overlaps growth values between pieces.
      • Sorting : Piece sorting mode.
      • Reverse Sort : Reverse the sorting.
      • In UV Space : Switch to UV space sorting.
    • Noise Grow the yarns using global noise function in UV space.

      • Noise Strength : The strength of the noise.
      • Noise Frequency : The frequency of the noise.
      • Seed : The seed of the noise.
    • By Yarn Grow by yarn order. The first point of the yarn is used for position based sampling.

      • Blend : Overlaps growth values between yarns.
      • Sorting : Piece sorting mode.
      • Reverse Sort : Reverse the sorting.
      • In UV Space : Switch to UV space sorting.
  • Push Tips

    • Enable : Enable the tip displace.

    • Normalized : Normalize the push amplitude using the longest yarn.
      This way the push distance will be proportional to the yarn length.

    • Shape Influence : Weight the displace using initialized yarn points distance and direction from the underleying surface.

    • Smooth Tips : Smooth tips points positions.

    • Displace

      • Strength : The tip displace global multiplier.
      • Variation : Per yarn displace variation.
      • Seed : Displace variation seed.
      • Grow Fade : Displace fading curve over animation length.
    • Curve

      • Tip Curve : Displace multiplier curve along the yarn.
      • Variation : Per yarn tip curve variation.
      • Seed : Curve variation seed.
    • Noise

      • Strength : The strength of the tip noise. The noise is aligned to the surface.
      • Push Multiplier : Noise multiplier in the direction of the surface normal.
      • Frequency : The frequency of the tip noise.
      • Seed : The random seed of the tip noise.

Meshing

  • Division : The side count of the generated mesh.

  • Deform/Rebuild Choose between the two meshing modes.

    • Deform Mode : Mesh computes only once at reference frame, then updates following underlying geometry.
      Faster at high growth values, consistent topology, accumulations at curves starts.
    • Rebuild Mode : Mesh updates at every frame.
      Faster at low growth values, non-consistent topology, accumulation free.