On May 25, 2:05 am, Pawel <[email protected]> wrote:
> yep Florian i might, thanks, but in the mean time my little four line
> hack does everything i need, with some extending.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "pyglet-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/pyglet-users?hl=en.


Fair enough. For the record, I used Florian's code for this
previously, and one side-effect that I took a while to grok, but which
turned out to be handy, is that you can choose to get the text on a
bitmap which just has an alpha channel (no RG or B). This means that
when using that as a texture (eg. in a sprite) then the current
glColor value will be used to color the non-transparent text pixels.
So you can easily display the text bitmap in a color of your choosing.

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to