#include <reflection.h>

Public Member Functions | |
| Blinn (float e) | |
| float | D (const Vector &wh) const |
| virtual void | Sample_f (const Vector &wi, Vector *sampled_f, float u1, float u2, float *pdf) const |
| virtual float | Pdf (const Vector &wi, const Vector &wo) const |
Private Attributes | |
| float | exponent |
Definition at line 307 of file reflection.h.
| Blinn::Blinn | ( | float | e | ) | [inline] |
Definition at line 309 of file reflection.h.
| float Blinn::D | ( | const Vector & | wh | ) | const [inline, virtual] |
Implements MicrofacetDistribution.
Definition at line 311 of file reflection.h.
References CosTheta(), and INV_TWOPI.
| void Blinn::Sample_f | ( | const Vector & | wi, | |
| Vector * | sampled_f, | |||
| float | u1, | |||
| float | u2, | |||
| float * | ||||
| ) | const [virtual] |
Implements MicrofacetDistribution.
Definition at line 243 of file reflection.cpp.
References Dot(), exponent, M_PI, SameHemisphere(), SphericalDirection(), and Vector::z.
Implements MicrofacetDistribution.
Definition at line 259 of file reflection.cpp.
References Dot(), exponent, M_PI, Normalize(), and Vector::z.
float Blinn::exponent [private] |
1.5.6