# OpenGL-Grid
**Repository Path**: inmath/OpenGL-Grid
## Basic Information
- **Project Name**: OpenGL-Grid
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-11-16
- **Last Updated**: 2025-11-16
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# OpenGL-Grid
OpenGL-Grid is a repository that aims to act as a beginners guide to creating a *grid* in *OpenGL* using shaders.
There will be a complete explanation for each part of the code and I will try to make it as easy as possible to follow along.
##### Table of Contents
* [Dependencies](#dependencies)
* [Linux](#linux)
* [Windows](#windows)
* [Installation](#installation)
* [Tutorial](#tutorial)
* [Initial Setup](#initial-setup)
* [License](#license)
## Dependencies
* [CMake](https://cmake.org/) - Meta-build system.
* [GLFW3](https://www.glfw.org/) - Windowing library.
* [GLM](https://glm.g-truc.net/) - OpenGL math library.
### Linux
On linux simply use your package manager of choice and install the libraries:
```bash
sudo apt install glfw3 glm
```
### Windows
On windows I highly recommend using the [Vcpkg](https://github.com/microsoft/vcpkg) to easily install
the dependencies:
``` bash
vcpkg install glfw3 glm
```
and use their toolchain to easily configure cmake:
``` bash
cmake . -DCMAKE_TOOLCHAIN_FILE=D:\src\vcpkg\scripts\buildsystems\vcpkg.cmake
```
You can read more [here](https://github.com/microsoft/vcpkg/blob/master/docs/examples/installing-and-using-packages.md).
## Installation
1. Clone this repository:
```bash
git clone https://github.com/ceranco/OpenGL-Grid.git
cd OpenGL-Grid
```
2. Generate project using CMake:
```bash
cmake .
```
3. Build using your build system.
## Tutorial
This section will try to explain with relative simplicity how the program works.
Basic knowledge of OpenGL such as what are VAOs, VBOs and Shaders is expected.
If you don't possess this knowledge, I recommend the excellent tutorial over at [learnopengl](https://learnopengl.com/).
## License
[MIT](https://choosealicense.com/licenses/mit/)