https://www.opengl-tutorial.org/beginners-tutorials/tutorial-4-a-colored-cube/
Tutorial 4 : A Colored Cube
Welcome for the 4rth tutorial ! You will do the following : Draw a cube instead of the boring triangle Add some fancy colors Learn what the Z-Buffer is Draw a cube A cube has six square faces. Since OpenGL only knows about triangles, we’ll have to draw 1
www.opengl-tutorial.org
* 실행 결과
'공부 > OpenGL' 카테고리의 다른 글
[OpenGL Tutorial]5. 텍스쳐가 입혀진 큐브 (0) | 2024.11.11 |
---|---|
[OpenGL Tutorial]3. 첫 번째 삼각형 (행렬) (2) | 2024.11.07 |
[OpenGL Tutorial]2. 첫 번째 삼각형 (2) | 2024.11.05 |
[OpenGL Tutorial]1. 윈도우 열기 (2) | 2024.11.04 |
OpenGL로 배우는 3차원 컴퓨터 그래픽스 - 목차 / 단원별 요약 (1) | 2024.11.02 |