Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Sim

wglUseFontOutlines Trouble!!

This topic is 6096 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

Hello! I have tried to implement outline fonts into my engine, but it makes everything looking bad(except of the font: http://www.geocities.com/simon_dotschuweit/bad.jpg If I don''t call the displaylists generated by wglUseFontOutlines everything is nice: http://www.geocities.com/simon_dotschuweit/good.jpg I have analysed the api calls of wglUseFontOutlines, there are several gluTesslate* calls, I think I have to disable the tesslation mode after drawing the font, but how can I do that? Any idea? Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Really nobody who is using Outlinefont?
Or are you using another method to create them?
Please tell me!
Thanks!!

Share this post


Link to post
Share on other sites
To me it looks like the backface culling was turned into frontface culling. Try glCullFace(GL_BACK); After calling your font stuff, or even before calling it, or check the source of the font drawing routines if you can and search for glCullFace(GL_FRONT), And try to find out why it is called.

Or try glDisable(GL_CULL_FACE); (or sth like this) - if it not too expensive.

I hope it helps,

Gahre

Share this post


Link to post
Share on other sites
Or try romka''s GLF library, I am using it, it''s great. AND it''s simple to implement, but unfortunately you can''t load true type fonts (yet - the new version is said to includ a cenversion tool, what would be great). (http://romka.demonews.com)

If this still doesn''t help you, look at nehe''s textured font tutorial (http://nehe.gamedev.net)

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!