raytracer
Parallel Ray Tracer written from scratch (no graphics API).
Loading...
Searching...
No Matches
raytracer::mandelbrot Namespace Reference

Classes

class  Renderer
struct  MandelbrotSceneConfig
struct  MandelbrotSceneSpace

Typedefs

using json = nlohmann::json

Functions

int main ()
 NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE (MandelbrotSceneConfig, center, width, aspect_ratio, zoom, max_iterations, escape_boundary_squared, output_path)

Variables

constexpr auto STDOUT_REFRESH_INTERVAL = 100ms
constexpr std::array PALETTE

Typedef Documentation

◆ json

using raytracer::mandelbrot::json = nlohmann::json

Function Documentation

◆ main()

int raytracer::mandelbrot::main ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE()

raytracer::mandelbrot::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE ( MandelbrotSceneConfig ,
center ,
width ,
aspect_ratio ,
zoom ,
max_iterations ,
escape_boundary_squared ,
output_path  )

Variable Documentation

◆ PALETTE

std::array raytracer::mandelbrot::PALETTE
constexpr
Initial value:
= {common::Vec3(0.094118, 0.321569, 0.694118), common::Vec3(0.223529, 0.490196, 0.819608),
common::Vec3(0.525490, 0.709804, 0.898039), common::Vec3(0.827451, 0.925490, 0.972549),
common::Vec3(0.945098, 0.913725, 0.749020), common::Vec3(0.972549, 0.788235, 0.372549),
common::Vec3(1.000000, 0.666667, 0.000000), common::Vec3(0.800000, 0.501961, 0.000000),
common::Vec3(0.600000, 0.341176, 0.000000), common::Vec3(0.415686, 0.203922, 0.011765),
common::Vec3(0.258824, 0.117647, 0.058824), common::Vec3(0.098039, 0.027451, 0.101961),
common::Vec3(0.035294, 0.003922, 0.184314), common::Vec3(0.015686, 0.015686, 0.286275),
common::Vec3(0.000000, 0.027451, 0.392157), common::Vec3(0.047059, 0.172549, 0.541176)}
Definition vec3.h:11

◆ STDOUT_REFRESH_INTERVAL

auto raytracer::mandelbrot::STDOUT_REFRESH_INTERVAL = 100ms
constexpr