Skip to content

A Haskell implementation of Andrew Kensler's business card raytracer.

License

Notifications You must be signed in to change notification settings

dcousens/RayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Haskell implementation of Andrew Kensler's business card raytracer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published