Skip to content

A scientific paper showcasing how OpenGL can be utilized for GPU Rendering, using C++ and GLFW.

Notifications You must be signed in to change notification settings

Luktronic/OpenGL-Scientific-Paper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGL C++

File Count Repo Size Thesis Build

OpenGL Scientific Paper

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.

Prerequisites

Paper

  • Docker

Project

  • Git
  • Python (required for build)

Coming soon

How to build

Firstly, clone this GitHub repository recursively:

> git clone --recursive https://github.com/Luktronic/OpenGL-Scientific-Paper.git

Build Paper

See here.


Build Project

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.


Windows

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.

MacOS

Not tested yet - coming soon!

Linux

Not tested yet - coming soon!

Disclaimer

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!

About

A scientific paper showcasing how OpenGL can be utilized for GPU Rendering, using C++ and GLFW.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published