Forums > Jitter

Mix or alternate multiple videoplanes into a single jit.window?

June 21, 2011 | 4:49 am

I’m loading a large matrix into a videoplane and offsetting it horizontally very quickly within the videoplane. I’m sending the output of the videoplane to a jit.window.

I’d like to combine the horizontally shifting videoplane output with the output of another videoplane, into the jit.window. However, I haven’t found a way to do that yet. Obviously we can blend matrix’ previous to the videoplane, but is there a way to blend the output of the videoplane with that of another videoplane?

Thanks for any recommendations.
Robert


June 21, 2011 | 5:57 am

Here’s a simple patch showing my horizontal movement using videoplane.
The drawing context is SIMOPP_01.
What I’d like is to have a second patch that also draws to SIMOPP_01.
-r

– Pasted Max Patch, click to expand. –

June 21, 2011 | 5:57 am


June 21, 2011 | 2:29 pm

Set the blend_enable attribute to 1 and the depth_enable attribute to 0 in each jit.gl.videoplane.

Here’s an example that might be helpful. (It uses two videos from the patches/media folder. Pardon the cheap hack to make a video with an alpha mask.)

– Pasted Max Patch, click to expand. –

June 21, 2011 | 8:10 pm

Thanks. I tried it using your patch, and sending everything to the SIMOPP_01 output I have, using the "OH.MOV" source video at the same time that I send it a signal from my own patch, but when one of the videoplanes gets ahold of a jit.window, it is shown, but I’m not seeing other videoplanes that I add after that. I’ll look closer at your patch this evening, it may be some other setting that I’m not aware of.


June 22, 2011 | 6:01 am

Thanks again. Upon playing with our patches this evening, I found that I had been sending my patches correctly to the jit.window, but one was hidden behind the other. A separate posting showed how to switch the layering. Got it now, thanks so much for taking the time to help! -Robert


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