https://github.com/eliseydudin/opengl-practice
Some random stuff I do to learn OpenGL
https://github.com/eliseydudin/opengl-practice
Last synced: 5 months 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 (8 months ago)
- Default Branch: main
- Last Pushed: 2024-12-28T09:00:58.000Z (6 months ago)
- Last Synced: 2024-12-28T10:17:26.237Z (6 months ago)
- Language: C
- Size: 10.5 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- 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`.