Guides from Mesh Modifier 

Guides from Mesh operator scatter scatter guide roots on a polygonal mesh object. It then extrudes guides from every root based on the surface normal at the root origin. Distribution or Scatter parameters can be tweaked to get different distribution types.

Hair roots can be scattered on the whole polygon mesh or they can be limited to certain areas using a polygon selection or a texture map.
Although this is not necessary since hair from guides modifier is usually what ultimately defines the final hair distribution and interpolation, it is usually a good idea to keep the amount of roots to a minimum. This reduces the amount of time spent combing unnecessary guides and improve hair interpolation and therefore the final result. This is because hair interpolation works better when the guide roots are sparse and evenly dispersed. You may also apply guides to only selected faces on the mesh.

One of the undefined parameters is the guide twist. Because hair is cylindrical in its structure twist is usually not important. However, when you are dealing with feathers or proxy meshes later on twist becomes of significance. By default hair twist is generated such that its global orientation is constant. However, when surface starts deforming the twist can change because hair's global orientation changes. To combat this, there is an option to orient every strand based on underlying surface topology rather than a global direction.

This operator is topology dependent. This means that changing the distribution mesh topology after generating the guide roots will cause this operator to be recomputed and re-generate the guide roots. This can damage your groom. See Root Persistence to avoid this.


Guide Hair generated using Guides From Mesh

 

Parameters 

 

Root Distribution 

Use this group to control how guides are grown on the surface.

  • Distribution Type
    There are several distribution methods for spreading hair roots along the surface:
    • Uniform
      Roots are placed in a linear manner forming a 'grid' around the mesh. This can be useful while creating brush patterns where hair has been planted artificially.
    • Random (UV-based)
      Same as area-based approach, except this time instead of calculating area for every face, UV area of faces is calculated. This allows user to control the distribution by maintaining UVW coordinates on the mesh. It is possible to unwrap a character, for example, and have dense placement of hair in some spots than the others by stretching out those areas in the UV editor.
    • Random (area-based)
      Roots are created randomly, and the amount of roots per face is calculated based on the total area of all faces on the mesh. Therefore all roots will be distributed evenly and randomly throughout the mesh. You can control the random factor through the seed value. Same seed values will produce similar results.
    • Vertex
      One root is generated at each vertex of the surface mesh
    • Random (per-face)
      Same as above, except the amount of roots per face is the same for every face on the mesh. Therefore larger faces will tend to have sparser root placement, while smaller ones will have roots more clustered in one spot.
    • Face Center
      Roots are placed at the center of each polygon face or triangle.
    • Even
      Roots are placed on the surface randomly but at the same distance from one another. This method provides the most realistic root placement result for natural hair phenomena.
  • Random Seed
    Change this value to shuffle the positions and random lengths of the resulting guides.
  • Count
    Sets the total desired number of guides. The actual guide count does not have to match this number exactly, especially if a distribution map is used.
  • Use Face Include
    When on, this operator uses the Selection Tag specified in the Selection Tag parameter to generate the guides on a polygon selection.
  • Selection Tag
    Use this box to specify a Selection Tag containing the polygon selection where you want the guides to be generated. Use Face Include needs to be enabled for this option to take effect.
  • Topology Based Orientation
    When on the rotation of guides will be "glued" to the distribution mesh. Rotations will be computed relative to the orientations of mesh edges and thus properly react to deforming geometry. When off, the rotations will be calculated in global scene coordinates.
  • Distribution Channel
    Allows you to specify a vertex map on the distribution surface to control the guide density over the mesh.
  • Distribution Map
    An optional multiplier map for guide density on the surface.
  • Displacement Offset
    An optional offset along surface normals of generated guides. Allows you to push away guides from the surface if needed.
  • Displacement Map
    An optional surface map multiplier for the Displacement Offset parameter. Use to vary displacement along the surface with a texture map.
  • Displacement Map Channel
    Index of UV color set of distribution surface to use for Displacement Map parameter. Leave 0 if not sure.
 

Root Persistence 

Parameters in this group allow for caching guide positions and making sure that guides remain constant across multiple computers.

  • Remember Root Positions
    When this option is used the root positions generated by this operator will be cached and saved with the scene. This can ensure that you can send the same scene to other computers and render it without the risk of roots being generated in different places causing them to "jitter".
    Use this option after you have set up the guides to your liking. It is a good idea to turn this button on before proceeding with editing the guides. When this option is on changing other distribution parameters will not have any effect.
    When you turn this option off the guides will be regenerated using current distribution parameters. Since the roots positions will be cached and saved with the scene, this will increase the file size of the scene.
  • Detach/Attach Roots
    Detach Roots command will store the positions and twist rotations of current guide roots inside the operator until the roots are re-attached. When this button is disabled (Attach Roots option) the stored positions will be re-projected onto the distribution mesh surface.
    This allows to change the topology of the distribution mesh while retaining the guide information. It is especially useful if some changes are done on the guides higher in the operator stack, such as with Edit Guides modifier. Temporarily detaching, changing mesh topology, and re-attaching the roots can preserve any changes done to the guides.
    Before detaching the guides, Remember Root Positions option must be turned on. If this is not done manually this option will be turned on automatically. This is needed because the roots must be locked/cached before they can be detached. Likewise, if you turn off Remember Root Positions option the detached guides will be automatically cleared.
 

Guides 

Parameters in this group control how the actual guides look like.

  • Point Count
    The number of vertices to generate for each guide. The more vertices the more detail the guide shape can have.
  • Length
    The length of generated guides.
  • Randomness
    Randomizes the length of generated guides by some fraction. 0 means no randomness. 1 means that length will be completely random from one guide to another up to the Length parameter.
 

Related Topics 

Missing Something? Let us know if this page needs more information about the topic.