Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simplyceo/glproject
Just a template for future projects.
https://github.com/simplyceo/glproject
Last synced: about 8 hours ago
JSON representation
Just a template for future projects.
- Host: GitHub
- URL: https://github.com/simplyceo/glproject
- Owner: SimplyCEO
- License: gpl-2.0
- Created: 2023-06-27T16:32:42.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-09T18:38:00.000Z (over 1 year ago)
- Last Synced: 2024-05-03T06:53:57.182Z (6 months ago)
- Language: C
- Size: 99.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- License: LICENSE
Awesome Lists containing this project
README
glProject
=========Just a template for future projects.
Dependencies
------------- git
- OpenGL 1.x/2.x (Mesa)
- GLEW
- GLUT
- clang
- makeInstallation
------------- Prepare the dependencies:
Arch Linux:
pacman -Sy --noconfirm --needed git clang mesa lib32-mesa glu lib32-glu glew lib32-glew freeglut lib32-freeglutMsys2 (Windows):
pacman -Sy --noconfirm --needed git $MINGW_PACKAGE_PREFIX-mesa $MINGW_PACKAGE_PREFIX-glew $MINGW_PACKAGE_PREFIX-freeglut
Note: Clang32 is not available in Msys2. You might want to
install clang with $MINGW_PACKAGE_PREFIX-clang and
use it under MINGW32 prefix.- Clone the repository:
git clone https://gitlab.com/KanuX/glProject.git
cd glProject/- Compile and open:
make -j$(nproc)
bin/glprojectUsage
-----Going around is easy by using:
W,A,S,D for the movement.
Space bar for the action.
ESC to close.For developers
--------------Useful flags:
MESA_GL_VERSION_OVERRIDE - Sets a OpenGL version, eg: 2.1.Sources
-------This project would not be possible without tutorials and documentation.
Tutorial - https://www.swiftless.com/opengltuts.html
Documentation - https://docs.gl/gl2/glClear