Rev 349 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef __PATHTRACER_X__H__
#define __PATHTRACER_X__H__
#include "tracer.h"
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.