This project is part of a course on OpenGL and rendering.
I had to re-do a lot of the base code we were handed because it contained windows specific API calls and could not be run on Linux.
example | ||
src | ||
.gitignore | ||
CMakeLists.txt | ||
README.md |
OpenGL course
The goal of the course is to introduce us to the OpenGL render pipeline and how to use the library.
The code here was, in part, inspired by the code which was given as part of the course but could not run elsewhere than Windows. It is aimed to replace it and serve as a base for my own project as part of the course.
As this project evolves I am thinking more and more about making it a "complete" minimalist game-engine if I have the time.
TODOs
- Camera movement
- Entities
- Quaternion computations?
Maybe use OpenGLMathematicsEnded up doing it from scratch.
Possible expansions
- Loading other file types
- Asset manager
- Detect key press' edges ?
- Switch from GLUT to GLFW
Building
The windows build supports only supports the vcpkg
package manager. You can either import the project directly in Visual Studio or use another IDE.
In order to use another IDE with vcpkg, make sure of the following:
VCPKG_ROOT
is an environment variable and correctly points at the root of your vcpkg install.
Dependencies
The following libraries must be installed and findable by CMake:
- OpenGL
- Freeglut 3