Skip to content
A project on Computer Graphics
C C++ CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
res
tests
.gitignore
CMakeLists.txt
README.md
aabb.hpp
commonenum.hpp
geometry.hpp
hittable.hpp
imageio.hpp
math_tools.hpp
obbox.hpp
rayTracing.cpp
rayTracing.hpp
rng.hpp
sampling.hpp
specular.hpp
sphere.hpp
stb_image.h
texture.hpp
vector.hpp

README.md

PathTracing

A Project on Computer Graphics

How to Run

mkdir build
cd build
cmake ..
./rayTracing n_samples

Debug Build

mkdir debug
cd debug
cmake -DCMAKE_BUILD_TYPE=Debug ..

TODO List

  • Scene construction
  • Colour
  • Reflection
  • Trasparency
  • Shadow
  • Supersampling
  • Spatial data stucture

Rendering Preview

100spp

100 samples per pixel

10000spp

10000 samples per pixel

Licence

MIT

Reference

You can’t perform that action at this time.