Houdini 17.0 Nodes VOP nodes

Hair Normal VOP node

Generates a normal vector which always faces the camera, parallel to the incidence vector.

On this page

This VOP generates a normal specifically for use in the lighting models for curves (hairs). This normal is based on the tangent vector of the curve (hair) and will always face the camera, parallel to the incidence vector.

Inputs

nI

The incident direction ray used in the calculation of the curve normal.

nT

This is the vector tangent to the curve (hair).

ss

This is the u texture coordinate attached the curve (hair) primitive.

Parameters

bow

This is the Do Rounding toggle. If on, it causes the curve to have an interpolated normal.

Outputs

hairNn

A normal vector for use with hair lighting models.

Examples

The following examples include this node.

FurBallWorkflow Example for Fur geometry node

This example demonstrates how the Fur SOP and Mantra Fur Procedural can be applied to an animated skin geometry. CVEX shaders are used to apply a custom look to the hairs based upon attributes assigned to the geometry.

FurPipelineExample Example for Fur geometry node

This example illustrates how custom shaders can be used to define the appearance of fur generated by the Fur SOP.

See also

VOP nodes