Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


wglUseFontOutlines Trouble!!


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 Sim   Members   -  Reputation: 122

Like
Likes
Like

Posted 08 November 2001 - 06:43 AM

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!

Sponsor:

#2 Sim   Members   -  Reputation: 122

Like
Likes
Like

Posted 08 November 2001 - 06:09 PM

Really nobody who is using Outlinefont?
Or are you using another method to create them?
Please tell me!
Thanks!!

#3 Null and Void   Moderators   -  Reputation: 1087

Like
Likes
Like

Posted 08 November 2001 - 08:01 PM

quote:
Original post by Sim
Really nobody who is using Outlinefont?
Or are you using another method to create them?


Most people use textured fonts (you have an entire font on a texture, and you render quads with parts of the texture mapped on to them).

[Resist Windows XP''s Invasive Production Activation Technology!]

#4 gahre   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 November 2001 - 12:08 AM

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

#5 gahre   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 November 2001 - 12:12 AM

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)




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS