Subversion Repositories gelsvn

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
688 khor 1
#ifndef __PATHTRACER_MATTE__H__
2
#define __PATHTRACER_MATTE__H__
3
 
4
#include "material.h"
5
 
6
class matte : public material
7
{
8
public:
9
    //diffuse is rho (diffuse reflectance)
10
    matte(const CGLA::Vec3f& diffuse);
11
 
12
    void sample(const ray&, hit_info&) const;
13
 
14
private:
15
    CGLA::Vec3f diffuse_;
16
};
17
 
18
#endif
19
 
20
//02566 framework, Anders Wang Kristensen, awk@imm.dtu.dk, 2007