Houdini Resources

Updated on June 26  2024


Wrangle Node Examples

Deborah R. Fowler



Wrangle Nodes compared with VOPS

Posted on Jan 19  2019
Updated on Jan 19  2019


If you are not familiar with VEX and point wrangles please read Wrangle Node Example VEX Basics

Vex snippets are similar to C++ code (take VSFX 375), however there is also a pictoral version of VEX called VOPS.
For those of you coming from an Unreal background, it looks similar to Blueprint.


To compare we will look at the phyllotactic example in vops

The phyllotactic pattern is based on setting points in a planar pattern according to two equations, and expressed in cartesian coordinate look like
x = cval * sqrt(n) * cos(angle * n);
y = cval * sqrt(n) * sin(angle * n);
Where angle is the golden angle. Note that both vex and vops require the angle to be in radians, not degrees.
Click here for more information about the phyllotactic pattern.

Comparing the versions we created in VEX, below is a version in VOPS. Remember that Vex/Vops IMPLICITLY loop thru all points.
MISSING IMAGE

For completeness, I have included below a version that uses an EXPLICIT loop (details only version of vops, similar to VEX).
I love wrangle nodes and vex and would probably not use the version below personally, but have included it as Houdini allows users to create solutions make the most sense to them.

MISSING IMAGE