raytracer in haskell for our computergraphics course
Go to file
2014-12-01 12:27:34 +01:00
scenes some kind of image ... 2014-12-01 12:27:34 +01:00
src some kind of image ... 2014-12-01 12:27:34 +01:00
.gitignore added juicypixels, added gray dummy-image for output 2014-10-22 01:25:38 +02:00
LICENSE init 2014-10-21 21:40:48 +02:00
raytrace.cabal some kind of image ... 2014-12-01 12:27:34 +01:00
raytrace.sh minor performace improvements, began adding bounding-boxes for meshes 2014-10-31 13:22:40 +01:00
README.md enhanced README.md 2014-10-30 14:19:36 +01:00
Setup.hs init 2014-10-21 21:40:48 +02:00

htrace - a raytracer in Haskell

This is a little raytracer that i write/wrote for the lecture computergraphics in the winter 14/15.

Compiling

# clone the repository
git clone https://github.com/Drezil/htrace
# init a cabal sandbox for the dependencies
cabal sandbox init
# download & build dependencies
cabal install --only-dependencies
# build the program
cabal build
# run
./raytrace.sh scenes/spheres/spheres.sce

If the building fails with some llvm-related errer you don't seem to have LLVM installed. Either install llvm (libghc-llvm-base-dev for ubuntu) or remove the -fllvm-flag from the ghc-options in the raytrace.cabal.