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

Apr 27, 2012 at 12:21pm

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

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. –
#63234
Apr 28, 2012 at 2:42pm

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. –
#228100
Apr 28, 2012 at 5:34pm

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?

#228101
Apr 28, 2012 at 7:21pm

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? :)

#228102

You must be logged in to reply to this topic.