Finding an hWnd in Glut? (or how can I draw fonts?)
Hey,
I'm working on a project where I want to be able to draw a number of different styles of fonts on the screen at once, either as extruded text or as a bitmap. I know that GLUT allows you to draw two different fonts without using display lists, but I need more.
I've looked at NeHe's code to draw fonts using CreateFont and wglUseFontOutlines, but the problem is that I haven't been able to get access to the hWnd through GLUT.
First - is there an easier way to do this that doesn't require me to ditch glut? (This is for a project that is due soon. Next project I'm ditching it.) Second - if this is the best way, how do I get hWnd for the window in GLUT?
Thanks for your help!!
-Scott-
Edited by - Edge on May 1, 2001 2:35:30 PM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement