This VEX Code is a great! That way can make a arrangement scale in packed primitive.
vector scale = fit01(rand(@ptnum), ch("min"), ch("max"));
matrix3 transform = primintrinsic(0, "transform", @primnum);
matrix scalem = maketransform(0, 0, {0,0,0}, {0,0,0}, scale, @P);
transform *= matrix3(scalem);
setprimintrinsic(0, "transform", @primnum, transform);
http://forums.odforce.net/topic/23353-scaling-packed-objects-with-vex/
this has saved my ass a few times, thanks.
ReplyDeletehow would you go about doing this in a vop network?