1,105,546 Community Members

Extracting a display list

Member Avatar
Labdabeta
Master Poster
770 posts since Feb 2011
Reputation Points: 161 [?]
Q&As Helped to Solve: 43 [?]
Skill Endorsements: 6 [?]
 
0
 

I need to know how to extract the data in a display list in opengl. I have a font and use it to create a display list to draw, but then I want to get the actual vertexes of it so I can use them for collision checking. How can I do this?

Member Avatar
Labdabeta
Master Poster
770 posts since Feb 2011
Reputation Points: 161 [?]
Q&As Helped to Solve: 43 [?]
Skill Endorsements: 6 [?]
 
0
 

By the way I use wglUseFontOutline to get the display lists made. All I need are the vertex coordinates of the generated display lists.

Member Avatar
Labdabeta
Master Poster
770 posts since Feb 2011
Reputation Points: 161 [?]
Q&As Helped to Solve: 43 [?]
Skill Endorsements: 6 [?]
 
0
 

Maybe I can create my own vertex coordinates from the ttf files? How are they formatted, and how would I calculate the coordinates? Please I need to be able to convert text to a set of three dimensional vertex coordinates using a true type font.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: