#include <specularreflection.h>
Public Member Functions | |
| ArchitecturalReflection (const SWCSpectrum &r, Fresnel *fr, float flm, float flmindex) | |
| virtual | ~ArchitecturalReflection () |
| virtual bool | Sample_f (const TsPack *tspack, const Vector &wo, Vector *wi, float u1, float u2, SWCSpectrum *const f, float *pdf, float *pdfBack=NULL, bool reverse=false) const |
| virtual float | Weight (const TsPack *tspack, const Vector &wo) const |
Definition at line 57 of file specularreflection.h.
| lux::ArchitecturalReflection::ArchitecturalReflection | ( | const SWCSpectrum & | r, | |
| Fresnel * | fr, | |||
| float | flm, | |||
| float | flmindex | |||
| ) | [inline] |
Definition at line 59 of file specularreflection.h.
| virtual lux::ArchitecturalReflection::~ArchitecturalReflection | ( | ) | [inline, virtual] |
Definition at line 61 of file specularreflection.h.
| bool ArchitecturalReflection::Sample_f | ( | const TsPack * | tspack, | |
| const Vector & | wo, | |||
| Vector * | wi, | |||
| float | u1, | |||
| float | u2, | |||
| SWCSpectrum *const | f, | |||
| float * | pdf, | |||
| float * | pdfBack = NULL, |
|||
| bool | reverse = false | |||
| ) | const [virtual] |
Samples the BxDF. Returns the result of the BxDF for the sampled direction in f.
Reimplemented from lux::SpecularReflection.
Definition at line 62 of file specularreflection.cpp.
References lux::Vector::z.
Reimplemented from lux::SpecularReflection.
Definition at line 73 of file specularreflection.cpp.
References lux::Vector::z.
1.6.2-20100208