Unofficial implementation of multiple rendering techniques using The Forge rendering engine. Based on the repository the-forge-glfw by Tim Barnes for ease of use.
Follow step by step tutorials for these samples on learn-computer-graphics.
🏗️ Show Build steps
-
Prerequisites
-
Build and Run
You need to install CMake to build the project, and a C++ compiler which handles C++14.
sudo apt-get install build-essential libreadline-dev glslang-tools
To get the MSVC compiler, you need to install Visual Studio (and not VSCode), and select C++ development during installation.
You can handle the CMakeLists.txt in any way you like, here's some way to use it :
If you are on windows you can run the GEN_CMAKE.bat file. Else you can also open a command line and run the following commands :
mkdir build
cd build
cmake .. -A x64 -DD3D12=OFF -DVULKAN=ON
makeTo run the project, go to the build folder and run the executable fo your wanted sample
Open this folder with the CMake... option in file->open on Visual Studio. Press f7 to build and f5 to run the project.
Use the CMakeTools plugin, build with f7 then run with f5 (but be careful to be on the right platform, there is a launch file for windows and for linux).
Warning : Currently there is a link error when building on windows with vscode
This sample show the most basic example with a triangle rendered on screen
This tutorial show how to render a rotating 3D object

