Simple Path Tracing Renderer Demonstration Written in Haskell
Haskell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
haspt.hs
sample_640x480_ss4_s4.png

README.md

Sample Image

Haspt: A Path Tracing Renderer Written in Haskell

Haspt is a physical-based global illumination renderer.

  • It uses path tracing algorithm.
  • it is written in Haskell
  • It is generally based on edupt.

How to Use

You must use -O2 or -O3 option, or you'll lose a lot of time!

$ ghc -O3 haspt.hs && ./haspt > image.ppm

You can use IrfanView (Windows), ToyViewer (OSX) or something to view the PPM file.