I am trying to find the screen coords of a
point in 3D space so that I can put som text in the scene. The code I am using is
int coords[4] = {0,0,0,0};
glBegin(GL_POINTS);
glVertex3f(…);
glEnd();
glGetIntegerv(GL_CURRENT_RATER_POS, coords);
glGetError() returns 0
but coords[0], coords[1] and coords[2] are always equal to 0
can any one help me out
Thanks