Blender V2.61 - r43446
|
Public Member Functions | |
RefractionClosure () | |
void | setup () |
bool | mergeable (const ClosurePrimitive *other) const |
size_t | memsize () const |
const char * | name () const |
void | print_on (std::ostream &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 |
float | albedo (const Vec3 &omega_out) 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 |
float | m_eta |
Definition at line 43 of file bsdf_refraction.cpp.
RefractionClosure::RefractionClosure | ( | ) | [inline] |
Definition at line 47 of file bsdf_refraction.cpp.
float RefractionClosure::albedo | ( | const Vec3 & | omega_out | ) | const [inline] |
Definition at line 78 of file bsdf_refraction.cpp.
Color3 RefractionClosure::eval_reflect | ( | const Vec3 & | omega_out, |
const Vec3 & | omega_in, | ||
float & | |||
) | const [inline] |
Definition at line 68 of file bsdf_refraction.cpp.
Color3 RefractionClosure::eval_transmit | ( | const Vec3 & | omega_out, |
const Vec3 & | omega_in, | ||
float & | |||
) | const [inline] |
Definition at line 73 of file bsdf_refraction.cpp.
size_t RefractionClosure::memsize | ( | ) | const [inline] |
Definition at line 57 of file bsdf_refraction.cpp.
bool RefractionClosure::mergeable | ( | const ClosurePrimitive * | other | ) | const [inline] |
Definition at line 51 of file bsdf_refraction.cpp.
const char* RefractionClosure::name | ( | ) | const [inline] |
Definition at line 59 of file bsdf_refraction.cpp.
void RefractionClosure::print_on | ( | std::ostream & | out | ) | const [inline] |
Definition at line 61 of file bsdf_refraction.cpp.
ustring RefractionClosure::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 83 of file bsdf_refraction.cpp.
References fresnel_dielectric(), R, and T.
void RefractionClosure::setup | ( | ) | [inline] |
Definition at line 49 of file bsdf_refraction.cpp.
float RefractionClosure::m_eta |
Definition at line 46 of file bsdf_refraction.cpp.
Referenced by mergeable().
Definition at line 45 of file bsdf_refraction.cpp.
Referenced by mergeable().