Welcome to my C++ OpenGL renderer! This repository contains the source code for a basic 3D renderer that I've worked on for the past couple of weeks while learning OpenGL.
This render is built using, or well, trying to at least, use modern C++ and modern OpenGL.
This is still a work in progress and is still somewhat buggy. On Linux you may miss some OpenGL library files that need to be linker, a small setup script was provided here to get those. The project requires also the following tools to build and run:
- C++ compiler (A C++ 20 capable compiler, G++12 was used in the author machines)
- CMake (Cross platform build system)
This project is done thanks to various open source libraries listed below:
- GLEW (Open GL extension Wrangler)
- GLFW (Multiplatform Library for Window, Event handling, etc.)
- GLM (Open GL Mathematics Library for C++)
- ImGui (Graphical User interface Library for C++)
- Spdlog (Fast C++ Logging Library)
Some steps on how to build and run on linux. Same commands should work on Windows PowerShell and .
# Clone repository
git clone --recursive https://github.com/kateBea/Renderer.git
cd Renderer
# Build application
mkdir build && cd build
cmake .. && cmake --build .
# Run application
./modelLoading