|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.
Input Number 1…N
The input values to be divided.
Where the next input value should be connected. Up to 64 inputs can be specified.
The result of dividing each input by the next.
The following examples include this node.
This example demonstrates how a mixture of fluid colours can have their colour changed by a collision with a static object.
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.
This example uses the foreach sop to apply the same SOP repeatedly to the geometry, accumulating the effect of each pass.
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.
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.