/gray

cpu raytracer

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Gray

a raytracer I made following "raytracing in one weekend" .. it creates an image and use opengl to create a texture with the image and display it in ImGui image window

preview

build

it builds on linux using GCC and CLANG .. it depends on glfw .. so make sure to install glfw from ur package manager

instructions for arch based distros

pacman -S glfw-x11 # for x11
pacman -S glfw-wayland # for wayland

git clone git@github.com:thegeeko/gray
cd gray
mkdir build && cd build
cmake ..
cmake --build

dependencies

  • glfw
  • imgui