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

#include <scene.h>

Collaboration diagram for raytracer::raytracer::RayTracerSceneConfig:

Public Attributes

common::Vec3 background_color
common::Vec3 sky_color
Camera camera
std::vector< std::unique_ptr< Object > > objects
bool is_shading_thresholded
double thresholded_shading_degrees
bool is_grayscale
std::string output_path

Detailed Description

Settings for rendering a 3D scene using the ray tracer.

Member Data Documentation

◆ background_color

common::Vec3 raytracer::raytracer::RayTracerSceneConfig::background_color

◆ camera

Camera raytracer::raytracer::RayTracerSceneConfig::camera

◆ is_grayscale

bool raytracer::raytracer::RayTracerSceneConfig::is_grayscale

◆ is_shading_thresholded

bool raytracer::raytracer::RayTracerSceneConfig::is_shading_thresholded

◆ objects

std::vector<std::unique_ptr<Object> > raytracer::raytracer::RayTracerSceneConfig::objects

◆ output_path

std::string raytracer::raytracer::RayTracerSceneConfig::output_path

◆ sky_color

common::Vec3 raytracer::raytracer::RayTracerSceneConfig::sky_color

◆ thresholded_shading_degrees

double raytracer::raytracer::RayTracerSceneConfig::thresholded_shading_degrees

The documentation for this struct was generated from the following file:
  • raytracer/include/raytracer/scene.h