This repo contains source code for a CPU-based ray tracer that produces images in watercolor and cel-shaded styles.
Download the following and put them in the external/ directory:
- Files
lodepng.handlodepng.cppfrom here, - The
glm/folder from the GLM repository, - The file
PerlinNoise.hppfrom here.
Run make to generate an executable and ./bin/main to run it.
This renders four example scenes whose output PNGs can be found in out/.
You can find the code and API usage in src/examples.cpp.
This code was written by Maxwell Jiang and Daniel Hu for MIT's 6.4400 Computer Graphics course. The watercolor algorithms are based on those described in Santiago Montesdeoca's thesis.



