Problems with Lesson 13
I just incorporated the Lesson 13 bitmap fonts code into my project, and it did not do as expected, it printed the wrong things.
So, I ran the original Lesson13.exe and instead of saying "Interactive OpenGL Text with NeHe - (number)", it said:
"! CTI VE/PEN , 4EXT7ITH E E"
Any Ideas what could be wrong?
Thanks
October 16, 2001 04:58 PM
OK, Sorted. Each character was being moved 3d ASCII codes backwards. I changed the line:
glListBase(base-32);
to
glListBase(base);
and it works.
Thanks
glListBase(base-32);
to
glListBase(base);
and it works.
Thanks
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement