Forums > MaxMSP

how to make "jit.op &&" in jit.gen? (non logical &&)

April 27, 2012 | 12:21 pm

Hi

For adjust near and far limits with Kinect, I have a working solution with jit.op.
But now I try to make the same in jit.gen! (or jit.pix would also be nice).

How to make "jit.op &&" in GEN? It seems that the "jit.op &&" is also able to operate as non logical. Because && in jit.op work not same as in jit.gen.

Thanks for help

– Pasted Max Patch, click to expand. –

April 28, 2012 | 2:42 pm

Strange, now it works with "&&", yesterday not. Murphy’s law! Gen is 2.5 times faster :)

But anyway, I didn’t understand how can video data pass through an boolean && operation?

– Pasted Max Patch, click to expand. –

April 28, 2012 | 5:34 pm

Looks to be working to me. When you multiply the video by the output of the [and], you’re using it to pass the video. Isn’t this what you wanted?


April 28, 2012 | 7:21 pm

Hi Wesley
Right, every thing works fine, as I would like to.
But I didn’t understand how can video data pass through an boolean && operation like it work fine in my patch? :)


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