raytracer
Parallel Ray Tracer written from scratch (no graphics API).
Loading...
Searching...
No Matches
scene.h
Go to the documentation of this file.
1#pragma once
2#include <vector>
3#include <memory>
4#include <nlohmann/json.hpp>
5#include "common/util/vec3.h"
6#include "camera.h"
7#include "shapes/object.h"
8
10{
11using json = nlohmann::json;
12
17{
21
22 std::vector<std::unique_ptr<Object>> objects;
23
24 // Post-processing
28
29 std::string output_path;
30};
31} // namespace raytracer::raytracer
Definition camera.h:32
Definition raytracer.cpp:29
nlohmann::json json
Definition scene.h:11
Definition vec3.h:11
Camera camera
Definition scene.h:20
double thresholded_shading_degrees
Definition scene.h:26
bool is_grayscale
Definition scene.h:27
std::string output_path
Definition scene.h:29
common::Vec3 background_color
Definition scene.h:18
common::Vec3 sky_color
Definition scene.h:19
bool is_shading_thresholded
Definition scene.h:25
std::vector< std::unique_ptr< Object > > objects
Definition scene.h:22