Blender V2.61 - r43446
|
Public Member Functions | |
DiffuseClosure () | |
void | setup () |
bool | mergeable (const ClosurePrimitive *other) const |
size_t | memsize () const |
const char * | name () const |
void | print_on (std::ostream &out) const |
float | albedo (const Vec3 &omega_out) const |
Color3 | eval_reflect (const Vec3 &omega_out, const Vec3 &omega_in, float &pdf) const |
Color3 | eval_transmit (const Vec3 &omega_out, const Vec3 &omega_in, float &pdf) const |
ustring | sample (const Vec3 &Ng, const Vec3 &omega_out, const Vec3 &domega_out_dx, const Vec3 &domega_out_dy, float randu, float randv, Vec3 &omega_in, Vec3 &domega_in_dx, Vec3 &domega_in_dy, float &pdf, Color3 &eval) const |
Public Attributes | |
Vec3 | m_N |
Definition at line 43 of file bsdf_diffuse.cpp.
DiffuseClosure::DiffuseClosure | ( | ) | [inline] |
Definition at line 47 of file bsdf_diffuse.cpp.
float DiffuseClosure::albedo | ( | const Vec3 & | omega_out | ) | const [inline] |
Definition at line 65 of file bsdf_diffuse.cpp.
Color3 DiffuseClosure::eval_reflect | ( | const Vec3 & | omega_out, |
const Vec3 & | omega_in, | ||
float & | |||
) | const [inline] |
Definition at line 70 of file bsdf_diffuse.cpp.
Color3 DiffuseClosure::eval_transmit | ( | const Vec3 & | omega_out, |
const Vec3 & | omega_in, | ||
float & | |||
) | const [inline] |
Definition at line 77 of file bsdf_diffuse.cpp.
size_t DiffuseClosure::memsize | ( | ) | const [inline] |
Definition at line 56 of file bsdf_diffuse.cpp.
bool DiffuseClosure::mergeable | ( | const ClosurePrimitive * | other | ) | const [inline] |
Definition at line 51 of file bsdf_diffuse.cpp.
References m_N.
const char* DiffuseClosure::name | ( | ) | const [inline] |
Definition at line 58 of file bsdf_diffuse.cpp.
void DiffuseClosure::print_on | ( | std::ostream & | out | ) | const [inline] |
Definition at line 60 of file bsdf_diffuse.cpp.
ustring DiffuseClosure::sample | ( | const Vec3 & | Ng, |
const Vec3 & | omega_out, | ||
const Vec3 & | domega_out_dx, | ||
const Vec3 & | domega_out_dy, | ||
float | randu, | ||
float | randv, | ||
Vec3 & | omega_in, | ||
Vec3 & | domega_in_dx, | ||
Vec3 & | domega_in_dy, | ||
float & | pdf, | ||
Color3 & | eval | ||
) | const [inline] |
Definition at line 82 of file bsdf_diffuse.cpp.
References sample_cos_hemisphere().
void DiffuseClosure::setup | ( | ) | [inline] |
Definition at line 49 of file bsdf_diffuse.cpp.
Vec3 DiffuseClosure::m_N |
Definition at line 45 of file bsdf_diffuse.cpp.
Referenced by mergeable().