Forums > MaxMSP

jit.lcd drawing layer on top of video

February 10, 2014 | 12:46 am

I’m trying to sample the pixels from a live video and then draw on top of the video using jit.lcd.

I am able to do this using the lcd object (see first patch below, this is the effect that I what to achieve), but I then want to send it to a jit.pwindow and it seems that a jit.lcd is needed do this.

I am having problems combining the jit.lcd with the live video feed. The second patch below is the closest I have got so far.

Anyone have any tricks to combine the jit.lcd with the jit.qt.grab so the drawing seems to be on the layer above?

I went through jitter tutorial 29, about the alpha channel, but it’s a bit of a mess (patch 3 below).

Really grateful for any advice!!

<code>

– Pasted Max Patch, click to expand. –

</code>

<code>

– Pasted Max Patch, click to expand. –

</code>

<code>

– Pasted Max Patch, click to expand. –

</code>


February 10, 2014 | 5:12 pm

bump as i’m a bit desperate!


February 11, 2014 | 11:52 am

you can directly composite jit.lcd over another matrix using jit.alphablend.

<code>

– Pasted Max Patch, click to expand. –

</code>


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