GL_MODELVIEW와 GL_PROJECTION만 예제로 많이 보았는데
GL_COLOR와 GL_TEXTURE도 가능한 옵션(?)이다.
void glMatrixMode(GLenum mode);
GL_MODELVIEW
Applies subsequent matrix operations to the modelview matrix stack.
GL_PROJECTION
Applies subsequent matrix operations to the projection matrix stack.
GL_TEXTURE
Applies subsequent matrix operations to the texture matrix stack.
GL_COLOR
Applies subsequent matrix operations to the color matrix stack.
[링크 : https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glMatrixMode.xml]
'Programming > openGL' 카테고리의 다른 글
glReadPixels() 와 glUseProgram() (0) | 2022.11.17 |
---|---|
openCV + openGL (0) | 2022.02.08 |
opengl superbible 3rd 리눅스 빌드 패키지 (0) | 2020.04.08 |
opengl super bible 3rd - 4,5 chapter (0) | 2020.04.06 |
openGL 책 보면서 정리중 - 챕터3 (0) | 2020.04.05 |