Latest news
Tips & GuidesHoudini

Houdini Vellum Cloth Simulation: A Guide to Getting the Settings Right

Setting up cloth simulation in Houdini Vellum requires correctly matching constraint types, geometry connections, and solver settings. This guide explains the options and workflow in the SideFX documentation step by step.

A naturally draped fabric curtain in a contemporary interior filled with daylightAI image
Representative image, generated with AI.Image: 3dsınıfı / FCA AI

In brief

  1. The Vellum Solver’s first input takes the surface geometry to solve, its second takes matching points and constraints, and its third takes collision geometry.
  2. For cloth constraints, the Vellum Constraints SOP can create both edge-length and triangle-based bending constraints.
  3. If the simulation stretches too much, increasing the substeps to 2 or 5 is among the first tests recommended in the documentation.
  4. Global substeps can use more memory per frame; increase them only when needed.

When setting up cloth simulation with Vellum in Houdini, the SideFX documentation for the Vellum Constraints SOP and Vellum Solver describes preparing constraint geometry, point correspondence, and collision inputs together. Both nodes are listed in the documentation as available since Houdini 17.0. The steps below draw on the options described in that documentation to help control cloth behavior and diagnose stretching or collision issues in a simulation.

1. Prepare the geometry and inputs

The Vellum Solver works with three inputs. The first is the surface geometry to simulate. The second must contain constraint geometry with the same number of points as the first geometry, with point-to-point correspondence. This correspondence can be established by point numbers or the id attribute. The second input also contains the special primitives that define constraint relationships. The Vellum Constraints SOP can create the constraint geometry.

The third input is for collision geometry. This geometry must retain the same topology from frame to frame; the documentation also notes that some packed geometry types are recognized. Checking these correspondences before the simulation starts makes it easier to catch incorrectly connected constraints or unexpected collisions.

The first input and first output of the Vellum Constraints SOP are for display/collision geometry, while the second input and second output are for constraint geometry. A one-to-one point correspondence between the two geometries is important for downstream nodes to work correctly.

2. Choose cloth constraints

In the Vellum Constraints SOP, the Cloth constraint type creates both edge-length constraints and bending constraints between triangles. Ready-made macros in the node’s tab menu can be used for common setups; the documentation gives the Vellum Configure Cloth macro as an example.

The Stretch Type setting plays a key role in how the cloth stretches. On high-resolution cloth, Triangle Stretch converges on the target stiffness faster than Distance Along Edges. However, it does not support anisotropy through Enable Warp/Weft. So the choice should depend not only on mesh resolution, but also on whether the cloth needs to behave differently in different directions.

When choosing a Bend Type, the priority is how bending behavior should be controlled. Angle is based on the initial angle relationship between triangles; its force can remain more consistent even if the mesh changes, and reversing the bend does not lock the solve. Distance uses the separation between opposing points; although it can be faster, the result is more affected by mesh layout and initial angles. It also cannot undo a bend that has flipped. The faster option, therefore, does not always mean a more stable result.

SettingRecommended valueEffect
SubstepsIf the cloth stretches, first try 2 or 5Splits each frame into smaller simulation steps; fast collisions or sudden forces may require more steps.
Constraint IterationsGeometry diameter as a starting guidelineDetermines how many times constraints are applied per substep; stiff constraints may need more iterations.
Smoothing IterationsDefault: 10 passesCan distribute residual error more evenly with high stiffness or unsolvable configurations.
Collision Passes10 for most casesDetermines collision checks between constraint iterations; collisions are costly, so assess substeps before increasing this value.
Post Collision PassesNumber of stacked layers + 2Helps resolve collisions after the final constraint operations.

3. Tune the solver for cloth

In cloth simulation, Full mode provides all of Vellum’s features. Minimal mode is streamlined for fast substeps and is aimed especially at large grain or fluid simulations. In this mode, external collision geometry must be prepared with the VDB Collider SOP; changing constraint topology is not supported. Animated pins and attach-to-geometry constraints are also unavailable, and built-in wind works only with grains and fluids. Keep these limitations in mind when choosing a mode for cloth setups that need those features.

Substeps determines how many parts each frame is divided into. Fast-moving collisions or sudden forces may require additional steps. The documentation suggests trying 2 or 5 first if the simulation stretches too much. Constraint Iterations controls how many passes are used to apply constraints in each substep. Stiff constraints may need more passes to converge; as a starting guideline, consider the geometry’s diameter in terms of the number of edges between its most distant points.

Smoothing Iterations helps spread residual error when the constraint solve does not fully converge because of very high stiffness or configurations that cannot be satisfied. The default is 10 passes; you may also need to increase this value if the general Constraint Iterations count is set very high. For collision checks, first verify Enable Collisions and, if needed, Self Collisions. Since collisions are costly, assess the number of substeps and the final collision cleanup together rather than increasing passes indiscriminately.

Global Substeps and Substeps do not serve the same purpose. Global substeps are useful especially when exporting substepped geometry or when colliding objects need custom substeps. However, they use more memory per frame, and all intermediate steps are stored. So if only the final simulation output is needed, test whether increasing this setting is necessary.

4. Adapt the workflow for architectural visualization

Cloth simulation can help visualization teams prepare the movement of soft surfaces such as curtains and coverings in interior presentations. A practical first step is to match the constraint type to the intended behavior: considering stretch constraints that control how the cloth extends separately from bending constraints that affect its folds makes it easier to identify the source of a problem. Keep the collision and surface geometry consistent throughout the scene as well.

The simulation cache state matters each time you change a setting. The Vellum Solver can cache the simulation in memory with Cache Enabled. In a DOP simulation, changing a parameter or a referenced external node invalidates the cache. If automatic resimulation is enabled, reaching simulation time zero on the timeline can clear the cache and recalculate the first step. If it is disabled, use the Recook Simulation button to recalculate.

Common mistakes

  • Running the simulation without verifying point correspondence between the first and second inputs.

  • Ignoring changes to the collision geometry’s topology from frame to frame.

  • Attributing excessive stretch only to constraint stiffness without assessing the number of substeps.

  • Increasing passes without control to improve collision quality; collision calculations are costly.

  • Overlooking Minimal mode’s limitations on changing constraint topology, animated pins, and attach-to-geometry constraints.

  • Evaluating an old result after simulation inputs change without recalculating the invalidated cache.

Sources

2 sources
S
sidefx.comsidefx.com/docs/houdini/nodes/sop/vellumconstraints.html
Summary
S
sidefx.comsidefx.com/docs/houdini/nodes/sop/vellumsolver.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 offices in Turkey, Vellum’s practical value lies in making it possible to prepare not only the shape of cloth but also its movement consistently within a scene. Correct input correspondence and a suitable constraint type at the outset can reduce troubleshooting time. Especially during pre-delivery tests, tracking when the simulation cache becomes invalid can help prevent confusing an old result with one generated using new settings.

The documentation does not specify hardware requirements or licensing costs, so it is important for offices to measure memory usage and solve times in their own scenes. They should account for the memory demands of global substeps and the computational cost of collision passes. Testing the quality-cost balance in a small test scene first makes for a more informed decision when moving to full-scale production.

Frequently asked questions

Which constraint type should you use for cloth simulation in Houdini Vellum?

The `Cloth` constraint type creates edge-length constraints and bending constraints between triangles. The `Stretch Type` and `Bend Type` options provide further control over stretching and bending behavior.

What can you do if cloth stretches too much in the Vellum Solver?

The SideFX documentation recommends increasing `Substeps` to 2 or 5 as a good first test if the simulation stretches too much. You may also need to review `Constraint Iterations` to help stiff constraints converge.

What are the Vellum Solver’s three inputs for?

The first input takes the surface geometry to solve, and the second takes constraint geometry with matching points. The third input is for collision geometry, which must retain the same topology from frame to frame.

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

Related news