49

GitHub - ssloy/hellOGL: Yet another (but better) modern OpenGL hello world

 5 years ago
source link: https://github.com/ssloy/hellOGL
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

hellOGL: modern OpenGL hello world

Check the wiki for a detailed description of the source code.

The main idea of this repository is to show you how to create and initialize an OpenGL window; it is surprisingly difficult to have the very first code that compiles and works out of the box. There are numerous repositories doing that, however (in my humble opinion) they miss the sweet spot: either they are hard to follow or the rendrings are ugly.

So here comes hellOGL:

Let us thank Samuel (arshlevon) Sharit for this incredible model!

Use CMake to build the project:

git clone --recurse-submodules https://github.com/ssloy/hellOGL.git
cd hellOGL
mkdir build
cd build
cmake ..
make

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK