Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vscav/glimac
OpenGL 3+ practical course.
https://github.com/vscav/glimac
cmake glew glm opengl sdl
Last synced: about 1 month ago
JSON representation
OpenGL 3+ practical course.
- Host: GitHub
- URL: https://github.com/vscav/glimac
- Owner: vscav
- Created: 2020-10-06T15:28:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-23T10:30:42.000Z (about 4 years ago)
- Last Synced: 2024-11-09T15:47:24.623Z (3 months ago)
- Topics: cmake, glew, glm, opengl, sdl
- Language: C++
- Homepage:
- Size: 18.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GLImac
> OpenGL 3+ practical course.
## Linux installation
Update package database :
```
$ sudo apt update
```Install the updates identified previously :
```
$ sudo apt upgrade
```Install g++ (C++ compiler) :
```
$ sudo apt install g++
```Install CMake :
```
$ sudo apt install cmake
```Install GLEW :
```
$ sudo apt install libglew-dev
```Install SDL (1.2 version) :
```
$ sudo apt install libsdl1.2-dev
```Install mesa-utils :
```
$ sudo apt install mesa-utils
```This last package provides various simple GL utilities built for Mesa, such as glxinfo and glxgears.
For example, you can check your current version of OpenGL :```
$ glxinfo | grep 'version'
```## Usage
In the directory containing the GLImac folder, create the build folder and move into it :
```
$ mkdir GLImac-build && cd GLImac-build
```Build and compile GLImac :
```
$ cmake ../GLImac && make
```Run an executable by using this pattern :
```
$ ./GLImac-subdirectory-name/GLImac-subdirectory-name_executable-file-name
```## Resources
- [OpenGL3+](http://igm.univ-mlv.fr/~biri/OpenGL/opengl.php) - Description of the practicals