[PD] showing text or number in gem

Jack jack at rybn.org
Sat Dec 17 13:39:59 CET 2011


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 at iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
>>
>
> _______________________________________________
> Pd-list at 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fontToTex.zip
Type: application/zip
Size: 1231 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20111217/4766d9ff/attachment.zip>


More information about the Pd-list mailing list