Houdini提示 – 程序建模01Houdini Hints – Procedural modeling 01

Houdini提示 – 程序建模01Houdini Hints – Procedural modeling 01

Copy geometry to points.
Set up centre pivot, save preset, transformation matching pivot.

Find out more at:

wordpress.com/post/handlespixels.wordpress.com/357

VEX code used in tutorial:

i@id = @ptnum;
@bend = fit01(random(@id),-1,1) * 60;
@lenght = fit01(random(@id + 0.12345), 0.1, 1.9);

point(‘../foreach_begin1/’, 0, ‘bend’, +0)
point(‘../foreach_begin1/’ , 0 , ‘lenght’, 0)

centroid(“../”+opinput(“.”,0), D_X) centroid(“../”+opinput(“.”,0), D_Y) centroid(“../”+opinput(“.”,0), D_Z)

bbox(“../”+opinput(“.”,0), D_YMIN)