Skip to main content
gamedev.net
🔒 Locked

text

Started by dan parker Mar 5, 2003 at 5:08 PM 3 replies 250+ views
Original Post
dan parker
dan parker
Hi, can anyone tell me how to add text to a 3d environment in c++ OpenGL cheers Dan
falkone
falkone
Nehe has a tutorial on using text in opengl with some WGL functions (windows only tutorial, i believe).. http://nehe.gamedev.net/
Disclaimer: "I am in no way qualified to present advice n any topic concerning anything and can not be held responsible for any damages that my advice may incurr (due to neither my negligence nor yours)" o
Waverider
Waverider
I always like to say the best way to do it is load up a character set into a texture and render each character as a quad.

You would have to go through the trouble of generating the font texture, either manually or automatically, and assigning where each character starts and ends in the texture.

But, maybe there are better ways.
It's not what you're taught, it's what you learn.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.