Chapter 6 · Troubleshooting
6.1Common Situations and What Helps
Collision
| Situation | What helps |
|---|---|
| Volume collision on small characters and thin parts | Volume Only and Volume + Proxy resolve the collider on a voxel grid. On a small character, or on thin parts such as fingers, straps and belt edges, the grid is coarse compared with the detail, and the cloth rests on a blurred version of the shape. Use Surface (True Geometry), the default. If you need a volume system for speed, lower the row's Voxel from automatic until the grid is fine enough for the smallest feature that matters. |
| Proxy decimation | A Proxy value decimates the collider: detail is traded for speed, and a decimated hand loses its fingers. Keep Proxy at 0 on hero colliders; decimate only background colliders. In Surface (True Geometry) the value is greyed: that mode always collides with the true mesh. |
| Open and single-sided colliders | Tick Two-sided mesh or Open mesh on the row, then raise the row's Thickness and the Solver's Substeps. |
| Fast body motion (cloth passing through) | First raise the row's Thickness and the Solver's Substeps. Iterations do not help, because they do not evaluate collision again. Then the Solver's Preset list — Tight clothes for trousers and sleeves over bending joints, Fast motion for kicks and swinging hands — or its rows one by one: Post collision passes (1 or 2) gives the collision the last word in each substep, and Fast motion collision catches a body that would pass through within one substep. |
| A low-polygon collider prints its facets into the cloth | Raise Mesh contact smoothing on the Solver or Mesh Smooth on the row before adding polygons to the collider. |
| Cloth that starts inside a body | Model the garment clear of the body at the first frame. Where a body comes through the cloth during the shot, turn on Deep rescue on the Solver (Surface only): it moves that cloth back outside after each substep, at a cost in time. |
| Colliders must be meshes | An object that cannot be converted to a mesh is not added. Convert splines and surfaces to a mesh first. |
Self collision and layers
| Situation | What helps |
|---|---|
| Cloth cutting through itself in hard folds | Work in this order: make sure Edge-edge is on; use Exclusion Mesh ring, so hems and creases folding onto the cloth beside them are seen; raise Query diameter so contacts are found earlier; raise Relaxation passes. If it still shows, set Mode to Advanced and raise Collision substeps (4, then 8): fast folds and twists are where it helps most. |
| The two sides of a thin garment pass through each other | Use Exclusion Mesh ring, and leave a small gap between the two sides in the model: the two sides are then held apart. |
| Heavy crush of many layers | When a whole outfit is compressed (a character sitting, a fall), every layer touches every other. Raise Relaxation passes and turn on Layer ordering so the inner layers hold and the outer ones give way. |
| Layer ordering does nothing | The check box is off, or every garment is on the same layer. Give the inner garment a lower layer number in the garment list, and raise hold strength if the order does not hold. |
| The garment looks inflated | Self Collision Thickness or Query diameter is too large. Thickness is a radius: layers settle about twice that distance apart. |
| Layers slide in a fast crush | Grip never exceeds what the contact is pressed with, as with real cloth. Raise hold strength if the layers must stay put. |
Seams and pins
| Situation | What helps |
|---|---|
| A stitch target on another Solver | Stitches work only inside one Solver group. Instance one Solver across both garments, or use a Pin to follow a garment that has its own Solver. |
| A seam opens between stitch points | Sparse paint. Paint more of the seam line; the solver holds exactly the points you painted. |
| Stitch lines are not visible | They are drawn only while the Stitch panel is open, and only after the simulation has been built. |
| A pin or stitch channel is on another object | The painted channel must be on the same stack as the modifier that reads it. |
| Jitter near a pinned region, worst in slow motion | Pinned points inside a collider are held by the pin and pushed out by the collision on every step. Move the pinned points clear of the surface at the first frame, or paint them lighter so they form a soft pin. |
| Stitch set-up time on dense garments | Stitches are paired when the simulation is built, and the more points are painted, the longer it takes. Paint the seam, not the whole garment, and tune before you raise the density. |
| A Preserve on frames 3ds Max never showed | A Tnpix Preserve follows the animation of the frames 3ds Max shows. After a jump ahead on the timeline, its status line lists the frames that were not shown, whose animation is blended. Play from the first frame (Real Time off), or record a Tnpix Cache, and every frame is exact. |
| Cloth resting on a preserved region | A point painted 1 on a Tnpix Preserve follows the animation and takes no part in collision. Keep the region's hard edge where no other cloth has to rest on it, or give it a soft edge (paint below 1), whose points still collide. |
| A pinned point moves under a painted Soft Body or Volume | A Tnpix Soft Body or a Tnpix Volume with a Channel above a Tnpix Pin or a Tnpix Preserve lets go of the points it paints. Put the Pin above it, or paint its region off the points that must hold. |
Materials
| Situation | What helps |
|---|---|
| Three material values act on the whole Solver | Accurate strain limit, Solve steps per iteration and Multi-res levels apply to the whole Solver group: a shared Solver runs the highest value any garment's own Material Standard sets. Every other value acts per region; see Which values act per region under Tnpix Material Standard. |
| Two materials without a channel on one garment | Only the one higher in the stack acts. Bind the other to a channel, or remove it. |
| Fabric Curve makes no visible difference | The fabric's soft range is still too stiff to give. Its stiffness is the Stretch Stiffness divided by Lock stiffness, so raise Lock stiffness (500 or more on the stock fabric) or lower the Stretch Stiffness. A fabric that never stretches to its lock point shows only the soft range. |
| The × Multiplier does not switch to a higher number | Stretch Stiffness times Multiplier would pass 1e+10, so the change is refused and the box keeps its value; the line under the Stretch rows gives the product. Lower the Stiffness first, then pick the higher Multiplier. |
Scene and set-up
| Situation | What helps |
|---|---|
| Violent first frames | A garment that starts intersecting a collider, or far from its rest shape, is thrown on the first frames. Model it clear of the body and let Substeps calm the start. |
| Very dense meshes | Time grows with the vertex count, the substeps and the iterations; video memory grows with the vertex count and the number of garments. Simulate at the density the shot needs and add render detail above the Solver. |
| Rigidity below 1 still holds a piece fully rigid | The Tnpix Rigid was saved in an earlier version, which keeps that version's Rigidity so the scene plays as it did. Delete it and add a new Tnpix Rigid with the same channel. |
| The first frame takes a while after a wind map edit | A TenPix Wind map that moves (animated, or an OSL map with Time) is looked over along the timeline once after each edit and when the scene opens; every frame after that is quick. |
| A direction map does not turn the cloth as its picture shows | Load the picture as data, not as a colour image. Its 0, 0 is on the Wind's arrow: aim the arrow through the cloth and set Map size to the size of the pattern. A flat sheet facing the wind shows sideways air only faintly; folds, flags and garments show it. |
Threads
| Situation | What helps |
|---|---|
| Threads do not collide with each other | Each thread collides with its own cloth, the colliders and the other objects of its Solver, never with another thread. Clump bunches them into strands where that matters. |
| A cloth that plays from a Tnpix Cache file grows no threads | The threads read the Solver's frames. Make the threads object, add a Tnpix Cache to it and save it while the cloth still simulates. |
| Millions of threads | Dense spacing on a long tear makes millions of tubes. Keep Viewport % low while you work (the render makes all of them), and let Thread cap thin every crack alike. |
| A modifier between the Solver and the Threads | The threads read the cloth from the Solver, so a modifier in between that moves points does not move them. Put Tnpix Threads directly above the Solver. |
Soft bodies (experimental)
| Situation | What helps |
|---|---|
| An open mesh gets no flesh | A soft body needs a closed mesh: every edge shared by two faces. Close the holes (a cylinder's caps on); the status line says why there is no flesh, and the object simulates as cloth. |
| A Solver with a soft body is slower | A Solver that holds a closed soft body does more work on every frame. Lower the Resolution for coarser, faster flesh. |
| A soft area painted over a Pin does not move | The Soft Body is below the Pin or the Preserve, or has no Channel. Put a Soft Body with a Channel above them: its painted points are let go. With Keep volume on, a small area on a body that is otherwise held still moves little; let go a larger area, or turn Keep volume off. |
| A soft body that tears has no flesh | A Tnpix Soft Body does not tear: a soft body whose own mesh its Tear splits simulates as cloth, and its status line says so. A Tear on another garment of the Solver group leaves its flesh alone. |
| The muscle does not bulge | Fibres is off; or Activation is 0 with Auto tension off; or only one of Start and End is picked, and the status line says so. Pick both, or neither for a line along the object's own length. |