Skip to content

davorjoleski/OpenGLPrj

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGLPrj

Project for Basics of Computer Graphics course at FCSE. It is a striped down version of Polythonic/Glitter project that includes:

  • GLAD as OpenGL Function Loader
  • GLFW for Windowing and Input
  • GLM for OpenGL Mathematics
  • stb for images and texture loading

Setup

Recursively clone the repository:

git clone --recursive https://github.com/joksim/OpenGLPrj.git

If you are using an IDE that supports CMake builds (QtCreator, Jetbrains CLion, Visual Studio), open the cloned directory as project (the directory OpenGLPrj with the CMakeLists.txt file).

We recomend using out of source builds.

Project files can be generated using the following steps:

Using CMake from cmd/git bash/powershell:

  • Create a folder for the project build (e.g. build). It can be in the same level/directory as the OpenGLPrj. The hierarchy should be as depicted

    |
    |-- build/
    |-- OpenGLPrj/
    
  • Using CMake generate the specified project files into the build directory:

    cd build
    cmake ../OpenGLPrj/
    

Open the project files in the spedified IDE (Visual Studio, QtCreator, ...)

Using cmake-gui:

Open the cmake-gui app. For the source folder select the OpenGLPrj directory. For build directory choose an empty directory (for example, directory named build at the same level as OpenGLPrj. With both folders choosen, click Configure and if successfull procede to Generate the build files. A tutorial is given at: https://cgold.readthedocs.io/en/latest/tutorials/cmake-stages.html#.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 50.2%
  • C++ 49.8%