0

I need to convert a true type font into a list of three dimensional vertices using openGL. I looked at the NeHe tutorial, but it only creates a display list from the font and as far as I can tell it is not possible for me to extract the vertices from a display list. So how can I get the vertices? Do I have to do some weird math with the data in the font file?

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by Labdabeta
0

Well, how does the tutorial read the vertices? While creating the display list, it would be making vertex calls right? Maybe you can open up the code that does that and check how it is done?

0

No, the display lists are created using a call to wglUseFontOutlines so I have no access to the code that creates the display list.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.