Skip to content

wivl/nell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nell

Nell is a toy-level, Ray-Tracing-in-One-Weekend-style raytracer based on OpenGL. The whole project is made for learning purpose.

Features

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

TODO

  • Consider system design and remake
  • Acceleration structure
  • Path tracing

Gallery

bunny

cbox

chess

cornellbox

material dielectric

material lambertian

material metal

Build

The code base is written on an x86-64 Windows 11 machine for MSVC compiler.

Dependencies

  • vcpkg
  • glad
  • glfw
  • glm
  • Assimp
  • imGui
  • stb
  1. Install vcpkg:
scoop bucket add main
scoop install main/vcpkg
  1. Install dependencies:
vcpkg install glad glfw3 glm assimp imgui stb
  1. Locate your toolchain: C:\path\to\vcpkg\scripts\buildsystems\vcpkg.cmake

  2. **Edit it in the CMakeList.txt file:(more info)

include(C:/path/to/vcpkg/scripts/buildsystems/vcpkg.cmake)
mkdir build
cd build
cmake ..

About

OpenGL powered raytracer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published