项目作者: Entalpi

项目描述 :
Rendering some cubes with OpenGL
高级语言: C
项目地址: git://github.com/Entalpi/opengl-samples.git
创建时间: 2016-05-17T09:52:46Z
项目社区:https://github.com/Entalpi/opengl-samples

开源协议:

下载


OpenGL samples

Samples from various topics covering OpenGL and SDL2.

Sample #9 - finishing touches

  • Full movement in 3D space.

Sample #8

  • Full movement in 3D space.
  • Camera view matrix.

Sample #7

  • Basic camera rotation.
  • View matrix.

Sample #6

  • Perspective matrix.

Sample #5

  • Model matrix.

Sample #4

  • Textured cube.

Sample #3

  • Cube rotation.

Sample #2

  • Quad rotation.

Sample #1

  • 2D rotation

Sample #0

  • Drawing of a simple triangle.
  • Vertex buffer object setup.
  • SDL2 and OpenGL context setup.

TODO

  • Lighting
  • Reflections