aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xGem/Gem.pd_linuxbin32948413 -> 32948413 bytes
-rw-r--r--Gem/pix_coordinate-help.pd28
-rw-r--r--Gem/text2d-help.pd42
3 files changed, 53 insertions, 17 deletions
diff --git a/Gem/Gem.pd_linux b/Gem/Gem.pd_linux
index e81f376..dfb6205 100755
--- a/Gem/Gem.pd_linux
+++ b/Gem/Gem.pd_linux
Binary files differ
diff --git a/Gem/pix_coordinate-help.pd b/Gem/pix_coordinate-help.pd
index 7928558..0f18a93 100644
--- a/Gem/pix_coordinate-help.pd
+++ b/Gem/pix_coordinate-help.pd
@@ -33,7 +33,7 @@
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X restore 479 383 pd gemwin;
-#X msg 479 364 destroy;
+#X msg 479 364 create;
#X text 475 343 Create window:;
#X obj 450 188 cnv 15 160 100 empty empty empty 20 12 0 14 -24198 -66577
0;
@@ -69,30 +69,30 @@ the texture S \, T values from 1 \, 1 to 2 \, 2 (See the examples).
#X text 63 367 Inlet 2: list: 8 values (4 (s \, t)-pairs);
#X obj 538 144 loadbang;
#X msg 461 237 \$1 \$1 0 \$1 0 0 \$1 0;
-#X floatatom 461 220 3 0 256 0 - - -;
+#X floatatom 461 220 3 0 256 0 - - -, f 3;
#X obj 451 136 pix_texture;
#X text 14 159 IMPORTANT NOTE-1: [pix_texture] sets the texture-coordinates
to "appropriate" values \, so you probably want to use [pix_coordinate]
afterwards;
-#X obj 10 207 cnv 15 420 70 empty empty empty 20 12 0 14 -225280 -66577
+#X obj 10 201 cnv 15 420 45 empty empty empty 20 12 0 14 -225280 -66577
0;
-#X text 14 209 IMPORTANT NOTE-2: if your hardware supports it \, Gem
-tries to use "rectangle-texturing". This means that normal texture-coordinates
-range from 0..xsize (resp. 0..ysize). If it is not supported (or forced-off
-with "mode 0" to [pix_texture]) texture-coordinates range from 0..1
-;
#X obj 451 266 pix_coordinate;
#X msg 459 193 0 0 1 0 1 1 0 1;
#X msg 468 167 rectangle 0 \, repeat 1;
+#X text 14 248 IMPORTANT NOTE-3: Images with dimensions that are not
+powers-of-2 \, will not "repeat" properly in any case., f 60;
+#X text 14 203 IMPORTANT NOTE-2: if your hardware supports it \, Gem
+tries to use "rectangle-texturing"\\\, which does not support "repeat"
+mode. This is an OpenGL limitation;
#X connect 10 0 11 0;
#X connect 11 0 10 0;
#X connect 14 0 17 0;
#X connect 16 0 17 1;
#X connect 17 0 31 0;
-#X connect 28 0 37 0;
-#X connect 29 0 35 1;
+#X connect 28 0 36 0;
+#X connect 29 0 34 1;
#X connect 30 0 29 0;
-#X connect 31 0 35 0;
-#X connect 35 0 23 0;
-#X connect 36 0 35 1;
-#X connect 37 0 31 0;
+#X connect 31 0 34 0;
+#X connect 34 0 23 0;
+#X connect 35 0 34 1;
+#X connect 36 0 31 0;
diff --git a/Gem/text2d-help.pd b/Gem/text2d-help.pd
index 2035a57..10777c8 100644
--- a/Gem/text2d-help.pd
+++ b/Gem/text2d-help.pd
@@ -41,7 +41,7 @@
#X obj 468 112 cnv 15 150 220 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 479 68 gemhead;
-#X floatatom 516 287 5 0 100 1 size - -;
+#X floatatom 516 287 5 0 100 1 size - -, f 5;
#X msg 489 152 font \$1;
#X obj 489 133 openpanel;
#X obj 489 116 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
@@ -62,8 +62,8 @@
#X text 10 94 [text2d] renders one line of a text with the current
color \, but without(!) 3D-transformation;
#X obj 479 89 translateXYZ;
-#X floatatom 583 72 5 -10 10 0 - - -;
-#X floatatom 542 67 3 -3.5 3.5 0 - - -;
+#X floatatom 583 72 5 -10 10 0 - - -, f 5;
+#X floatatom 542 67 3 -3.5 3.5 0 - #0-X -, f 3;
#X text 27 366 Inlet 1: message: font <.TTF-file> : load a TrueType-font
;
#X text 27 380 Inlet 1: message: text [<blah>] : render the given text
@@ -89,6 +89,41 @@ on the command-line and load fonts with just "font times.ttf".;
#X text 468 419 see also:;
#X obj 538 443 textextruded;
#X obj 538 466 textoutline;
+#X obj 30 591 cnv 15 400 40 empty empty empty 20 12 0 14 -260097 -66577
+0;
+#X text 43 595 Note2: The text will disappear completely once the pivot
+point of the text moves out of the window;
+#X obj 459 591 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#N canvas 69 240 450 369 disappearing 0;
+#X obj 43 27 inlet;
+#X obj 43 266 s \$0-X;
+#X obj 43 92 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
+;
+#X obj 43 116 pack 0 1000;
+#X obj 43 238 line;
+#X obj 43 70 metro 1000;
+#X obj 43 138 t f f;
+#X obj 43 208 pack 0 1000;
+#X obj 43 160 * 1;
+#X obj 43 183 - 4.2;
+#X obj 43 49 t f f;
+#X obj 127 70 select 0;
+#X msg 127 92 0;
+#X connect 0 0 10 0;
+#X connect 2 0 3 0;
+#X connect 3 0 6 0;
+#X connect 4 0 1 0;
+#X connect 5 0 2 0;
+#X connect 6 0 8 0;
+#X connect 7 0 4 0;
+#X connect 8 0 9 0;
+#X connect 9 0 7 0;
+#X connect 10 0 5 0;
+#X connect 10 1 11 0;
+#X connect 11 0 12 0;
+#X connect 12 0 7 0;
+#X restore 459 611 pd disappearing text;
#X connect 3 0 4 0;
#X connect 4 0 3 0;
#X connect 17 0 33 0;
@@ -104,3 +139,4 @@ on the command-line and load fonts with just "font times.ttf".;
#X connect 33 0 41 0;
#X connect 34 0 33 3;
#X connect 35 0 33 1;
+#X connect 53 0 54 0;