XML Feeds

.

[jitter] best route for multiple pic manipulation in gl space

yair reshef yair99 at gmail.com
Fri Sep 14 08:03:33 MDT 2007


before i go on, what (in ur mind) the most efficient way of doing this?
this is just a quick sketch but it shows the effect, at the price of using
the dreaded jit.iter, setcell.
100 pictures sensitive to mouse position.
i am up for anything, lua, java shaders etc.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 79 381 27 9109513 t b b;
#P newex 147 21 45 9109513 loadbang;
#P newex 96 411 65 9109513 jit.matrix data;
#P newex 17 466 167 9109513 jit.slide @slide_up 0. @slide_down 51.;
#P newex 17 445 153 9109513 jit.matrix 3 float32 10 10 @adapt 0;
#P newex 18 332 54 9109513 pack 0 0;
#P message 18 358 147 9109513 setcell \$1 \$2 plane 2 val 1. \, bang;
#P newex 16 489 143 9109513 jit.gl.mesh ibm @poly_mode 1 1;
#P newex 62 308 79 9109513 scale 0 240 0 10;
#P newex 18 284 79 9109513 scale 0 320 0 10;
#P newex 18 260 54 9109513 unpack 0 0;
#P newex 28 229 101 9109513 prepend screentoworld;
#P newex 28 206 44 9109513 zl slice 2;
#P message 216 452 71 9109513 screentoworld -;
#P newex 217 431 57 9109513 prepend set;
#P newex 18 183 60 9109513 route mouse;
#P message 373 98 91 9109513 read chilis.jpg \, bang;
#P newex 373 143 125 9109513 jit.gl.texture ibm @name pic;
#P newex 373 120 91 9109513 jit.qt.movie 320 240;
#P newex 207 352 76 9109513 prepend position;
#P newex 189 331 27 9109513 t b l;
#P newex 189 306 40 9109513 jit.iter;
#P newex 189 383 274 9109513 jit.gl.videoplane ibm @automatic 0 @texture pic
@scale 0.4 0.3;
#P newex 18 158 65 9109513 jit.window ibm;
#P newex 59 88 53 9109513 t b b erase;
#P toggle 59 46 15 0;
#P newex 59 66 45 9109513 qmetro 2;
#P newex 147 78 174 9109513 jit.matrix data 3 float32 10 10 @adapt 0;
#P newex 147 57 316 9109513 jit.gl.gridshape @automatic 0 @dim 10 10
@matrixoutput 1 @shape plane;
#P window linecount 2;
#P newex 59 117 73 9109513 jit.gl.render ibm @camera 2 2 4;
#P fasten 28 0 4 0 152 43 64 43;
#P connect 28 0 1 0;
#P connect 28 0 13 0;
#P connect 26 0 22 0;
#P fasten 23 0 25 0 23 427 22 427;
#P fasten 27 0 25 0 101 437 22 437;
#P fasten 29 0 25 0 84 422 22 422;
#P connect 25 0 26 0;
#P fasten 6 1 14 0 78 180 23 180;
#P fasten 14 0 19 0 23 258 23 258;
#P connect 19 0 20 0;
#P connect 20 0 24 0;
#P connect 24 0 23 0;
#P connect 14 0 17 0;
#P connect 17 0 18 0;
#P connect 4 0 3 0;
#P connect 3 0 5 0;
#P fasten 5 2 0 0 106 111 64 111;
#P connect 5 0 0 0;
#P fasten 18 0 0 0 33 253 14 253 14 111 64 111;
#P connect 19 1 21 0;
#P connect 21 0 24 1;
#P connect 5 1 29 0;
#P connect 29 1 27 0;
#P connect 1 0 2 0;
#P connect 26 0 8 0;
#P fasten 8 0 9 0 194 330 194 330;
#P fasten 10 0 7 0 212 377 194 377;
#P connect 9 0 7 0;
#P connect 9 1 10 0;
#P connect 15 0 16 0;
#P connect 13 0 11 0;
#P connect 11 0 12 0;
#P window clipboard copycount 30;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cycling74.com/pipermail/jitter/attachments/20070914/95f96096/attachment.htm


More information about the jitter mailing list