#include "stdafx.h"
#include "reflection.h"
#include "spectrum.h"
#include "sampler.h"
#include "montecarlo.h"
#include <stdarg.h>
Go to the source code of this file.
Classes | |
struct | IrregIsoProc |
Defines | |
#define | REMAP(V, MAX, COUNT) Clamp(int((V) / (MAX) * (COUNT)), 0, (COUNT)-1) |
Functions | |
Spectrum | FrDiel (float cosi, float cost, const Spectrum &etai, const Spectrum &etat) |
Spectrum | FrCond (float cosi, const Spectrum &eta, const Spectrum &k) |
Point | BRDFRemap (const Vector &wo, const Vector &wi) |
#define REMAP | ( | V, | |||
MAX, | |||||
COUNT | ) | Clamp(int((V) / (MAX) * (COUNT)), 0, (COUNT)-1) |
Referenced by RegularHalfangleBRDF::f().
Definition at line 239 of file reflection.cpp.
References CosTheta(), M_PI, SinTheta(), and SphericalPhi().
Referenced by IrregIsotropicBRDF::f(), and MeasuredMaterial::MeasuredMaterial().
Definition at line 62 of file reflection.cpp.
Referenced by FresnelConductor::Evaluate().
Definition at line 52 of file reflection.cpp.
Referenced by FresnelDielectric::Evaluate().