changed the background colour to black
commitd86f3fa3a808f45adf05912f6f2036a6d889cc86
authorplouj <plouj@b8c14938-b733-429d-887c-d66ed1f8cd15>
Tue, 8 Jan 2008 23:57:51 +0000 (8 23:57 +0000)
committerplouj <plouj@b8c14938-b733-429d-887c-d66ed1f8cd15>
Tue, 8 Jan 2008 23:57:51 +0000 (8 23:57 +0000)
tree5d1dbd3e30759025bd334a63d4bea9947b4f17e0
parent3b61a1d3f7d48bfbbc1b20359796248d0917a357
changed the background colour to black
increased the fog distance
moved the conversion from colour record to an RGB tuple up to raytraced_pixel_list()
added a simple lighting_function which currently does lighting/fogging based on distance from the camera
added a colour_trunc function to convert components to integers

git-svn-id: http://svn.plouj.com/repos/eraytracer@18 b8c14938-b733-429d-887c-d66ed1f8cd15
raytracer.erl