Latest news
Tips & GuidesHoudini

Improving Cloth Simulation in Houdini Vellum: A Step-by-Step Guide

Based on SideFX’s Houdini documentation, this guide outlines a workflow for improving cloth simulations in Vellum, from constraint geometry to substep and collision settings.

Contemporary interior with flowing fabric curtains in daylightAI image
Representative image, generated with AI.Image: 3dsınıfı / FCA AI

In brief

  1. The Cloth type in Vellum Constraints SOP creates distance and bend constraints together.
  2. For excessive stretching, SideFX recommends trying a Substeps value of 2 or 5 as an initial step.
  3. SideFX considers a Collision Passes value of 10 suitable in most cases; when seeking better quality, it also recommends evaluating the number of substeps.
  4. In Vellum, the points in the simulation geometry and constraint geometry must have a one-to-one correspondence.

Guide scope and how Vellum works

This guide draws on SideFX’s Houdini documentation for Vellum Constraints SOP and Vellum Solver. Both documents state that the relevant nodes have been available “Since 17.0,” meaning since Houdini 17.0. Check the documentation for your version to confirm which options are available in your Houdini installation.

In Vellum, the surface itself and the rules that shape it are stored in separate geometries. The simulation geometry handles display and collisions, while the constraint geometry stores relationships between points. The points in the two structures must correspond one to one. So when troubleshooting simulation issues, look not only at the cloth’s appearance, but also at whether the constraint structure has been set up correctly.

1. Choose cloth constraints and a bend approach

To give incoming geometry cloth-like behavior, use the “Cloth” type in Vellum Constraints SOP. It combines distance constraints, which preserve edge lengths, with bend constraints, which preserve the angles between triangles. This lets you define the cloth’s stretching and folding behavior separately.

With “Stretch Type,” “Triangle Stretch” can reach a target stiffness level faster than “Distance Along Edges” on high-resolution cloth. However, it does not provide anisotropy through “Enable Warp/Weft.” So this option may be worth considering when fast convergence is a priority at high resolution; if the cloth needs to behave differently in different directions, its anisotropy constraint should be taken into account.

The options under “Bend Type” produce different results. “Angle” uses the initial angle between neighboring triangles and provides an effect that is relatively independent of topology changes; the constraint does not lock up even if triangles bend inside out. “Distance” preserves the distance between opposing vertices of triangles. Although it can be faster, it cannot recover inverted triangles, and its effect can vary depending on the mesh structure and initial angle.

2. Troubleshoot stretching and convergence separately

“Substeps” in Vellum Solver divides each frame into smaller time steps during solving. Fast motion, sudden forces and rapid collisions may require more substeps. If the cloth stretches more than expected, SideFX recommends initially trying a Substeps value of 2 or 5. These values are starting points for testing, not guaranteed settings for every scene.

“Constraint Iterations” determines how many times constraints are reevaluated during each substep. Stiff constraints may require more iterations to reach the target behavior. SideFX’s starting guideline is the number of edges between the two farthest points in the mesh. Rather than choosing a fixed value, consider the geometry’s scale and structure.

SettingRecommended valueEffect
SubstepsTry 2 or 5Helps address excessive stretching, rapid collisions and sudden forces.
Collision Passes10 in most casesDetermines the number of collision checks between constraint iterations.
Smoothing IterationsDefault: 10 passesHelps distribute residual error from constraint solving more evenly.
Post Collision PassesNumber of layers + 2SideFX’s estimated starting point for the final collision correction.

These are general usage notes from the documentation; they do not mean the same values should be used in every cloth scene. If the issue is collision-related, check the collision settings rather than simply increasing the iteration count.

3. Adjust collision passes to suit the scene

“Enable Collisions” globally turns collision detection on or off, while “Self Collisions” controls collisions between parts of the geometry itself. For cloth that folds back on itself, checking the self-collision settings helps confirm whether the simulation accounts for these interactions.

