bind grid to object?

Apr 23, 2010 at 10:46am

bind grid to object?

hi @ll!

I basically want to bind my grid to a real life object – in this case a square made of cloth. I want to be able to turn it (with a push pin in its middle so it stays put), the grid imitating the direction it rotates. the idea was to use it as a volume knob in an installation.

I’m rather new to jitter & apparently haven’t come up with the right key words yet (for this issue must have been marked off quite some times) – the search function didn’t bring me luck this time..

thankful for any point in the right direction..!

all the best

-jonas

cloth simulation:

http://jonaswolf.com/cloth_n_grid.png

initial patch (nothing new):

– Pasted Max Patch, click to expand. –
#49956
Apr 23, 2010 at 11:19am

You are looking at a typical computer vision application here.
Check out cv.jit by Jean-Marc Pelletier, and the examples in particular. You are likely to find stuff that will bring you at least halfway.

cv.jit:

http://www.iamas.ac.jp/~jovan02/cv/

#179395
Apr 23, 2010 at 12:38pm

thanks for the quick reply, EMV!

the only cv.jit from pelletier’s library that suits my intention would be the cv.jit.features object (..my thesis as a noob). all I’d have to do is feed cv.jit.features with exactly (!) 4 points: all 4 vertices of my predefined square.

but how can I prevent cv.jit.features from letting my hand interfere with the feature’s initial coordinates? it’d be a disaster if my fingers would relocate single features.. (thus destroying my square)

cheers!

-jonas

#179396
May 2, 2010 at 10:27am

anyone, no?

I’m still stuck on this, studying the cv.jit library as suggested..

it’s not the movement of my hands I want to capture, merely the movement of a single square.

anyone know how to make my (jit.lcd) frame imitate its movements (respectively getting data from a 2-d real life object with non-varying proportions)?

all the best..!

-j

#179397

You must be logged in to reply to this topic.