Example files
VEX node examples
SimpleOutsideSubnet
Example for If VEX node
$HFS/houdini/help/examples/nodes/vop/if/SimpleOutsideSubnet.cmd
This is a very simple example of using the If-Then Block VOP with the “true” value coming from outside the If-Then subnet, and the “false” value also coming from outside the If-Then subnet.
In this example, the red color is used if the value fed into the condition is not True, and blue if the condition being fed in is True.
ST_Colour
Example for If VEX node
$HFS/houdini/help/examples/nodes/vop/if/ST_Colour.cmd
This is a simple example of using the If-Then Block VOP with the “true” value coming from outside the If-Then subnet, and the “false” value also coming from outside the If-Then subnet.
A Condition VOP is used based on the “t” Global Variable. When “t” is less then .5, the If-Then gets a “false” Condition, and when “t” is equal to or greater than .5, the If-Then gets a “true” Condition.
In this example, the red color is used if the value fed into the condition is not True, and blue if the condition being fed in is True.
SimpleInsideSubnet
Example for If VEX node
$HFS/houdini/help/examples/nodes/vop/if/SimpleInsideSubnet.cmd
This is a very simple example of using the If-Then Block VOP with the “true” value coming from outside the If-Then subnet, and the “false” value coming from inside the If-Then subnet.
In this example, the red color is used if the value fed into the condition is not True, and blue if the condition being fed in is True.
SimpleMetaImport
Example for Meta-Loop Import VEX node
$HFS/houdini/help/examples/nodes/vop/metaimport/SimpleMetaImport.otl
This example demostrates how to use the Meta-Loop Start, Meta-Loop Next and Meta-Loop Import VOPs.
It calculates the sum of the densities of all metaballs in some input geometry, and uses that total to create an image in a Composite Network.
RaytraceVopShader
Example for Ray Trace VEX node
$HFS/houdini/help/examples/nodes/vop/raytrace/RaytraceVopShader.otl
This example demonstrates a simple ray traced shader using a vop vex network. To modify the shader properties, create a properties shader in the material and connect it to the output shaders node. You can then add rendering parameters to the properties node. For example to control the number of reflection bounces, you would add the reflect limit parameter.