#include "geometry/vector.h"
Go to the source code of this file.
Namespaces | |
namespace | lux |
Functions | |
void | lux::RejectionSampleDisk (float u1, float u2, float *x, float *y) |
Vector | lux::UniformSampleHemisphere (float u1, float u2) |
float | lux::UniformHemispherePdf (float theta, float phi) |
Vector | lux::UniformSampleSphere (float u1, float u2) |
float | lux::UniformSpherePdf () |
Vector | lux::UniformSampleCone (float u1, float u2, float costhetamax) |
Vector | lux::UniformSampleCone (float u1, float u2, float costhetamax, const Vector &x, const Vector &y, const Vector &z) |
float | lux::UniformConePdf (float cosThetaMax) |
void | lux::UniformSampleDisk (float u1, float u2, float *x, float *y) |
void | lux::UniformSampleTriangle (float u1, float u2, float *u, float *v) |
Vector | lux::SampleHG (const Vector &w, float g, float u1, float u2) |
float | lux::HGPdf (const Vector &w, const Vector &wp, float g) |
void | lux::ComputeStep1dCDF (float *f, int nSteps, float *c, float *cdf) |
float | lux::SampleStep1d (float *f, float *cdf, float c, int nSteps, float u, float *pdf) |
void | lux::ConcentricSampleDisk (float u1, float u2, float *dx, float *dy) |
Vector | lux::CosineSampleHemisphere (float u1, float u2) |
float | lux::CosineHemispherePdf (float costheta, float phi) |
float | lux::BalanceHeuristic (int nf, float fPdf, int ng, float gPdf) |
float | lux::PowerHeuristic (int nf, float fPdf, int ng, float gPdf) |