Original Post
I just want to change de raster position using following codes glGetFloatv(GL_CURRENT_RASTER_POSITION, raster_pos1);// the raster pos1 glRasterPos2i(200, 200);//change the raster pos glGetFloatv(GL_CURRENT_RASTER_POSITION, raster_pos1);// get the new raster pos2 the result is like that: pos1:0.0, 0.0, 0.0, 1.0; pos2:0.0, 0.0, 0.0, 1.732 how strange! the following is my perspective and lookat.I guess there may be some relation between them. glViewport(0,0,(GLsizei)w, (GLsizei)h); glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluPerspective(60, (GLsizei)w/(GLsizei)h ,0.01, 200.0); glMatrixMode(GL_MODELVIEW); gluLookAt(0.0, 0.0, 1.732, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); It will be very nice of you to give me some using information about raster postion and some thing about my code. thanks