jit.gl.nurbs / control points

algorithmic@gmx.at's icon

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!!

Rob Ramirez's icon

to position the a four-cornered nurbs plane, send a 2x2 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.

algorithmic@gmx.at's icon

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