Houdini- Tips and Tricks
TEAMVFX Houdini training
One and only academy to learn programming for VFX & CGI. C++, PYTHON, VEX. Visit https://teamvfx.in Call +91 9123777600
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.*/