jit.gl.nurbs / control points

Mar 29, 2009 at 4:17pm

jit.gl.nurbs / control points

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

Mar 29, 2009 at 6:03pm

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.

Mar 31, 2009 at 10:33am

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


You must be logged in to reply to this topic.