Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eliseydudin/opengl-practice
Some random stuff I do to learn OpenGL
https://github.com/eliseydudin/opengl-practice
Last synced: 28 days ago
JSON representation
Some random stuff I do to learn OpenGL
- Host: GitHub
- URL: https://github.com/eliseydudin/opengl-practice
- Owner: eliseydudin
- Created: 2024-10-26T20:20:46.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-27T11:40:07.000Z (2 months ago)
- Last Synced: 2024-10-28T08:37:12.221Z (about 2 months ago)
- Language: C
- Size: 9.41 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenGL Practice
When I started learning OpenGL I found a surprising lack of modern examples. This repository contains random stuff I did in it.# Dependencies
The following packages are required:
```
SDL2
assimp
OpenGL (which is probably preinstalled)
meson
```
You also need the stb image header, which you can find [here](https://github.com/nothings/stb). Put the `stb_image.h` file in the root of the project and rename it to `stbi.h`.# Compiling
To have multiple examples this project uses `meson_options.txt`, find the example you need and change the option's value to `true`.
Then just run `meson setup builddir` and `meson compile -C builddir`.
After that you can run the executable like this: `./builddir/example/example`.