[Sidefx-houdini-list] How to Create Vops using HDK
malexander at sidefx.com
Wed Aug 30 10:47:27 EDT 2006
> Do you have any examples or source code?
Well, generally you just build a VOP from other VOPs. But even the basic
building block VOPs aren't done in C++ code (at least 99% of them
aren't). They're built from dialog scripts (.ds) which contain the code,
inputs, outputs and various signatures of the VOP (ie, an add VOP can
add two floats, or two vector3's, or ints, etc).
So, if you know VEX, you could try to create a VOP that way (look in
$HFS/houdini/vop for examples). However, you'd be much better off
building a VOP network to describe your ramp. Unfortunately, you cannot
specify an arbitrary number of points as in the Ramp COP (no arrays in
VEX), so you may have to use a toggle/color/position triplet to describe
each ramp point (and enable/disable it).
More information about the Sidefx-houdini-list