Advertisement Jump to content
Sign in to follow this  
BinarySpike

FTGL texture fonts not showing up

This topic is 4289 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I *finally* got FTGL working, and the only demo I could find used old function calls :-/ (and I've seen like three webpages give it out...) Anyway I updated everything but on all three fonts I tried (from dafonts.com) texture mapped fonts didn't work. I'm creating my context through GLFT, Loading fonts through FTGL of course. Now I enable GL_BlEND and GL_TEXTURE_2D. Then call glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) documentation, demos, etc. etc... seems non-existant for FTGL, but I know a lot of people use it. Once I get this working I just have to write the font tutorial and then I can release my tutorials. (on GLFW, libpng, and FTGL, and in the future, ODE and tinyxml) *edit* here is a picture of my problem a private flickr image

Share this post


Link to post
Share on other sites
Advertisement
I seriously need to get some sleep...

I got it to render, it seems that my libpng texture loading code was messing it up somehow...

I commented out the loading function and the texture map rendered nicely (and the polygon texture started rendering in the color I wanted, instead of red :P)

Sorry to bother you guys... hope this helps someone.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!