|
raytracer
Parallel Ray Tracer written from scratch (no graphics API).
|
#include <renderer.h>
Static Public Member Functions | |
| static common::Image | render (const MandelbrotSceneConfig &scene, std::ostream &out=common::get_nullout(), int number_of_threads=static_cast< int >(std::max(1U, std::thread::hardware_concurrency()))) |
|
static |
Render the Mandelbrot set to an image given a configuration.
| scene | The object containing the details of the scene. |
| out | The std::ostream to which to write rendering progress updates (defaults to none). |
| number_of_threads | The number of parallel threads used for rendering. |

