Blender V2.61 - r43446
|
Public Member Functions | |
WestinBackscatterClosure () | |
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_roughness |
float | m_invroughness |
Definition at line 45 of file bsdf_westin.cpp.
WestinBackscatterClosure::WestinBackscatterClosure | ( | ) | [inline] |
Definition at line 50 of file bsdf_westin.cpp.
float WestinBackscatterClosure::albedo | ( | const Vec3 & | omega_out | ) | const [inline] |
Definition at line 76 of file bsdf_westin.cpp.
Color3 WestinBackscatterClosure::eval_reflect | ( | const Vec3 & | omega_out, |
const Vec3 & | omega_in, | ||
float & | |||
) | const [inline] |
Definition at line 81 of file bsdf_westin.cpp.
Color3 WestinBackscatterClosure::eval_transmit | ( | const Vec3 & | omega_out, |
const Vec3 & | omega_in, | ||
float & | |||
) | const [inline] |
Definition at line 95 of file bsdf_westin.cpp.
size_t WestinBackscatterClosure::memsize | ( | ) | const [inline] |
Definition at line 64 of file bsdf_westin.cpp.
bool WestinBackscatterClosure::mergeable | ( | const ClosurePrimitive * | other | ) | const [inline] |
Definition at line 58 of file bsdf_westin.cpp.
References m_N, and m_roughness.
const char* WestinBackscatterClosure::name | ( | ) | const [inline] |
Definition at line 66 of file bsdf_westin.cpp.
void WestinBackscatterClosure::print_on | ( | std::ostream & | out | ) | const [inline] |
Definition at line 68 of file bsdf_westin.cpp.
ustring WestinBackscatterClosure::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] |
void WestinBackscatterClosure::setup | ( | ) | [inline] |
Definition at line 52 of file bsdf_westin.cpp.
References clamp, and credits_svn_gen::e.
Definition at line 49 of file bsdf_westin.cpp.
Definition at line 47 of file bsdf_westin.cpp.
Referenced by mergeable().
Definition at line 48 of file bsdf_westin.cpp.
Referenced by mergeable().