🐧 randomOpenGLstuff
Welcome to randomOpenGLstuff! 🎨✨ My playground for learning, experimenting, and having fun with OpenGL, GLFW, and all things graphics. 🚀
- Modern OpenGL (3.3+) with GLFW and glad
- Batch rendering, shaders, and more
- CMake-based build system for easy setup
Note: I haven’t tested this on Windows—macOS and linux only for now.
I’m assuming that you already have CMake, GCC/Clang, and the usual build tools installed
sudo dnf install glfw-devel
sudo apt update
sudo apt install build-essential cmake \
libgl1-mesa-dev libglu1-mesa-dev \
libx11-dev libxrandr-dev libxi-dev libxcursor-dev libxinerama-dev \
libgtk-3-dev glfw3 glfw3-dev
- macOS — Apple-Clang on VS Code
- Fedora 41 — GCC 15.1.1 (Red Hat) on VS Code v1.100
- Ubuntu 25.04 — GCC 14.2.0 on VS Code v1.100
-
Clone the repo
git clone https://github.com/danielqvu/randomOpenGLstuff.git cd randomOpenGLstuff/fastLearningOpengl
-
Build with CMake
mkdir build && cd build cmake .. make
-
Run the app
./app
fastLearningOpengl/
├── src/ # C++ source code
├── res/ # Shaders, textures, and other resources
├── dependencies/ # GLFW, glad, etc.
├── CMakeLists.txt
└── README.md
This project is MIT-licensed. See the GLFW and glad sites for their licenses as well.