Move text in OpenGL window?

Hi,

I can’t move the text in openGL window.
I have tryed glTranslate and glRasterPos2d. I doesn’t work.

The text drawed by:
Gl.glListBase(1000);
Gl.glCallLists(text.Length, Gl.GL_UNSIGNED_BYTE, text);

So how can I move, resize, rotate the text?

Thank’s
Alexei

I’m a beginner too, so this may not be much help… I’ve only done text using GLUT and was able to move it around. Using the CallList approach, I wonder if it might be a projection issue. Are you setting this up using Ortho2D or similar?

Hi,

You don’t understand what I mean. I have some picture drawed in OpenGL window. Now I want to put the text in it.

I am using the C# language with Tao project. There I can use only the call lists.

Thank’s
Alexei

Hi,

I solved my problem by adding pushmatrix and popmatrix.

Thank’s
Alexei