OpenGL Text Rendering Class

I’ve uploaded the font class, it can be found in the “projects” section. Here is a screenshot of an app using the font class:

Screenshot OpenGL Text Rendering

As you can see it can display both wireframe and solid fonts. The solid fonts have correct normals and can therefore be lit properly. The class is windows-only as of now due to the fact that it uses wgl* functions, but it could be ported to linux/macOS I beleive, send me a mail if you want to help.See the header file of the class Header file for OpenGL Font Engine here, as you can see the class is very simple, but that’s a choice from my side since I don’t need more advanced fonts yet, when I do I’ll rewrite the class. Most of the font functions are based on code written by NeHe at nehe.gamedev.net, I’ve just made it into a easy-to-use class.

I’ve also uploaded a new version of 3DRender. The “Edit Vertices” and the “Draw Cube” dialogs have been completely reprogrammed and are now much more usefull than before. I’ve also added three brand new dialogs: scale, translate and rotate dialogs. The rotate dialog is not working yet though. Here’s a screenshot of the build with the new “scale” dialog:

3D Render Screenshot

The render can be downloaded here The source can be found here. Have fun playing with the app, and if you make some cool objects, send me a screenshot :). If you just want to see some of the basic design in the engine without downloading a zip file you can take a look at the primary header file right here.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>