Forums > MaxMSP

avoiding slab to matrix for alpha blending

September 9, 2013 | 7:12 pm

Hi all – I’ve got a patcher that’s nearly done, but I’m not happy with the performance. I read about the vade optimizations and watched the cycling74 tutorial on optimization. I’ve tried various combinations of things to get my framerate up – which you can see in this patch, such as qlim on the preview monitor, unique 1 on the movies, disabling onscreen on the preview window, etc.

One thing I have a feeling is that, while I’m rendering a syphon live camera feed and a movie together on a slab, I later use a matrix to alpha blend that with another video. I feel like there’s a way to accomplish this while maintaining the use of slabs, but I haven’t figured it out.

At any rate, if anyone is willing to have a peak at the patch and suggest some optimizations, or even point me in the right direction, I’d be incredibly grateful. Thanks!

Attachments:
  1. sfx3.maxpat

September 10, 2013 | 11:10 pm

Send both sources in the jit.gl.slab objects then use the fader…

<code>

– Pasted Max Patch, click to expand. –

</code>


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