XML Feeds

.

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

Wesley Smith wesley.hoke at gmail.com
Fri Sep 14 08:43:27 MDT 2007


Here's something to get around the use of iter.  I don't think you can
aboid setcell but since it's a lowfrequency signal coming from the
mouse it's not such a big deal.

wes

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 402 510 268 196617 jit.expr 2 float32 10 10 @expr "cell[0]%2"
"cell[1]%2";
#P newex 428 581 182 196617 jit.gl.mesh ibm @texture pic @layer 1;
#P newex 139 441 27 196617 t b b;
#P newex 207 81 45 196617 loadbang;
#P newex 156 471 84 196617 jit.matrix data;
#P newex 77 526 191 196617 jit.slide @slide_up 0. @slide_down 51.;
#P newex 77 505 182 196617 jit.matrix 3 float32 10 10 @adapt 0;
#P newex 78 392 54 196617 pack 0 0;
#P message 78 418 166 196617 setcell \$1 \$2 plane 2 val 1. \, bang;
#P window linecount 2;
#P newex 77 582 232 196617 jit.gl.mesh ibm @poly_mode 1 1 @layer 2
@color 1 1 1 0.5 @blend_enable 1 @depth_enable 0;
#P window linecount 1;
#P newex 122 368 93 196617 scale 0 240 0 10;
#P newex 78 344 93 196617 scale 0 320 0 10;
#P newex 78 320 54 196617 unpack 0 0;
#P newex 88 289 120 196617 prepend screentoworld;
#P newex 88 266 58 196617 zl slice 2;
#P newex 78 243 60 196617 route mouse;
#P message 433 158 105 196617 read chilis.jpg \, bang;
#P newex 433 203 144 196617 jit.gl.texture ibm @name pic;
#P newex 433 180 110 196617 jit.qt.movie 320 240;
#P newex 78 218 84 196617 jit.window ibm;
#P newex 119 148 53 196617 t b b erase;
#P toggle 119 106 15 0;
#P newex 119 126 59 196617 qmetro 2;
#P newex 207 138 203 196617 jit.matrix data 3 float32 10 10 @adapt 0;
#P newex 207 117 345 196617 jit.gl.gridshape @automatic 0 @dim 10 10
@matrixoutput 1 @shape plane;
#P newex 119 177 155 196617 jit.gl.render ibm @camera 0 0 4;
#P connect 20 0 16 0;
#P connect 20 0 25 0;
#P fasten 20 0 24 0 82 562 433 562;
#P connect 25 0 24 1;
#P connect 7 0 8 0;
#P connect 9 0 7 0;
#P fasten 22 0 4 0 212 103 124 103;
#P connect 22 0 1 0;
#P connect 22 0 9 0;
#P connect 1 0 2 0;
#P connect 23 1 21 0;
#P connect 5 1 23 0;
#P connect 15 0 18 1;
#P connect 13 1 15 0;
#P fasten 12 0 0 0 93 313 74 313 74 171 124 171;
#P connect 5 0 0 0;
#P fasten 5 2 0 0 166 171 124 171;
#P connect 3 0 5 0;
#P connect 4 0 3 0;
#P connect 11 0 12 0;
#P fasten 10 0 13 0 83 318 83 318;
#P connect 10 0 11 0;
#P connect 18 0 17 0;
#P connect 14 0 18 0;
#P connect 13 0 14 0;
#P fasten 6 1 10 0 138 240 83 240;
#P connect 19 0 20 0;
#P fasten 17 0 19 0 83 487 82 487;
#P fasten 21 0 19 0 161 497 82 497;
#P fasten 23 0 19 0 144 482 82 482;
#P window clipboard copycount 26;


More information about the jitter mailing list