3d text

Hi ,

Would somebody please show me how to position my 3D text where I want it on the screen. I need to use it to label coordinates of my landscape terrain, so the position of the text will change whenever there is a change in height and when the scene is rotated…

Help would really be appreciated!!!


Good Luck!

You will not be able to do this with bitmap or pixmap fonts as they are positioned in screen space and cannot be rotated. You will my to use some polygon based font or textured quads. have a look at… http://homepages.paradise.net.nz/henryj/code/index.html#FTGL
This lib lets you transform fonts like any other openGL ( glRotate, glTranslate etc)