2017-01-05 17:59:04 -04:00
|
|
|
#pragma once
|
|
|
|
|
#ifndef PATH_TRACER_HPP
|
|
|
|
|
#define PATH_TRACER_HPP
|
|
|
|
|
|
|
|
|
|
#include "tracer.hpp"
|
|
|
|
|
|
|
|
|
|
class PathTracer: public Tracer {
|
|
|
|
|
public:
|
2017-01-11 13:45:17 -04:00
|
|
|
PathTracer(): Tracer() { }
|
2017-01-05 17:59:04 -04:00
|
|
|
|
2017-01-12 17:23:11 -04:00
|
|
|
PathTracer(unsigned int max_depth): Tracer(max_depth) { };
|
2017-01-05 17:59:04 -04:00
|
|
|
|
|
|
|
|
virtual ~PathTracer();
|
|
|
|
|
|
2017-01-18 21:46:24 -04:00
|
|
|
virtual vec3 trace_ray(Ray & r, Scene * s, unsigned int rec_level) const;
|
2017-01-05 17:59:04 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|