|
[PyOpenGL-Users] carriage return in text
From: altern <altern2@gm...> - 2005-06-27 21:31
|
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 |
| Thread | Author | Date |
|---|---|---|
| [PyOpenGL-Users] carriage return in text | altern <altern2@gm...> |