Nell is a toy-level, Ray-Tracing-in-One-Weekend-style raytracer based on OpenGL. The whole project is made for learning purpose.
Nell has implemented a Ray-Tracing-in-One-Weekend-style raytracer in OpenGL, which has features:
- Lambertian, metal, dielectric and emit material
- Spheres and triangles intersection
- Mesh assets import
- Skybox
- Progressive rendering
- Consider system design and remake
- Acceleration structure
- Path tracing
The code base is written on an x86-64 Windows 11 machine for MSVC compiler.
- vcpkg
- glad
- glfw
- glm
- Assimp
- imGui
- stb
- Install vcpkg:
scoop bucket add main
scoop install main/vcpkg
- Install dependencies:
vcpkg install glad glfw3 glm assimp imgui stb
-
Locate your toolchain:
C:\path\to\vcpkg\scripts\buildsystems\vcpkg.cmake
-
**Edit it in the CMakeList.txt file:(more info)
include(C:/path/to/vcpkg/scripts/buildsystems/vcpkg.cmake)
mkdir build
cd build
cmake ..