Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 964 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 964 Bytes

ArtRay: A Haskell Raytracer

Running ArtRay

Compilation is handled by the build.sh script. After running build.sh, you can execute ArtRay as follows:

./ar [input scene] [output image]

Output is always written in PNG format. Input is in ArtRay format, which is essentially a bunch of nested data constructors. Better docs for this are on their way -- until they arrive, the samples in scenes/ give some examples as to how to specify a scene, and all of the primitives available to you can be seen in ArtRay/Primitives.hs.

Features

Current Features

  • Half-plane primitive
  • Phong reflectance
  • Shadows, including partial occlusion by transparent materials
  • Point light sources
  • Basic reflection model
  • Basic refraction model
  • Anti-aliasing (new!)
  • Depth of field

Planned Features:

  • Triangle meshes
  • Texturing
  • B-Spline surfaces
  • Parallel rendering
  • Reflected light sources
  • Metaballs