XML Feeds

.

[jitter] cc.colormap help

Emmanuel monamimani at gmail.com
Mon Dec 31 06:50:55 MST 2007


Hi, I am trying to use the shader cc.colormap.jsx with the message jit_gl_texture to reference the texture which I want to use the shader on, but I can't make it work... Can anybody help me whit this? I don't see what I am doing wrong.

Thanks you very very much

Mani

happy new year


-------------- next part --------------
max v2;
#N vpatcher 22 44 1410 893;
#P origin -1 -2;
#P window setfont "Sans Serif" 12.;
#P comment 849 131 80 196620 2. Change color;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 528 121 195 196617 jit.gl.videoplane et.render @texture vid2;
#P message 204 572 98 196617 jit_gl_texture vid1;
#P user jit.pwindow 350 96 82 62 0 1 0 0 1 0;
#P newex 236 170 171 196617 jit.gl.texture et.render @name vid1;
#P newex 236 45 48 196617 loadbang;
#P toggle 236 69 15 0;
#P newex 236 91 57 196617 qmetro 33;
#P message 201 94 30 196617 read;
#P newex 236 133 105 196617 jit.qt.movie 320 240;
#P newex 10 166 157 196617 jit.window et.render @floating 1;
#P newex 10 34 48 196617 loadbang;
#P toggle 10 61 15 0;
#P newex 10 106 50 196617 t b erase;
#P newex 10 86 51 196617 qmetro 2;
#P newex 10 133 110 196617 jit.gl.render et.render;
#P newex 947 230 58 196617 unpack i i i;
#P button 930 525 15 0;
#P user jit.pwindow 946 616 285 17 0 1 0 0 1 0;
#P user multiSlider 1261 319 154 103 0. 255. 256 2921 47 0 0 2 0 0 1;
#M frgb 50 50 150;
#M brgb 150 150 250;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P user multiSlider 1104 319 154 103 0. 255. 256 2921 47 0 0 2 0 0 1;
#M frgb 50 150 50;
#M brgb 150 250 150;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P user multiSlider 947 319 154 103 0. 255. 256 2921 47 0 0 2 0 0 1;
#M frgb 150 50 50;
#M brgb 250 150 150;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P user panel 1023 198 30 30;
#X brgb 49 0 224;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P number 1177 186 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 1023 176 65 196617 prepend brgb;
#P comment 1088 188 89 196617 saturation output:;
#P message 948 200 67 196617 49 0 224;
#P newex 948 175 62 196617 prepend set;
#P user hslider 948 59 18 128 256 1 0 0;
#P message 948 82 69 196617 saturation \$1;
#P user swatch 948 106 239 64;
#P newex 1086 540 48 196617 loadbang;
#P newex 1104 497 71 196617 jit.fill level 2;
#P newex 1261 497 71 196617 jit.fill level 3;
#P newex 947 497 71 196617 jit.fill level 1;
#P message 976 541 108 196617 exprfill norm[0] \, bang;
#P newex 947 563 142 196617 jit.matrix level 4 char 256 1;
#P newex 436 544 68 196617 pvar mapdim;
#P message 436 568 90 196617 param mapdim \$1;
#P comment 38 571 72 196617 Mapdimension;
#P flonum 1 571 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname mapdim;
#P newex 344 545 66 196617 pvar amount;
#P message 344 569 88 196617 param amount \$1;
#P flonum 1 547 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname amount;
#P newex 308 662 171 196617 jit.gl.texture et.render @name vid2;
#P newex 308 618 199 196617 jit.gl.slab et.render @file cc.colormap.jxs;
#P comment 36 547 44 196617 Amount;
#P window setfont "Sans Serif" 12.;
#P window linecount 2;
#P comment 144 77 80 196620 1. read a movie;
#P fasten 36 0 35 0 15 60;
#P connect 35 0 33 0;
#P connect 33 0 34 0;
#P connect 34 1 32 0;
#P fasten 34 0 32 0 15 144 15 144;
#P connect 42 0 41 0;
#P connect 41 0 40 0;
#P connect 40 0 38 0;
#P fasten 39 0 38 0 206 118 241 118;
#P connect 38 0 43 0;
#P fasten 5 0 2 0 349 611 313 611;
#P fasten 9 0 2 0 441 611 313 611;
#P fasten 45 0 2 0 209 604 313 604;
#P connect 2 0 3 0;
#P connect 6 0 5 0;
#P connect 38 0 44 0;
#P connect 10 0 9 0;
#P fasten 11 0 2 1 952 610 502 610;
#P connect 17 0 31 0;
#P connect 31 0 26 0;
#P connect 26 0 13 0;
#P connect 30 0 11 0;
#P fasten 14 0 11 0 1266 523 952 523;
#P fasten 15 0 11 0 1109 523 952 523;
#P connect 13 0 11 0;
#P fasten 12 0 11 0 981 559 952 559;
#P connect 11 0 29 0;
#P connect 19 0 18 0;
#P connect 18 0 17 0;
#P connect 17 0 20 0;
#P connect 20 0 21 0;
#P connect 16 0 12 0;
#P fasten 17 0 23 0 953 173 1028 173;
#P connect 23 0 25 0;
#P fasten 31 1 27 0 976 283 1109 283;
#P connect 27 0 15 0;
#P connect 17 1 24 0;
#P fasten 31 2 28 0 1000 283 1266 283;
#P connect 28 0 14 0;
#P pop;


More information about the jitter mailing list