Subversion Repositories gelsvn

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
349 awk 1
#ifndef __PATHTRACER_X__HPP__
2
#define __PATHTRACER_X__HPP__
3
 
4
#include "tracer.hpp"
5
 
6
class path_tracer : public tracer
7
{
8
public:
9
    path_tracer(int width, int height, bool explicit_direct, int subsamples);
10
 
11
    CGLA::Vec3f compute_pixel(int w, int h);
12
 
13
private:
14
 
15
    CGLA::Vec3f trace(const ray& r, bool include_emitted);
16
 
17
    //use explicit integration of direct illumination
18
    bool explicit_direct_;
19
 
20
    //
21
    int subsamples_;
22
};
23
 
24
#endif
25
 
26
//02566 framework, Anders Wang Kristensen, awk@imm.dtu.dk, 2007