Forums > Jitter

jit.path & gl.path setscale

Jun 08 2012 | 4:23 pm

I’m using a jit.path for building and moving a 3d form generated with a
My problem is that i can’t use the setscale in the gl.path cause the jit.path is immediately overruling it!
so i thought jit.path is setting the scale of each point… but it actually doesn’t.
I took a look to the matrix that comes out from the jit.path and it’s double of cells! so if i have 30 points i have a matrix of 30×2.
So there is a second row of pixels but it is completely zeroed and it does nothing apparently.
Does somebody knows something about it?

Jun 08 2012 | 4:51 pm

hello. the second row in the path matrix contain the handle/tangent values for each point in the path.
however, if your @interpmode is still the default value of "linear", these values will be 0 (linear interpolation does not use tangents).

post a patch showing your problem with the scale values, and i’ll be happy to take a look.

Jun 08 2012 | 4:52 pm

check out the "Discussion" section of the jit.path reference file, for more information on the matrix output.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter