Best practices to move nurbs control points ?
Hi there,
a nurbs, a texture applied.
used only in a plane (2d)
I want to move each control points with a gesture (very simple: I "click" somewhere, it takes the closest one and I can drag it)
my control points are in a 2 planes matrix feeding the jit.gl.nurbs so I can easily access to each cell.
is there an object I miss for selecting directely a control point or ??
Not that I know of. Sounds like you'll have to do a distance check to select the closest.
hello dtr
thanks
ok.
about the distance, it is relatively easy to do event-based when the "click" (which is an event based on kinect depth field data) is done.
I'll post the whole stuff on my blog http://julienbayle.net/blog as soon as it will be okay :)
dtr, about the click, to simulate the kinect I mean, is there a way instead of using a jsui which would track the mouse ?
not sure what you mean there. je parle français aussi ;)
je fais une interface basique pour sélectionner et déplacer des points de contrôles d'un nurbs.
j'ai d'abord fait un truc avec jsui mais c'est pas le plus pratique
je tente autre chose :D
...
not sure if it helps you, but this patch i found once quite inspiring: