andreasala98 / NM4PIG

Numerical Methods for Photorealistic Image Generation
MIT License
2 stars 1 forks source link

Parallelize code #12

Closed TommasoArmadillo closed 3 years ago

TommasoArmadillo commented 3 years ago

I successfully parallelized the rendering of the image, i.e. the method ImageTracer.fireAllRays with Parallel.For in System.Threading.Tasks, as suggested in issue #11

I also improved the progress bar that shows the progression of the rendering process. I used this library ShellProgressBar provided with the MIT license.

TommasoArmadillo commented 3 years ago

Yes! I'll close it now