This is probably a bonehead GEM question:
How do you map [text2d] or [text3d] onto a Geo. [pix_texture] doesn't do the job.
Also:
Is there anything in HC's PD-Extended installer which supports entering text with spaces? [symbol] doesn't do the job here either.
The end goal:
A bouncing sphere with user-entered text wrapped around it. I did check the archives and only found some stuff from Toxy [didn't create properly], GriPD (not in HC's installer), or BBogart's [enter] (also not in installer as far as I can tell). It looks like the one from miXed got close:
beware! this is widget 0.1, 19th alpha build... warning (Widget): no file 'setup.wid'... using built-in defaults error (miXed): bad arguments for a widget expecting "widget <type> <name> [properties]" widget text ... couldn't create
But I guess I'm not creating it right.
Suggestions appreciated!
d.
derek holzer wrote:
This is probably a bonehead GEM question:
How do you map [text2d] or [text3d] onto a Geo. [pix_texture] doesn't do the job.
it does. but you have to create a texture from the text before you can texture it on something. [text3d] is like a [sphere], and not like a [pix_image]. use [pix_snap2tex] for such.
Also:
Is there anything in HC's PD-Extended installer which supports entering text with spaces? [symbol] doesn't do the job here either.
a message box? and then [l2s] to convert the message into a symbol.
mfg.asdr. IOhannes
IOhannes m zmoelnig wrote: .
[text3d] is like a [sphere], and not like a [pix_image]. use [pix_snap2tex] for such.
Thx!
Is there anything in HC's PD-Extended installer which supports entering text with spaces? [symbol] doesn't do the job here either.
a message box? and then [l2s] to convert the message into a symbol.
I was hoping for something where the user didn't have to edit a patch every time they wanted to change the text, but just type in real time.
best, d.
derek holzer wrote:
IOhannes m zmoelnig wrote: .
[text3d] is like a [sphere], and not like a [pix_image]. use [pix_snap2tex] for such.
Thx!
Is there anything in HC's PD-Extended installer which supports entering text with spaces? [symbol] doesn't do the job here either.
a message box? and then [l2s] to convert the message into a symbol.
I was hoping for something where the user didn't have to edit a patch every time they wanted to change the text, but just type in real time.
well, use the msg-box only for display and grab the keyboard input directly from [key].
something like the attached patch.
mfga.sdr IOhannes
#N canvas 41 109 740 532 10; #X obj 80 431 t b b; #X msg 115 453 set; #X obj 185 29 key; #X obj 244 105 makefilename %c; #X obj 185 53 moses 31; #X obj 185 78 select 10; #X obj 348 140 list; #X obj 244 140 list prepend; #X msg 371 105 bang; #X obj 185 102 t b b; #X obj 244 211 list2symbol; #X msg 327 190 symbol; #X obj 244 171 t a b; #X obj 244 277 demux . . .; #X msg 80 453 1; #X obj 244 233 t s s; #X obj 343 277 demux . . .; #X msg 244 254 set $1; #X obj 343 256 symbol; #X symbolatom 384 305 0 0 0 0 INPUT_1 - -; #X symbolatom 426 344 0 0 0 0 INPUT_2 - -; #X obj 384 328 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 426 364 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 337 211 0; #X obj 327 234 t f f b; #X obj 71 367 cnv 15 140 60 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 76 372 click and type:; #X obj 301 408 cnv 15 140 60 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 306 413 click and type:; #X obj 327 468 t b b; #X msg 362 490 set; #X msg 327 490 2; #X msg 80 391 INPUT_1; #X msg 327 428 INPUT_2; #X connect 0 0 14 0; #X connect 0 1 1 0; #X connect 1 0 32 0; #X connect 2 0 4 0; #X connect 3 0 7 0; #X connect 4 0 5 0; #X connect 4 1 3 0; #X connect 5 0 9 0; #X connect 6 0 7 1; #X connect 7 0 6 0; #X connect 7 0 12 0; #X connect 8 0 7 1; #X connect 9 0 18 0; #X connect 9 1 8 0; #X connect 10 0 15 0; #X connect 11 0 10 1; #X connect 12 0 10 0; #X connect 12 1 11 0; #X connect 13 1 32 0; #X connect 13 2 33 0; #X connect 14 0 24 0; #X connect 15 0 17 0; #X connect 15 1 18 1; #X connect 16 1 19 0; #X connect 16 2 20 0; #X connect 17 0 13 0; #X connect 18 0 16 0; #X connect 19 0 21 0; #X connect 20 0 22 0; #X connect 23 0 24 0; #X connect 24 0 13 1; #X connect 24 1 16 1; #X connect 24 2 7 1; #X connect 29 0 31 0; #X connect 29 1 30 0; #X connect 30 0 33 0; #X connect 31 0 24 0; #X connect 32 0 0 0; #X connect 33 0 29 0;
IOhannes m zmoelnig wrote:
derek holzer wrote:
This is probably a bonehead GEM question:
How do you map [text2d] or [text3d] onto a Geo. [pix_texture] doesn't do the job.
it does. but you have to create a texture from the text before you can texture it on something. [text3d] is like a [sphere], and not like a [pix_image]. use [pix_snap2tex] for such.
But [pix_snap2tex] captures the whole buffer (or a fraction of it), right? So if I just wanted to texture a line of text independent of other Geos in the buffer, or let's say the Gemlist of one Gemhead, how could that be done?
d.
Hi Derek,
#1. in the future we should be able to render a "text3d" onto an offscreen buffer (like an invisible gem-window) that creates a texture (pixels). Then you would be able to texture the text onto an object rendered into the gem-window on a second pass. James tittle is working on this stuff and its in the gem CVS (under a different tag Jamie?)
For a stop-gap you can probably render text (as pixels) in pdp/pidip controlling it live, and texturing that in Gem...
#2. [entry] should be in the pd-extended packages, it sure used to be... Looks like it is certainly not in 0.39-test5 (autobuild) but gem and flext externals are also missing. I'm downloading the stable pd-extended to see if it is in there. Sure enough [entry] is in the "stable" pd-extended installer. you can always copy the pd_darwin/linux out of that folder into your (newer?) installer.
.b.
derek holzer wrote:
This is probably a bonehead GEM question:
How do you map [text2d] or [text3d] onto a Geo. [pix_texture] doesn't do the job.
Also:
Is there anything in HC's PD-Extended installer which supports entering text with spaces? [symbol] doesn't do the job here either.
The end goal:
A bouncing sphere with user-entered text wrapped around it. I did check the archives and only found some stuff from Toxy [didn't create properly], GriPD (not in HC's installer), or BBogart's [enter] (also not in installer as far as I can tell). It looks like the one from miXed got close:
beware! this is widget 0.1, 19th alpha build... warning (Widget): no file 'setup.wid'... using built-in defaults error (miXed): bad arguments for a widget expecting "widget <type> <name> [properties]" widget text ... couldn't create
But I guess I'm not creating it right.
Suggestions appreciated!
d.
Hi, #2 Why don't you simply use a symbol entry, and then [s2l], [l2s]?
P.
"B. Bogart" ben@ekran.org a écrit : Hi Derek,
#1. in the future we should be able to render a "text3d" onto an offscreen buffer (like an invisible gem-window) that creates a texture (pixels). Then you would be able to texture the text onto an object rendered into the gem-window on a second pass. James tittle is working on this stuff and its in the gem CVS (under a different tag Jamie?)
For a stop-gap you can probably render text (as pixels) in pdp/pidip controlling it live, and texturing that in Gem...
#2. [entry] should be in the pd-extended packages, it sure used to be... Looks like it is certainly not in 0.39-test5 (autobuild) but gem and flext externals are also missing. I'm downloading the stable pd-extended to see if it is in there. Sure enough [entry] is in the "stable" pd-extended installer. you can always copy the pd_darwin/linux out of that folder into your (newer?) installer.
.b.
derek holzer wrote:
This is probably a bonehead GEM question:
How do you map [text2d] or [text3d] onto a Geo. [pix_texture] doesn't do the job.
Also:
Is there anything in HC's PD-Extended installer which supports entering text with spaces? [symbol] doesn't do the job here either.
The end goal:
A bouncing sphere with user-entered text wrapped around it. I did check the archives and only found some stuff from Toxy [didn't create properly], GriPD (not in HC's installer), or BBogart's [enter] (also not in installer as far as I can tell). It looks like the one from miXed got close:
beware! this is widget 0.1, 19th alpha build... warning (Widget): no file 'setup.wid'... using built-in defaults error (miXed): bad arguments for a widget expecting "widget [properties]" widget text ... couldn't create
But I guess I'm not creating it right.
Suggestions appreciated!
d.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici.
Hi, I use [widget] with the 15th release of toxy (you can find it on the site: http://suita.chopin.edu.pl/~czaja/miXed/externs/toxy.html or maybe you could try cvs? and it works very good. The toxy from extended doesn't work at all, or crashes pd.
P
in installer as far as I can tell). It looks like the one from miXed got close:
beware! this is widget 0.1, 19th alpha build... warning (Widget): no file 'setup.wid'... using built-in defaults error (miXed): bad arguments for a widget expecting "widget [properties]" widget text ... couldn't create
But I guess I'm not creating it right.
Suggestions appreciated!
d.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici.
B. Bogart schrieb:
Hi Derek,
#1. in the future we should be able to render a "text3d" onto an offscreen buffer (like an invisible gem-window) that creates a texture (pixels).
Maybe someone knows, if (how) it is already possible to handle virtual buffers with native openGL commands in GEM?
marius.