Forums > Jitter

faces substitution


Ad.
June 8, 2010 | 1:20 pm

Hi all.
Little problem about just a part of a matrix manipulation…
I would like to substitute a face with others pictures.

my problem is that I can’t manage to remove my own face…
I’ve made several trys with jit.expr, but it doesn’t work… 

Any ideas about this silly point would be appreciated !
Thanks,
Ad.

max v2;
#N vpatcher 0 44 1680 1046;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 1069 187 48 196617 loadbang;
#P newex 348 184 57 196617 qmetro 33;
#P newex 791 667 129 196617 jit.window ert @floating 1;
#P newex 1445 435 21 196617 t 0;
#P newex 1383 491 31 196617 + 20;
#P objectname [6];
#P newex 1344 491 31 196617 + 20;
#P objectname
[7];
#P newex 1233 491 30 196617 – 20;
#P objectname
[5];
#P newex 1422 363 41 196617 jit.iter;
#P objectname
[4];
#P newex 1370 363 41 196617 jit.iter;
#P objectname
[3];
#P newex 1304 363 41 196617 jit.iter;
#P objectname
[2];
#P newex 1270 521 91 196617 pak dstdimend 0 0;
#P objectname
[1];
#P newex 1068 229 63 196617 jit.qt.movie;
#P newex 355 360 66 196617 jit.rgb2luma;
#P newex 368 400 62 196617 cv.jit.faces;
#P message 461 259 46 196617 settings;
#P message 426 259 33 196617 close;
#P message 394 259 30 196617 open;
#P toggle 345 161 15 0;
#P newex 355 232 74 196617 t b b b b erase;
#P newex 272 293 250 196617 jit.qt.grab 160 120 @vmode 0 @unique 1 @vdevice 7;
#P newex 1152 545 265 196617 jit.matrix 4 char @usedstdim 1 @adapt 0 @dim 160 120;
#P newex 1165 520 99 196617 pak dstdimstart 0 0;
#P newex 1274 322 198 196617 jit.unpack 4;
#P newex 1258 363 41 196617 jit.iter;
#P newex 1194 491 30 196617 – 20;
#P newex 1446 411 32 196617 sel 0;
#P newex 791 643 64 196617 jit.op @op +;
#P message 1067 208 57 196617 read , bang;
#P newex 1135 233 46 196617 t l clear;
#P fasten 12 0 9 0 399 280 277 280;
#P fasten 13 0 9 0 431 280 277 280;
#P fasten 14 0 9 0 466 280 277 280;
#P connect 10 0 9 0;
#P connect 11 0 27 0;
#P connect 27 0 10 0;
#P connect 9 0 16 0;
#P connect 16 0 15 0;
#P connect 9 0 2 0;
#P connect 2 0 26 0;
#P connect 8 0 2 1;
#P connect 28 0 1 0;
#P connect 10 1 17 0;
#P connect 1 0 17 0;
#P connect 17 0 0 0;
#P connect 10 2 8 0;
#P connect 0 0 8 0;
#P connect 0 1 8 0;
#P connect 7 0 8 0;
#P connect 18 0 8 0;
#P connect 5 0 4 0;
#P connect 25 0 7 1;
#P connect 4 0 7 1;
#P connect 19 0 22 0;
#P connect 25 0 7 2;
#P connect 22 0 7 2;
#P connect 6 0 5 0;
#P connect 15 0 6 0;
#P connect 6 1 19 0;
#P connect 25 0 18 1;
#P connect 23 0 18 1;
#P connect 20 0 23 0;
#P connect 25 0 18 2;
#P connect 24 0 18 2;
#P connect 6 2 20 0;
#P connect 21 0 24 0;
#P connect 6 3 21 0;
#P connect 3 0 25 0;
#P connect 5 0 3 0;
#P pop;


June 17, 2010 | 4:38 pm

Read Jitter tutorial 16.

In the meantime here is that tutorial modified to suit your needs! ;)

– Pasted Max Patch, click to expand. –

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