Houdini 16.5 Cloth

How to make creases in fabric

In this example, we will make a crease in a simple tube, since it is similar to a pant leg.

  1. Create a Tube, change its Primitive Type to Polygon, and add increase the Rows and Columns to a reasonable level of details. In this example, the tube has and Height of 5 , 40 Rows and, 50 Columns.

  2. Select an edge for your crease.

  3. With the edge selected, create a group by pressing ⇥ Tab in the viewport and typing Group Geometry.

  4. Give the edge group a Group Name. For example, crease.

  5. In the network editor, add an Attribute Create after the Group node and in the Group parameter, use your edge group name. For example crease.

  6. Click the button two more times to create a total of three attributes.

  7. Name the first attribute shellstretchstiffness, with a Default of 1, and a Value of 3. Do the same thing for two more attributes: shellshearstiffness and shellweakbendstiffness. This will make the crease 3 times as stiff as the rest of the pant leg.

  8. Use the Cloth Object shelf tool to turn the tube into a cloth object.

  9. For this example we will simply pin the top of the tube so it does not fall by clicking the Follow Target shelf tool, and choosing the top loop of the tube to constrain.

    Note

    In a real-life example you would be attaching the pants to the waist using the Attach to Body on the Cloth shelf tab and following the prompts. See How to create a simple cloth skirt and attach it to a character.

  10. Add an Edit SOP before the DOP Import node and model the crease by selecting the edge again and transforming it out as far as you want it.

    Tip

    You can type your edge group name, for example crease in the Group parameter to quickly select the edge to transform. Additionally, increasing the Soft Radius will make a more natural looking crease.

  11. Press play on the Playbar to view the simulation. Your cloth should hang with a stiff crease.

Cloth

Getting Started

Next Steps

Troubleshooting

How to