Rev 346 | Go to most recent revision | Blame | Last modification | View Log | RSS feed
#ifndef __PATHTRACER_TRACER__HPP__
#define __PATHTRACER_TRACER__HPP__
#include "scene.hpp"
class tracer
{
public:
tracer(int w, int h);
virtual ~tracer(void) = 0;
void set_scene(scene*);
virtual CGLA::Vec3f compute_pixel(int w, int h) = 0;
protected:
//resolution
int width_;
int height_;
//the scene
scene* scene_;
};
#endif
//02566 framework, Anders Wang Kristensen, awk@imm.dtu.dk, 2007
Generated by GNU Enscript 1.6.6.