View Full Version : Text in openGL

05-04-2010, 06:34 AM
First and formost would like hello im new to here.

I am doing a my coding in C#.

I can writed text using
Glut.glutBitmapCharacter(Glut.GLUT_BITMAP_HELVETIC A_18, str[i]);

way of doing it. But I need it to be able to rotate the text,

Gl.glRotatef(angle, 0, 1, 0);
Gl.glTranslatef(-600, 0, -400);
Glut.glutStrokeString(Glut.GLUT_STROKE_ROMAN, Dstg);

Is how i can do it at the moment, but it is too big for the image I have behind it.

Could I have help on either a better way of creating text I can rotate by a set degree or how to resize to code above.

Any help would be grateful, have been googling for a while but most of the stuff seems to be in C++ and im not too good at translating between the two.