From c823b2bf3165990a556d50990adf4da5cee95593 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 2 Nov 2012 15:36:19 +0000 Subject: commit Gem 0.93.3 from http://gem.iem.at/releases/0.93.3/Gem-0.93.3-W32-i686.zip svn path=/trunk/; revision=16521 --- .../extra/Gem/examples/10.glsl/11.geometry.pd | 246 ++++++++++----------- 1 file changed, 123 insertions(+), 123 deletions(-) (limited to 'packages/noncvs/windows/extra/Gem/examples/10.glsl/11.geometry.pd') diff --git a/packages/noncvs/windows/extra/Gem/examples/10.glsl/11.geometry.pd b/packages/noncvs/windows/extra/Gem/examples/10.glsl/11.geometry.pd index 1851c8a0..da2ff1be 100644 --- a/packages/noncvs/windows/extra/Gem/examples/10.glsl/11.geometry.pd +++ b/packages/noncvs/windows/extra/Gem/examples/10.glsl/11.geometry.pd @@ -1,123 +1,123 @@ -#N canvas 197 25 552 632 10; -#X floatatom 132 447 9 0 0 0 ID - -; -#X floatatom 132 279 9 0 0 0 ID - -; -#X obj 150 506 print linking; -#X obj 132 465 pack 0 0 0; -#X floatatom 126 364 9 0 0 0 ID - -; -#X obj 44 139 gemhead; -#X msg 132 485 link \$1 \$2 \$3; -#X obj 44 319 glsl_vertex; -#X obj 44 403 glsl_fragment; -#X obj 44 237 glsl_geometry; -#X obj 44 158 alpha; -#X floatatom 122 531 5 0 0 0 - - -; -#X floatatom 164 531 5 0 0 0 - - -; -#X floatatom 209 532 5 0 0 0 - - -; -#X obj 44 512 glsl_program; -#X msg 182 200 -1; -#X obj 182 156 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 --1 -1; -#X obj 132 258 change; -#X obj 126 341 change; -#X obj 132 426 change; -#X obj 44 552 translateXYZ 0 0 0; -#X obj 44 197 colorRGB 1 1 1; -#X floatatom 128 174 5 0 0 0 - - -; -#X obj 44 177 depth 1; -#X obj 44 576 circle; -#X obj 182 176 t b b; -#X text 184 7 geometry shader; -#X text 48 28 The geometry shader is usefull to create new geometry -; -#X text 51 47 Here is an example where 40 circles are draw with 1 single -primitive.; -#X text 49 87 Be aware that the geometry shader is computed after the -vertex shader. coordinate are in 2d.; -#X msg 58 217 open geo.geom; -#X msg 56 299 open geo.vert; -#X msg 57 384 open geo.frag; -#X obj 182 136 loadbang; -#X text 205 155 load shaders; -#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 366 247 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 336 264 pd gemwin; -#X connect 0 0 3 0; -#X connect 1 0 3 2; -#X connect 3 0 6 0; -#X connect 4 0 3 1; -#X connect 5 0 10 0; -#X connect 6 0 2 0; -#X connect 6 0 14 0; -#X connect 7 0 8 0; -#X connect 7 1 18 0; -#X connect 8 0 14 0; -#X connect 8 1 19 0; -#X connect 9 0 7 0; -#X connect 9 1 17 0; -#X connect 10 0 23 0; -#X connect 11 0 20 1; -#X connect 12 0 20 2; -#X connect 13 0 20 3; -#X connect 14 0 20 0; -#X connect 15 0 19 0; -#X connect 16 0 25 0; -#X connect 17 0 1 0; -#X connect 18 0 4 0; -#X connect 19 0 0 0; -#X connect 20 0 24 0; -#X connect 21 0 9 0; -#X connect 22 0 21 2; -#X connect 23 0 21 0; -#X connect 25 0 15 0; -#X connect 25 1 32 0; -#X connect 25 1 30 0; -#X connect 25 1 31 0; -#X connect 30 0 9 0; -#X connect 31 0 7 0; -#X connect 32 0 8 0; -#X connect 33 0 16 0; -#X connect 35 0 36 0; +#N canvas 197 25 552 632 10; +#X floatatom 132 447 9 0 0 0 ID - -; +#X floatatom 132 279 9 0 0 0 ID - -; +#X obj 150 506 print linking; +#X obj 132 465 pack 0 0 0; +#X floatatom 126 364 9 0 0 0 ID - -; +#X obj 44 139 gemhead; +#X msg 132 485 link \$1 \$2 \$3; +#X obj 44 319 glsl_vertex; +#X obj 44 403 glsl_fragment; +#X obj 44 237 glsl_geometry; +#X obj 44 158 alpha; +#X floatatom 122 531 5 0 0 0 - - -; +#X floatatom 164 531 5 0 0 0 - - -; +#X floatatom 209 532 5 0 0 0 - - -; +#X obj 44 512 glsl_program; +#X msg 182 200 -1; +#X obj 182 156 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 132 258 change; +#X obj 126 341 change; +#X obj 132 426 change; +#X obj 44 552 translateXYZ 0 0 0; +#X obj 44 197 colorRGB 1 1 1; +#X floatatom 128 174 5 0 0 0 - - -; +#X obj 44 177 depth 1; +#X obj 44 576 circle; +#X obj 182 176 t b b; +#X text 184 7 geometry shader; +#X text 48 28 The geometry shader is usefull to create new geometry +; +#X text 51 47 Here is an example where 40 circles are draw with 1 single +primitive.; +#X text 49 87 Be aware that the geometry shader is computed after the +vertex shader. coordinate are in 2d.; +#X msg 58 217 open geo.geom; +#X msg 56 299 open geo.vert; +#X msg 57 384 open geo.frag; +#X obj 182 136 loadbang; +#X text 205 155 load shaders; +#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 366 247 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 336 264 pd gemwin; +#X connect 0 0 3 0; +#X connect 1 0 3 2; +#X connect 3 0 6 0; +#X connect 4 0 3 1; +#X connect 5 0 10 0; +#X connect 6 0 2 0; +#X connect 6 0 14 0; +#X connect 7 0 8 0; +#X connect 7 1 18 0; +#X connect 8 0 14 0; +#X connect 8 1 19 0; +#X connect 9 0 7 0; +#X connect 9 1 17 0; +#X connect 10 0 23 0; +#X connect 11 0 20 1; +#X connect 12 0 20 2; +#X connect 13 0 20 3; +#X connect 14 0 20 0; +#X connect 15 0 19 0; +#X connect 16 0 25 0; +#X connect 17 0 1 0; +#X connect 18 0 4 0; +#X connect 19 0 0 0; +#X connect 20 0 24 0; +#X connect 21 0 9 0; +#X connect 22 0 21 2; +#X connect 23 0 21 0; +#X connect 25 0 15 0; +#X connect 25 1 32 0; +#X connect 25 1 30 0; +#X connect 25 1 31 0; +#X connect 30 0 9 0; +#X connect 31 0 7 0; +#X connect 32 0 8 0; +#X connect 33 0 16 0; +#X connect 35 0 36 0; -- cgit v1.2.1