Skip to content

Latest commit

 

History

48 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Non-photorealistic renderer

This repo contains source code for a CPU-based ray tracer that produces images in watercolor and cel-shaded styles.

ball-cell ball-watercolor

teapot-cell teapot-watercolor

Setup

Download the following and put them in the external/ directory:

  • Files lodepng.h and lodepng.cpp from here,
  • The glm/ folder from the GLM repository,
  • The file PerlinNoise.hpp from here.

Usage

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.

Acknowledgments

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.

About

Non-photorealistic renderer

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages