Ok. I have a 3d scene that im drawing, and the player can walk around in via a camera. The Camera works fine in displaying the world and such, but now i need to display some sort of score on the screen at all times. I know the raster graphics are slow, so i want to use a textured poly. But im having problems getting the poly to follow the camera(be drawn in refrence to the camera) Its drawn at the initial position and then stays there regardless of movement. Any ideas? Heres the code im using.
float rotMatrix[ 16 ];
glTranslatef(SceneCamera->camX, SceneCamera->camY, SceneCamera->camZ);
gluOrtho2D(SceneCamera->camZ - 1, 640, 480, SceneCamera->camZ + 1);
glVertex3i (150, 0, -1);
glVertex3i (640, 0, -1);
glVertex3i (640, 480, -1);
glVertex3i (150, 480, -1);