Forums > Jitter

jit.gl.nurbs / control points

March 29, 2009 | 4:17 pm

hello everybody!

it’s about the jit.gl.nurbs object:
could anyone tell me how to handle (control/move/place) the "control points" of the "nurbs-plane"? i found out that it works somehow creating a matrix and sending its output appending ctlmatrix into the jit.gl.nurbs object. but unfortunately the help/example files didn’t really help me to understand how to handle/move the points separately and precisely.

it would be very helpful if anyone could tell me how to handle just 4 "control points", the 4 "corner-points" of a simple plane!

thanks so much!!


March 29, 2009 | 6:03 pm

to position the a four-cornered nurbs plane, send a 2×2 matrix as the ctlmatrix. you can have precise control of these corners by setting the cells of the matrix, and re-sending to the nurbs.

search the forum for many examples of using nurbs.

post a patch showing your what you are trying to achieve for more help.


March 31, 2009 | 10:33 am

thanks robtherich! yesterday i found the manipulator (JitterRecipes-Book2) patch of andrew from cycling… now i understand how it works! yipieee!


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