Forums > Jitter

bgcolor update flocker

May 31, 2007 | 8:35 am

Dear folks,

Couldn’t find anything in the archives about this. I’m trying to build an installation patch that will change color to match the color of what a participant is wearing. Unfortunately I’m experiencing flicker no matter what I do. The attached patch flickers at the bang rate. I also get intermittent flicker just dragging over the swatch. I’m on a Mac Pro OSX10.4.9, MaxMSP 4.6.3. The problems is even worse on our G5.
Any ideas to get around this?

Thanks in advance,

Christopher
——————————
max v2;
#N vpatcher 327 287 875 737;
#P origin 0 -15;
#P window setfont "Sans Serif" 9.;
#P newex 138 272 44 196617 line 50.;
#P message 138 248 37 196617 $1 50;
#P newex 91 272 44 196617 line 50.;
#P message 91 248 37 196617 $1 50;
#P newex 44 272 44 196617 line 50.;
#P message 44 248 37 196617 $1 50;
#P button 150 202 15 0;
#P newex 194 225 88 196617 pack 0. 0. 0.;
#N thispatcher;
#Q end;
#P newobj 194 365 60 196617 thispatcher;
#P newex 194 302 106 196617 bgcolor 202 202 202;
#P newex 194 342 65 196617 prepend brgb;
#P user swatch 333 221 128 32;
#P message 202 67 46 196617 settings;
#P user jit.pwindow 30 157 82 62 0 1 0 0 1 0;
#P newex 49 46 32 196617 sel 1;
#P message 49 71 28 196617 open;
#P message 90 71 31 196617 close;
#P flonum 181 41 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 139 21 15 0;
#P newex 139 62 52 196617 metro 50;
#P newex 139 100 56 196617 jit.qt.grab;
#P flonum 272 200 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 233 200 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 194 200 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 157 183 61 196617 mean ARGB;
#P newex 155 158 129 196617 unpack 0. 0. 0. 0.;
#P newex 139 130 58 196617 jit.3m;
#P comment 265 347 100 196617 Same behavior;
#P comment 44 299 120 196617 Inserting these don’t help;
#P connect 8 0 15 0;
#P connect 23 0 24 0;
#P fasten 10 0 14 0 145 36 145 41 54 41;
#P connect 14 0 13 0;
#P fasten 14 1 12 0 76 68 95 68;
#P connect 25 0 26 0;
#P connect 27 0 28 0;
#P connect 10 0 9 0;
#P fasten 16 0 8 0 207 89 144 89;
#P connect 9 0 8 0;
#P fasten 12 0 8 0 95 92 144 92;
#P fasten 13 0 8 0 54 90 144 90;
#P connect 8 0 2 0;
#P connect 2 1 3 0;
#P connect 11 0 9 1;
#P connect 3 1 5 0;
#P connect 5 0 21 0;
#P fasten 17 0 19 0 338 261 199 261;
#P connect 21 0 19 0;
#P connect 18 0 20 0;
#P connect 3 2 6 0;
#P connect 6 0 21 1;
#P connect 3 3 7 0;
#P connect 7 0 21 2;
#P pop;


May 31, 2007 | 5:13 pm

I don’t know what drawing vagary that might be caused by, but I don’t
have the problem if I use [panel]

M

max v2;
#N vpatcher 348 190 874 614;
#P origin 0 -15;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 138 272 44 196617 line 50.;
#P message 138 248 37 196617 $1 50;
#P newex 91 272 44 196617 line 50.;
#P message 91 248 37 196617 $1 50;
#P newex 44 272 44 196617 line 50.;
#P message 44 248 37 196617 $1 50;
#P button 150 202 15 0;
#P newex 194 225 88 196617 pack 0. 0. 0.;
#P newex 194 302 106 196617 sprintf brgb %i %i %i;
#P user swatch 333 221 128 32;
#P message 202 67 46 196617 settings;
#P user jit.pwindow 30 157 82 62 0 1 0 0 1 0;
#P newex 49 46 32 196617 sel 1;
#P message 49 71 28 196617 open;
#P message 90 71 31 196617 close;
#P flonum 181 41 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 139 21 15 0;
#P newex 139 62 52 196617 metro 50;
#P newex 139 100 56 196617 jit.qt.grab;
#P flonum 272 200 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 233 200 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 194 200 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 157 183 61 196617 mean ARGB;
#P newex 155 158 129 196617 unpack 0. 0. 0. 0.;
#P newex 139 130 58 196617 jit.3m;
#P comment 44 299 120 196617 Inserting these don’t help;
#P user panel 0 -1 605 487;
#X brgb 98 82 76;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P hidden connect 18 0 0 0;
#P connect 8 0 15 0;
#P connect 21 0 22 0;
#P fasten 10 0 14 0 145 36 145 41 54 41;
#P connect 14 0 13 0;
#P fasten 14 1 12 0 76 68 95 68;
#P connect 23 0 24 0;
#P connect 25 0 26 0;
#P connect 10 0 9 0;
#P fasten 13 0 8 0 54 90 144 90;
#P fasten 12 0 8 0 95 92 144 92;
#P connect 9 0 8 0;
#P fasten 16 0 8 0 207 89 144 89;
#P connect 8 0 2 0;
#P connect 2 1 3 0;
#P connect 11 0 9 1;
#P connect 3 1 5 0;
#P connect 5 0 19 0;
#P fasten 17 0 18 0 338 261 199 261;
#P connect 19 0 18 0;
#P connect 3 2 6 0;
#P connect 6 0 19 1;
#P connect 3 3 7 0;
#P connect 7 0 19 2;
#P pop;


June 1, 2007 | 9:44 am

[panel] works great on my machines also. Thanks very much!

Christopher


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