The spica renderer
volpath.h
1 #ifdef _MSC_VER
2 #pragma once
3 #endif
4 
5 #ifndef _SPICA_VOLPATH_H_
6 #define _SPICA_VOLPATH_H_
7 
8 #include "../core/common.h"
9 #include "../core/forward_decl.h"
10 
11 #include "pathtrace.h"
12 
13 namespace spica {
14 
15 class SPICA_EXPORTS VolPathIntegrator : public PathIntegrator {
16 public:
17  VolPathIntegrator(const std::shared_ptr<const Camera>& camera,
18  const std::shared_ptr<Sampler>& sampler);
19  Spectrum Li(const Scene& scene, const RenderParams& params,
20  const Ray& ray, Sampler& sampler, MemoryArena& arena,
21  int depth) const override;
22 };
23 
24 } // namespace spica
25 
26 
27 #endif // _SPICA_VOLPATH_H_
Random sampler class.
Definition: sampler.h:24
RGB spectrum.
Definition: spectrum.h:18
Ray class.
Definition: ray.h:24
Definition: renderparams.h:27
Definition: volpath.h:15
Unidirectional path tracing.
Definition: path.h:21
Scene provides the interface for scene graph.
Definition: scene.h:23