Category: rendering-in-haskell

Rendering in Haskell, Part 2: Flat Shading 6 Jul 2015

Flat shading Now that I’ve got the business of being able to write image files from Haskell sorted, I need to move on to the next most simple thing: projecting three-dimensional shapes onto the screen. Here I’m not going to worry about lighting - everything will be flat shaded.

Read More

Rendering in Haskell, Part 7: Onward to Photon Mapping 5 Dec 2015

So far in this series, I’ve been generating images using standard ray-tracing, a local illumination technique. Ray-tracing is easy to implement, relatively fast, but unfortunately doesn’t produce very realistic images. To make more realistic images, I need to switch to a global illumination system. I’ve chosen to use Photon Mapping.

Read More