This repository contains a scientific paper about rendering with OpenGL, C++ and GLFW. The source code of the project is also included in the repository.
The paper was written in Asciidoc, using this template.
- Docker
- Git
- Python (required for build)
Coming soon
Firstly, clone this GitHub repository recursively:
> git clone --recursive https://github.com/Luktronic/OpenGL-Scientific-Paper.git
See here.
Make sure you have cloned all the submodules. If you have not cloned this repository recursively, you can use git submodule update --init
to clone the submodules afterwards.
Open the terminal (Powershell or CMD) in the /project/setup
directory. After that, run the setup.bat
file
> .\setup.bat
You have to run the script from the /project/setup
subdirectory, otherwise it will not work!
The script should install the necessary Python modules, as well as Premake. It should also execute Premake and generate a Visual Studio 2022 project.
You can then simply run or build the project in Visual Studio by opening the OpenGLPaper.sln
file.
If you don't want to use Visual Studio, you can also build the project with MsBuild
. Just type the following command into Powershell/CMD:
> msbuild .\OpenGLPaper.sln
If you don't have MsBuild
in your PATH
, you will not be able to execute the msbuild
command. If that is the case, add the following directory to your PATH
:
[Your Visual Studio Installation]\Msbuild\Current\Bin
Now you should be able to run msbuild
in the terminal.
After all of that, you will find an OpenGLPaper.exe
executable in the /project/bin
directory.
Not tested yet - coming soon!
Not tested yet - coming soon!
Many parts of this project - especially the Premake build pipeline - are heavily inspired by TheCherno's Hazel Engine project on YouTube. I have taken some build scripts and modified them for my own use, so credits go to him and his amazing work!
I am also using this Asciidoc thesis template, so shoutouts to the creator Alwinator!