#include <reflection.h>
Public Member Functions | |
RegularHalfangleBRDF (const float *d, uint32_t nth, uint32_t ntd, uint32_t npd) | |
Spectrum | f (const Vector &wo, const Vector &wi) const |
Private Attributes | |
const float * | brdf |
const uint32_t | nThetaH |
const uint32_t | nThetaD |
const uint32_t | nPhiD |
Definition at line 485 of file reflection.h.
RegularHalfangleBRDF::RegularHalfangleBRDF | ( | const float * | d, | |
uint32_t | nth, | |||
uint32_t | ntd, | |||
uint32_t | npd | |||
) | [inline] |
Definition at line 488 of file reflection.h.
Implements BxDF.
Definition at line 267 of file reflection.cpp.
References brdf, CosPhi(), CosTheta(), Dot(), RGBSpectrum::FromRGB(), M_PI, Normalize(), nPhiD, nThetaD, nThetaH, REMAP, SinPhi(), SinTheta(), SphericalPhi(), SphericalTheta(), Vector::x, Vector::y, and Vector::z.
const float* RegularHalfangleBRDF::brdf [private] |
Definition at line 495 of file reflection.h.
Referenced by f().
const uint32_t RegularHalfangleBRDF::nPhiD [private] |
Definition at line 496 of file reflection.h.
Referenced by f().
const uint32_t RegularHalfangleBRDF::nThetaD [private] |
Definition at line 496 of file reflection.h.
Referenced by f().
const uint32_t RegularHalfangleBRDF::nThetaH [private] |
Definition at line 496 of file reflection.h.
Referenced by f().