I render my model as gl.glMatrixMode(GL.GL_MODELVIEW) and I’ve also got text displayed. The problem I’m having with the text is that when I rotate my model, the text (which is as simple as what I’ve got below) is also rotating and I would like for it to stay in one location like a legend in one of the corners of the screen.
gl.glRasterPos3f(0.10f, 0.10f, 0.10f);
glut.glutBitmapString(gl, GLUT.BITMAP_HELVETICA_10,
"Element Id:" + infoElementId);
gl.glRasterPos2f(0.25f, 0.25f);
glut.glutBitmapString(gl, GLUT.BITMAP_HELVETICA_10, "Edge #1:");
Any help much appreciated in making my text stay still.