Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Root Color

Multiexcerpt include
MultiExcerptNamerootcolor
nopaneltrue
MultiExcerptNamerootcolor
PageWithExcerptA5NodeRef:hair

Tip Color

Multiexcerpt include
MultiExcerptNametipcolor
nopaneltrueMultiExcerptNametipcolor
PageWithExcerptA5NodeRef:hair

Center

Image RemovedImage Added

Root Color - purple. Tip Color - blue.

Ambient Diffuse

Multiexcerpt include
MultiExcerptNameambdiff
nopaneltrueMultiExcerptNameambdiff
PageWithExcerptA5NodeRef:hair

Indirect Diffuse

nopanel
Multiexcerpt include
trueMultiExcerptNamekd_ind
nopaneltrue
PageWithExcerptA5NodeRef:hair

Diffuse Cache

true
Multiexcerpt include
nopanel
MultiExcerptNamediffuse_cache
PageWithExcerptA5NodeRef:hair

 

Mapping textures

There are many instances where mapping a file texture to hair is useful. For example when rendering tiger or leopard fur. This requires texture coordinates from the surface mesh.

Center

Gallery
columns2
includeLabeltiger
sortname
reversetrue

By default Arnold generates UV coordinates in which the V coordinate goes from 0 to 1 along the length (height) of each hair and, when using the ribbon mode, the U coordinate goes across the width of the hair. The following image is obtained by mapping a red to blue ramp texture.

Center

Gallery
includeLabelramp
sortname
reversetrue

 

If you want to map a texture across a surface using both the root and tip color, you can do so with the following method.

  • Select the Hair shader and go to 'Extra Attributes'.

In 'Extra Attributes' type the following:

  •  'uparamcoord' in the Uparam text field.
  •  'vparamcoord' in the Vparam text field.

 

Info

Remember to check 'Export hair UV's in the Arnold attributes of the Hair.

 

As you can see in the side view of the hair below, the tiger pattern is defined along the UV of each individual hair fiber length as well as across the object's surface UV's.

Center

Image Removed

 

 

nopaneltrue
PageWithExcerptA5NodeRef:hair


Privacy settings / Do not sell my personal information / Privacy/Cookies