Forums > MaxMSP

knowing where SUCKAH is located

Jan 12 2012 | 8:08 pm


I’m relatively new with the suckah object, and I’m putting it over a jit.pwindow so that it will read each pixel of my image (using 2 counter objects) and do something based on the values it finds. My problem which seems like there may be a very simple solution that I’m just not finding is this:

I want to be able to have it read only the values which are underneath it. It seems to me the only way to do this is to find out which pixel on the screen the object starts at (upper left corner) and offset the counters that way. Is there any way to conveniently set up suckah so that it counts through each pixel under it without using mousestate and counters with +s (that will have to change if I move the patcher window!)?

Any tips would be greatly appreciated.

Jan 12 2012 | 8:25 pm

From the sounds of it, I would avoid suckah altogether and just use Jitter objects. Maybe post a patch and we can go from there?


Jan 12 2012 | 8:36 pm

You’re right. It seems like two scaled phasors along with the ‘getcell’ message to jit.matrix does exactly what i was trying to get suckah to do, and more efficiently.

Thanks, Ben. It seems once I had my problem articulated the answer came very quickly and easily :)

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP