A tiny, cross-platform rendering engine using OpenGL, born from code practice.
- Supports multiple models with different file types: OBJ, PLY.
- Supports different shaders and camera types.
- GUI with imgui, supporting keyboard and mouse control.
- A C++17 capable compiler.
- CMake v3.21 or higher.
This repository contains submodules, so please clone it with:
# SSH
git clone [email protected]:UNIkeEN/toy-renderer.git --recursive
cd toy-renderer
# HTTPS
git clone https://github.com/UNIkeEN/toy-renderer.git --recursive
cd toy-renderer
If you are using Windows with the latest version of Visual Studio, simply run build.bat
.
For other platform, use CMake to build the project:
# Change directory to toy-renderer
mkdir build && cd build
cmake .. && make -j