Справка Houdini на русском Nodes VOP nodes

Displace Along Normal VOP node

Displaces the surface along the surface normal by a given amount.

On this page

This operator displaces the surface along the surface normal by a given amount. The displacement is anti-aliased.

You will often pipe the output of a pattern operator such as Stripes, Boxes, or Rings into the "amount" input. You can further control the amount of displacement by the "scale" multiplier.

Typically, this operator will be used in a displacement shader, with both outputs piped into the corresponding inputs of the Output Variables operator. Alternatively, it can be appear in a surface shader, in which case the displaced normal would be normalized and then connected to the nN input of the Lighting Model operator.

The input normal (nN) should be normalized if explicitly connected. If the position (P) and normal (nN) inputs are not connected, the global variables by the same names will be used instead.

Normals are automatically recomputed and set for output.

Note that in the SOP/POP contexts, the shears and object space deformation are not implemented. They exist as parameters for completeness only.

Tip

When doing a displacement in RenderMan, be sure to add an RSL Transform node to P before piping it into your noise VOP. Make this "current to world" and change the displace space at object level to be the camera you are rendering through. Otherwise the noise will slide.

Parameters

Displacement Amount

Overall displacement amount, including the amount for shears.

Scale

A multiplier of the amount in the perpendicular direction.

Examples

The following examples include this node.

Street Crowd Example Example for Crowd Solver dynamics node

FlipColumn Example for FLIP Solver dynamics node

CurveForce Example for POP Curve Force dynamics node

StaticBalls Example for Static Object dynamics node

Down Hill Lava Flow Example for Material shader node

FirePit Example for Material shader node

StyleDisplacement Example for Material shader node

RandomMaterial Example for Attribute String Edit geometry node

AlphaOmega Example for Points from Volume geometry node

UnpackWithStyle Example for Unpack geometry node

See also

VOP nodes