HDA_Compile_fracture(voronoifracture)
2019. 5. 22. 12:46ㆍStudy/Houdini_Skill
Compile_fracture(voronoifracture)
compile node를 이용해서 hda를 구축해서 voronoifracture를 자동화 시킨다.
string attriname = chs("attribname");
int digit = opdigits(attriname);
int newdigit = digit + 1;
s@newattribname = strip(attriname, itoa(digit)) + itoa(newdigit);
int offset = detail(-1, "iteration", 0);
addpointattrib(0, s@newattribname, 0);
setpointattrib(0, s@newattribname, @ptnum, @ptnum + npoints(0) * offset, "set");
'Study > Houdini_Skill' 카테고리의 다른 글
cluster_cts (0) | 2019.05.24 |
---|---|
CST_setup (0) | 2019.05.23 |
POP_rotaion[vex] (0) | 2019.01.02 |
Sim_Particle_이전 frame 가지고 오기 (0) | 2018.08.05 |
Center (0) | 2018.07.30 |