Houdini 17.0 Nodes VOP nodes

Divide VOP node

Outputs the result of dividing each input value by the next.

On this page

This operator outputs the result of dividing each input value by the next.

The first input can be an integer, float, vector, vector4, matrix3, or matrix. The allowed data types of subsequent inputs depend on the data type of the first input. For example, if the first input is a float, subsequent inputs can be either floats or integers. The output data type is always the same as the data type for the first input.

Inputs

Input Number 1…N

The input values to be divided.

Next Input

Where the next input value should be connected. Up to 64 inputs can be specified.

Outputs

Combined Value

The result of dividing each input by the next.

Examples

The following examples include this node.

FlipColumn Example for FLIP Solver dynamics node

This example demonstrates how a mixture of fluid colours can have their colour changed by a collision with a static object.

grass

This example simulates grass being pushed down by an RBD object. Fur Objects are used to represent the blades of grass and Wire Objects are used to simulate the motion. When a single Fur Object is used to represent the grass, neighbouring blades of grass will have similar motion. Additional objects with different stiffness values can be used to make the motion less uniform. When "Complex Mode" is enabled, two objects are used to represent the grass. The stiffness of each set of curves can be controlled by adjusting the "Angular Spring Constant" and "Linear Spring Constant" parameters on the corresponding Wire Objects.

repeatsmooth

This example uses the foreach sop to apply the same SOP repeatedly to the geometry, accumulating the effect of each pass.

AlphaOmega Example for Points from Volume geometry node

This example demonstrates how to use a Points From Volume SOP to create a target goal for a flip simulation and make it fill a given piece of geometry.

PointCloudIterateAverage Example for Point Cloud Iterate VOP node

This example shows how the pciterate vop can be used to average together points returned by pcopen. First, a point cloud is generated with a floating point "check" channel initialized to 1 inside a circle in the x-z plane. Then, the points are filtered in a shader by looping using the pciterate vop and averaging the value of the "check" channel. The point cloud used in the example is stored inside the asset as points.pc.

PointCloudLookup Example for Point Cloud Iterate VOP node

This example shows how to accomplish point cloud lookups for volumes using pcfilter and pciterate. It demonstrates how to iterate over and import values returned by a query.

See also

VOP nodes