Crossfading between multiple matrices... and not just two.


    Apr 21 2009 | 8:45 pm
    I need to crossfade between multiple channels, which means crossfade between multiple matrices, and not just the 2 of the matrices in the jit.xfade does.. Simply put: I need like a mixer, where i can combine whatever 2 channels i want, and crossfade between these two, to be displayed in one window. I have really tried to harvest the forum for a solution and even the net for info, but i pretty much didnt get anywhere and i am quite stuck...
    I was thinking of putting a preset between the channels and the jit.xfade but i came to the conclusion that didnt work quite well. Check out the attached patch, its just a simple example, of where i am trying to go (i need to combine 1 and 2, 3 and 5 or vice versa, but all of these combinations to go into one fader). I need everything displayed/rendered in the pwindow.
    Any suggestions?
    Help is tremendously appreciated!!

    • Apr 22 2009 | 5:45 am
      hello, it depends on what you want to do with the matrices... but if it's only to show the image you could use 5 jit.qt.movie-->jit.gl.slab with 5 inputs-->jit.gl.videoplane and in the slab you put your modified version of 43j-fourwaymix.jxs look in the examples files there is an fp (fragment program) and vp(vertex program) wich lets crossfade between several movies ...welcome to shadering and slabing... take a look in this one it's not too hard to change for your purpose cheers Hubert