Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 496 Bytes

File metadata and controls

18 lines (10 loc) · 496 Bytes

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.