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.
Teo-CD
205ef0e7aa
Cursor is now trapped inside the window and will jump from one side to another when nearing the border. The cursor is now hidden to reinforce the illusion. Warping the cursor to the center did not work well at all on my Windows machine (Might be because it is much more powerful than my laptop) so I had to find another way. |
||
---|---|---|
resources | ||
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