Texture Mapped Fonts from Beginning OpenGL Book
I'm using the code from Chapter 11 of the Beginning OpenGL Game Programming book in line with a previous example from the same book that's using vertex buffer objects...I'm having a hard time getting the fonts to display on the same screen as my regular geometry...and I'm pretty sure it has something to do with the setting up of the VBO's and GLIdentities and Matrices in the TextureMappedFont.cpp module conflicting with my regular VBO rendering process.
Is anyone here familiar with that book that would like to take a look at my code for me? I've got two problems...
I can either make the call to m_font->printString before or after my existing glDrawElements in render and see the text but not my elements. Or I can comment out the call to m_font->printString and see the elements...
Either way...if the block in init that gets the GL_VIEWPORT and initializes the TextureMappedFont object is called, I can not debug the application...debugger says "Could not initialize the application" but the exe runs just fine outside of debugging.