Convert classic Hair to nHair

 
 
 

You can convert classic Hair systems to nHair. nHair uses the dynamic simulation framework powered by Nucleus technology. See nDynamics Overview.

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

  1. Open your classic Maya Hair scene file.
  2. In the Outliner, select the hairSystem node.
  3. In the nDynamics menu set, select nSolver > Assign Solver > New Solver.

    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 Assign Solver list.
  4. To have surface geometry collide with nHair, convert the surface to a passive collision object by selecting the surface and selecting nMesh > Create Passive Collider.
  5. 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 Collide Sphere or Collide Cube constraints.
  6. 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.

  7. Playback your nHair simulation and make the appropriate attribute adjustments to achieve the desired effect. See Hair Nodes.

Related topics

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License