Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (23 sloc) 602 Bytes
#ifndef _PATH_TRACING_H_
#define _PATH_TRACING_H_
#include "common.h"
#include "monte_carlo_integrator.h"
namespace Renzoku {
class PathTracing : public MonteCarloIntegrator {
public:
PathTracing();
virtual Rgb radiance(const Receiver &);
virtual void initialize(Scene *scene);
/**
* Export the trace function for VPL sampling use.
*/
static Rgb trace(Scene *scene, const Receiver &r, int max_bounce);
virtual void on_frame_end();
protected:
/**
* Experimental
*/
void radiance_field(const Receiver &r);
};
} // end namespace Renzoku
#endif
You can’t perform that action at this time.