aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xGem/Gem.pd_linuxbin28637580 -> 28637580 bytes
-rw-r--r--Gem/gemcubeframebuffer-help.pd221
2 files changed, 166 insertions, 55 deletions
diff --git a/Gem/Gem.pd_linux b/Gem/Gem.pd_linux
index 5e4785f..9e544f9 100755
--- a/Gem/Gem.pd_linux
+++ b/Gem/Gem.pd_linux
Binary files differ
diff --git a/Gem/gemcubeframebuffer-help.pd b/Gem/gemcubeframebuffer-help.pd
index 95f6a34..a333dcb 100644
--- a/Gem/gemcubeframebuffer-help.pd
+++ b/Gem/gemcubeframebuffer-help.pd
@@ -1,14 +1,16 @@
-#N canvas 334 69 706 568 10;
+#N canvas 584 161 745 692 10;
+#X obj 482 415 cnv 15 90 40 empty empty empty 20 12 0 14 -257985 -66577
+0;
#X obj 175 337 cnv 15 90 60 empty empty empty 20 12 0 14 -257985 -66577
0;
-#X obj 174 147 cnv 15 150 25 empty empty pre 2 12 0 14 -4032 -1 0;
-#X obj 174 259 cnv 15 150 25 empty empty post 2 12 0 14 -4032 -1 0
+#X obj 174 147 cnv 15 180 25 empty empty pre 2 12 0 14 -4032 -1 0;
+#X obj 174 257 cnv 15 180 25 empty empty post 2 12 0 14 -4032 -1 0
;
-#X obj 20 496 cnv 15 400 30 empty empty empty 20 12 0 14 -260097 -66577
+#X obj 20 571 cnv 15 600 30 empty empty empty 20 12 0 14 -260097 -66577
0;
#X obj 27 92 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
-#N canvas 248 699 448 300 gemwin 0;
+#N canvas 234 575 448 300 gemwin 0;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X msg 67 70 set destroy;
@@ -19,39 +21,40 @@
#X obj 311 56 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 198 32 dimen 1024 768;
-#X obj 217 197 gemhead 80;
-#X obj 217 227 world_light;
#X msg 190 10 dimen 1280 1024;
#X msg 132 112 create \, 1 \, view 0 0 3;
#X obj 86 132 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 342 29 inlet;
#X obj 132 149 gemwin;
+#X obj 3 11 loadbang;
+#X obj 217 197 gemhead 80;
+#X obj 217 224 world_light;
#X connect 1 0 5 0;
#X connect 2 0 0 0;
-#X connect 3 0 15 0;
+#X connect 3 0 13 0;
#X connect 4 0 0 0;
#X connect 5 0 2 0;
-#X connect 5 0 12 0;
+#X connect 5 0 10 0;
#X connect 5 1 4 0;
#X connect 5 1 3 0;
-#X connect 6 0 15 0;
+#X connect 6 0 13 0;
#X connect 7 0 6 0;
-#X connect 8 0 15 0;
-#X connect 9 0 10 0;
-#X connect 11 0 15 0;
-#X connect 12 0 15 0;
-#X connect 13 0 15 0;
-#X connect 14 0 15 0;
+#X connect 8 0 13 0;
+#X connect 9 0 13 0;
+#X connect 10 0 13 0;
+#X connect 11 0 13 0;
+#X connect 12 0 13 0;
+#X connect 14 0 4 0;
+#X connect 15 0 16 0;
#X restore 32 131 pd gemwin;
-#X msg 32 109 create;
-#X obj 174 225 cnv 15 150 30 empty empty empty 20 12 0 14 -4034 -66577
+#X msg 32 109 destroy;
+#X obj 174 225 cnv 15 180 30 empty empty empty 20 12 0 14 -4034 -66577
0;
-#X obj 184 46 gemhead;
#X obj 184 24 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 184 68 alpha;
-#N canvas 1604 201 450 481 draw_6_faces 0;
+#N canvas 974 317 450 481 draw_6_faces 0;
#X msg 177 365 face \$1;
#X obj 75 18 inlet;
#X obj 177 276 t f f;
@@ -143,7 +146,7 @@
#X obj 211 231 gemcubeframebuffer;
#X obj 225 177 loadbang;
#X obj 184 107 t a a;
-#N canvas 628 189 360 553 shader 0;
+#N canvas 620 313 360 553 shader 0;
#X obj 72 166 glsl_vertex;
#X obj 72 269 glsl_fragment;
#X obj 72 449 glsl_program;
@@ -218,36 +221,36 @@
#X obj 184 343 pix_texture;
#X obj 184 310 separator;
#X obj 211 130 separator;
-#X obj 273 345 loadbang;
-#X obj 184 501 rectangle 2.8 1.4;
-#X obj 342 64 gemframebuffer;
-#X obj 326 457 translateXYZ 0 0 -4;
-#X obj 184 478 spigot;
-#X obj 326 500 sphere 4 50;
-#X obj 217 451 == 1;
-#X obj 39 478 translateXYZ 0 0 -7;
-#X obj 33 184 vradio 20 1 0 3 empty empty empty 0 -8 0 10 -257985 -1
--1 0;
+#X obj 276 343 loadbang;
+#X obj 184 576 rectangle 2.8 1.4;
+#X obj 355 63 gemframebuffer;
+#X obj 326 532 translateXYZ 0 0 -4;
+#X obj 184 553 spigot;
+#X obj 326 575 sphere 4 50;
+#X obj 223 530 == 1;
+#X obj 39 553 translateXYZ 0 0 -7;
+#X obj 33 184 vradio 20 1 0 4 empty empty empty 0 -8 0 10 -257985 -1
+-1 3;
#X text 55 185 scene;
#X text 55 204 equirectangular;
#X text 55 224 mapped to sphere;
-#X obj 217 427 r \$0-show;
-#X obj 33 250 s \$0-show;
-#X obj 371 387 r \$0-show;
-#X obj 84 407 r \$0-show;
-#X obj 84 429 == 0;
-#X obj 39 456 spigot 1;
-#X obj 371 410 == 2;
-#X obj 326 433 spigot 0;
-#X obj 211 285 s \$0-sceneHead;
-#X obj 39 500 s \$0-sceneHead;
-#X msg 83 55 lighting \$1;
-#X obj 83 31 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
+#X obj 223 506 r \$0-show;
+#X obj 33 269 s \$0-show;
+#X obj 379 460 r \$0-show;
+#X obj 92 486 r \$0-show;
+#X obj 92 508 == 0;
+#X obj 39 531 spigot 1;
+#X obj 379 483 == 2;
+#X obj 326 508 spigot 0;
+#X obj 211 288 s \$0-sceneHead;
+#X obj 39 575 s \$0-sceneHead;
+#X msg 92 51 lighting \$1;
+#X obj 92 27 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
;
#X text 28 88 1:Create window;
-#X obj 465 312 cnv 15 100 60 empty empty empty 20 12 0 14 -257985 -66577
+#X obj 404 259 cnv 15 120 60 empty empty empty 20 12 0 14 -257985 -66577
0;
-#N canvas 1281 147 632 578 draw_scene 0;
+#N canvas 801 163 632 578 draw_scene 0;
#X obj 243 285 rotateXYZ;
#X obj 402 84 f;
#X obj 402 109 + 1;
@@ -348,22 +351,111 @@
#X connect 42 0 34 2;
#X connect 42 0 41 0;
#X connect 44 0 42 0;
-#X restore 470 347 pd draw_scene;
-#X obj 470 318 r \$0-sceneHead;
+#X restore 409 294 pd draw_scene;
+#X obj 409 265 r \$0-sceneHead;
#X text 30 165 Show:;
#X obj 553 178 hsl 128 15 0 1 0 0 empty empty background_opacity -2
-8 0 10 -262144 -1 -1 0 1;
#X msg 550 199 color 0 0.1 0.2 \$1;
#X msg 225 199 dimen 512 512 \, format RGBA \, color 0 0.1 0.2 1;
-#X text 11 536 Antoine Rousseau nov 2015;
+#X text 14 630 Antoine Rousseau nov 2015;
#X text 316 64 See:;
-#X text 436 64 for more messages.;
+#X text 467 64 for more messages.;
#X text 309 39 Renders a scene to faces of a GL cubemap texture.;
-#X msg 273 368 cubemaptosphere;
-#X connect 5 0 6 0;
-#X connect 6 0 5 0;
-#X connect 8 0 10 0;
-#X connect 9 0 8 0;
+#X msg 276 366 cubemaptosphere;
+#N canvas 624 251 360 553 shader 0;
+#X obj 72 166 glsl_vertex;
+#X obj 72 269 glsl_fragment;
+#X obj 72 449 glsl_program;
+#X obj 138 387 pack 0 0;
+#X obj 156 357 t b f;
+#X obj 156 300 change;
+#X obj 138 191 change;
+#X msg 138 409 link \$1 \$2;
+#X floatatom 156 324 2 0 0 0 ID - -, f 2;
+#X floatatom 138 214 2 0 0 0 ID - -, f 2;
+#X obj 120 60 tgl 15 0 \$0-shadOn-snd \$0-shadOn-rcv on/off 17 7 0
+10 -262144 -1 -1 1 1;
+#X obj 21 59 inlet gemlist;
+#X obj 21 489 outlet gemlist;
+#X msg 87 139 open \$1.vert;
+#X msg 152 238 open \$1.frag;
+#X obj 120 14 loadbang;
+#X msg 120 36 1;
+#X obj 152 69 inlet loadShader;
+#X obj 229 408 inlet variables;
+#N canvas 85 80 450 300 demux 0;
+#X obj 52 33 inlet;
+#X obj 308 37 inlet select;
+#X obj 52 55 t a a;
+#X obj 52 148 outlet;
+#X obj 105 105 == 0;
+#X obj 52 126 spigot 1;
+#X obj 122 148 outlet;
+#X obj 175 105 == 1;
+#X obj 122 126 spigot 0;
+#X obj 308 59 t f f;
+#X connect 0 0 2 0;
+#X connect 1 0 9 0;
+#X connect 2 0 5 0;
+#X connect 2 1 8 0;
+#X connect 4 0 5 1;
+#X connect 5 0 3 0;
+#X connect 7 0 8 1;
+#X connect 8 0 6 0;
+#X connect 9 0 4 0;
+#X connect 9 1 7 0;
+#X restore 21 108 pd demux;
+#X obj 152 91 symbol;
+#X obj 152 113 t s s;
+#X connect 0 0 1 0;
+#X connect 0 1 6 0;
+#X connect 1 0 2 0;
+#X connect 1 1 5 0;
+#X connect 2 0 12 0;
+#X connect 3 0 7 0;
+#X connect 4 0 3 0;
+#X connect 4 1 3 1;
+#X connect 5 0 8 0;
+#X connect 6 0 9 0;
+#X connect 7 0 2 0;
+#X connect 8 0 4 0;
+#X connect 9 0 3 0;
+#X connect 10 0 19 1;
+#X connect 11 0 19 0;
+#X connect 13 0 0 0;
+#X connect 14 0 1 0;
+#X connect 15 0 16 0;
+#X connect 16 0 10 0;
+#X connect 17 0 20 0;
+#X connect 18 0 2 0;
+#X connect 19 0 12 0;
+#X connect 19 1 0 0;
+#X connect 20 0 21 0;
+#X connect 21 0 13 0;
+#X connect 21 1 14 0;
+#X restore 493 429 pd shader;
+#X obj 575 364 loadbang;
+#X obj 493 385 spigot;
+#X obj 532 338 r \$0-show;
+#X msg 575 387 cubemaptocube;
+#X obj 532 362 == 3;
+#X obj 493 542 accumrotate;
+#X obj 493 489 t a b;
+#X obj 520 521 0.5;
+#X obj 551 520 0.7;
+#X obj 493 462 translateXYZ 0 0 -4;
+#X obj 686 677 separator;
+#X obj 493 578 cube 3;
+#X msg 623 423 3;
+#X msg 587 424 -4;
+#X msg 456 498 3;
+#X msg 420 499 -4;
+#X obj 184 46 gemhead;
+#X text 55 245 mapped to cube;
+#X connect 6 0 7 0;
+#X connect 7 0 6 0;
+#X connect 9 0 74 0;
#X connect 10 0 15 0;
#X connect 11 0 13 0;
#X connect 11 1 12 1;
@@ -376,6 +468,7 @@
#X connect 16 0 24 0;
#X connect 16 0 39 0;
#X connect 17 0 16 0;
+#X connect 17 0 59 0;
#X connect 18 0 17 0;
#X connect 18 0 37 0;
#X connect 19 0 11 0;
@@ -392,10 +485,28 @@
#X connect 37 0 27 0;
#X connect 38 0 39 1;
#X connect 39 0 23 0;
-#X connect 42 0 5 1;
+#X connect 42 0 6 1;
#X connect 43 0 42 0;
#X connect 47 0 46 0;
#X connect 49 0 50 0;
#X connect 50 0 13 0;
#X connect 51 0 13 0;
#X connect 56 0 16 1;
+#X connect 57 0 67 0;
+#X connect 58 0 61 0;
+#X connect 59 0 57 0;
+#X connect 60 0 62 0;
+#X connect 61 0 57 1;
+#X connect 62 0 59 1;
+#X connect 63 0 69 0;
+#X connect 64 0 63 0;
+#X connect 64 1 65 0;
+#X connect 64 1 66 0;
+#X connect 65 0 63 1;
+#X connect 66 0 63 2;
+#X connect 67 0 64 0;
+#X connect 70 0 67 3;
+#X connect 71 0 67 3;
+#X connect 72 0 23 3;
+#X connect 73 0 23 3;
+#X connect 74 0 10 0;