[PyOpenGL-Users] carriage return in text
Brought to you by:
mcfletch
From: altern <al...@gm...> - 2005-06-27 21:31:34
|
hi i was wondering how could i render a etst with few lines. this is the way i render the text. The usual def text(s,x,y,z): glRasterPos3f(x,y,z) for char in s: glutBitmapCharacter(GLUT_BITMAP_8_BY_13, ord(char)) I tried to pass \n\ in the string to mark the carriage return but i guess this doesnt work with opengl. any tips? thanks! -- altern |