Olivier Thériault

olivierth

About Me

Expertise
Not Specified
Location
Canada

Connect

Recent Forum Posts

curve a line with vex ramp: how? Feb. 18, 2018, 12:21 a.m.

Ahh! ok ok.

finally wrapped my head around it (I think). I fixed it with:


f@grad = @ptnum/(@numpt*1.0);

@P.y = chramp(“fuckinramp”, @grad);

I didn't get that the second input for the chramp had to be a gradient that I input to begin with.

By the way, what's the difference between f@grad and float grad ? I've seen people define a float with float myvalue before…

curve a line with vex ramp: how? Feb. 17, 2018, 11:56 p.m.

Hi!

I've got a line on x with a bunch of points. I wanted to make that line curve upward by using a ramp in the Attribute Wrangle.

I'm trying to use the chramp function to modify the position Y but I don't know how to use it. I was trying:

chramp(“curve”, @P.y);

But nothing happens. I'm new to Vex.

-Olivier

STAMPING not using default value Feb. 17, 2018, 11:09 a.m.

Hi!

I've got a line (on the X axis) and I'm using the stamp function in a transform on its Y rotation:

stamp(“../copyMainBranches”, randTopRot, 0)

When I view the transform, I can see that the line has a rotation of about 30 degrees. It's like it's not getting my default “0” value.

When I change the stamping's default to another value and set it back to 0 again, the line is perfectly on the X axis again. But when I click and view other nodes in the graph, the line gets back to that odd 30 degrees orientation.

Is this a bug or am I doing something wrong?!

Thanks.

-Olivier