jit.xfade between jit.gl.render and MP4 video

dcwj's icon

I'm a bit rusty with Max and Jitter and I'm trying to figure out how to get a crossfade between a jit.gl.render and an MP4 video. I remember running into this before and fixing it somehow but I can't remember how I did it and I can't find anything online that seems to work. I'm probably missing something really simple but I'd appreciate a nudge in the right direction.

Here's my patch.

Max Patch
Copy patch and select New From Clipboard in Max.


I'm trying to get the videos on the right to fade half/half (one by one) with the rendered video from the webcam. That's another thing I can't figure out; how to make some simple "press this button to fade with video 1, press this button to fade with video 2...etc" functionality

Thanks

steve_j's icon

This uses the jit.gl.videoplane to mix over the mesh with the alpha channel. Not quite sure if you wanted to mix it there or mixing the videos on the texture? As for your other videos. I would ditch xfade and head stright to gl land. Mixing them all on videoplanes and routing them to your desired render destination.

Max Patch
Copy patch and select New From Clipboard in Max.

dcwj's icon

Thanks so much Steve!