You can convert classic Hair systems to nHair. nHair uses the dynamic simulation framework powered by Nucleus technology. See nDynamics Overview.
Note: Classic Maya Hair constraints are not supported by the Nucleus solver and have no effect on nHair simulations. To reproduce the behavior of classic hair, you may need to create an nConstraint to replace classic the Hair constraint.
See Create nHair constraints.
To convert classic Hair to nHair
- Open your classic Maya Hair scene file.
- In the Outliner, select the hairSystem node.
- In the FX menu set, select Fields/Solvers > Assign Solver > New Solver.
The hair system is now connected a Nucleus solver node.
Note: You can assign the hair example to an existing Nucleus solver, by selecting the solver from the Assign Solver list.
- To have surface geometry collide with nHair, convert the surface to a passive collision object by selecting the surface and selecting nCloth > Create Passive Collider.
- If your hair simulation has classic Hair constraints, replace them with applicable nConstraints.
See Create nHair constraints.
Note: You can use passive collision objects to reproduce the behavior of classic Hair Collide Sphere or Collide Cube constraints.
- To adjust the look and behavior of nHair, set hairSystemShape attributes such as:
-
Clump and Hair Shape to adjust hair curve density and width. See Clump and Hair Shape.
-
Collisions to adjust how hair curves self-collide and collide with other Nucleus objects. See Collisions.
-
Dynamic Properties to control stretching, bending, and twisting of hair curves. See Dynamics Properties.
If you are trying to re-create the behavior of your classic Hair simulation, toggle the Use Nucleus Solver attribute (hairSystemShape node) on and off as you simulate the nHair. This way, you can quickly compare the classic Hair and nHair versions of your simulation.
- Playback your nHair simulation and make the appropriate attribute adjustments to achieve the desired effect. See Hair Nodes.