Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
IntersectorCommonParams.h
Go to the documentation of this file.
1#pragma once
2
3#include <Common/primitive_type.h>
4
5#include <cstddef>
6
7namespace ph
8{
9
13{
14public:
17 std::size_t numPhotons = 200000;
18
21 std::size_t numPasses = 1;
22
27 std::size_t numSamplesPerPixel = 4;
28
32 real kernelRadius = 0.1_r;
33
39
44 uint32 maxPhotonPathLength = DEFAULT_MAX_PATH_LENGTH;
45
51 real alpha = 2.0_r / 3.0_r;
52
58
65};
66
67}// end namespace ph
Common parameters of intersector.
Definition IntersectorCommonParams.h:13
std::size_t numPhotons
Definition IntersectorCommonParams.h:17
uint32 glossyMergeBeginLength
Definition IntersectorCommonParams.h:57
uint32 maxPhotonPathLength
Definition IntersectorCommonParams.h:44
real alpha
Definition IntersectorCommonParams.h:51
uint32 minPhotonPathLength
Definition IntersectorCommonParams.h:38
std::size_t numPasses
Definition IntersectorCommonParams.h:21
std::size_t numSamplesPerPixel
Definition IntersectorCommonParams.h:27
real kernelRadius
Definition IntersectorCommonParams.h:32
uint32 stochasticViewSampleBeginLength
Definition IntersectorCommonParams.h:64
The root for all renderer implementations.
Definition EEngineProject.h:6