An open API service indexing awesome lists of open source software.

https://github.com/mulx10/opengl

Repository containing OpenGL examples implementation(A naive attempt to learn OpenGL).
https://github.com/mulx10/opengl

glsl-shaders ogl opengl shaders

Last synced: 3 months ago
JSON representation

Repository containing OpenGL examples implementation(A naive attempt to learn OpenGL).

Awesome Lists containing this project

README

        

# OpenGL
Repository containing OpenGL examples implementation.

## Deps
- CMake >= 3
- g++ (MinGW in Windows)
- GLFW (present in `deps` extract the zip)
- GLEW (present in `deps` extract the zip)
- GLM (present in `deps` extract the zip)
- STB_IMAGE (present in `deps` extract the zip)
## Build

```bash
$ mkdir build
$ cd build
$ cmake ..
$ make
```

#### Individual build
```bash
$ make {executable} # eg. make triangle
```

## Run

```bash
$ cd src/{project}/ # $ cd src/01-triangle/
$ {executable} # $./triangle
```

**Supported executable**
- triangle
- texture
- multi-texture
- controls
- 3d-model