Skip to content

nemediano/OpenGLTemplates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ templates for learning OpenGL

A common obstacle to start learning modern OpenGL is that requires several external libraries to start producing programs. I mean modern OpenGL, in the sense of programable pipeline (version 3.3 and above).

At the very least requires:

  1. An OpenGL extension loader library.
  2. A window manager library that support OpenGL context.
  3. A graphics mathematics library. And for an intermadiate level progammer also requires:
  4. A mesh loader library.
  5. An image reader/writer library.
  6. A way to create user simple IU (Could be one of the previous libraries)

A novice graphic programmer, may struggle in the use of the libraries instead of focusing in the actual OpenGL. I created several templates to help such users to have a minimal working OpenGL example. Moreover, in contrast to most of the examples in the internet and the books, I use C++ instead of C.

The current templates are:

  • A minimal OpenGL template using: C++, GLEW, GLM and freeglut.
  • A minimal OpenGL template using: C++, GLEW, GLM and glfw.
  • An OpenGL template with an user menu (using Dear imgui) using: C++, GLEW, GLM and glfw.
  • An OpenGL sample of a trackball camera implementation using GLFW.
  • An OpenGL template with an user menu (using Dear imgui) using: C++, GLEW, GLM and freeglut.
  • An intermediate OpenGL template with all the previous features, plus a lot of extra helper clases for OpenGL.

About

C++ templates for learning OpenGL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages