Forums > Jitter

issue with jit.gl.videoplane and some video fx

December 9, 2007 | 2:23 pm

Dear list,i need some help to understand this issue
thanks
michele

max v2;
#N vpatcher 77 79 652 482;
#P toggle 365 154 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 365 182 82 196617 blend_enable $1;
#P message 299 72 30 196617 read;
#P window linecount 4;
#P newex 275 217 95 196617 jit.gl.videoplane out @automatic 0 @scale 1.33 1. 1. @depth_enable 0;
#P window linecount 1;
#P newex 275 96 107 196617 jit.qt.movie @adapt 1;
#P newex 65 278 195 196617 jit.gl.render out @erase_color 0. 0. 0. 1.;
#P newex 65 333 122 196617 jit.window out @interp 1;
#P newex 65 123 66 196617 t b b b erase;
#P toggle 65 65 15 0;
#P newex 65 88 42 196617 qmetro;
#N vpatcher 20 74 906 745;
#P inlet 263 71 15 0;
#P inlet 110 68 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 59 244 71 196617 saturation $1;
#P newex 37 269 123 196617 jit.brcosa @saturation 0.;
#P newex 37 474 63 196617 jit.op @op -;
#P newex 373 358 27 196617 – 1;
#P newex 125 304 52 196617 jit.change;
#P newex 310 255 27 196617 4;
#P newex 310 233 45 196617 loadbang;
#P message 309 401 45 196617 index $1;
#P newex 125 327 20 196617 t b;
#N counter 0 0 14;
#X flags 0 0;
#P newobj 309 379 75 196617 counter 0 0 14;
#P message 263 329 78 196617 matrixcount $1;
#P number 263 305 58 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 90 426 155 196617 jit.matrixset 15 4 char 320 240;
#P window linecount 2;
#P comment 344 270 100 196617 delay (in frames , limited by memory);
#P comment 148 325 100 196617 so only distinct frames are passed;
#P outlet 37 541 15 0;
#P inlet 37 67 15 0;
#P connect 0 0 15 0;
#P connect 16 0 15 0;
#P connect 15 0 14 0;
#P connect 14 0 1 0;
#P connect 17 0 16 0;
#P fasten 6 0 4 0 268 409 95 409;
#P fasten 9 0 4 0 314 422 95 422;
#P connect 15 0 4 0;
#P fasten 8 0 4 0 130 400 95 400;
#P connect 4 0 14 1;
#P connect 15 0 12 0;
#P connect 12 0 8 0;
#P connect 18 0 5 0;
#P connect 11 0 5 0;
#P connect 5 0 6 0;
#P fasten 8 0 7 0 130 373 314 373;
#P connect 7 0 9 0;
#P connect 10 0 11 0;
#P fasten 5 0 13 0 268 325 378 325;
#P connect 13 0 7 4;
#P pop;
#P newobj 275 131 64 196617 p difference;
#P window setfont "Sans Serif" 12.;
#P window linecount 5;
#P comment 456 163 100 196620 doesn’t work with blend_enable 1..what am i missing here?;
#P connect 3 0 2 0;
#P connect 2 0 4 0;
#P connect 4 3 6 0;
#P connect 4 0 6 0;
#P fasten 4 2 7 0 106 148 227 148 227 72 280 72;
#P connect 9 0 7 0;
#P connect 7 0 1 0;
#P connect 1 0 8 0;
#P connect 10 0 8 0;
#P fasten 4 1 8 0 88 185 280 185;
#P connect 11 0 10 0;
#P pop;


December 9, 2007 | 3:57 pm


December 9, 2007 | 9:32 pm

..well ok but i want that difference effect


December 9, 2007 | 9:57 pm


December 9, 2007 | 10:17 pm

thank you!..i have to understand deeper whats going on here because i have same problem with some auvi objects; they don’t work when using on videoplane


December 9, 2007 | 10:25 pm

AUVI objects have issues with Alpha channels – I dont think they
properly premultiply alpha – Kurt knows about this, but dont expect
any updates :(

On Dec 9, 2007, at 5:17 PM, mic wrote:

>
> thank you!..i have to understand deeper whats going on here because
> i have same problem with some auvi objects; they don’t work when
> using on videoplane


December 9, 2007 | 10:42 pm

i just found a workaround that works perfectly for auvi on gl.videoplane!!
here it is

max v2;
#N vpatcher 479 144 1145 565;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#N vpatcher 20 74 226 265;
#P outlet 41 105 15 0;
#P inlet 41 37 15 0;
#P connect 0 0 1 0;
#P pop;
#P newobj 349 88 79 196617 p auvi_fx_here;
#P user jit.fpsgui 140 115 60 196617 0;
#P newex 276 166 53 196617 jit.pack 4;
#P newex 349 118 66 196617 jit.unpack;
#P newex 276 75 66 196617 jit.unpack;
#P message 300 23 30 196617 read;
#P window linecount 5;
#P newex 276 217 98 196617 jit.gl.videoplane out @automatic 0 @scale 1.33 1. 1. @depth_enable 0 @blend_enable 1;
#P window linecount 1;
#P newex 276 47 107 196617 jit.qt.movie @adapt 1;
#P newex 65 278 195 196617 jit.gl.render out @erase_color 0. 0. 0. 1.;
#P newex 65 333 122 196617 jit.window out @interp 1;
#P newex 65 123 66 196617 t b b b erase;
#P toggle 65 65 15 0;
#P newex 65 88 42 196617 qmetro;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P connect 2 3 4 0;
#P connect 2 0 4 0;
#P connect 2 2 11 0;
#P fasten 2 2 5 0 106 148 227 148 227 34 281 34;
#P connect 7 0 5 0;
#P connect 5 0 8 0;
#P connect 8 0 10 0;
#P fasten 2 1 6 0 88 203 281 203;
#P connect 10 0 6 0;
#P connect 9 1 10 1;
#P connect 9 2 10 2;
#P connect 9 3 10 3;
#P fasten 5 0 12 0 281 70 354 70;
#P connect 12 0 9 0;
#P pop;


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