From fbd33b6f3211150cdb14da4afc37f99668a44a14 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sat, 14 Mar 2015 20:38:11 +0000 Subject: Gem osx/i386 built '' for osx/i386 --- Gem/examples/07.texture/01.texture.pd | 60 ++++++ Gem/examples/07.texture/02.TexCoord.pd | 70 +++++++ Gem/examples/07.texture/04.moveImages.pd | 153 ++++++++++++++++ Gem/examples/07.texture/05.newWave.pd | 201 +++++++++++++++++++++ Gem/examples/07.texture/06.ripple.pd | 114 ++++++++++++ Gem/examples/07.texture/07.feedback.pd | 92 ++++++++++ Gem/examples/07.texture/08.MotionBlur.pd | 130 +++++++++++++ Gem/examples/07.texture/09.sharedTextures.pd | 79 ++++++++ Gem/examples/07.texture/10.framebuffer.pd | 195 ++++++++++++++++++++ .../11.multiples_gemhead_in_a_framebuffer.pd | 116 ++++++++++++ 10 files changed, 1210 insertions(+) create mode 100644 Gem/examples/07.texture/01.texture.pd create mode 100644 Gem/examples/07.texture/02.TexCoord.pd create mode 100644 Gem/examples/07.texture/04.moveImages.pd create mode 100644 Gem/examples/07.texture/05.newWave.pd create mode 100644 Gem/examples/07.texture/06.ripple.pd create mode 100644 Gem/examples/07.texture/07.feedback.pd create mode 100644 Gem/examples/07.texture/08.MotionBlur.pd create mode 100644 Gem/examples/07.texture/09.sharedTextures.pd create mode 100644 Gem/examples/07.texture/10.framebuffer.pd create mode 100644 Gem/examples/07.texture/11.multiples_gemhead_in_a_framebuffer.pd (limited to 'Gem/examples/07.texture') diff --git a/Gem/examples/07.texture/01.texture.pd b/Gem/examples/07.texture/01.texture.pd new file mode 100644 index 0000000..da6dedc --- /dev/null +++ b/Gem/examples/07.texture/01.texture.pd @@ -0,0 +1,60 @@ +#N canvas 180 41 560 399 10; +#X floatatom 369 147 0 0 0 0 - - -; +#X obj 325 202 pix_image ../data/fractal.JPG; +#X obj 325 245 pix_texture; +#X obj 325 171 rotate 0 1 1; +#X obj 325 277 cube; +#X obj 325 124 gemhead; +#N canvas 87 154 247 179 Gem.init 0; +#X obj 118 46 loadbang; +#X msg 118 81 reset; +#X obj 118 113 outlet; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X restore 90 153 pd Gem.init; +#N canvas 340 107 682 322 gemwin 0; +#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144 +-1 -1 0 1; +#X obj 102 161 r \$0-gemstart; +#X obj 102 182 select 1 0; +#X msg 102 214 create \, 1; +#X msg 177 215 destroy; +#X obj 102 239 t a; +#X obj 318 54 inlet; +#X obj 318 255 gemwin; +#X obj 318 100 t a a; +#X obj 318 287 outlet; +#X obj 350 128 route create destroy; +#X obj 350 150 t b; +#X msg 350 172 1; +#X obj 390 150 t b; +#X msg 390 172 0; +#X obj 350 195 t f; +#X msg 350 219 set \$1; +#X text 118 122 rendering; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 8 0; +#X connect 7 0 9 0; +#X connect 8 0 7 0; +#X connect 8 1 10 0; +#X connect 10 0 11 0; +#X connect 10 1 13 0; +#X connect 11 0 12 0; +#X connect 12 0 15 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 16 0 0 0; +#X coords 0 -1 1 1 85 40 1 100 100; +#X restore 60 170 pd gemwin; +#X connect 0 0 3 1; +#X connect 1 0 2 0; +#X connect 2 0 4 0; +#X connect 3 0 1 0; +#X connect 5 0 3 0; +#X connect 6 0 7 0; diff --git a/Gem/examples/07.texture/02.TexCoord.pd b/Gem/examples/07.texture/02.TexCoord.pd new file mode 100644 index 0000000..951c700 --- /dev/null +++ b/Gem/examples/07.texture/02.TexCoord.pd @@ -0,0 +1,70 @@ +#N canvas 127 46 642 483 10; +#X obj 251 46 gemhead; +#X obj 251 424 square; +#X obj 251 369 pix_coordinate; +#X obj 251 118 pix_texture; +#X obj 251 87 pix_image ../data/fractal.JPG; +#X msg 363 227 0 0 1 0 1 1 0 1; +#X msg 349 203 0 0 2 0 2 2 0 2; +#X msg 369 253 0 0 0.5 0 0.5 0.5 0 0.5; +#X floatatom 400 285 5 0 0 0 - - -; +#X text 258 170 set the texture coordinates [x1 y1 x2 y2 x3 y3 x4 y4] +; +#X msg 400 308 0 0 \$1 0 \$1 \$1 0 \$1; +#N canvas 87 154 247 179 Gem.init 0; +#X obj 118 46 loadbang; +#X obj 118 113 outlet; +#X msg 118 81 reset \, dimen 300 300; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 64 238 pd Gem.init; +#N canvas 340 107 682 322 gemwin 0; +#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144 +-1 -1 0 1; +#X obj 102 161 r \$0-gemstart; +#X obj 102 182 select 1 0; +#X msg 102 214 create \, 1; +#X msg 177 215 destroy; +#X obj 102 239 t a; +#X obj 318 54 inlet; +#X obj 318 255 gemwin; +#X obj 318 100 t a a; +#X obj 318 287 outlet; +#X obj 350 128 route create destroy; +#X obj 350 150 t b; +#X msg 350 172 1; +#X obj 390 150 t b; +#X msg 390 172 0; +#X obj 350 195 t f; +#X msg 350 219 set \$1; +#X text 118 122 rendering; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 8 0; +#X connect 7 0 9 0; +#X connect 8 0 7 0; +#X connect 8 1 10 0; +#X connect 10 0 11 0; +#X connect 10 1 13 0; +#X connect 11 0 12 0; +#X connect 12 0 15 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 16 0 0 0; +#X coords 0 -1 1 1 85 40 1 100 100; +#X restore 34 255 pd gemwin; +#X connect 0 0 4 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X connect 4 0 3 0; +#X connect 5 0 2 1; +#X connect 6 0 2 1; +#X connect 7 0 2 1; +#X connect 8 0 10 0; +#X connect 10 0 2 1; +#X connect 11 0 12 0; diff --git a/Gem/examples/07.texture/04.moveImages.pd b/Gem/examples/07.texture/04.moveImages.pd new file mode 100644 index 0000000..8107c0c --- /dev/null +++ b/Gem/examples/07.texture/04.moveImages.pd @@ -0,0 +1,153 @@ +#N canvas 180 41 816 619 10; +#X text 730 64 on; +#X text 767 62 off; +#X text 513 71 on; +#X text 578 69 off; +#X obj 633 450 pix_texture; +#X obj 670 477 r initstuff; +#X msg 724 86 1; +#X msg 761 85 0; +#X text 216 393 on; +#X text 255 391 off; +#X msg 29 417 1; +#X msg 65 419 0; +#X msg 210 419 1; +#X msg 248 419 0; +#X obj 286 437 gemhead 1; +#X obj 454 166 int 0; +#X obj 506 167 + 2; +#X floatatom 672 197 0 0 0 0 - - -; +#X obj 633 537 sphere; +#X floatatom 454 199 0 0 0 0 - - -; +#X obj 107 479 world_light; +#X obj 107 424 gemhead 1; +#X obj 415 445 sphere; +#X obj 672 170 int 0; +#X obj 286 493 light; +#X msg 670 507 20; +#X text 108 370 global light; +#X text 283 370 local light; +#X text 35 395 on; +#X text 65 396 off; +#X obj 454 132 metro 50; +#X msg 506 97 1; +#X msg 543 99 0; +#X obj 672 136 metro 100; +#X obj 734 168 + 1; +#X obj 66 580 send initstuff; +#X obj 452 383 r initstuff; +#X obj 415 311 pix_image ../data/fractal.JPG; +#X obj 415 354 pix_texture; +#X obj 633 314 pix_image ../data/dancer.JPG; +#X obj 633 377 alpha; +#X obj 633 414 pix_alpha; +#X obj 633 53 gemhead 60; +#X obj 415 228 rotate 0 1 1; +#X obj 633 227 rotate 1 0 1; +#X text 426 35 Blue Sphere; +#X text 641 18 Red Sphere; +#X obj 633 86 color 1 0 0; +#X obj 415 272 translateXYZ 2 0 0; +#X obj 633 274 translateXYZ 1 1 0; +#X msg 452 417 30; +#X obj 66 545 loadbang; +#X obj 415 68 gemhead 60; +#X obj 415 98 color 0 0 1; +#X msg 690 338 test 1; +#X msg 745 339 test 0; +#X msg 179 113 lighting \$1; +#X obj 179 93 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#N canvas 87 154 247 179 Gem.init 0; +#X obj 118 46 loadbang; +#X obj 118 113 outlet; +#X msg 118 81 reset \, lighting 1; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 64 238 pd Gem.init; +#N canvas 340 107 682 322 gemwin 0; +#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144 +-1 -1 0 1; +#X obj 102 161 r \$0-gemstart; +#X obj 102 182 select 1 0; +#X msg 102 214 create \, 1; +#X msg 177 215 destroy; +#X obj 102 239 t a; +#X obj 318 54 inlet; +#X obj 318 255 gemwin; +#X obj 318 100 t a a; +#X obj 318 287 outlet; +#X obj 350 128 route create destroy; +#X obj 350 150 t b; +#X msg 350 172 1; +#X obj 390 150 t b; +#X msg 390 172 0; +#X obj 350 195 t f; +#X msg 350 219 set \$1; +#X text 118 122 rendering; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 8 0; +#X connect 7 0 9 0; +#X connect 8 0 7 0; +#X connect 8 1 10 0; +#X connect 10 0 11 0; +#X connect 10 1 13 0; +#X connect 11 0 12 0; +#X connect 12 0 15 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 16 0 0 0; +#X coords 0 -1 1 1 85 40 1 100 100; +#X restore 34 255 pd gemwin; +#X connect 4 0 18 0; +#X connect 5 0 25 0; +#X connect 6 0 33 0; +#X connect 7 0 33 0; +#X connect 7 0 34 0; +#X connect 10 0 20 0; +#X connect 11 0 20 0; +#X connect 12 0 24 0; +#X connect 13 0 24 0; +#X connect 14 0 24 0; +#X connect 15 0 16 0; +#X connect 15 0 19 0; +#X connect 16 0 15 1; +#X connect 17 0 44 1; +#X connect 19 0 43 1; +#X connect 21 0 20 0; +#X connect 23 0 17 0; +#X connect 23 0 34 0; +#X connect 25 0 18 2; +#X connect 30 0 15 0; +#X connect 31 0 30 0; +#X connect 32 0 30 0; +#X connect 32 0 16 0; +#X connect 33 0 23 0; +#X connect 34 0 23 1; +#X connect 36 0 50 0; +#X connect 37 0 38 0; +#X connect 38 0 22 0; +#X connect 39 0 40 0; +#X connect 40 0 41 0; +#X connect 41 0 4 0; +#X connect 42 0 47 0; +#X connect 43 0 48 0; +#X connect 44 0 49 0; +#X connect 47 0 44 0; +#X connect 48 0 37 0; +#X connect 49 0 39 0; +#X connect 50 0 22 2; +#X connect 51 0 35 0; +#X connect 52 0 53 0; +#X connect 53 0 43 0; +#X connect 54 0 40 0; +#X connect 55 0 40 0; +#X connect 56 0 59 0; +#X connect 57 0 56 0; +#X connect 58 0 59 0; diff --git a/Gem/examples/07.texture/05.newWave.pd b/Gem/examples/07.texture/05.newWave.pd new file mode 100644 index 0000000..52c631b --- /dev/null +++ b/Gem/examples/07.texture/05.newWave.pd @@ -0,0 +1,201 @@ +#N canvas 110 90 876 486 10; +#X text 653 313 Inlet 1: gemlist; +#X obj 209 277 gemhead; +#X floatatom 622 130 5 0 0 2 size - -; +#X floatatom 539 84 5 0 0 2 height - -; +#X floatatom 241 339 5 0 0 0 - - -; +#X msg 322 5 draw line; +#X msg 322 25 draw fill; +#X msg 322 45 draw point; +#X text 653 188 00..retrigger current action; +#X text 653 200 01..flat; +#X text 653 211 02..spike; +#X text 653 221 03..diagonal wall; +#X text 652 234 04..sidewall; +#X text 652 245 05..hole; +#X text 652 256 06..middleblock; +#X text 652 267 07..diagonalblock; +#X text 652 278 08..cornerblock; +#X text 652 288 09..hill; +#X obj 718 28 vradio 11 1 0 11 empty empty action -10 -6 0 8 -262144 +-1 -1 0; +#X text 651 299 10..hill4 (default); +#X floatatom 274 339 5 0 0 0 - - -; +#X floatatom 308 339 5 0 0 0 - - -; +#X floatatom 13 -15 5 0 0 0 - - -; +#X msg 415 228 force 25 25 30; +#X msg 539 45 0.06; +#X obj 539 17 loadbang; +#X obj 13 3 / 100; +#X floatatom 173 -15 5 0 0 0 - - -; +#X obj 173 4 / 100; +#X obj 401 39 random 50; +#X obj 444 59 random 50; +#X obj 401 81 pack 0 0; +#X obj 401 15 metro 300; +#X msg 415 273 position 10 10 100; +#X msg 718 155 mode \$1; +#X msg 415 250 force 4 2 50; +#X msg 538 101 height \$1; +#X floatatom 65 -16 5 0 0 0 - - -; +#X obj 65 2 / 100; +#X floatatom 216 -16 5 0 0 0 - - -; +#X obj 216 3 / 100; +#X floatatom 114 -17 5 0 0 0 - - -; +#X obj 114 1 / 100; +#X floatatom 258 -17 5 0 0 0 - - -; +#X obj 258 2 / 100; +#X obj 623 74 loadbang; +#X msg 23 48 K1 0.05; +#X msg 13 24 K1 \$1; +#X msg 179 46 D1 0.1; +#X msg 173 25 D1 \$1; +#X msg 65 23 K2 \$1; +#X msg 114 22 K3 \$1; +#X msg 75 47 K2 0.05; +#X msg 124 46 K3 0.05; +#X msg 216 24 D2 \$1; +#X msg 222 45 D2 0.1; +#X msg 258 23 D3 \$1; +#X obj 13 235 newWave 50; +#X msg 264 44 D3 0.01; +#X msg 329 67 width 1; +#X msg 330 87 width 10; +#X obj 402 -3 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X msg 87 411 \; pd quit \;; +#N canvas 0 22 247 188 cpu 0; +#X obj 30 45 metro 1000; +#X obj 32 22 loadbang; +#X obj 33 96 cputime; +#X obj 30 69 t b b; +#X obj 34 125 / 10; +#X obj 33 150 outlet; +#X connect 0 0 3 0; +#X connect 1 0 0 0; +#X connect 2 0 4 0; +#X connect 3 0 2 0; +#X connect 3 1 2 1; +#X connect 4 0 5 0; +#X restore 20 396 pd cpu; +#X floatatom 20 426 5 0 0 0 - - -; +#X obj 87 348 gemhead; +#X obj 87 374 world_light; +#X obj 209 382 render_trigger; +#X obj 209 360 rotateXYZ 300 0 0; +#X obj 311 -18 loadbang; +#X msg 415 207 force 20 20 30; +#X msg 623 97 2; +#X obj 209 317 pix_texture; +#X obj 209 298 pix_image ../data/fractal.JPG; +#X msg 400 101 force \$1 \$2 -0.1; +#N canvas 87 154 247 179 Gem.init 0; +#X obj 118 46 loadbang; +#X msg 118 81 reset; +#X obj 118 113 outlet; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X restore 532 385 pd Gem.init; +#N canvas 340 107 682 322 gemwin 0; +#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144 +-1 -1 0 1; +#X obj 102 161 r \$0-gemstart; +#X obj 102 182 select 1 0; +#X msg 102 214 create \, 1; +#X msg 177 215 destroy; +#X obj 102 239 t a; +#X obj 318 54 inlet; +#X obj 318 255 gemwin; +#X obj 318 100 t a a; +#X obj 318 287 outlet; +#X obj 350 128 route create destroy; +#X obj 350 150 t b; +#X msg 350 172 1; +#X obj 390 150 t b; +#X msg 390 172 0; +#X obj 350 195 t f; +#X msg 350 219 set \$1; +#X text 118 122 rendering; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 8 0; +#X connect 7 0 9 0; +#X connect 8 0 7 0; +#X connect 8 1 10 0; +#X connect 10 0 11 0; +#X connect 10 1 13 0; +#X connect 11 0 12 0; +#X connect 12 0 15 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 16 0 0 0; +#X coords 0 -1 1 1 85 40 1 100 100; +#X restore 502 402 pd gemwin; +#X connect 1 0 73 0; +#X connect 2 0 57 1; +#X connect 3 0 36 0; +#X connect 4 0 68 1; +#X connect 5 0 57 0; +#X connect 6 0 57 0; +#X connect 7 0 57 0; +#X connect 18 0 34 0; +#X connect 20 0 68 2; +#X connect 21 0 68 3; +#X connect 22 0 26 0; +#X connect 23 0 57 0; +#X connect 24 0 3 0; +#X connect 25 0 24 0; +#X connect 26 0 47 0; +#X connect 27 0 28 0; +#X connect 28 0 49 0; +#X connect 29 0 31 0; +#X connect 30 0 31 1; +#X connect 31 0 74 0; +#X connect 32 0 29 0; +#X connect 32 0 30 0; +#X connect 33 0 57 0; +#X connect 34 0 57 0; +#X connect 35 0 57 0; +#X connect 36 0 57 0; +#X connect 37 0 38 0; +#X connect 38 0 50 0; +#X connect 39 0 40 0; +#X connect 40 0 54 0; +#X connect 41 0 42 0; +#X connect 42 0 51 0; +#X connect 43 0 44 0; +#X connect 44 0 56 0; +#X connect 45 0 71 0; +#X connect 46 0 57 0; +#X connect 47 0 57 0; +#X connect 48 0 57 0; +#X connect 49 0 57 0; +#X connect 50 0 57 0; +#X connect 51 0 57 0; +#X connect 52 0 57 0; +#X connect 53 0 57 0; +#X connect 54 0 57 0; +#X connect 55 0 57 0; +#X connect 56 0 57 0; +#X connect 58 0 57 0; +#X connect 59 0 57 0; +#X connect 60 0 57 0; +#X connect 61 0 32 0; +#X connect 63 0 64 0; +#X connect 65 0 66 0; +#X connect 67 0 57 0; +#X connect 67 2 57 0; +#X connect 68 0 67 0; +#X connect 69 0 48 0; +#X connect 69 0 46 0; +#X connect 70 0 57 0; +#X connect 71 0 2 0; +#X connect 72 0 68 0; +#X connect 73 0 72 0; +#X connect 74 0 57 0; +#X connect 75 0 76 0; diff --git a/Gem/examples/07.texture/06.ripple.pd b/Gem/examples/07.texture/06.ripple.pd new file mode 100644 index 0000000..a329550 --- /dev/null +++ b/Gem/examples/07.texture/06.ripple.pd @@ -0,0 +1,114 @@ +#N canvas 153 39 582 638 10; +#X obj 299 39 openpanel; +#X msg 34 50 dimen 640 480; +#X obj 174 115 gemhead; +#X msg 381 41 auto \$1; +#X obj 384 13 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X floatatom 185 429 5 0 0 0 - - -; +#X obj 299 11 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 72 92 profile 1; +#X msg 81 130 profile 0; +#X msg 384 84 open ../data/anim-1.mov; +#X msg 299 66 open \$1; +#X obj 113 429 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 198 445 5 0 0 0 - - -; +#X floatatom 227 460 5 0 0 0 - - -; +#X floatatom 214 261 5 0 0 0 - - -; +#X floatatom 254 261 5 0 0 0 - - -; +#X floatatom 295 261 5 0 0 0 - - -; +#X floatatom 242 487 5 0 0 0 - - -; +#X floatatom 196 306 5 0 0 0 - - -; +#X floatatom 207 349 4 0 0 0 - - -; +#X floatatom 240 349 4 0 0 0 - - -; +#X floatatom 274 349 4 0 0 0 - - -; +#X obj 174 171 pix_film; +#X obj 174 324 scale 6; +#X obj 174 278 translateXYZ 0 0 0; +#X obj 174 212 pix_texture; +#X obj 241 172 t f; +#X msg 384 124 open ../data/alea.mpg; +#X obj 174 366 rotateXYZ 0 0 0; +#X obj 174 517 ripple; +#X msg 384 104 open ../data/homer.avi; +#N canvas 87 154 247 179 Gem.init 0; +#X obj 118 46 loadbang; +#X msg 118 81 reset; +#X obj 118 113 outlet; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X restore 64 168 pd Gem.init; +#N canvas 340 107 682 322 gemwin 0; +#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144 +-1 -1 0 1; +#X obj 102 161 r \$0-gemstart; +#X obj 102 182 select 1 0; +#X msg 102 214 create \, 1; +#X msg 177 215 destroy; +#X obj 102 239 t a; +#X obj 318 54 inlet; +#X obj 318 255 gemwin; +#X obj 318 100 t a a; +#X obj 318 287 outlet; +#X obj 350 128 route create destroy; +#X obj 350 150 t b; +#X msg 350 172 1; +#X obj 390 150 t b; +#X msg 390 172 0; +#X obj 350 195 t f; +#X msg 350 219 set \$1; +#X text 118 122 rendering; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 8 0; +#X connect 7 0 9 0; +#X connect 8 0 7 0; +#X connect 8 1 10 0; +#X connect 10 0 11 0; +#X connect 10 1 13 0; +#X connect 11 0 12 0; +#X connect 12 0 15 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 16 0 0 0; +#X coords 0 -1 1 1 85 40 1 100 100; +#X restore 34 185 pd gemwin; +#X connect 0 0 10 0; +#X connect 1 0 32 0; +#X connect 2 0 22 0; +#X connect 3 0 22 0; +#X connect 4 0 3 0; +#X connect 5 0 29 1; +#X connect 6 0 0 0; +#X connect 7 0 32 0; +#X connect 8 0 32 0; +#X connect 9 0 22 0; +#X connect 10 0 22 0; +#X connect 11 0 29 0; +#X connect 12 0 29 2; +#X connect 13 0 29 3; +#X connect 14 0 24 1; +#X connect 15 0 24 2; +#X connect 16 0 24 3; +#X connect 17 0 29 4; +#X connect 18 0 23 1; +#X connect 19 0 28 1; +#X connect 20 0 28 2; +#X connect 21 0 28 3; +#X connect 22 0 25 0; +#X connect 22 2 26 0; +#X connect 23 0 28 0; +#X connect 24 0 23 0; +#X connect 25 0 24 0; +#X connect 26 0 22 1; +#X connect 27 0 22 0; +#X connect 28 0 29 0; +#X connect 30 0 22 0; +#X connect 31 0 32 0; diff --git a/Gem/examples/07.texture/07.feedback.pd b/Gem/examples/07.texture/07.feedback.pd new file mode 100644 index 0000000..a402cfe --- /dev/null +++ b/Gem/examples/07.texture/07.feedback.pd @@ -0,0 +1,92 @@ +#N canvas 4 50 630 424 10; +#X msg 320 121 snap; +#X obj 320 68 gemhead 15; +#X obj 39 64 gemhead 10; +#X obj 39 126 scaleXYZ 6 0.1 6; +#X obj 55 95 hsl 128 15 0.02 1.53 0 0 empty empty empty -2 -6 0 8 -262139 +-1 -1 0 1; +#X obj 39 259 cube 0.34; +#X obj 320 260 rotateXYZ; +#X obj 357 237 hsl 128 15 -34 34 0 0 empty empty empty -2 -6 0 8 -261879 +-1 -1 6350 1; +#X obj 40 364 light; +#X obj 40 341 translateXYZ 0 0 4; +#X obj 320 154 pix_snap2tex 0 0 512 512; +#X obj 320 300 sphere 3.64 50; +#X obj 40 318 gemhead 1; +#X msg 354 216 0; +#X obj 354 195 loadbang; +#X obj 125 158 hsl 128 15 0 1 0 1 empty empty R 12 8 1 12 -261689 -1 +-1 12700 1; +#X obj 125 178 hsl 128 15 0 1 0 1 empty empty G 12 8 1 12 -225271 -1 +-1 12700 1; +#X obj 125 198 hsl 128 15 0 1 0 1 empty empty B 12 8 1 12 -228992 -1 +-1 12700 1; +#X obj 39 227 colorRGB 1 1 1; +#X obj 320 92 trigger bang anything; +#N canvas 89 204 317 179 Gem.init 0; +#X obj 118 46 loadbang; +#X obj 118 113 outlet; +#X msg 118 81 reset \, dimen 512 512 \, lighting 1; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 485 338 pd Gem.init; +#N canvas 340 107 682 322 gemwin 0; +#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144 +-1 -1 0 1; +#X obj 102 161 r \$0-gemstart; +#X obj 102 182 select 1 0; +#X msg 102 214 create \, 1; +#X msg 177 215 destroy; +#X obj 102 239 t a; +#X obj 318 54 inlet; +#X obj 318 255 gemwin; +#X obj 318 100 t a a; +#X obj 318 287 outlet; +#X obj 350 128 route create destroy; +#X obj 350 150 t b; +#X msg 350 172 1; +#X obj 390 150 t b; +#X msg 390 172 0; +#X obj 350 195 t f; +#X msg 350 219 set \$1; +#X text 118 122 rendering; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 8 0; +#X connect 7 0 9 0; +#X connect 8 0 7 0; +#X connect 8 1 10 0; +#X connect 10 0 11 0; +#X connect 10 1 13 0; +#X connect 11 0 12 0; +#X connect 12 0 15 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 16 0 0 0; +#X coords 0 -1 1 1 85 40 1 100 100; +#X restore 455 355 pd gemwin; +#X connect 0 0 10 0; +#X connect 1 0 19 0; +#X connect 2 0 3 0; +#X connect 3 0 18 0; +#X connect 4 0 3 2; +#X connect 6 0 11 0; +#X connect 7 0 6 2; +#X connect 9 0 8 0; +#X connect 10 0 6 0; +#X connect 12 0 9 0; +#X connect 13 0 7 0; +#X connect 14 0 13 0; +#X connect 15 0 18 1; +#X connect 16 0 18 2; +#X connect 17 0 18 3; +#X connect 18 0 5 0; +#X connect 19 0 0 0; +#X connect 19 1 10 0; +#X connect 20 0 21 0; diff --git a/Gem/examples/07.texture/08.MotionBlur.pd b/Gem/examples/07.texture/08.MotionBlur.pd new file mode 100644 index 0000000..ca5e121 --- /dev/null +++ b/Gem/examples/07.texture/08.MotionBlur.pd @@ -0,0 +1,130 @@ +#N canvas 13 0 1023 406 10; +#X obj 33 260 world_light; +#X msg 282 164 bang; +#X obj 282 144 metro 500; +#X obj 282 126 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X obj 593 113 gemhead -1; +#X obj 593 234 pix_snap2tex; +#X msg 638 210 0 0; +#X msg 684 209 500 500; +#X obj 638 187 t b b; +#X obj 593 194 t b a; +#X obj 593 272 alpha; +#X floatatom 766 262 5 0 0 0 - - -; +#X obj 593 340 square 4; +#X obj 771 114 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 0 1; +#X msg 47 118 frame \$1; +#X floatatom 47 100 5 0 0 0 - - -; +#X obj 593 296 colorRGB 1 1 1 0.888; +#X obj 33 236 gemhead; +#X obj 638 168 loadbang; +#N canvas 0 0 749 590 moving 0; +#X obj 193 81 gemhead; +#X obj 193 384 translateXYZ; +#X obj 276 67 t b b; +#X obj 276 104 random 100; +#X obj 193 357 colorRGB 1 1 1; +#X obj 276 39 inlet; +#X obj 193 411 teapot; +#X obj 276 135 pack 0 1000; +#X obj 276 181 / 100; +#X obj 276 201 * 8; +#X obj 276 221 - 4; +#X obj 375 104 random 100; +#X obj 375 135 pack 0 1000; +#X obj 375 181 / 100; +#X obj 375 201 * 8; +#X obj 375 221 - 4; +#X obj 276 159 line 50 10; +#X obj 375 159 line 50 10; +#X connect 0 0 4 0; +#X connect 1 0 6 0; +#X connect 2 0 3 0; +#X connect 2 1 11 0; +#X connect 3 0 7 0; +#X connect 4 0 1 0; +#X connect 5 0 2 0; +#X connect 7 0 16 0; +#X connect 8 0 9 0; +#X connect 8 0 4 1; +#X connect 9 0 10 0; +#X connect 10 0 1 1; +#X connect 11 0 12 0; +#X connect 12 0 17 0; +#X connect 13 0 14 0; +#X connect 13 0 4 2; +#X connect 14 0 15 0; +#X connect 15 0 1 2; +#X connect 16 0 8 0; +#X connect 17 0 13 0; +#X restore 282 186 pd moving object; +#X text 267 31 FullScreen Motion Blur:; +#N canvas 87 154 414 208 Gem.init 0; +#X obj 118 46 loadbang; +#X obj 118 113 outlet; +#X msg 118 81 reset \, frame 100 \, lighting 1; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X restore 77 143 pd Gem.init; +#N canvas 340 107 682 322 gemwin 0; +#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144 +-1 -1 0 1; +#X obj 102 161 r \$0-gemstart; +#X obj 102 182 select 1 0; +#X msg 102 214 create \, 1; +#X msg 177 215 destroy; +#X obj 102 239 t a; +#X obj 318 54 inlet; +#X obj 318 255 gemwin; +#X obj 318 100 t a a; +#X obj 318 287 outlet; +#X obj 350 128 route create destroy; +#X obj 350 150 t b; +#X msg 350 172 1; +#X obj 390 150 t b; +#X msg 390 172 0; +#X obj 350 195 t f; +#X msg 350 219 set \$1; +#X text 118 122 rendering; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 8 0; +#X connect 7 0 9 0; +#X connect 8 0 7 0; +#X connect 8 1 10 0; +#X connect 10 0 11 0; +#X connect 10 1 13 0; +#X connect 11 0 12 0; +#X connect 12 0 15 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 16 0 0 0; +#X coords 0 -1 1 1 85 40 1 100 100; +#X restore 47 160 pd gemwin; +#X connect 1 0 19 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X connect 4 0 9 0; +#X connect 5 0 10 0; +#X connect 6 0 5 1; +#X connect 7 0 5 2; +#X connect 8 0 6 0; +#X connect 8 1 7 0; +#X connect 9 0 5 0; +#X connect 9 1 5 0; +#X connect 10 0 16 0; +#X connect 11 0 16 4; +#X connect 13 0 11 0; +#X connect 14 0 22 0; +#X connect 15 0 14 0; +#X connect 16 0 12 0; +#X connect 17 0 0 0; +#X connect 18 0 8 0; +#X connect 21 0 22 0; diff --git a/Gem/examples/07.texture/09.sharedTextures.pd b/Gem/examples/07.texture/09.sharedTextures.pd new file mode 100644 index 0000000..bd8cb84 --- /dev/null +++ b/Gem/examples/07.texture/09.sharedTextures.pd @@ -0,0 +1,79 @@ +#N canvas 180 41 1035 404 10; +#X floatatom 370 259 0 0 0 0 - - -; +#X obj 325 122 pix_image ../data/fractal.JPG; +#X obj 325 155 pix_texture; +#X obj 325 279 rotate 0 1 1; +#X obj 325 307 cube; +#X obj 704 209 pix_texture; +#X obj 325 237 translateXYZ -2 1 0; +#X obj 704 283 circle; +#X obj 704 253 translateXYZ 2 1 0; +#X obj 325 84 gemhead 10; +#X obj 704 154 gemhead 30; +#X obj 570 272 gemhead 20; +#X obj 570 299 pix_texture; +#X obj 570 328 pix_coordinate; +#X obj 570 351 translateXYZ 0 -1 0; +#X obj 570 381 triangle; +#N canvas 87 154 247 179 Gem.init 0; +#X obj 118 46 loadbang; +#X msg 118 81 reset; +#X obj 118 113 outlet; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X restore 121 174 pd Gem.init; +#N canvas 340 107 682 322 gemwin 0; +#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144 +-1 -1 0 1; +#X obj 102 161 r \$0-gemstart; +#X obj 102 182 select 1 0; +#X msg 102 214 create \, 1; +#X msg 177 215 destroy; +#X obj 102 239 t a; +#X obj 318 54 inlet; +#X obj 318 255 gemwin; +#X obj 318 100 t a a; +#X obj 318 287 outlet; +#X obj 350 128 route create destroy; +#X obj 350 150 t b; +#X msg 350 172 1; +#X obj 390 150 t b; +#X msg 390 172 0; +#X obj 350 195 t f; +#X msg 350 219 set \$1; +#X text 118 122 rendering; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 8 0; +#X connect 7 0 9 0; +#X connect 8 0 7 0; +#X connect 8 1 10 0; +#X connect 10 0 11 0; +#X connect 10 1 13 0; +#X connect 11 0 12 0; +#X connect 12 0 15 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 16 0 0 0; +#X coords 0 -1 1 1 85 40 1 100 100; +#X restore 91 191 pd gemwin; +#X connect 0 0 3 1; +#X connect 1 0 2 0; +#X connect 2 0 6 0; +#X connect 2 1 5 1; +#X connect 3 0 4 0; +#X connect 5 0 8 0; +#X connect 6 0 3 0; +#X connect 8 0 7 0; +#X connect 9 0 1 0; +#X connect 10 0 5 0; +#X connect 11 0 12 0; +#X connect 12 0 13 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 16 0 17 0; diff --git a/Gem/examples/07.texture/10.framebuffer.pd b/Gem/examples/07.texture/10.framebuffer.pd new file mode 100644 index 0000000..7717e47 --- /dev/null +++ b/Gem/examples/07.texture/10.framebuffer.pd @@ -0,0 +1,195 @@ +#N canvas 446 42 834 667 10; +#X obj 202 83 gemhead 20; +#X obj 491 166 gemhead; +#X floatatom 532 391 5 0 0 0 - - -; +#X floatatom 481 392 5 0 0 0 - - -; +#X obj 581 389 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10 +-262144 -1 -1 0 256; +#X msg 286 97 dim 320 240; +#X msg 286 117 dim 256 256; +#X obj 278 634 rotateXYZ; +#X floatatom 334 617 5 0 0 0 - - -; +#X floatatom 346 636 5 0 0 0 - - -; +#X floatatom 295 617 5 0 0 0 - - -; +#X floatatom 299 443 5 0 0 0 - - -; +#X floatatom 348 443 5 0 0 0 - - -; +#X floatatom 250 443 5 0 0 0 - - -; +#X obj 278 333 separator; +#X obj -56 319 gemhead 1; +#X obj -56 339 world_light; +#X msg 286 137 dim 512 512; +#X floatatom 507 322 5 0 0 0 - - -; +#X floatatom 582 333 5 0 0 0 - - -; +#X msg 289 45 color 0 0 1 0; +#X msg 286 157 dim 1024 1024; +#X msg 289 69 color 0 0 0 0; +#X obj 203 507 rotateXYZ; +#X floatatom 226 490 5 0 0 0 - - -; +#X floatatom 269 490 5 0 0 0 - - -; +#X floatatom 318 496 5 0 0 0 - - -; +#X msg -21 72 color 0 0 0 0; +#X obj 278 554 t a b; +#X msg -33 51 color 0 1 1 0; +#X msg -12 121 lighting \$1; +#X obj -12 100 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X floatatom 554 433 5 0 0 0 - - -; +#X obj 202 302 t a a; +#X obj 202 355 color 1 1 1; +#X obj 203 413 pix_texture; +#X msg 406 94 mode \$1; +#X obj 406 67 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X obj 203 467 translateXYZ -0.5 -0.8 -1; +#X msg 229 374 open data/fractal.JPG; +#X floatatom 376 507 5 0 0 0 - - -; +#X msg 289 10 type FLOAT; +#X obj 460 131 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X floatatom 342 281 5 0 0 0 - - -; +#X obj 203 527 sphere 0.4; +#X obj 491 357 rotateXYZ 28 0 200; +#X obj 491 431 square 2; +#X obj 491 410 translateXYZ 0 0 1.53; +#X obj 202 281 translateXYZ 0 0 -4; +#X obj 278 681 cube 0.57; +#X obj 278 527 translateXYZ 2 0 -1; +#X obj 202 135 color 0 1 0; +#X obj 179 195 cnv 15 400 60 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X obj 202 200 gemframebuffer; +#X obj 491 233 pix_texture; +#X obj -56 410 gemhead; +#X obj -56 459 teapot 0.3; +#X obj -56 435 translateXYZ -3 3 0; +#X text -52 726 this example renders a scene (cube and sphere) into +a framebuffer \, which is then used as a texture onto a square. teapot +and square live in a "meta"-world in relation to cube and sphere.; +#X obj 362 575 % 360; +#X obj 308 575 i; +#X obj 491 265 t a b; +#X obj 567 286 + 1; +#X obj 334 575 + 5; +#X obj 521 286 i 200; +#X obj 595 286 % 3600; +#X obj 582 313 / 10; +#X text 435 65 <-- click me to change between normalized(0) and rectangle(1) +textures.; +#X text 399 717 you need framebuffer support on your gfx-card; +#X text 395 738 (and its driver!); +#X obj 202 394 pix_image ../data/fractal.JPG; +#N canvas 87 154 247 179 Gem.init 0; +#X obj 118 46 loadbang; +#X msg 118 81 reset; +#X obj 118 113 outlet; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X restore -3 160 pd Gem.init; +#N canvas 340 107 682 322 gemwin 0; +#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144 +-1 -1 0 1; +#X obj 102 161 r \$0-gemstart; +#X obj 102 182 select 1 0; +#X msg 102 214 create \, 1; +#X msg 177 215 destroy; +#X obj 102 239 t a; +#X obj 318 54 inlet; +#X obj 318 255 gemwin; +#X obj 318 100 t a a; +#X obj 318 287 outlet; +#X obj 350 128 route create destroy; +#X obj 350 150 t b; +#X msg 350 172 1; +#X obj 390 150 t b; +#X msg 390 172 0; +#X obj 350 195 t f; +#X msg 350 219 set \$1; +#X text 118 122 rendering; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 8 0; +#X connect 7 0 9 0; +#X connect 8 0 7 0; +#X connect 8 1 10 0; +#X connect 10 0 11 0; +#X connect 10 1 13 0; +#X connect 11 0 12 0; +#X connect 12 0 15 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 16 0 0 0; +#X coords 0 -1 1 1 85 40 1 100 100; +#X restore -33 177 pd gemwin; +#X connect 0 0 51 0; +#X connect 1 0 54 0; +#X connect 2 0 47 2; +#X connect 3 0 47 1; +#X connect 4 0 47 3; +#X connect 5 0 53 0; +#X connect 6 0 53 0; +#X connect 7 0 49 0; +#X connect 8 0 7 2; +#X connect 9 0 7 3; +#X connect 10 0 7 1; +#X connect 11 0 38 2; +#X connect 12 0 38 3; +#X connect 13 0 38 1; +#X connect 14 0 50 0; +#X connect 15 0 16 0; +#X connect 17 0 53 0; +#X connect 18 0 45 1; +#X connect 19 0 45 3; +#X connect 20 0 53 0; +#X connect 21 0 53 0; +#X connect 22 0 53 0; +#X connect 23 0 44 0; +#X connect 24 0 23 1; +#X connect 25 0 23 2; +#X connect 26 0 23 3; +#X connect 27 0 72 0; +#X connect 28 0 7 0; +#X connect 28 1 60 0; +#X connect 29 0 72 0; +#X connect 30 0 72 0; +#X connect 31 0 30 0; +#X connect 32 0 46 1; +#X connect 33 0 34 0; +#X connect 33 1 14 0; +#X connect 34 0 70 0; +#X connect 35 0 38 0; +#X connect 36 0 53 0; +#X connect 37 0 36 0; +#X connect 38 0 23 0; +#X connect 39 0 70 0; +#X connect 40 0 50 3; +#X connect 41 0 53 0; +#X connect 42 0 1 0; +#X connect 43 0 48 3; +#X connect 45 0 47 0; +#X connect 47 0 46 0; +#X connect 48 0 33 0; +#X connect 50 0 28 0; +#X connect 51 0 53 0; +#X connect 53 0 48 0; +#X connect 53 1 54 1; +#X connect 54 0 61 0; +#X connect 55 0 57 0; +#X connect 57 0 56 0; +#X connect 59 0 60 1; +#X connect 60 0 8 0; +#X connect 60 0 63 0; +#X connect 61 0 45 0; +#X connect 61 1 64 0; +#X connect 62 0 65 0; +#X connect 63 0 59 0; +#X connect 64 0 62 0; +#X connect 64 0 66 0; +#X connect 65 0 64 1; +#X connect 66 0 19 0; +#X connect 70 0 35 0; +#X connect 71 0 72 0; diff --git a/Gem/examples/07.texture/11.multiples_gemhead_in_a_framebuffer.pd b/Gem/examples/07.texture/11.multiples_gemhead_in_a_framebuffer.pd new file mode 100644 index 0000000..69ef470 --- /dev/null +++ b/Gem/examples/07.texture/11.multiples_gemhead_in_a_framebuffer.pd @@ -0,0 +1,116 @@ +#N canvas 39 70 764 536 10; +#X obj 108 279 cnv 15 300 80 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X obj 112 112 cnv 15 300 60 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X obj 116 50 gemhead; +#X obj 112 440 translateXYZ 1 0 0; +#X obj 260 443 translateXYZ -1 0 0; +#X obj 260 483 circle; +#X obj 116 239 rotateXYZ; +#X floatatom 156 222 5 0 0 0 - - -; +#X floatatom 194 423 5 0 0 0 - - -; +#X floatatom 346 426 5 0 0 0 - - -; +#X obj 322 50 gemhead; +#X floatatom 342 71 5 0 0 0 - - -; +#X obj 116 114 gemframebuffer; +#X obj 112 483 triangle; +#X obj 322 147 pix_texture; +#X obj 116 197 translateXYZ 0 0 -4; +#X obj 260 463 color 1 0 0; +#X obj 322 89 rotateXYZ; +#X obj 322 195 square 3; +#X obj 148 282 s gemfbhead_trigger1; +#X obj 116 259 t b b; +#X obj 112 336 r gemfbhead_trigger1; +#X obj 112 420 gemhead; +#X msg 44 389 0; +#X obj 44 366 loadbang; +#X obj 260 423 gemhead; +#X obj 260 336 r gemfbhead_trigger2; +#X obj 116 306 s gemfbhead_trigger2; +#X text 203 221 <- rotate all the render chain; +#X text 201 238 (it change even after a new gemhead \, this is not +very intuitive); +#X text 323 283 <- continue the render chain. The gemhead did not start +a new gemchain \, because it is banged during a frambuffer rendering +; +#X text 113 10 This example show how to draw multiples gemhead in a +single framebuffer; +#N canvas 87 154 247 179 Gem.init 0; +#X obj 118 46 loadbang; +#X msg 118 81 reset; +#X obj 118 113 outlet; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X restore 625 90 pd Gem.init; +#N canvas 340 107 682 322 gemwin 0; +#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144 +-1 -1 1 1; +#X obj 102 161 r \$0-gemstart; +#X obj 102 182 select 1 0; +#X msg 102 214 create \, 1; +#X msg 177 215 destroy; +#X obj 102 239 t a; +#X obj 318 54 inlet; +#X obj 318 255 gemwin; +#X obj 318 100 t a a; +#X obj 318 287 outlet; +#X obj 350 128 route create destroy; +#X obj 350 150 t b; +#X msg 350 172 1; +#X obj 390 150 t b; +#X msg 390 172 0; +#X obj 350 195 t f; +#X msg 350 219 set \$1; +#X text 118 122 rendering; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 8 0; +#X connect 7 0 9 0; +#X connect 8 0 7 0; +#X connect 8 1 10 0; +#X connect 10 0 11 0; +#X connect 10 1 13 0; +#X connect 11 0 12 0; +#X connect 12 0 15 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 16 0 0 0; +#X coords 0 -1 1 1 85 40 1 100 100; +#X restore 595 107 pd gemwin; +#X msg 595 63 color \$1 \$1 \$1; +#X obj 595 44 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +0.5; +#X connect 2 0 12 0; +#X connect 3 0 13 0; +#X connect 4 0 16 0; +#X connect 6 0 20 0; +#X connect 7 0 6 2; +#X connect 8 0 3 2; +#X connect 9 0 4 2; +#X connect 10 0 17 0; +#X connect 11 0 17 1; +#X connect 12 0 15 0; +#X connect 12 1 14 1; +#X connect 14 0 18 0; +#X connect 15 0 6 0; +#X connect 16 0 5 0; +#X connect 17 0 14 0; +#X connect 20 0 27 0; +#X connect 20 1 19 0; +#X connect 21 0 22 0; +#X connect 22 0 3 0; +#X connect 23 0 22 0; +#X connect 23 0 25 0; +#X connect 24 0 23 0; +#X connect 25 0 4 0; +#X connect 26 0 25 0; +#X connect 32 0 33 0; +#X connect 34 0 33 0; +#X connect 35 0 34 0; -- cgit v1.2.1