Blender V2.61 - r43446
|
Public Member Functions | |
WestinSheenClosure () | |
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_edginess |
Definition at line 144 of file bsdf_westin.cpp.
WestinSheenClosure::WestinSheenClosure | ( | ) | [inline] |
Definition at line 149 of file bsdf_westin.cpp.
float WestinSheenClosure::albedo | ( | const Vec3 & | omega_out | ) | const [inline] |
Definition at line 171 of file bsdf_westin.cpp.
Color3 WestinSheenClosure::eval_reflect | ( | const Vec3 & | omega_out, |
const Vec3 & | omega_in, | ||
float & | |||
) | const [inline] |
Definition at line 176 of file bsdf_westin.cpp.
Color3 WestinSheenClosure::eval_transmit | ( | const Vec3 & | omega_out, |
const Vec3 & | omega_in, | ||
float & | |||
) | const [inline] |
Definition at line 190 of file bsdf_westin.cpp.
size_t WestinSheenClosure::memsize | ( | ) | const [inline] |
Definition at line 159 of file bsdf_westin.cpp.
bool WestinSheenClosure::mergeable | ( | const ClosurePrimitive * | other | ) | const [inline] |
Definition at line 153 of file bsdf_westin.cpp.
References m_edginess, and m_N.
const char* WestinSheenClosure::name | ( | ) | const [inline] |
Definition at line 161 of file bsdf_westin.cpp.
void WestinSheenClosure::print_on | ( | std::ostream & | out | ) | const [inline] |
Definition at line 163 of file bsdf_westin.cpp.
ustring WestinSheenClosure::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 195 of file bsdf_westin.cpp.
References powf, and sample_cos_hemisphere().
void WestinSheenClosure::setup | ( | ) | [inline] |
Definition at line 151 of file bsdf_westin.cpp.
Definition at line 147 of file bsdf_westin.cpp.
Referenced by mergeable().
Definition at line 146 of file bsdf_westin.cpp.
Referenced by mergeable().