videoplane -> slab processing

Jul 7, 2009 at 12:17pm

videoplane -> slab processing

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!

Jul 8, 2009 at 4:49pm

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.

Jul 8, 2009 at 4:52pm

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

Jul 8, 2009 at 4:55pm

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. –

You must be logged in to reply to this topic.