blove svta

blove

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

How to use "rotate" function in wrangle? Nov. 30, 2015, 9:28 p.m.

mosssi
float angle = 0.8;
matrix rot = ident();
vector axis = {0,1,0};
rotate(rot, angle , axis);
vector rotateP = @P * rot;
@P = rotateP;

//angle is in Radian

this is for rotating object

Many many thanks!!!!
It worked!

Got it!!!!

How to use "rotate" function in wrangle? Nov. 30, 2015, 4:14 a.m.

I want to rotate the point normal.
With point vop,I made it.

But I don't know,how to put it into wrangle!

I write the code like this:

float rotateamp = 0.2;
matrix3 mar = {{1,0,0},{0,1,0},{0,0,1}};
@N *= normalize(rotate(mar,length(@P),{1,0,0}));


I get error!

How should I get the same result in wrangle, like the vop effect!

"maxpoints" parm of pcopen Nov. 22, 2015, 10:33 a.m.

tamte
it limits how many points it will open within given radius

so in your example A the radius is pretty small so there is no instance of a red point having more that 1 green point within that radius anyway
and even if it did, you are not looping over found points
with pciterate outside of any loop, you are essentially geting just first found point no matter how many of them pcopen would return

for easy way of filtering values of multiple open points you can use pcfilter, for more custom way you can use for or while loop

If you could test my file,please?
What seem to be wrong with the pcopen connected int the pointvop!

I want to set the color from red into green by pcopen serach!