“Collision Passes” determines how collision checks are interleaved with constraint solving. Since collision calculations are costly, avoid increasing the number of passes unnecessarily. On the other hand, checking collisions more frequently can help reduce cases where small collision geometry conflicts with constraints trying to keep the cloth from stretching. SideFX considers a value of 10 suitable for most uses; if quality issues persist, also test whether increasing the number of substeps is a better option.

“Post Collision Passes,” which runs after all constraints have been completed, provides a final collision correction. For layered cloth, SideFX recommends adding 2 to the number of stacked layers as an estimated starting point. “Polish Passes” attempts to resolve detected colliding pairs in additional passes; because no new collision search is performed at this stage, the operation is relatively inexpensive.

4. Consider a secondary constraint pass for performance

When constraints do not fully converge in high-stiffness or difficult configurations, unwanted artifacts can remain in the triangles. “Smoothing Iterations” attempts to soften the result by spreading these errors over a wider area. SideFX specifies 10 passes as the default; if the total number of Constraint Iterations is very high, this value may also need to be reconsidered. This approach can slow convergence, so it should not be assumed to improve performance in every case.

For fabrics with low bend resistance, such as silk or cotton, bend constraints may not need to be solved during every main pass. “Secondary Constraint Pass” moves the selected constraint group to a separate pass. For example, when “Solve Frequency” is 0.25, the secondary pass runs at one quarter the frequency of the main pass. Distance constraints should continue to be solved on every pass. SideFX specifically notes that this approach is not practical for stiffer materials such as leather.

Impact on architecture and archviz workflows

Architecture and archviz teams working with simulation-driven elements such as curtains, fabric drapes or soft furniture surfaces can use these settings to categorize problems. Checking that the constraint geometry matches correctly, then examining stretching, bending and collision behavior, provides a more traceable testing workflow than increasing all values at once.

The documentation does not provide information on specific hardware requirements, simulation times, licensing conditions or render compatibility. As a result, it is not possible to make performance claims or hardware recommendations. It is good practice to test changes one at a time on small tests and check the documentation for the Houdini version in use.

Common mistakes

  • Overlooking the one-to-one point correspondence between simulation geometry and constraint geometry.

  • Increasing Constraint Iterations for excessive stretching without evaluating Substeps.

  • Assuming that more Collision Passes is the best solution in every scene.

  • Not accounting for the fact that Triangle Stretch does not provide anisotropy support.

  • Assuming a low Solve Frequency is also suitable for stiff fabrics.

When changing settings, targeting one issue at a time makes it easier to identify which choice caused the result. For example, test substeps separately for stretching and collision passes separately for collision-related issues.

Sources

2 sources
S
sidefx.comsidefx.com/docs/houdini/nodes/dop/vellumsolver.html
Summary
S
sidefx.comsidefx.com/docs/houdini/nodes/sop/vellumconstraints.html
Summary

Source texts are not republished; short quotes are marked, everything else is our own summary and commentary.

3dsınıfı’s take
3dEditor’s assessment

For architecture and visualization studios in Turkey, the practical strength of this guide is that it does not attribute every cloth simulation problem to a single setting. Checking geometry matching, constraint type, substeps and collision passes in sequence can make the testing process easier to follow.

Since the documentation provides no hardware requirements or time comparisons, studios should run short tests on their own scenes. Changing settings one at a time, avoiding secondary constraint passes for stiff materials, and checking the documentation for the relevant version can help reduce unnecessary repetition.

Frequently asked questions

Which setting should I try if cloth stretches too much in Houdini Vellum?

SideFX recommends trying a Substeps value of 2 or 5 as a good first step. Rapid collisions and sudden forces may also require more substeps.

What should Collision Passes be set to for a Vellum cloth simulation?

SideFX considers a value of 10 suitable in most cases. It also recommends evaluating the number of substeps when seeking better quality.

Which constraints does Vellum Constraints SOP create for cloth?

The Cloth type creates both constraints that preserve edge distances and bend constraints between triangles. Stretch Type and Bend Type options are also available to control stretching and bending behavior.

Comments and the forum are in Turkish.Join the discussion
+

Related news