https://github.com/ssloy/hellogl
Yet another (but better) modern OpenGL hello world
https://github.com/ssloy/hellogl
Last synced: about 1 month ago
JSON representation
Yet another (but better) modern OpenGL hello world
- Host: GitHub
- URL: https://github.com/ssloy/hellogl
- Owner: ssloy
- License: wtfpl
- Created: 2019-03-10T08:59:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-10T15:45:01.000Z (about 6 years ago)
- Last Synced: 2025-04-05T13:23:15.979Z (2 months ago)
- Language: C
- Homepage:
- Size: 1.4 MB
- Stars: 83
- Watchers: 8
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# hellOGL: modern OpenGL hello world
**Check [the wiki](https://github.com/ssloy/hellOGL/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:
```sh
git clone --recurse-submodules https://github.com/ssloy/hellOGL.git
cd hellOGL
mkdir build
cd build
cmake ..
make
```