The way cloth stretches and bends is very important. How much and how fast it wrinkles is what makes cloth look like a certain material over another. Making sure the
pscale attribute is the correct size can be complicated when dealing with mass, scale, and topology, which makes it difficult to make any material look consistent across resolutions. The Vellum Constraints node now has options to adjust the size of the cloth automatically.
As you increase the resolution within a reasonable range, you should see the cloth behave generally in the same way and have similar material behavior. The bends that are created as cloth folds now look qualitatively similar without having to do much adjusting.
Calculating mass and thickness
In Houdini 17.5 and earlier, the Mass was Set Uniform by default. In Houdini 18, you now have the option to Calculate Uniform, which will find the mass of the entire object and split it evenly amongst all of the points. However if you have an object that has a lot of varying mass per point (areas of higher resolution), splitting mass evenly could create artifacts. The new default behavior is to Calculate Varying, which will give each point a mass comparative to how much area is around it. Points in very dense areas become lighter, and points in really sparse areas become heavier.
The default Density on the Vellum Constraints node is set to work with cloth. However all of the tools that set up volumes or hair will explicitly will set different density values. For example the default density of cloth is
0.1, tetrahedral softbodies are
100, and hair is
Thickness has the same options as the Mass parameters. Calculate Uniform determines the thickness based on the average length of the edges in each piece, scaled by the Edge Length Scale parameter. This setting generally avoids excess self-collisions while maintaining uniform thickness. This is the default, because when thickness is the same over the whole object it will lie flat, which is what cloth is expected to do. If there is varying thickness in a piece of cloth, where densely sampled areas are thinner, the cloth wouldn’t lie flat. You can still choose Calculate Varying which automatically shrinks the
pscale in areas with dense triangles and is larger in places with less triangles. This is useful for characters since it is likely that you will have highly varying resolutions where the pscales will overlap. For example, the area around the eyes. There is a checkbox called Visualize Thickness, which allows you to visualize the
pscale without sending it through the solver.
pscale when Thickness is set to Calculate Uniform in a dense area.
pscale when Thickness is set to Calculate Varying in a dense area.