tracking moving object in jit.window

May 10, 2013 at 4:44pm

tracking moving object in jit.window

so guys what i’m trying to do is this: I have a hit.window with displays some objects (they are images from my computer) and these objects are moving up and down and nearer and further. Now I’d need to create a grid in the window object and track in which part of the grid the objects are…any ideas?
thanks

#68163
May 10, 2013 at 5:21pm

are you using GL?
posting a simple patch will help us help you.

#244738
May 13, 2013 at 8:52am

so this is the very basic patch. I’m trying to built a grid on the hit.window in order to track where is the image every moment but I didn’t manage to create anything working yet…

#249103
May 13, 2013 at 8:53am

it seems that the file won’t open so let’s try another way

<code>

– Pasted Max Patch, click to expand. –

</code>

#249104
May 14, 2013 at 11:10am

hi, please read the below link regarding posting compressed patches to the forum:

http://cycling74.com/forums/topic/welcome-to-the-cycling-74-forums-take-a-moment-to-read-these-instructions/

#249277
May 14, 2013 at 4:40pm

I’m sorry about that do I need to repost it in the correct way?

#249314
May 14, 2013 at 4:51pm

yes of course.
and if you can edit your original post removing the uncompressed version, it will make this thread much easier to read.
thanks.

#249316
May 14, 2013 at 4:58pm

ok now it should be fine..

#249318
May 14, 2013 at 5:01pm

so you’re controlling the objects using position messages, right?
why do you need to track them? you already have the position for each object…

#249319
May 14, 2013 at 5:05pm

yes I will control them with the position messages…well I was just wondering how could I map the jit.window and then output the same position object again (there’s no practical need in this occasion I know it’s just a random thought!)

#249320

You must be logged in to reply to this topic.