hi list,
tried to use the "text2d"-object to show a simple float counter in a gemwin. problem: the window updates too slow if a font-size of e.g. 400 is used. does anyone know a different approach to it? How can i show fast and effective a good readable number on screen?
thanks j ,.
hello,
when i have to draw lot's of text, i usually generate letters as texture. using pix_multitexture you can render text the way you want. the drawback is that you have to generate the texture (imagemagick is good for this), Also, images quality is not as good if you change the size of the text. c
Le 17/12/2011 10:11, jwind a écrit :
hi list,
tried to use the "text2d"-object to show a simple float counter in a gemwin. problem: the window updates too slow if a font-size of e.g. 400 is used. does anyone know a different approach to it? How can i show fast and effective a good readable number on screen?
thanks j ,.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Le 17/12/2011 10:39, cyrille henry a écrit :
hello,
when i have to draw lot's of text, i usually generate letters as texture. using pix_multitexture you can render text the way you want. the drawback is that you have to generate the texture (imagemagick is good for this), Also, images quality is not as good if you change the size of the text. c
Le 17/12/2011 10:11, jwind a écrit :
hi list,
tried to use the "text2d"-object to show a simple float counter in a gemwin. problem: the window updates too slow if a font-size of e.g. 400 is used. does anyone know a different approach to it? How can i show fast and effective a good readable number on screen?
thanks j ,.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello,
Here an other way to use texture as number. But the Cyrille's solution with texunit and GLSL is simpler for the same result ;) ++
Jack
I remembered this fun patch
On Sat, 17 Dec 2011 13:39:59 +0100 Jack jack@rybn.org wrote:
Le 17/12/2011 10:39, cyrille henry a écrit :
hello,
when i have to draw lot's of text, i usually generate letters as texture. using pix_multitexture you can render text the way you want. the drawback is that you have to generate the texture (imagemagick is good for this), Also, images quality is not as good if you change the size of the text. c
Le 17/12/2011 10:11, jwind a écrit :
hi list,
tried to use the "text2d"-object to show a simple float counter in a gemwin. problem: the window updates too slow if a font-size of e.g. 400 is used. does anyone know a different approach to it? How can i show fast and effective a good readable number on screen?
thanks j ,.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello,
Here an other way to use texture as number. But the Cyrille's solution with texunit and GLSL is simpler for the same result ;) ++
Jack
Le 17/12/2011 14:53, Andy Farnell a écrit :
I remembered this fun patch
On Sat, 17 Dec 2011 13:39:59 +0100 Jackjack@rybn.org wrote:
Le 17/12/2011 10:39, cyrille henry a écrit :
hello,
when i have to draw lot's of text, i usually generate letters as texture. using pix_multitexture you can render text the way you want. the drawback is that you have to generate the texture (imagemagick is good for this), Also, images quality is not as good if you change the size of the text. c
Le 17/12/2011 10:11, jwind a écrit :
hi list,
tried to use the "text2d"-object to show a simple float counter in a gemwin. problem: the window updates too slow if a font-size of e.g. 400 is used. does anyone know a different approach to it? How can i show fast and effective a good readable number on screen?
thanks j ,.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello,
Here an other way to use texture as number. But the Cyrille's solution with texunit and GLSL is simpler for the same result ;) ++
Jack
Very nice ! ;) ++
Jack
Le 2011-12-17 à 13:53:00, Andy Farnell a écrit :
I remembered this fun patch
see also http://gridflow.ca/gallery/pdmtl-33-image-many.png http://gridflow.ca/help/%23many-help.html
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
----- Mail original -----
De: "Mathieu Bouchard" matju@artengine.ca À: "Andy Farnell" padawan12@obiwannabe.co.uk Cc: pd-list@iem.at Envoyé: Lundi 19 Décembre 2011 02:19:05 Objet: Re: [PD] showing text or number in gem
Le 2011-12-17 à 13:53:00, Andy Farnell a écrit :
I remembered this fun patch
see also
this topic remind me this experiment:
Le 17/12/2011 22:16, Max a écrit :
Am 17.12.2011 um 13:39 schrieb Jack:
Here an other way to use texture as number. But the Cyrille's solution with texunit and GLSL is simpler for the same result ;
error: GEM: Someone sent a bogus pointer to copy2Image
?
Hello Max,
This error means that an object tried to duplicate a non-existing image. But I don't get this error here on : pd 0.42.6, Gem 0.93.git 3a12873 and Ubuntu 11.04. ++
Jack
On 12/18/2011 02:32 PM, Jack wrote:
error: GEM: Someone sent a bogus pointer to copy2Image
?
Hello Max,
This error means that an object tried to duplicate a non-existing image. But I don't get this error here on : pd 0.42.6, Gem 0.93.git 3a12873 and Ubuntu 11.04. ++
afair, i have fixed a number of spurious "bogus pointer" errors in the git. despite being "errors", those messages are usually harmless warnings.
gamsrd IOhannes
Am 18.12.2011 um 14:32 schrieb Jack:
Le 17/12/2011 22:16, Max a écrit :
Am 17.12.2011 um 13:39 schrieb Jack:
Here an other way to use texture as number. But the Cyrille's solution with texunit and GLSL is simpler for the same result ;
error: GEM: Someone sent a bogus pointer to copy2Image
This error means that an object tried to duplicate a non-existing image. But I don't get this error here on : pd 0.42.6, Gem 0.93.git 3a12873 and Ubuntu 11.04.
hi jack, i get this error (many times) with your patch on GEM: ver: 0.93.3, compiled: Nov 10 2011 running in 0.43.1 ext on OS 10.7 also the font is not found. [text3d]: cannot find font-file '/path to/vera.ttf' if a font file is specified the patch works.
m.
Le 19/12/2011 00:56, Max a écrit :
Am 18.12.2011 um 14:32 schrieb Jack:
Le 17/12/2011 22:16, Max a écrit :
Am 17.12.2011 um 13:39 schrieb Jack:
Here an other way to use texture as number. But the Cyrille's solution with texunit and GLSL is simpler for the same result ;
error: GEM: Someone sent a bogus pointer to copy2Image
This error means that an object tried to duplicate a non-existing image. But I don't get this error here on : pd 0.42.6, Gem 0.93.git 3a12873 and Ubuntu 11.04.
hi jack, i get this error (many times) with your patch on GEM: ver: 0.93.3, compiled: Nov 10 2011 running in 0.43.1 ext on OS 10.7 also the font is not found. [text3d]: cannot find font-file '/path to/vera.ttf' if a font file is specified the patch works.
m.
Hello Max,
Good to know that the problem about this 'bogus pointer' comme from the font. Yep, on Linux (I don't know on other OS) you have to specify the path to your vera.ttf (by default) in file > path. Me, it is in the /usr/share/fonts/truetype. It is also posible to put this vera.ttf in the same folder than your patch. Good night. ++
Jack
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-12-19 02:33, Jack wrote:
Good to know that the problem about this 'bogus pointer' comme from the font.
definitely not.
Yep, on Linux (I don't know on other OS) you have to specify the path to your vera.ttf (by default) in file > path.
Gem always needs to find the truetype font in order to be able to render a text. it will look for the default font "vera.ttf" in all search-paths of Pd, including the the patch's home.
ghm,sdft IOhannes
Le 19/12/2011 14:11, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-12-19 02:33, Jack wrote:
Good to know that the problem about this 'bogus pointer' comme from the font.
definitely not.
Ah OK, I thought it was a possibility... ++
Jack
Yep, on Linux (I don't know on other OS) you have to specify the path to your vera.ttf (by default) in file> path.
Gem always needs to find the truetype font in order to be able to render a text. it will look for the default font "vera.ttf" in all search-paths of Pd, including the the patch's home.
ghm,sdft IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7vN+YACgkQkX2Xpv6ydvSrtACguKa75BywxsQZTNL+6L/m/O29 ViQAn05hBI0QOnw876rWvrxxi78K+auf =gCoR -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Le 19/12/2011 19:25, Jack a écrit :
Le 19/12/2011 14:11, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-12-19 02:33, Jack wrote:
Good to know that the problem about this 'bogus pointer' comme from the font.
definitely not.
Ah OK, I thought it was a possibility...
It was a possibility..., because [text3d] didn't find the font. ++
Jack
++
Jack
Yep, on Linux (I don't know on other OS) you have to specify the path to your vera.ttf (by default) in file> path.
Gem always needs to find the truetype font in order to be able to render a text. it will look for the default font "vera.ttf" in all search-paths of Pd, including the the patch's home.
ghm,sdft IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/
iEYEARECAAYFAk7vN+YACgkQkX2Xpv6ydvSrtACguKa75BywxsQZTNL+6L/m/O29 ViQAn05hBI0QOnw876rWvrxxi78K+auf =gCoR -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-12-19 19:48, Jack wrote:
Le 19/12/2011 19:25, Jack a écrit :
Le 19/12/2011 14:11, IOhannes m zmoelnig a écrit :
On 2011-12-19 02:33, Jack wrote:
Good to know that the problem about this 'bogus pointer' comme from the font.
definitely not.
Ah OK, I thought it was a possibility...
It was a possibility..., because [text3d] didn't find the font. ++
so how does not finding the font create a bogus _image_? without a font, you will get an empty (black) image, but that is not "bogus" (as in "non-existant")
fgmasdr IOhannes
On 17/12/11 17:11, jwind wrote:
hi list,
tried to use the "text2d"-object to show a simple float counter in a gemwin. problem: the window updates too slow if a font-size of e.g. 400 is used. does anyone know a different approach to it? How can i show fast and effective a good readable number on screen?
Also try text3d - it may be faster ... the reason has been discussed on this list in the past, so try the archives too.
Simon