#include <orennayar.h>
Public Member Functions | |
SWCSpectrum | f (const Vector &wo, const Vector &wi) const |
OrenNayar (const SWCSpectrum &reflectance, float sig) | |
Private Attributes | |
SWCSpectrum | R |
float | A |
float | B |
Definition at line 33 of file orennayar.h.
lux::OrenNayar::OrenNayar | ( | const SWCSpectrum & | reflectance, | |
float | sig | |||
) | [inline] |
Definition at line 37 of file orennayar.h.
SWCSpectrum OrenNayar::f | ( | const Vector & | wo, | |
const Vector & | wi | |||
) | const [virtual] |
Implements lux::BxDF.
Definition at line 33 of file orennayar.cpp.
References A, B, lux::CosPhi(), lux::CosTheta(), INV_PI, cimg_library::cimg::max(), R, lux::SinPhi(), and lux::SinTheta().
float lux::OrenNayar::A [private] |
Definition at line 48 of file orennayar.h.
Referenced by f(), and OrenNayar().
float lux::OrenNayar::B [private] |
Definition at line 48 of file orennayar.h.
Referenced by f(), and OrenNayar().
SWCSpectrum lux::OrenNayar::R [private] |
Definition at line 47 of file orennayar.h.
Referenced by f().