attribwrangle weird behavior

   1302   0   1
User Avatar
Member
101 posts
Joined: Feb. 2015
Offline
Hi,
I have a simple hip file (see attached file) with a polygon circle, connected to an attribWrangle sop. Nothing fancy.
I was trying to reproduce this : https://www.youtube.com/watch?v=qhbuKbxJsk8 [youtube.com]
The weird thing is that I have to manually disable and re-enable the attribWrangle node for it to recook when I change one of the parameters on it (“exponent”) the other param updates fine ( though at first it was the one not working ) , it also updates when I create a new scene view, the operator is recooked then.
Had the issue with Houdini Indie 15.0.244, updated to 15.0.313, same problem.
I never had this problem before. Is there something wrong with my vex code ?

“run over” parameter is set to : detail(only once)

int iterations = chi(“iterations”);
int exp = chi(“exponent”);
for(int i=0; i<iterations; i++){

int prim = addprim(0,“polyline”);
int vtx1 = addvertex(0,prim, i%iterations);
int vtx2 = addvertex(0,prim, (i*exp)%iterations);

}


gui2one

Attachments:
cardioid_01.hiplc (57.5 KB)

https://vimeo.com/user43710534 [vimeo.com]
  • Quick Links