glMatrixMode() , , (.. glTranslate(), glRotate() ..). GL_MODELVIEW, GL_PROJECTION, .
glFrustumf() . OpenGL , , , GPU.
" Z". " W", . , , 3D- OpenGL 4 (x, y, z) 4- (x, y, z, w). , , - 4 4 . , 3D-, , , 4x4.
w, , GLSL. OpenGL . , , . :
gl_position=proj*view*model*vec4(in_vertex,1);
-, , . , , . w , , glFrustum(), [-1,1] x [-1, 1] x [-1,1]. .