VRaytracer is still under development.
- GUI with ImGui
- Multi-threaded rendering
- Configurable scenes
- PBR Shading & Materials (TODO)
- Wavefont OBJ support (TODO)
To build VRaytracer, you must first install the following tools.
- Visual Studio 2019 (or more recent) with C++ Desktop Development Environment
- CMake 3.20 (or more recent)
- Git 2.1 (or more recent)
Install prerequisite packages:
sudo apt-get update
sudo apt-get install build-essential cmake git libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev mesa-common-dev libomp-dev
- XCode 13 (or more recent)
- CMake 3.20 (or more recent)
- Git 2.1 (or more recent)
Clone this repository:
git clone --recursive https://github.com/zzxzzk115/VRaytracer.git
Build it automatically:
Just double-click BuildWindows.bat
or you can simply use Jetbrains CLion to debug or release.
Build it manually:
cmake -S . -B build
Then open the generated solution file with Visual Studio.
Build it automatically:
./BuildLinux.sh
Build it automatically:
./BuildMacOS.sh
Build it manually:
cmake -S . -B build -G "Xcode"
Then open the generated project file with XCode.
If you didn't find OpenMP, you may need to install libomp with Homebrew:
brew install libomp
We would like to thank the following projects for their invaluable contribution to our work:
- spdlog (Logger)
- imgui (GUI)
- glad (OpenGL Loader & Extension)
- glfw (Window Abstraction)
- stb (Image Loader)
- args (CLI Arguments Handler)
This project is licensed under the MIT license.