XML Feeds

.

[jitter] tracking and video projection

jennek geels jennek.geels at xs4all.nl
Fri Jan 4 06:32:27 MST 2008


On 4-jan-2008, at 3:07, thi wrote:
> my project is to video-track from above the movement of an object  
> on a tansparent table .once tracked, i just want to project to the  
> tranlucid panel an image following the movement of the  
> object.thanks to jiter tutorials i've been helped in this tasks,  
> thus i get  two coordinates updating at each frame.

so you want to draw a shape that follows the position of the object.
first you need to choose how you are going to draw
- use jit.lcd to draw lines rectangles etc
- use jit.gl.videoplane to draw another matrix (frame) in openGL space
- use jit.gl.sketch to draw shapes in openGL space
The first one is the easiest to get started with.
the others use openGL and you will have to spend time to learn it.
the reward is better graphics performance and a lot of visual  
possibilities.

my advice: use jit.gl.videoplane.
study the help patch and link the position parameter to yor floats  
from the tracker.
the frames you send to the videoplane need not be a movie, it may  
also be  still (single) frame,
that you have drawn in your favourite paint program.

good luck and do not hesitate to ask further questions
-jennek




More information about the jitter mailing list