Blame | Last modification | View Log | RSS feed
#ifndef __PATHTRACER_X__HPP__
#define __PATHTRACER_X__HPP__
#include "tracer.hpp"
class path_tracer : public tracer
{
public:
path_tracer(int width, int height, bool explicit_direct, int subsamples);
CGLA::Vec3f compute_pixel(int w, int h);
private:
CGLA::Vec3f trace(const ray& r, bool include_emitted);
//use explicit integration of direct illumination
bool explicit_direct_;
//
int subsamples_;
};
#endif
//02566 framework, Anders Wang Kristensen, awk@imm.dtu.dk, 2007
Generated by GNU Enscript 1.6.6.