I'm new trying to learn the basics of using the Wrangle sop. As a test I used an expression from the expression cook book in the Houdini docs. So there is a line and a point sop. In the position fields of the point sop the expressions are:
X: cos(@ptnum *5)
Y:@ptnum/400
Z: sin(@ptnum *5)
this makes a spiral from the line.
I want to do the same thing with the attribwrangle. So naively i tried:
@P.x = cos(@ptnum *5);
@P.y = @ptnum/400;
@P.z = sin(@ptnum *5);
What this did to the line was interesting. but was not the same as what the point sop did.
I think if some one could explain how this is done it would help me a bit.
thanks very much,
b