From 095b7e513f736567848173f2572d8b329ad75af9 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Thu, 19 Mar 2015 19:32:08 +0000 Subject: Gem 206d71791bc3642e8c5391a4c59c30ba7411fab8 osx/x86_64 built 'coverity_scan:206d71791bc3642e8c5391a4c59c30ba7411fab8' for osx/x86_64 --- Gem/examples/02.advanced/08.Snapshot2.pd | 138 ------------------------------- 1 file changed, 138 deletions(-) delete mode 100644 Gem/examples/02.advanced/08.Snapshot2.pd (limited to 'Gem/examples/02.advanced/08.Snapshot2.pd') diff --git a/Gem/examples/02.advanced/08.Snapshot2.pd b/Gem/examples/02.advanced/08.Snapshot2.pd deleted file mode 100644 index ef84f34..0000000 --- a/Gem/examples/02.advanced/08.Snapshot2.pd +++ /dev/null @@ -1,138 +0,0 @@ -#N canvas 389 0 635 537 10; -#X obj 64 405 gemhead; -#X obj 64 509 model ../data/venus.obj; -#X text 115 2 snap a portion of the graphics window into a texture -; -#X obj 399 365 pix_texture; -#X obj 399 430 rotateXYZ; -#X floatatom 500 399 0 0 0 0 - - -; -#X msg 339 350 snap; -#X msg 110 370 0; -#X obj 399 256 render_trigger; -#X obj 399 329 pix_snap 0 0 256 256; -#X obj 399 219 gemhead 60; -#X obj 399 453 square 3; -#X msg 34 94 \; render 1; -#X msg 32 50 \; render 0; -#X obj 18 181 r render; -#X obj 180 360 r render; -#X obj 295 322 t b b; -#X obj 295 197 r render; -#X msg 295 260 clear; -#X obj 295 229 sel 1; -#X obj 233 400 gemhead; -#X obj 233 510 model ../data/venus.obj; -#X obj 233 472 color 1 0 0; -#X obj 64 478 color 0 1 0; -#X obj 233 432 translateXYZ 1 0 1; -#X obj 64 438 translateXYZ -1 0 1; -#X text 369 155 notice that we use render_trigger; -#X text 369 172 to make sure that we snap before; -#X text 373 190 the square is drawn; -#X text 126 42 you may need to turn rendering off \, then on; -#X text 128 59 to get the snap to work right. This is because; -#X text 127 77 the first time rendering is turned on \, we might; -#X text 128 95 have garbage in the frame buffer; -#X text 127 126 rotate the square to see the texture; -#N canvas 26 40 290 300 Gem.init 0; -#X obj 71 191 outlet; -#X obj 71 81 loadbang; -#X msg 101 134 reset; -#X obj 71 109 t b b; -#X msg 71 164 dimen 256 256; -#X connect 1 0 3 0; -#X connect 2 0 0 0; -#X connect 3 0 4 0; -#X connect 3 1 2 0; -#X connect 4 0 0 0; -#X restore 84 181 pd Gem.init; -#N canvas 0 0 450 300 oneshot 0; -#X obj 93 82 inlet; -#X obj 187 148 bang; -#X msg 187 167 1; -#X obj 93 214 spigot; -#X msg 155 168 0; -#X obj 93 172 t a b; -#X obj 93 240 t a b; -#X obj 136 192 i 1; -#X obj 93 107 route clear; -#X obj 93 262 outlet; -#X connect 0 0 8 0; -#X connect 1 0 2 0; -#X connect 2 0 7 1; -#X connect 3 0 6 0; -#X connect 4 0 7 1; -#X connect 5 0 3 0; -#X connect 5 1 7 0; -#X connect 6 0 9 0; -#X connect 6 1 4 0; -#X connect 7 0 3 1; -#X connect 8 0 1 0; -#X connect 8 1 5 0; -#X restore 295 287 pd oneshot; -#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 18 206 pd gemwin; -#X connect 0 0 25 0; -#X connect 3 0 4 0; -#X connect 4 0 11 0; -#X connect 5 0 4 2; -#X connect 6 0 9 0; -#X connect 7 0 0 0; -#X connect 7 0 20 0; -#X connect 8 0 9 0; -#X connect 8 1 35 0; -#X connect 9 0 3 0; -#X connect 10 0 8 0; -#X connect 14 0 36 0; -#X connect 15 0 0 0; -#X connect 15 0 20 0; -#X connect 16 0 7 0; -#X connect 16 1 6 0; -#X connect 17 0 19 0; -#X connect 18 0 35 0; -#X connect 19 0 18 0; -#X connect 20 0 24 0; -#X connect 22 0 21 0; -#X connect 23 0 1 0; -#X connect 24 0 22 0; -#X connect 25 0 23 0; -#X connect 34 0 36 0; -#X connect 35 0 16 0; -- cgit v1.2.1