Blender V2.61 - r43446
|
Public Member Functions | |
OrenNayarClosure () | |
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 |
float | m_sigma |
float | m_a |
float | m_b |
Definition at line 53 of file bsdf_oren_nayar.cpp.
OrenNayarClosure::OrenNayarClosure | ( | ) | [inline] |
Definition at line 59 of file bsdf_oren_nayar.cpp.
float OrenNayarClosure::albedo | ( | const Vec3 & | omega_out | ) | const [inline] |
Definition at line 90 of file bsdf_oren_nayar.cpp.
Color3 OrenNayarClosure::eval_reflect | ( | const Vec3 & | omega_out, |
const Vec3 & | omega_in, | ||
float & | |||
) | const [inline] |
Definition at line 94 of file bsdf_oren_nayar.cpp.
References M_1_PI.
Color3 OrenNayarClosure::eval_transmit | ( | const Vec3 & | omega_out, |
const Vec3 & | omega_in, | ||
float & | |||
) | const [inline] |
Definition at line 106 of file bsdf_oren_nayar.cpp.
size_t OrenNayarClosure::memsize | ( | ) | const [inline] |
Definition at line 75 of file bsdf_oren_nayar.cpp.
bool OrenNayarClosure::mergeable | ( | const ClosurePrimitive * | other | ) | const [inline] |
Definition at line 67 of file bsdf_oren_nayar.cpp.
const char* OrenNayarClosure::name | ( | ) | const [inline] |
Definition at line 79 of file bsdf_oren_nayar.cpp.
void OrenNayarClosure::print_on | ( | std::ostream & | out | ) | const [inline] |
Definition at line 83 of file bsdf_oren_nayar.cpp.
ustring OrenNayarClosure::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 110 of file bsdf_oren_nayar.cpp.
References sample_uniform_hemisphere().
void OrenNayarClosure::setup | ( | ) | [inline] |
Definition at line 61 of file bsdf_oren_nayar.cpp.
float OrenNayarClosure::m_a |
Definition at line 57 of file bsdf_oren_nayar.cpp.
float OrenNayarClosure::m_b |
Definition at line 57 of file bsdf_oren_nayar.cpp.
Definition at line 55 of file bsdf_oren_nayar.cpp.
Referenced by mergeable().
Definition at line 56 of file bsdf_oren_nayar.cpp.
Referenced by mergeable().