views:

510

answers:

1

I've googled around everywhere, but cannot find much for rendering strings to textures and then displaying that texture on a quad on the screen. Can someone provide a run-down on the process or provide good resources that describe how? Is rendering strings to textures even the best method for displaying text in an Android OpenGL ES app?

EDIT: Okay, so LabelMaker interferes with alpha blending, the texture (created from a PNG with a transparent background) now has a solid black background, rather than a transparent background. If I comment out all the LabelMaker-related code, it works fine.

UPDATE: Nevermind. I took a look at the code to find that LabelMaker was disabling blending after drawing the labels.

+1  A: 

I think this is what you are looking for.

jqpubliq
Yeah, found that earlier but wanted to know if there was a simpler way. I guess I'll just copy the class over to my project and work from there.
Eddie Ringle
Okay, so LabelMaker interferes with alpha blending, the texture (created from a PNG with a transparent background) now has a solid black background, rather than a transparent background. If I comment out all the LabelMaker-related code, it works fine.
Eddie Ringle