first attempt at parallelization
commit7a19a6aed2ec20f45e9303aa7234ee27928d2d5e
authorplouj <plouj@b8c14938-b733-429d-887c-d66ed1f8cd15>
Tue, 15 Jan 2008 23:28:51 +0000 (15 23:28 +0000)
committerplouj <plouj@b8c14938-b733-429d-887c-d66ed1f8cd15>
Tue, 15 Jan 2008 23:28:51 +0000 (15 23:28 +0000)
tree013d2f6a3d770577faa07097739a5b2f8437bacb
parent14a14221978f8cc5895eec0dd531a56e5d27ae32
first attempt at parallelization
added master and trace_ray_from_pixel to the export list
spawning worker processes for each pixel
spawned a master process that collects all of the worker results
added extra arguments to trace_ray_from_pixel to make it a useful process
strip the pixel number from the final list in write_pixels_to_ppm

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