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.
Find a file
Teo-CD 6209e91c28 Fixed Camera.SetPos modifying the gaze
Changed default camera position to a sane default
2019-11-03 18:03:30 +01:00
example Fixed Camera.SetPos modifying the gaze 2019-11-03 18:03:30 +01:00
src Fixed Camera.SetPos modifying the gaze 2019-11-03 18:03:30 +01:00
.gitignore Cleaned some includes 2019-10-29 18:20:36 +01:00
CMakeLists.txt Refactored project structure 2019-11-02 16:25:02 +01:00
README.md Project now buildable without Visual Studio on windows 2019-11-01 18:22:43 +01:00

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 OpenGLMathematics Ended 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