Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A collection of simple single file OpenGL examples

branch: master
Octocat-spinner-32 cmake_modules cmake_modules added August 01, 2012
Octocat-spinner-32 00skeleton.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 01shader_vbo1.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 01shader_vbo2.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 02indexed_vbo.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 03texture.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 04perspective.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 05fbo_fxaa.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 06instancing1.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 06instancing2_buffer_texture.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 06instancing3_uniform_buffer.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 07geometry_shader_blending.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 08map_buffer.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 09transform_feedback.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 10queries_conditional_render.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 11tesselation.cpp changed from GLEW to gl3w so examples can use a core profile October 04, 2012
Octocat-spinner-32 12shader_image_load_store.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 13compute_shader_nbody.cpp Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 CMakeLists.txt Removed experimental director, added compute shader example and fixed… December 13, 2012
Octocat-spinner-32 COPYING changed license to zlib October 22, 2012
Octocat-spinner-32 README updated README with hits how to build OpenGL 4.3 examples December 13, 2012
README
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".
Something went wrong with that request. Please try again.