Archived

This topic is now archived and is closed to further replies.

bakery2k1

Problems with Lesson 13

Recommended Posts

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

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
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

Share this post


Link to post
Share on other sites