Simple Path Tracing Renderer Demonstration Written in Haskell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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.