You can convert classic Hair systems to nHair. nHair uses the dynamic simulation framework powered by Nucleus technology.
See Introduction to nDynamics.
NoteClassic 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 , select the hairSystem node.
- In the menu set, select .
The hair system is now connected a Nucleus solver node.
NoteYou can assign the hair example to an existing Nucleus solver, by selecting the solver from the list.
- To have surface geometry collide with nHair, convert the surface to a passive collision object by selecting the surface and
selecting.
- If your hair simulation has classic Hair constraints, replace them with applicable nConstraints.
See Create nHair constraints.
NoteYou can use passive collision objects to reproduce the behavior of classic Hair or constraints.
- To adjust the look and behavior of nHair, set hairSystemShape attributes such as:
- to adjust hair curve density and width. See Clump and Hair Shape.
- to adjust how hair curves self-collide and collide with other Nucleus objects. See Collisions.
- 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 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.