avoiding slab to matrix for alpha blending

Sep 9, 2013 at 7:12pm

avoiding slab to matrix for alpha blending

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
#264783
Sep 10, 2013 at 11:10pm

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

<code>

– Pasted Max Patch, click to expand. –

</code>

#264930

You must be logged in to reply to this topic.