We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProcessing DevelopmentLibraries,  Tool Development › blobDetecion v3ga, index of removed blobs
Page Index Toggle Pages: 1
blobDetecion v3ga, index of removed blobs (Read 404 times)
blobDetecion v3ga, index of removed blobs
Mar 15th, 2008, 1:12am
 
Hi, I'm working with  BlobDetection library in a multitouch surface, and it is going very well.

But I'm having trouble trying to get passed a problem in my program.

The problem is this:

For each blob the program tracks, I draw a rect with a a movie texture on the tracked blob location. And I have an specific texture assigned for each blob, for example:

blob 1 gets texture movie1.mov
blob 2 gets texture movie2.mov
etc...

The problem is that when I have already have more than 1 blob tracked, if I take one blob out of the surface, the textures of the remaining blobs change, because all blobs change their index.

Is there a way to know the index of the blob that is taken out of the surface ? Cause if that is possible, my problem would be solved.


Thanks.
Page Index Toggle Pages: 1