Guide Curves

_images/guide_02.png

As with grooms, guide curves are created outside of the graph context and imported as data. A guide curve can be any nurbs curve created within Maya, thus it’s up to the reader to be comfortable with Maya’s curve creation and editing tools.

Although the location of the guide curves are arbitrary, it’s generally good practice to have them created as close to the surface as possible and reasonably aligned ( ie. not inside the surface ).

Using Guide Curves

_images/guide_01.png

To use guide curves within a graph you first have to place them within a Maya set as you will be referencing a guide set vs. individual curves. With a guide set created use the Input Guide Sets palette on the Yeti node to assign new sets to the node.

As with all data a new Import node will need to be created and in the attribute inspector change the mode to Guides and provide the correct name for the set.

A Guide node is generally used to deform the fur along the input curves, you also have the option of clumping the hair around the guide curves via new attributes Yeti creates on the input curve shapes ( see below for reference ). It is also possible to preview the guides falloff in the Maya viewport via the Display Guides toggle in the Yeti nodes Display palette.

As with the Groom node, imported guides can be used to set the density and length of the generated fibers, just connect the output of the guides Import ( or merge with a Groom ) to the Scatter and/or Grow node for similar results.

The Maya curves are considered live data in the graph with any and all changes causing an interactive update of the graph.

By default the guides are sampled based on their global position assuming that they may be rigged and used dynamically, the other option is to treat the guides similar to grooms and assume that their initial relationship to the surface should be maintained even if deforming. This can be accomplished via the “Lock To Surface” attribute that Yeti will create on any Guide sets - with this attribute toggled on the guides will travel with the deforming surface.

Guide Curve Attributes

_images/guide_03.png

Once a curve set has been added to a Yeti node each curve shape in the set will be given attribute used to control the effect of that curve.

Parameter Description
Weight controls the overall weight of the curve, this does not effect the weight of the curve on the Grow node
Length Weight will control the effect of the curve on the length of grown hairs when connected to a Grow node
Inner/Outer Radius adjust the fall off of the effect, any fibres within the inner radius will be affected fully and outside of Outer Radius will be unaffected.
Density adjusts the density when connected to a Scatter node
Base/Tip Attraction the amount, if any, the fibres should be attracted to the guide curves - this is one way of implementing clumping
Random Attraction randomize a fibres attraction
Twist will cause the fibres to twist around the guide curves
Surface Direction Limit can be used to create a fall off effect between the direction of the guide curve and the surface normal
Surface Direction Limit Falloff how fast the Surface Direction Limit effect falls off

Reference Position

As with any input geometry Yeti provides a means of creating a rest position for guide curves that ensures their relation to the underlying surface is maintained.

To create the rest position make sure you have either the individual curves or the whole guide set ( to apply the rest position in one go ) selected and use the Save Guides Rest Position item from the Yeti menu.

Be aware that if your guides default ( rest ) position changes you will need to re-save the rest position.

To remove the rest position data select the curves or set as before and use Remove Guides Rest Position item from the Yeti menu.