Forums > Jitter

videoplane -> slab processing

July 7, 2009 | 12:17 pm

hello,
me again… i know it’s not my first post this week but i’m getting crazy here.. please help!

i use several videoplane objects for mixing and positioning videos with alpha channel. so far works perfect (please see the easy patch attached).

what i need is to split the final result into 3 parts (same as jit.scissors but on gpu basis) to process them with several slab ojects.
finally all should come together again in ONE jit.window.

1. it that possible? how?

2. if not – what can i use instead of the videoplane objects to mix and position alpha channel videos?

thanks so much for you attention!


July 8, 2009 | 4:49 pm

Render to texture. Search for that in the forums and check out the example patches. Youd render all your video planes into one large 3×1 texture.

Then you could use texture coordinate offsets and pass things through slabs, cropping to your width/height that you need. Finally display on another set of video planes.


July 8, 2009 | 4:52 pm

ah, ok!
thanks vade, what would we do without you in this forum!???!


July 8, 2009 | 4:55 pm

Here’s a modified version of your patch that does what I think you’re after. From what I understood, you have 1 background image and 2 foreground images. If this is so, why do you want to split the composited image into 3 parts? You can do slab processing on individual video streams or write some custom shaders to composite the image to suit your needs and show that result.

– Pasted Max Patch, click to expand. –

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