mhalber / OpenGL-Examples

A collection of simple single file OpenGL examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenGL Example Collection
-------------------------

The purpose of thise example collection is to provide short and self
contained code that showcases OpenGL api functionality/features.
The examples have no dependencies on any custom framework or basecode
except for "canonical" libraries such as glfw, gl3w and glm. All the
examples are written against core profiles of version OpenGL version 3.3
or higher.

Most of the examples try to show the targeted features in a relevant
use case such as using Frame Buffer Objects for FXAA, Transform Feedback
to update particles on the GPU or Occlusion Queries + Conditional Render
to optimize rendering a Cube (Minecraftlike) Cave. At the same time
the goal is to keep the examples short and simple enough to not lose
the focus.

Examples that require OpenGL 4.3 also need a corresponding gl3w version
that uses the new glcorearb.h header instead of the old GL3.h one. 
Use shakesodas fork (https://github.com/shakesoda/gl3w/tree/glcorearb)
and call cmake with "-DBUILD_OGL43=ON".

About

A collection of simple single file OpenGL examples

License:zlib License