Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 769 Bytes

README.md

File metadata and controls

29 lines (15 loc) · 769 Bytes

RayTracer

A Haskell implementation of Andrew Kensler's business card ray tracer.

How to build?

If you don't want to be waiting for several minutes, your best bet is to ensure -O flag is enabled when compiling.

ghc -O Tracer.hs

How to run?

./Tracer > output.ppm

Output

example

Known Issues

This rendition of the ray tracer does not do any multi-sampling (yet) or lambert illumination of the ground tiling.

Credit

This source is based on Fabiens breakdown of Andrew Kensler's business card ray tracer.

Special thanks to #haskell for helping me with my million questions.