We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,440 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Extracting a display list

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?

1
Contributor
2
Replies
1 Day
Discussion Span
1 Year Ago
Last Updated
3
Views
Labdabeta
Practically a Master Poster
620 posts since Feb 2011
Reputation Points: 27
Solved Threads: 31
Skill Endorsements: 1

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

Labdabeta
Practically a Master Poster
620 posts since Feb 2011
Reputation Points: 27
Solved Threads: 31
Skill Endorsements: 1

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.

Labdabeta
Practically a Master Poster
620 posts since Feb 2011
Reputation Points: 27
Solved Threads: 31
Skill Endorsements: 1

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.0640 seconds using 2.73MB