Forums > MaxMSP

Fullscreen Slideshow

April 29, 2007 | 3:40 am

I’m a newbie and i’m trying to make a patch where i can press space bar to open a fullscreen image, and then press space bar again to go to another fullscreen image, and so on. Everything i’ve tried so far has made it so the pictures continuously flash really quickly. Any help would be much appreciated. Thanks!


April 29, 2007 | 6:48 pm

Should be quite simple to do actually- just use quicktime movie to load some picture files – always works great for me. You could make things even more stable by rendering it full screen using openGL instead of mucking about with all the matrix stuff. Then you could just have a counter on space bar which selects various pictures.

Hope this helps- if this is already what your doing it seems strange that you are having problems.

T


May 1, 2007 | 4:03 pm

DerekJ schrieb:
> Everything i’ve tried so far has made it so the pictures continuously
> flash really quickly. Any help would be much appreciated.

Looks like it needs some debuggin’ from your side… ;-)

First is to understand your own patch. If you’ve done the tutorials,
you’ll know that you need to place some prints and/or numberboxes into
your dataflow to verify that its passing what you think it should pass.
Very often these kind of unexpected result happen due to wrongly assumed
execution order. Get into using triggers…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com



ico
May 1, 2007 | 4:12 pm

> DerekJ schrieb:
> > Everything i’ve tried so far has made it so the pictures continuously
> > flash really quickly. Any help would be much appreciated.

I missed your original email so please pardon me if this seems redundant,
but have you enabled the double-buffering (see jit.window help patch)?

Ico


May 1, 2007 | 6:00 pm

i just linked a doublebuffer $1 with a toggleswitch to the jit window and it still didn’t work. just showed the first frame of the video. am i doing this wrong? this is my patch.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 348 344 81 196617 doublebuffer $1;
#P toggle 348 325 15 0;
#P message 449 238 96 196617 read slashroom.jpg;
#P button 657 170 15 0;
#P button 638 170 15 0;
#P button 620 170 15 0;
#P button 604 170 15 0;
#P button 588 170 15 0;
#P button 572 170 15 0;
#P message 1135 238 102 196617 read williewin1.mov;
#P message 1013 238 105 196617 read winroomwin.jpg;
#P message 907 238 89 196617 read winroom.jpg;
#P message 781 238 123 196617 read jimmyroomwin.mov;
#P message 675 238 102 196617 read jimmyroom.jpg;
#P message 553 238 117 196617 read slashroomwin.mov;
#P button 553 170 15 0;
#P message 324 238 119 196617 read willieroomwin.mov;
#P newex 449 94 64 196617 t b b;
#P message 219 238 98 196617 read willieroom.jpg;
#P button 535 170 15 0;
#P button 519 170 15 0;
#P button 503 170 15 0;
#P button 487 170 15 0;
#P newex 503 145 170 196617 route 0 1 2 3 4 5 6 7 8 9 10 11;
#N counter 0 11;
#X flags 0 0;
#P newobj 503 119 68 196617 counter 0 11;
#P newex 366 76 38 196617 sel 32;
#P newex 366 53 40 196617 key;
#P message 106 238 104 196617 read instructions.jpg;
#P message 1 238 99 196617 read titlescreen.jpg;
#P toggle 462 328 15 0;
#P message 462 349 70 196617 fullscreen $1;
#P newex 449 373 93 196617 jit.window display;
#P newex 449 307 111 196617 jit.qt.movie 1440 900;
#P comment 480 330 100 196617 Make Fullscreen;
#P fasten 11 0 5 0 492 207 6 207;
#P fasten 12 0 6 0 508 207 111 207;
#P fasten 13 0 15 0 524 207 224 207;
#P fasten 14 0 17 0 540 207 329 207;
#P connect 7 0 8 0;
#P fasten 8 0 16 0 371 99 418 99 418 81 454 81;
#P fasten 18 0 31 0 558 207 454 207;
#P connect 31 0 1 0;
#P connect 17 0 1 0;
#P connect 5 0 1 0;
#P connect 6 0 1 0;
#P connect 15 0 1 0;
#P connect 19 0 1 0;
#P connect 20 0 1 0;
#P connect 21 0 1 0;
#P connect 22 0 1 0;
#P connect 23 0 1 0;
#P connect 24 0 1 0;
#P connect 16 0 1 0;
#P connect 1 0 2 0;
#P connect 3 0 2 0;
#P connect 4 0 3 0;
#P connect 10 0 11 0;
#P connect 16 1 9 0;
#P connect 9 0 10 0;
#P connect 10 1 12 0;
#P connect 10 2 13 0;
#P connect 10 3 14 0;
#P connect 10 4 18 0;
#P fasten 25 0 19 0 577 207 558 207;
#P connect 10 5 25 0;
#P connect 10 6 26 0;
#P connect 10 7 27 0;
#P connect 10 8 28 0;
#P connect 10 9 29 0;
#P connect 10 10 30 0;
#P fasten 26 0 20 0 593 206 680 206;
#P fasten 27 0 21 0 609 206 786 206;
#P fasten 28 0 22 0 625 206 912 206;
#P fasten 29 0 23 0 643 206 1018 206;
#P fasten 30 0 24 0 662 205 1140 205;
#P connect 32 0 33 0;
#P connect 33 0 2 0;
#P window clipboard copycount 34;


May 1, 2007 | 7:31 pm


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