Houdini- Tips and Tricks
#teamvfx.in blog

Houdini- Tips and Tricks

/*Your own exploded view for pack primitive. #Houdini #vex

TEAMVFX tips and tricks.

?Your own exploded view for pack primitives*/

float seed=chf("value");

v@ccd = rand(opdigits(s@name)+seed);

i@see=setprimattrib(0,"Cd",@primnum,@ccd,"set");

@P+=(@P*chf("Scale"))-getbbox_center(0);

/*A little convenient code to visualize named pack primitives' . "Opdigits()" is an ingenious function. It returns the integer value of the last sequence of digits in the input string.*/

要查看或添加评论,请登录

TEAMVFX Houdini training的更多文章

社区洞察

其他会员也浏览了