Forums > Jitter

crossfading two gl.videoplanes onto a new videoplane.

October 1, 2013 | 12:52 pm

The jit.gl.videoplane-xfade example seems to explain crossfading videoplanes to the master render context – but what if I want to have another slab/videoplane arrangement in between?


October 1, 2013 | 1:18 pm

please post a patch showing your attempt


October 1, 2013 | 1:31 pm

Alright, it’s not much different from the example patch. I’d like to take the two videoplanes and send them to another videoplane.

Attachments:
  1. example.maxpat

October 1, 2013 | 2:23 pm

capture them to texture with gl.node, and send that output to the gl.slab.
you must enable @automatic drawing on the two videoplanes to capture.

<code>

– Pasted Max Patch, click to expand. –

</code>


October 1, 2013 | 3:44 pm

aha, perfect..thank you.


October 1, 2013 | 3:57 pm

what happens in a scenario where the first two video-planes are also receiving GL textures from a node?


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