Forums > Jitter

losing coords in jit.window / fullscreen

May 7, 2006 | 2:13 am

Howdy!

I am writing to report a problem I’m having where I’m banging a jpeg
image with qmetro, and trying to get mouse coords on it. I am running
a 20" IMac G5 and would like to use to full screen, but a major issue
for me here is that my (x) mouse coords won’t go beyond 1240, (y
limited to 800) then they actually inexpicably won’t go beyond 600 (x)
and 400 (y) a bit after that while working. This is all in the course
of minutes. But I can never get beyond 1240 x.

I’m using a 1680×1050 display.

The patch is this. I am not sending the image but you can still get
the idea without it (coords will still show up).

max v2;
#N vpatcher 596 332 1834 1203;
#P origin 77 -89;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 357 252 74 196617 clip 180 1480;
#P newex 528 427 61 196617 jit.displays;
#P flonum 413 277 55 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 514 301 29 196617 s Xo;
#P newex 551 220 29 196617 s Yo;
#P message 560 181 31 196617 639.;
#P message 558 154 17 196617 0.;
#P newex 599 131 48 196617 loadbang;
#P comment 476 213 43 196617 x offset;
#P newex 459 129 42 196617 – 1080;
#P newex 459 149 23 196617 abs;
#P number 476 191 44 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 145 44 745 444;
#P window setfont "Sans Serif" 9.;
#P newex 246 219 74 196617 clip 180 1480;
#P window linecount 1;
#P message 223 83 20 196617 29;
#P newex 238 52 41 196617 r start;
#P window linecount 0;
#P message 105 142 14 196617 0;
#P newex 104 115 48 196617 loadbang;
#P newex 163 128 38 196617 sel 29;
#P newex 164 104 40 196617 keyup;
#P toggle 188 166 15 0;
#P newex 188 196 52 196617 metro 10;
#P message 195 221 20 196617 20;
#P number 251 191 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 219 136 38 196617 sel 29;
#P newex 208 242 27 196617 +;
#P newex 219 114 40 196617 key;
#P inlet 270 159 15 0;
#P outlet 208 264 15 0;
#P connect 11 0 12 0;
#P connect 14 0 10 0;
#P connect 9 0 10 0;
#P connect 4 0 8 0;
#P connect 12 0 8 0;
#P connect 10 0 8 0;
#P connect 8 0 7 0;
#P connect 7 0 6 0;
#P connect 6 0 3 0;
#P connect 3 0 0 0;
#P connect 14 0 4 0;
#P connect 2 0 4 0;
#P connect 13 0 14 0;
#P connect 15 0 3 1;
#P connect 5 0 15 0;
#P connect 4 0 5 0;
#P connect 1 0 5 0;
#P pop;
#P newobj 342 220 100 196617 p right-means-right;
#N vpatcher 123 44 723 444;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 223 83 20 196617 28;
#P newex 238 52 41 196617 r start;
#P window linecount 0;
#P message 54 109 14 196617 0;
#P newex 53 82 48 196617 loadbang;
#P newex 122 120 38 196617 sel 28;
#P newex 123 96 40 196617 keyup;
#P toggle 147 158 15 0;
#P newex 147 188 52 196617 metro 10;
#P message 154 213 25 196617 -20;
#P number 210 183 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 178 128 38 196617 sel 28;
#P newex 167 234 27 196617 +;
#P newex 178 106 40 196617 key;
#P inlet 229 141 15 0;
#P outlet 167 256 15 0;
#P connect 11 0 12 0;
#P connect 14 0 10 0;
#P connect 9 0 10 0;
#P connect 4 0 8 0;
#P connect 12 0 8 0;
#P connect 10 0 8 0;
#P connect 8 0 7 0;
#P connect 7 0 6 0;
#P connect 6 0 3 0;
#P connect 3 0 0 0;
#P connect 2 0 4 0;
#P connect 14 0 4 0;
#P connect 5 0 3 1;
#P connect 4 0 5 0;
#P connect 1 0 5 0;
#P connect 13 0 14 0;
#P pop;
#P newobj 342 193 88 196617 p left-means-left;
#P comment 240 252 13 196617 X;
#P user hslider 174 226 18 128 1680 1 0 0;
#P user uslider 152 78 18 128 1050 1 0 0;
#N vpatcher -3 298 597 698;
#P window setfont "Sans Serif" 9.;
#P newex 352 96 74 196617 clip 180 1680;
#P window setfont "Sans Serif" 14.;
#P newex 449 178 88 196622 clip 20 460;
#P newex 407 211 178 196622 scale 0 1050 0.83 -0.83;
#P newex 330 146 178 196622 scale 0 1680 1.09 -1.09;
#P newex 284 253 149 196622 pak position 0. 0. 0.;
#P inlet 317 56 15 0;
#P inlet 50 186 15 0;
#P outlet 284 282 15 0;
#P connect 3 0 0 0;
#P connect 7 0 4 0;
#P connect 4 0 3 1;
#P connect 2 0 7 0;
#P connect 5 0 3 2;
#P connect 6 0 5 0;
#P connect 1 0 5 0;
#P pop;
#P newobj 241 583 66 196617 p positioning;
#N vpatcher 334 454 934 854;
#N comlet go fullscreen;
#P inlet 58 109 15 0;
#N comlet input from rotate;
#P inlet 92 109 15 0;
#N comlet float;
#P inlet 26 109 15 0;
#P outlet 270 229 15 0;
#P window setfont "Sans Serif" 14.;
#P newex 50 153 263 196622 jit.window Sonic_Subway_Map @size 1680 1080
@idlemouse 1 @fsaa 1;
#P connect 3 0 0 0;
#P connect 2 0 0 0;
#P connect 4 0 0 0;
#P connect 0 1 1 0;
#P pop 1;
#P newobj 852 598 50 196617 p display;
#P comment 128 165 13 196617 Y;
#N vpatcher 336 44 936 444;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 211 68 20 196617 30;
#P newex 226 37 41 196617 r start;
#P window linecount 0;
#P message 61 116 14 196617 0;
#P newex 60 89 48 196617 loadbang;
#P newex 155 99 38 196617 sel 30;
#P newex 156 75 40 196617 keyup;
#P toggle 173 134 15 0;
#P newex 173 164 52 196617 metro 10;
#P message 204 191 20 196617 20;
#P number 234 186 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 225 113 38 196617 sel 30;
#P newex 219 229 27 196617 +;
#P newex 225 90 40 196617 key;
#N comlet input position;
#P inlet 268 161 15 0;
#N comlet output new position (+5pix);
#P outlet 219 251 15 0;
#P connect 11 0 12 0;
#P connect 14 0 10 0;
#P connect 9 0 10 0;
#P connect 4 0 8 0;
#P connect 12 0 8 0;
#P connect 10 0 8 0;
#P connect 8 0 7 0;
#P connect 7 0 6 0;
#P connect 13 0 14 0;
#P connect 6 0 3 0;
#P connect 3 0 0 0;
#P connect 14 0 4 0;
#P connect 2 0 4 0;
#P connect 4 0 5 0;
#P connect 1 0 5 0;
#P connect 5 0 3 1;
#P pop;
#P newobj 342 131 76 196617 p up-means-up;
#N vpatcher 155 44 755 444;
#P window setfont "Sans Serif" 9.;
#P message 223 83 20 196617 31;
#P newex 238 52 41 196617 r start;
#P message 61 116 14 196617 0;
#P newex 60 89 48 196617 loadbang;
#P newex 134 116 38 196617 sel 31;
#P newex 135 92 40 196617 keyup;
#P toggle 159 154 15 0;
#P newex 159 184 52 196617 metro 10;
#P message 166 209 25 196617 -20;
#P number 222 179 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 190 124 38 196617 sel 31;
#P newex 179 230 27 196617 +;
#P newex 190 102 40 196617 key;
#P inlet 222 159 15 0;
#P outlet 179 252 15 0;
#P connect 11 0 12 0;
#P connect 14 0 10 0;
#P connect 9 0 10 0;
#P connect 4 0 8 0;
#P connect 12 0 8 0;
#P connect 10 0 8 0;
#P connect 8 0 7 0;
#P connect 7 0 6 0;
#P connect 6 0 3 0;
#P connect 3 0 0 0;
#P connect 2 0 4 0;
#P connect 14 0 4 0;
#P connect 5 0 3 1;
#P connect 4 0 5 0;
#P connect 1 0 5 0;
#P connect 13 0 14 0;
#P pop;
#P newobj 342 160 102 196617 p down-means-down;
#P comment 476 172 43 196617 y offset;
#P newex 349 361 48 196617 loadbang;
#N vpatcher 756 134 1218 620;
#P origin 0 7;
#P window setfont "Sans Serif" 12.;
#P window linecount 0;
#P comment 63 307 328 196620 4. Only Brooklyn stops are currently
operational. Please bear with us during our scheduled service change.;
#P button 286 173 30 0;
#P button 337 173 30 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 337 210 37 196617 s stop;
#P newex 286 210 41 196617 s start;
#N thispatcher;
#Q end;
#P hidden newobj 63 453 61 196617 thispatcher;
#P hidden newex 61 389 48 196617 loadbang;
#P hidden message 62 427 55 196617 floating $1;
#P hidden toggle 62 409 15 0;
#P window setfont "Sans Serif" 12.;
#P window linecount 4;
#P comment 61 173 219 196620 2. Navigate using the up , down , left
, right arrow buttons. Click on any stop on the F line (notated with
black points).;
#P user led 80 74 17 17 1 150;
#P user led 80 34 17 17 0 150;
#P user led 80 54 17 17 3 150;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P hidden newex 169 499 100 196617 bgcolor 240 160 60;
#P window setfont "Plantagenet Cherokee" 36.;
#P window linecount 2;
#P comment 113 23 258 -18874332 F Train Sonic Subway Map;
#P user panel 36 22 371 94;
#X brgb 247 243 51;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P window setfont "Sans Serif" 12.;
#P window linecount 1;
#P comment 61 146 145 196620 1. Hit to start.;
#P window linecount 3;
#P comment 61 248 214 196620 3. To travel to another stop , just
simply click on it , and the audio will crossfade to that stop.;
#P user panel 36 123 371 249;
#X brgb 193 209 253;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P hidden connect 12 0 10 0;
#P hidden connect 10 0 11 0;
#P hidden connect 11 0 13 0;
#P hidden connect 16 0 7 0;
#P hidden fasten 17 0 8 0 85 94;
#P connect 17 0 14 0;
#P connect 16 0 15 0;
#P pop;
#P newobj 916 282 61 196617 p popuphelp;
#P message 885 130 33 196617 set 0;
#P newex 885 101 48 196617 loadbang;
#P newex 765 145 67 196617 unpack 0 0 0;
#P newex 764 120 76 196617 r mousecoords;
#P newex 680 253 29 196617 r Xo;
#P newex 290 21 29 196617 s Yo;
#P newex 820 255 29 196617 r Yo;
#P newex 1002 770 89 196617 send mousebutton;
#P comment 930 482 86 196617 esc to fullscreen;
#P newex 841 769 91 196617 send mousecoords;
#P newex 841 742 57 196617 pack 0 0 0;
#P newex 835 524 32 196617 sel 9;
#P newex 835 500 40 196617 key;
#B color 9;
#P message 930 567 70 196617 fullscreen $1;
#P toggle 930 546 15 0;
#P newex 930 523 53 196617 sel 27;
#P newex 930 499 40 196617 key;
#P message 835 569 55 196617 floating $1;
#P toggle 835 551 15 0;
#P window setfont Times 10.;
#P comment 1133 413 13 1310730 y;
#P comment 1133 352 13 1310730 y;
#P window setfont "Sans Serif" 9.;
#P window linecount 2;
#P comment 1095 707 26 196617 Mac ctrl;
#P comment 1061 707 26 196617 opt/ alt;
#P window linecount 1;
#P comment 1025 707 27 196617 caps;
#P comment 992 707 27 196617 shift;
#P window linecount 2;
#P comment 945 707 51 196617 Mac cmd/ Win ctrl;
#P window linecount 1;
#P comment 864 706 28 196617 x , y;
#P number 1098 689 16 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 1064 689 16 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 1030 689 16 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 996 689 16 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 962 689 16 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 921 689 16 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 878 689 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 841 689 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 860 655 249 196617 unpack 0 0 0 0 0 0 0 0;
#P newex 860 629 110 196617 route mouse mouseidle;
#P comment 913 707 33 196617 button;
#P newex 282 649 48 196617 loadbang;
#P message 282 676 156 196617 read NY_Subway_Mapwork7.jpg;
#P window setfont "Sans Serif" 14.;
#P flonum 700 678 56 14 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 580 706 147 196622 pak color 1. 1. 1. 1.;
#P newex 132 500 33 196622 b 2;
#P newex 282 706 296 196622 jit.qt.movie 2000 1834 @colormode uyvy;
#P newex 93 464 89 196622 t b b erase;
#P window linecount 2;
#P newex 22 720 229 196622 jit.gl.render Sonic_Subway_Map @erase_color
0.4 0.4 0.4 1.;
#P toggle 93 403 20 0;
#P window linecount 1;
#P newex 93 427 83 196622 qmetro 60;
#P window setfont "Sans Serif" 9.;
#P comment 835 482 58 196617 tab to float;
#P newex 788 347 57 196617 s offset+y;
#P newex 723 346 57 196617 s offset+x;
#P comment 747 183 28 196617 x , y;
#P newex 771 251 27 196617 t b i;
#P newex 724 252 27 196617 t b i;
#P number 772 307 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 726 307 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 726 283 27 196617 +;
#P newex 771 282 27 196617 +;
#P number 761 198 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 724 198 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont "Sans Serif" 14.;
#P window linecount 3;
#P newex 282 743 311 196622 jit.gl.videoplane Sonic_Subway_Map @scale
2.2 1.656 1. @automatic 0 @blend_enable 1 @colormode uyvy @antialias
1;
#P fasten 16 2 15 0 176 495 27 495;
#P lcolor 4;
#P connect 16 0 15 0;
#P connect 42 0 14 0;
#P connect 14 0 13 0;
#P connect 13 0 16 0;
#P connect 16 1 18 0;
#P hidden connect 64 0 69 0;
#P hidden connect 65 0 69 0;
#P hidden connect 73 0 70 0;
#P hidden connect 72 0 70 0;
#P connect 69 0 68 0;
#P connect 22 0 21 0;
#P connect 21 0 17 0;
#P connect 18 1 17 0;
#P connect 17 0 0 0;
#P connect 68 0 0 0;
#P connect 18 0 0 0;
#P fasten 19 0 0 0 585 736 287 736;
#P connect 70 0 68 1;
#P hidden connect 69 0 65 0;
#P hidden connect 69 0 64 0;
#P hidden connect 70 0 72 0;
#P hidden connect 70 0 73 0;
#P connect 70 0 85 0;
#P connect 85 0 83 0;
#P connect 80 0 83 0;
#P hidden connect 69 0 76 0;
#P hidden connect 76 0 75 0;
#P hidden connect 79 0 74 0;
#P hidden connect 75 0 74 0;
#P connect 83 0 82 0;
#P connect 74 0 81 0;
#P hidden connect 78 0 79 0;
#P hidden connect 78 0 80 0;
#P connect 20 0 19 4;
#P connect 5 0 10 0;
#P hidden connect 58 0 1 0;
#P connect 1 0 7 0;
#P connect 56 0 4 0;
#P connect 7 0 4 0;
#P connect 4 0 5 0;
#P connect 7 1 4 1;
#P hidden connect 58 1 2 0;
#P connect 57 0 58 0;
#P connect 2 0 8 0;
#P connect 54 0 3 0;
#P connect 8 0 3 0;
#P connect 3 0 6 0;
#P connect 8 1 3 1;
#P connect 6 0 11 0;
#P connect 48 0 49 0;
#P connect 49 0 42 0;
#P connect 42 0 43 0;
#P fasten 25 0 26 0 865 681 846 681;
#P connect 26 0 50 0;
#P connect 50 0 51 0;
#P connect 67 0 24 0;
#P connect 24 0 25 0;
#P fasten 24 1 25 0 915 650 865 650;
#P fasten 27 0 50 1 883 729 869 729;
#P connect 47 0 67 1;
#P fasten 25 1 27 0 899 681 883 681;
#P connect 59 0 60 0;
#P fasten 28 0 50 2 926 733 892 733;
#P fasten 25 2 28 0 933 681 926 681;
#P connect 44 0 45 0;
#P connect 45 0 46 0;
#P connect 46 0 47 0;
#P fasten 25 3 29 0 967 681 967 681;
#P fasten 25 4 30 0 1001 681 1001 681;
#P connect 25 2 53 0;
#P fasten 25 5 31 0 1035 681 1035 681;
#P fasten 25 6 32 0 1069 681 1069 681;
#P fasten 25 7 33 0 1103 681 1103 681;
#P pop;

I’m definitely in need of help here!

Cheers,
Jim Briggs


May 7, 2006 | 2:25 am

I have screen dims of 1280 x 856, so I had to change the size of your
window object. Still, I was able to get the coords to go all the way
to 1280 and 856 in fullscreen mode.

HTH,
wes


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